Advertisement
MasonWall19

Untitled

Jun 13th, 2015
255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.79 KB | None | 0 0
  1. --Made by isheaglewolf --
  2.  
  3. --==FLASH==--
  4.  
  5.  
  6.  
  7. local player=game.Players.LocalPlayer
  8.  
  9. local char=player.Character
  10.  
  11. repeat wait() until player and char
  12.  
  13. local torso=char.Torso
  14.  
  15. local head=char.Head
  16.  
  17. local human=char.Humanoid
  18.  
  19. local hat
  20.  
  21. for i, v in pairs(char:children()) do if v:isA("Hat") then hat=v end end
  22.  
  23. local arm={Left=char["Left Arm"], Right=char["Right Arm"]}
  24.  
  25. local leg={Left=char["Left Leg"], Right=char["Right Leg"]}
  26.  
  27. local c=function(f) coroutine.resume(coroutine.create(f)) end
  28.  
  29. 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)
  30.  
  31. local add={
  32.  
  33. Part=function(par, a, c, col, t, s, cf)
  34.  
  35. 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()
  36.  
  37. return p
  38.  
  39. end,
  40.  
  41. Weld=function(par, p1, cf)
  42.  
  43. local w=Instance.new("Weld", par) w.Part0=w.Parent or par w.Part1=p1 w.C1=cf or CFrame.new()
  44.  
  45. return w
  46.  
  47. end,
  48.  
  49. Mesh=function(ins, par, s, of, t)
  50.  
  51. local m=Instance.new(ins, par) m.Scale=s or Vector3.new() m.Offset=of or Vector3.new() pcall(function() m.MeshType=t end)
  52.  
  53. return m
  54.  
  55. end
  56.  
  57. }
  58.  
  59. local scriptname="Flash"
  60.  
  61. pcall(function() char[scriptname]:remove() end)
  62.  
  63. local model=Instance.new("Model", char) model.Name=scriptname
  64.  
  65. local bin=Instance.new("HopperBin", player.Backpack) bin.Name=model.Name
  66.  
  67. local skincolor="Really black"
  68.  
  69. local fake={}
  70.  
  71. local weld={}
  72.  
  73. local mesh={}
  74.  
  75. fake.arm={}
  76.  
  77. fake.leg={}
  78.  
  79. fake.torso=nil
  80.  
  81. fake.Mesh={} fake.Weld={}
  82.  
  83. --====--
  84.  
  85. weld.arm={}
  86.  
  87. weld.leg={}
  88.  
  89. weld.torso=nil
  90.  
  91. --====--
  92.  
  93. mesh.arm={}
  94.  
  95. mesh.leg={}
  96.  
  97. --==FAKE, MESH, WELDZ==--
  98.  
  99. fake.arm.left=add.Part(model, false, false, skincolor, 0, Vector3.new(1, 1, 1), nil)
  100.  
  101. fake.arm.right=add.Part(model, false, false, skincolor, 0, Vector3.new(1, 1, 1), nil)
  102.  
  103. fake.leg.left=add.Part(model, false, false, skincolor, 0, Vector3.new(1, 1, 1), nil)
  104.  
  105. fake.leg.right=add.Part(model, false, false, skincolor, 0, Vector3.new(1, 1, 1), nil)
  106.  
  107. fake.torso=add.Part(model, false, false, skincolor, 0, Vector3.new(2, 2, 1), nil)
  108.  
  109. fake.head=head:clone() fake.head.Parent=model fake.head.BrickColor=BrickColor.new(skincolor) fake.head.Transparency=0
  110.  
  111. -------------------------
  112.  
  113. mesh.arm.left=add.Mesh("BlockMesh", fake.arm.left, Vector3.new(1, 2, 1), Vector3.new(0, -.5, 0), nil)
  114.  
  115. mesh.arm.right=add.Mesh("BlockMesh", fake.arm.right, Vector3.new(1, 2, 1), Vector3.new(0, -.5, 0), nil)
  116.  
  117. mesh.leg.left=add.Mesh("BlockMesh", fake.leg.left, Vector3.new(1, 2, 1), Vector3.new(0, -.5, 0), nil)
  118.  
  119. mesh.leg.right=add.Mesh("BlockMesh", fake.leg.right, Vector3.new(1, 2, 1), Vector3.new(0, -.5, 0), nil)
  120.  
  121. -------------------------
  122.  
  123. weld.arm.left=add.Weld(fake.arm.left, fake.torso, CFrame.new(-1.5, .5, 0))
  124.  
  125. weld.arm.right=add.Weld(fake.arm.right, fake.torso, CFrame.new(1.5, .5, 0))
  126.  
  127. weld.leg.left=add.Weld(fake.leg.left, fake.torso, CFrame.new(-.5, -1.5, 0))
  128.  
  129. weld.leg.right=add.Weld(fake.leg.right, fake.torso, CFrame.new(.5, -1.5, 0))
  130.  
  131. weld.torso=add.Weld(torso, fake.torso, nil)
  132.  
  133. weld.head=add.Weld(fake.head, fake.torso, CFrame.new(0, 1.5, 0))
  134.  
  135. 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)
  136.  
  137. --==SIGN==--
  138.  
  139. fake.Rot=add.Part(model, false, false, "Really black", 0, Vector3.new(1, 1, 1), nil)
  140.  
  141. fake.Mesh.Rot=add.Mesh("CylinderMesh", fake.Rot, Vector3.new(1.5, .5, 1.5), nil, nil)
  142.  
  143. fake.Weld.Rot=add.Weld(fake.Rot, fake.torso, CFrame.new(0, 0, -.3)*CFrame.Angles(math.rad(90), 0, 0))
  144.  
  145. fake.L=add.Part(model, false, false, "Bright yellow", 0, Vector3.new(1, 1, 1), nil)
  146.  
  147. fake.Mesh.L=add.Mesh("BlockMesh", fake.L, Vector3.new(.25, .5, 1), nil, nil)
  148.  
  149. fake.Weld.L=add.Weld(fake.L, fake.Rot, CFrame.new(.25, -0.05, 0))
  150.  
  151. fake.L2=add.Part(model, false, false, "Bright yellow", 0, Vector3.new(1, 1, 1), nil)
  152.  
  153. fake.Mesh.L2=add.Mesh("BlockMesh", fake.L2, Vector3.new(.75, .5, .25), nil, nil)
  154.  
  155. fake.Weld.L2=add.Weld(fake.L2, fake.Rot, CFrame.new(0, -0.05, .4))
  156.  
  157. c(function() for i=0, math.huge, .1 do wait() fake.Weld.Rot.C0=CFrame.Angles(0, i, 0) end end)
  158.  
  159. --==MANA==--
  160.  
  161. local gui=Instance.new("ScreenGui", player.PlayerGui)
  162.  
  163. local label=Instance.new("TextLabel", gui)
  164.  
  165. label.Text="--==100%==--"
  166.  
  167. label.Position=UDim2.new(0, 0, 0, 200)
  168.  
  169. label.Size=UDim2.new(0, 200, 0, 20)
  170.  
  171. label.BorderColor=BrickColor.Black() label.BackgroundColor=BrickColor.White()
  172.  
  173. label.TextColor=BrickColor.Black()
  174.  
  175. local charge=label:clone() charge.Parent=label
  176.  
  177. charge.Position=UDim2.new()
  178.  
  179. charge.Text=""
  180.  
  181. charge.Size=UDim2.new(1, 0, 1, 0)
  182.  
  183. charge.BorderColor=BrickColor.Black() charge.BackgroundColor=BrickColor.Yellow() charge.Transparency=.5
  184.  
  185. ----------------------------------------------------------------------------------------------
  186.  
  187. local walkspeed=100 --Flash :D
  188.  
  189. local dmg=math.random(5, 10)
  190.  
  191. local rundeb=false
  192.  
  193. local tdeb=false
  194.  
  195. local hDeb=false
  196.  
  197.  
  198.  
  199. function hit(h)
  200.  
  201. local humanoid=h.Parent:findFirstChild("Humanoid")
  202.  
  203. if humanoid and h.Parent~=char and hDeb==false then
  204.  
  205. hDeb=true
  206.  
  207. --c(function()
  208.  
  209. local fakeP=add.Part(workspace, true, false, "Bright yellow", 0, Vector3.new(1, 1, 1), CFrame.new(h.CFrame.p, torso.CFrame.p))
  210.  
  211. local mesh=add.Mesh("SpecialMesh", fakeP, Vector3.new(1, 1, 1), nil, "File") mesh.MeshId="http://www.roblox.com/asset/?id=3270017"
  212.  
  213. c(function()
  214.  
  215. for i=0, 1, .05 do
  216.  
  217. wait()
  218.  
  219. fakeP.Mesh.Scale=fakeP.Mesh.Scale+Vector3.new(i, i, 0)
  220.  
  221. end
  222.  
  223. fakeP:remove()
  224.  
  225. end)
  226.  
  227. c(function()
  228.  
  229. for i=0, 1, .05 do
  230.  
  231. wait()
  232.  
  233. fakeP.Transparency=i
  234.  
  235. end
  236.  
  237. end)
  238.  
  239. humanoid.Health=humanoid.Health-dmg
  240.  
  241. local fakeM=Instance.new("Model", workspace) fakeM.Name=dmg
  242.  
  243. local fakeH=Instance.new("Humanoid", fakeM) fakeH.MaxHealth=0 fakeH.Health=0
  244.  
  245. local fakeP=add.Part(fakeM, false, false, "Bright red", 0, Vector3.new(1, 1, 1), h.CFrame) fakeP.Name="Head"
  246.  
  247. local fakeMesh=add.Mesh("CylinderMesh", fakeP, Vector3.new(1, .2, 1), nil, nil)
  248.  
  249. 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)
  250.  
  251. game.Debris:addItem(fakeM, 2)
  252.  
  253. pcall(function()h.Parent:findFirstChild("Torso").RotVelocity=fake.torso.RotVelocity*math.random(-1000, 1000)end)
  254.  
  255. pcall(function()h.Parent:findFirstChild("Torso").Velocity=fake.torso.Velocity*math.random(-1000, 1000)end)
  256.  
  257. wait()
  258.  
  259. hDeb=false
  260.  
  261. --end)
  262.  
  263. end
  264.  
  265. end
  266.  
  267.  
  268.  
  269. function trail(pos, cf, col)
  270.  
  271. c(function()
  272.  
  273. local old=(pos.CFrame*cf).p
  274.  
  275. while tdeb==true do
  276.  
  277. wait()
  278.  
  279. local new=(pos.CFrame*cf).p
  280.  
  281. local mag=(old-new).magnitude
  282.  
  283. local dis=(old+new)/2
  284.  
  285. 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))
  286.  
  287. local tMesh=add.Mesh("CylinderMesh", trail, Vector3.new(.5, 1, .5), nil, nil)
  288.  
  289. trail.Touched:connect(hit)
  290.  
  291. old=new
  292.  
  293. c(function()
  294.  
  295. for i=1, 0, -.2 do
  296.  
  297. wait()
  298.  
  299. trail.Mesh.Scale=trail.Mesh.Scale*Vector3.new(i, 1, i)
  300.  
  301. end
  302.  
  303. trail:remove()
  304.  
  305. end)
  306.  
  307. c(function()
  308.  
  309. for i=0, 1, .2 do
  310.  
  311. wait()
  312.  
  313. trail.Transparency=i
  314.  
  315. end
  316.  
  317. end)
  318.  
  319. end
  320.  
  321. end)
  322.  
  323. end
  324.  
  325. bin.Selected:connect(function(mouse)
  326.  
  327. for i, v in pairs(model:children()) do tdeb=true trail(v, CFrame.new(), "Bright yellow") end
  328.  
  329. c(function() while true do wait() for i, v in pairs(model:children()) do v.Touched:connect(hit) end end end)
  330.  
  331. human.WalkSpeed=walkspeed
  332.  
  333. human.MaxHealth=math.huge
  334.  
  335. human.Running:connect(function(speed)
  336.  
  337. if speed>0 then
  338.  
  339. for i=0, 1, .1 do
  340.  
  341. wait()
  342.  
  343. weld.torso.C1=CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(15)*i, 0, 0)
  344.  
  345. weld.arm.left.C1=CFrame.new(-1.5, .5, 0)*CFrame.Angles(-math.rad(45)*i, 0, -math.rad(45)*i)
  346.  
  347. weld.arm.right.C1=CFrame.new(1.5, .5, 0)*CFrame.Angles(-math.rad(45)*i, 0, math.rad(45)*i)
  348.  
  349. end
  350.  
  351. while speed>0 do
  352.  
  353. wait()
  354.  
  355. for i=0, 1, .1 do
  356.  
  357. wait()
  358.  
  359. weld.leg.left.C1=CFrame.new(-.5, -1.5, 0)*CFrame.Angles(-math.rad(45)*i, 0, 0)
  360.  
  361. weld.leg.right.C1=CFrame.new(.5, -1.5, 0)*CFrame.Angles(math.rad(45)*i, 0, 0)
  362.  
  363. weld.arm.left.C1=CFrame.new(-1.5, .5, 0)*CFrame.Angles(-math.rad(45)*i, 0, -math.rad(45))
  364.  
  365. weld.arm.right.C1=CFrame.new(1.5, .5, 0)*CFrame.Angles(-math.rad(45)-(-math.rad(45)*i), 0, math.rad(45))
  366.  
  367. end
  368.  
  369. for i=1, 0, -.1 do
  370.  
  371. wait()
  372.  
  373. weld.leg.left.C1=CFrame.new(-.5, -1.5, 0)*CFrame.Angles(-math.rad(45)*i, 0, 0)
  374.  
  375. weld.leg.right.C1=CFrame.new(.5, -1.5, 0)*CFrame.Angles(math.rad(45)*i, 0, 0)
  376.  
  377. weld.arm.left.C1=CFrame.new(-1.5, .5, 0)*CFrame.Angles(-math.rad(45)*i, 0, -math.rad(45))
  378.  
  379. weld.arm.right.C1=CFrame.new(1.5, .5, 0)*CFrame.Angles(-math.rad(45)-(-math.rad(45)*i), 0, math.rad(45))
  380.  
  381. end
  382.  
  383. end
  384.  
  385. end
  386.  
  387. end)
  388.  
  389. end)--mediafire
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement