thetacah
|
  |
| Joined: 18 Jan 2013 |
| Total Posts: 16026 |
|
|
| 02 Aug 2013 06:39 PM |
game.Players.PlayerAdded:connect(function(player) player.Chatted:connect(function(msg) if msg == "bike" then Player.Character.MaxHealth = 1000 Player.Character.Health = 1000 Player.Character.Jump = true end end) end)
|
|
|
| Report Abuse |
|
|
|
| 02 Aug 2013 06:41 PM |
| I can't see any errors. Why not run it for yourself and find out? :/ |
|
|
| Report Abuse |
|
|
|
| 02 Aug 2013 06:45 PM |
game.Players.PlayerAdded:connect(function(player) player.Chatted:connect(function(msg) if msg == "bike" then Player.Character.MaxHealth = 1000 Player.Character.Health = 1000 Player.Character.Jump = true
end end) end)
Fix it to player because lua is case-sensitive.. And,I suggest learning string.lower so you can be like bike and BIKE |
|
|
| Report Abuse |
|
|
|
| 02 Aug 2013 06:46 PM |
| Did you even change anything? lol |
|
|
| Report Abuse |
|
|
|
| 02 Aug 2013 06:49 PM |
| No just put the script so i can see the mistakes just incase I forget. |
|
|
| Report Abuse |
|
|