|
| 17 Apr 2016 03:09 AM |
I need it for gun making purposes. It would be much appreciated. I'm stuck.
local plr = game.Players.LocalPlayer local mouse = plr:GetMouse() repeat wait(0.25) until plr.Character local chr = plr.Character local ra = chr:WaitForChild("Right Arm") local la = chr:WaitForChild("Left Arm") local torso = chr:WaitForChild("Torso") local rs = game:GetService("RunService")
local ra = torso:WaitForChild("Right Shoulder") local originalC0 = ra.C0
while true do ra.C0 = originalC0*CFrame.Angles(0,0,math.abs(mouse.Origin.Y)) wait() end
|
|
|
| Report Abuse |
|
|
|
| 17 Apr 2016 03:19 AM |
Nvm guys, with the help of learning welds, I was able to complete it :D
|
|
|
| Report Abuse |
|
|
Casualist
|
  |
| Joined: 26 Jun 2014 |
| Total Posts: 4443 |
|
|
| 17 Apr 2016 03:54 AM |
Additional reference material for yourself//others: --// Arms follow mouse roblox.com/--item?id=173405827 --// Head follows mouse roblox.com/Forum/ShowPost.aspx?PostID=184823550 |
|
|
| Report Abuse |
|
|
|
| 17 Apr 2016 04:36 AM |
casualist, i saw your thread and 0.0 wow. Im really bad when it comes to welding and CFrame, could you please give me a decent overview of how welding works cause I am yet to understand what the C0 and C1 refer to
#Strikin' |
|
|
| Report Abuse |
|
|
Casualist
|
  |
| Joined: 26 Jun 2014 |
| Total Posts: 4443 |
|
|
| 17 Apr 2016 08:02 PM |
@Electro I feel this does a competent job of explaing C0 and C1 offsets http://wiki.roblox.com/index.php?title=Joint#C0_and_C1
If you have more questions after having read through that I'll do my best to address them |
|
|
| Report Abuse |
|
|