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

local Stand = script:WaitForChild("Stand"):Clone() how do i fix this?

Asked by 3 years ago

plz help im stuck on this if u know plz tell me

0
Please show the code, where its erroring, and the error text MrRobWasHere 22 — 3y
0
Infinite yield possible on 'ServerScriptService.Summon:WaitForChild("Stand")' Rareloljosh21 0 — 3y
0
local Stand = script:WaitForChild("Stand"):Clone() -this is the code Rareloljosh21 0 — 3y
0
Where is the stand located? MrRobWasHere 22 — 3y
View all comments (2 more)
0
serverscriptservice Rareloljosh21 0 — 3y
0
its missing something but idk what is Rareloljosh21 0 — 3y

1 answer

Log in to vote
0
Answered by
NGC4637 602 Moderation Voter
3 years ago

if the stand is located in serverscript service, and not inside the script, do this instead:

local Stand = game:GetService("ServerScriptService"):FindFirstChild("Stand"):Clone() -- this will only work in a normal script since local scripts cannot access ServerScriptService and ServerStorage for i guess security reasons
0
also i suggest putting it in ServerStorage since it is for storing items in the server. NGC4637 602 — 3y
Ad

Answer this question