|
| 13 Nov 2011 09:01 PM |
while true do wait()--that means one frame. if workspace.Player.Humanoid.Health > 6 then workspace.Player:MoveTo(0,50,0)--the room for the dead :O end end
no idea why its not working :/ |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 13 Nov 2011 09:12 PM |
| Workspace.Player:MoveTo(Vector3.new(0,50,0)) |
|
|
| Report Abuse |
|
|
|
| 13 Nov 2011 09:19 PM |
while true do wait()--that means one frame. if workspace.Player.Humanoid.Health > 6 then Workspace.Player:MoveTo(Vector3.new(0,50,0)) end end
ahah ill try it out |
|
|
| Report Abuse |
|
|
| |
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 13 Nov 2011 09:25 PM |
| Did you change Workspace.Player to your name? |
|
|
| Report Abuse |
|
|
|
| 13 Nov 2011 09:26 PM |
| i wanted it to be General so it works for everyone not just me D: |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 13 Nov 2011 09:28 PM |
| You woud have to use a Generic for then. |
|
|
| Report Abuse |
|
|
|
| 13 Nov 2011 09:32 PM |
| :( hmmmmm well ill have to Learn that another day im a slow reader and the wiki is alot to read. |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 13 Nov 2011 09:37 PM |
No wait, my bad. I think you mean this
game.Players.PlayerAdded:connect(function(p) p.CharacterAdded:connect(function(c) if c.Humanoid.Health > 6 then --code end end) end)
Sorry, I wasn't thinking right. I think you need events. |
|
|
| Report Abuse |
|
|
|
| 13 Nov 2011 09:45 PM |
| I see thank you kind sir sadly its my bed time now so good night robloxian of roblox and the scripting helpers forum! |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
| |
|