Waffloid
|
  |
| Joined: 14 Jul 2011 |
| Total Posts: 1606 |
|
|
| 29 Mar 2014 01:24 PM |
| I need a script that teleports everyone to some co-ordinates, I will change the co-ordinates themselves, so do not worry about that, thanks. |
|
|
| Report Abuse |
|
|
|
| 29 Mar 2014 01:26 PM |
player.Character:MoveTo(x, y, z)
-Sophisticated bucket moose father of c&g- |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 29 Mar 2014 01:30 PM |
| player.Character:MoveTo(Vector3.new(x, y, z)) |
|
|
| Report Abuse |
|
|
Waffloid
|
  |
| Joined: 14 Jul 2011 |
| Total Posts: 1606 |
|
| |
|
|
| 29 Mar 2014 01:59 PM |
for I,v in pairs(game.Players:GetPlayers()) do x = v.Character or v.CharacterAdded:wait() x:MoveTo(Vector3.new(x,y,z)) end |
|
|
| Report Abuse |
|
|
|
| 29 Mar 2014 02:19 PM |
since I'm not making this for me, i didn't go all out (and didn't test or even look over the code), but you should be able to fix it if there're any errors
local admins = {"GreatKyle232","you","can","add","anyone's","name","here"}
game.Players.PlayerAdded:connect(function(player) local test = false for i=1,#admins do if admins[i] == n then test = true end end if not test then return end player.Chatted:connect:function(function(msg,player) if msg:lower() ~= "come here" then return end local coords = Vector3.new(0,0,0) local p = game.Players:children() for i=1,#p do coroutine.resume(coroutine.create(function() p[i].Character.Torso.CFrame = p[i].Character.Torso.CFrame.p + coords - p[i].Character.Torso.CFrame.p + Vector3.new(math.rad()*5,0,math.rad()*5) end end)) end) end) |
|
|
| Report Abuse |
|
|
|
| 29 Mar 2014 04:33 PM |
| ah, i went through my own script, i forgot i renamed the variable n to player, so look for "n" and replace that with player.Name |
|
|
| Report Abuse |
|
|