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
 

Teleporting issue

Previous Thread :: Next Thread 
3rdblox is not online. 3rdblox
Joined: 09 Dec 2012
Total Posts: 4741
08 Feb 2014 06:11 PM
I've got this long line of script which does what it's told-moving the torso where it needs to be, but the problem is that it thus kills the player. What do I do to fix this line?
game.Players:findFirstChild(plr).Character.Torso.Position = Vector3.new(sft.Spawns:findFirstChild(i+1))
Report Abuse
XtremeTemper is not online. XtremeTemper
Joined: 02 Mar 2012
Total Posts: 1774
08 Feb 2014 06:13 PM
Vector3 in a welded object de-welds it..Use CFrame.

Although an easy way would be to use :MoveTo()

example:
game.Workspace.Player1:MoveTo(game.Workspace.XtremeTemper.Torso.Position)
Report Abuse
matt1020304050 is not online. matt1020304050
Joined: 24 May 2008
Total Posts: 4475
08 Feb 2014 06:14 PM
game.Players:findFirstChild(plr).Character:MoveTo(Vector3.new(sft.Spawns:findFirstChild(i+1)))
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