Advertisement
lafur

Untitled

Mar 9th, 2019
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Player = game.Players.LocalPlayer
  2. Character=Player.Character
  3. mouse = Player:GetMouse()
  4. --Lava=script.Parent.Parent.Damager
  5. it=Instance.new
  6. vt=Vector3.new
  7. cf=CFrame.new
  8. euler=CFrame.fromEulerAnglesXYZ
  9. angles=CFrame.Angles
  10. necko=cf(0,-7,0,-1,-0,-0,0,0,1,0,1,0)
  11. necko2=cf(0,3.5,0,-1,-0,-0,0,0,1,0,1,0)
  12. attack=true
  13. so = function(id,par,vol,pit)
  14. coroutine.resume(coroutine.create(function()
  15. local sou = Instance.new("Sound",par or workspace)
  16. sou.Volume=vol
  17. sou.Pitch=pit or 1
  18. sou.SoundId=id
  19. wait()
  20. sou:play()
  21. game:GetService("Debris"):AddItem(sou,6)
  22. end))
  23. end
  24.  
  25. for _,v in pairs(Character:children()) do
  26. if v.className=="Part" then
  27. v.Anchored=false
  28. end
  29. end
  30.  
  31. function NoOutline(Part)
  32. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  33. end
  34.  
  35. for _,v in pairs(Character:children()) do
  36. if v:IsA("Part") then
  37. v:Remove()
  38. elseif v:IsA("Humanoid") then
  39. v:Remove()
  40. end
  41. end
  42. wait(1)
  43. local Head = Instance.new("Part")
  44. Head.formFactor = 3
  45. Head.CanCollide = true
  46. Head.Name = "Head"
  47. Head.Locked = true
  48. Head.Size = Vector3.new(13.697, 6.848, 6.848)
  49. Head.Parent = Character
  50. Head.Material = "Granite"
  51.  
  52. Head.BrickColor = BrickColor.new("Black")
  53. local smh = Instance.new("SpecialMesh",Head)
  54. smh.Scale = Vector3.new(1.3, 1.3, 1.3)
  55. local kek = Instance.new("PointLight", Head)
  56. kek.Range = 60
  57. local Torso = Instance.new("Part")
  58. Torso.formFactor = 3
  59. Torso.CanCollide = false
  60. Torso.Name = "Torso"
  61. Torso.Locked = true
  62. Torso.Size = Vector3.new(13.697, 13.697, 6.848)
  63. Torso.Parent = Character
  64. Torso.BrickColor = BrickColor.new("Neon orange")
  65. Torso.Material = "Granite"
  66.  
  67. local msht = Instance.new("BlockMesh",Torso)
  68. local RightArm = Instance.new("Part")
  69. RightArm.formFactor = 3
  70. RightArm.CanCollide = true
  71. RightArm.Name = "Right Arm"
  72. RightArm.Locked = true
  73. RightArm.Size = Vector3.new(6.848, 13.697, 6.848)
  74. RightArm.Parent = Character
  75. RightArm.Material = "Granite"
  76. RightArm.BrickColor = BrickColor.new("Neon orange")
  77.  
  78. local mshra = Instance.new("BlockMesh",RightArm)
  79. local LeftArm = Instance.new("Part")
  80. LeftArm.formFactor = 3
  81. LeftArm.CanCollide = true
  82. LeftArm.Name = "Left Arm"
  83. LeftArm.Locked = true
  84. LeftArm.Size = Vector3.new(6.848, 13.697, 6.848)
  85. LeftArm.Parent = Character
  86. LeftArm.Material = "Granite"
  87. LeftArm.BrickColor = BrickColor.new("Neon orange")
  88.  
  89. local mshla = Instance.new("BlockMesh",LeftArm)
  90. local Helmet = Instance.new("Part")
  91. Helmet.formFactor = 3
  92. Helmet.CanCollide = true
  93. Helmet.Name = "Helmet"
  94. Helmet.Locked = true
  95. Helmet.Size = Vector3.new(2, 2, 2)
  96. Helmet.Parent = Character
  97.  
  98. local smh = Instance.new("SpecialMesh",Helmet)
  99. smh.Scale = Vector3.new(7, 7, 7)
  100. smh.MeshId = "http://www.roblox.com/asset/?id=47623768"
  101. smh.TextureId = "http://www.roblox.com/asset/?id=47623755"
  102.  
  103. local Damager = Instance.new("Part")
  104. Damager.formFactor = 3
  105. Damager.CanCollide = false
  106. Damager.Name = "Damager"
  107. Damager.Anchored = true
  108. Damager.Locked = true
  109. Damager.Material = "Granite"
  110. Damager.BrickColor = BrickColor.new("Bright red")
  111. Damager.Size = Vector3.new(54, 1, 54)
  112. Damager.Parent = Character
  113. Damager.CFrame = Torso.CFrame * CFrame.new(0,0.2,-40)
  114. local smh = Instance.new("BlockMesh",Damager)
  115. smh.Scale = Vector3.new(1, 1.3, 1)
  116. wait(1)
  117. Head=Character.Head
  118. Torso=Character.Torso
  119. LeftArm=Character["Left Arm"]
  120. RightArm=Character["Right Arm"]
  121. Helmet=Character.Helmet
  122.  
  123.  
  124.  
  125. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  126. local fp = it("Part")
  127. fp.formFactor = formfactor
  128. fp.Parent = parent
  129. fp.Reflectance = reflectance
  130. fp.Transparency = transparency
  131. fp.CanCollide = false
  132. fp.Locked=true
  133. fp.BrickColor = brickcolor
  134. fp.Name = name
  135. fp.Size = size
  136. fp.Position = Torso.Position
  137. NoOutline(fp)
  138. fp.BottomSurface="Smooth"
  139. fp.TopSurface="Smooth"
  140. fp:BreakJoints()
  141. return fp
  142. end
  143.  
  144. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  145. local mesh = it(Mesh)
  146. mesh.Parent = part
  147. if Mesh=="SpecialMesh" then
  148. mesh.MeshType = meshtype
  149. mesh.MeshId = meshid
  150. end
  151. mesh.Offset=offset
  152. mesh.Scale=scale
  153. return mesh
  154. end
  155.  
  156. function weld(parent,part0,part1,c0)
  157. local weld = it("Weld")
  158. weld.Parent = parent
  159. weld.Part0 = part0
  160. weld.Part1 = part1
  161. weld.C0 = c0
  162. return weld
  163. end
  164.  
  165.  
  166. function findNearestTorso(pos)
  167. local list = game.Workspace:children()
  168. local torso = nil
  169. local dist = 130
  170. local temp = nil
  171. local human = nil
  172. local temp2 = nil
  173. for x = 1, #list do
  174. temp2 = list[x]
  175. if (temp2.className == "Model") and (temp2.Name~=Character) then
  176. temp = temp2:findFirstChild("Torso")
  177. human = temp2:findFirstChild("Humanoid")
  178. print(human)
  179. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  180. if (temp.Position - pos).magnitude < dist then
  181. torso = temp
  182. dist = (temp.Position - pos).magnitude
  183. end
  184. end
  185. end
  186. end
  187. return torso,dist
  188. end
  189.  
  190. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  191. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  192. prt.Anchored=true
  193. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  194. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  195. coroutine.resume(coroutine.create(function(Part,Mesh)
  196. for i=0,1,delay do
  197. wait()
  198. Part.CFrame=Part.CFrame
  199. Part.Transparency=i
  200. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  201. end
  202. Part.Parent=nil
  203. end),prt,msh)
  204. end
  205.  
  206. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  207. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  208. prt.Anchored=true
  209. prt.CFrame=cframe
  210. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  211. coroutine.resume(coroutine.create(function(Part,Mesh)
  212. for i=0,1,delay do
  213. wait()
  214. Part.CFrame=Part.CFrame
  215. Part.Transparency=i
  216. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  217. end
  218. Part.Parent=nil
  219. end),prt,msh)
  220. end
  221.  
  222. function MagicRing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  223. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  224. prt.Anchored=true
  225. prt.CFrame=cframe
  226. --"http://www.roblox.com/asset/?id=168892465"
  227. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  228. game:GetService("Debris"):AddItem(prt,2)
  229. coroutine.resume(coroutine.create(function(Part,Mesh)
  230. for i=0,1,delay do
  231. wait()
  232. Part.CFrame=Part.CFrame
  233. Part.Transparency=i
  234. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  235. end
  236. Part.Parent=nil
  237. end),prt,msh)
  238. end
  239.  
  240. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  241. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  242. prt.Anchored=true
  243. prt.CFrame=cframe
  244. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  245. game:GetService("Debris"):AddItem(prt,2)
  246. coroutine.resume(coroutine.create(function(Part,Mesh)
  247. for i=0,1,delay do
  248. wait()
  249. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  250. Part.Transparency=i
  251. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  252. end
  253. Part.Parent=nil
  254. end),prt,msh)
  255. end
  256.  
  257. Damagefunc=function(hit,minim,maxim,knockback,Type,Property)
  258. if hit.Parent==nil then
  259. return
  260. end
  261. CPlayer=Bin
  262. h=hit.Parent:FindFirstChild("Humanoid")
  263. for _,v in pairs(hit.Parent:children()) do
  264. if v:IsA("Humanoid") then
  265. h=v
  266. end
  267. end
  268. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  269. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  270. return
  271. end]]
  272. -- hs(hit,1.2)
  273. c=Instance.new("ObjectValue")
  274. c.Name="creator"
  275. c.Value=game:service("Players").LocalPlayer
  276. c.Parent=h
  277. game:GetService("Debris"):AddItem(c,.5)
  278. Damage=math.random(minim,maxim)
  279. -- h:TakeDamage(Damage)
  280. blocked=false
  281. block=hit.Parent:findFirstChild("Block")
  282. if block~=nil then
  283. if block.className=="IntValue" then
  284. if block.Value>0 then
  285. blocked=true
  286. block.Value=block.Value-1
  287. end
  288. end
  289. end
  290. if blocked==false then
  291. h:TakeDamage(Damage)
  292. showDamage(hit.Parent,Damage,.5,BrickColor:Red())
  293. else
  294. h:TakeDamage(Damage/2)
  295. showDamage(hit.Parent,Damage,.5,BrickColor.new("Bright blue"))
  296. end
  297. if Type=="Knockdown" then
  298. hum=hit.Parent.Humanoid
  299. hum.PlatformStand=true
  300. coroutine.resume(coroutine.create(function(HHumanoid)
  301. wait(1)
  302. HHumanoid.PlatformStand=false
  303. end),hum)
  304. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  305. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  306. local bodvol=Instance.new("BodyVelocity")
  307. bodvol.velocity=angle*knockback
  308. bodvol.P=5000
  309. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  310. bodvol.Parent=hit
  311. rl=Instance.new("BodyAngularVelocity")
  312. rl.P=3000
  313. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  314. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  315. rl.Parent=hit
  316. game:GetService("Debris"):AddItem(bodvol,.5)
  317. game:GetService("Debris"):AddItem(rl,.5)
  318. elseif Type=="Normal" then
  319. vp=Instance.new("BodyVelocity")
  320. vp.P=500
  321. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  322. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  323. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  324. if knockback>0 then
  325. vp.Parent=hit.Parent.Torso
  326. end
  327. game:GetService("Debris"):AddItem(vp,.5)
  328. elseif Type=="Up" then
  329. local bodyVelocity=Instance.new("BodyVelocity")
  330. bodyVelocity.velocity=vt(0,20,0)
  331. bodyVelocity.P=5000
  332. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  333. bodyVelocity.Parent=hit
  334. game:GetService("Debris"):AddItem(bodyVelocity,.5)
  335. elseif Type=="Snare" then
  336. bp=Instance.new("BodyPosition")
  337. bp.P=2000
  338. bp.D=100
  339. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  340. bp.position=hit.Parent.Torso.Position
  341. bp.Parent=hit.Parent.Torso
  342. game:GetService("Debris"):AddItem(bp,1)
  343. elseif Type=="Freeze" then
  344. BodPos=Instance.new("BodyPosition")
  345. BodPos.P=50000
  346. BodPos.D=1000
  347. BodPos.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  348. BodPos.position=hit.Parent.Torso.Position
  349. BodPos.Parent=hit.Parent.Torso
  350. BodGy = it("BodyGyro")
  351. BodGy.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  352. BodGy.P = 20e+003
  353. BodGy.Parent=hit.Parent.Torso
  354. BodGy.cframe = hit.Parent.Torso.CFrame
  355. hit.Parent.Torso.Anchored=true
  356. coroutine.resume(coroutine.create(function(Part)
  357. wait(1.5)
  358. Part.Anchored=false
  359. end),hit.Parent.Torso)
  360. game:GetService("Debris"):AddItem(BodPos,3)
  361. game:GetService("Debris"):AddItem(BodGy,3)
  362. end
  363. c=Instance.new("ObjectValue")
  364. c.Name="creator"
  365. c.Value=Player
  366. c.Parent=h
  367. game:GetService("Debris"):AddItem(c,.5)
  368. CRIT=false
  369. hitDeb=true
  370. AttackPos=6
  371. end
  372. end
  373.  
  374. showDamage=function(Char,Dealt,du,Color)
  375. m=Instance.new("Model")
  376. m.Name=tostring(Dealt)
  377. h=Instance.new("Humanoid")
  378. h.Health=0
  379. h.MaxHealth=0
  380. h.Parent=m
  381. c=Instance.new("Part")
  382. c.Transparency=0
  383. c.BrickColor=Color
  384. c.Name="Head"
  385. c.TopSurface=0
  386. c.BottomSurface=0
  387. c.formFactor="Plate"
  388. c.Size=Vector3.new(1,.4,1)
  389. ms=Instance.new("CylinderMesh")
  390. ms.Scale=Vector3.new(.8,.8,.8)
  391. if CRIT==true then
  392. ms.Scale=Vector3.new(1,1.25,1)
  393. end
  394. ms.Parent=c
  395. c.Reflectance=0
  396. Instance.new("BodyGyro").Parent=c
  397. c.Parent=m
  398. if Char:findFirstChild("Head")~=nil then
  399. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  400. else
  401. c.CFrame=CFrame.new(Char["Torso"].CFrame.p+Vector3.new(0,1.5,0))
  402. end
  403. f=Instance.new("BodyPosition")
  404. f.P=2000
  405. f.D=100
  406. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  407. f.position=c.Position+Vector3.new(0,3,0)
  408. f.Parent=c
  409. game:GetService("Debris"):AddItem(m,.5+du)
  410. c.CanCollide=false
  411. m.Parent=workspace
  412. c.CanCollide=false
  413. end
  414.  
  415. colr = BrickColor.new("Flame reddish orange")
  416.  
  417. con = Damager.Touched:connect(function(part)
  418. if part.Parent:FindFirstChild("Humanoid") ~= nil and part.Parent.Name~=Character.Name then
  419. if part:FindFirstChild("fiar") == nil and part:FindFirstChild("glow") == nil then
  420. fiar = Instance.new("Fire")
  421. fiar.Name = "fiar"
  422. fiar.Parent = part
  423. glow = Instance.new("PointLight")
  424. glow.Name = "glow"
  425. glow.Parent = part
  426. glow.Color = colr.Color
  427. end
  428. else
  429. end
  430. end)
  431.  
  432.  
  433. local roar=Instance.new("Sound")
  434. roar.Parent=Head
  435. roar.Volume=1
  436. roar.Pitch=1
  437. roar.SoundId="http://www.roblox.com/asset/?id=172088894"
  438. local roar2=Instance.new("Sound")
  439. roar2.Parent=Head
  440. roar2.Volume=1
  441. roar2.Pitch=1
  442. roar2.SoundId="http://www.roblox.com/asset/?id=172088894"
  443. local Neck=weld(Torso,Head,Torso,cf(0,0,0))
  444. Neck.C0=necko*euler(0.2,0,0)
  445. Neck.C1=necko2
  446. local Helmweld=weld(Torso,Head,Helmet,cf(0,3.8,0.5)*euler(0,3.14,0))
  447. local RW=weld(Torso,Torso,RightArm,cf(0,0,0))
  448. local LW=weld(Torso,Torso,LeftArm,cf(0,0,0))
  449. RW.C0=cf(10,1,3)*euler(-0.8,0,0.2)
  450. RW.C1=cf(0,1,0)
  451. LW.C0=cf(-10,1,3)*euler(-0.8,0,-0.2)
  452. LW.C1=cf(0,1,0)
  453. Torso.CFrame=Torso.CFrame*cf(0,10,0)
  454. local BodPos=it("BodyPosition")
  455. BodPos.P=50000
  456. BodPos.D=1000
  457. BodPos.maxForce=vt(math.huge,math.huge,math.huge)
  458. BodPos.position=Damager.Position+vt(0,7,0)
  459. BodPos.Parent=Torso
  460. local BodGy=it("BodyGyro")
  461. BodGy.maxTorque=vt(4e+005,4e+005,4e+005)*math.huge
  462. BodGy.P=20e+003
  463. BodGy.Parent=Torso
  464. BodGy.cframe=Torso.CFrame
  465. --BodGy.cframe=cf(0,0,0)*euler(0,3.14*i,0)
  466. for _,v in pairs(Character:children()) do
  467. if v.className=="Part" then
  468. v.Transparency=1
  469. end
  470. end
  471. --[[dur=script.Parent.Parent[" "]
  472. Hum=dur.Humanoid
  473. while Hum.Health>0 do
  474. wait()
  475. end]]
  476. local Humanoid=Instance.new("Humanoid")
  477. Humanoid.Parent=Character
  478. Humanoid.MaxHealth=4000
  479. Humanoid.Health=Humanoid.MaxHealth
  480. coroutine.resume(coroutine.create(function()
  481. for i=1,50 do
  482. Humanoid.MaxHealth=4000
  483. Humanoid.Health=4000
  484. wait()
  485. end
  486. --_G["AddHumanoidDamageTag"](Humanoid,workspace.Map,1,"Ranged","Fire","Magic")
  487. end))
  488. for _,v in pairs(Character:children()) do
  489. if v.className=="Part" then
  490. v.Transparency=0
  491. end
  492. end
  493.  
  494. function Fireball()
  495. attack=false
  496. for i=0,1,0.1 do
  497. wait()
  498. Neck.C0=necko*euler(0.2-0.8*i,0,0)
  499. RW.C0=cf(10,1+4*i,3-3*i)*euler(-0.8-2.2*i,0,0.2-0.6*i)
  500. RW.C1=cf(0,1+4*i,0)
  501. LW.C0=cf(-10,1+4*i,3-3*i)*euler(-0.8-2.2*i,0,-0.2+0.6*i)
  502. LW.C1=cf(0,1+4*i,0)
  503. end
  504. refprt=part(3,Character,0,1,BrickColor.new("Black"),"Effect",vt())
  505. refwld=weld(refprt,refprt,Torso,cf(0,-15,0))
  506. game:GetService("Debris"):AddItem(refprt,4)
  507. fireball=part(3,Character,0,0.5,BrickColor.new("Really red"),"Fireball",vt(10,10,10))
  508. fireball.Anchored = true
  509. fireball.CFrame = refprt.CFrame
  510. frblmsh=mesh("SpecialMesh",fireball,"Sphere","",vt(0,0,0),vt(0.4,0.4,0.4))
  511. so("http://roblox.com/asset/?id=32791565",fireball,1,1)
  512. prop=Instance.new("RocketPropulsion")
  513. prop.MaxSpeed=500000
  514. prop.CartoonFactor=0
  515. prop.MaxThrust=1000000
  516. prop.Parent=fireball
  517. prop.Target=refprt
  518. prop.ThrustD=1.5
  519. prop.TurnD=0
  520. prop.TurnP=0
  521. prop:Fire()
  522. fire=Instance.new("Fire")
  523. fire.Parent=fireball
  524. fire.Color=Color3.new(255/255,127/255,0)
  525. fire.SecondaryColor=Color3.new(0,0,0)
  526. fire.Size=5
  527. fire.Heat=20
  528. n=2
  529. for i=0,1,0.05 do
  530. wait()
  531. frblmsh.Scale=vt(0.4+0.2*i,0.4+0.2*i,0.4+0.2*i)
  532. refwld.C0=cf(0,-15-5*i,0)
  533. fire.Size=5+10*i
  534. fire.Heat=20+10*i
  535. Neck.C0=necko*euler(-0.6-0.1*i*n,0,0)
  536. RW.C0=cf(10,5,0)*euler(-3-0.1*i*n,0,-0.4-0.1*i*n)
  537. RW.C1=cf(0,5,0)
  538. LW.C0=cf(-10,5,0)*euler(-3-0.1*i*n,0,0.4+0.1*i*n)
  539. LW.C1=cf(0,5,0)
  540. n=n-0.05
  541. end
  542. n=2
  543. for i=0,1,0.1 do
  544. wait()
  545. frblmsh.Scale=vt(0.6+0.8*i,0.6+0.8*i,0.6+0.8*i)
  546. fire.Size=15+5*i
  547. fire.Heat=30+10*i
  548. Neck.C0=necko*euler(-0.7-0.1*i*n,0,0)
  549. RW.C0=cf(10,5,0)*euler(-3.1-0.2*i*n,0,-0.5+0.6*i*n)
  550. RW.C1=cf(0,5,0)
  551. LW.C0=cf(-10,5,0)*euler(-3.1-0.2*i*n,0,0.5-0.6*i*n)
  552. LW.C1=cf(0,5,0)
  553. n=n-0.1
  554. end
  555. refprt.Parent=nil
  556. debounce=false
  557. con1=fireball.Touched:connect(function(hit)
  558. if hit.Parent.Name~=Character.Name and debounce==false and hit.Name~="Effect" then
  559. debounce=true
  560. fireball.Parent=nil
  561. CF=fireball.CFrame
  562. POS=fireball.Position
  563. b=Instance.new("Explosion")
  564. b.Parent=workspace
  565. b.Position=fireball.Position
  566. b.BlastPressure=0
  567. refprt2=part(3,workspace,0,1,BrickColor.new("Black"),"Effect",vt())
  568. refprt2.CFrame=CF
  569. refprt2.Anchored=true
  570. so("http://roblox.com/asset/?id=2101148",refprt2,1,0.6)
  571. game:GetService("Debris"):AddItem(refprt2,1)
  572. for _,c in pairs(workspace:children()) do
  573. local hum=c:findFirstChild("Humanoid")
  574. if hum~=nil then
  575. local head=c:findFirstChild("Torso")
  576. if head~=nil then
  577. local targ=head.Position-POS
  578. local mag=targ.magnitude
  579. if mag<=20 and c.Name~=Character.Name then
  580. Damagefunc(head,25,40,math.random(50,100),"Knockdown",refprt2)
  581. end
  582. end
  583. end
  584. end
  585. coroutine.resume(coroutine.create(function(tehCF)
  586. MagicCircle(BrickColor.new("Bright red"),tehCF,1,1,1,3,3,3,0.05)
  587. for i=0,1,0.1 do
  588. wait(0.1)
  589. MagicBlock(BrickColor.new("Bright red"),tehCF,1,1,1,5,5,5,0.1)
  590. end
  591. end),CF)
  592. end
  593. end)
  594. prop.ThrustP=2
  595. target=part(3,Character,0,1,BrickColor.new("Black"),"Effect",vt())
  596. target.Position = mouse.Hit.p
  597. fireball.Anchored = false
  598. prop.Target=target
  599. for i=0,1,0.1 do
  600. wait()
  601. Neck.C0=necko*euler(-0.7+0.7*i,0,0)
  602. RW.C0=cf(10,5,0)*euler(-3.3+2*i,0,0.1-0.5*i)
  603. RW.C1=cf(0,5,0)
  604. LW.C0=cf(-10,5,0)*euler(-3.3+2*i,0,-0.1+0.5*i)
  605. LW.C1=cf(0,5,0)
  606. end
  607. game:GetService("Debris"):AddItem(fireball,3)
  608. wait(0.4)
  609. for i=0,1,0.1 do
  610. wait()
  611. Neck.C0=necko*euler(0.2*i,0,0)
  612. RW.C0=cf(10,5-4*i,3*i)*euler(-1.3+0.5*i,0,-0.4+0.6*i)
  613. RW.C1=cf(0,5-4*i,0)
  614. LW.C0=cf(-10,5-4*i,3*i)*euler(-1.3+0.5*i,0,0.4-0.6*i)
  615. LW.C1=cf(0,5-4*i,0)
  616. end
  617. attack=true
  618. end
  619.  
  620. function Slam()
  621. attack=false
  622. --COME ON AND SLAM
  623. --AND WELCOME TO THE JAM
  624. for i=0,1,0.05 do
  625. wait()
  626. Neck.C0=necko*euler(0.2-0.8*i,0,0)
  627. RW.C0=cf(10-4*i,1+4*i,3-3*i)*euler(-0.8-2*i,0,0.2-0.8*i)
  628. RW.C1=cf(0,1+4*i,0)
  629. LW.C0=cf(-10+4*i,1+4*i,3-3*i)*euler(-0.8-2*i,0,-0.2+0.8*i)
  630. LW.C1=cf(0,1+4*i,0)
  631. end
  632. n=2
  633. for i=0,1,0.05 do
  634. wait()
  635. Neck.C0=necko*euler(-0.6-0.2*i*n,0,0)
  636. RW.C0=cf(6,5,0)*euler(-2.8-0.2*i*n,0,-0.6)
  637. RW.C1=cf(0,5,0)
  638. LW.C0=cf(-6,5,0)*euler(-2.8-0.2*i*n,0,0.6)
  639. LW.C1=cf(0,5,0)
  640. n=n-0.05
  641. end
  642. for i=0,1,0.2 do
  643. wait()
  644. Neck.C0=necko*euler(-0.8+1*i,0,0)
  645. RW.C0=cf(6,5-3*i,2*i)*euler(-3+2*i,0,-0.6)
  646. RW.C1=cf(0,5-3*i,0)
  647. LW.C0=cf(-6,5-3*i,2*i)*euler(-3+2*i,0,0.6)
  648. LW.C1=cf(0,5-3*i,0)
  649. end
  650. tehCF=Torso.CFrame*cf(0,-5,10)
  651. refprt=part(3,Character,0,1,BrickColor.new("Black"),"Effect",vt())
  652. refprt.Anchored=true
  653. refprt.CFrame=tehCF
  654. so("http://roblox.com/asset/?id=157878578",refprt,1,0.4)
  655. so("http://roblox.com/asset/?id=2101148",refprt,1,0.6)
  656. game:GetService("Debris"):AddItem(refprt,2)
  657. MagicCircle(BrickColor.new("Bright red"),tehCF,1,1,1,5,5,5,0.05)
  658. MagicRing(BrickColor.new("Really red"),cf(refprt.Position)*euler(1.57,0,0),1,1,1,3,3,3,0.02)
  659. for _,c in pairs(workspace:children()) do
  660. local hum=c:findFirstChild("Humanoid")
  661. if hum~=nil then
  662. local head=c:findFirstChild("Torso")
  663. if head~=nil then
  664. local targ=head.Position-refprt.Position
  665. local mag=targ.magnitude
  666. if mag<=30 and c.Name~=Character.Name then
  667. Damagefunc(head,15,30,math.random(50,100),"",refprt)
  668. end
  669. end
  670. end
  671. end
  672. coroutine.resume(coroutine.create(function(Part)
  673. wait(0.5)
  674. for _,c in pairs(workspace:children()) do
  675. local hum=c:findFirstChild("Humanoid")
  676. if hum~=nil then
  677. local head=c:findFirstChild("Torso")
  678. if head~=nil then
  679. local targ=head.Position-Part.Position
  680. local mag=targ.magnitude
  681. if mag<=40 and c.Name~=Character.Name then
  682. Damagefunc(head,10,20,math.random(20,40),"Knockdown",refprt)
  683. end
  684. end
  685. end
  686. end
  687. end),refprt)
  688. wait(0.2)
  689. for i=0,1,0.1 do
  690. wait()
  691. Neck.C0=necko*euler(0.2,0,0)
  692. RW.C0=cf(6+4*i,2-1*i,2+1*i)*euler(-1+0.2*i,0,-0.6+0.8*i)
  693. RW.C1=cf(0,2-1*i,0)
  694. LW.C0=cf(-6-4*i,2-1*i,2+1*i)*euler(-1+0.2*i,0,0.6-0.8*i)
  695. LW.C1=cf(0,2-1*i,0)
  696. end
  697. attack=true
  698. end
  699.  
  700. function Roar()
  701. attack=false
  702. for i=0,1,0.05 do
  703. wait()
  704. Neck.C0=necko*euler(0.2+0.2*i,0,0)
  705. RW.C0=cf(10-4*i,1+3*i,3-3*i)*euler(-0.8-1.4*i,0,0.2-0.8*i)
  706. RW.C1=cf(0,1+3*i,0)
  707. LW.C0=cf(-10+4*i,1+3*i,3-3*i)*euler(-0.8-1.4*i,0,-0.2+0.8*i)
  708. LW.C1=cf(0,1+3*i,0)
  709. end
  710. n=2
  711. for i=0,1,0.05 do
  712. wait()
  713. Neck.C0=necko*euler(0.4+0.1*i*n,0,0)
  714. RW.C0=cf(6,4,0)*euler(-2.2+0.1*i*n,0,-0.6)
  715. RW.C1=cf(0,4,0)
  716. LW.C0=cf(-6,4,0)*euler(-2.2+0.1*i*n,0,0.6)
  717. LW.C1=cf(0,4,0)
  718. n=n-0.05
  719. end
  720. roar:Play()
  721. roar2:Play()
  722. for i=0,1,0.2 do
  723. wait()
  724. Neck.C0=necko*euler(0.5-0.7*i,0,0)
  725. RW.C0=cf(6+4*i,4-3*i,-1.8*i)*euler(-2.1+2.7*i,0,-0.6+1.2*i)
  726. RW.C1=cf(0,4-3*i,0)
  727. LW.C0=cf(-6-4*i,4-3*i,-1.8*i)*euler(-2.1+2.7*i,0,0.6-1.2*i)
  728. LW.C1=cf(0,4-3*i,0)
  729. noe=math.random(10,20)
  730. MagicRing(BrickColor.new("Really red"),Head.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,1,1,noe,noe,1,0.05)
  731. end
  732. for _,c in pairs(workspace:children()) do
  733. local hum=c:findFirstChild("Humanoid")
  734. if hum~=nil then
  735. local head=c:findFirstChild("Torso")
  736. if head~=nil then
  737. local targ=head.Position-Head.Position
  738. local mag=targ.magnitude
  739. if mag<=100 and c.Name~=Character.Name then
  740. Damagefunc(head,40,40,math.random(100,150),"Knockdown",Head)
  741. end
  742. end
  743. end
  744. end
  745. n=2
  746. for i=0,1,0.2 do
  747. wait()
  748. Neck.C0=necko*euler(-0.2-0.1*i*n,0,0)
  749. RW.C0=cf(10,1,-1.8-0.2*i*n)*euler(0.6+0.1*i*n,0,0.6+0.1*i*n)
  750. RW.C1=cf(0,1,0)
  751. LW.C0=cf(-10,1,-1.8-0.2*i*n)*euler(0.6+0.1*i*n,0,-0.6-0.1*i*n)
  752. LW.C1=cf(0,1,0)
  753. noe=math.random(10,20)
  754. MagicRing(BrickColor.new("Really red"),Head.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,1,1,noe,noe,1,0.05)
  755. n=n-0.2
  756. end
  757. wait(0.5)
  758. for i=0,1,0.1 do
  759. wait()
  760. Neck.C0=necko*euler(-0.3+0.5*i,0,0)
  761. RW.C0=cf(10,1,-2+5*i)*euler(0.7-1.5*i,0,0.7-0.5*i)
  762. RW.C1=cf(0,1,0)
  763. LW.C0=cf(-10,1,-2+5*i)*euler(0.7-1.5*i,0,-0.7+0.5*i)
  764. LW.C1=cf(0,1,0)
  765. end
  766. attack=true
  767. end
  768.  
  769. function Scatterball()
  770. attack=false
  771. for i=0,1,0.1 do
  772. wait()
  773. Neck.C0=necko*euler(0.2-0.8*i,0,0)
  774. RW.C0=cf(10,1+4*i,3-3*i)*euler(-0.8-2.2*i,0,0.2-0.6*i)
  775. RW.C1=cf(0,1+4*i,0)
  776. LW.C0=cf(-10,1+4*i,3-3*i)*euler(-0.8-2.2*i,0,-0.2+0.6*i)
  777. LW.C1=cf(0,1+4*i,0)
  778. end
  779. refprt=part(3,Character,0,1,BrickColor.new("Black"),"Effect",vt())
  780. refwld=weld(refprt,refprt,Torso,cf(0,-15,0))
  781. game:GetService("Debris"):AddItem(refprt,4)
  782. fireball=part(3,Character,0,0.5,BrickColor.new("Really red"),"Fireball",vt(10,10,10))
  783. frblmsh=mesh("SpecialMesh",fireball,"Sphere","",vt(0,0,0),vt(0.4,0.4,0.4))
  784. fireball.Anchored = true
  785. fireball.CFrame = refprt.CFrame
  786. so("http://roblox.com/asset/?id=32791565",fireball,1,1)
  787. prop=Instance.new("RocketPropulsion")
  788. prop.MaxSpeed=500000
  789. prop.CartoonFactor=0
  790. prop.MaxThrust=1000000
  791. prop.Parent=fireball
  792. prop.Target=refprt
  793. prop.ThrustD=1.5
  794. prop.TurnD=0
  795. prop.TurnP=0
  796. prop:Fire()
  797. fire=Instance.new("Fire")
  798. fire.Parent=fireball
  799. fire.Color=Color3.new(255/255,127/255,0)
  800. fire.SecondaryColor=Color3.new(0,0,0)
  801. fire.Size=5
  802. fire.Heat=20
  803. n=2
  804. con1=fireball.Touched:connect(function(hit)
  805. if hit.Parent.Name~=Character.Name and debounce==false and hit.Name~="Mini Fireball" and hit.Name~="Effect" then
  806. debounce=true
  807. minifireball.Parent=nil
  808. CF=minifireball.CFrame
  809. POS=minifireball.Position
  810. refprt2=part(3,workspace,0,1,BrickColor.new("Black"),"Effect",vt())
  811. refprt2.CFrame=CF
  812. refprt2.Anchored=true
  813. so("http://roblox.com/asset/?id=2101148",refprt2,1,0.6)
  814. game:GetService("Debris"):AddItem(refprt2,1)
  815. Damagefunc(hit,10,20,math.random(20,40),"Knockdown",refprt2)
  816. --Damagefunc(hit,10,20,math.random(50,100),"Knockdown",Torso)
  817. coroutine.resume(coroutine.create(function(tehCF)
  818. MagicCircle(BrickColor.new("Bright red"),tehCF,1,1,1,3,3,3,0.05)
  819. for i=0,1,0.1 do
  820. wait(0.1)
  821. MagicBlock(BrickColor.new("Bright red"),tehCF,1,1,1,1,1,1,0.1)
  822. end
  823. end),CF)
  824. end
  825. end)
  826. for i=0,1,0.05 do
  827. wait()
  828. frblmsh.Scale=vt(0.4+0.2*i,0.4+0.2*i,0.4+0.2*i)
  829. refwld.C0=cf(0,-15-5*i,0)
  830. fire.Size=5+10*i
  831. fire.Heat=20+10*i
  832. Neck.C0=necko*euler(-0.6-0.1*i*n,0,0)
  833. RW.C0=cf(10,5,0)*euler(-3-0.1*i*n,0,-0.4-0.1*i*n)
  834. RW.C1=cf(0,5,0)
  835. LW.C0=cf(-10,5,0)*euler(-3-0.1*i*n,0,0.4+0.1*i*n)
  836. LW.C1=cf(0,5,0)
  837. n=n-0.05
  838. end
  839. n=2
  840. for i=0,1,0.1 do
  841. wait()
  842. frblmsh.Scale=vt(0.6+0.8*i,0.6+0.8*i,0.6+0.8*i)
  843. fire.Size=15+5*i
  844. fire.Heat=30+10*i
  845. Neck.C0=necko*euler(-0.7-0.1*i*n,0,0)
  846. RW.C0=cf(10,5,0)*euler(-3.1-0.2*i*n,0,-0.5+0.6*i*n)
  847. RW.C1=cf(0,5,0)
  848. LW.C0=cf(-10,5,0)*euler(-3.1-0.2*i*n,0,0.5-0.6*i*n)
  849. LW.C1=cf(0,5,0)
  850. n=n-0.1
  851. end
  852. wait(0.5)
  853. fireball.Anchored = false
  854. fireball.Parent=nil
  855. refprt.Parent=nil
  856. for _,c in pairs(workspace:children()) do
  857. local hum=c:findFirstChild("Humanoid")
  858. if hum~=nil then
  859. local head=c:findFirstChild("Torso")
  860. if head~=nil then
  861. local targ=head.Position-Torso.Position
  862. local mag=targ.magnitude
  863. if mag<=150 and c.Name~=Character.Name then
  864. minifireball=part(3,Character,0,0.5,BrickColor.new("Really red"),"Mini Fireball",vt(10,10,10))
  865. minifireball.CFrame=fireball.CFrame*cf(math.random(-100,100)/100,math.random(-100,100)/100,math.random(-100,100)/100)
  866. minifrblmsh=mesh("SpecialMesh",minifireball,"Sphere","",vt(0,0,0),vt(0.4,0.4,0.4))
  867. game:GetService("Debris"):AddItem(minifireball,3)
  868. so("http://roblox.com/asset/?id=32791565",fireball,1,1)
  869. prop=Instance.new("RocketPropulsion")
  870. prop.MaxSpeed=500000
  871. prop.CartoonFactor=0
  872. prop.MaxThrust=1000000
  873. prop.Parent=minifireball
  874. prop.Target=head
  875. prop.ThrustD=1.5
  876. prop.TurnD=0
  877. prop.TurnP=0
  878. prop.ThrustP=10
  879. prop:Fire()
  880. fire=Instance.new("Fire")
  881. fire.Parent=minifireball
  882. fire.Color=Color3.new(255/255,127/255,0)
  883. fire.SecondaryColor=Color3.new(0,0,0)
  884. fire.Size=5
  885. fire.Heat=10
  886. prop.Target=head
  887. con2=minifireball.Touched:connect(function(hit)
  888. if hit.Parent.Name~=Character.Name and debounce==false and hit.Name~="Mini Fireball" and hit.Name~="Effect" then
  889. debounce=true
  890. minifireball.Parent=nil
  891. CF=minifireball.CFrame
  892. POS=minifireball.Position
  893. refprt2=part(3,workspace,0,1,BrickColor.new("Black"),"Effect",vt())
  894. refprt2.CFrame=CF
  895. refprt2.Anchored=true
  896. so("http://roblox.com/asset/?id=2101148",refprt2,1,0.6)
  897. game:GetService("Debris"):AddItem(refprt2,1)
  898. Damagefunc(hit,10,20,math.random(20,40),"Knockdown",refprt2)
  899. --Damagefunc(hit,10,20,math.random(50,100),"Knockdown",Torso)
  900. coroutine.resume(coroutine.create(function(tehCF)
  901. MagicCircle(BrickColor.new("Bright red"),tehCF,1,1,1,3,3,3,0.05)
  902. for i=0,1,0.1 do
  903. wait(0.1)
  904. MagicBlock(BrickColor.new("Bright red"),tehCF,1,1,1,1,1,1,0.1)
  905. end
  906. end),CF)
  907. end
  908. end)
  909. end
  910. end
  911. end
  912. end
  913. for i=0,1,0.1 do
  914. wait()
  915. Neck.C0=necko*euler(-0.7+0.7*i,0,0)
  916. RW.C0=cf(10,5,0)*euler(-3.3+2*i,0,0.1-0.5*i)
  917. RW.C1=cf(0,5,0)
  918. LW.C0=cf(-10,5,0)*euler(-3.3+2*i,0,-0.1+0.5*i)
  919. LW.C1=cf(0,5,0)
  920. end
  921. game:GetService("Debris"):AddItem(fireball,3)
  922. wait(0.4)
  923. for i=0,1,0.1 do
  924. wait()
  925. Neck.C0=necko*euler(0.2*i,0,0)
  926. RW.C0=cf(10,5-4*i,3*i)*euler(-1.3+0.5*i,0,-0.4+0.6*i)
  927. RW.C1=cf(0,5-4*i,0)
  928. LW.C0=cf(-10,5-4*i,3*i)*euler(-1.3+0.5*i,0,0.4-0.6*i)
  929. LW.C1=cf(0,5-4*i,0)
  930. end
  931. attack=true
  932. end
  933.  
  934. function Warp()
  935. attack=false
  936. for i=0,1,0.1 do
  937. wait()
  938. Neck.C0=necko*euler(0.2-0.2*i,0,0)
  939. RW.C0=cf(10,1+2.5*i,3-3*i)*euler(-0.8-0.77*i,0,0.2+1.37*i)
  940. RW.C1=cf(0,1+2.5*i,0)
  941. LW.C0=cf(-10,1+2.5*i,3-3*i)*euler(-0.8-0.77*i,0,-0.2-1.37*i)
  942. LW.C1=cf(0,1+2.5*i,0)
  943. end
  944. so("http://www.roblox.com/asset/?id=2101137",Torso,1,0.6)
  945. n=0
  946. for i=0,1,0.02 do
  947. wait()
  948. if n==5 then
  949. n=0
  950. WaveEffect(BrickColor.new("Bright red"),cf(Torso.Position)*cf(0,-7,0)*euler(0,math.random(-50,50),0),1,1,1,5+5*i,2+2*i,5+5*i,0.1)
  951. end
  952. n=n+1
  953. end
  954. MagicRing(BrickColor.new("Bright red"),cf(Torso.Position)*euler(0,0,0),200,200,200,-10,-10,-10,0.05)
  955. MagicRing(BrickColor.new("Bright red"),cf(Torso.Position)*euler(1.57,0,0),200,200,200,-10,-10,-10,0.05)
  956. MagicRing(BrickColor.new("Bright red"),cf(Torso.Position)*euler(0,1.57,0),200,200,200,-10,-10,-10,0.05)
  957. for _,c in pairs(workspace:children()) do
  958. local hum=c:findFirstChild("Humanoid")
  959. if hum~=nil then
  960. local head=c:findFirstChild("Torso")
  961. if head~=nil then
  962. local targ=head.Position-Torso.Position
  963. local mag=targ.magnitude
  964. if mag<=200 and c.Name~=Character.Name then
  965. Damagefunc(head,10,20,math.random(-100,-50),"Knockdown",Torso)
  966. end
  967. end
  968. end
  969. end
  970. so("http://www.roblox.com/asset/?id=161006182",Torso,1,0.2)
  971. so("http://www.roblox.com/asset/?id=158210228",Torso,1,0.4)
  972. for i=0,1,0.1 do
  973. wait()
  974. Neck.C0=necko*euler(0.2*i,0,0)
  975. RW.C0=cf(10,3.5-2.5*i,3*i)*euler(-1.57+0.77*i,0,1.57-1.37*i)
  976. RW.C1=cf(0,3.5-2.5*i,0)
  977. LW.C0=cf(-10,3.5-2.5*i,3*i)*euler(-1.57+0.77*i,0,-1.57+1.37*i)
  978. LW.C1=cf(0,3.5-2.5*i,0)
  979. end
  980. attack=true
  981. end
  982. mouse.Button1Down:connect(function()
  983.  
  984. end)
  985. function onKeyDown(key)
  986. if attack == true then
  987. if key == "f" then
  988. Roar()
  989. elseif key == "z" then
  990. Slam()
  991. elseif key == "x" then
  992. Warp()
  993. elseif key == "c" then
  994. Fireball()
  995. elseif key == "v" then
  996. Scatterball()
  997. end
  998. end
  999. end
  1000. mouse.KeyDown:connect(onKeyDown)
  1001. coroutine.resume(coroutine.create(function(Hum)
  1002. while Hum.Health>0 do
  1003. wait()
  1004. end
  1005. Hum.Parent=nil
  1006. BodPos.Parent=nil
  1007. for _,i in pairs(Torso:children()) do
  1008. if i.className=="Weld" then
  1009. i.Parent=nil
  1010. end
  1011. end
  1012. for _,i in pairs(Character:children()) do
  1013. if i.className=="Part" then
  1014. coroutine.resume(coroutine.create(function(Part)
  1015. Part.CanCollide=false
  1016. local f=it("Fire")
  1017. f.Parent=Part
  1018. f.Color=Color3.new(255/255,0,0)
  1019. f.Heat=20
  1020. f.Size=30
  1021. f.SecondaryColor=Color3.new(0,0,0)
  1022. local BodPos2=it("BodyPosition")
  1023. BodPos2.P=50000
  1024. BodPos2.D=1000
  1025. BodPos2.maxForce=vt(math.huge,math.huge,math.huge)
  1026. BodPos2.position=Part.Position
  1027. BodPos2.Parent=Part
  1028. local rand1=math.random(-50,50)/100
  1029. local rand2=math.random(-50,50)/100
  1030. for i=0,100 do
  1031. wait()
  1032. BodPos2.position=BodPos2.position+vt(rand1,-0.5,rand2)
  1033. end
  1034. end),i)
  1035. end
  1036. end
  1037. wait(5)
  1038. Character.Parent=nil
  1039. end),Humanoid)
  1040. --[[while Humanoid.Health>0 do
  1041. wait(1)
  1042. target,distance=findNearestTorso(Torso.Position)
  1043. if target~=nil then
  1044. print(distance)
  1045. local pos=Vector3.new(target.Parent.Torso.Position.x,Torso.Position.Y,target.Parent.Torso.Position.z)
  1046. BodGy.cframe=CFrame.new(Torso.Position,pos)*euler(-0.2,3.14,0)
  1047. if math.random(1,10)==1 then
  1048. print("ror")
  1049. Roar()
  1050. if math.random(1,2)==1 then
  1051. Warp()
  1052. Slam()
  1053. end
  1054. else
  1055. if distance<=150 and distance>=50 then
  1056. dur=math.random(1,3)
  1057. if dur==1 then
  1058. Warp()
  1059. Slam()
  1060. else
  1061. attack=math.random(1,2)
  1062. if attack==1 then Fireball()
  1063. elseif attack==2 then Scatterball()
  1064. end
  1065. end
  1066. else
  1067. attack=math.random(1,3)
  1068. if attack==1 then Fireball()
  1069. elseif attack==2 then Slam()
  1070. elseif attack==3 then Scatterball()
  1071. end
  1072. end
  1073. end
  1074. --Fireball()
  1075. --Slam()
  1076. --Roar()
  1077. --Scatterball()
  1078. --Warp()
  1079. end
  1080. Torso.CFrame=Torso.CFrame*cf(0,10,0)
  1081. BodPos.position=Lava.Position+vt(0,2,0)
  1082. end]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement