Take a look at this video and you'll know what I'm trying to do it doesn't respond with the child name.

https://streamable.com/e9dbu6

local Bomb = workspace["Tsar Bomba"]


function onClick(hit)
	wait()		
	script.Parent.Transparency = 1
	wait(2)
	script.Parent.Transparency = 0
   end
script.Parent.ClickDetector.MouseClick:connect(onClick)

1 comment

0

Try to use workspace:FindFirstChild() or workspace:WaitForChild()