Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Variables
- local player = game.Players.LocalPlayer
- local mouse = player:GetMouse()
- -- Settings
- bind = "k" -- trigger key ok nob
- -- Script
- mouse.KeyDown:connect(function(key)
- if key == bind then
- game.ReplicatedStorage.Remotes.TeamSwitch:InvokeServer("Jedi")
- end
- end)
Add Comment
Please, Sign In to add comment