Vegegitas
|
  |
| Joined: 11 Mar 2012 |
| Total Posts: 5252 |
|
|
| 24 Dec 2013 07:24 PM |
Right away!
My obby is small and people can get halfway through it with the forcefield. |
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 24 Dec 2013 07:26 PM |
| Do you want it to be onTouched? or on a time system? |
|
|
| Report Abuse |
|
|
Bebee2
|
  |
| Joined: 17 May 2009 |
| Total Posts: 3985 |
|
|
| 24 Dec 2013 07:26 PM |
| Set the Duration property of the SpawnLocation to 0. |
|
|
| Report Abuse |
|
|
|
| 24 Dec 2013 07:26 PM |
| There's a property that allows you the change the duration of the forcefield once they spawn. Change the value to 0. |
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 24 Dec 2013 07:27 PM |
| Oh You meant like that, sorry. |
|
|
| Report Abuse |
|
|
Vegegitas
|
  |
| Joined: 11 Mar 2012 |
| Total Posts: 5252 |
|
|
| 24 Dec 2013 07:30 PM |
Thanks guys, but which area is it in?
Workspace, starterguide? |
|
|
| Report Abuse |
|
|
wazap
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 23234 |
|
| |
|
|
| 24 Dec 2013 07:33 PM |
game.Players.PlayerAdded:connect(function(Player) Player:WaitForDataReady() -- Irrelevant Player.CharacterAdded:connect(function(Character) Character:WaitForChild("ForceField"):Destroy() end) end) |
|
|
| Report Abuse |
|
|
Vegegitas
|
  |
| Joined: 11 Mar 2012 |
| Total Posts: 5252 |
|
|
| 24 Dec 2013 07:33 PM |
@waz
I'm asking a question, calm down. |
|
|
| Report Abuse |
|
|
Vegegitas
|
  |
| Joined: 11 Mar 2012 |
| Total Posts: 5252 |
|
|
| 24 Dec 2013 07:41 PM |
It still doesn't work.
Here is a video showing it: http://www.youtube.com/watch?v=-dMKx-v5jbc |
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 24 Dec 2013 07:44 PM |
| You could just have a Non Collideable, transparency,1 brick with an FF remover script right next to the spawn ._. |
|
|
| Report Abuse |
|
|
qrrrq
|
  |
| Joined: 27 Jan 2013 |
| Total Posts: 1252 |
|
|
| 24 Dec 2013 07:46 PM |
| Veg, there is a property of the SpawnLocation that allows you to change the Duration. Set it to 0. |
|
|
| Report Abuse |
|
|
Vegegitas
|
  |
| Joined: 11 Mar 2012 |
| Total Posts: 5252 |
|
|
| 24 Dec 2013 07:46 PM |
@goul
Is there one already made? Or do I have to make my own? |
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 24 Dec 2013 07:47 PM |
function onTouch(hit) if script.Parent.Parent:FindFirstChild("Humanoid") ~= nil then for i,v in pairs(script.Parent.Parent:GetChildren()) do if v:IsA("ForceField") then v:remove() end end end end |
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 24 Dec 2013 07:47 PM |
Forgot connection statement, sorry..
script.Parent.Parent.Touched:connect(onTouched) |
|
|
| Report Abuse |
|
|
Vegegitas
|
  |
| Joined: 11 Mar 2012 |
| Total Posts: 5252 |
|
|
| 24 Dec 2013 07:50 PM |
I fixed it!
Thanks, all of you! |
|
|
| Report Abuse |
|
|
|
| 25 Dec 2013 06:38 AM |
| Why don't you tell me about the Beatles? |
|
|
| Report Abuse |
|
|
|
| 25 Dec 2013 06:44 AM |
im bored:
while wait() do for _,v in pairs (game.Players:GetPlayers()) do if v.Character:FindFirstChild("ForceField") then v.Character.ForceField:Destroy() end end end |
|
|
| Report Abuse |
|
|