So I have made a script in witch arms appear o the players camera and they are non-Animated. I need some help with adding in the idle animation and making it play forever. Also, the arms are in ReplicatedFirst. If you need further reference, here is the current script Witch is currently inside of StarterPlayerScripts:
local player = game.Players.LocalPlayer local replicatedFirst = game:GetService("ReplicatedFirst") local char = script.Parent local cam = workspace.Camera local run = game:GetService("RunService") local gun = replicatedFirst:FindFirstChild("Gun")
run.RenderStepped:Connect(function()
gun:SetPrimaryPartCFrame(cam.CFrame * CFrame.new(0,-2,0))
end)
gun.Parent = cam
That code works completely fine, But as i said i need to add in my idle. Any help would be greatly appreciated. Thank you!
