andrei012
|
  |
| Joined: 05 Nov 2010 |
| Total Posts: 279 |
|
|
| 29 May 2014 02:41 AM |
local PrivateLand = game.Lighting.PrivateLand
game.Players.PlayerAdded:connect(function(player) player.Chatted:connect(function(msg) if msg:lower() == "private teleport" or msg:lower() == "ptele" then if game.Workspace[player.Name .. "Land"] == false then a = PrivateLand.clone() a.Parent = Workspace a.Name = player.Name .. ("Land") a:MoveTo(Vector3.new(math.random(1000,100000),0,maht.random(1000,100000))) wait(1) player.Character.Torso.CFrame = CFrame.new(a.Baseplate.Position + Vector3.new(0,5,0)) end if game.Workspace[player.Name .. "Land"] == true then player.Character.Torso.CFrame = CFrame.new(a.Baseplate.Position + Vector3.new(0,5,0)) end end end) end)
It doesnt teleport me or It doesnt make the model?? :C |
|
|
| Report Abuse |
|
|
andrei012
|
  |
| Joined: 05 Nov 2010 |
| Total Posts: 279 |
|
|
| 29 May 2014 02:44 AM |
Sorry,
local PrivateLand = game.Lighting.PrivateLand
game.Players.PlayerAdded:connect(function(player) player.Chatted:connect(function(msg) if msg:lower() == "private teleport" or msg:lower() == "ptele" then if game.Workspace[player.Name .. "Land"] == false then a.clone() ---------changed this a.Parent = Workspace a.Name = player.Name .. ("Land") a:MoveTo(Vector3.new(math.random(1000,100000),0,maht.random(1000,100000))) wait(1) player.Character.Torso.CFrame = CFrame.new(a.Baseplate.Position + Vector3.new(0,5,0)) end if game.Workspace[player.Name .. "Land"] == true then player.Character.Torso.CFrame = CFrame.new(a.Baseplate.Position + Vector3.new(0,5,0)) end end end) end)
still doesnt work |
|
|
| Report Abuse |
|
|
|
| 29 May 2014 03:00 AM |
If you would please tell me what you are trying to do, I'll try and help you. |
|
|
| Report Abuse |
|
|
andrei012
|
  |
| Joined: 05 Nov 2010 |
| Total Posts: 279 |
|
|
| 29 May 2014 03:04 AM |
Theres a model in lighting and i want it to be cloned in workspace when a player said ptele
read the script too. |
|
|
| Report Abuse |
|
|
uyoyalt
|
  |
| Joined: 16 Apr 2013 |
| Total Posts: 2860 |
|
|
| 29 May 2014 03:08 AM |
| It should be a:clone() instead of a.clone() |
|
|
| Report Abuse |
|
|
andrei012
|
  |
| Joined: 05 Nov 2010 |
| Total Posts: 279 |
|
|
| 29 May 2014 03:37 AM |
| I changed it and it still doesnt work |
|
|
| Report Abuse |
|
|