of     1   

Epidemeus
#59970175Thursday, December 22, 2011 1:50 AM GMT

So what I want to do is to delete the new forcefield if my character's health is 500 ff = Instance.new("ForceField") ff.Parent = game.Workspace.Epidemeus if game.Workspace.Epidemeus.Humanoid.Health = 500 then ff:remove() Is this correct. If not fix.
Dude759
#59970634Thursday, December 22, 2011 1:56 AM GMT

needs an end at the end: ff = Instance.new("ForceField") ff.Parent = game.Workspace.Epidemeus if game.Workspace.Epidemeus.Humanoid.Health = 500 then ff:remove() end
Preponderance
#59970636Thursday, December 22, 2011 1:56 AM GMT

ff:Destroy() end
Dude759
#59970701Thursday, December 22, 2011 1:57 AM GMT

I believe its called remove() not destroy()
Preponderance
#59970757Thursday, December 22, 2011 1:58 AM GMT

Destroy, destroys Remove sets parent to nil and such
darkkiller5555
#59970819Thursday, December 22, 2011 1:59 AM GMT

They can use :Remove().
stealthsniper200
#59970941Thursday, December 22, 2011 2:00 AM GMT

Try this... if game.Workspace.Epidemeus.Humanoid.Health = 500 then game.Workspace.Epidemeus.ForceFeild:remove() end I dont know what the force feild is called in the character though, sorry if that part wrong.
Trapper4O77
#59971085Thursday, December 22, 2011 2:02 AM GMT

Also, add == not = And :Remove() is deprecated, but is valid. :Destroy() is it's replacement.
Epidemeus
#59972095Thursday, December 22, 2011 2:15 AM GMT

Still doesn't work Segment: function onClicked(mouse) if on then fire = Instance.new("Fire") fire.Parent = game.Workspace.Ioveme.Head fire.Size =7 fire.Heat = 10 fire.Color = Color3.new(0, 0, 255) fire.SecondaryColor = Color3.new(25, 0, 102) ff = Instance.new("ForceField") ff.Parent = game.Workspace.Ioveme if game.Workspace.Ioveme.Humanoid.MaxHealth == 500 then ff:Destroy() end game.Workspace.Ioveme.Humanoid.MaxHealth=math.huge ----------------------replace all of your names game.Workspace.Ioveme.Humanoid.Health= math.huge game.Workspace.Ioveme.Humanoid.WalkSpeed = 20 game.Workspace.Ioveme.Head.Reflectance=1 end (example)
Epidemeus
#59972713Thursday, December 22, 2011 2:24 AM GMT

Fixed it nvm Thanks for the :Destroy() and the "=="

    of     1