Hey guys, can you help me with the simple script
I’m a beginner and I don’t know what to do with it.
local hey = game.Workspace:WhatForChild (“Part”)
print (“hello”)
Ty
Hey guys, can you help me with the simple script
I’m a beginner and I don’t know what to do with it.
local hey = game.Workspace:WhatForChild (“Part”)
print (“hello”)
Ty
You wrote
instead of WaitforChild
Well, that’s not the problem you see.
It says that WaitforChild is not a valid member of Workspace “Workspace”
Well this time you write
instead of WaitForChild (capital F in For)
local hey = game.Workspace:WaitForChild("Part")
print("Hello")
Is the fixed code I wrote
The problem was you wrote what instead of wait
Please put your code between three backquotes ( ` ) so that it would become a code block which allows for easier viewing. Also:
local Part = workspace.Part or workspace:WaitForChild("Part")
print("Hello!-")
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.