crazyzee
|
  |
| Joined: 24 Aug 2010 |
| Total Posts: 275 |
|
|
| 16 Jun 2012 06:54 PM |
function o(new) new.Torso.CFrame = CFrame.new(Vector3(-38.5, 63, -32.5)) end
game.Players.ChildAdded:connect(o)
i think i got the connection line wrong. |
|
|
| Report Abuse |
|
|
Trioxide
|
  |
| Joined: 29 Mar 2011 |
| Total Posts: 32902 |
|
| |
|
crazyzee
|
  |
| Joined: 24 Aug 2010 |
| Total Posts: 275 |
|
|
| 16 Jun 2012 06:58 PM |
| BUMP please help me i have to get off soon. |
|
|
| Report Abuse |
|
|
|
| 16 Jun 2012 06:58 PM |
No. You got the player in "Players" not the character.
new.Character.CFrame = CFrame.new(-38.5, 63, -32.5)
~thedestroyer115, helping out since December 2011~ |
|
|
| Report Abuse |
|
|
crazyzee
|
  |
| Joined: 24 Aug 2010 |
| Total Posts: 275 |
|
|
| 16 Jun 2012 06:59 PM |
it doesnt Work i have tried alot of times
|
|
|
| Report Abuse |
|
|
Flash77
|
  |
| Joined: 14 Jun 2008 |
| Total Posts: 550 |
|
|
| 16 Jun 2012 06:59 PM |
no it wouldnt work. 1. The connect line would work, but it is beter to use: game.Players.PlayerAdded:connect(o)
2. the CFrame line you would do new.Character.Torso.CFrame = CFrame.new()
3. need to add new.CharacterAdded:wait() before accesing stuff from the character since player spawns before character
4. CFrame value is wrong, need to have it be CFrame.new(0,0,0) no Vector3.new() |
|
|
| Report Abuse |
|
|
|
| 16 Jun 2012 07:00 PM |
function o(new) new.CharacterAdded:wait() new.Character.Torso.CFrame = CFrame.new(-38.5, 63, -32.5) end
game.Players.ChildAdded:connect(o) |
|
|
| Report Abuse |
|
|
|
| 16 Jun 2012 07:01 PM |
@Flash
1. That's completely optional. 2. This is correct. 3. This is correct, but that is not the only way to do it. I did it because it's simpler, but there are plenty of other ways to do it. 4. This is optional, you can do Vector3 if you want. |
|
|
| Report Abuse |
|
|
crazyzee
|
  |
| Joined: 24 Aug 2010 |
| Total Posts: 275 |
|
| |
|
crazyzee
|
  |
| Joined: 24 Aug 2010 |
| Total Posts: 275 |
|
|
| 16 Jun 2012 07:05 PM |
| it still does not work it didnt teleport me to the spot where i wanted to be and i have tried the script on the 1 post on top of my post |
|
|
| Report Abuse |
|
|
Flash77
|
  |
| Joined: 14 Jun 2008 |
| Total Posts: 550 |
|
|
| 16 Jun 2012 07:07 PM |
| i always just use PlayerAdded because it would get rid of any glitchs where something else might be accidently (or purposfuly) added to Players |
|
|
| Report Abuse |
|
|
|
| 16 Jun 2012 07:09 PM |
game.Players.PlayerAdded:connect(function(p) p.CharacterAdded:connect(char) repeat wait() until char:FindFirstChild("Torso") char:MoveTo(Vector3.new(-38.5, 63, -32.5)) end) end)
If it moves you, but it moves you to the wrong location, your coordinates are wrong. |
|
|
| Report Abuse |
|
|
crazyzee
|
  |
| Joined: 24 Aug 2010 |
| Total Posts: 275 |
|
|
| 17 Jun 2012 12:33 PM |
| nope im sure its supposed to work i even checked the caordinates |
|
|
| Report Abuse |
|
|
|
| 17 Jun 2012 01:55 PM |
| I believe .PlayerAdded only works in online Mode, so it won't work if You're testing this in Build Mode. |
|
|
| Report Abuse |
|
|
crazyzee
|
  |
| Joined: 24 Aug 2010 |
| Total Posts: 275 |
|
| |
|
crazyzee
|
  |
| Joined: 24 Aug 2010 |
| Total Posts: 275 |
|
|
| 19 Jun 2012 09:30 AM |
it still doesnt work please help me |
|
|
| Report Abuse |
|
|
Trioxide
|
  |
| Joined: 29 Mar 2011 |
| Total Posts: 32902 |
|
| |
|