I am trying to write a script that'll tp a player to the desired location, I want to make it admins of the game backwards and forwards, only though that we dont have lua admin installed so i will have to do it the long way. can u guys help me out? It works, but I want it to only be able to teleport the admins stated bellow. PLs help me. The admins are Soulbeastpro49 (my second account) and ObsiDIEan00. Here's the code:
function teleportPlayer(pos, torso)
local char = torso
char.CFrame = CFrame.new(Vector3.new(pos.x, pos.y + 7, pos.z))
end -- close the function here
script.Parent.Touched:connect(function(part)
teleportPlayer(Vector3.new(-905, 108.7, 136), part.Parent.Torso)
end)
Thanks! Jerry
