Raildex
|
  |
| Joined: 06 Dec 2009 |
| Total Posts: 934 |
|
|
| 20 Apr 2015 04:59 PM |
function Click() if playerTeam == "Valtek Empire" then script.Parent.Parent.Parent.Parent.Character.Torso.CFrame = CFrame.new(0,20,0) cn:Disconnect() end end
cn = script.Parent.MouseButton1Down:connect(Click)
im trying to make it so that when the player clicks the gui button if their team is "x" then teleport them somewhere specific. How would I do this. script so far^ |
|
|
| Report Abuse |
|
Raildex
|
  |
| Joined: 06 Dec 2009 |
| Total Posts: 934 |
|
| |
| |