generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Teleport question

Previous Thread :: Next Thread 
pingasforce is not online. pingasforce
Joined: 20 Aug 2010
Total Posts: 115
02 Jul 2012 10:27 PM
I want to teleport people,but I don't want their body to turn when they get teleported.How would I do this?
Report Abuse
mamaguy is not online. mamaguy
Joined: 07 Oct 2010
Total Posts: 7073
02 Jul 2012 10:30 PM
Inside whatever event, function, or loop you used for it:
game.Players.Player:MoveTo(Vector3.new(0,0,0))<---Think it's correct :P
Report Abuse
pingasforce is not online. pingasforce
Joined: 20 Aug 2010
Total Posts: 115
02 Jul 2012 10:35 PM
It still rotate your character when you get teleported :U.I need it not to do so.
Report Abuse
nicknack2143 is not online. nicknack2143
Joined: 07 Aug 2010
Total Posts: 1134
02 Jul 2012 11:06 PM
Maybe you should post this in Scripting Helpers section instead of, Scripting Helpers. That would help.

Trlolololololol Hahaha!
Report Abuse
dddylan98 is not online. dddylan98
Joined: 16 Jul 2008
Total Posts: 1497
02 Jul 2012 11:07 PM
^ get out. You're not cool.
Report Abuse
nicknack2143 is not online. nicknack2143
Joined: 07 Aug 2010
Total Posts: 1134
02 Jul 2012 11:10 PM
^ Look in the mirror, ODer.
Report Abuse
dddylan98 is not online. dddylan98
Joined: 16 Jul 2008
Total Posts: 1497
02 Jul 2012 11:11 PM
Nothing about me says ODer. Get out. Kbai.
Report Abuse
pingasforce is not online. pingasforce
Joined: 20 Aug 2010
Total Posts: 115
03 Jul 2012 03:02 AM
@cheater tell this to trioxide:His script is good,but If you resize Roblox windows to make it smaller,it still ban you.
Report Abuse
dddylan98 is not online. dddylan98
Joined: 16 Jul 2008
Total Posts: 1497
03 Jul 2012 03:04 AM
Why are you posting on this thread?
Report Abuse
pingasforce is not online. pingasforce
Joined: 20 Aug 2010
Total Posts: 115
03 Jul 2012 03:05 AM
:U I posted on the wrong thread,but I was going to up it anyway...
Report Abuse
pingasforce is not online. pingasforce
Joined: 20 Aug 2010
Total Posts: 115
03 Jul 2012 03:39 AM
so,how we do that XD
Report Abuse
Cheater is not online. Cheater
Joined: 29 Jun 2007
Total Posts: 5258
03 Jul 2012 04:04 AM
I just thought of that post. :O
Report Abuse
Cheater is not online. Cheater
Joined: 29 Jun 2007
Total Posts: 5258
03 Jul 2012 04:07 AM
For doing this, just take each part inside the player and get the rotation via CFrameing (I hope you know how). Set it to a variable and then teleport each part and set it's rotation to that variable.

I would do it with euleranglesxyz.
Report Abuse
Zomebody is not online. Zomebody
Joined: 01 Jun 2010
Total Posts: 789
03 Jul 2012 04:40 AM
Funny, yesterday I wanted to make the same, this is what's in my script, and works:

Turn = T.CFrame-T.CFrame.p --T is the players torso, you'll have to replace it.
T.CFrame = CFrame.new()*Turn --set your Vector3 in there.

A CFrame is basicly a position with a rotation. "Turn" is the CFrame minus the position, so only how much your torso is turned. If you then teleport the player with CFrame.new(), you give it a position plus the rotation your character had.
Report Abuse
Cheater is not online. Cheater
Joined: 29 Jun 2007
Total Posts: 5258
03 Jul 2012 05:21 AM
And that's what I meant above. I just did this with EulerAnglesXYZ.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image