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 » Scripters
Home Search
 

Re: Need help on a character moving script.

Previous Thread :: Next Thread 
derrelderrel is not online. derrelderrel
Joined: 07 Sep 2012
Total Posts: 34
01 Apr 2017 03:36 PM
My script only work in Test mode on studio...Its a regular script

My script:

a = game.Workspace.p1.Position
b = game.Workspace.p2.Position
c = game.Workspace.p3.Position

wait(2)

game.Players.LocalPlayer.Character.Humanoid:MoveTo(a)
wait(6)
game.Players.LocalPlayer.Character.Humanoid:MoveTo(b)
wait(1.5)
game.Players.LocalPlayer.Character.Humanoid:MoveTo(c)

Report Abuse
derrelderrel is not online. derrelderrel
Joined: 07 Sep 2012
Total Posts: 34
01 Apr 2017 03:37 PM
a , b and c are just parts in the workspace
Report Abuse
graveyardposse is not online. graveyardposse
Joined: 23 Oct 2008
Total Posts: 2565
01 Apr 2017 03:48 PM
waitforchild
Report Abuse
derrelderrel is not online. derrelderrel
Joined: 07 Sep 2012
Total Posts: 34
01 Apr 2017 03:49 PM
It works but it is only working in test mode
Report Abuse
derrelderrel is not online. derrelderrel
Joined: 07 Sep 2012
Total Posts: 34
01 Apr 2017 03:49 PM
Waitforchild? i dont understand?
Report Abuse
derrelderrel is not online. derrelderrel
Joined: 07 Sep 2012
Total Posts: 34
01 Apr 2017 03:57 PM
And also my script is in the workspace
Report Abuse
graveyardposse is not online. graveyardposse
Joined: 23 Oct 2008
Total Posts: 2565
01 Apr 2017 03:57 PM
you can't use localplayer in a normal script
Report Abuse
derrelderrel is not online. derrelderrel
Joined: 07 Sep 2012
Total Posts: 34
01 Apr 2017 03:58 PM
then i should add the change it to local script and place it in?
Report Abuse
graveyardposse is not online. graveyardposse
Joined: 23 Oct 2008
Total Posts: 2565
01 Apr 2017 04:00 PM
startergui
Report Abuse
derrelderrel is not online. derrelderrel
Joined: 07 Sep 2012
Total Posts: 34
01 Apr 2017 04:02 PM
OMG im such a noob thanks man, its working now :]. before when i added it the localscript i had it in the starterpack
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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