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: Now, after you moved X, move some Z.. Oh wait you're dead.

Previous Thread :: Next Thread 
Intern33t is not online. Intern33t
Joined: 19 Nov 2010
Total Posts: 1530
10 Jun 2014 12:34 PM
So, in my last post i had problems moving X - solved. Now, if i do the same with Z, 2 things are crazy. I wanna turn the body into positive Z direction because:
1. If he moves Z sideways, his torso suddenly stacks on his head and he dies.
2. Its totally.. well not cool if people play my game and see noobs moonwalking and sidewalking :P

So, How do i turn all bodyparts or well the model from negative X (face is facing there) to positive Z?

This is how it should look like then (arrows and for facing.)

v
v -- 12 Steps
v>>>v------ facing to negative X again.
|
20 Steps
Report Abuse
islandmaker2012 is not online. islandmaker2012
Joined: 07 Nov 2012
Total Posts: 9327
10 Jun 2014 12:37 PM
use CFraming, or use the MoveTo() method of a humanoid..


humanoid:MoveTo(position,Workspace.BasePlate)
Report Abuse
Intern33t is not online. Intern33t
Joined: 19 Nov 2010
Total Posts: 1530
10 Jun 2014 12:39 PM
So, either answer me how i cframe him or answer me how MoveTo is.. Oh well.. i think.. Im just gonna try it out and tell you in 5 mins if it worked.
Report Abuse
Intern33t is not online. Intern33t
Joined: 19 Nov 2010
Total Posts: 1530
10 Jun 2014 12:41 PM
Okay 2 things. What is the 2nd argument (Workspace.BasePlate in your case) used for? and what do i write if i have no Workspace.BasePlate?
Report Abuse
islandmaker2012 is not online. islandmaker2012
Joined: 07 Nov 2012
Total Posts: 9327
10 Jun 2014 12:43 PM
just any part, the second argument no longer does anything, but the script will error without it

and the first argument is the position you want the humanoid to walk to(you of course have to define humanoid)
Report Abuse
Intern33t is not online. Intern33t
Joined: 19 Nov 2010
Total Posts: 1530
10 Jun 2014 12:51 PM
Now, if the human moves my way (moveXneg()), after the first step the parts all fly away and dis-glue and dis-weld (i glued and some welded all of the sides lol) and the Noob dies. ???
Report Abuse
Intern33t is not online. Intern33t
Joined: 19 Nov 2010
Total Posts: 1530
10 Jun 2014 12:56 PM
HELPP!!!!!!!!!!!!

I removed the move zneg wtf lol. Now he should like mov straight diagonal to where i defined in the moveto function. Now, if i run it the noob suddenly dissapears from his place. I look in his model, sometimes everything is away except left leg, sometimes vice versa. Whats the problem?!

((Even though the parts "are still there" in the explorer, i cant find them.))
Report Abuse
Intern33t is not online. Intern33t
Joined: 19 Nov 2010
Total Posts: 1530
10 Jun 2014 01:00 PM
Im so sad now.

I tried to find some parts... i found them. All parts were up in the sky at some position like 34003.348 Y. All flew down and went awy, but LeftLeg was still there. I tried to get it back to earth using Move, But after 5 secs of moving the game crashed! And i didnt save, my last save was when i first created the game! Why?! It was so hard work..
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