Advertisement
deezfai

Untitled

Aug 1st, 2016
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.46 KB | None | 0 0
  1.  
  2. --Put is in local script pls
  3.  
  4. name = "tszfai"
  5. plr = game.Players[name]
  6. char = plr.Character
  7. prim = BrickColor.new("Magenta") -- PRIMARY COLOR
  8. seco = BrickColor.new("Royal purple") --SECONDARY COLOR
  9. cf = CFrame.new
  10.  
  11. ball = Instance.new("Model", char)
  12.  
  13. an = Instance.new("Animation", ball)
  14. an.AnimationId = "http://www.roblox.com/Asset?ID=45873069"
  15.  
  16. p = Instance.new("Part", ball)
  17. p.Size = Vector3.new(1,1,1)
  18. p.FormFactor = "Symmetric"
  19. p.BrickColor = prim
  20. p.Transparency = .5
  21. p.BottomSurface = 0
  22. p.TopSurface = 0
  23. p.CanCollide = false
  24.  
  25. s = Instance.new("Sound", p)
  26. s.SoundId = "http://www.roblox.com/asset/?id=99173388"
  27. s.Pitch = 2
  28.  
  29. s2 = Instance.new("Sound", p)
  30. s2.SoundId = "http://www.roblox.com/asset/?id=98333808"
  31. s2.Pitch = 2
  32.  
  33. m = Instance.new("SpecialMesh", p)
  34. m.MeshType = "Sphere"
  35. m.Scale = Vector3.new(1.5,1.5,1.5)
  36.  
  37. weld = function(par,p0,p1,c0,c1,name)
  38. local weld = Instance.new("Weld",par)
  39. weld.Part0 = p0
  40. weld.Part1 = p1
  41. weld.C0 = c0
  42. weld.C1 = c1
  43. weld.Name = name
  44. end
  45.  
  46. weld(ball, p, char["Right Arm"], cf(0,0,0), cf(0,-1.25,0), "Inside")
  47.  
  48. ball = Instance.new("Model", char)
  49.  
  50. p2 = Instance.new("Part", ball)
  51. p2.Size = Vector3.new(1,1,1)
  52. p2.FormFactor = "Symmetric"
  53. p2.BrickColor = seco
  54. p2.Transparency = .5
  55. p2.BottomSurface = 0
  56. p2.TopSurface = 0
  57. p2.CanCollide = false
  58.  
  59. m2 = Instance.new("SpecialMesh", p2)
  60. m2.MeshType = "Sphere"
  61. m2.Scale = Vector3.new(.55,.55,.55)
  62.  
  63. weld = function(par,p0,p1,c0,c1,name)
  64. local weld = Instance.new("Weld",par)
  65. weld.Part0 = p0
  66. weld.Part1 = p1
  67. weld.C0 = c0
  68. weld.C1 = c1
  69. weld.Name = name
  70. end
  71.  
  72. weld(ball, p2, char["Right Arm"], cf(0,0,0), cf(0,-1.25,0), "Outside")
  73.  
  74. p1 = Instance.new("Part", ball)
  75. p1.Size = Vector3.new(1,1,1)
  76. p1.FormFactor = "Symmetric"
  77. p1.BrickColor = prim
  78. p1.Transparency = .5
  79. p1.BottomSurface = 0
  80. p1.TopSurface = 0
  81. p1.CanCollide = false
  82.  
  83. m = Instance.new("SpecialMesh", p1)
  84. m.MeshType = "Sphere"
  85. m.Scale = Vector3.new(1.5,1.5,1.5)
  86.  
  87. weld = function(par,p0,p1,c0,c1,name)
  88. local weld = Instance.new("Weld",par)
  89. weld.Part0 = p0
  90. weld.Part1 = p1
  91. weld.C0 = c0
  92. weld.C1 = c1
  93. weld.Name = name
  94. end
  95.  
  96. weld(ball, p1, char["Left Arm"], cf(0,0,0), cf(0,-1.25,0), "Inside")
  97.  
  98. ball = Instance.new("Model", char)
  99.  
  100. p2 = Instance.new("Part", ball)
  101. p2.Size = Vector3.new(1,1,1)
  102. p2.FormFactor = "Symmetric"
  103. p2.BrickColor = seco
  104. p2.Transparency = .5
  105. p2.BottomSurface = 0
  106. p2.TopSurface = 0
  107. p2.CanCollide = false
  108.  
  109. m2 = Instance.new("SpecialMesh", p2)
  110. m2.MeshType = "Sphere"
  111. m2.Scale = Vector3.new(.55,.55,.55)
  112.  
  113. weld = function(par,p0,p1,c0,c1,name)
  114. local weld = Instance.new("Weld",par)
  115. weld.Part0 = p0
  116. weld.Part1 = p1
  117. weld.C0 = c0
  118. weld.C1 = c1
  119. weld.Name = name
  120. end
  121.  
  122. weld(ball, p2, char["Left Arm"], cf(0,0,0), cf(0,-1.25,0), "Outside")
  123.  
  124. if script.Parent.ClassName ~= "HopperBin" then
  125. local bin = Instance.new("HopperBin",plr.Backpack)
  126. bin.Name = "Baul"
  127. bin.BinType = "Script"
  128. script:clone().Parent = bin
  129. script:remove()
  130. else
  131. bin = script.Parent;
  132. char.Humanoid.MaxHealth = math.huge
  133. fakehead = char.Head:Clone()
  134. fakehead.Parent = char
  135. char.Head.Transparency = 1
  136.  
  137. weld = function(par,p0,p1,c0,c1,name)
  138. local weld = Instance.new("Weld",par)
  139. weld.Part0 = p0
  140. weld.Part1 = p1
  141. weld.C0 = c0
  142. weld.C1 = c1
  143. weld.Name = name
  144. end
  145.  
  146. weld(char, fakehead, char.Head, cf(0,0,0), cf(0,0,0), "Head")
  147.  
  148. Attack = function()
  149.  
  150. b = ball:FindFirstChild("ASPHERE")
  151.  
  152. if not b then
  153.  
  154. char.Humanoid:LoadAnimation(an):Play()
  155. wait(.0)
  156. s:Play()
  157. s2:Play()
  158.  
  159. A = Instance.new("Part", ball)
  160. A.Size = Vector3.new(20,20,20)
  161. A.Transparency = .5
  162. A.BrickColor = seco
  163. A.Reflectance = .5
  164. A.BottomSurface = 0
  165. A.TopSurface = 0
  166. A.CanCollide = false
  167. A.Anchored = true
  168. A.CFrame = char.Torso.CFrame
  169. A.Name = "ASPHERE"
  170.  
  171. game.Debris:AddItem(A,.3)
  172.  
  173. m = Instance.new("SpecialMesh", A)
  174. m.Scale = Vector3.new(.1,.1,.1)
  175. m.MeshType = "Sphere"
  176.  
  177. function Tuch(hit)
  178. h = hit.Parent:findFirstChild("Humanoid")
  179. if h then
  180. h:TakeDamage(50) -- lel
  181. end
  182. end
  183. A.Touched:connect(Tuch)
  184. p.Touched:connect(Tuch)
  185. p1.Touched:connect(Tuch)
  186. wait(.05)
  187. A.CFrame = p.CFrame
  188. m.Scale = m.Scale*2
  189. wait(.05)
  190. A.CFrame = p.CFrame
  191. m.Scale = m.Scale*2
  192. wait(.05)
  193. A.CFrame = p.CFrame
  194. m.Scale = m.Scale*2
  195. wait(.05)
  196. A.CFrame = p.CFrame
  197. m.Scale = m.Scale*2
  198. wait(.05)
  199. A.CFrame = p.CFrame
  200. A:Destroy()
  201. end
  202. end
  203. bin.Selected:connect(function(mouse)
  204. mouse.Button1Down:connect(Attack)
  205. end)
  206.  
  207. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement