What do you want to achieve?
I want to make players arms move up and down following the mouse while holding tools
like in: Randomizer, Weaponry and Neighborhood war
What is the issue?
I couldn’t find / couldn’t understand any tutorials that i found
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I looked on: YouTube, DevForum and even on the second page of a google search
edit:
i managed to make something with the help of @benpinpop but i still couldn’t get it to be the way i need it to be
script:
local Player = game.Players.LocalPlayer
local Mouse = Player:GetMouse()
repeat wait() until Player.Character:FindFirstChild("Humanoid")
while true do
wait()
if math.rad(Mouse.Y) >= 2.5 and math.rad(Mouse.Y) <= 6.5 then
Player.Character.Torso["Right Shoulder"].C1 = CFrame.Angles(0,0,math.rad(Mouse.Y))
end
print(math.rad(Mouse.Y))
end
Then you use mouse.Y to check the vertical position on screen.
Then you do Math to multiply the X position to change arms Z (x,y,z) orientation depending on mouse.Y. You can check if the mouse position is within your limits. (If you want.) Since GetMouse is client sided, you’ll need a remote event to contact the server to change the arm position.
if calculatedPostion <= 70 and calculatedposition >= 0 then
--move arm
end
example of limits above ^
Oh frick. just realized you don’t know how to script, gimme a sec to try to find tutorial.