Advertisement
Guest User

Todoroki Shouto FE

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