Advertisement
SmokeDelsin

my own thing

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