|
| 08 Feb 2014 06:12 PM |
Like, when everyone enters the game, i want make them ff ? how do i do that ?
here is code i found on forum
game.Players.PlayerAdded:connect(function(p) p.CharacterAdded:connect(function(x) --code end) end)
but how do i use that like that
Char.Torso.Transparency = 0.5 i am try on Transparency but is it true ? |
|
|
| Report Abuse |
|
|
EcIiptic
|
  |
| Joined: 12 Aug 2009 |
| Total Posts: 13737 |
|
| |
|
|
| 08 Feb 2014 06:15 PM |
| Change the duration property of the SpawnLocation to the time you wish the player to have a forcefield. |
|
|
| Report Abuse |
|
|
|
| 08 Feb 2014 06:15 PM |
game.Players.PlayerAdded:connect(function(p) p.CharacterAdded:connect(function(x) Instance.new("ForceFeild", p.Character.Torso) end) end)
That would only do it when they join the game... Just edit the spawn properties for it to happen whenever they re-spawn. |
|
|
| Report Abuse |
|
|
|
| 08 Feb 2014 06:30 PM |
Thank u sir i started scripting your just trying :D i am trying to learn more commands and basics and understand how is it works |
|
|
| Report Abuse |
|
|