Advertisement
DedFense

(Mine) Staff (LOCAL)

Jun 6th, 2016
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.65 KB | None | 0 0
  1. --Put is in local script pls
  2.  
  3. name = "DrNoobStickz9000"
  4. plr = game.Players[name]
  5. char = plr.Character
  6. prim = BrickColor.new("Magenta") -- PRIMARY COLOR
  7. seco = BrickColor.new("Royal purple") --SECONDARY COLOR
  8. cf = CFrame.new
  9.  
  10. ball = Instance.new("Model", char)
  11.  
  12. an = Instance.new("Animation", ball)
  13. an.AnimationId = "http://www.roblox.com/Asset?ID=45873069"
  14.  
  15. ball = Instance.new("Model", char)
  16.  
  17.  
  18. p2 = Instance.new("Part", ball)
  19. p2.Size = Vector3.new(1,1,1)
  20. p2.FormFactor = "Symmetric"
  21. p2.BrickColor = seco
  22. p2.Transparency = .5
  23. p2.BottomSurface = 0
  24. p2.TopSurface = 0
  25. p2.CanCollide = false
  26.  
  27. m2 = Instance.new("SpecialMesh", p2)
  28. m2.MeshType = "Sphere"
  29. m2.Scale = Vector3.new(.55,5,.55)
  30.  
  31. weld = function(par,p0,p1,c0,c1,name)
  32. local weld = Instance.new("Weld",par)
  33. weld.Part0 = p0
  34. weld.Part1 = p1
  35. weld.C0 = c0
  36. weld.C1 = c1
  37. weld.Name = name
  38. end
  39.  
  40. weld(ball, p2, char["Left Arm"], cf(0,0,0), cf(0,-1.25,0), "Outside")
  41.  
  42. if game.Players.LocalPlayer.Backpack.ClassName ~= "HopperBin" then
  43. local bin = Instance.new("HopperBin",plr.Backpack)
  44. bin.Name = "Baul"
  45. bin.BinType = "Tool"
  46. bin:clone().Parent = bin
  47. else
  48. bin = game.Players.LocalPlayer.Backpack;
  49. char.Humanoid.MaxHealth = math.huge
  50. fakehead = char.Head:Clone()
  51. fakehead.Parent = char
  52. char.Head.Transparency = 1
  53.  
  54. weld = function(par,p0,p1,c0,c1,name)
  55. local weld = Instance.new("Weld",par)
  56. weld.Part0 = p0
  57. weld.Part1 = p1
  58. weld.C0 = c0
  59. weld.C1 = c1
  60. weld.Name = name
  61. end
  62.  
  63. weld(char, fakehead, char.Head, cf(0,0,0), cf(0,0,0), "Head")
  64.  
  65. Attack = function()
  66.  
  67. b = ball:FindFirstChild("ASPHERE")
  68.  
  69. if not b then
  70.  
  71. char.Humanoid:LoadAnimation(an):Play()
  72. wait(.0)
  73. s:Play()
  74. s2:Play()
  75.  
  76. A = Instance.new("Part", ball)
  77. A.Size = Vector3.new(20,20,20)
  78. A.Transparency = .5
  79. A.BrickColor = seco
  80. A.Reflectance = .5
  81. A.BottomSurface = 0
  82. A.TopSurface = 0
  83. A.CanCollide = false
  84. A.Anchored = true
  85. A.CFrame = char.Torso.CFrame
  86. A.Name = "ASPHERE"
  87.  
  88. game.Debris:AddItem(A,.3)
  89.  
  90. m = Instance.new("SpecialMesh", A)
  91. m.Scale = Vector3.new(.1,.1,.1)
  92. m.MeshType = "Sphere"
  93.  
  94. function Tuch(hit)
  95. h = hit.Parent:findFirstChild("Humanoid")
  96. if h then
  97. h:TakeDamage(50) -- lel
  98. end
  99. end
  100. A.Touched:connect(Tuch)
  101. p.Touched:connect(Tuch)
  102. p1.Touched:connect(Tuch)
  103. wait(.05)
  104. A.CFrame = p.CFrame
  105. m.Scale = m.Scale*2
  106. wait(.05)
  107. A.CFrame = p.CFrame
  108. m.Scale = m.Scale*2
  109. wait(.05)
  110. A.CFrame = p.CFrame
  111. m.Scale = m.Scale*2
  112. wait(.05)
  113. A.CFrame = p.CFrame
  114. m.Scale = m.Scale*2
  115. wait(.05)
  116. A.CFrame = p.CFrame
  117. A:Destroy()
  118. end
  119. end
  120. bin.Selected:connect(function(mouse)
  121. mouse.Button1Down:connect(Attack)
  122. end)
  123.  
  124. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement