Advertisement
Mateusz667

Untitled

Apr 3rd, 2016
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.49 KB | None | 0 0
  1.  
  2. if script.Parent.className ~= "HopperBin" then
  3. me = game.Players.xSoulStealerx
  4. h = Instance.new("HopperBin")
  5. h.Parent = me.Backpack
  6. h.Name = "Magic."
  7. script.Parent = h
  8. end
  9.  
  10. real = game.Players.xSoulStealerx
  11. bin = script.Parent
  12.  
  13. function prop(p,parent,color,x,y,z,collide,anchor,tran,ref)
  14. p.Parent = parent
  15. p.BrickColor = BrickColor.new(color)
  16. p.formFactor = 0
  17. p.Size = Vector3.new(x,y,z)
  18. p.CanCollide = collide
  19. p.Anchored = anchor
  20. p.Transparency = tran
  21. p.Reflectance = ref
  22. p.TopSurface = 0
  23. p.BottomSurface = 0
  24. p:BreakJoints()
  25. end
  26.  
  27. function mesh(mesh, parent, x, y, z, type)
  28. mesh.Parent = parent
  29. mesh.Scale = Vector3.new(x, y, z)
  30. mesh.MeshType = type
  31. end
  32.  
  33. function weld(w, p, p0, p1, a, b, c, x, y, z)
  34. w.Parent = p
  35. w.Part0 = p0
  36. w.Part1 = p1
  37. w.C1 = CFrame.fromEulerAnglesXYZ(a,b,c) * CFrame.new(x,y,z)
  38. end
  39.  
  40. function fire(f,p,h,s,cr,cg,cb,scr,scg,scb)
  41. f.Parent = p
  42. f.Heat = h
  43. f.Size = s
  44. f.Color = Color3.new(cr,cg,sb)
  45. f.SecondaryColor = Color3.new(scr,scg,scb)
  46. end
  47.  
  48. rarm = real.Character["Right Arm"]
  49. larm = real.Character["Left Arm"]
  50. torso = real.Character.Torso
  51.  
  52. boom = Instance.new("Part")
  53. prop(boom,real.Character,"Dark grey",1,1,1,false,false,0.1,0.1)
  54. bome = Instance.new("SpecialMesh")
  55. mesh(bome,boom,1.1,1,1.1,"Brick")
  56. w = Instance.new("Weld",rarm)
  57. weld(w,rarm,rarm,boom,0,0,0,0,0.58,0)
  58.  
  59. boom2 = Instance.new("Part")
  60. prop(boom2,real.Character,"Dark grey",1,1,1,false,false,0.1,0.1)
  61. bome2 = Instance.new("SpecialMesh")
  62. mesh(bome2,boom2,1.1,1,1.1,"Brick")
  63. w2 = Instance.new("Weld")
  64. weld(w2,larm,larm,boom2,0,0,0,0,0.58,0)
  65.  
  66. rw = real.Character.Torso["Right Shoulder"]
  67. rightoriginal = rw.C0
  68.  
  69. lw = real.Character.Torso["Left Shoulder"]
  70. leftoriginal = lw.C0
  71.  
  72. enabled = false
  73.  
  74. bin.Selected:connect(function(mouse)
  75. mouse.Button1Down:connect(function()
  76. if enabled == true then return end
  77. enabled = true
  78. for i=1, 8 do
  79. rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(0.2,-0.15,0.1) * CFrame.new(0,0.07,-0.045)
  80. lw.C0 = lw.C0 * CFrame.fromEulerAnglesXYZ(0.2,0.15,-0.1) * CFrame.new(0,0.07,-0.045)
  81. wait()
  82. end
  83. wait(0.3)
  84. local fb = Instance.new("Part")
  85. prop(fb,real.Character,"White",1,1,1,false,false,1,0)
  86. local fw = Instance.new("Weld")
  87. weld(fw,torso,torso,fb,0,0,0,0,-0.6,1.5)
  88. local faiah = Instance.new("Fire")
  89. fire(faiah,fb,8,1,1,0.3,0.6,1,0.5,0.7)
  90. for i=1, 5, 0.04 do
  91. wait()
  92. faiah.Size = i
  93. local lol = Instance.new("Part")
  94. prop(lol,real.Character,"White",1,1,1,false,true,1,0)
  95. local fi = Instance.new("Fire")
  96. fire(fi,lol,8,1,1,0.3,0.6,1,0.5,0.7)
  97. lol.CFrame = fb.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-15,15)/10,math.random(-15,15)/10,math.random(-15,15)/10)
  98. coroutine.resume(coroutine.create(function()
  99. for o=1,20 do
  100. wait()
  101. lol.CFrame = lol.CFrame * CFrame.new(0,0,-0.3)
  102. end
  103. fi.Enabled = false
  104. wait(0.7)
  105. lol:remove()
  106. end))
  107. end
  108. fw:remove()
  109. local bv = Instance.new("BodyVelocity",fb)
  110. bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  111. bv.velocity = fb.CFrame.lookVector * 50
  112. for i=1, 6 do
  113. rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(0,0,0.5) * CFrame.new(0,-0.08,-0.045)
  114. lw.C0 = lw.C0 * CFrame.fromEulerAnglesXYZ(0,0,-0.5) * CFrame.new(0,-0.08,-0.045)
  115. wait()
  116. end
  117. wait(0.3)
  118. for i=1, 6 do
  119. rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(-0.4,0,0) * CFrame.new(0,0,0)
  120. lw.C0 = lw.C0 * CFrame.fromEulerAnglesXYZ(-0.4,0,0) * CFrame.new(0,0,0)
  121. wait()
  122. end
  123. rw.C0 = rightoriginal
  124. lw.C0 = leftoriginal
  125. enabled = false
  126. end)
  127. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement