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
 

How can I make a player's head and arms follow their mouse?

Previous Thread :: Next Thread 
dog456pop248 is not online. dog456pop248
Joined: 24 Aug 2008
Total Posts: 3977
24 Aug 2013 10:45 PM
I'm not sure If I just have to edit their CFrame properties or use welds. Can anyone give me some tips?
Report Abuse
froggodude is not online. froggodude
Joined: 22 Sep 2012
Total Posts: 1638
24 Aug 2013 10:47 PM
I don't think it's welds, but it might be motors.
Report Abuse
froggodude is not online. froggodude
Joined: 22 Sep 2012
Total Posts: 1638
24 Aug 2013 10:47 PM
Setting the desired angles.
Report Abuse
dog456pop248 is not online. dog456pop248
Joined: 24 Aug 2008
Total Posts: 3977
24 Aug 2013 10:51 PM
Can you explain that a little bit? I haven't used Motor6D's or whatever they are
Report Abuse
dog456pop248 is not online. dog456pop248
Joined: 24 Aug 2008
Total Posts: 3977
24 Aug 2013 10:59 PM
For the SetDesiredAngle method would I just use a Vector3 value?
Report Abuse
dog456pop248 is not online. dog456pop248
Joined: 24 Aug 2008
Total Posts: 3977
24 Aug 2013 11:01 PM
Unofficial thread lock, I'm just going to start a new thread about Motors.
Report Abuse
shonclub is not online. shonclub
Joined: 05 Sep 2009
Total Posts: 1331
24 Aug 2013 11:02 PM
I don't think motor6D works anymore..
Report Abuse
dog456pop248 is not online. dog456pop248
Joined: 24 Aug 2008
Total Posts: 3977
24 Aug 2013 11:31 PM
Okay, it's definately NOT motors.
Can someone explain how I would do it with welds?
Report Abuse
shonclub is not online. shonclub
Joined: 05 Sep 2009
Total Posts: 1331
24 Aug 2013 11:34 PM
Ask LuaMax(Genius Scripter)
I consider him a genius, he denies it tho o3o
Report Abuse
dog456pop248 is not online. dog456pop248
Joined: 24 Aug 2008
Total Posts: 3977
24 Aug 2013 11:51 PM
Can anyone else help me in the time being?
Report Abuse
reptoslicerguy is not online. reptoslicerguy
Joined: 01 Jan 2010
Total Posts: 2098
25 Aug 2013 12:18 AM
idk if this will work cause i dont feel likke testing it but ill give it a go and mauybe you can fix it if it doesnt work properly

noob = game.Players.LocalPlayer.Character
mouse = game.Players.LocalPlayer:GetMouse()
while wait() do
noob["Left Arm"].CFrame = CFrame.new(noob["Left Arm"].CFrame, mouse.Hit)
end
Report Abuse
dog456pop248 is not online. dog456pop248
Joined: 24 Aug 2008
Total Posts: 3977
25 Aug 2013 12:29 AM
Im pretty sure you have to edit a weld in body part, not the body part's CFrame itself.
Report Abuse
reptoslicerguy is not online. reptoslicerguy
Joined: 01 Jan 2010
Total Posts: 2098
25 Aug 2013 12:34 AM
well im doing it it backwards instead of me seeing a script and i fix it i show you a script and you fix it..
ill probally end up fixxing it bcause i decided im inerestied in doing this now....
llol


sorry for bad typing on my friewnds laptop and key bored is really awkward
Report Abuse
reptoslicerguy is not online. reptoslicerguy
Joined: 01 Jan 2010
Total Posts: 2098
25 Aug 2013 12:40 AM
LOL here is your* broken script ask people to fix xD

noob = game.Players.LocalPlayer.Character
mouse = game.Players.LocalPlayer:GetMouse()
while wait() do
noob.Torso["Right Shoulder"].C0 = CFrame.new(Vector3.new(1,1,1) *
noob.Torso["Right Shoulder"].C0, mouse.Hit.p)
end
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