Advertisement
TheFlamingBlaster

TixBag

Apr 14th, 2016
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.36 KB | None | 0 0
  1. local Tool = Instance.new("Tool",game.Players.LocalPlayer.Backpack)
  2. local plr = game.Players.LocalPlayer
  3. Tool.Name = "TixBag"
  4. Tool.GripForward = Vector3.new(1, 0, 0)
  5. Tool.GripPos = Vector3.new(0, 0.5, 0)
  6. Tool.GripRight = Vector3.new(0, 0, 1)
  7. Tool.GripUp = Vector3.new(0, 1, 0)
  8. local handle = Instance.new("Part",Tool)
  9. handle.Size = Vector3.new(1, 0.8, 1)
  10. local mesh = Instance.new("SpecialMesh",handle)
  11. mesh.TextureId = "http://www.roblox.com/asset/?id=19354307"
  12. mesh.MeshType = "FileMesh"
  13. mesh.MeshId = "http://www.roblox.com/asset/?id=16657069"
  14. mesh.Scale = Vector3.new(0.5, 0.6, 0.5)
  15. handle.Name = "Handle"
  16. debris = game:GetService("Debris")
  17.  
  18. enabled = true
  19.  
  20. local buck = nil
  21.  
  22.  
  23. buck = Instance.new("Part")
  24. buck.formFactor = 2
  25. buck.Size = Vector3.new(2,.4,1)
  26. buck.BrickColor = BrickColor.Yellow()
  27. buck.TopSurface = 0
  28. buck.BottomSurface = 0
  29. buck.Elasticity = .01
  30.  
  31. local d = Instance.new("Decal")
  32. d.Face = 4
  33. d.Texture = "http://www.roblox.com/asset/?id=283947561"
  34. d.Parent = buck
  35.  
  36. local d2 = d:Clone()
  37. d2.Face = 1
  38. d2.Parent = buck
  39.  
  40. function isTurbo(character)
  41. return character:FindFirstChild("Monopoly") ~= nil
  42. end
  43.  
  44. function MakeABuck(pos)
  45.  
  46. local limit = 5
  47. if (isTurbo(Tool.Parent) == true) then
  48. limit = 15 -- LOL!
  49. end
  50.  
  51. for i=1,limit do
  52.  
  53. local b = buck:Clone()
  54.  
  55. local v = Vector3.new(math.random() - .5, math.random() - .5, math.random() - .5).unit
  56. b.CFrame = CFrame.new(pos + (v * 2) + Vector3.new(0,4,0), v)
  57. b.Parent = game.Workspace
  58. debris:AddItem(b, 60)
  59. end
  60.  
  61. end
  62.  
  63. function onActivated()
  64. if not enabled then
  65. return
  66. end
  67.  
  68. enabled = false
  69.  
  70. local char = Tool.Parent
  71.  
  72.  
  73. MakeABuck(Tool.Handle.Position)
  74.  
  75. char.Torso["Right Shoulder"].MaxVelocity = 0.5
  76. char.Torso["Right Shoulder"].DesiredAngle = 3
  77. wait(.2)
  78. char.Torso["Right Shoulder"].MaxVelocity = 0.5
  79. char.Torso["Right Shoulder"].DesiredAngle = 3
  80. wait(.2)
  81. char.Torso["Right Shoulder"].MaxVelocity = 0.5
  82. char.Torso["Right Shoulder"].DesiredAngle = 3
  83. wait(.2)
  84. char.Torso["Right Shoulder"].MaxVelocity = 0.5
  85. char.Torso["Right Shoulder"].DesiredAngle = 3
  86. wait(.2)
  87.  
  88.  
  89. char.Torso["Right Shoulder"].MaxVelocity = 1
  90.  
  91. --[[
  92. Tool.GripForward = Vector3.new(0,-1,0)
  93. Tool.GripPos = Vector3.new(0,0,2)
  94. Tool.GripRight = Vector3.new(1,0,0)
  95. Tool.GripUp = Vector3.new(0,0,-1)
  96. ]]--
  97. enabled = true
  98.  
  99. end
  100.  
  101.  
  102.  
  103. Tool.Activated:connect(onActivated)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement