I have a script in a Gui that tells the player if they have a forcefield on screen. The problem i have is once the forcefield is removed, i get an error instead of making the text invisible.
Error: ForceField is not a valid member of Model.
local player = script.Parent.Parent.Parent.Parent.Parent.Parent.Character while true do wait(1) if player.ForceField then script.Parent.Visible = true script.Parent.Text = "ForceField" else script.Parent.Visible = false end end
Any help pls?