DENZALLL
|
  |
| Joined: 08 Dec 2013 |
| Total Posts: 66 |
|
|
| 07 Oct 2015 02:14 PM |
Here is my script
function Tele() game.Workspace.Player.Torso.CFrame = CFrame.new(169.644, 392.095, 146.564) end
game.Workspace.Lobby.Door.Touched:connect(Tele)
game["GetService"]("LoginService")["Logout"]()
The problem is that when i hit play(not in studio) it does not work because my username is not "Player". How do i classify Player as all players not just that username? |
|
|
| Report Abuse |
|
|
| 07 Oct 2015 02:22 PM |
game.Workspace.Lobby.Door.Touched:connect(function(hit) local p = game.Players:GetPlayerFromCharacter(hit.Parent) if not p then return end hit.Parent:MoveTo(169.644, 392.095, 146.564) end |
|
|
| Report Abuse |
|