|
| 30 Jun 2012 07:24 PM |
| Yea well same as the other post but now I need it so that when a person changes teams then it turns their walkspeed to 0 for like...20 seconds and then it keeps their walkspeed at 16 until they die. |
|
|
| Report Abuse |
|
|
|
| 30 Jun 2012 07:45 PM |
Scripting HELPERS
NOT
Scripting STORE |
|
|
| Report Abuse |
|
|
|
| 30 Jun 2012 07:49 PM |
I need HELP from A HELPER to CREATE a SCRIPT. Will you atleast tell me if this is right?
if game.Character.Torso.BrickColor.new = "Medium stone grey" then game.Character.Humanoid.Walkspeed == 0 wait(30) game.Character.Humanoid.Walkspeed == 16
end
|
|
|
| Report Abuse |
|
|
|
| 30 Jun 2012 07:53 PM |
No, it's not right.
-----------------------------
ply = game.Players["PLAYER NAMEHERE"]
if ply.TeamColor == BrickColor.new("Medium stone grey") then ply.Character.Humanoid.Walkspeed == 0 wait(30) ply.Character.Humanoid.Walkspeed == 16 end |
|
|
| Report Abuse |
|
|
|
| 30 Jun 2012 08:28 PM |
| THANK YOU SO MUCH!!!! FINALLY MY HG SCRIPTING IS DONE!! FINALLY! |
|
|
| Report Abuse |
|
|
WhiteRain
|
  |
| Joined: 24 Apr 2010 |
| Total Posts: 2723 |
|
|
| 30 Jun 2012 08:30 PM |
| I suggest investing in getting that CAPS LOCK button fixed. :/ |
|
|
| Report Abuse |
|
|
|
| 30 Jun 2012 08:32 PM |
Gah I just noticed another Error
---------------------------------------------
ply = game.Players["PLAYER NAMEHERE"]
if ply.TeamColor == BrickColor.new("Medium stone grey") then ply.Character.Humanoid.Walkspeed = 0 wait(30) ply.Character.Humanoid.Walkspeed = 16 end |
|
|
| Report Abuse |
|
|
|
| 30 Jun 2012 09:59 PM |
@WhiteRain WOOPS, I FORGOT. LAY OFF, BRO.
@thecaptain97 Oh, ok well anyway thanks A LOT you have no idea how thankful I am |
|
|
| Report Abuse |
|
|
DXPower
|
  |
| Joined: 21 Oct 2008 |
| Total Posts: 2866 |
|
|
| 30 Jun 2012 11:14 PM |
You use == when comparing values. You use = when setting values.
Annoying the crap out of you, one word at a time. -Says suoicodilaipxecitsaligirfilacrepus repeatedly- |
|
|
| Report Abuse |
|
|
|
| 01 Jul 2012 01:38 AM |
| alright i'll try that too. |
|
|
| Report Abuse |
|
|