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: Hovering ghost script help

Previous Thread :: Next Thread 
TheSecondPower is not online. TheSecondPower
Joined: 15 Mar 2013
Total Posts: 15726
18 Sep 2014 03:03 PM
I need this model (The model is called Ghost) to hover over a map that is this size 307.4, 1.2, 311.22 but not go off the map just hover a bit over the map and move around in random patterns please help me.
Report Abuse
TheSecondPower is not online. TheSecondPower
Joined: 15 Mar 2013
Total Posts: 15726
18 Sep 2014 03:07 PM
b1
Report Abuse
SenseiWarrior is online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
18 Sep 2014 03:08 PM
local mrX = math.random(-1537,1537)/10
local mrY = math.random(10,50)
local mrZ = math.random(-15561,15561)/100
local bp = Instance.new("BodyPosition",Torso)
bp.position = Vector3.new(mrX,mrY,mrZ)

Something like that
Report Abuse
TheSecondPower is not online. TheSecondPower
Joined: 15 Mar 2013
Total Posts: 15726
18 Sep 2014 03:08 PM
b2
Report Abuse
TheSecondPower is not online. TheSecondPower
Joined: 15 Mar 2013
Total Posts: 15726
18 Sep 2014 03:09 PM
@Sensei and where would I put that script? In the torso or in the model?
Report Abuse
SenseiWarrior is online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
18 Sep 2014 03:13 PM
Wherever you want, just tweak it and add some things to it
Report Abuse
TheSecondPower is not online. TheSecondPower
Joined: 15 Mar 2013
Total Posts: 15726
18 Sep 2014 03:17 PM
I'm can't really script though, what would I have to add?
Report Abuse
SenseiWarrior is online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
18 Sep 2014 03:18 PM
If you cant script then you should start learning the basics before you do this
Report Abuse
TheSecondPower is not online. TheSecondPower
Joined: 15 Mar 2013
Total Posts: 15726
18 Sep 2014 03:20 PM
I just need this one thing though for my game
Report Abuse
SenseiWarrior is online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
18 Sep 2014 03:22 PM
Then you should learn how to do it
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