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: teleprot (position) help

Previous Thread :: Next Thread 
devSurface is not online. devSurface
Joined: 09 Feb 2013
Total Posts: 1339
29 Jun 2014 05:04 PM
script.Parent.MouseButton1Down:connect(function()
game.Players.LocalPlayer.Character.Head.Position = (22, 0.59, -16.1)
end)

y no work
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
29 Jun 2014 05:05 PM
Vector3.new(x, y, z)

But using that will cause a severe case of "Decapitation", followed by death.
Report Abuse
devSurface is not online. devSurface
Joined: 09 Feb 2013
Total Posts: 1339
29 Jun 2014 05:06 PM
so

script.Parent.MouseButton1Down:connect(function()
game.Players.LocalPlayer.Character.Head.Position = Vector3.new(22, 0.59, -16.1)
end)

Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
29 Jun 2014 05:08 PM
Yes, if you don't mind having no head until you respawn :)
Report Abuse
devSurface is not online. devSurface
Joined: 09 Feb 2013
Total Posts: 1339
29 Jun 2014 05:12 PM
so

script.Parent.MouseButton1Down:connect(function()
game.Players.LocalPlayer.Character.Torso.Position = Vector3.new(22, 0.59, -16.1)
end)
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
29 Jun 2014 05:13 PM
You have to CFrame it, but yes, the Torso. :P
Report Abuse
devSurface is not online. devSurface
Joined: 09 Feb 2013
Total Posts: 1339
29 Jun 2014 05:18 PM
so

script.Parent.MouseButton1Down:connect(function()
game.Players.LocalPlayer.Character.Torso.CFrame = CFrame.new(22, 0.59, -16.1)
end)
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
29 Jun 2014 05:22 PM
Yes, in a LocalScript :)
Report Abuse
devSurface is not online. devSurface
Joined: 09 Feb 2013
Total Posts: 1339
29 Jun 2014 05:23 PM
nop no work
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
29 Jun 2014 05:25 PM
Is it in a LocalScript?
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