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: Arms move with mouse?

Previous Thread :: Next Thread 
COOLDUDE11OO is not online. COOLDUDE11OO
Joined: 21 Aug 2011
Total Posts: 5115
22 Mar 2014 01:19 PM
So basically, I'm trying to make a gun. The arms need to move up and down with the mouse. Only up and down. I bought a script, but it isn't working properly. Could someone explain how to do this? I'm guessing it would be in a Local Script:

mouse = game.Players.LocalPlayer:GetMouse()

mouse.Move:connect(function()
arm.Position?
end)

I'm just stumped. I may post parts of the script I bought if needed,
Report Abuse
COOLDUDE11OO is not online. COOLDUDE11OO
Joined: 21 Aug 2011
Total Posts: 5115
22 Mar 2014 01:21 PM
b1
Report Abuse
COOLDUDE11OO is not online. COOLDUDE11OO
Joined: 21 Aug 2011
Total Posts: 5115
22 Mar 2014 01:24 PM
b2
Report Abuse
coplox is not online. coplox
Joined: 07 Jun 2008
Total Posts: 3252
22 Mar 2014 01:26 PM
"I bought a script"

I do not wish to assist you.
Report Abuse
transIate is not online. transIate
Joined: 20 Jun 2013
Total Posts: 2699
22 Mar 2014 01:28 PM
:inverse()
Report Abuse
makerror is not online. makerror
Joined: 29 Aug 2011
Total Posts: 493
22 Mar 2014 01:41 PM
http://wiki.roblox.com/index.php?title=CFrame
Report Abuse
COOLDUDE11OO is not online. COOLDUDE11OO
Joined: 21 Aug 2011
Total Posts: 5115
22 Mar 2014 01:45 PM
@Cop; the only reason I bought it was because I couldn't figure it out. And I knew you guys wouldn't give a full script.
Report Abuse
COOLDUDE11OO is not online. COOLDUDE11OO
Joined: 21 Aug 2011
Total Posts: 5115
22 Mar 2014 01:46 PM
@Make; I've read that like 50 times. It tells me about everything but how to use it with a mouse.
Report Abuse
COOLDUDE11OO is not online. COOLDUDE11OO
Joined: 21 Aug 2011
Total Posts: 5115
22 Mar 2014 01:49 PM
Can someone tell how to do it with the mouse?
Report Abuse
KingJacko is not online. KingJacko
Joined: 20 Jun 2008
Total Posts: 3944
22 Mar 2014 01:54 PM
mouse.hit.p or something like that
Report Abuse
UnStunned is not online. UnStunned
Joined: 14 Jun 2012
Total Posts: 122
22 Mar 2014 01:55 PM
Dunno really,you should see youtube...
Report Abuse
COOLDUDE11OO is not online. COOLDUDE11OO
Joined: 21 Aug 2011
Total Posts: 5115
22 Mar 2014 03:58 PM
Like this?

plr = game.Players.LocalPlayer
m = plr:GetMouse()

m.Moved:connect(function()
plr.Character["Right Arm"].CFrame = CFrame.Angles(0,m.Position.Y,0)
plr.Character["Left Arm"].CFrame = CFrame.Angles(0,m.Position.Y,0)
end)
Report Abuse
transIate is not online. transIate
Joined: 20 Jun 2013
Total Posts: 2699
22 Mar 2014 07:49 PM
lolno
Report Abuse
COOLDUDE11OO is not online. COOLDUDE11OO
Joined: 21 Aug 2011
Total Posts: 5115
22 Mar 2014 07:50 PM
Then how. qq
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