So “waitforchild” isn’t working very well.
i tried
local hotdog = game.Workspace:WaitForChild("Part")
print ("we have our hotdog!")
Then when i play, it prints “we have our hotdog!” to the output.
even though i didn’t insert any part to the workspace and called it “hotdog”
voozy_v
(voozy_v)
#2
Maybe there was already a part in workspace named Part
.
WaitForChild takes an Instance name as an argument, not its type.
WaitForChild("hotdog")
2 Likes
i want to make it so that if in the workspace a Part named “hotdog” . it prints that text to the output
And what prevents you from using it?
WaitForChild("hotdog")
This will be return your “hotdog” part