generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Does anybody know a script that can get rid of FF

Previous Thread :: Next Thread 
Vegegitas is not online. 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 is not online. 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 is not online. 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
PerpetualMovement is not online. PerpetualMovement
Joined: 04 Dec 2012
Total Posts: 1001
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 is not online. Goulstem
Joined: 04 Jul 2012
Total Posts: 7177
24 Dec 2013 07:27 PM
Oh You meant like that, sorry.
Report Abuse
Vegegitas is not online. 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 is not online. wazap
Joined: 29 Jun 2007
Total Posts: 23234
24 Dec 2013 07:31 PM
THE. FREAKING. SPAWN.
Report Abuse
JoshuaKempfert is not online. JoshuaKempfert
Joined: 16 Feb 2013
Total Posts: 2407
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 is not online. 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 is not online. 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 is not online. 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 is not online. 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 is not online. 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 is not online. 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 is not online. 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 is not online. Vegegitas
Joined: 11 Mar 2012
Total Posts: 5252
24 Dec 2013 07:50 PM
I fixed it!

Thanks, all of you!
Report Abuse
yoyomynameisjoe66 is not online. yoyomynameisjoe66
Joined: 26 Jul 2009
Total Posts: 1068
25 Dec 2013 06:38 AM
Why don't you tell me about the Beatles?
Report Abuse
KiwiMeister is not online. KiwiMeister
Joined: 18 Feb 2010
Total Posts: 1464
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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image