Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Made by YellowTide please at least leave this in here
- 4/10/15
- Makes fake arms welds them to the real ones. Welds the arms together and a gun hold position and then modify a new weld to create the gun hold
- --]]
- repeat wait() until game.Players.LocalPlayer
- local player = game.Players.LocalPlayer
- repeat wait() until player.Character
- local character = player.Character
- repeat wait() until character:FindFirstChild("Torso")
- repeat wait() until character:FindFirstChild("Humanoid")
- local humanoid = character.Humanoid
- local animations = game.ReplicatedStorage.Animations
- local mouse = player:GetMouse()
- local camera = game.Workspace.CurrentCamera
- local torso = character:FindFirstChild("Torso")
- local leftArm = character:WaitForChild("Left Arm")
- local rightArm = character:WaitForChild("Right Arm")
- local anim = humanoid:LoadAnimation(animations.StableArms)
- anim:Play()
- local larm = leftArm:Clone()
- larm.Parent = camera
- local rarm = rightArm:Clone()
- rarm.Parent = camera
- local weld = Instance.new("Motor6D", character)
- weld.Part0 = larm
- weld.Part1 = leftArm
- local weld0 = Instance.new("Motor6D", character)
- weld0.Part0 = rarm
- weld0.Part1 = rightArm
- game:GetService("RunService").RenderStepped:connect(function()
- torso["Right Shoulder"].C0 = CFrame.new(1.5, 0.5, 0)
- torso["Right Shoulder"].C1 = CFrame.Angles(math.rad(-90), 0, 0) * CFrame.new(0, 0, 0.5) * (CFrame.new((torso.CFrame * CFrame.new(1.5, 0, 0)).p,mouse.Hit.p) - (torso.CFrame * CFrame.new(1.5, 0, 0)).p):inverse() * (torso.CFrame - torso.CFrame.p)
- torso["Left Shoulder"].C0 = CFrame.new(-1.5, 0.5, 0)
- torso["Left Shoulder"].C1 = CFrame.Angles(math.rad(-90), 0, 0) * CFrame.new(0, 0, 0.5) * (CFrame.new((torso.CFrame * CFrame.new(-1.5, 0, 0)).p,mouse.Hit.p) - (torso.CFrame * CFrame.new(-1.5, 0, 0)).p):inverse() * (torso.CFrame - torso.CFrame.p)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement