Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local uis = game:GetService("UserInputService")
- local plr = game.Players.LocalPlayer
- local chr = plr.Character
- spam = false
- uis.InputBegan:Connect(function(Input, IsTyping)
- if Input.KeyCode == Enum.KeyCode.E and not IsTyping and spam == false then
- spam = true
- game.ReplicatedStorage.TFRemoteEvent:FireServer()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement