Ternous
|
  |
| Joined: 22 Oct 2012 |
| Total Posts: 1748 |
|
|
| 04 Mar 2014 02:42 AM |
Here the Script. There is Currently 4 Flags, which when captured, you will be able to Teleport to there. I would like to know how I can change it, so when it is Pressed, and you teleport, It hides all Other Teleport GUIs so you cannot teleport out during Combat. This one already hides. Thanks:
player = script.Parent.Parent.Parent clicked = false script.Parent.Teleport.MouseButton1Down:connect(function () if player.TeamColor == game.Workspace.Thingy.Team.Value and clicked == false then clicked = true player.Character.Humanoid.Jump = true player.Character.Torso.CFrame = game.Workspace.Thingy.Pad.CFrame + Vector3.new(0,10,0) wait(2) for i,v in pairs(player.Character:GetChildren()) do if v.className == "ForceField" then v:remove() end end script.Parent:remove() end end)
|
|
|
| Report Abuse |
|
Ternous
|
  |
| Joined: 22 Oct 2012 |
| Total Posts: 1748 |
|
| |