Advertisement
Guest User

The Problem 2

a guest
Feb 16th, 2020
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. local repWeapon = game.ReplicatedStorage:WaitForChild("MercGun1");
  2. local weapon = repWeapon:Clone();
  3. local viewModel = viewModel;
  4. local camera = camera;
  5.  
  6. weapon.Parent = viewModel;
  7. viewModel.Parent = camera;
  8.  
  9. local joint = Instance.new("Motor6D");
  10. joint.C0 = CFrame.new(1, -1.5, -2); -- what I found fit best
  11. joint.Part0 = viewModel.Head;
  12. joint.Part1 = weapon.Handle;
  13. joint.Parent = viewModel.Head;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement