two people said I need to add another end on my other question, which I did but the end I added. was marked as red. can someone please help me out
local part = script.Parent
if game.PurpleKey.ClickDetector.MouseClick:Connect(function(plr) keyModule.Clicked = true wait(1) part:remove()
if game.PurpleKey.ClickDetector.MouseClick:Connect(function(plr) keyModule.Clicked = false wait(1) part:add()
end end

1 comment
Please put your code in code blocks next time.