Advertisement
kanewutt

Untitled

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