|
| 05 Sep 2013 06:03 PM |
Textbutton, it teleports but doesn't heal/make visible = false thanks
function click() p = game.Players.LocalPlayer.Character p.Humanoid.Health = 100 p.Humanoid.MaxHealth = 100
script.Parent.Visible = false wait(60) script.Parent.visible = true
script.Parent.Parent.Parent.Parent.Parent.Character.Torso.CFrame = CFrame.new(263, 58, -21) end
script.Parent.MouseButton1Down:connect(Click) |
|
|
| Report Abuse |
|
|
|
| 05 Sep 2013 06:04 PM |
| No need to make a new thread. |
|
|
| Report Abuse |
|
|
|
| 05 Sep 2013 06:04 PM |
@Screw Sorry, I was just adding in the other part of the script |
|
|
| Report Abuse |
|
|
|
| 05 Sep 2013 06:10 PM |
function click() local p = game.Players.LocalPlayer.Character p.Humanoid.Health = 100 p.Humanoid.MaxHealth = 100
script.Parent.Visible = false wait(60) script.Parent.visible = true
script.Parent.Parent.Parent.Parent.Parent.Character.Torso.CFrame = CFrame.new(263, 58, -21) end
script.Parent.MouseButton1Click:connect(Click) |
|
|
| Report Abuse |
|
|
|
| 05 Sep 2013 07:02 PM |
p = script.Parent.Parent.Parent.Character function click() p.Humanoid.Health = 100 p.Humanoid.MaxHealth = 100 script.Parent.Visible = false wait(60) script.Parent.visible = true p.Torso.CFrame = CFrame.new(263, 58, -21) end
script.Parent.MouseButton1Down:connect(click) |
|
|
| Report Abuse |
|
|