Advertisement
Anukun_Lucifer

TFScript (Local Script)

Oct 15th, 2022
3,242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.33 KB | Gaming | 0 0
  1. local uis = game:GetService("UserInputService")
  2. local plr = game.Players.LocalPlayer
  3. local chr = plr.Character
  4. spam = false
  5.  
  6. uis.InputBegan:Connect(function(Input, IsTyping)
  7.     if Input.KeyCode == Enum.KeyCode.E and not IsTyping and spam == false then
  8.         spam = true
  9.         game.ReplicatedStorage.TFRemoteEvent:FireServer()
  10.     end
  11. end)
Tags: Roblox
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement