Guest User

Untitled

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