Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Can't put parent names with names that are spaced?

Asked by 4 years ago

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

01local Bomb = workspace["Tsar Bomba"]
02 
03 
04function onClick(hit)
05    wait()     
06    script.Parent.Transparency = 1
07    wait(2)
08    script.Parent.Transparency = 0
09   end
10script.Parent.ClickDetector.MouseClick:connect(onClick)
0
Try to use workspace:FindFirstChild() or workspace:WaitForChild() FirezDevv 162 — 4y

Answer this question