Scriptus_Infinitus

But Scratch

Apr 11th, 2018
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.60 KB | None | 0 0
  1.  
  2. Player = game.Players.LocalPlayer
  3. Character = Player.Character
  4. script.Parent = Character
  5.  
  6. pcall(function() Character.Staff:Remove() end)
  7.  
  8. Staff = Instance.new("Model")
  9. Staff.Name = "Tazer"
  10. Staff.Parent = Character
  11.  
  12. --[[ * Arm Weld * ]]--
  13.  
  14. ArmWeld = Instance.new("Weld")
  15. ArmWeld.Parent = Character["Torso"]
  16. ArmWeld.Part0 = ArmWeld.Parent
  17. ArmWeld.Part1 = Character["Right Arm"]
  18. ArmWeld.C0 = CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  19.  
  20. --[[ * Arm Weld * ]]--
  21.  
  22. ArmWeldR = Instance.new("Weld")
  23. ArmWeldR.Parent = Character["Torso"]
  24. ArmWeldR.Part0 = ArmWeldR.Parent
  25. ArmWeldR.Part1 = Character["Left Arm"]
  26. ArmWeldR.C0 = CFrame.new(-1.5,0,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  27.  
  28. --[[ * Neck Weld * ]]--
  29.  
  30. Neck = Instance.new("Weld")
  31. Neck.Parent = Character["Torso"]
  32. Neck.Part0 = Neck.Parent
  33. Neck.Part1 = Character["Head"]
  34. Neck.C0 = CFrame.new(0,1.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  35.  
  36. for i = 1,10 do wait()
  37. ArmWeld.C0 = ArmWeld.C0 * CFrame.Angles(-math.pi/10/10,-math.pi/10/10,-math.pi/10/10)
  38. ArmWeld.C0 = ArmWeld.C0 + Vector3.new(-0.05,0,0.05/2)
  39. ArmWeldR.C0 = ArmWeldR.C0 * CFrame.Angles(-math.pi/10/10,math.pi/10/10,math.pi/10/10)
  40. ArmWeldR.C0 = ArmWeldR.C0 + Vector3.new(0.05,0,0.05/2)
  41. end
  42. for i = 1,5 do wait()
  43. ArmWeld.C0 = ArmWeld.C0 - Vector3.new(0,0.1,0)
  44. ArmWeldR.C0 = ArmWeldR.C0 - Vector3.new(0,0.1,0)
  45. end
  46.  
  47. while true do
  48. for i = 1,5 do wait()
  49. ArmWeld.C0 = ArmWeld.C0 + Vector3.new(0,0.1,0)
  50. ArmWeldR.C0 = ArmWeldR.C0 + Vector3.new(0,0.1,0)
  51. end
  52. for i = 1,5 do wait()
  53. ArmWeld.C0 = ArmWeld.C0 - Vector3.new(0,0.1,0)
  54. ArmWeldR.C0 = ArmWeldR.C0 - Vector3.new(0,0.1,0)
  55. end
  56. end
Add Comment
Please, Sign In to add comment