Orignal Scirpt But I Wanna Change The workspace on the 6 line To ReplicatedStorage.
wait(3) local plrs = game.Players:GetChildren() for i = 1,#plrs do local num = math.random(1,32) plrs[i].Character.HumanoidRootPart.CFrame = CFrame.new(workspace.Teleporters.Teleparts["Part"..num].Position) plrs[i].Character.Parent = workspace.Ingame end
This Is The How I Want To Change It But It Does Not Work And Theres A Error.
wait(3) local plrs = game.Players:GetChildren() for i = 1,#plrs do local num = math.random(1,32) plrs[i].Character.HumanoidRootPart.CFrame = CFrame.new(ReplicatedStorage.Teleporters.Teleparts["Part"..num].Position) plrs[i].Character.Parent = workspace.Ingame end
Please Help!