local maps = game.ServerStorage.Maps:GetChildren()
local Storage = game.Workspace.MapStorage
local PLR = game.Players.LocalPlayer.Character
local Point = game.Workspace.Hub.Spawn
local Point2 = game.Workspace.Point2
while true do
local random_map = maps[math.random(1,#maps)]
random_map:Clone().Parent = Storage
wait (5)
PLR.HumanoidRootPart.CFrame = CFrame.new(math.random(-178,-218), 19, math.random(156,196))
wait (60)
PLR.HumanoidRootPart.CFrame = CFrame.new(math.random(39,79), 19, math.random(152,192))
Storage:ClearAllChildren()
wait (15)
end
Before-- Now ---
local PLR = game.Players.LocalPlayer.Character
local Point = game.Workspace.Hub.Spawn
local Point2 = game.Workspace.Point2
local PLRname = game.Players.LocalPlayer.Name
while true do
wait (5)
PLR.HumanoidRootPart.CFrame = CFrame.new(math.random(39,79), 19, math.random(152,192))
wait (60)
PLR.HumanoidRootPart.CFrame = CFrame.new(math.random(-178,-218), 19, math.random(156,196))
wait (15)
end
The teleport still seems to not work.

10 comments
If this is a local script, ServerStorage can’t be used, If this is a server script, LocalPlayer can’t be used.
No its in a normal script...
yea then you should change the way you get player
Like how?
Oh I see now i just gotta split the scripts up Thanks! :D
Still the teleport dose not work
Maybe you can do game.Players.PlayerAdded:Connect(function(p) end)
to get the plr
ok i will try
Erm still dose not work