damage = game.Workspace.Dragon1head.Hellfire.Fire1.Damagescript
local i = 1 --this sets the digit for the repeat.
while i < 10 do --This part of the script starts the repeat
game.Workspace.Dragon1head.Hellfire.Fire1.CanCollide=false
game.Workspace.Dragon1head.Hellfire.Fire1.Fire.Enabled=false
damage.disabled=true
wait (3)
game.Workspace.Dragon1head.Hellfire.Fire1.CanCollide=true
game.Workspace.Dragon1head.Hellfire.Fire1.Fire.Enabled=true
damage.disabled=false
wait (3)
game.Workspace.Dragon1head.Hellfire.Fire1.CanCollide=false
game.Workspace.Dragon1head.Hellfire.Fire1.Fire.Enabled=false
damage.disabled=true
wait (3)
game.Workspace.Dragon1head.Hellfire.Fire1.CanCollide=true
game.Workspace.Dragon1head.Hellfire.Fire1.Fire.Enabled=true
damage.disabled=false
wait (3)
end --this makes the repeat loop start again.
So this is my code. My expected outcome was that when the Firepart and Cancollide were turned off my damage script would also be turned off. Unfortunately this does not appear to be the case. The damage script is ALWAYS turned on. The firepart and the cancollide are always disabled / off. I don't understand why this is, especially considering that without "damage.disabled=true" The rest of the script seems to work fine? Thanks for reading, Luker