kirbymass72

Untitled

Jan 26th, 2019
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 53.24 KB | None | 0 0
  1. plr = game:GetService("Players").LocalPlayer
  2. char = plr.Character
  3. hum = char:FindFirstChildOfClass'Humanoid'
  4. lclick = false
  5. mouse = plr:GetMouse()
  6. size = 1
  7. rlick = false
  8. human = char.Humanoid
  9. root = char.HumanoidRootPart
  10. head = char.Head
  11. lshold = char["LeftUpperArm"].LeftShoulder
  12. rshold = char["RightUpperArm"].RightShoulder
  13. lelbow = char["LeftLowerArm"].LeftElbow
  14. relbow = char["RightLowerArm"].RightElbow
  15. lelbo = lelbow.C0
  16. relbo = relbow.C0
  17. rsho = rshold.C0
  18. lsho = lshold.C0
  19. jumping = false
  20. chipmesh = ""
  21. rad = math.rad
  22. firec = 'Deep orange'
  23. shield = false
  24. disguise = ""
  25. slam = false
  26. ff=Instance.new('ForceField', char)
  27. ff.Visible = false
  28. numb = Instance.new('NumberValue')
  29. numb.Name = 'IceVal'
  30. dis = false
  31. neck = char.Head.Neck
  32. local ang = -5
  33. local ang2 = -5
  34. local sine = 0
  35. local change = 0.5
  36. arm = 0
  37. if char:FindFirstChild'Animate' then
  38. char:FindFirstChild'Animate':Destroy()
  39. end
  40. hum.Animator.Parent = nil
  41. nec = neck.C0
  42. punch = false
  43. spikek = false
  44. cooldown = true
  45. random = math.random
  46. mainc = char.Head.BrickColor
  47. chip = false
  48. colr = char.Head.BrickColor
  49. mainf = char.Head.face.Texture
  50. wings = false
  51. face = mainf
  52. lleg = char["LeftUpperLeg"].LeftHip
  53. rleg = char["RightUpperLeg"].RightHip
  54. rle = rleg.C0
  55. lle = lleg.C0
  56. lkk = char['LeftLowerLeg'].LeftKnee
  57. rkk = char['RightLowerLeg'].RightKnee
  58. rootp = char.HumanoidRootPart.CFrame
  59. lk = lkk.C0
  60. rk = rkk.C0
  61. ice = ""
  62. torso = char:FindFirstChild('UpperTorso')
  63. butf = false
  64. previ = ""
  65. jir = false
  66. legslamm = false
  67. waist = torso.Waist
  68. wais = waist.C0
  69. rtorso = char.LowerTorso.Root
  70. rtors = rtorso.C0
  71. float = false
  72. signs = false
  73. fold = Instance.new('Folder', char)
  74. sat = false
  75. asdasd = false
  76. rootpart = root
  77. fly = false
  78. fire = false
  79. canfly = false
  80. pcd = true
  81. stop = false
  82.  
  83. mode = "None"
  84. firemode = false
  85. icemode = false
  86. bothmode = false
  87. nonemode = true
  88.  
  89. speed = 50
  90. bend = 35
  91. idle = false
  92.  
  93. color = 'Baby blue'
  94.  
  95. tfreeze = {}
  96.  
  97. slidecolors = {
  98. 'Baby blue',
  99. 'Bright red'
  100. }
  101.  
  102. freezed = {}
  103. freez = {}
  104. burnt = {}
  105. ices = {}
  106. spike = {}
  107.  
  108. local Head = char.Head
  109. local plr = game.Players.LocalPlayer
  110. local chr = plr.Character
  111. local RightUpperArm = chr["RightUpperArm"]
  112. local LeftUpperArm = chr["LeftUpperArm"]
  113. local LeftUpperLeg = chr["LeftUpperLeg"]
  114. local RightUpperLeg = chr["RightUpperLeg"]
  115. local UpperTorso = chr["UpperTorso"]
  116. local LowerTorso = chr["LowerTorso"]
  117. local HRP = chr["HumanoidRootPart"]
  118. local RightLowerArm = chr["RightLowerArm"]
  119. local RightLowerLeg = chr["RightLowerLeg"]
  120. local LeftLowerLeg = chr["LeftLowerLeg"]
  121. local LeftLowerArm = chr["LeftLowerArm"]
  122. LN = LeftLowerLeg:FindFirstChild("LeftKnee")
  123. RN = RightLowerLeg:FindFirstChild("RightKnee")
  124. RH = RightUpperLeg:FindFirstChild("RightHip")
  125. LH = LeftUpperLeg:FindFirstChild("LeftHip")
  126. LE = LeftLowerArm:FindFirstChild("LeftElbow")
  127. LS = LeftUpperArm:FindFirstChild("LeftShoulder")
  128. RS = RightUpperArm:FindFirstChild("RightShoulder")
  129. RE = RightLowerArm:FindFirstChild("RightElbow")
  130. Waist = UpperTorso:FindFirstChild("Waist")
  131. local lfoot = char['LeftFoot'].LeftAnkle
  132. local rfoot = char['RightFoot'].RightAnkle
  133. local lf = lfoot.C0
  134. local rf = rfoot.C0
  135. local LeftFoot = chr["LeftFoot"]
  136. RAA = LeftFoot:FindFirstChild("LeftAnkle")
  137. local RightFoot = chr["RightFoot"]
  138. RAA = RightFoot:FindFirstChild("RightAnkle")
  139. local Root = char.LowerTorso.Root
  140. LHc0 = LH.C0
  141. RHc0 = RH.C0
  142. LSc0 = LS.C0
  143. RSc0 = RS.C0
  144. neck0 = neck.C0
  145. Rootc0 = Root.C0
  146. Waistc0 = Waist.C0
  147.  
  148. --// Sound effects
  149.  
  150. local s5 = Instance.new('Sound', char.LeftFoot) -- walk (grass)
  151. s5.Volume = 6
  152. s5.SoundId = "rbxassetid://429617891"
  153. s5.Looped = true
  154.  
  155. local s6 = Instance.new('Sound', char.LeftFoot) -- walk (metals)
  156. s6.Volume = 6
  157. s6.SoundId = "rbxassetid://174216216"
  158. s6.Looped = true
  159.  
  160. local s7 = Instance.new('Sound', char.LeftFoot) -- walk (sand)
  161. s7.Volume = 6
  162. s7.SoundId = "rbxassetid://336575096"
  163. s7.Looped = true
  164.  
  165. local s8 = Instance.new('Sound', char.LeftFoot) -- walk (ice)
  166. s8.Volume = 6
  167. s8.SoundId = "rbxassetid://138214900"
  168. s8.Looped = true
  169.  
  170. local s12 = Instance.new('Sound', char.LeftFoot) -- walk (metal)
  171. s12.Volume = 6
  172. s12.SoundId = "rbxassetid://549006073"
  173. s12.Looped = true
  174.  
  175. local s13 = Instance.new('Sound', char.LeftFoot) -- walk (bricks and stuff)
  176. s13.Volume = 6
  177. s13.SoundId = "rbxassetid://156659098"
  178. s13.Looped = true
  179.  
  180. local s14 = Instance.new('Sound', char.LeftFoot) -- walk (carpet)
  181. s14.Volume = 9
  182. s14.SoundId = "rbxassetid://133705377"
  183. s14.Looped = true
  184.  
  185. --// fly
  186.  
  187. local bv = Instance.new("BodyVelocity")
  188. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  189. bv.velocity = mouse.Hit.lookVector * 100
  190.  
  191. local bg = Instance.new("BodyGyro")
  192. bg.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  193. bg.P = 10000
  194. bg.D = 100
  195.  
  196. --// Outfit
  197.  
  198. hum.WalkSpeed = 12
  199.  
  200. for _, a in pairs(char:children()) do
  201. if a:IsA('Pants') or a:IsA('Shirt') or a:IsA('CharacterMesh') or a:IsA('Accessory') then
  202. a:Destroy()
  203. end
  204. end
  205.  
  206. bc = char:FindFirstChild('Body Colors')
  207. bc.HeadColor = BrickColor.new('Light orange')
  208. bc.LeftArmColor = BrickColor.new('Light orange')
  209. bc.RightArmColor = BrickColor.new('Light orange')
  210. bc.LeftLegColor = BrickColor.new('Light orange')
  211. bc.RightLegColor = BrickColor.new('Light orange')
  212. bc.TorsoColor = BrickColor.new('Light orange')
  213.  
  214. local p1 = Instance.new('Part', char)
  215. p1.Anchored = false
  216. p1.CanCollide = false
  217. p1.BrickColor = BrickColor.new('Rust')
  218. local w = Instance.new('Weld', p1)
  219. w.Part0 = p1
  220. w.Part1 = char:FindFirstChild'Head'
  221. w.C0 = CFrame.new(.23,-.4,-0.2) * CFrame.Angles(rad(0),rad(0),rad(0))
  222. local m1 = Instance.new('SpecialMesh', p1)
  223. m1.MeshId = "rbxassetid://62246019"
  224. m1.TextureId = "rbxassetid://56350922"
  225. m1.Scale = Vector3.new(.62,0.7,.85)
  226.  
  227. local p1 = Instance.new('Part', char)
  228. p1.Anchored = false
  229. p1.CanCollide = false
  230. p1.BrickColor = BrickColor.new('Rust')
  231. local w = Instance.new('Weld', p1)
  232. w.Part0 = p1
  233. w.Part1 = char:FindFirstChild'Head'
  234. w.C0 = CFrame.new(-.23,-.4,-0.2) * CFrame.Angles(rad(0),rad(0),rad(0))
  235. local m1 = Instance.new('SpecialMesh', p1)
  236. m1.MeshId = "rbxassetid://62246019"
  237. m1.TextureId = "rbxassetid://267233089"
  238. m1.Scale = Vector3.new(.62,0.7,0.85)
  239.  
  240. char.Head:FindFirstChild('face').Texture = "rbxassetid://882767153"
  241.  
  242. local s = Instance.new('Shirt', char)
  243. s.ShirtTemplate = "rbxassetid://941881045"
  244. local p2 = Instance.new('Pants', char)
  245. p2.PantsTemplate = "rbxassetid://982585123"
  246.  
  247. local HBill = Instance.new("BillboardGui", char.Head)
  248. local HMain, HBarBack, HBar = Instance.new("Frame", HBill), Instance.new("Frame"), Instance.new("Frame")
  249. local HHealth, HName = Instance.new("TextLabel", HBarBack), Instance.new("TextLabel")
  250. HBill.Size = UDim2.new(15,0,2.2,0)
  251. HBill.Name = "Display"
  252. HBill.StudsOffset = Vector3.new(0,3.5,0)
  253. HBill.AlwaysOnTop = false
  254. HBill.MaxDistance = 50
  255. HBill.Enabled = true
  256. HMain.BackgroundColor3 = BrickColor.new("Really black").Color
  257. HMain.BackgroundTransparency = 0.8
  258. HMain.Size = UDim2.new(1,0,1,0)
  259. HBarBack.Parent = HMain
  260. HBarBack.BackgroundColor3 = Color3.new(0,255,0)
  261. HBarBack.BorderColor3 = Color3.new(0,0,0)
  262. HBarBack.BorderSizePixel = .25
  263. HBarBack.BackgroundTransparency = .5
  264. HBarBack.Position = UDim2.new(.025, 0, .55, 0)
  265. HBarBack.Size = UDim2.new(.95, 0, .3, 0)
  266. HHealth.BackgroundTransparency = .7
  267. HHealth.Size = UDim2.new(1,0,1,0)
  268. HHealth.Font = "SourceSansBold"
  269. HHealth.Text = ""
  270. HHealth.TextScaled = true
  271. HHealth.TextColor3 = BrickColor.new("Really black").Color
  272. HHealth.TextStrokeTransparency = 1
  273. HName.Parent = HMain
  274. HName.BackgroundTransparency = 1
  275. HName.Size = UDim2.new(1,0,.7,0)
  276. HName.Font = "SourceSansBold"
  277. HName.Text = "Shouto Todoroki"
  278. HName.TextScaled = true
  279. HName.TextColor3 = BrickColor.new("Cyan").Color
  280. HName.TextStrokeTransparency = 1
  281. HName.TextYAlignment = "Top"
  282.  
  283. hum.MaxHealth = "inf"
  284. hum.Health = hum.MaxHealth
  285.  
  286. --// Sfx
  287.  
  288. local s1 = Instance.new('Sound', lleg.Parent)
  289. s1.SoundId = "rbxassetid://138210320"
  290. s1.Volume = 1
  291.  
  292. local s2 = Instance.new('Sound', char.Head)
  293. s2.SoundId = "rbxassetid://959349317"
  294. s2.Volume = 0
  295. s2.Looped = true
  296.  
  297. local s3 = Instance.new('Sound', char.RightHand)
  298. s3.SoundId = "rbxassetid://260433522"
  299. s3.Volume = 1
  300. s3.Looped = false
  301.  
  302. local s4 = Instance.new('Sound', char.RightHand)
  303. s4.SoundId = "rbxassetid://304448425"
  304. s4.Volume = 1
  305. s4.Looped = false
  306.  
  307. --// Functions
  308.  
  309. s2:Stop()
  310.  
  311. coroutine.resume(coroutine.create(function()
  312. for i = 1,35 do
  313. wait()
  314. s2.Volume = s2.Volume + 0.1
  315. end
  316. end))
  317.  
  318. local fire1 = Instance.new("ParticleEmitter", char.LeftHand)
  319. fire1.Texture = "rbxassetid://160041569"
  320. fire1.Rotation = NumberRange.new(4, 9)
  321. fire1.RotSpeed = NumberRange.new(5, 9)
  322. fire1.Speed = NumberRange.new(5, 7)
  323. fire1.Lifetime = NumberRange.new(0.25, .28)
  324. fire1.Color = ColorSequence.new(BrickColor.new'Deep orange'.Color)
  325. fire1.Rate = 200,300
  326. fire1.Acceleration = Vector3.new( 8, 6, 6 )
  327. fire1.Transparency = NumberSequence.new(0, 0, 0, 0.13253, 0.54375, 0, 0.32092, 0.7375, 0, 0.387733, 0, 0, 0.468784 ,0.725, 0, 0.522453, 0.45625, 0, 0.615553, 0.6375, 0, 0.63965, 0 ,0, 0.744797, 0.525, 0 ,1, 0, 0 )
  328. fire1.LightEmission = 0.860
  329. fire1.Size = NumberSequence.new(1)
  330. fire1.LightInfluence = 0
  331. fire1.SpreadAngle = Vector2.new(28, 28)
  332. fire2 = fire1:Clone()
  333. fire2.Parent = char.LeftUpperArm
  334. fire3 = fire1:Clone()
  335. fire3.Parent = char.LeftLowerArm
  336.  
  337. fire1.Enabled = false
  338. fire2.Enabled = false
  339. fire3.Enabled = false
  340.  
  341. local fx = Instance.new("ParticleEmitter", root)
  342. fx.Texture = "http://www.roblox.com/asset/?id=258126401"
  343. fx.Color = ColorSequence.new(BrickColor.new'Light bluish green'.Color)
  344. fx.Rotation = NumberRange.new(-180, 180)
  345. fx.RotSpeed = NumberRange.new(-50, 50)
  346. fx.Speed = NumberRange.new(0)
  347. fx.Lifetime = NumberRange.new(0.625, 0.75)
  348. fx.Rate = 62.500
  349. fx.Transparency = NumberSequence.new(.5)
  350. fx.LightEmission = .5
  351. fx.Size = NumberSequence.new(0, 0.75, 0, 1, 1.25, 0.25)
  352. fx.LightInfluence = 0
  353. fx.Enabled = false
  354. fx.SpreadAngle = Vector2.new(150)
  355.  
  356. local ice1 = Instance.new("ParticleEmitter", char.RightHand)
  357. ice1.Texture = "rbxassetid://258128463"
  358. ice1.Color = ColorSequence.new(Color3.new(0.756863, 0.913725, 0.980392),Color3.new(0.756863, 0.913725, 0.980392))
  359. ice1.Rotation = NumberRange.new(-180, 180)
  360. ice1.RotSpeed = NumberRange.new(-90, 90)
  361. ice1.Speed = NumberRange.new(0)
  362. ice1.Lifetime = NumberRange.new(0.25, 0.40000000596046)
  363. ice1.Rate = 50
  364. ice1.Transparency = NumberSequence.new(.5)
  365. ice1.LightEmission = 0.125
  366. ice1.Size = NumberSequence.new(.7, 1, .7)
  367. ice1.LightInfluence = 0
  368. ice1.SpreadAngle = Vector2.new(150)
  369. ice2 = ice1:Clone()
  370. ice2.Parent = char.RightUpperArm
  371. ice3 = ice1:Clone()
  372. ice3.Parent = char.RightLowerArm
  373.  
  374. ice1.Enabled = false
  375. ice2.Enabled = false
  376. ice3.Enabled = false
  377.  
  378. function ice(a)
  379. local ice1 = Instance.new("ParticleEmitter", a)
  380. ice1.Texture = "rbxassetid://258128463"
  381. ice1.Color = ColorSequence.new(Color3.new(0.756863, 0.913725, 0.980392),Color3.new(0.756863, 0.913725, 0.980392))
  382. ice1.Rotation = NumberRange.new(-180, 180)
  383. ice1.RotSpeed = NumberRange.new(-90, 90)
  384. ice1.Speed = NumberRange.new(0)
  385. ice1.Lifetime = NumberRange.new(0.25, 0.40000000596046)
  386. ice1.Rate = 50
  387. ice1.Transparency = NumberSequence.new(.5)
  388. ice1.LightEmission = 0.125
  389. ice1.Size = NumberSequence.new(.7, 1, .7)
  390. ice1.LightInfluence = 0
  391. ice1.SpreadAngle = Vector2.new(150)
  392. end
  393.  
  394. function debris(a, c)
  395. for j = 1, c do
  396. wait()
  397. local pr = Instance.new("Part")
  398. pr.Name = ""
  399. pr.Anchored = true
  400. pr.BrickColor = BrickColor.new('Light bluish green')
  401. pr.CanCollide = true
  402. pr.Material = 'Ice'
  403. pr.Transparency = 0.25
  404. pr.Size = Vector3.new(math.random(10, 14), math.random(40,60), math.random(10, 14))
  405. pr.CFrame = a * CFrame.Angles(0, math.rad(c * j), 0) * CFrame.new(0, -5, math.random(18, 22)) * CFrame.Angles(math.rad(math.random(-30, -15)), math.rad(math.random(0, 1)), math.rad(math.random(0, 1)))
  406. pr.Parent = workspace
  407. game.Debris:AddItem(pr, 15)
  408. end
  409. end
  410.  
  411. function firer(a)
  412. local fire1 = Instance.new("ParticleEmitter", a)
  413. fire1.Texture = "rbxassetid://160041569"
  414. fire1.Rotation = NumberRange.new(4, 9)
  415. fire1.RotSpeed = NumberRange.new(5, 9)
  416. fire1.Speed = NumberRange.new(5, 7)
  417. fire1.Lifetime = NumberRange.new(0.2,0.6)
  418. fire1.Color = ColorSequence.new(BrickColor.new'Deep orange'.Color)
  419. fire1.Rate = 10000
  420. fire1.Acceleration = Vector3.new( 8, 6, 6 )
  421. fire1.Transparency = NumberSequence.new(0, 0, 0, 0.13253, 0.54375, 0, 0.32092, 0.7375, 0, 0.387733, 0, 0, 0.468784 ,0.725, 0, 0.522453, 0.45625, 0, 0.615553, 0.6375, 0, 0.63965, 0 ,0, 0.744797, 0.525, 0 ,1, 0, 0 )
  422. fire1.LightEmission = 0.860
  423. fire1.Size = NumberSequence.new(1)
  424. fire1.LightInfluence = 0
  425. fire1.SpreadAngle = Vector2.new(28, 28)
  426. end
  427. function fireit(a)
  428. local fire1 = Instance.new("ParticleEmitter", a)
  429. fire1.Texture = "rbxassetid://160041569"
  430. fire1.Rotation = NumberRange.new(5, 10)
  431. fire1.RotSpeed = NumberRange.new(3, 12)
  432. fire1.Speed = NumberRange.new(6, 12)
  433. fire1.Lifetime = NumberRange.new(0.2,0.6)
  434. fire1.Color = ColorSequence.new(BrickColor.new('Deep orange').Color)
  435. fire1.Rate = 100000
  436. fire1.Acceleration = Vector3.new( 0, 0, 10 )
  437. fire1.Transparency = NumberSequence.new(0, 0, 0, 0.13253, 0.54375, 0, 0.32092, 0.7375, 0, 0.387733, 0, 0, 0.468784 ,0.725, 0, 0.522453, 0.45625, 0, 0.615553, 0.6375, 0, 0.63965, 0 ,0, 0.744797, 0.525, 0 ,1, 0, 0 )
  438. fire1.LightEmission = 1
  439. fire1.Size = NumberSequence.new(1.5)
  440. fire1.LightInfluence = 0
  441. fire1.SpreadAngle = Vector2.new(1,1)
  442. return fireit
  443. end
  444. function ic(a)
  445. local fire1 = Instance.new("ParticleEmitter", a)
  446. fire1.Texture = "http://www.roblox.com/asset/?id=258126401"
  447. fire1.Color = ColorSequence.new(BrickColor.new'Light bluish green'.Color)
  448. fire1.Rotation = NumberRange.new(-180, 180)
  449. fire1.RotSpeed = NumberRange.new(-50, 50)
  450. fire1.Speed = NumberRange.new(0)
  451. fire1.Lifetime = NumberRange.new(0.625, 0.75)
  452. fire1.Rate = 62.500
  453. fire1.Transparency = NumberSequence.new(.5)
  454. fire1.LightEmission = .5
  455. fire1.Size = NumberSequence.new(0, 0.75, 0, 1, 1.25, 0.25)
  456. fire1.LightInfluence = 0
  457. fire1.SpreadAngle = Vector2.new(150)
  458. end
  459.  
  460. local sous = {}
  461. function scan(p)
  462. coroutine.resume(coroutine.create(function()
  463. for _,v in pairs(p:GetChildren()) do
  464. if v:IsA("BodyVelocity") or v:IsA('BodyPosition') or v:IsA('BodyGyro') then
  465. v:Destroy()
  466. end
  467. scan(v)
  468. end
  469. end))
  470. end
  471.  
  472. function tw(string)
  473. coroutine.resume(coroutine.create(function()
  474. if mode == "Fire" then
  475. HHealth.TextColor3 = BrickColor.new("Crimson").Color
  476. elseif mode == "Ice" then
  477. HHealth.TextColor3 = BrickColor.new("Baby blue").Color
  478. else
  479. HHealth.TextColor3 = BrickColor.new("Institutional white").Color
  480. end
  481. local String = string
  482. local Length = string.len(String)
  483.  
  484. for i=1,Length do
  485. wait(.05)
  486. HHealth.Text = string.sub(String,1,i)
  487. end
  488. wait(.3)
  489. HHealth.Text = ""
  490. end))
  491. end
  492.  
  493. tw('Created by Humans')
  494.  
  495. function firestream()
  496. for i = 1,40 do
  497. for i = 1,30 do
  498. neck.C0 = neck.C0:lerp(CFrame.new(0,0.8,0)*CFrame.Angles(rad(0),rad(6.646),rad(0)),.03)
  499. LS.C0 = LS.C0:lerp(CFrame.new(-0.9,0.5,.05)*CFrame.Angles(rad(90.126),rad(0),rad(0)),.03)
  500. LE.C0 = LE.C0:lerp(CFrame.new(-0,-0.3,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.03)
  501. RS.C0 = RS.C0:lerp(CFrame.new(0.9,0.5,.05)*CFrame.Angles(rad(-2.693),rad(-27.617),rad(85.313)),.03)
  502. RE.C0 = RE.C0:lerp(CFrame.new(-0,-0.3,0)*CFrame.Angles(rad(90.699),rad(1.49),rad(0)),.03)
  503. Waist.C0 = Waist.C0:lerp(CFrame.new(-0,0.6,0)*CFrame.Angles(rad(0),rad(-4.526),rad(0)),.03)
  504. LH.C0 = LH.C0:lerp(CFrame.new(0, -0.275, 0.046)*CFrame.Angles(rad(80.501),rad(0),rad(0)),0.1)
  505. RH.C0 = RH.C0:lerp(CFrame.new(0.082, -0.038, 0.23)*CFrame.Angles(rad(-20.798),rad(9.339),rad(22.231)),0.1)
  506. LN.C0 = LN.C0:lerp(CFrame.new(0,-0.35,0)*CFrame.Angles(rad(-82.506),rad(0),rad(0)),0.1)
  507. RN.C0 = RN.C0:lerp(CFrame.new(0,-0.35,0)*CFrame.Angles(rad(-27.617),rad(0),rad(0)),0.1)
  508. LowerTorso.Root.C0 = LowerTorso.Root.C0:lerp(CFrame.new(0, -0.094, 0)*CFrame.Angles(rad(0),rad(0),rad(0)),0.05)
  509. end
  510. end
  511. wait(1)
  512. fireit(char["LeftUpperArm"])
  513. wait(1)
  514. fireit(char["LeftLowerArm"])
  515. wait(1)
  516. fireit(char["LeftHand"])
  517. local s = .05
  518. for i=1, 30 do
  519. local flame = Instance.new("Part", char)
  520. flame.Name = "StreamOfFlames"
  521. flame.Touched:connect(function(hit)
  522. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent.Name ~= plr.Name then
  523. hit.Parent:BreakJoints()
  524. firer(hit)
  525. end
  526. end)
  527. flame.Transparency = 1
  528. flame.Size = Vector3.new(5, 5, 5)
  529. flame.CanCollide = true
  530. flame.CFrame = char["LeftHand"].CFrame + Vector3.new(0,1,0)
  531. flame.Anchored = false
  532. fireit(flame)
  533. flame.ParticleEmitter.Size = NumberSequence.new(10, 14, 10, 16, 18)
  534. local bv = Instance.new("BodyVelocity", flame)
  535. bv.Velocity = plr:GetMouse().Hit.lookVector * 50
  536. bv.MaxForce = Vector3.new(1e8, 7.5, 1e8)
  537. wait(.2)
  538. end
  539. wait(1)
  540. for i,v in pairs(char:GetChildren())do
  541. if v.Name == "LeftHand" or v.Name == "LeftUpperArm" or v.Name == "LeftLowerArm" then
  542. for i,a in pairs(v:GetChildren())do
  543. if a:IsA("ParticleEmitter") then
  544. if a.LightEmission == 1 then
  545. a:Destroy()
  546. end
  547. end
  548. end
  549. end
  550. if v.Name == "StreamOfFlames" then
  551. v:Destroy()
  552. end
  553. end
  554. end
  555.  
  556. function firemove()
  557. fire1.Enabled = true
  558. fire2.Enabled = true
  559. fire3.Enabled = true
  560. wait(.6)
  561. for i = 0,1,0.1 do
  562. wait()
  563. lshold.C0 = lshold.C0:lerp(lsho*CFrame.new(0.036, -0.178, -0.051) * CFrame.Angles(math.rad(78), 0, math.rad(25)),i)
  564. rshold.C0 = rshold.C0:lerp(rsho*CFrame.new(-0.143, -0.209, -0.185) * CFrame.Angles(math.rad(78), math.rad(-3), math.rad(-25)),i)
  565. lelbow.C0 = lelbow.C0:lerp(lelbo*CFrame.Angles(0, 0, math.rad(26)),i)
  566. relbow.C0 = relbow.C0:lerp(relbo*CFrame.Angles(0, 0, math.rad(-26)),i)
  567. end
  568. local fball = Instance.new('Part', char)
  569. firer(fball)
  570. fball.Touched:connect(function(hit)
  571. if hit.Parent and hit and hit.Parent.Name ~= plr.Name and hit.Parent:FindFirstChildOfClass'Humanoid' then
  572. local targ = hit.Parent
  573. local humtarg = targ:FindFirstChildOfClass'Humanoid'
  574. targ:BreakJoints()
  575. local _t = 0
  576. repeat
  577. wait(.3)
  578. local _p = fball:Clone()
  579. if _p:FindFirstChild("BodyVelocity") then
  580. _p.BodyVelocity.Velocity = Vector3.new(math.random(-360, 360),math.random(-360, 360),math.random(-360, 360))
  581. end
  582. if _p:FindFirstChildOfClass("ParticleEmitter") then
  583. _p:FindFirstChildOfClass("ParticleEmitter").Size = NumberSequence.new(.1)
  584. end
  585. _p.Size = (_p.Size/3)
  586. _p.Transparency = .5
  587. until _t == 20
  588. end
  589. end)
  590. fball.Name = 'fireball'
  591. fball.Size = Vector3.new(0.1,0.1,0.1)
  592. fball.Shape = 'Ball'
  593. fball.BrickColor = BrickColor.new'Crimson'
  594. fball.TopSurface = 0
  595. fball.BottomSurface = 0
  596. fball.Anchored = false
  597. fball.CanCollide = false
  598. fball.Material = 'Slate'
  599. local w = Instance.new('Weld', char)
  600. w.Name = 'itsjustaweldbro'
  601. w.Part0 = fball
  602. w.Part1 = char.LeftHand
  603. w.C0 = CFrame.new(0,-0.5,0)
  604. for i = 1,25 do
  605. fball.Size = fball.Size + Vector3.new(.0225,.0225,.0225)
  606. local w = Instance.new('Weld', char)
  607. w.Name = 'itsjustaweldbro'
  608. w.Part0 = fball
  609. w.Part1 = char.LeftHand
  610. w.C0 = CFrame.new(0,1.25,0)
  611. wait()
  612. end
  613. wait(.8)
  614. s4:Play()
  615. for _, a in pairs(char:children()) do
  616. if a:IsA('Weld') then
  617. a:Destroy()
  618. end
  619. end
  620. local siz = 1
  621. local bv = Instance.new("BodyVelocity")
  622. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  623. bv.velocity = mouse.Hit.lookVector * 50
  624. bv.Parent = fball
  625. wait(1)
  626. for i = 1,25 do
  627. wait()
  628. fball:FindFirstChildOfClass'ParticleEmitter'.Size = NumberSequence.new(siz)
  629. fball.Size = fball.Size + Vector3.new(2,2,2)
  630. bv.velocity = mouse.Hit.lookVector * 50
  631. siz = siz + 1
  632. end
  633. fire1.Enabled = false
  634. fire2.Enabled = false
  635. fire3.Enabled = false
  636. end
  637.  
  638. function fmove()
  639. local fire1 = Instance.new("ParticleEmitter", char.LeftHand)
  640. fire1.Texture = "rbxassetid://160041569"
  641. fire1.Rotation = NumberRange.new(4, 9)
  642. fire1.RotSpeed = NumberRange.new(5, 9)
  643. fire1.Speed = NumberRange.new(5, 7)
  644. fire1.Lifetime = NumberRange.new(0.2,2)
  645. fire1.Color = ColorSequence.new(BrickColor.new'Deep orange'.Color)
  646. fire1.Rate = 10000
  647. fire1.Acceleration = Vector3.new( 8, 6, 6 )
  648. fire1.Transparency = NumberSequence.new(0, 0, 0, 0.13253, 0.54375, 0, 0.32092, 0.7375, 0, 0.387733, 0, 0, 0.468784 ,0.725, 0, 0.522453, 0.45625, 0, 0.615553, 0.6375, 0, 0.63965, 0 ,0, 0.744797, 0.525, 0 ,1, 0, 0 )
  649. fire1.LightEmission = 0.860
  650. fire1.Size = NumberSequence.new(5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100)
  651. fire1.LightInfluence = 0
  652. fire1.SpreadAngle = Vector2.new(0)
  653. end
  654.  
  655. function hit(b)
  656. for _,v in pairs(workspace:children()) do
  657. if v:IsA('Model') and v.Name ~= plr.Name and v:FindFirstChild("HumanoidRootPart") and v:FindFirstChildOfClass("Humanoid") then
  658. if (v.HumanoidRootPart.Position-ice.Position).magnitude <=b then
  659. if not hit.Parent:FindFirstChild'IceVal' then
  660. local targ = v
  661. table.insert(freezed,v)
  662. local b = numb:Clone()
  663. b.Parent = targ
  664. local humtarg = targ:FindFirstChildOfClass'Humanoid'
  665. humtarg.WalkSpeed = 0
  666. humtarg.JumpPower = 0
  667. local a = p:Clone()
  668. game:service'Debris':AddItem(a,7)
  669. a.Parent = char
  670. a.Shape = 'Block'
  671. a.Size = Vector3.new(2.56, 1, 2)
  672. if targ:FindFirstChild'Torso' then
  673. a.CFrame = targ.Torso.CFrame * CFrame.new(0,-2.5,0)
  674. elseif targ:FindFirstChild'UpperTorso' then
  675. a.CFrame = targ.HumanoidRootPart.CFrame * CFrame.new(0,-2.5,0)
  676. end
  677. end
  678. end
  679. end
  680. end
  681. end
  682.  
  683. function freeze()
  684. ice1.Enabled = true
  685. ice2.Enabled = true
  686. ice3.Enabled = true
  687. hum.WalkSpeed = 0
  688. hum.JumpPower = 0
  689. local p = Instance.new('Part', char)
  690. ice(p)
  691. p.Touched:connect(function(hit)
  692. if hit.Parent and hit.Parent:FindFirstChildOfClass'Humanoid' and hit.Parent.Name ~= plr.Name then
  693. if not hit.Parent:FindFirstChild'IceVal' then
  694. local targ = hit.Parent
  695. table.insert(freezed,targ)
  696. local b = numb:Clone()
  697. b.Parent = targ
  698. local humtarg = targ:FindFirstChildOfClass'Humanoid'
  699. humtarg.WalkSpeed = 0
  700. humtarg.JumpPower = 0
  701. local a = p:Clone()
  702. game:service'Debris':AddItem(a,7)
  703. a.Parent = char
  704. a.Shape = 'Block'
  705. a.Size = Vector3.new(2.56, 1, 2)
  706. if targ:FindFirstChild'Torso' then
  707. a.CFrame = targ.Torso.CFrame * CFrame.new(0,-2.5,0)
  708. elseif targ:FindFirstChild'UpperTorso' then
  709. a.CFrame = targ.HumanoidRootPart.CFrame * CFrame.new(0,-2.5,0)
  710. end
  711. end
  712. end
  713. end)
  714. game:service'Debris':AddItem(p,9)
  715. p.Anchored = true
  716. p.CanCollide = false
  717. p.Shape = 'Cylinder'
  718. p.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,-2.3,0) * CFrame.Angles(0,0,rad(-90))
  719. p.Size = Vector3.new(0.2,0,0.2)
  720. p.BrickColor = BrickColor.new('Light bluish green')
  721. p.Material = 'Ice'
  722. for i = 0,1,0.1 do
  723. wait()
  724. rtorso.C0 = rtorso.C0:lerp(rtors*CFrame.new(0, -0.887, 0.2) * CFrame.Angles(math.rad(-9.74), 0, 0),i)
  725. waist.C0 = waist.C0:lerp(wais*CFrame.new(0, -0.118, -0.201) * CFrame.Angles(math.rad(-55.634), 0, 0),i)
  726. lshold.C0 = lshold.C0:lerp(lsho*CFrame.new(0, -0.11, -0.375) * CFrame.Angles(math.rad(73.625), 0, 0),i)
  727. rshold.C0 = rshold.C0:lerp(rsho*CFrame.new(0, -0.308, -0.164) * CFrame.Angles(math.rad(69.5), 0, 0),i)
  728. neck.C0 = neck.C0:lerp(nec*CFrame.Angles(math.rad(57.124), 0, 0),i)
  729. lleg.C0 = lleg.C0:lerp(lle*CFrame.Angles(math.rad(17.991), 0, 0),i)
  730. rleg.C0 = rleg.C0:lerp(rle*CFrame.Angles(math.rad(3.094), 0, 0),i)
  731. lkk.C0 = lkk.C0:lerp(lk*CFrame.Angles(math.rad(-108.977), 0, 0),i)
  732. rkk.C0 = rkk.C0:lerp(rk*CFrame.new(0, -0.02, -0.057) * CFrame.Angles(math.rad(-104.622), 0, 0),i)
  733. end
  734. for i = 1,150 do
  735. wait()
  736. p.Size = p.Size + Vector3.new(0,3,3)
  737. p.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,-2.3,0) * CFrame.Angles(0,0,rad(-90))
  738. end
  739. for i = 0,1,0.08 do
  740. wait()
  741. rtorso.C0 = rtorso.C0:lerp(rtors,i)
  742. waist.C0 = waist.C0:lerp(wais,i)
  743. lshold.C0 = lshold.C0:lerp(lsho,i)
  744. rshold.C0 = rshold.C0:lerp(rsho,i)
  745. neck.C0 = neck.C0:lerp(nec,i)
  746. lleg.C0 = lleg.C0:lerp(lle,i)
  747. rleg.C0 = rleg.C0:lerp(rle,i)
  748. lkk.C0 = lkk.C0:lerp(lk,i)
  749. rkk.C0 = rkk.C0:lerp(rk,i)
  750. end
  751. for _, a in pairs(freezed) do
  752. wait(.05)
  753. if a:FindFirstChildOfClass'NumberValue' then
  754. a:FindFirstChildOfClass'NumberValue':Destroy()
  755. end
  756. a:FindFirstChildOfClass'Humanoid'.WalkSpeed = 16
  757. a:FindFirstChildOfClass'Humanoid'.JumpPower = 56
  758. end
  759. hum.WalkSpeed = 12
  760. hum.JumpPower = 50
  761. wait(4)
  762. for _, a in pairs(freezed) do
  763. wait(.05)
  764. if a:FindFirstChildOfClass'NumberValue' then
  765. a:FindFirstChildOfClass'NumberValue':Destroy()
  766. end
  767. a:FindFirstChildOfClass'Humanoid'.WalkSpeed = 16
  768. a:FindFirstChildOfClass'Humanoid'.JumpPower = 56
  769. end
  770. end
  771.  
  772. function legslam()
  773. legslamm = true
  774. for i = 0,1,0.1 do
  775. wait()
  776. neck.C0 = neck.C0:lerp(nec*CFrame.Angles(rad(12), 0, 0),i)
  777. rleg.C0 = rleg.C0:lerp(rle*CFrame.new(0, 0.57, -0.725) * CFrame.Angles(math.rad(11.23), 0, 0),i)
  778. end
  779. for i = 0,1,0.1 do
  780. wait()
  781. neck.C0 = neck.C0:lerp(nec*CFrame.Angles(math.rad(-20), 0, 0),i)
  782. rleg.C0 = rleg.C0:lerp(rle*CFrame.new(0, 0.134, -0.71),i)
  783. end
  784. s1:Play()
  785. wait(.5)
  786. for i = 0,1,0.1 do
  787. wait()
  788. neck.C0 = neck.C0:lerp(nec,i)
  789. rleg.C0 = rleg.C0:lerp(rle,i)
  790. end
  791. legslamm=false
  792. end
  793.  
  794. function icemove()
  795. debris(char:FindFirstChild('HumanoidRootPart').CFrame,15)
  796. end
  797.  
  798. function spikes()
  799. local a = 10
  800. local face = ""
  801. local b = .2
  802. local c = 8
  803. legslam()
  804. wait(0.2)
  805. for i = 1,12 do
  806. local p = Instance.new('Part', char)
  807. ice(p)
  808. p.Name = 'Spike'
  809. table.insert(spike,p)
  810. local m = Instance.new('SpecialMesh', p)
  811. m.MeshId = 'rbxassetid://1033714'
  812. m.Scale = Vector3.new(5, 54, 5)
  813. p.BrickColor = BrickColor.new('Light bluish green')
  814. p.Material = 'Ice'
  815. p.Anchored = true
  816. p.CanCollide = false
  817. p.Size = Vector3.new(5,20,5)
  818. p.Position = char.HumanoidRootPart.Position + char.HumanoidRootPart.CFrame.lookVector * a
  819. p.Position = p.Position + Vector3.new(0,-27,0)
  820. p.Touched:connect(function(hit)
  821. if hit.Parent and hit.Parent:FindFirstChildOfClass'Humanoid' then
  822. hit.Parent:Destroy()
  823. end
  824. end)
  825. a = a + 10
  826. for i = 1,8 do
  827. wait()
  828. p.Position = p.Position + Vector3.new(0,b,0)
  829. b = b + .03
  830. end
  831. end
  832. b = .2
  833. wait(4)
  834. for _, a in pairs(spike) do
  835. for i = 1,20 do
  836. wait(.05)
  837. a.CFrame = a.CFrame * CFrame.new(0,-b,0)
  838. b = b + .08
  839. end
  840. end
  841. spike = {}
  842. b = .2
  843. for _, a in pairs(char:children()) do
  844. if a.Name == 'Spike' and a:IsA'Part' then
  845. a:Destroy()
  846. end
  847. end
  848.  
  849. end
  850. function slide()
  851. for i = 0,1,0.1 do
  852. wait()
  853. neck.C0 = neck.C0:lerp(CFrame.new(0,0.8,0)*CFrame.Angles(rad(0),rad(11.287),rad(0)),i)
  854. LS.C0 = LS.C0:lerp(CFrame.new(-1.2,0.5,.05)*CFrame.Angles(rad(76.375),rad(4.412),rad(-19.939)),i)
  855. LE.C0 = LE.C0:lerp(CFrame.new(-0,-0.3,0)*CFrame.Angles(rad(12.605),rad(0),rad(0)),i)
  856. RS.C0 = RS.C0:lerp(CFrame.new(1.2,0.5,.05)*CFrame.Angles(rad(-43.602),rad(-26.814),rad(46.696)),i)
  857. RE.C0 = RE.C0:lerp(CFrame.new(-0,-0.3,0)*CFrame.Angles(rad(84.454),rad(0),rad(0)),i)
  858. Waist.C0 = Waist.C0:lerp(CFrame.new(-0,0.6,0)*CFrame.Angles(rad(0),rad(-8.881),rad(0)),i)
  859. LH.C0 = LH.C0:lerp(CFrame.new(-0.5,-0.35,0)*CFrame.Angles(rad(14.553),rad(35.294),rad(-6.016)),i)
  860. RH.C0 = RH.C0:lerp(CFrame.new(0.5,-0.35,0)*CFrame.Angles(rad(0),rad(-8.193),rad(13.178)),i)
  861. LN.C0 = LN.C0:lerp(CFrame.new(0,-0.35,0)*CFrame.Angles(rad(-11.86),rad(0),rad(0)),i)
  862. RN.C0 = RN.C0:lerp(CFrame.new(0,-0.35,0)*CFrame.Angles(rad(-20.111),rad(0),rad(0)),i)
  863. LowerTorso.Root.C0 = LowerTorso.Root.C0:lerp(CFrame.new(-0,0,0)*CFrame.Angles(rad(0),rad(-19.824),rad(0)),i)
  864. end
  865. hum.WalkSpeed = 0
  866. for i = 1,65 do
  867. wait(.05)
  868. local ap = Instance.new('Part', char)
  869. ap.Anchored = true
  870. ap.CanCollide = false
  871. ap.Size = Vector3.new(0.2,0.2,0.2)
  872. ap.Transparency = 1
  873. ap.Position = rootpart.Position + rootpart.CFrame.lookVector * 2
  874. rootpart.CFrame = ap.CFrame
  875. local spart = Instance.new('Part', char)
  876. table.insert(ices,spart)
  877. spart.Touched:connect(function(hit)
  878. if hit and mode == "Ice" and hit.Parent.Name ~= plr.Name and hit.Parent and hit.Parent:FindFirstChildOfClass'Humanoid' then
  879. local targ = hit.Parent
  880. table.insert(tfreeze,targ)
  881. local humtarg = targ:FindFirstChildOfClass'Humanoid'
  882. humtarg.WalkSpeed = humtarg.WalkSpeed/2
  883. end
  884. end)
  885. spart.Name = 'IceSlide'
  886. spart.CanCollide = false
  887. spart.Material = 'Neon'
  888. spart.Anchored = true
  889. spart.Size = Vector3.new(5, 0.05, 5)
  890. spart.BrickColor = BrickColor.new(color)
  891. spart.CFrame = rootpart.CFrame * CFrame.new(0,-2.3,0) * CFrame.Angles(0,math.random(1,500),0)
  892. if mode == "Both" then
  893. local s = Instance.new("Smoke", spart)
  894. s.Opacity = .8
  895. s.Size = 2.5
  896. end
  897. end
  898. hum.WalkSpeed = 12
  899. for i = 1,25 do
  900. wait()
  901. for _, a in pairs(ices) do
  902. a.Transparency = a.Transparency + 0.1
  903. end
  904. end
  905. for _, a in pairs(ices) do
  906. a:Destroy()
  907. end
  908. for _, a in pairs(tfreeze) do
  909. a:FindFirstChildOfClass'Humanoid'.WalkSpeed = 16
  910. end
  911. tfreeze = {}
  912. bg.Parent = script
  913. end
  914.  
  915. function flyy()
  916. fire1.Enabled = true
  917. fire2.Enabled = false
  918. fire3.Enabled = false
  919. ice1.Enabled = true
  920. ice2.Enabled = true
  921. ice3.Enabled = true
  922. bg.Parent = root
  923. bv.Parent = root
  924. hum.Sit = true
  925. end
  926.  
  927. function unfly()
  928. fire1.Enabled = false
  929. fire2.Enabled = false
  930. fire3.Enabled = false
  931. ice1.Enabled = true
  932. ice2.Enabled = true
  933. ice3.Enabled = true
  934. fly = false
  935. for i = 0,1,0.1 do
  936. wait()
  937. rtorso.C0 = rtorso.C0:lerp(rtors, 0.1)
  938. end
  939. bg.Parent = script
  940. bv.Parent = script
  941. hum.Sit = false
  942. end
  943.  
  944. --// Keys
  945.  
  946. mouse.Button2Down:connect(function()
  947. rclick = true
  948. end)
  949.  
  950. mouse.Button2Down:connect(function()
  951. rclick = false
  952. end)
  953.  
  954. mouse.Button1Down:connect(function()
  955. if mouse.Target and cooldown and mouse.Target.Parent and mouse.Target.Parent:FindFirstChildOfClass'Humanoid' then
  956. if mode == 'Ice' or mode == 'Both' then
  957. if not mouse.Target:FindFirstChild'Id' then
  958. local targ = mouse.Target
  959. table.insert(freez,targ.Parent)
  960. local a = Instance.new('NumberValue', targ.Parent)
  961. a.Name = 'Id'
  962. tw('FREEZE!')
  963. fire = true
  964. cooldown = false
  965. for i = 0,1,0.1 do
  966. wait()
  967. rshold.C0 = rshold.C0:lerp(rsho*CFrame.Angles(math.rad(100), math.rad(0.63), math.rad(2.063)), 0.1)
  968. end
  969. wait(0.3)
  970. local p = Instance.new('Part', char)
  971. s3:Play()
  972. ice(p)
  973. p.Anchored = false
  974. p.CanCollide = false
  975. p.Size = targ.Size + Vector3.new(0.1,0.1,0.1)
  976. p.Transparency = 0.5
  977. p.BrickColor = BrickColor.new'Light bluish green'
  978. p.Material = 'Ice'
  979. local w = Instance.new('Weld', p)
  980. w.Part0 = p
  981. w.Part1 = targ
  982. if targ.Parent:FindFirstChildOfClass'Humanoid' then
  983. targ.Parent:FindFirstChildOfClass'Humanoid'.WalkSpeed = 0
  984. targ.Parent:FindFirstChildOfClass'Humanoid'.JumpPower = 0
  985. end
  986. HHealth.Text = ""
  987. for i = 0,1,0.1 do
  988. wait()
  989. rshold.C0 = rshold.C0:lerp(rsho, 0.1)
  990. end
  991. cooldown = true
  992. fire = false
  993. end
  994. end
  995. end
  996. end)
  997.  
  998. mouse.Button1Down:connect(function()
  999. if mouse.Target and cooldown and mouse.Target.Parent and mouse.Target.Parent:FindFirstChildOfClass'Humanoid' then
  1000. if mode == 'Fire' then
  1001. if not mouse.Target:FindFirstChild'Id' then
  1002. local targ = mouse.Target
  1003. table.insert(burnt,targ.Parent)
  1004. if targ.Parent:FindFirstChildOfClass'NumberValue' then
  1005. targ.Parent:FindFirstChildOfClass'NumberValue':Destroy()
  1006. end
  1007. targ.Parent:FindFirstChildOfClass'Humanoid'.WalkSpeed = 16
  1008. targ.Parent:FindFirstChildOfClass'Humanoid'.JumpPower = 50
  1009. tw('BURN!')
  1010. fire = true
  1011. cooldown = false
  1012. local p = Instance.new('Part', char)
  1013. p.Anchored = false
  1014. p.CanCollide = false
  1015. p.Size = targ.Size + Vector3.new(0.1,0.1,0.1)
  1016. p.Transparency = 1
  1017. p.BrickColor = BrickColor.new'Light bluish green'
  1018. p.Material = 'Ice'
  1019. local w = Instance.new('Weld', p)
  1020. w.Part0 = p
  1021. w.Part1 = targ
  1022. for i = 0,1,0.1 do
  1023. wait()
  1024. lshold.C0 = lshold.C0:lerp(lsho*CFrame.Angles(math.rad(100), math.rad(-0.63), math.rad(-2.063)), 0.1)
  1025. end
  1026. wait(0.3)
  1027. firer(p)
  1028. wait(.3)
  1029. p:FindFirstChildOfClass'ParticleEmitter'.Enabled = false
  1030. targ:Destroy()
  1031. HHealth.Text = ""
  1032. for i = 0,1,0.1 do
  1033. wait()
  1034. lshold.C0 =lshold.C0:lerp(lsho, 0.1)
  1035. end
  1036. cooldown = true
  1037. fire = false
  1038. end
  1039. end
  1040. end
  1041. end)
  1042.  
  1043. mouse.KeyDown:connect(function(h)
  1044. if h == 'c' and cooldown and canfly == false then
  1045. cooldown = false
  1046. if mode == "None" then
  1047. mode = "Fire"
  1048. tw('FIRE MODE!')
  1049. fx.Enabled = false
  1050. ice1.Enabled = false
  1051. ice2.Enabled = false
  1052. ice3.Enabled = false
  1053. HHealth.Text = ''
  1054. elseif mode == "Ice" then
  1055. mode = "Both"
  1056. tw('FIRE AND ICE MODE!')
  1057. fx.Enabled = true
  1058. ice1.Enabled = true
  1059. ice2.Enabled = true
  1060. ice3.Enabled = true
  1061. HHealth.Text = ''
  1062. elseif mode == "Fire" then
  1063. mode = "Ice"
  1064. tw('ICE MODE!')
  1065. HName.TextColor3 = BrickColor.new("Cyan").Color
  1066. fx.Enabled = true
  1067. ice1.Enabled = true
  1068. ice2.Enabled = true
  1069. ice3.Enabled = true
  1070. HHealth.Text = ''
  1071. elseif mode == "Both" then
  1072. mode = "None"
  1073. tw("I shouldn't waste my energy..")
  1074. fx.Enabled = false
  1075. ice1.Enabled = false
  1076. ice2.Enabled = false
  1077. ice3.Enabled = false
  1078. HHealth.Text = ''
  1079. end
  1080. wait(.2)
  1081. cooldown = true
  1082. end
  1083. if h == 'm' and cooldown and canfly == false then
  1084. if mode == "Ice" or mode == "Fire" or mode == "Both" then
  1085. fire = true
  1086. cooldown = false
  1087. slide()
  1088. fire = false
  1089. cooldown = true
  1090. end
  1091. end
  1092. if h == 'q' and cooldown then
  1093. if mode == "Ice" or mode == "Both" then
  1094. cooldown = false
  1095. fire = true
  1096. tw('FREEZE!')
  1097. freeze()
  1098. HHealth.Text = ""
  1099. fire = false
  1100. cooldown = true
  1101. end
  1102. end
  1103. if h == 'f' and cooldown then
  1104. if mode == "Fire" or mode == "Both" then
  1105. cooldown = false
  1106. fire = true
  1107. tw('FIRE BALL!')
  1108. firemove()
  1109. HHealth.Text = ""
  1110. fire = false
  1111. cooldown = true
  1112. end
  1113. end
  1114. if h == 'e' and cooldown then
  1115. if mode == "Ice" or mode == "Both" then
  1116. cooldown = false
  1117. fire = true
  1118. tw('ICE SHIELD!')
  1119. icemove()
  1120. HHealth.Text = ""
  1121. fire = false
  1122. cooldown = true
  1123. elseif mode == "Fire" then
  1124. cooldown = false
  1125. fire = true
  1126. tw('FIRE STREAM!')
  1127. firestream()
  1128. wait()
  1129. HHealth.Text = ""
  1130. fire = false
  1131. cooldown = true
  1132. end
  1133. end
  1134. if h == 'r' and cooldown then
  1135. if canfly == false and mode == "Both" then
  1136. canfly = true
  1137. cooldown = false
  1138. flyy()
  1139. cooldown = true
  1140. elseif canfly and cooldown then
  1141. canfly = false
  1142. cooldown = false
  1143. unfly()
  1144. for i = 0,1,0.1 do
  1145. wait()
  1146. rtorso.C0 = rtorso.C0:lerp(rtors, 0.1)
  1147. end
  1148. cooldown = true
  1149. end
  1150. end
  1151. end)
  1152.  
  1153. --// Nothing
  1154.  
  1155. fire = false
  1156. legslamm = false
  1157. fly = false
  1158.  
  1159. --// Walk fx
  1160.  
  1161. game:GetService('RunService').RenderStepped:connect(function()
  1162. if mode == "None" then
  1163. fire1.Enabled = false
  1164. fire2.Enabled = false
  1165. fire3.Enabled = false
  1166. fx.Enabled = false
  1167.  
  1168. nonemode = true
  1169. icemode = false
  1170. bothmode = false
  1171. firemode = false
  1172. elseif mode == "Fire" then
  1173. fire1.Enabled = true
  1174. fire2.Enabled = true
  1175. fire3.Enabled = true
  1176.  
  1177. firemode = true
  1178. icemode = false
  1179. bothmode = false
  1180. nonemode = false
  1181. elseif mode == "Ice" then
  1182. fire1.Enabled = false
  1183. fire2.Enabled = false
  1184. fire3.Enabled = false
  1185.  
  1186. icemode = true
  1187. bothmode = false
  1188. firemode = false
  1189. nonemode = false
  1190. elseif mode == "Both" then
  1191. fire1.Enabled = true
  1192. fire2.Enabled = true
  1193. fire3.Enabled = true
  1194.  
  1195. bothmode = true
  1196. icemode = false
  1197. firemode = false
  1198. nonemode = false
  1199. end
  1200. end)
  1201.  
  1202. game:GetService('RunService').RenderStepped:connect(function()
  1203. if canfly == true then
  1204. fly = true
  1205. elseif canfly == false then
  1206. fly = false
  1207. end
  1208. end)
  1209.  
  1210. game:GetService('RunService').RenderStepped:connect(function()
  1211. if fly and idle == false and stop == false then
  1212. hum.Sit = true
  1213. bv.velocity = mouse.Hit.lookVector * 76
  1214. bg.cframe = CFrame.new(rootpart.Position,mouse.Hit.p*Vector3.new(1,0,1)+rootpart.Position*Vector3.new(0,1,0))
  1215. rtorso.C0 = rtorso.C0:lerp(rtors * CFrame.Angles(math.rad(-75), 0, 0), 0.1)
  1216. waist.C0 = waist.C0:lerp(wais * CFrame.new(0, -0.102, 0.033) * CFrame.Angles(math.rad(13.866), 0, 0), 0.1)
  1217. lshold.C0 = lshold.C0:lerp(lsho * CFrame.Angles(math.rad(-27.044), math.rad(12.319), math.rad(-23.319)), 0.1)
  1218. rshold.C0 = rshold.C0:lerp(rsho * CFrame.Angles(math.rad(-27.044), math.rad(-12.319), math.rad(23.319)), 0.1)
  1219. lleg.C0 = lleg.C0:lerp(lle * CFrame.Angles(math.rad(-13.808), 0, math.rad(-4.698)), 0.1)
  1220. neck.C0 = neck.C0:lerp(nec * CFrame.Angles(math.rad(11.574), 0, 0), 0.1)
  1221. rleg.C0 = rleg.C0:lerp(rle * CFrame.Angles(math.rad(-15.241), 0, math.rad(3.38)), 0.1)
  1222. end
  1223. end)
  1224.  
  1225. game:GetService('RunService').RenderStepped:connect(function()
  1226. for _, a in pairs(freez) do
  1227. if a:FindFirstChildOfClass'NumberValue' then
  1228. a:FindFirstChildOfClass'Humanoid'.WalkSpeed = 0
  1229. end
  1230. end
  1231. end)
  1232.  
  1233. game:GetService('RunService').RenderStepped:connect(function()
  1234. for _, a in pairs(freezed) do
  1235. if a:FindFirstChildOfClass'NumberValue' then
  1236. a:FindFirstChildOfClass'Humanoid'.WalkSpeed = 0
  1237. end
  1238. end
  1239. end)
  1240.  
  1241. game:GetService('RunService').RenderStepped:connect(function()
  1242. sine = change+sine
  1243. ang = ang+0.08
  1244. ang2 = ang2+0.01
  1245. rad = math.rad
  1246. sin = math.sin
  1247. arm = arm + 0.06
  1248.  
  1249. if fly == false and legslamm == false and fire == false and Vector3.new(root.Velocity.X,0,root.Velocity.Z).magnitude > 2 then
  1250. lleg.C0 = lleg.C0:lerp(lle * CFrame.Angles(-1, 0, 0), 0.1)
  1251. rleg.C0 = rleg.C0:lerp(rle * CFrame.Angles(-1, 0, 0), 0.1)
  1252. lshold.C0 = lshold.C0:lerp(CFrame.new(0,0,0) * lsho * CFrame.Angles(0, 0, math.rad(-13.579)), 0.1)
  1253. rshold.C0 = rshold.C0:lerp(CFrame.new(0,0,0) * rsho * CFrame.Angles(0, 0, math.rad(15.355)), 0.1)
  1254. end
  1255.  
  1256. if fly == false and legslamm == false and Vector3.new(root.Velocity.X,0,root.Velocity.Z).magnitude > 2 then
  1257. lleg.C0 = lleg.C0:lerp(CFrame.new(-0.53,-0.15+0.1*-math.cos(tick()*4),0.2*math.sin(tick()*4))*CFrame.Angles(math.rad(25*-math.sin(tick()*8)), rad(-1), rad(0)), 1.5) * CFrame.Angles(-0.1, 0, 0)
  1258. rleg.C0 = rleg.C0:lerp(CFrame.new(0.53,-0.15+0.1*math.cos(tick()*4),0.2*-math.sin(tick()*4))*CFrame.Angles(math.rad(25*math.sin(tick()*8)), rad(10), rad(0)), 1.5) * CFrame.Angles(-0.1, 0, 0)
  1259.  
  1260. lleg.C0 = lleg.C0:lerp(lle * CFrame.Angles(-0.4, 0, 0), 0.1)
  1261. rleg.C0 = rleg.C0:lerp(rle * CFrame.Angles(0.4, 0, 0), 0.1)
  1262.  
  1263. elseif fly == false and legslamm == false and Vector3.new(root.Velocity.X,0,root.Velocity.Z).magnitude < 2 then
  1264. lleg.C0 = lleg.C0:lerp(lle,0.1)
  1265. rleg.C0 = rleg.C0:lerp(rle,0.1)
  1266. end
  1267.  
  1268. if fly == false and fire == false and Vector3.new(root.Velocity.X,0,root.Velocity.Z).magnitude > 2 then
  1269. lshold.C0 = lshold.C0:lerp(lsho*CFrame.Angles(math.rad(-25*-math.sin(tick()*8)), rad(-1), rad(0)), 1.5) * CFrame.Angles(0.1, 0, 0)
  1270. rshold.C0 = rshold.C0:lerp(rsho*CFrame.Angles(math.rad(25*-math.sin(tick()*8)), rad(-1), rad(0)), 1.5) * CFrame.Angles(0.1, 0, 0)
  1271.  
  1272. lshold.C0 = lshold.C0:lerp(CFrame.new(0,0,0) * lsho * CFrame.Angles(0, 0, math.rad(-13.579)), 0.1)
  1273. rshold.C0 = rshold.C0:lerp(CFrame.new(0,0,0) * rsho * CFrame.Angles(0, 0, math.rad(15.355)), 0.1)
  1274. end
  1275.  
  1276. if idle == false and fly == false and legslamm == false and fire == false and Vector3.new(root.Velocity.X,0,root.Velocity.Z).magnitude < 2 then
  1277. lshold.C0 = lshold.C0:lerp(CFrame.new(0,-0.001+0.03*math.sin(tick()*5),0) * lsho * CFrame.Angles(-0.1, 0, 0), 0.1)
  1278. rshold.C0 = rshold.C0:lerp(CFrame.new(0,-0.001+0.03*math.sin(tick()*5),0) * rsho * CFrame.Angles(-0.1, 0, 0), 0.1)
  1279. neck.C0 = neck.C0:lerp(CFrame.new(0,-0.001+0.03*math.sin(tick()*5),0) * nec * CFrame.Angles(-0.1, 0, 0), 0.1)
  1280. end
  1281.  
  1282. if fly == false and legslamm == false and fire == false and Vector3.new(root.Velocity.X,0,root.Velocity.Z).magnitude > 2 then
  1283. rkk.C0 = rkk.C0:lerp(CFrame.new(0,-0.001+0.03*math.sin(tick()*5),0) * rk * CFrame.Angles(-0.1, 0, 0), 0.1)
  1284. lkk.C0 = lkk.C0:lerp(CFrame.new(0,-0.001+0.03*math.sin(tick()*5),0) * lk * CFrame.Angles(-0.1, 0, 0), 0.1)
  1285. lfoot.C0 = lfoot.C0:lerp(CFrame.new(0,-0.001+0.03*math.sin(tick()*5),0) * lf * CFrame.Angles(-0.1, 0, 0), 0.1)
  1286. rfoot.C0 = rfoot.C0:lerp(CFrame.new(0,-0.001+0.03*math.sin(tick()*5),0) * rf * CFrame.Angles(-0.1, 0, 0), 0.1)
  1287. end
  1288.  
  1289. if fly == false and legslamm == false and fire == false and Vector3.new(root.Velocity.X,0,root.Velocity.Z).magnitude < 2 then
  1290. idle = true
  1291. head.Neck.C0 = head.Neck.C0:lerp(CFrame.new(0,0.8,0)*CFrame.Angles(rad(-2.922),rad(0),rad(0)),.03)
  1292. LS.C0 = LS.C0:lerp(CFrame.new(-1.2,0.5,.05)*CFrame.Angles(rad(-25.096),rad(-15.871),rad(-50.702)),.03)
  1293. LE.C0 = LE.C0:lerp(CFrame.new(-0,-0.35,0)*CFrame.Angles(rad(14.954),rad(0),rad(0)),.03)
  1294. RS.C0 = RS.C0:lerp(CFrame.new(0.9,0.5,.05)*CFrame.Angles(rad(-6.704),rad(-19.022),rad(50.036)),.03)
  1295. RE.C0 = RE.C0:lerp(CFrame.new(0,-0.35,0)*CFrame.Angles(rad(31.341),rad(0),rad(0)),.03)
  1296. Waist.C0 = Waist.C0:lerp(CFrame.new(0,-0.0001+0.03*math.sin(tick()*5),0) * Waistc0 * CFrame.Angles(0, math.rad(0), 0), 0.1)
  1297. LH.C0 = LH.C0:lerp(CFrame.new(-0.5,-0.35,0)*CFrame.Angles(rad(0),rad(40),rad(0)),0.1)
  1298. RH.C0 = RH.C0:lerp(CFrame.new(0.5,-0.35,0)*CFrame.Angles(rad(0),rad(-40),rad(0)),0.1)
  1299. LN.C0 = LN.C0:lerp(CFrame.new(0,-0.35,0)*CFrame.Angles(rad(-57.85),rad(0),rad(0)),0.1)
  1300. RN.C0 = RN.C0:lerp(CFrame.new(0,-0.35,0)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)
  1301. LowerTorso.Root.C0 = LowerTorso.Root.C0:lerp(CFrame.new(-0,0.069,0)*CFrame.Angles(rad(0),rad(0),rad(0)),0.05)
  1302. LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new(0, -0.6, -0.343)*CFrame.Angles(rad(14.095),rad(0),rad(0)),.2)
  1303. RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new(-0,-0.5,0)*CFrame.Angles(rad(-48.759),rad(0),rad(0)),.2)
  1304. else
  1305. idle = false
  1306. end
  1307. end)
  1308.  
  1309. game:GetService('RunService').RenderStepped:connect(function()
  1310. bg.cframe = CFrame.new(rootpart.Position,mouse.Hit.p*Vector3.new(1,0,1)+rootpart.Position*Vector3.new(0,1,0))
  1311. end)
  1312.  
  1313. local waiting = false
  1314. game:GetService('RunService').RenderStepped:connect(function()
  1315. if waiting == false then
  1316. waiting = true
  1317. if mode == "Ice" then
  1318. HName.TextColor3 = BrickColor.new("Cyan").Color
  1319. elseif mode == "Fire" then
  1320. HName.TextColor3 = BrickColor.new("Deep orange").Color
  1321. elseif mode == "Both" then
  1322. HName.TextColor3 = BrickColor.new(slidecolors[math.random(1,#slidecolors)]).Color
  1323. elseif mode == "None" then
  1324. HName.TextColor3 = BrickColor.new('Institutional white').Color
  1325. end
  1326. wait(.5)
  1327. waiting = false
  1328. end
  1329. end)
  1330.  
  1331. while wait() do
  1332. if mode == "Ice" then
  1333. color = slidecolors[1]
  1334. HName.TextColor3 = BrickColor.new("Cyan").Color
  1335. elseif mode == "Fire" then
  1336. color = slidecolors[2]
  1337. HName.TextColor3 = BrickColor.new("Deep orange").Color
  1338. elseif mode == "Both" then
  1339. color = slidecolors[math.random(1,#slidecolors)]
  1340. HName.TextColor3 = BrickColor.new(slidecolors[math.random(1,#slidecolors)]).Color
  1341. end
  1342. end
Add Comment
Please, Sign In to add comment