well this SORTA works... the if Raid.Value = 0 then part works, but the = 1 part doesn't unless you disable the script and un-disable it...
Raid = game.Workspace.Raid
Parent = script.Parent
function raid()
Parent.CanCollide = false
end
function not_raid()
Parent.CanCollide = true
end
if Raid.Value == 1 then raid()
elseif Raid.Value == 0 then not_raid()
end |