Advertisement
Guest User

Untitled

a guest
Mar 28th, 2015
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.55 KB | None | 0 0
  1. lp=game.Players.natethegreat227 pl=lp.Character
  2.  
  3. tol=Instance.new("HopperBin",lp.Backpack)
  4.  
  5. tol.Name="Elevance" hue=pl.Humanoid hue.Name="Fork donkey"
  6.  
  7. Parts = {} tor=pl.torso
  8.  
  9. rs=pl.Torso['Right Shoulder']
  10.  
  11. ls=pl.Torso['Left Shoulder']
  12.  
  13. Part = function(x,y,z,color,tr,cc,an,parent)
  14.  
  15. local p = Instance.new('Part',parent or Weapon)
  16.  
  17. p.formFactor = 'Custom'
  18.  
  19. p.Size = Vector3.new(x,y,z)
  20.  
  21. p.BrickColor = BrickColor.new(color)
  22.  
  23. p.CanCollide = cc
  24.  
  25. p.Transparency = tr
  26.  
  27. p.Anchored = an
  28.  
  29. p.TopSurface,p.BottomSurface = 0,0
  30.  
  31. return p end
  32.  
  33. Weld = function(p0,p1,x,y,z,rx,ry,rz,par)
  34.  
  35. p0.Position = p1.Position
  36.  
  37. local w = Instance.new('Motor',par or p0)
  38.  
  39. w.Part0 = p0 w.Part1 = p1
  40.  
  41. w.C1 = CFrame.new(x,y,z)*CFrame.Angles(rx,ry,rz)
  42.  
  43. return w end
  44.  
  45. Mesh = function(par,num,x,y,z)local msh = _
  46.  
  47. if num == 1 then msh = Instance.new("CylinderMesh",par)
  48.  
  49. elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3
  50.  
  51. elseif num == 3 then msh = Instance.new("BlockMesh",par)
  52.  
  53. elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num
  54.  
  55. end msh.Scale = Vector3.new(x,y,z)return msh end
  56.  
  57.  
  58. function TweenCFrame(part,cframe,q)
  59.  
  60. local c0 = part.CFrame
  61.  
  62. for i = -90,90,q do
  63.  
  64. local r = ((math.sin(math.rad(i))+1)/2)
  65.  
  66. part.CFrame = CFrame.new(c0.p:lerp(cframe.p,r))
  67.  
  68. wait()
  69.  
  70. end
  71.  
  72. end
  73.  
  74.  
  75.  
  76. function mix() mo=false dmg=0 f=true
  77.  
  78. while wait(1) do if f==false then break end
  79.  
  80. for i,v in pairs(Parts)do
  81.  
  82. coroutine.wrap(function()
  83.  
  84. TweenCFrame(v,tor.CFrame*CFrame.new(math.random(-3,3),math.random(-3,3),math.random(-3,3)),30)
  85.  
  86. end)()
  87.  
  88. end
  89.  
  90. end
  91.  
  92. end
  93.  
  94.  
  95. function bamb() f=false mo=true
  96.  
  97. local Mouse = lp:GetMouse()
  98.  
  99. local Pos = Mouse.Hit.p
  100.  
  101. sp= Part(1,1,1,'',0,false,true,workspace) sp.CFrame=CFrame.new(Pos)
  102.  
  103. me1=Mesh(sp,"http://www.roblox.com/asset/?id=123968188",0,0,0)me1.TextureId="http://www.roblox.com/asset/?id=123968836"
  104.  
  105. for i,v in pairs(Parts)do TweenCFrame(v,CFrame.new(Pos)*CFrame.Angles(0,math.rad(360/12)*i,0)*CFrame.new(0,0,5),25)end
  106.  
  107. coroutine.wrap(function()for i=1,10 do wait()me1.Scale=me1.Scale+Vector3.new(.3,.3,.3)end end)()
  108.  
  109. TweenCFrame(sp,sp.CFrame*CFrame.new(0,7,0),5)
  110.  
  111. le= Part(.1,.1,.1,'Earth green',0,false,true,workspace) le.CFrame=sp.CFrame*CFrame.new(0,5,0)*CFrame.Angles(math.random(),math.random(),math.random())me2=Mesh(le,3,0,0,0)
  112.  
  113. le2= Part(.1,.1,.1,'Bright green',0,false,true,workspace) le2.CFrame=sp.CFrame*CFrame.new(0,5,0)*CFrame.Angles(math.random(),math.random(),math.random())me3=Mesh(le2,3,0,0,0)
  114.  
  115. coroutine.wrap(function()for i=1,10 do wait()me2.Scale=me2.Scale+Vector3.new(3,3,3)me3.Scale=me3.Scale+Vector3.new(3,3,3)end end)()
  116.  
  117. for i=1,15 do wait(.2) local bam= Part(1,1,1,'Really red',0,true,false,workspace)bam:BreakJoints()me4=Mesh(bam,2,1,1,1) bam.CFrame=le.CFrame*CFrame.new(math.random(-3,3),math.random(-3,3),math.random(-3,3))
  118.  
  119. coroutine.wrap(function()wait(1)bam.Anchored=true
  120.  
  121. local bam2= Part(6.5,6.5,6.5,'Bright orange',0,false,true,bam)bam2.CFrame=bam.CFrame
  122.  
  123. explo=Mesh(bam2,'http://www.roblox.com/asset/?id=9982590',0,0,0)
  124.  
  125. for i=1,5 do wait()
  126.  
  127. explo.Scale=explo.Scale+Vector3.new(2,2,2)end
  128.  
  129. b0m=Instance.new("Explosion",workspace) b0m.Position=bam2.Position bam2:remove()bam:remove()end)()end wait(1.5)
  130.  
  131. for i=1,10 do wait()me2.Scale=me2.Scale-Vector3.new(3,3,3)me3.Scale=me3.Scale-Vector3.new(3,3,3)end le:remove()le2:remove()
  132.  
  133. coroutine.wrap(function()for i=1,10 do wait()me1.Scale=me1.Scale-Vector3.new(.3,.3,.3)end end)()
  134.  
  135. mix()
  136.  
  137. end
  138.  
  139.  
  140. function cir()f=false Num = 0 mo=true
  141.  
  142. for i,v in pairs(Parts)do
  143.  
  144. TweenCFrame(v,tor.CFrame*CFrame.Angles(0,math.rad(360/12)*i,0)*CFrame.new(3.5,0,0),25)end
  145.  
  146. while wait()do if mo==false then break end dmg=math.random(15,30) Num = Num + 0.1
  147.  
  148. for i,v in pairs(Parts)do
  149.  
  150. v.CFrame = tor.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,Num+math.rad(360/12)*i,0)*CFrame.new(0,0,3.5)
  151.  
  152. end end for i,v in pairs(Parts)do
  153.  
  154. v.CFrame = CFrame.new(tor.CFrame.p)*CFrame.new(0,-3,0)*CFrame.Angles(0,Num+math.rad(360/12)*i,0)*CFrame.new(0,0,3.5)
  155.  
  156. end end
  157.  
  158.  
  159. function tele() f=false mo=true
  160.  
  161. local Mouse = lp:GetMouse() local Pos = Mouse.Hit.p
  162.  
  163. for i,v in pairs(Parts)do coroutine.wrap(function()TweenCFrame(v,CFrame.new(Pos)*CFrame.Angles(0,math.rad(360/12)*i,0)*CFrame.new(0,0,5),25)end)()end
  164.  
  165. for i=1,5,.5 do wait()for i2,v in pairs(Parts)do
  166.  
  167. v.CFrame = CFrame.new(Pos)*CFrame.Angles(0,math.rad(360/12)*i2,0)*CFrame.new(0,0,5-i)end end
  168.  
  169. tor.CFrame=CFrame.new(Pos)*CFrame.new(0,3,0) wait(1) mix()
  170.  
  171. end
  172.  
  173.  
  174. function blg() f=false mo=true
  175.  
  176. end
  177.  
  178.  
  179. tol.Selected:connect(function(mouse)
  180.  
  181. mouse.KeyDown:connect(onKeyDown)
  182.  
  183. f=Instance.new("Model",pl)
  184.  
  185. for i =1,12 do wait()
  186.  
  187. lef = Part(1,1,1,'White',0,false,true,f)
  188.  
  189. lef.CFrame=tor.CFrame*CFrame.new(math.random(-3,3),math.random(-3,3),math.random(-3,3))*CFrame.Angles(math.random(),math.random(),math.random())
  190.  
  191. me=Mesh(lef,"http://www.roblox.com/asset/?id=40302270",1,1,1) me.TextureId="http://www.roblox.com/asset/?id=40559688"
  192.  
  193. table.insert(Parts,lef)
  194.  
  195. end mix()
  196.  
  197. while wait(1.5) do
  198.  
  199. for i,v in pairs(Parts)do
  200.  
  201. function touch(hit)
  202.  
  203. if hit.Parent:FindFirstChild("Humanoid") ~= nil then
  204.  
  205. --if hit.Parent.Name == pl.Name then return end
  206.  
  207. hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-dmg
  208.  
  209. end end v.Touched:connect(touch) end end
  210.  
  211. end)
  212.  
  213.  
  214. function onKeyDown(key)
  215.  
  216. key = key:lower()
  217.  
  218. if key == "e" then
  219.  
  220. le = not le
  221.  
  222. if le == true then
  223.  
  224. cir()else mix()
  225.  
  226. end end
  227.  
  228. if key == "q" then
  229.  
  230. bamb()end
  231.  
  232. if key == "f" then
  233.  
  234. tele()end
  235.  
  236.  
  237. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement