krLuCiEzkr

Team Change Script

Nov 6th, 2019
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. local team = script.Parent.Team
  2. local frame = script.Parent.Parent
  3. local player = game.Players.LocalPlayer
  4.  
  5. script.Parent.MouseButton1Click:connect(function()
  6. frame.Visible = false
  7. player.Team = team.Value
  8. end)
Add Comment
Please, Sign In to add comment