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

Spawns is not a valid member of Model uh?

Asked by 6 years ago

Output

1:31:38.189 - Spawns is not a valid member of Model

Script

local Spawn = Clone.Spawns:GetChildren()[math.random(1, #Clone.Spawn:GetChildren())]
        v.Character:SetPrimaryPartCFrame(Spawn.CFrame * CFrame.new(0, 5,0))
        Spawn:Destroy()

Thanks again alot please fix if in script is a mistake

1 answer

Log in to vote
0
Answered by 6 years ago

Fixed

0
you are trying to target it too fast, use WaitForChild fanofpixels 718 — 6y
Ad

Answer this question