after switching from r6 to r15 i noticed that when you play animation arm stays in one position
i tried changing animation prority but it didnt do anything
this is how it looks with animation
and animationless
script i made:
local player = game.Players.LocalPlayer
local tool = script.Parent
local UIS = game:GetService(“UserInputService”)
local RunService = game:GetService(“RunService”)
local camera = workspace.CurrentCamera
local AF = tool.Folder.animations
local anims = {
aim = AF.aim,
}
tool.Equipped:Connect(function()
local A = RunService.RenderStepped:Connect(function()
local char = player.Character
local Torso = char.UpperTorso.Waist
local LA,RA = char.RightUpperArm.RightShoulder,char.LeftUpperArm.LeftShoulder
Torso.C0 = CFrame.new(Torso.C0.Position) * CFrame.Angles(camera.CFrame.LookVector.Y,0,0)
LA.C0 = CFrame.new(LA.C0.Position) * CFrame.Angles(camera.CFrame.LookVector.Y,0,0)
RA.C0 = CFrame.new(RA.C0.Position) * CFrame.Angles(camera.CFrame.LookVector.Y,0,0)
end)
tool.Unequipped:Connect(function()
A:Disconnect()
end)
end)
UIS.InputBegan:Connect(function(inp)
if inp.UserInputType == Enum.UserInputType.MouseButton2 then
local Aloader = tool.Parent:FindFirstChild(“Humanoid”):LoadAnimation(anims.aim)
Aloader:Play()
end
end)