i make this basic script
block = script.Parent
on = true
block.Touched:connect(function()
if on == true then
block.BrickColor = BrickColor.new('Really red')
on = false
wait(1)
else
block.BrickColor = BrickColor.new('Lime green')
end
end)
but as soon i started the game the part is already changed to red i dont even touched the part but when i touched it, just change to green and cant change back to red i'm still learning on scripting

2 comments
oh okay thanks for the explanation now i know what is going on the part is touching the Baseplate thanks :)
@xPolarium can you help me with this one? https://scriptinghelpers.org/questions/50226/my-top-camera-cant-move-the-player-help-me-fix-it