|
| 13 Jan 2016 07:11 PM |
| What is the most efficient way to point the arm at the mouse? |
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
|
| 13 Jan 2016 07:12 PM |
| Ask them to point their arm at the mouse. |
|
|
| Report Abuse |
|
|
usermvp
|
  |
| Joined: 29 Jun 2013 |
| Total Posts: 188 |
|
|
| 13 Jan 2016 07:14 PM |
Do you mean to have a player's left or right arm point in the direction of their mouse?
|
|
|
| Report Abuse |
|
|
|
| 13 Jan 2016 07:15 PM |
@eLunate
Funny, but not what I wanted.
repeat wait(0.5) until game.Players.LocalPlayer
local Player = game.Players.LocalPlayer
local Character = (Player.Character or Player.CharacterAdded:wait()) local Shoulder = Character.Torso:WaitForChild("Right Shoulder")
local Mouse = Player:GetMouse()
game:GetService("RunService").RenderStepped:connect(function() Shoulder.C0 = CFrame.new(Shoulder.C0.p, Mouse.Hit.p) end)
^ Just makes it rotate in a circle for some reason? |
|
|
| Report Abuse |
|
|