Advertisement
GangHaning

X-Gloves ( Ro-Script )

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