this is my script for a block that disappears, but then another block reappears:
local Part1 = game.Workspace:WaitForChild("Part1")
local Part2 = game.Workspace:WaitForChild("Part2")
while true do
Part1.Transparency = 0
Part1.CanCollide = true
Part2.Transparency = 1
Part2.CanCollide = false
wait(3)
Part1.Transparency = 1
Part1.CanCollide = false
Part2.Transparency = 0
Part2.CanCollide = false
wait(3)
end
can u guys make it so that the block just disappears once clicked? and then it respawns when u click another block?

2 comments
Here's something that can help: https://developer.roblox.com/en-us/api-reference/class/ClickDetector
thanks its helping me a lil more ill soon figure it out!