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