-- made by wish aka selfmade local ReplicatedStorage = game:GetService("ReplicatedStorage") local UserInputService = game:GetService("UserInputService") local RunService = game:GetService("RunService") local shootRemote = ReplicatedStorage.Client.Remotes.Gameplay:WaitForChild("Shoot") local perfectPower = 99.81245458126068 local shootDirection = "Down" local thirdArg = false local holdingE = false local hasFired = false local autoGreen = true UserInputService.InputBegan:Connect(function(input, gameProcessed) if gameProcessed then return end if input.KeyCode == Enum.KeyCode.E then holdingE = true hasFired = false end end) UserInputService.InputEnded:Connect(function(input, gameProcessed) if gameProcessed then return end if input.KeyCode == Enum.KeyCode.E then holdingE = false hasFired = false end end) RunService.RenderStepped:Connect(function() if autoGreen and holdingE and not hasFired then local success, _ = pcall(function() shootRemote:InvokeServer(perfectPower, shootDirection, thirdArg) end) if success then hasFired = true end end end)