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: Player Stays Above Position

Previous Thread :: Next Thread 
Alexware is not online. Alexware
Joined: 07 May 2010
Total Posts: 661
01 Mar 2014 10:24 AM
How would I make something that goes in the player that keeps you from falling

example;

if script.Parent.Torso.Position=Vector3.new(x,-4,z) then
script.Parent:MoveTo(Vector3.new(x,10,z))
end
Report Abuse
GamingOwl is not online. GamingOwl
Joined: 18 Feb 2014
Total Posts: 350
01 Mar 2014 10:34 AM
1. It needs a quick loop so it keeps checking their position. 2.I am not 100% sure if you

if script.Parent.Torso.Position=Vector3.new(x,-4,z) then

use vector3.new in this case... I could be wrong... But your not creating a new position you are checking for the current placement.
Report Abuse
funnymouse7 is not online. funnymouse7
Joined: 17 Mar 2011
Total Posts: 1741
01 Mar 2014 10:39 AM
while wait() do
Torso.CFrame = Vector3.new(Torso.Position.X,0,Torso,Position.Z)
end

edit that
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