sync_exploits

Ilum v2 Change teams to Jedi - Keybind: K

Jan 13th, 2021 (edited)
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. -- Variables
  2. local player = game.Players.LocalPlayer
  3. local mouse = player:GetMouse()
  4. -- Settings
  5. bind = "k" -- trigger key ok nob
  6. -- Script
  7. mouse.KeyDown:connect(function(key)
  8. if key == bind then
  9. game.ReplicatedStorage.Remotes.TeamSwitch:InvokeServer("Jedi")
  10. end
  11. end)
Add Comment
Please, Sign In to add comment