joseph_bruh

Untitled

Feb 28th, 2015
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.71 KB | None | 0 0
  1. --Made by LuisPambid--
  2. --==FLASH==--
  3.  
  4. local player=game.Players.LocalPlayer
  5. local char=player.Character
  6. repeat wait() until player and char
  7. local torso=char.Torso
  8. local head=char.Head
  9. local human=char.Humanoid
  10. local hat
  11. for i, v in pairs(char:children()) do if v:isA("Hat") then hat=v end end
  12. local arm={Left=char["Left Arm"], Right=char["Right Arm"]}
  13. local leg={Left=char["Left Leg"], Right=char["Right Leg"]}
  14. local c=function(f) coroutine.resume(coroutine.create(f)) end
  15. pcall(function() torso.roblox:clone().Parent=fake.Torso torso.roblox:remove() head.face:remove() for i, v in pairs(char:children()) do if v.ClassName=="Hat" then v:remove() end v.Transparency=1 end end)
  16. local add={
  17. Part=function(par, a, c, col, t, s, cf)
  18. local p=Instance.new("Part", par) p.TopSurface="Smooth" p.BottomSurface="Smooth" p.formFactor="Custom" p.Anchored=a p.CanCollide=c p.BrickColor=BrickColor.new(col) p.Transparency=t p.Size=s p.CFrame=cf or CFrame.new()
  19. return p
  20. end,
  21. Weld=function(par, p1, cf)
  22. local w=Instance.new("Weld", par) w.Part0=w.Parent or par w.Part1=p1 w.C1=cf or CFrame.new()
  23. return w
  24. end,
  25. Mesh=function(ins, par, s, of, t)
  26. local m=Instance.new(ins, par) m.Scale=s or Vector3.new() m.Offset=of or Vector3.new() pcall(function() m.MeshType=t end)
  27. return m
  28. end
  29. }
  30. local scriptname="Flash"
  31. pcall(function() char[scriptname]:remove() end)
  32. local model=Instance.new("Model", char) model.Name=scriptname
  33. local bin=Instance.new("HopperBin", player.Backpack) bin.Name=model.Name
  34. local skincolor="Really black"
  35. local fake={}
  36. local weld={}
  37. local mesh={}
  38. fake.arm={}
  39. fake.leg={}
  40. fake.torso=nil
  41. fake.Mesh={} fake.Weld={}
  42. --====--
  43. weld.arm={}
  44. weld.leg={}
  45. weld.torso=nil
  46. --====--
  47. mesh.arm={}
  48. mesh.leg={}
  49. --==FAKE, MESH, WELDZ==--
  50. fake.arm.left=add.Part(model, false, false, skincolor, 0, Vector3.new(1, 1, 1), nil)
  51. fake.arm.right=add.Part(model, false, false, skincolor, 0, Vector3.new(1, 1, 1), nil)
  52. fake.leg.left=add.Part(model, false, false, skincolor, 0, Vector3.new(1, 1, 1), nil)
  53. fake.leg.right=add.Part(model, false, false, skincolor, 0, Vector3.new(1, 1, 1), nil)
  54. fake.torso=add.Part(model, false, false, skincolor, 0, Vector3.new(2, 2, 1), nil)
  55. fake.head=head:clone() fake.head.Parent=model fake.head.BrickColor=BrickColor.new(skincolor) fake.head.Transparency=0
  56. -------------------------
  57. mesh.arm.left=add.Mesh("BlockMesh", fake.arm.left, Vector3.new(1, 2, 1), Vector3.new(0, -.5, 0), nil)
  58. mesh.arm.right=add.Mesh("BlockMesh", fake.arm.right, Vector3.new(1, 2, 1), Vector3.new(0, -.5, 0), nil)
  59. mesh.leg.left=add.Mesh("BlockMesh", fake.leg.left, Vector3.new(1, 2, 1), Vector3.new(0, -.5, 0), nil)
  60. mesh.leg.right=add.Mesh("BlockMesh", fake.leg.right, Vector3.new(1, 2, 1), Vector3.new(0, -.5, 0), nil)
  61. -------------------------
  62. weld.arm.left=add.Weld(fake.arm.left, fake.torso, CFrame.new(-1.5, .5, 0))
  63. weld.arm.right=add.Weld(fake.arm.right, fake.torso, CFrame.new(1.5, .5, 0))
  64. weld.leg.left=add.Weld(fake.leg.left, fake.torso, CFrame.new(-.5, -1.5, 0))
  65. weld.leg.right=add.Weld(fake.leg.right, fake.torso, CFrame.new(.5, -1.5, 0))
  66. weld.torso=add.Weld(torso, fake.torso, nil)
  67. weld.head=add.Weld(fake.head, fake.torso, CFrame.new(0, 1.5, 0))
  68. pcall(function() torso.roblox:remove() head.face:remove() for i, v in pairs(char:children()) do if v.ClassName=="Hat" then v:remove() end v.Transparency=1 end end)
  69. --==SIGN==--
  70. fake.Rot=add.Part(model, false, false, "Really black", 0, Vector3.new(1, 1, 1), nil)
  71. fake.Mesh.Rot=add.Mesh("CylinderMesh", fake.Rot, Vector3.new(1.5, .5, 1.5), nil, nil)
  72. fake.Weld.Rot=add.Weld(fake.Rot, fake.torso, CFrame.new(0, 0, -.3)*CFrame.Angles(math.rad(90), 0, 0))
  73. fake.L=add.Part(model, false, false, "Bright yellow", 0, Vector3.new(1, 1, 1), nil)
  74. fake.Mesh.L=add.Mesh("BlockMesh", fake.L, Vector3.new(.25, .5, 1), nil, nil)
  75. fake.Weld.L=add.Weld(fake.L, fake.Rot, CFrame.new(.25, -0.05, 0))
  76. fake.L2=add.Part(model, false, false, "Bright yellow", 0, Vector3.new(1, 1, 1), nil)
  77. fake.Mesh.L2=add.Mesh("BlockMesh", fake.L2, Vector3.new(.75, .5, .25), nil, nil)
  78. fake.Weld.L2=add.Weld(fake.L2, fake.Rot, CFrame.new(0, -0.05, .4))
  79. c(function() for i=0, math.huge, .1 do wait() fake.Weld.Rot.C0=CFrame.Angles(0, i, 0) end end)
  80. --==MANA==--
  81. local gui=Instance.new("ScreenGui", player.PlayerGui)
  82. local label=Instance.new("TextLabel", gui)
  83. label.Text="--==100%==--"
  84. label.Position=UDim2.new(0, 0, 0, 200)
  85. label.Size=UDim2.new(0, 200, 0, 20)
  86. label.BorderColor=BrickColor.Black() label.BackgroundColor=BrickColor.White()
  87. label.TextColor=BrickColor.Black()
  88. local charge=label:clone() charge.Parent=label
  89. charge.Position=UDim2.new()
  90. charge.Text=""
  91. charge.Size=UDim2.new(1, 0, 1, 0)
  92. charge.BorderColor=BrickColor.Black() charge.BackgroundColor=BrickColor.Yellow() charge.Transparency=.5
  93. ----------------------------------------------------------------------------------------------
  94. local walkspeed=100 --Flash :D
  95. local dmg=math.random(5, 10)
  96. local rundeb=false
  97. local tdeb=false
  98. local hDeb=false
  99.  
  100. function hit(h)
  101. local humanoid=h.Parent:findFirstChild("Humanoid")
  102. if humanoid and h.Parent~=char and hDeb==false then
  103. hDeb=true
  104. --c(function()
  105. local fakeP=add.Part(workspace, true, false, "Bright yellow", 0, Vector3.new(1, 1, 1), CFrame.new(h.CFrame.p, torso.CFrame.p))
  106. local mesh=add.Mesh("SpecialMesh", fakeP, Vector3.new(1, 1, 1), nil, "File") mesh.MeshId="http://www.roblox.com/asset/?id=3270017"
  107. c(function()
  108. for i=0, 1, .05 do
  109. wait()
  110. fakeP.Mesh.Scale=fakeP.Mesh.Scale+Vector3.new(i, i, 0)
  111. end
  112. fakeP:remove()
  113. end)
  114. c(function()
  115. for i=0, 1, .05 do
  116. wait()
  117. fakeP.Transparency=i
  118. end
  119. end)
  120. humanoid.Health=humanoid.Health-dmg
  121. local fakeM=Instance.new("Model", workspace) fakeM.Name=dmg
  122. local fakeH=Instance.new("Humanoid", fakeM) fakeH.MaxHealth=0 fakeH.Health=0
  123. local fakeP=add.Part(fakeM, false, false, "Bright red", 0, Vector3.new(1, 1, 1), h.CFrame) fakeP.Name="Head"
  124. local fakeMesh=add.Mesh("CylinderMesh", fakeP, Vector3.new(1, .2, 1), nil, nil)
  125. local bp=Instance.new("BodyPosition", fakeP) bp.maxForce=Vector3.new(math.huge, math.huge, math.huge) bp.position=h.Position+Vector3.new(0, 4, 0)
  126. game.Debris:addItem(fakeM, 2)
  127. pcall(function()h.Parent:findFirstChild("Torso").RotVelocity=fake.torso.RotVelocity*math.random(-1000, 1000)end)
  128. pcall(function()h.Parent:findFirstChild("Torso").Velocity=fake.torso.Velocity*math.random(-1000, 1000)end)
  129. wait()
  130. hDeb=false
  131. --end)
  132. end
  133. end
  134.  
  135. function trail(pos, cf, col)
  136. c(function()
  137. local old=(pos.CFrame*cf).p
  138. while tdeb==true do
  139. wait()
  140. local new=(pos.CFrame*cf).p
  141. local mag=(old-new).magnitude
  142. local dis=(old+new)/2
  143. local trail=add.Part(workspace, true, false, col, 0, Vector3.new(1, mag, 1), CFrame.new(dis, new)*CFrame.new(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5))*CFrame.Angles(math.pi/2, 0, 0))
  144. local tMesh=add.Mesh("CylinderMesh", trail, Vector3.new(.5, 1, .5), nil, nil)
  145. trail.Touched:connect(hit)
  146. old=new
  147. c(function()
  148. for i=1, 0, -.2 do
  149. wait()
  150. trail.Mesh.Scale=trail.Mesh.Scale*Vector3.new(i, 1, i)
  151. end
  152. trail:remove()
  153. end)
  154. c(function()
  155. for i=0, 1, .2 do
  156. wait()
  157. trail.Transparency=i
  158. end
  159. end)
  160. end
  161. end)
  162. end
  163. bin.Selected:connect(function(mouse)
  164. for i, v in pairs(model:children()) do tdeb=true trail(v, CFrame.new(), "Bright yellow") end
  165. c(function() while true do wait() for i, v in pairs(model:children()) do v.Touched:connect(hit) end end end)
  166. human.WalkSpeed=walkspeed
  167. human.MaxHealth=math.huge
  168. human.Running:connect(function(speed)
  169. if speed>0 then
  170. for i=0, 1, .1 do
  171. wait()
  172. weld.torso.C1=CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(15)*i, 0, 0)
  173. weld.arm.left.C1=CFrame.new(-1.5, .5, 0)*CFrame.Angles(-math.rad(45)*i, 0, -math.rad(45)*i)
  174. weld.arm.right.C1=CFrame.new(1.5, .5, 0)*CFrame.Angles(-math.rad(45)*i, 0, math.rad(45)*i)
  175. end
  176. while speed>0 do
  177. wait()
  178. for i=0, 1, .1 do
  179. wait()
  180. weld.leg.left.C1=CFrame.new(-.5, -1.5, 0)*CFrame.Angles(-math.rad(45)*i, 0, 0)
  181. weld.leg.right.C1=CFrame.new(.5, -1.5, 0)*CFrame.Angles(math.rad(45)*i, 0, 0)
  182. weld.arm.left.C1=CFrame.new(-1.5, .5, 0)*CFrame.Angles(-math.rad(45)*i, 0, -math.rad(45))
  183. weld.arm.right.C1=CFrame.new(1.5, .5, 0)*CFrame.Angles(-math.rad(45)-(-math.rad(45)*i), 0, math.rad(45))
  184. end
  185. for i=1, 0, -.1 do
  186. wait()
  187. weld.leg.left.C1=CFrame.new(-.5, -1.5, 0)*CFrame.Angles(-math.rad(45)*i, 0, 0)
  188. weld.leg.right.C1=CFrame.new(.5, -1.5, 0)*CFrame.Angles(math.rad(45)*i, 0, 0)
  189. weld.arm.left.C1=CFrame.new(-1.5, .5, 0)*CFrame.Angles(-math.rad(45)*i, 0, -math.rad(45))
  190. weld.arm.right.C1=CFrame.new(1.5, .5, 0)*CFrame.Angles(-math.rad(45)-(-math.rad(45)*i), 0, math.rad(45))
  191. end
  192. end
  193. end
  194. end)
  195. end)--mediafire
Add Comment
Please, Sign In to add comment