Hello! Apex back again. I am back with another script, but made by my friend "Dxsigned". So what he is trying to do is, Whoever player name is the script, when he/she joins, they are teleported into a prison. He tried using instances. The main purposes is to get a player teleported in the prison if their name is in the script. Thank you sm.
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(0,500,0) p.Size = Vector3.new(50,0,50) p.Parent = game.Workspace p.Locked = true p.Transparency = 0.5
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(25,501,0) p.Size = Vector3.new(0,50,50) p.Parent = game.Workspace p.Locked = true p.Transparency = 0.5
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-25,501,0) p.Size = Vector3.new(0,50,50) p.Parent = game.Workspace p.Locked = true p.Transparency = 0.5
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(0,501,25) p.Size = Vector3.new(50,50,0) p.Parent = game.Workspace p.Locked = true p.Transparency = 0.5
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(0,501,-25) p.Size = Vector3.new(50,50,0) p.Parent = game.Workspace p.Locked = true p.Transparency = 0.5
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(0,525,0) p.Size = Vector3.new(50,0,50) p.Parent = game.Workspace p.Locked = true p.Transparency = 0.5
p= game.Players:GetChildren()
for i= 1, #p do
if p[i] ~= "NAME" then
p[i].Character.Torso.CFrame = CFrame.new(0,515,0)
P.S. Script is made by Dxsigned.

2 comments
Are you trying to teleport players with a matching username into a prison?
Yes.