View difference between Paste ID: uD2QVxcm and cEt9q02B
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
wait(1/100)
143
--for studio testing
144
--burbolizer/turbolizer idfk
145
--sans made this spaghetti coding
146
--salvo basically made the gui and wan reanimated some stuff along with adding effects to attacks kthx
147
----------------
148
--Salvo is trying to tweak
149
--also made gui
150
----------------------------
151
--ae sans works on this again why the f-
152
--bugetti spaghetti for some reason Godz is here
153-
local player = game:service'Players'.TameDoNotClick
153+
local player = game:service'Players'.silver22352
154
local char = player.Character
155
Character = player.Character
156
Humanoid = Character.Humanoid
157
RootPart = Character.HumanoidRootPart
158
Torso = Character.Torso
159
Head = Character.Head
160
RightArm = Character['Right Arm']
161
LeftArm = Character['Left Arm']
162
RightLeg = Character['Right Leg']
163
LeftLeg = Character['Left Leg']
164
RightS = Torso['Right Shoulder']
165
RootJ = RootPart['RootJoint']
166
RootJoint = RootJ
167
LeftS = Torso['Left Shoulder']
168
RightH = Torso['Right Hip']
169
LeftH = Torso['Left Hip']
170
it=Instance.new
171
local attacking = false
172
vt=Vector3.new
173
cf=CFrame.new
174
local sne = 0
175
local chaeng = 1
176
euler=CFrame.fromEulerAnglesXYZ
177
angles=CFrame.Angles
178
---im good at shack's coding so stop blaming me you dumbfucks
179
 rarm = RightArm
180
larm = LeftArm
181
IT = Instance.new
182
CF = CFrame.new
183
VT = Vector3.new
184
RAD = math.rad
185
C3 = Color3.new
186
UD2 = UDim2.new
187
BRICKC = BrickColor.new
188
ANGLES = CFrame.Angles
189
EULER = CFrame.fromEulerAnglesXYZ
190
COS = math.cos
191
ACOS = math.acos
192
SIN = math.sin
193
ASIN = math.asin
194
ABS = math.abs
195
MRANDOM = math.random
196
FLOOR = math.floor
197
local hum = char.Humanoid
198
local ra = char["Right Arm"]
199
local la= char["Left Arm"]
200
local rl= char["Right Leg"]
201
local ll = char["Left Leg"]
202
local hed = char.Head
203
local root = char.HumanoidRootPart
204
local rootj = root.RootJoint
205
local tors = char.Torso
206
local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
207
local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
208
local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
209
------------------
210
local Chill = false
211
local sine = sne
212
-------------------------------------------------------
213
--Start Cret's variables stuff--
214
-------------------------------------------------------
215
cam = game.Workspace.CurrentCamera
216
CF = CFrame.new
217
angles = CFrame.Angles
218
attack = false
219
Euler = CFrame.fromEulerAnglesXYZ
220
Rad = math.rad
221
IT = Instance.new
222
BrickC = BrickColor.new
223
Cos = math.cos
224
Acos = math.acos
225
Sin = math.sin
226
Asin = math.asin
227
Abs = math.abs
228
Mrandom = math.random
229
Floor = math.floor
230
-------------------------------------------------------
231
--End Cret's variables stuff--
232
-------------------------------------------------------
233
local MoonEffect = script.Parent
234
Player = player
235
local MoonEffect2 = script.Parent
236
local PyramidEffect = script.Parent
237
local Triangle1 = script.Parent
238
local Triangle2 = script.Parent
239
local CrystalEff = script.Parent
240
local MAINCOLOR = BrickColor.new("Deep orange")
241
neckcf=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
242
neckcf2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
243
LeftHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
244
LeftHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
245
RightHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
246
RightHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
247
RootCF=euler(-1.57,0,3.14)
248
necko=neckcf
249
root = Character.HumanoidRootPart
250
RH,LH = RightH,LeftH
251
	local NewInstance = function(instance,parent,properties)
252
		local inst = Instance.new(instance,parent)
253
		if(properties)then
254
			for i,v in next, properties do
255
				pcall(function() inst[i] = v end)
256
			end
257
		end
258
		return inst;
259
	end
260
	local SONG = 570332815
261
local gauntlet = script.Parent
262
for i,v in pairs(gauntlet:GetChildren()) do
263
v.Anchored = false
264
end
265
for i,v in pairs(gauntlet2:GetChildren()) do
266
v.Anchored = false
267
end
268
local music = Instance.new("Sound",char.HumanoidRootPart)
269
music.SoundId = "rbxassetid://570332815"
270
music.Looped = true
271
music.Pitch = 1
272
music.Volume = 2
273
music.TimePosition = 0
274
music:Play()
275
	local HW = NewInstance('Weld',char,{Part0 = char["Right Arm"], Part1 = gauntlet2.Handle, C0 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)})
276
	local HWx = NewInstance('Weld',char,{Part0 = char["Left Arm"], Part1 = gauntlet.Handle, C0 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)})
277
local TurboCore = script.Core.Core
278
for i,v in pairs(script.Core.Core:GetChildren()) do
279
v.Anchored = false
280
end
281
Weld = Instance.new("Weld",script.Core.Core)
282
Weld.Part0 = script.Core.Core.Handle
283
Weld.Part1 = Player.Character.Torso
284
Weld.C0 = Weld.C0*CFrame.new(0,-0.25,0)
285
script.Core.Parent = Player.Character
286
local Speed = 18
287
local storedspeed = 18
288
289
function CreateParta(parent,transparency,reflectance,material,brickcolor)
290
local p = Instance.new("Part")
291
p.TopSurface = 0
292
p.BottomSurface = 0
293
p.Parent = parent
294
p.Size = Vector3.new(0.1,0.1,0.1)
295
p.Transparency = transparency
296
p.Reflectance = reflectance
297
p.CanCollide = false
298
p.Locked = true
299
p.BrickColor = brickcolor
300
p.Material = material
301
return p
302
end
303
304
function CreateMesh(parent,meshtype,x1,y1,z1)
305
local mesh = Instance.new("SpecialMesh",parent)
306
mesh.MeshType = meshtype
307
mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
308
return mesh
309
end
310
311
function CreateSpecialMesh(parent,meshid,x1,y1,z1)
312
local mesh = Instance.new("SpecialMesh",parent)
313
mesh.MeshType = "FileMesh"
314
mesh.MeshId = meshid
315
mesh.Scale = Vector3.new(x1,y1,z1)
316
return mesh
317
end
318
319
320
function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
321
local mesh = Instance.new("SpecialMesh",parent)
322
mesh.MeshType = "FileMesh"
323
mesh.MeshId = meshid
324
mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
325
mesh.Scale = Vector3.new(x1,y1,z1)
326
mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
327
return mesh
328
end
329
330
function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
331
local weld = Instance.new("Weld")
332
weld.Parent = parent
333
weld.Part0 = part0
334
weld.Part1 = part1
335
weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
336
weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
337
return weld
338
end
339
340
341
Debris = game:GetService("Debris")
342
343
344
--------------
345
local m = Instance.new("Model",char)
346
m.Name = MRANDOM(10,403583950)
347
--------------
348
local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
349
CreateWeld(sorb,RightArm,sorb,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
350
local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
351
CreateWeld(sorb2,LeftArm,sorb2,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
352
353
local luna = MoonEffect2:Clone()
354
luna.Anchored = true
355
luna.Parent = nil
356
luna.CanCollide = false
357
luna.Name = "LunaticEffect"
358
359
local basketball = script.Helkern
360
basketball.Parent = player.PlayerGui
361
362
function clerp(a,b,t) 
363
local qa = {QuaternionFromCFrame(a)}
364
local qb = {QuaternionFromCFrame(b)} 
365
local ax, ay, az = a.x, a.y, a.z 
366
local bx, by, bz = b.x, b.y, b.z
367
local _t = 1-t
368
return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) 
369
end 
370
 
371
function QuaternionFromCFrame(cf) 
372
local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() 
373
local trace = m00 + m11 + m22 
374
if trace > 0 then 
375
local s = math.sqrt(1 + trace) 
376
local recip = 0.5/s 
377
return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 
378
else 
379
local i = 0 
380
if m11 > m00 then
381
i = 1
382
end
383
if m22 > (i == 0 and m00 or m11) then 
384
i = 2 
385
end 
386
if i == 0 then 
387
local s = math.sqrt(m00-m11-m22+1) 
388
local recip = 0.5/s 
389
return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip 
390
elseif i == 1 then 
391
local s = math.sqrt(m11-m22-m00+1) 
392
local recip = 0.5/s 
393
return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip 
394
elseif i == 2 then 
395
local s = math.sqrt(m22-m00-m11+1) 
396
local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip 
397
end 
398
end 
399
end
400
 
401
function QuaternionToCFrame(px, py, pz, x, y, z, w) 
402
local xs, ys, zs = x + x, y + y, z + z 
403
local wx, wy, wz = w*xs, w*ys, w*zs 
404
local xx = x*xs 
405
local xy = x*ys 
406
local xz = x*zs 
407
local yy = y*ys 
408
local yz = y*zs 
409
local zz = z*zs 
410
return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) 
411
end
412
 
413
function QuaternionSlerp(a, b, t) 
414
local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] 
415
local startInterp, finishInterp; 
416
if cosTheta >= 0.0001 then 
417
if (1 - cosTheta) > 0.0001 then 
418
local theta = math.acos(cosTheta) 
419
local invSinTheta = 1/math.sin(theta) 
420
startInterp = math.sin((1-t)*theta)*invSinTheta 
421
finishInterp = math.sin(t*theta)*invSinTheta  
422
else 
423
startInterp = 1-t 
424
finishInterp = t 
425
end 
426
else 
427
if (1+cosTheta) > 0.0001 then 
428
local theta = math.acos(-cosTheta) 
429
local invSinTheta = 1/math.sin(theta) 
430
startInterp = math.sin((t-1)*theta)*invSinTheta 
431
finishInterp = math.sin(t*theta)*invSinTheta 
432
else 
433
startInterp = t-1 
434
finishInterp = t 
435
end 
436
end 
437
return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp 
438
end
439
440
local function CFrameFromTopBack(at, top, back)
441
local right = top:Cross(back)
442
return CFrame.new(at.x, at.y, at.z,
443
right.x, top.x, back.x,
444
right.y, top.y, back.y,
445
right.z, top.z, back.z)
446
end
447
448
449
function QuaternionFromCFrame2(cf)
450
    local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
451
    local trace = m00 + m11 + m22
452
    if trace > 0 then
453
        local s = math.sqrt(1 + trace)
454
        local recip = 0.5 / s
455
        return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
456
    else
457
        local i = 0
458
        if m11 > m00 then
459
            i = 1
460
        end
461
        if m22 > (i == 0 and m00 or m11) then
462
            i = 2
463
        end
464
        if i == 0 then
465
            local s = math.sqrt(m00 - m11 - m22 + 1)
466
            local recip = 0.5 / s
467
            return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
468
        elseif i == 1 then
469
            local s = math.sqrt(m11 - m22 - m00 + 1)
470
            local recip = 0.5 / s
471
            return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
472
        elseif i == 2 then
473
            local s = math.sqrt(m22 - m00 - m11 + 1)
474
            local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
475
        end
476
    end
477
end
478
 
479
function QuaternionToCFrame2(px, py, pz, x, y, z, w)
480
    local xs, ys, zs = x + x, y + y, z + z
481
    local wx, wy, wz = w * xs, w * ys, w * zs
482
    local xx = x * xs
483
    local xy = x * ys
484
    local xz = x * zs
485
    local yy = y * ys
486
    local yz = y * zs
487
    local zz = z * zs
488
    return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
489
end
490
 
491
function QuaternionSlerp2(a, b, t)
492
    local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
493
    local startInterp, finishInterp;
494
    if cosTheta >= 0.0001 then
495
        if (1 - cosTheta) > 0.0001 then
496
            local theta = ACOS(cosTheta)
497
            local invSinTheta = 1 / SIN(theta)
498
            startInterp = SIN((1 - t) * theta) * invSinTheta
499
            finishInterp = SIN(t * theta) * invSinTheta
500
        else
501
            startInterp = 1 - t
502
            finishInterp = t
503
        end
504
    else
505
        if (1 + cosTheta) > 0.0001 then
506
            local theta = ACOS(-cosTheta)
507
            local invSinTheta = 1 / SIN(theta)
508
            startInterp = SIN((t - 1) * theta) * invSinTheta
509
            finishInterp = SIN(t * theta) * invSinTheta
510
        else
511
            startInterp = t - 1
512
            finishInterp = t
513
        end
514
    end
515
    return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
516
end
517
 
518
function clerp2(a, b, t)
519
    local qa = {QuaternionFromCFrame2(a)}
520
    local qb = {QuaternionFromCFrame2(b)}
521
    local ax, ay, az = a.x, a.y, a.z
522
    local bx, by, bz = b.x, b.y, b.z
523
    local _t = 1 - t
524
    return QuaternionToCFrame2(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp2(qa, qb, t))
525
end
526
527
528
local TextUI = script.TextUi
529
TextUI.Enabled = true
530
TextUI.Parent = char.Head
531
TextUI.Text.Image = "rbxassetid://2863687732"
532
533
local MainGui = script.Main
534
MainGui.Enabled = true
535
MainGui.Parent = player.PlayerGui
536
local SideFrame_0 = Instance.new("Frame",MainGui)
537
SideFrame_0.Position = UDim2.new(0,0,0.671,0)
538
SideFrame_0.Size = UDim2.new(0,457,0,216)
539
SideFrame_0.BorderSizePixel = 4
540
SideFrame_0.BorderColor3 = BrickColor.new"White".Color
541
SideFrame_0.BackgroundColor3 = BrickColor.new"Really black".Color
542
SideFrame_0.Rotation = 0
543
--[[
544
local SideFrame_1 = Instance.new("Frame",basgui)
545
SideFrame_1.Position = UDim2.new(0.75,0,0.801,0)
546
SideFrame_1.Size = UDim2.new(0,457,0,216)
547
SideFrame_1.BorderSizePixel = 4
548
SideFrame_1.BorderColor3 = BrickColor.new"White".Color
549
SideFrame_1.BackgroundColor3 = BrickColor.new"Really black".Color
550
SideFrame_1.Rotation = 0]]--
551
local SideFrame0 = Instance.new("Frame",MainGui)
552
SideFrame0.Position = UDim2.new(0,0,0.731,0)
553
SideFrame0.Size = UDim2.new(0,457,0,216)
554
SideFrame0.BorderSizePixel = 4
555
SideFrame0.BorderColor3 = BrickColor.new"White".Color
556
SideFrame0.BackgroundColor3 = BrickColor.new"Really black".Color
557
SideFrame0.Rotation = 0
558
local SideFrame1 = Instance.new("Frame",MainGui)
559
SideFrame1.Position = UDim2.new(0,0,0.781,0)
560
SideFrame1.Size = UDim2.new(0,457,0,216)
561
SideFrame1.BorderSizePixel = 4
562
SideFrame1.BorderColor3 = BrickColor.new"White".Color
563
SideFrame1.BackgroundColor3 = BrickColor.new"Really black".Color
564
SideFrame1.Rotation = 0
565
local SideFrame2 = Instance.new("Frame",MainGui)
566
SideFrame2.Position = UDim2.new(0,0,0.831,0)
567
SideFrame2.Size = UDim2.new(0,457,0,216)
568
SideFrame2.BorderSizePixel = 4
569
SideFrame2.BorderColor3 = BrickColor.new"White".Color
570
SideFrame2.BackgroundColor3 = BrickColor.new"Really black".Color
571
SideFrame2.Rotation = 0
572
local SideFrame3 = Instance.new("Frame",MainGui) --0.75
573
SideFrame3.Position = UDim2.new(0,0,0.876,0)
574
SideFrame3.Size = UDim2.new(0,457,0,216)
575
SideFrame3.BorderSizePixel = 4
576
SideFrame3.BorderColor3 = BrickColor.new"White".Color
577
SideFrame3.BackgroundColor3 = BrickColor.new"Really black".Color
578
SideFrame3.Rotation = -180
579
local SideFrame4 = Instance.new("Frame",MainGui) --0.75
580
SideFrame4.Position = UDim2.new(0,0,0.921,0)
581
SideFrame4.Size = UDim2.new(0,457,0,216)
582
SideFrame4.BorderSizePixel = 4
583
SideFrame4.BorderColor3 = BrickColor.new"White".Color
584
SideFrame4.BackgroundColor3 = BrickColor.new"Really black".Color
585
SideFrame4.Rotation = -180
586
local SideFrame5 = Instance.new("Frame",MainGui) --0.75
587
SideFrame5.Position = UDim2.new(0,0,0.971,0)
588
SideFrame5.Size = UDim2.new(0,457,0,216)
589
SideFrame5.BorderSizePixel = 4
590
SideFrame5.BorderColor3 = BrickColor.new"White".Color
591
SideFrame5.BackgroundColor3 = BrickColor.new"Really black".Color
592
SideFrame5.Rotation = -180
593
local MainFrame = MainGui.MainFrame
594
local MainFrame2 = MainFrame.AAaa
595
596
if char:findFirstChild("Animate")then
597
char:findFirstChild("Animate"):Remove()
598
end
599
600
if Humanoid:findFirstChild("Animator")then
601
Humanoid:findFirstChild("Animator"):Remove()
602
end
603
604
ArtificiaLeftHB = Instance.new("BindableEvent", script)
605
ArtificiaLeftHB.Name = "Heartbeat"
606
script:WaitForChild("Heartbeat")
607
608
frame = 1 / 60
609
tf = 0
610
allowframeloss = false
611
tossremainder = false
612
613
614
lastframe = tick()
615
script.Heartbeat:Fire()
616
617
618
game:GetService("RunService").Heartbeat:connect(function(s, p)
619
	tf = tf + s
620
	if tf >= frame then
621
		if allowframeloss then
622
			script.Heartbeat:Fire()
623
			lastframe = tick()
624
		else
625
			for i = 1, math.floor(tf / frame) do
626
				script.Heartbeat:Fire()
627
			end
628
			lastframe = tick()
629
		end
630
		if tossremainder then
631
			tf = 0
632
		else
633
			tf = tf - frame * math.floor(tf / frame)
634
		end
635
	end
636
end)
637
function swait(num)
638
	if num == 0 or num == nil then
639
		game:service("RunService").Stepped:wait(0)
640
	else
641
		for i = 0, num do
642
			game:service("RunService").Stepped:wait(0)
643
		end
644
	end
645
end
646
647
function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
648
return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) 
649
end 
650
local Mode = "T"
651
LW=Torso["Left Shoulder"]
652
LH=Torso["Left Hip"]
653
RW=Torso["Right Shoulder"]
654
RH=Torso["Right Hip"]
655
RW.Name="Right Shoulder"
656
RW.Part0=char.Torso
657
RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
658
RW.C1=cf(0, 0.5, 0)
659
RW.Part1=char["Right Arm"]
660
RW.Parent=char.Torso
661
--
662
LW.Name="Left Shoulder"
663
LW.Part0=char.Torso
664
LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
665
LW.C1=cf(0, 0.5, 0)
666
LW.Part1=char["Left Arm"]
667
LW.Parent=char.Torso
668
function NoOutline(Part)
669
Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
670
end 
671
--
672
local r = 255
673
local g = 0
674
local b = 0
675
coroutine.resume(coroutine.create(function()
676
	while wait() do
677
		for i = 0, 254/5 do
678
			swait()
679
			g = g + 5
680
		end
681
		for i = 0, 254/5 do
682
			swait()
683
			r = r - 5
684
		end
685
		for i = 0, 254/5 do
686
			swait()
687
			b = b + 5
688
		end
689
		for i = 0, 254/5 do
690
			swait()
691
			g = g - 5
692
		end
693
		for i = 0, 254/5 do
694
			swait()
695
			r = r + 5
696
		end
697
		for i = 0, 254/5 do
698
			swait()
699
			b = b - 5
700
		end
701
	end
702
end)) 
703
TurboArrow = script.SpeedArrow1
704
ToothpasteArrow = script.SpeedArrow2
705
ToothpasteArrow.Parent = Player.PlayerGui
706
TurboArrow.Parent = Player.PlayerGui
707
708
709
710
function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
711
local fp=it("Part")
712
fp.formFactor=formfactor
713
fp.Parent=parent
714
fp.Reflectance=reflectance
715
fp.Transparency=transparency
716
fp.CanCollide=false
717
fp.Locked=true
718
fp.BrickColor=brickcolor
719
fp.Name=name
720
fp.Size=size
721
fp.Position=Torso.Position
722
NoOutline(fp)
723
fp.Material="SmoothPlastic"
724
fp:BreakJoints()
725
return fp
726
end
727
 
728
function mesh(Mesh,part,meshtype,meshid,offset,scale)
729
local mesh=it(Mesh)
730
mesh.Parent=part
731
if Mesh=="SpecialMesh" then
732
mesh.MeshType=meshtype
733
if meshid~="nil" then
734
mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
735
end
736
end
737
mesh.Offset=offset
738
mesh.Scale=scale
739
return mesh
740
end
741
function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
742
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
743
prt.Anchored=true
744
prt.Material = "Neon"
745
prt.CFrame=cframe
746
prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
747
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
748
game:GetService("Debris"):AddItem(prt,5)
749
coroutine.resume(coroutine.create(function(Part,Mesh)
750
for i=0,1,delay do
751
swait()
752
Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
753
Part.Transparency=i
754
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
755
end
756
Part.Parent=nil
757
end),prt,msh)
758
end
759
function wind(type,pos,scale,value,speed,ahy)
760
local type = type
761
local rng = Instance.new("Part", char)
762
        rng.Anchored = true
763
        rng.BrickColor = BrickColor.new("Institutional white")
764
        rng.CanCollide = false
765
        rng.FormFactor = 3
766
        rng.Name = "Ring"
767
        rng.Size = Vector3.new(1, 1, 1)
768
        rng.Transparency = 0
769
        rng.TopSurface = 0
770
        rng.BottomSurface = 0
771
        rng.CFrame = pos
772
        local rngm = Instance.new("SpecialMesh", rng)
773
        rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
774
rngm.Scale = scale
775
local scaler2 = 1
776
if type == "Add" then
777
scaler2 = 1*value
778
elseif type == "Divide" then
779
scaler2 = 1/value
780
end
781
coroutine.resume(coroutine.create(function()
782
	if ahy == false then
783
for i = 0,8,0.1 do
784
swait()
785
if type == "Add" then
786
scaler2 = scaler2 - 0.01*value
787
elseif type == "Divide" then
788
scaler2 = scaler2 - 0.01/value
789
end
790
rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
791
rng.Transparency = rng.Transparency + 0.05
792
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
793
end
794
	else
795
		for i = 0,10,0.1 do
796
swait()
797
if type == "Add" then
798
scaler2 = scaler2 - 0.01*value
799
elseif type == "Divide" then
800
scaler2 = scaler2 - 0.01/value
801
end
802
rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
803
rng.Transparency = rng.Transparency + 0.01
804
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
805
end
806
		end
807
rng:Destroy()
808
end))
809
end
810
811
function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
812
local type = type
813
local rng = Instance.new("Part", char)
814
        rng.Anchored = true
815
        rng.BrickColor = color
816
        rng.CanCollide = false
817
        rng.FormFactor = 3
818
        rng.Name = "Ring"
819
        rng.Material = "Neon"
820
        rng.Size = Vector3.new(1, 1, 1)
821
        rng.Transparency = 0
822
        rng.TopSurface = 0
823
        rng.BottomSurface = 0
824
        rng.CFrame = pos
825
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
826
        local rngm = Instance.new("SpecialMesh", rng)
827
        rngm.MeshType = "Sphere"
828
rngm.Scale = vt(x1,y1,z1)
829
local glitchval = math.random(1,255)
830
if Mode == "R" then
831
rng.Color = Color3.new(r/255,g/255,b/255)
832
end
833
if Mode == "G" then
834
rng.Color = Color3.new(glitchval,glitchval,glitchval)
835
end
836
local scaler2 = 1
837
local speeder = FastSpeed
838
if type == "Add" then
839
scaler2 = 1*value
840
elseif type == "Divide" then
841
scaler2 = 1/value
842
end
843
coroutine.resume(coroutine.create(function()
844
for i = 0,10/bonuspeed,0.1 do
845
swait()
846
if Mode == "R" then
847
rng.Color = Color3.new(r/255,g/255,b/255)
848
end
849
if Mode == "G" then
850
rng.Color = Color3.new(glitchval,glitchval,glitchval)
851
end
852
if type == "Add" then
853
scaler2 = scaler2 - 0.01*value/bonuspeed
854
elseif type == "Divide" then
855
scaler2 = scaler2 - 0.01/value*bonuspeed
856
end
857
speeder = speeder - 0.01*FastSpeed*bonuspeed
858
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
859
rng.Transparency = rng.Transparency + 0.01*bonuspeed
860
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
861
end
862
rng:Destroy()
863
end))
864
end
865
866
-- 
867
RW.Name="Right Shoulder"
868
RW.Part0=char.Torso 
869
RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) 
870
RW.C1=cf(0, 0.5, 0) 
871
RW.Part1=char["Right Arm"] 
872
RW.Parent=char.Torso 
873
-- 
874
LW.Name="Left Shoulder"
875
LW.Part0=char.Torso 
876
LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) 
877
LW.C1=cf(0, 0.5, 0) 
878
LW.Part1=char["Left Arm"] 
879
LW.Parent=char.Torso
880
 
881
turboli = 0
882
turboli2 = 0
883
function sphere(bonuspeed, type, pos, scale, value, color)
884
local type = type
885
local rng = Instance.new("Part", char)
886
rng.Anchored = true
887
rng.BrickColor = color
888
rng.CanCollide = false
889
rng.FormFactor = 3
890
rng.Name = "Ring"
891
rng.Material = "Neon"
892
rng.Size = Vector3.new(1, 1, 1)
893
rng.Transparency = 0
894
rng.TopSurface = 0
895
rng.BottomSurface = 0
896
rng.CFrame = pos
897
local rngm = Instance.new("SpecialMesh", rng)
898
rngm.MeshType = "Sphere"
899
rngm.Scale = scale
900
if rainbowmode == true then
901
rng.Color = Color3.new(r / 255, g / 255, b / 255)
902
end
903
local scaler2 = 1
904
if type == "Add" then
905
scaler2 = 1 * value
906
elseif type == "Divide" then
907
scaler2 = 1 / value
908
end
909
coroutine.resume(coroutine.create(function()
910
for i = 0, 10 / bonuspeed, 0.1 do
911
swait()
912
if rainbowmode == true then
913
rng.Color = Color3.new(r / 255, g / 255, b / 255)
914
end
915
if type == "Add" then
916
scaler2 = scaler2 - 0.01 * value / bonuspeed
917
elseif type == "Divide" then
918
scaler2 = scaler2 - 0.01 / value * bonuspeed
919
end
920
if chaosmode == true then
921
rng.BrickColor = BrickColor.random()
922
end
923
rng.Transparency = rng.Transparency + 0.01 * bonuspeed
924
rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
925
end
926
rng:Destroy()
927
end))
928
end
929
function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
930
local type = type
931
local rng = Instance.new("Part", char)
932
rng.Anchored = true
933
if ModeOfGlitch ~= 9 then
934
rng.BrickColor = color
935
elseif ModeOfGlitch == 9 then
936
rng.Color = Color3.new(GetClientProperty(kan,'PlaybackLoudness')/1000,GetClientProperty(kan,'PlaybackLoudness')/1000,GetClientProperty(kan,'PlaybackLoudness')/1000)
937
end
938
rng.CanCollide = false
939
rng.FormFactor = 3
940
rng.Name = "Ring"
941
rng.Material = "Neon"
942
rng.Size = Vector3.new(1, 1, 1)
943
rng.Transparency = 0
944
rng.TopSurface = 0
945
rng.BottomSurface = 0
946
rng.CFrame = pos
947
local rngm = Instance.new("SpecialMesh", rng)
948
rngm.MeshType = "Sphere"
949
rngm.Scale = scale
950
if rainbowmode == true then
951
rng.Color = Color3.new(r/255,g/255,b/255)
952
end
953
local scaler2 = 1
954
local scaler2b = 1
955
local scaler2c = 1
956
if type == "Add" then
957
scaler2 = 1*value
958
scaler2b = 1*value2
959
scaler2c = 1*value3
960
elseif type == "Divide" then
961
scaler2 = 1/value
962
scaler2b = 1/value2
963
scaler2c = 1/value3
964
end
965
if ModeOfGlitch == 9 then
966
coroutine.resume(coroutine.create(function()
967
while true do
968
swait()
969
if rng.Parent ~= nil then
970
rng.Color = Color3.new(GetClientProperty(kan,'PlaybackLoudness')/1000,GetClientProperty(kan,'PlaybackLoudness')/1000,GetClientProperty(kan,'PlaybackLoudness')/1000)
971
else
972
break
973
end
974
end
975
end))
976
end
977
coroutine.resume(coroutine.create(function()
978
for i = 0,10/bonuspeed,0.1 do
979
swait()
980
if type == "Add" then
981
scaler2 = scaler2 - 0.01*value/bonuspeed
982
scaler2b = scaler2b - 0.01*value/bonuspeed
983
scaler2c = scaler2c - 0.01*value/bonuspeed
984
elseif type == "Divide" then
985
scaler2 = scaler2 - 0.01/value*bonuspeed
986
scaler2b = scaler2b - 0.01/value*bonuspeed
987
scaler2c = scaler2c - 0.01/value*bonuspeed
988
end
989
rng.Transparency = rng.Transparency + 0.01*bonuspeed
990
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
991
end
992
rng:Destroy()
993
end))
994
end
995
996
function Wedge2(bonuspeed,type,pos,scale,value,value2,value3,color)
997
local type = type
998
local rng = Instance.new("Part", char)
999
rng.Anchored = true
1000
if ModeOfGlitch ~= 9 then
1001
rng.BrickColor = color
1002
elseif ModeOfGlitch == 9 then
1003
rng.Color = Color3.new(GetClientProperty(kan,'PlaybackLoudness')/1000,GetClientProperty(kan,'PlaybackLoudness')/1000,GetClientProperty(kan,'PlaybackLoudness')/1000)
1004
end
1005
rng.CanCollide = false
1006
rng.FormFactor = 3
1007
rng.Name = "Ring"
1008
rng.Material = "Neon"
1009
rng.Size = Vector3.new(1, 1, 1)
1010
rng.Transparency = 0
1011
rng.TopSurface = 0
1012
rng.BottomSurface = 0
1013
rng.CFrame = pos
1014
local rngm = Instance.new("SpecialMesh", rng)
1015
rngm.MeshType = "Wedge"
1016
rngm.Scale = scale
1017
if rainbowmode == true then
1018
rng.Color = Color3.new(r/255,g/255,b/255)
1019
end
1020
local scaler2 = 1
1021
local scaler2b = 1
1022
local scaler2c = 1
1023
if type == "Add" then
1024
scaler2 = 1*value
1025
scaler2b = 1*value2
1026
scaler2c = 1*value3
1027
elseif type == "Divide" then
1028
scaler2 = 1/value
1029
scaler2b = 1/value2
1030
scaler2c = 1/value3
1031
end
1032
if ModeOfGlitch == 9 then
1033
coroutine.resume(coroutine.create(function()
1034
while true do
1035
swait()
1036
if rng.Parent ~= nil then
1037
rng.Color = Color3.new(GetClientProperty(kan,'PlaybackLoudness')/1000,GetClientProperty(kan,'PlaybackLoudness')/1000,GetClientProperty(kan,'PlaybackLoudness')/1000)
1038
else
1039
break
1040
end
1041
end
1042
end))
1043
end
1044
coroutine.resume(coroutine.create(function()
1045
for i = 0,10/bonuspeed,0.1 do
1046
swait()
1047
if type == "Add" then
1048
scaler2 = scaler2 - 0.01*value/bonuspeed
1049
scaler2b = scaler2b - 0.01*value/bonuspeed
1050
scaler2c = scaler2c - 0.01*value/bonuspeed
1051
elseif type == "Divide" then
1052
scaler2 = scaler2 - 0.01/value*bonuspeed
1053
scaler2b = scaler2b - 0.01/value*bonuspeed
1054
scaler2c = scaler2c - 0.01/value*bonuspeed
1055
end
1056
rng.Transparency = rng.Transparency + 0.01*bonuspeed
1057
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
1058
end
1059
rng:Destroy()
1060
end))
1061
end
1062
1063
function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
1064
local type = type
1065
local rotenable = rotatingop
1066
local rng = Instance.new("Part", char)
1067
rng.Anchored = true
1068
rng.BrickColor = color
1069
rng.CanCollide = false
1070
rng.FormFactor = 3
1071
rng.Name = "Ring"
1072
rng.Material = "Neon"
1073
rng.Size = Vector3.new(1, 1, 1)
1074
rng.Transparency = 0
1075
if typeoftrans == "In" then
1076
rng.Transparency = 1
1077
end
1078
rng.TopSurface = 0
1079
rng.BottomSurface = 0
1080
rng.CFrame = pos
1081
local rngm = Instance.new("SpecialMesh", rng)
1082
rngm.MeshType = "FileMesh"
1083
if typeofshape == "Normal" then
1084
rngm.MeshId = "rbxassetid://662586858"
1085
elseif typeofshape == "Round" then
1086
rngm.MeshId = "rbxassetid://662585058"
1087
end
1088
rngm.Scale = scale
1089
local scaler2 = 1/10
1090
if type == "Add" then
1091
scaler2 = 1*value/10
1092
elseif type == "Divide" then
1093
scaler2 = 1/value/10
1094
end
1095
local randomrot = math.random(1,2)
1096
coroutine.resume(coroutine.create(function()
1097
for i = 0,10/bonuspeed,0.1 do
1098
swait()
1099
if type == "Add" then
1100
scaler2 = scaler2 - 0.01*value/bonuspeed/10
1101
elseif type == "Divide" then
1102
scaler2 = scaler2 - 0.01/value*bonuspeed/10
1103
end
1104
if rotenable == true then
1105
if randomrot == 1 then
1106
rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
1107
elseif randomrot == 2 then
1108
rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
1109
end
1110
end
1111
if typeoftrans == "Out" then
1112
rng.Transparency = rng.Transparency + 0.01*bonuspeed
1113
elseif typeoftrans == "In" then
1114
rng.Transparency = rng.Transparency - 0.01*bonuspeed
1115
end
1116
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
1117
end
1118
rng:Destroy()
1119
end))
1120
end
1121
1122
function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
1123
local type = type
1124
local rng = Instance.new("Part", char)
1125
rng.Anchored = true
1126
rng.BrickColor = color
1127
rng.CanCollide = false
1128
rng.FormFactor = 3
1129
rng.Name = "Ring"
1130
rng.Material = "Neon"
1131
rng.Size = Vector3.new(1, 1, 1)
1132
rng.Transparency = 0
1133
rng.TopSurface = 0
1134
rng.BottomSurface = 0
1135
rng.CFrame = pos
1136
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
1137
local rngm = Instance.new("SpecialMesh", rng)
1138
rngm.MeshType = "Brick"
1139
rngm.Scale = vt(x1,y1,z1)
1140
if rainbowmode == true then
1141
rng.Color = Color3.new(r/255,g/255,b/255)
1142
end
1143
local scaler2 = 1
1144
local speeder = FastSpeed/10
1145
if type == "Add" then
1146
scaler2 = 1*value
1147
elseif type == "Divide" then
1148
scaler2 = 1/value
1149
end
1150
coroutine.resume(coroutine.create(function()
1151
for i = 0,10/bonuspeed,0.1 do
1152
swait()
1153
if rainbowmode == true then
1154
rng.Color = Color3.new(r/255,g/255,b/255)
1155
end
1156
if type == "Add" then
1157
scaler2 = scaler2 - 0.01*value/bonuspeed
1158
elseif type == "Divide" then
1159
scaler2 = scaler2 - 0.01/value*bonuspeed
1160
end
1161
if chaosmode == true then
1162
rng.BrickColor = BrickColor.random()
1163
end
1164
speeder = speeder - 0.01*FastSpeed*bonuspeed/10
1165
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
1166
--rng.Transparency = rng.Transparency + 0.01*bonuspeed
1167
rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
1168
end
1169
rng:Destroy()
1170
end))
1171
end
1172
1173
function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
1174
local type = type
1175
local rng = Instance.new("Part", char)
1176
rng.Anchored = true
1177
rng.BrickColor = color
1178
rng.CanCollide = false
1179
rng.FormFactor = 3
1180
rng.Name = "Ring"
1181
rng.Material = "Neon"
1182
rng.Size = Vector3.new(1, 1, 1)
1183
rng.Transparency = 0
1184
rng.TopSurface = 0
1185
rng.BottomSurface = 0
1186
rng.CFrame = pos
1187
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
1188
local rngm = Instance.new("SpecialMesh", rng)
1189
rngm.MeshType = "Brick"
1190
rngm.Scale = vt(x1,y1,z1)
1191
if rainbowmode == true then
1192
rng.Color = Color3.new(r/255,g/255,b/255)
1193
end
1194
local scaler2 = 1
1195
local speeder = FastSpeed/10
1196
if type == "Add" then
1197
scaler2 = 1*value
1198
elseif type == "Divide" then
1199
scaler2 = 1/value
1200
end
1201
coroutine.resume(coroutine.create(function()
1202
for i = 0,10/bonuspeed,0.1 do
1203
swait()
1204
if rainbowmode == true then
1205
rng.Color = Color3.new(r/255,g/255,b/255)
1206
end
1207
if type == "Add" then
1208
scaler2 = scaler2 - 0.01*value/bonuspeed
1209
elseif type == "Divide" then
1210
scaler2 = scaler2 - 0.01/value*bonuspeed
1211
end
1212
if chaosmode == true then
1213
rng.BrickColor = BrickColor.random()
1214
end
1215
speeder = speeder - 0.01*FastSpeed*bonuspeed/10
1216
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
1217
rng.Transparency = rng.Transparency + 0.01*bonuspeed
1218
rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
1219
end
1220
rng:Destroy()
1221
end))
1222
end
1223
1224
function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
1225
local type = type
1226
local rng = Instance.new("Part", char)
1227
rng.Anchored = true
1228
rng.BrickColor = color
1229
rng.CanCollide = false
1230
rng.FormFactor = 3
1231
rng.Name = "Ring"
1232
rng.Material = "Neon"
1233
rng.Size = Vector3.new(1, 1, 1)
1234
rng.Transparency = 0
1235
rng.TopSurface = 0
1236
rng.BottomSurface = 0
1237
rng.CFrame = pos
1238
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
1239
local rngm = Instance.new("SpecialMesh", rng)
1240
rngm.MeshType = "Brick"
1241
rngm.Scale = vt(x1,y1,z1)
1242
if Mode == "G" then
1243
rng.Color = Color3.new(glitchval,glitchval,glitchval)
1244
end
1245
--[[
1246
coroutine.resume(coroutine.create(function()
1247
	while true do
1248
		swait()
1249
		glitchval = math.random(1,255)
1250
	end
1251
end))]]--
1252
local scaler2 = 0
1253
local speeder = FastSpeed/10
1254
if type == "Add" then
1255
scaler2 = 1*value
1256
elseif type == "Divide" then
1257
scaler2 = 1/value
1258
end
1259
coroutine.resume(coroutine.create(function()
1260
for i = 0,10/bonuspeed,0.1 do
1261
swait()
1262
if Mode == "G" then
1263
rng.Color = Color3.new(glitchval,glitchval,glitchval)
1264
end
1265
if type == "Add" then
1266
scaler2 = scaler2 - 0.01*value/bonuspeed
1267
elseif type == "Divide" then
1268
scaler2 = scaler2 - 0.01/value*bonuspeed
1269
end
1270
speeder = speeder + 0.01*FastSpeed*bonuspeed/10
1271
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
1272
--rng.Transparency = rng.Transparency + 0.01*bonuspeed
1273
rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
1274
end
1275
rng:Destroy()
1276
end))
1277
end
1278
1279
function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
1280
local type = type
1281
local rng = Instance.new("Part", char)
1282
rng.Anchored = true
1283
rng.BrickColor = color
1284
rng.Color = color3
1285
rng.CanCollide = false
1286
rng.FormFactor = 3
1287
rng.Name = "Ring"
1288
rng.Material = "Neon"
1289
rng.Size = Vector3.new(1, 1, 1)
1290
rng.Transparency = 0
1291
rng.TopSurface = 0
1292
rng.BottomSurface = 0
1293
rng.CFrame = pos
1294
local rngm = Instance.new("SpecialMesh", rng)
1295
rngm.MeshType = "Brick"
1296
rngm.Scale = scale
1297
local scaler2 = 1
1298
local scaler2b = 1
1299
local scaler2c = 1
1300
if type == "Add" then
1301
scaler2 = 1*value
1302
scaler2b = 1*value2
1303
scaler2c = 1*value3
1304
elseif type == "Divide" then
1305
scaler2 = 1/value
1306
scaler2b = 1/value2
1307
scaler2c = 1/value3
1308
end
1309
coroutine.resume(coroutine.create(function()
1310
for i = 0,10/bonuspeed,0.1 do
1311
swait()
1312
if type == "Add" then
1313
scaler2 = scaler2 - 0.01*value/bonuspeed
1314
scaler2b = scaler2b - 0.01*value/bonuspeed
1315
scaler2c = scaler2c - 0.01*value/bonuspeed
1316
elseif type == "Divide" then
1317
scaler2 = scaler2 - 0.01/value*bonuspeed
1318
scaler2b = scaler2b - 0.01/value*bonuspeed
1319
scaler2c = scaler2c - 0.01/value*bonuspeed
1320
end
1321
rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
1322
rng.Transparency = rng.Transparency + 0.01*bonuspeed
1323
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
1324
end
1325
rng:Destroy()
1326
end))
1327
end
1328
local Create = LoadLibrary("RbxUtility").Create
1329
CFuncs = {
1330
Part = {
1331
Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
1332
local Part = Create("Part")({
1333
Parent = Parent,
1334
Reflectance = Reflectance,
1335
Transparency = Transparency,
1336
CanCollide = false,
1337
Locked = true,
1338
BrickColor = BrickColor.new(tostring(BColor)),
1339
Name = Name,
1340
Size = Size,
1341
Material = Material
1342
})
1343
RemoveOutlines(Part)
1344
return Part
1345
end
1346
},
1347
Mesh = {
1348
Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
1349
local Msh = Create(Mesh)({
1350
Parent = Part,
1351
Offset = OffSet,
1352
Scale = Scale
1353
})
1354
if Mesh == "SpecialMesh" then
1355
Msh.MeshType = MeshType
1356
Msh.MeshId = MeshId
1357
end
1358
return Msh
1359
end
1360
},
1361
Mesh = {
1362
Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
1363
local Msh = Create(Mesh)({
1364
Parent = Part,
1365
Offset = OffSet,
1366
Scale = Scale
1367
})
1368
if Mesh == "SpecialMesh" then
1369
Msh.MeshType = MeshType
1370
Msh.MeshId = MeshId
1371
end
1372
return Msh
1373
end
1374
},
1375
Weld = {
1376
Create = function(Parent, Part0, Part1, C0, C1)
1377
local Weld = Create("Weld")({
1378
Parent = Parent,
1379
Part0 = Part0,
1380
Part1 = Part1,
1381
C0 = C0,
1382
C1 = C1
1383
})
1384
return Weld
1385
end
1386
},
1387
Sound = {
1388
Create = function(id, par, vol, pit)
1389
coroutine.resume(coroutine.create(function()
1390
local S = Create("Sound")({
1391
Volume = vol,
1392
Pitch = pit or 1,
1393
SoundId = id,
1394
Parent = par or workspace
1395
})
1396
wait()
1397
S:play()
1398
game:GetService("Debris"):AddItem(S, 10)
1399
end))
1400
end
1401
},
1402
1403
["TimeSound"] = {
1404
Create = function(id, par, vol, pit, timepos) 
1405
coroutine.resume(coroutine.create(function()
1406
local S = Create("Sound"){
1407
Volume = vol,
1408
Name = "EffectSoundo",
1409
Pitch = pit or 1,
1410
SoundId = id,
1411
TimePosition = timepos,
1412
Parent = par or workspace,
1413
}
1414
wait() 
1415
S:play() 
1416
game:GetService("Debris"):AddItem(S, 10)
1417
end))
1418
end;
1419
};
1420
["EchoSound"] = {
1421
Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl) 
1422
coroutine.resume(coroutine.create(function()
1423
local Sas = Create("Sound"){
1424
Volume = vol,
1425
Name = "EffectSoundo",
1426
Pitch = pit or 1,
1427
SoundId = id,
1428
TimePosition = timepos,
1429
Parent = par or workspace,
1430
}
1431
local E = Create("EchoSoundEffect"){
1432
Delay = echodelay,
1433
Name = "Echo",
1434
Feedback = fedb,
1435
DryLevel = dryl,
1436
Parent = Sas,
1437
}
1438
wait() 
1439
Sas:play() 
1440
game:GetService("Debris"):AddItem(Sas, delays)
1441
end))
1442
end;
1443
};
1444
LongSound = {
1445
Create = function(id, par, vol, pit)
1446
coroutine.resume(coroutine.create(function()
1447
local S = Create("Sound")({
1448
Volume = vol,
1449
Pitch = pit or 1,
1450
SoundId = id,
1451
Parent = par or workspace
1452
})
1453
wait()
1454
S:play()
1455
game:GetService("Debris"):AddItem(S, 30)
1456
end))
1457
end
1458
},
1459
ParticleEmitter = {
1460
Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
1461
local fp = Create("ParticleEmitter")({
1462
Parent = Parent,
1463
Color = ColorSequence.new(Color1, Color2),
1464
LightEmission = LightEmission,
1465
Size = Size,
1466
Texture = Texture,
1467
Transparency = Transparency,
1468
ZOffset = ZOffset,
1469
Acceleration = Accel,
1470
Drag = Drag,
1471
LockedToPart = LockedToPart,
1472
VelocityInheritance = VelocityInheritance,
1473
EmissionDirection = EmissionDirection,
1474
Enabled = Enabled,
1475
Lifetime = LifeTime,
1476
Rate = Rate,
1477
Rotation = Rotation,
1478
RotSpeed = RotSpeed,
1479
Speed = Speed,
1480
VelocitySpread = VelocitySpread
1481
})
1482
return fp
1483
end
1484
},
1485
CreateTemplate = {}
1486
}
1487
function waveEff(bonuspeed,type,typeoftrans,pos,scale,value,value2,color)
1488
local type = type
1489
local rng = Instance.new("Part", char)
1490
        rng.Anchored = true
1491
        rng.BrickColor = color
1492
        rng.CanCollide = false
1493
        rng.FormFactor = 3
1494
        rng.Name = "Ring"
1495
        rng.Material = "Neon"
1496
        rng.Size = Vector3.new(1, 1, 1)
1497
        rng.Transparency = 0
1498
if typeoftrans == "In" then
1499
rng.Transparency = 1
1500
end
1501
        rng.TopSurface = 0
1502
        rng.BottomSurface = 0
1503
        rng.CFrame = pos
1504
        local rngm = Instance.new("SpecialMesh", rng)
1505
        rngm.MeshType = "FileMesh"
1506
rngm.MeshId = "rbxassetid://20329976"
1507
rngm.Scale = scale
1508
local scaler2 = 1
1509
local scaler2b = 1
1510
if type == "Add" then
1511
scaler2 = 1*value
1512
scaler2b = 1*value2
1513
elseif type == "Divide" then
1514
scaler2 = 1/value
1515
scaler2b = 1/value2
1516
end
1517
local randomrot = math.random(1,2)
1518
coroutine.resume(coroutine.create(function()
1519
for i = 0,10/bonuspeed,0.1 do
1520
swait()
1521
if type == "Add" then
1522
scaler2 = scaler2 - 0.01*value/bonuspeed
1523
scaler2b = scaler2b - 0.01*value/bonuspeed
1524
elseif type == "Divide" then
1525
scaler2 = scaler2 - 0.01/value*bonuspeed
1526
scaler2b = scaler2b - 0.01/value*bonuspeed
1527
end
1528
if randomrot == 1 then
1529
rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(5*bonuspeed/2),0)
1530
elseif randomrot == 2 then
1531
rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-5*bonuspeed/2),0)
1532
end
1533
if typeoftrans == "Out" then
1534
rng.Transparency = rng.Transparency + 0.01*bonuspeed
1535
elseif typeoftrans == "In" then
1536
rng.Transparency = rng.Transparency - 0.01*bonuspeed
1537
end
1538
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2*bonuspeed)
1539
end
1540
rng:Destroy()
1541
end))
1542
end
1543
1544
function dmg(dude)
1545
	local keptcolor = MAINCOLOR
1546
if dude.Name ~= Character then
1547
local bgf = Instance.new("BodyGyro",dude.Head)
1548
bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
1549
--[[local val = Instance.new("BoolValue",dude)
1550
val.Name = "IsHit"]]--
1551
local ds = coroutine.wrap(function()
1552
dude:WaitForChild("Head"):BreakJoints()
1553
for i, v in pairs(dude:GetChildren()) do
1554
if v:IsA("BasePart") or v:IsA("MeshPart") then
1555
v.Name = "DEMINISHED"
1556
CFuncs["Sound"].Create("rbxassetid://763718160", v, 0.75, 1.1)
1557
CFuncs["Sound"].Create("rbxassetid://782353443", v, 1, 1)
1558
--[[for i = 0, 1 do
1559
sphere2(1,"Add",v.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,10,-0.01,BrickColor.new("Bright blue"),BrickColor.new("Bright blue").Color)
1560
end]]--
1561
end
1562
end
1563
wait(0.5)
1564
targetted = nil
1565
CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.25, 0.285)
1566
coroutine.resume(coroutine.create(function()
1567
for i, v in pairs(dude:GetChildren()) do
1568
if v:IsA("Accessory") then
1569
v:Destroy()
1570
end
1571
if v:IsA("Humanoid") then
1572
v:Destroy()
1573
end
1574
if v:IsA("CharacterMesh") then
1575
v:Destroy()
1576
end
1577
if v:IsA("Model") then
1578
v:Destroy()
1579
end
1580
if v:IsA("BasePart") or v:IsA("MeshPart") then
1581
for x, o in pairs(v:GetChildren()) do
1582
if o:IsA("Decal") then
1583
o:Destroy()
1584
end
1585
end
1586
coroutine.resume(coroutine.create(function()
1587
v.Material = "Neon"
1588
v.CanCollide = false
1589
v.Anchored = false
1590
local bld = Instance.new("ParticleEmitter",v)
1591
bld.LightEmission = 0.75
1592
bld.Texture = "rbxassetid://2273224484" ---284205403
1593
bld.Color = ColorSequence.new(keptcolor.Color)
1594
bld.Rate = 15
1595
bld.Lifetime = NumberRange.new(1)
1596
bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
1597
bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
1598
bld.Speed = NumberRange.new(2,5)
1599
bld.VelocitySpread = 50000
1600
bld.Rotation = NumberRange.new(-500,500)
1601
bld.RotSpeed = NumberRange.new(-500,500)
1602
        local sbs = Instance.new("BodyPosition", v)
1603
        sbs.P = 3000
1604
        sbs.D = 1000
1605
        sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
1606
        sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
1607
v.Color = keptcolor.Color
1608
coroutine.resume(coroutine.create(function()
1609
for i = 0, 49 do
1610
swait(1)
1611
v:BreakJoints()
1612
v.Transparency = v.Transparency + 0.02
1613
end
1614
v:BreakJoints()
1615
for i = 0, 4 do
1616
slash(math.random(10,50)/10,3,true,"Round","Add","Out",v.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.0025,0.01),math.random(10,100)/2500,BrickColor.new("White"))
1617
end
1618
block(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor,keptcolor.Color)
1619
CFuncs["Sound"].Create("rbxassetid://782353117", v, 0.25, 1.2)
1620
CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
1621
bld.Speed = NumberRange.new(10,25)
1622
bld.Drag = 5
1623
bld.Acceleration = vt(0,2,0)
1624
wait(0.5)
1625
bld.Enabled = false
1626
wait(4)
1627
coroutine.resume(coroutine.create(function()
1628
for i = 0, 99 do
1629
swait()
1630
v:Destroy()
1631
dude:Destroy()
1632
end
1633
end))
1634
end))
1635
end))
1636
end
1637
end
1638
end))
1639
end)
1640
ds()
1641
end
1642
end
1643
1644
function FindNearestHead(Position, Distance, SinglePlayer)
1645
	if SinglePlayer then
1646
		return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
1647
	end
1648
	local List = {}
1649
	for i, v in pairs(workspace:GetChildren()) do
1650
		if v:IsA("Model") then
1651
			if v:findFirstChild("Head") then
1652
				if v ~= Character then
1653
					if (v.Head.Position - Position).magnitude <= Distance then
1654
						table.insert(List, v)
1655
					end 
1656
				end 
1657
			end 
1658
		end 
1659
	end
1660
	return List
1661
end
1662
1663
1664
1665
--        RAGDOLL STUFF
1666
1667
 
1668
function recurse(root,callback,i)
1669
    i= i or 0
1670
    for _,v in pairs(root:GetChildren()) do
1671
        i = i + 1
1672
        callback(i,v)
1673
       
1674
        if #v:GetChildren() > 0 then
1675
            i = recurse(v,callback,i)
1676
        end
1677
    end
1678
   
1679
    return i
1680
end
1681
 
1682
function ragdollJoint(character, part0, part1, attachmentName, className, properties)
1683
    attachmentName = attachmentName.."RigAttachment"
1684
    local constraint = Instance.new(className.."Constraint")
1685
    constraint.Attachment0 = part0:FindFirstChild(attachmentName)
1686
    constraint.Attachment1 = part1:FindFirstChild(attachmentName)
1687
    constraint.Name = "RagdollConstraint"..part1.Name
1688
   
1689
    for _,propertyData in next,properties or {} do
1690
        constraint[propertyData[1]] = propertyData[2]
1691
    end
1692
   
1693
    constraint.Parent = character
1694
end
1695
 
1696
function getAttachment0(character, attachmentName)
1697
    for _,child in next,character:GetChildren() do
1698
        local attachment = child:FindFirstChild(attachmentName)
1699
        if attachment then
1700
            return attachment
1701
        end
1702
    end
1703
end
1704
 
1705
function ArtificialHitbox(Part)
1706
    local HITBOX = CreatePart(3, Part, "Metal", 0, 1, "Really black", "Hitbox", Part.Size/2, false)
1707
    HITBOX.CanCollide = true
1708
    HITBOX.CFrame = Part.CFrame
1709
    weldBetween(Part,HITBOX)
1710
end
1711
 
1712
function R15Ragdoll(character,KeepArms)
1713
    character:BreakJoints()
1714
    coroutine.resume(coroutine.create(function()
1715
        recurse(character, function(_,v)
1716
            if v:IsA("Attachment") then
1717
                v.Axis = Vector3.new(0, 1, 0)
1718
                v.SecondaryAxis = Vector3.new(0, 0, 1)
1719
                v.Rotation = Vector3.new(0, 0, 0)
1720
            end
1721
        end)
1722
        for _,child in next,character:GetChildren() do
1723
            if child:IsA("Accoutrement") then
1724
                for _,part in next,child:GetChildren() do
1725
                    if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
1726
                        local attachment1 = part:FindFirstChildOfClass("Attachment")
1727
                        local attachment0 = getAttachment0(character,attachment1.Name)
1728
                        if attachment0 and attachment1 then
1729
                            local constraint = Instance.new("HingeConstraint")
1730
                            constraint.Attachment0 = attachment0
1731
                            constraint.Attachment1 = attachment1
1732
                            constraint.LimitsEnabled = true
1733
                            constraint.UpperAngle = 0
1734
                            constraint.LowerAngle = 0
1735
                            constraint.Parent = character
1736
                        end
1737
                        ArtificialHitbox(part)
1738
                    elseif part.Name == "HumanoidRootPart" then
1739
                        part:remove()
1740
                    end
1741
                end
1742
            end
1743
        end
1744
       
1745
        ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
1746
            {"LimitsEnabled",true};
1747
            {"UpperAngle",5};
1748
        })
1749
        if character:FindFirstChild("Head") then
1750
            ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
1751
                {"LimitsEnabled",true};
1752
                {"UpperAngle",15};
1753
            })
1754
        end
1755
       
1756
        local handProperties = {
1757
            {"LimitsEnabled", true};
1758
            {"UpperAngle",0};
1759
            {"LowerAngle",0};
1760
        }
1761
        ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
1762
        ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
1763
       
1764
        local shinProperties = {
1765
            {"LimitsEnabled", true};
1766
            {"UpperAngle", 0};
1767
            {"LowerAngle", -75};
1768
        }
1769
        ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
1770
        ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
1771
       
1772
        local footProperties = {
1773
            {"LimitsEnabled", true};
1774
            {"UpperAngle", 15};
1775
            {"LowerAngle", -45};
1776
        }
1777
        ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
1778
        ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
1779
        if KeepArms == true then
1780
            ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
1781
            ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
1782
            ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
1783
            ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
1784
        end
1785
        ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
1786
        ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
1787
        Debris:AddItem(character,50)
1788
    end))
1789
end
1790
 
1791
function Ragdoll(Character2,CharTorso,KeepArms)
1792
    coroutine.resume(coroutine.create(function()
1793
        Character2:BreakJoints()
1794
        local hum = Character2:findFirstChild("Humanoid")
1795
        hum:remove()
1796
        local function Scan(ch)
1797
            local e
1798
            for e = 1,#ch do
1799
                Scan(ch[e]:GetChildren())
1800
                if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
1801
                    ch[e]:remove()
1802
                end
1803
            end
1804
        end
1805
        local NEWHUM = IT("Humanoid")
1806
        NEWHUM.Name = "Corpse"
1807
        NEWHUM.Health = 0
1808
        NEWHUM.MaxHealth = 0
1809
        NEWHUM.PlatformStand = true
1810
        NEWHUM.Parent = Character2
1811
        NEWHUM.DisplayDistanceType = "None"
1812
   
1813
        local ch = Character2:GetChildren()
1814
        local i
1815
        for i = 1,#ch do
1816
            if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
1817
                ch[i]:remove()
1818
            end
1819
        end
1820
   
1821
        local Torso2 = Character2.Torso
1822
        local movevector = Vector3.new()
1823
   
1824
        if Torso2 then
1825
            movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
1826
            local Head = Character2:FindFirstChild("Head")
1827
            if Head then
1828
                local Neck = Instance.new("Weld")
1829
                Neck.Name = "Neck"
1830
                Neck.Part0 = Torso2
1831
                Neck.Part1 = Head
1832
                Neck.C0 = CFrame.new(0, 1.5, 0)
1833
                Neck.C1 = CFrame.new()
1834
                Neck.Parent = Torso2
1835
   
1836
            end
1837
            local Limb = Character2:FindFirstChild("Right Arm")
1838
            if Limb and KeepArms == true then
1839
   
1840
                Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
1841
                local Joint = Instance.new("Glue")
1842
                Joint.Name = "RightShoulder"
1843
                Joint.Part0 = Torso2
1844
                Joint.Part1 = Limb
1845
                Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
1846
                Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
1847
                Joint.Parent = Torso2
1848
   
1849
                local B = Instance.new("Part")
1850
                B.TopSurface = 0
1851
                B.BottomSurface = 0
1852
                B.formFactor = "Symmetric"
1853
                B.Size = Vector3.new(1, 1, 1)
1854
                B.Transparency = 1
1855
                B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
1856
                B.Parent = Character2
1857
                local W = Instance.new("Weld")
1858
                W.Part0 = Limb
1859
                W.Part1 = B
1860
                W.C0 = CFrame.new(0, -0.5, 0)
1861
                W.Parent = Limb
1862
   
1863
            end
1864
            local Limb = Character2:FindFirstChild("Left Arm")
1865
            if Limb and KeepArms == true then
1866
   
1867
                Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
1868
                local Joint = Instance.new("Glue")
1869
                Joint.Name = "LeftShoulder"
1870
                Joint.Part0 = Torso2
1871
                Joint.Part1 = Limb
1872
                Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
1873
                Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
1874
                Joint.Parent = Torso2
1875
   
1876
                local B = Instance.new("Part")
1877
                B.TopSurface = 0
1878
                B.BottomSurface = 0
1879
                B.formFactor = "Symmetric"
1880
                B.Size = Vector3.new(1, 1, 1)
1881
                B.Transparency = 1
1882
                B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
1883
                B.Parent = Character2
1884
                local W = Instance.new("Weld")
1885
                W.Part0 = Limb
1886
                W.Part1 = B
1887
                W.C0 = CFrame.new(0, -0.5, 0)
1888
                W.Parent = Limb
1889
   
1890
            end
1891
            local Limb = Character2:FindFirstChild("Right Leg")
1892
            if Limb then
1893
   
1894
                Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
1895
                local Joint = Instance.new("Glue")
1896
                Joint.Name = "RightHip"
1897
                Joint.Part0 = Torso2
1898
                Joint.Part1 = Limb
1899
                Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
1900
                Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
1901
                Joint.Parent = Torso2
1902
   
1903
                local B = Instance.new("Part")
1904
                B.TopSurface = 0
1905
                B.BottomSurface = 0
1906
                B.formFactor = "Symmetric"
1907
                B.Size = Vector3.new(1, 1, 1)
1908
                B.Transparency = 1
1909
                B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
1910
                B.Parent = Character2
1911
                local W = Instance.new("Weld")
1912
                W.Part0 = Limb
1913
                W.Part1 = B
1914
                W.C0 = CFrame.new(0, -0.5, 0)
1915
                W.Parent = Limb
1916
   
1917
            end
1918
            local Limb = Character2:FindFirstChild("Left Leg")
1919
            if Limb then
1920
   
1921
                Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
1922
                local Joint = Instance.new("Glue")
1923
                Joint.Name = "LeftHip"
1924
                Joint.Part0 = Torso2
1925
                Joint.Part1 = Limb
1926
                Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
1927
                Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
1928
                Joint.Parent = Torso2
1929
   
1930
                local B = Instance.new("Part")
1931
                B.TopSurface = 0
1932
                B.BottomSurface = 0
1933
                B.formFactor = "Symmetric"
1934
                B.Size = Vector3.new(1, 1, 1)
1935
                B.Transparency = 1
1936
                B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
1937
                B.Parent = Character2
1938
                local W = Instance.new("Weld")
1939
                W.Part0 = Limb
1940
                W.Part1 = B
1941
                W.C0 = CFrame.new(0, -0.5, 0)
1942
                W.Parent = Limb
1943
   
1944
            end
1945
            --[
1946
            local Bar = Instance.new("Part")
1947
            Bar.TopSurface = 0
1948
            Bar.BottomSurface = 0
1949
            Bar.formFactor = "Symmetric"
1950
            Bar.Size = Vector3.new(1, 1, 1)
1951
            Bar.Transparency = 1
1952
            Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
1953
            Bar.Parent = Character2
1954
            local Weld = Instance.new("Weld")
1955
            Weld.Part0 = Torso2
1956
            Weld.Part1 = Bar
1957
            Weld.C0 = CFrame.new(0, 0.5, 0)
1958
            Weld.Parent = Torso2
1959
            --]]
1960
        end
1961
        Character2.Parent = workspace
1962
        Debris:AddItem(Character2,50)
1963
   
1964
        return Character2,Torso2
1965
    end))
1966
end
1967
1968
1969
function Freeze(CHARACTER,LAST)
1970
		local q = CHARACTER:GetChildren()
1971
		for i = 1, #q do
1972
			local bob = q[i]
1973
			if bob.ClassName == "Part" or bob.ClassName == "MeshPart" then
1974
				if bob.Transparency < 1 then
1975
					bob.Anchored = true
1976
					if bob:FindFirstChild("Ice") == nil then
1977
					local icelayer = bob:Clone()
1978
					icelayer.Parent = bob
1979
					icelayer.Material = "Ice"
1980
					icelayer.CanCollide = false
1981
					icelayer.BrickColor = BRICKC"Steel blue"
1982
					icelayer.Transparency = 0.5
1983
					icelayer.CFrame = bob.CFrame
1984
					icelayer.Name = "Ice"
1985
					icelayer.Size = icelayer.Size + VT(0.1,0.1,0.1)
1986
					if icelayer:FindFirstChildOfClass("Decal") then
1987
						icelayer:FindFirstChildOfClass("Decal"):remove()
1988
					end
1989
					end
1990
				end
1991
			end
1992
		end
1993
		coroutine.resume(coroutine.create(function()
1994
			swait(LAST*100)
1995
			local q = CHARACTER:GetChildren()
1996
			for i = 1, #q do
1997
				local bob = q[i]
1998
				if bob.ClassName == "Part" or bob.ClassName == "MeshPart" then
1999
					if bob.Transparency < 1 then
2000
						bob.Anchored = false
2001
						bob.Ice:remove()
2002
					end
2003
				end
2004
			end
2005
		end))
2006
end
2007
2008
2009
function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
2010
  if hit.Parent == nil then
2011
    return
2012
  end
2013
  local h = hit.Parent:FindFirstChildOfClass("Humanoid")
2014
  for _, v in pairs(hit.Parent:children()) do
2015
    if v:IsA("Humanoid") then
2016
      h = v
2017
    end
2018
  end
2019
  if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
2020
    if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
2021
      return
2022
    end
2023
    local c = Create("ObjectValue")({
2024
      Name = "creator",
2025
      Value = Player,
2026
      Parent = h
2027
    })
2028
    game:GetService("Debris"):AddItem(c, 0.5)
2029
    if HitSound ~= nil and HitPitch ~= nil then
2030
      CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
2031
    end
2032
    local Damage = math.random(minim, maxim)
2033
    local blocked = false
2034
    local block = hit.Parent:findFirstChild("Block")
2035
    if block ~= nil and block.className == "IntValue" and block.Value > 0 then
2036
      blocked = true
2037
      block.Value = block.Value - 1
2038
      print(block.Value)
2039
    end
2040
    if blocked == false then
2041
      HitHealth = h.Health
2042
      h.MaxHealth = 100
2043
      h.Health = h.Health - Damage
2044
      if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
2045
        print("gained kill")
2046
                            if h.Parent:FindFirstChild("Torso") then
2047
                      --  h.Parent:FindFirstChild("Torso").CFrame = h.Parent:FindFirstChild("Torso").CFrame * ANGLES(RAD(2), RAD(0), RAD(0))
2048
                        Ragdoll(h.Parent,Torso,true)
2049
                    elseif h.Parent:FindFirstChild("UpperTorso") then
2050
                        R15Ragdoll(h.Parent,true)
2051
                    end
2052
      end
2053
      ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
2054
    else
2055
      h.Health = h.Health - Damage / 2
2056
      ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
2057
    end
2058
    if Type == "Knockdown" then
2059
      local hum = hit.Parent.Humanoid
2060
      hum.PlatformStand = true
2061
      coroutine.resume(coroutine.create(function(HHumanoid)
2062
        swait(1)
2063
        HHumanoid.PlatformStand = false
2064
      end), hum)
2065
      local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
2066
      local bodvol = Create("BodyVelocity")({
2067
        velocity = angle * knockback,
2068
        P = 5000,
2069
        maxForce = Vector3.new(8000, 8000, 8000),
2070
        Parent = hit
2071
      })
2072
      local rl = Create("BodyAngularVelocity")({
2073
        P = 3000,
2074
        maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
2075
        angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
2076
        Parent = hit
2077
      })
2078
      game:GetService("Debris"):AddItem(bodvol, 0.5)
2079
      game:GetService("Debris"):AddItem(rl, 0.5)
2080
elseif Type == "Freeze" then
2081
	      local vp = Create("BodyVelocity")({
2082
        P = 500,
2083
        maxForce = Vector3.new(math.huge, 0, math.huge),
2084
        velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
2085
      })
2086
      if knockback > 0 then
2087
        vp.Parent = hit.Parent.Head
2088
      end
2089
      game:GetService("Debris"):AddItem(vp, 0.5)
2090
    if h.Parent then
2091
	Freeze(h.Parent,3)
2092
	end
2093
    elseif Type == "Normal" then
2094
      local vp = Create("BodyVelocity")({
2095
        P = 500,
2096
        maxForce = Vector3.new(math.huge, 0, math.huge),
2097
        velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
2098
      })
2099
      if knockback > 0 then
2100
        vp.Parent = hit.Parent.Head
2101
      end
2102
      game:GetService("Debris"):AddItem(vp, 0.5)
2103
    elseif Type == "Up" then
2104
      local bodyVelocity = Create("BodyVelocity")({
2105
        velocity = Vector3.new(0, 20, 0),
2106
        P = 5000,
2107
        maxForce = Vector3.new(8000, 8000, 8000),
2108
        Parent = hit
2109
      })
2110
      game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
2111
      local bodyVelocity = Create("BodyVelocity")({
2112
        velocity = Vector3.new(0, 20, 0),
2113
        P = 5000,
2114
        maxForce = Vector3.new(8000, 8000, 8000),
2115
        Parent = hit
2116
      })
2117
      game:GetService("Debris"):AddItem(bodyVelocity, 1)
2118
    elseif Type == "Leech" then
2119
      local hum = hit.Parent.Humanoid
2120
      if hum ~= nil then
2121
        for i = 0, 2 do
2122
        --  Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
2123
        end
2124
        Humanoid.Health = Humanoid.Health + 10
2125
      end
2126
    elseif Type == "UpKnock" then
2127
      local hum = hit.Parent.Humanoid
2128
      hum.PlatformStand = true
2129
      if hum ~= nil then
2130
        hitr = true
2131
      end
2132
      coroutine.resume(coroutine.create(function(HHumanoid)
2133
        swait(5)
2134
        HHumanoid.PlatformStand = false
2135
        hitr = false
2136
      end), hum)
2137
      local bodyVelocity = Create("BodyVelocity")({
2138
        velocity = Vector3.new(0, 20, 0),
2139
        P = 5000,
2140
        maxForce = Vector3.new(8000, 8000, 8000),
2141
        Parent = hit
2142
      })
2143
      game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
2144
      local bodyVelocity = Create("BodyVelocity")({
2145
        velocity = Vector3.new(0, 20, 0),
2146
        P = 5000,
2147
        maxForce = Vector3.new(8000, 8000, 8000),
2148
        Parent = hit
2149
      })
2150
      game:GetService("Debris"):AddItem(bodyVelocity, 1)
2151
    elseif Type == "Snare" then
2152
      local bp = Create("BodyPosition")({
2153
        P = 2000,
2154
        D = 100,
2155
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
2156
        position = hit.Parent.Torso.Position,
2157
        Parent = hit.Parent.Torso
2158
      })
2159
      game:GetService("Debris"):AddItem(bp, 1)
2160
    elseif Type == "Slashnare" then
2161
    --  Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 15*4, 15*4, 15*4, 3*4, 3*4, 3*4, 0.07)
2162
      for i = 1, math.random(4, 5) do
2163
     -- Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
2164
      end
2165
      local bp = Create("BodyPosition")({
2166
        P = 2000,
2167
        D = 100,
2168
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
2169
        position = hit.Parent.Torso.Position,
2170
        Parent = hit.Parent.Torso
2171
      })
2172
      game:GetService("Debris"):AddItem(bp, 1)
2173
    elseif Type == "Spike" then
2174
     -- CreateBigIceSword(hit.Parent.Torso.CFrame)
2175
      local bp = Create("BodyPosition")({
2176
        P = 2000,
2177
        D = 100,
2178
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
2179
        position = hit.Parent.Torso.Position,
2180
        Parent = hit.Parent.Torso
2181
      })
2182
      game:GetService("Debris"):AddItem(bp, 1)
2183
    elseif Type == "Freeze" then
2184
      local BodPos = Create("BodyPosition")({
2185
        P = 50000,
2186
        D = 1000,
2187
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
2188
        position = hit.Parent.Torso.Position,
2189
        Parent = hit.Parent.Torso
2190
      })
2191
      local BodGy = Create("BodyGyro")({
2192
        maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
2193
        P = 20000,
2194
        Parent = hit.Parent.Torso,
2195
        cframe = hit.Parent.Torso.CFrame
2196
      })
2197
      hit.Parent.Torso.Anchored = true
2198
      coroutine.resume(coroutine.create(function(Part)
2199
        swait(1.5)
2200
        Part.Anchored = false
2201
      end), hit.Parent.Torso)
2202
      game:GetService("Debris"):AddItem(BodPos, 3)
2203
      game:GetService("Debris"):AddItem(BodGy, 3)
2204
    end
2205
    local debounce = Create("BoolValue")({
2206
      Name = "DebounceHit",
2207
      Parent = hit.Parent,
2208
      Value = true
2209
    })
2210
    game:GetService("Debris"):AddItem(debounce, Delay)
2211
    c = Instance.new("ObjectValue")
2212
    c.Name = "creator"
2213
    c.Value = Player
2214
    c.Parent = h
2215
    game:GetService("Debris"):AddItem(c, 0.5)
2216
  end
2217
end
2218
function RemoveOutlines(part)
2219
  part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
2220
end
2221
2222
function CrystalEffect(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,outerpos)
2223
local type = type
2224
local rng = CrystalEff:Clone()
2225
		rng.Parent = char
2226
        rng.Anchored = true
2227
        rng.CanCollide = false
2228
        rng.Name = "Ring"
2229
        rng.Material = "Neon"
2230
        rng.Size = Vector3.new(x1, y1, z1)
2231
        rng.Transparency = 0.25
2232
        rng.TopSurface = 0
2233
        rng.BottomSurface = 0
2234
        rng.CFrame = pos
2235
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
2236
local scaler2 = 1
2237
local speeder = FastSpeed
2238
if type == "Add" then
2239
scaler2 = 1*value
2240
elseif type == "Divide" then
2241
scaler2 = 1/value
2242
end
2243
coroutine.resume(coroutine.create(function()
2244
for i = 0,10/bonuspeed,0.1 do
2245
swait()
2246
if type == "Add" then
2247
scaler2 = scaler2 - 0.01*value/bonuspeed
2248
elseif type == "Divide" then
2249
scaler2 = scaler2 - 0.01/value*bonuspeed
2250
end
2251
speeder = speeder - 0.01*FastSpeed*bonuspeed
2252
rng.CFrame = rng.CFrame + Vector3.new(0,0.05,0)
2253
rng.Transparency = rng.Transparency + 0.01*bonuspeed
2254
end
2255
rng:Destroy()
2256
end))
2257
end
2258
2259
2260
2261
function TriangleEffect(bonuspeed,FastSpeed,type,pos,value,outerpos)
2262
local type = type
2263
local rng = Triangle2:Clone()
2264
		rng.Parent = char
2265
        rng.Anchored = true
2266
        rng.CanCollide = false
2267
        rng.Name = "Ring"
2268
        rng.Material = "Neon"
2269
        rng.Transparency = 0.32
2270
        rng.TopSurface = 0
2271
        rng.BottomSurface = 0
2272
        rng.CFrame = pos
2273
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
2274
local scaler2 = 1
2275
local speeder = FastSpeed
2276
if type == "Add" then
2277
scaler2 = 1*value
2278
elseif type == "Divide" then
2279
scaler2 = 1/value
2280
end
2281
coroutine.resume(coroutine.create(function()
2282
for i = 0,10/bonuspeed,0.1 do
2283
swait()
2284
if type == "Add" then
2285
scaler2 = scaler2 - 0.01*value/bonuspeed
2286
elseif type == "Divide" then
2287
scaler2 = scaler2 - 0.01/value*bonuspeed
2288
end
2289
speeder = speeder - 0.01*FastSpeed*bonuspeed
2290
rng.CFrame = rng.CFrame + Vector3.new(0,0.05,0)
2291
rng.Transparency = rng.Transparency + 0.01*bonuspeed
2292
end
2293
rng:Destroy()
2294
end))
2295
end
2296
2297
function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
2298
  local Part = Create("Part")({
2299
    Parent = Parent,
2300
    Reflectance = Reflectance,
2301
    Transparency = Transparency,
2302
    CanCollide = false,
2303
    Locked = true,
2304
    BrickColor = BrickColor.new(tostring(BColor)),
2305
    Name = Name,
2306
    Size = Size,
2307
    Material = Material
2308
  })
2309
  Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
2310
  RemoveOutlines(Part)
2311
  return Part
2312
end
2313
function ShowDamage(Pos, Text, Time, Color)
2314
coroutine.resume(coroutine.create(function()
2315
  local Rate = 0.03333333333333333
2316
  local Pos = Pos or Vector3.new(0, 0, 0)
2317
  local Text = Text or ""
2318
  local Color = Color or Color3.new(1, 0, 1)
2319
  local EffectPart = CreatePart(Character, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
2320
  EffectPart.Anchored = true
2321
  EffectPart.CFrame = CFrame.new(Pos)
2322
  local BillboardGui = Create("BillboardGui")({
2323
    Size = UDim2.new(6, 0, 6, 0),
2324
    Adornee = EffectPart,
2325
    Parent = EffectPart,
2326
	AlwaysOnTop=true,
2327
	Active=true
2328
  })
2329
  local TextLabel = Create("TextLabel")({
2330
    BackgroundTransparency = 1,
2331
	AnchorPoint=Vector2.new(.5,.5),
2332
    Position = UDim2.new(.5, 0, .5, 0),
2333
    Size = UDim2.new(1, 0, 1, 0),
2334
    Text = Text,
2335
    TextColor3 = MAINCOLOR.Color,
2336
   	TextStrokeColor3 = Color3.new(0,0,0),
2337
	TextStrokeTransparency=0,
2338
    TextScaled = true,
2339
    Font = "Arcade",
2340
    Parent = BillboardGui,
2341
	ZIndex=4,
2342
  })
2343
local raise=.2
2344
local rot=math.random(-10,10)/15
2345
local aaa=math.random(-360,360)
2346
local bbb=math.random(-360,360)
2347
for aaa=0,2,.01 do
2348
swait()
2349
raise=raise-.008
2350
if Mode == "R" then
2351
	TextLabel.TextColor3 = C3(r/255,g/255,b/255)
2352
end
2353
TextLabel.Rotation = TextLabel.Rotation+rot
2354
TextLabel.TextTransparency=aaa
2355
TextLabel.TextStrokeTransparency=aaa
2356
EffectPart.Position=EffectPart.Position+Vector3.new(0,raise,0)
2357
end
2358
wait(3)
2359
BillboardGui:Remove()
2360
EffectPart:Remove()
2361
end))
2362
end
2363
function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
2364
  for _, c in pairs(workspace:children()) do
2365
    local hum = c:findFirstChildOfClass("Humanoid")
2366
    if hum ~= nil then
2367
      local head = c:findFirstChild("Head")
2368
      if head ~= nil then
2369
        local targ = head.Position - Part.Position
2370
        local mag = targ.magnitude
2371
        if magni >= mag and c.Name ~= Player.Name then
2372
          Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
2373
        end
2374
      end
2375
    end
2376
  end
2377
end
2378
2379
function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
2380
  for _, c in pairs(workspace:children()) do
2381
    local hum = c:findFirstChild("Humanoid")
2382
    if hum ~= nil then
2383
      local head = c:findFirstChild("Torso")
2384
      if head ~= nil then
2385
        local targ = head.Position - Part.Position
2386
        local mag = targ.magnitude
2387
        if magni >= mag and c.Name ~= Player.Name then
2388
	--MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
2389
          Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
2390
        end
2391
      end
2392
    end
2393
  end
2394
end
2395
function FindNearestTorso(pos,distance)
2396
local list=(workspace:children())
2397
local torso=nil
2398
local dist=distance
2399
local temp,human,temp2=nil,nil,nil
2400
for x=1,#list do
2401
temp2=list[x]
2402
if temp2.className=="Model"and temp2.Name~=char.Name then
2403
temp=temp2:findFirstChild("Torso")
2404
human=temp2:findFirstChildOfClass("Humanoid")
2405
if temp~=nil and human~=nil and human.Health>=0 and (temp.Position-pos).magnitude<dist then
2406
local dohit=true
2407
if dohit==true then
2408
torso=temp
2409
dist=(temp.Position-pos).magnitude
2410
end
2411
end
2412
end
2413
end
2414
return torso,dist
2415
end
2416
2417
function LunarAttack()
2418
attacking = true
2419
Speed = 0
2420
CFuncs["Sound"].Create("rbxassetid://1368583274", larm, 4.5, 1.625)
2421
local OverCut = false
2422
for i = 0, 4, 0.1 do
2423
swait()
2424
MagniDamage(Torso, 13, 2,6, 0, "Normal",153092213)
2425
--slash(math.random(10,30)/10,5,true,"Round","Add","Out",x.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.001,0.1),math.random(50,400)/420,BrickColor.new("White"))
2426
slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,50)/250,BrickColor.new("White"))
2427
slash(math.random(20,40)/10,5,true,"Round","Add","Out",rarm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.025,0.001,0.025),-0.025,BrickColor.new("White"))
2428
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0),math.rad(-6)),.3)
2429
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(30),math.rad(3)),.3)
2430
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(50)),.3)
2431
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-15),math.rad(5),math.rad(-50)),.3)
2432
RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-170),math.rad(-10),math.rad(0)),.3)
2433
LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(20),math.rad(40),math.rad(-20)),.3)
2434
end
2435
local orb = basketball:Clone()
2436
orb.Parent = Character
2437
orb.Name = "basketball"
2438
orb.Torso.CFrame = root.CFrame*CFrame.new(0,7,0)--50,0)
2439
local x = orb.Torso
2440
local keptcolor = MAINCOLOR
2441
local poste = 0
2442
local rotation = 0
2443
local upperpos = 0
2444
local rate = 0
2445
for i,v in pairs(orb:GetChildren()) do
2446
	if v:IsA("BasePart") then
2447
v.Anchored = true
2448
v.CanCollide = false
2449
v.Transparency = 0
2450
end
2451
end
2452
OverCut = true
2453
for i = 0, 6 do
2454
--slash(math.random(10,30)/10,5,true,"Round","Add","Out",x.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.001,0.1),math.random(50,400)/420,BrickColor.new("White"))
2455
end
2456
--sphere2(2,"Add",x.CFrame,vt(10,10,10),0.5,0.5,0.5,BrickColor.new("Bright yellow"),BrickColor.new("Bright yellow").Color)
2457
--sphere2(3,"Add",x.CFrame,vt(10,10,10),0.75,0.75,0.75,BrickColor.new("Bright yellow"),BrickColor.new("Bright yellow").Color)
2458
--sphere2(4,"Add",x.CFrame,vt(10,10,10),1,1,1,BrickColor.new("Bright yellow"),BrickColor.new("Bright yellow").Color)
2459
CFuncs["Sound"].Create("rbxassetid://1368637781", orb, 7.5, 1)
2460
local a = Instance.new("Part",workspace)
2461
a.Name = "Direction"	
2462
a.Anchored = true
2463
a.Transparency = 1
2464
a.CanCollide = false
2465
local ray = Ray.new(
2466
x.CFrame.p,                           -- origin
2467
(mouse.Hit.p - x.CFrame.p).unit * 500 -- direction
2468
) 
2469
local ignore = x
2470
local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
2471
a.BottomSurface = 10
2472
a.TopSurface = 10
2473
local distance = (x.CFrame.p - position).magnitude
2474
a.Size = Vector3.new(0.1, 0.1, 0.1)
2475
a.CFrame = CFrame.new(x.CFrame.p, position) * CFrame.new(0, 0, 0)
2476
x.CFrame = a.CFrame
2477
for i = 0, 2, 0.1 do
2478
swait()
2479
--sphere2(5,"Add",x.CFrame*CFrame.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)),vt(1,1,1),0.01,0.01,0.01,BrickColor.new("Bright blue"),BrickColor.new("Bright blue").Color)
2480
ray = Ray.new(
2481
x.CFrame.p,                           -- origin
2482
(mouse.Hit.p - x.CFrame.p).unit * 500 -- direction
2483
) 
2484
hit, position, normal = workspace:FindPartOnRay(ray, ignore)
2485
distance = (x.CFrame.p - position).magnitude
2486
a.CFrame = CFrame.new(x.CFrame.p, position) * CFrame.new(0, 0, 0)
2487
x.CFrame = a.CFrame
2488
--slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,50)/250,BrickColor.new("White"))
2489
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0),math.rad(-6)),.3)
2490
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(40),math.rad(3)),.3)
2491
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
2492
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(-60)),.3)
2493
RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-100),math.rad(-0),math.rad(110)),.3)
2494
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(1),math.rad(11),math.rad(12)),.3)
2495
end
2496
swait(30)
2497
x.CFrame = a.CFrame
2498
for i,v in pairs(orb:GetChildren()) do
2499
	if v:IsA("BasePart") then
2500
v.Anchored = false
2501
end
2502
end
2503
a:Destroy()
2504
local bv = Instance.new("BodyVelocity")
2505
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
2506
bv.velocity = x.CFrame.lookVector*100
2507
bv.Parent = x
2508
local hitted = false
2509
CFuncs["Sound"].Create("rbxassetid://466493476", orb, 7.5, 0.7)
2510
x.CFrame = x.CFrame * CFrame.Angles(0,math.rad(360*math.cos(sne/6)),0)
2511
--waveEff(2,"Add","Out",x.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(5,1,5),0.5,0.1,BrickColor.new("Bright yellow"))
2512
--waveEff(4,"Add","Out",x.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(5,1,5),0.5,0.05,BrickColor.new("Bright blue"))
2513
coroutine.resume(coroutine.create(function()
2514
while true do
2515
swait(2)
2516
if hitted == false and x.Parent ~= nil then
2517
	MagniDamage(x, 5, 3,6, 0, "Normal",153092213)
2518
	--orb.CFrame = orb.CFrame * CFrame.Angles(math.rad(360*math.cos(sne/6)),0,0)
2519
--slash(3,5,true,"Round","Add","Out",x.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(0.075,0.005,0.075),-0.05,BrickColor.new("White"))
2520
elseif hitted == true and x.Parent == nil then
2521
break
2522
end
2523
end
2524
end))
2525
--[[x.Touched:connect(function(hit) 
2526
if hitted == false and hit.Parent ~= char then
2527
hitted = true
2528
MagniDamage(x, 67, 23,32, 0, "Normal",153092213)
2529
CFuncs["Sound"].Create("rbxassetid://763717897", x, 10, 1)
2530
CFuncs["Sound"].Create("rbxassetid://1295446488", x, 9, 0.75)
2531
for i = 0, 24 do
2532
slash(math.random(15,30)/10,5,true,"Round","Add","Out",x.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.001,0.01),math.random(125,250)/350,BrickColor.new("White"))
2533
end
2534
slash(1,5,true,"Round","Add","Out",x.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(0.01,0.015,0.01),2.5,BrickColor.new("White"))
2535
slash(1,5,true,"Round","Add","Out",x.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(0.01,0.01,0.01),3,BrickColor.new("White"))
2536
sphere2(1,"Add",x.CFrame,vt(15,15,15),2,2,2,BrickColor.new("New Yeller"),BrickColor.new("New Yeller").Color)
2537
sphere2(1.5,"Add",x.CFrame,vt(15,10,15),2.1,2.1,2.1,BrickColor.new("Bright blue"),BrickColor.new("Bright blue").Color)
2538
sphere2(2,"Add",x.CFrame,vt(15,15,15),2.2,2.2,2.2,BrickColor.new("Bright blue"),BrickColor.new("Bright blue").Color)
2539
for i,v in pairs(orb:GetChildren()) do
2540
	if v:IsA("BasePart") then
2541
v.Anchored = true
2542
v.Transparency = 1
2543
end
2544
end
2545
coroutine.resume(coroutine.create(function()
2546
for i = 0, 4, 0.1 do
2547
swait()
2548
--slash(math.random(10,50)/10,5,true,"Round","Add","Out",x.CFrame*CFrame.Angles(math.rad(90 + math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.015,0.01),1.5,BrickColor.new("Bright blue"))
2549
end
2550
end))
2551
wait(10)
2552
orb:Remove()()
2553
end
2554
end)]]--
2555
game:GetService("Debris"):AddItem(orb, 20)
2556
for i = 0, 1, 0.1 do
2557
swait()
2558
slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,50)/250,BrickColor.new("White"))
2559
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0),math.rad(-6)),.3)
2560
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(30),math.rad(3)),.3)
2561
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.4,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
2562
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(70)),.3)
2563
RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-13),math.rad(-40),math.rad(20)),.3)
2564
LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-80)),.3)
2565
end
2566
attacking = false
2567
Speed = 43
2568
end
2569
2570
function LunarAttackA()
2571
attacking = true
2572
Speed = 0
2573
CFuncs["Sound"].Create("rbxassetid://1368583274", larm, 4.5, 1.2)
2574
local OverCut = false
2575
for i = 0, 10, 0.1 do
2576
swait()
2577
MagniDamage(Torso, 12, 2,5, 0, "Normal",153092213)
2578
slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,50)/250,BrickColor.new("White"))
2579
slash(math.random(20,40)/10,5,true,"Round","Add","Out",rarm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.025,0.001,0.025),-0.025,BrickColor.new("White"))
2580
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0),math.rad(-6)),.3)
2581
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(30),math.rad(3)),.3)
2582
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(50)),.3)
2583
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-15),math.rad(5),math.rad(-50)),.3)
2584
RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-170),math.rad(-10),math.rad(0)),.3)
2585
LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(20),math.rad(40),math.rad(-20)),.3)
2586
end
2587
OverCut = true
2588
local orb = MoonEffect:Clone()
2589
orb.Anchored = true
2590
orb.Parent = Character
2591
orb.CanCollide = false
2592
orb.Name = "Orbieee"
2593
orb.CFrame = root.CFrame*CFrame.new(0,50,0)
2594
for i = 0, 24 do
2595
slash(math.random(10,30)/10,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.001,0.1),math.random(50,400)/420,BrickColor.new("White"))
2596
end
2597
sphere2(2,"Add",orb.CFrame,vt(10,10,10),0.5,0.5,0.5,BrickColor.new("Bright yellow"),BrickColor.new("Bright yellow").Color)
2598
sphere2(3,"Add",orb.CFrame,vt(10,10,10),0.75,0.75,0.75,BrickColor.new("Bright yellow"),BrickColor.new("Bright yellow").Color)
2599
sphere2(4,"Add",orb.CFrame,vt(10,10,10),1,1,1,BrickColor.new("Bright yellow"),BrickColor.new("Bright yellow").Color)
2600
CFuncs["Sound"].Create("rbxassetid://1368637781", orb, 7.5, 1)
2601
local a = Instance.new("Part",workspace)
2602
a.Name = "Direction"	
2603
a.Anchored = true
2604
a.Transparency = 1
2605
a.CanCollide = false
2606
local ray = Ray.new(
2607
orb.CFrame.p,                           -- origin
2608
(mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
2609
) 
2610
local ignore = orb
2611
local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
2612
a.BottomSurface = 10
2613
a.TopSurface = 10
2614
local distance = (orb.CFrame.p - position).magnitude
2615
a.Size = Vector3.new(0.1, 0.1, 0.1)
2616
a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
2617
orb.CFrame = a.CFrame
2618
for i = 0, 8, 0.1 do
2619
swait()
2620
sphere2(5,"Add",orb.CFrame*CFrame.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)),vt(1,1,1),0.01,0.01,0.01,BrickColor.new("Bright blue"),BrickColor.new("Bright blue").Color)
2621
ray = Ray.new(
2622
orb.CFrame.p,                           -- origin
2623
(mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
2624
) 
2625
hit, position, normal = workspace:FindPartOnRay(ray, ignore)
2626
distance = (orb.CFrame.p - position).magnitude
2627
a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
2628
orb.CFrame = a.CFrame
2629
slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,50)/250,BrickColor.new("White"))
2630
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0),math.rad(-6)),.3)
2631
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(40),math.rad(3)),.3)
2632
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
2633
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(-60)),.3)
2634
RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-100),math.rad(-0),math.rad(110)),.3)
2635
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(1),math.rad(11),math.rad(12)),.3)
2636
end
2637
orb.Anchored = false
2638
a:Destroy()
2639
local bv = Instance.new("BodyVelocity")
2640
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
2641
bv.velocity = orb.CFrame.lookVector*150
2642
bv.Parent = orb
2643
local hitted = false
2644
CFuncs["Sound"].Create("rbxassetid://466493476", orb, 7.5, 0.7)
2645
orb.CFrame = orb.CFrame * CFrame.Angles(0,math.rad(360*math.cos(sne/6)),0)
2646
waveEff(2,"Add","Out",orb.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(5,1,5),0.5,0.1,BrickColor.new("Bright yellow"))
2647
waveEff(4,"Add","Out",orb.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(5,1,5),0.5,0.05,BrickColor.new("Bright blue"))
2648
coroutine.resume(coroutine.create(function()
2649
while true do
2650
swait(2)
2651
if hitted == false and orb.Parent ~= nil then
2652
	--orb.CFrame = orb.CFrame * CFrame.Angles(math.rad(360*math.cos(sne/6)),0,0)
2653
slash(3,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(0.075,0.005,0.075),-0.05,BrickColor.new("White"))
2654
elseif hitted == true and orb.Parent == nil then
2655
break
2656
end
2657
end
2658
end))
2659
orb.Touched:connect(function(hit) 
2660
if hitted == false and hit.Parent ~= char then
2661
hitted = true
2662
MagniDamage(orb, 67, 72,115, 0, "Normal",153092213)
2663
CFuncs["Sound"].Create("rbxassetid://763717897", orb, 10, 1)
2664
CFuncs["Sound"].Create("rbxassetid://1295446488", orb, 9, 0.75)
2665
for i = 0, 24 do
2666
slash(math.random(15,30)/10,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.001,0.01),math.random(125,250)/350,BrickColor.new("White"))
2667
end
2668
slash(1,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(0.01,0.015,0.01),2.5,BrickColor.new("White"))
2669
slash(1,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(0.01,0.01,0.01),3,BrickColor.new("White"))
2670
sphere2(1,"Add",orb.CFrame,vt(15,15,15),2,2,2,BrickColor.new("New Yeller"),BrickColor.new("New Yeller").Color)
2671
sphere2(1.5,"Add",orb.CFrame,vt(15,10,15),2.1,2.1,2.1,BrickColor.new("Bright blue"),BrickColor.new("Bright blue").Color)
2672
sphere2(2,"Add",orb.CFrame,vt(15,15,15),2.2,2.2,2.2,BrickColor.new("Bright blue"),BrickColor.new("Bright blue").Color)
2673
orb.Anchored = true
2674
orb.Transparency = 1
2675
coroutine.resume(coroutine.create(function()
2676
for i = 0, 4, 0.1 do
2677
swait()
2678
--slash(math.random(10,50)/10,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(90 + math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.015,0.01),1.5,BrickColor.new("Bright blue"))
2679
end
2680
end))
2681
wait(10)
2682
orb:Destroy()
2683
end
2684
end)
2685
game:GetService("Debris"):AddItem(orb, 10)
2686
for i = 0, 2, 0.1 do
2687
swait()
2688
slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,50)/250,BrickColor.new("White"))
2689
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0),math.rad(-6)),.3)
2690
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(30),math.rad(3)),.3)
2691
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.4,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
2692
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(70)),.3)
2693
RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-13),math.rad(-40),math.rad(20)),.3)
2694
LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-80)),.3)
2695
end
2696
attacking = false
2697
Speed = 43
2698
end
2699
2700
function glitchattack()
2701
	attacking = true
2702
	local brickglitch = {BrickColor.new("Institutional white"),BrickColor.new("Really black")}
2703
local keptcolor = brickglitch[MRANDOM(1,2)]
2704
local glitchvalA = math.random(0,255)
2705
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
2706
for i = 0, 8, 0.1 do
2707
		swait()
2708
		sphereMK(3.5,-1,"Add",sorb.CFrame* CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))),0.5,0.5,10,-0.005,BrickColor.new("Institutional white"),0)	
2709
				RightH.C0=clerp(RightH.C0,cf(1,-1 - 0.05 * math.cos(sne / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sne / 56)),math.rad(0 - 2 * math.cos(sne / 32))),.1)
2710
LeftH.C0=clerp(LeftH.C0,cf(-1,-1 - 0.05 * math.cos(sne / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sne / 56)),math.rad(0 + 2 * math.cos(sne / 32))),.1)
2711
RootJ.C0=clerp(RootJ.C0,RootCF*cf(0,0 + 0.02 * math.cos(sne / 32),-0.1 + 0.05 * math.cos(sne / 32))*angles(math.rad(0 - 2 * math.cos(sne / 32)),math.rad(0),math.rad(-11)),.1)
2712
Torso.Neck.C0=clerp(Torso.Neck.C0,neckcf*angles(math.rad(15 - 15 * math.cos(sne / 0.5265)),math.rad(-2 - 15 * math.cos(sne / 0.25)),math.rad(0 - 15 * math.cos(sne / 0.465)))*angles(math.rad(10 - 2.5 * math.cos(sne / 28)),math.rad(0),math.rad(-31 + 6.5 * math.cos(sne / 32.5))),.1)
2713
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(15 - 15 * math.cos(sne / 0.5265)),math.rad(0 - 15 * math.cos(sne / 0.25)),math.rad(0 - 15 * math.cos(sne / 0.465)))*angles(math.rad(math.random(161,176)),math.rad(-5),math.rad(15 + 7.5 * math.cos(sne / 32.5))),.1)
2714
LW.C0=clerp(LW.C0,cf(-1.5+0.05*math.cos(sne/32),0.65-.05*math.cos(sne/32),0)*angles(math.rad(15 - 15 * math.cos(sne / 0.5265)),math.rad(0 - 15 * math.cos(sne / 0.25)),math.rad(0 - 15 * math.cos(sne / 0.465)))*angles(math.rad(math.random(136,159)),math.rad(5),math.rad(29 - 8.5 * math.cos(sne / 32.5))),.1)
2715
end
2716
for i = 0, 3.1, 0.1 do
2717
		swait()
2718
		sphereMK(3.5,-1,"Add",sorb.CFrame* CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))),0.5,0.5,10,-0.005,BrickColor.new("Institutional white"),0)	
2719
RightH.C0=clerp(RightH.C0,cf(1,-1 - 0.05 * math.cos(sne / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sne / 56)),math.rad(0 - 2 * math.cos(sne / 32))),.1)
2720
LeftH.C0=clerp(LeftH.C0,cf(-1,-1 - 0.05 * math.cos(sne / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sne / 56)),math.rad(0 + 2 * math.cos(sne / 32))),.1)
2721
RootJ.C0=clerp(RootJ.C0,RootCF*cf(0,0 + 0.02 * math.cos(sne / 32),-0.1 + 0.05 * math.cos(sne / 32))*angles(math.rad(0 - 2 * math.cos(sne / 32)),math.rad(0),math.rad(-51)),.1)
2722
Torso.Neck.C0=clerp(Torso.Neck.C0,neckcf*angles(math.rad(15 - 15 * math.cos(sne / 0.5265)),math.rad(-2 - 15 * math.cos(sne / 0.25)),math.rad(0 - 15 * math.cos(sne / 0.465)))*angles(math.rad(10 - 2.5 * math.cos(sne / 28)),math.rad(0),math.rad(-71 + 6.5 * math.cos(sne / 32.5))),.1)
2723
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(15 - 15 * math.cos(sne / 0.5265)),math.rad(0 - 15 * math.cos(sne / 0.25)),math.rad(0 - 15 * math.cos(sne / 0.465)))*angles(math.rad(math.random(81,108)),math.rad(-5),math.rad(89 + 7.5 * math.cos(sne / 32.5))),.1)
2724
LW.C0=clerp(LW.C0,cf(-1.5+0.05*math.cos(sne/32),0.65-.05*math.cos(sne/32),0)*angles(math.rad(15 - 15 * math.cos(sne / 0.5265)),math.rad(0 - 15 * math.cos(sne / 0.25)),math.rad(0 - 15 * math.cos(sne / 0.465)))*angles(math.rad(math.random(136,159)),math.rad(5),math.rad(29 - 8.5 * math.cos(sne / 32.5))),.1)
2725
end
2726
for i = 0, MRANDOM(18,23) do
2727
		PixelBlockNeg(1,math.random(1,3),"Add",mouse.Hit*CFrame.new(math.random(-26,26),0,math.random(-26,26))*CFrame.Angles(math.rad(90 + math.random(-1,1)),math.rad(math.random(-1,1)),math.rad(math.random(-1,1))),5,5,5,0.1,keptcolor,-10)
2728
end
2729
for i, v in pairs(FindNearestHead(mouse.Hit.p, 36)) do
2730
if v:FindFirstChild('Head') then
2731
coroutine.resume(coroutine.create(function()
2732
CFuncs["Sound"].Create("rbxassetid://1042716828", v.Head, 5, 0.5)
2733
local vel = Instance.new("BodyPosition", v.Head)
2734
vel.P = 12500
2735
vel.D = 1000
2736
vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
2737
vel.position = v.Head.CFrame.p + vt(0,10,0)
2738
for i,v in pairs(v:GetChildren()) do
2739
if v:IsA("BasePart") or v:IsA("MeshPart") then
2740
coroutine.resume(coroutine.create(function()
2741
local bld = Instance.new("ParticleEmitter",v)
2742
bld.LightEmission = 0.75
2743
bld.Texture = "rbxassetid://363275192" ---284205403
2744
bld.Color = ColorSequence.new(Color3.new(glitchvalA,glitchvalA,glitchvalA))
2745
bld.Rate = 1
2746
bld.Lifetime = NumberRange.new(1)
2747
bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
2748
bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
2749
bld.Speed = NumberRange.new(2,5)
2750
bld.VelocitySpread = 50000
2751
bld.Rotation = NumberRange.new(-500,500)
2752
bld.RotSpeed = NumberRange.new(-500,500)
2753
end))
2754
end
2755
end
2756
local BasePlate = game.Workspace:FindFirstChild("Baseplate") or game.Workspace:FindFirstChild("Base")
2757
local A1 = Instance.new("Attachment",BasePlate)
2758
local A2 = Instance.new("Attachment",v.Head)
2759
local Beem = Instance.new("Beam",v.Head)
2760
Beem.Attachment0 = A1
2761
Beem.Attachment1 = A2
2762
Beem.LightEmission = 1
2763
Beem.FaceCamera = true
2764
Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 0)})
2765
Beem.Width0 = 1
2766
Beem.Width1 = 1
2767
Beem.Texture = "rbxassetid://1134824633"
2768
Beem.TextureMode = "Wrap"
2769
Beem.TextureLength = 2
2770
Beem.TextureSpeed = 5
2771
Beem.Color = ColorSequence.new(keptcolor.Color)
2772
wait(5)
2773
coroutine.resume(coroutine.create(function()
2774
local ref = Instance.new("Part", char)
2775
ref.Anchored = true
2776
ref.CanCollide = false
2777
ref.Transparency = 1
2778
ref.CFrame = v.Head.CFrame
2779
for i = 0, 9 do
2780
slash(math.random(10,25)/10,5,true,"Round","Add","Out",v.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.001,0.5),-1,BrickColor.new("Really black"))
2781
end
2782
v.Head.Parent:Destroy()
2783
CFuncs["Sound"].Create("rbxassetid://763718160", ref, 2, 1.1)
2784
CFuncs["Sound"].Create("rbxassetid://782353443", ref, 2, 1)
2785
CFuncs["Sound"].Create("rbxassetid://335657174", ref, 2, 1)
2786
swait(120)
2787
Beem:Remove()
2788
ref:Destroy()
2789
ref:Remove()
2790
end))
2791
end))
2792
end
2793
end
2794
CFuncs["Sound"].Create("rbxassetid://1664711478", char, 2, 1)
2795
CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
2796
CFuncs["Sound"].Create("rbxassetid://167115397", char, 1, 0.6)
2797
CFuncs["Sound"].Create("rbxassetid://782353443", char, 1, 0.9)
2798
CFuncs["Sound"].Create("rbxassetid://782353443", char, 2, 0.8)
2799
CFuncs["Sound"].Create("rbxassetid://782353443", char, 2, 0.7)
2800
	attacking = false
2801
end
2802
2803
2804
function Daash()
2805
	attacking = true
2806
	Speed = 0
2807
	for i = 0,1,0.1 do
2808
swait()
2809
RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-20),math.rad(30)),.5)
2810
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.5)
2811
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.75)*angles(math.rad(30),math.rad(0),math.rad(20)),.5)
2812
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.5)
2813
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(40),math.rad(-8),math.rad(-10)),.5)
2814
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.5)
2815
end
2816
CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
2817
CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.5)
2818
CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.8)
2819
CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
2820
for i = 0,6,0.1 do
2821
swait()
2822
root.CFrame = root.CFrame + root.CFrame.lookVector*6
2823
coroutine.resume(coroutine.create(function()
2824
local turbo4 = ToothpasteArrow:Clone()
2825
turbo4.Material = Enum.Material.Glass
2826
turbo4.Parent = char
2827
turbo4.Anchored = true
2828
turbo4.CanCollide = false
2829
turbo4.CFrame = RootPart.CFrame*cf(0,1.5,2.65)*angles(math.rad(146),math.rad(-180),math.rad(90))
2830
turbo4.Transparency = 0
2831
swait(120)
2832
repeat
2833
turbo4.Transparency = turbo4.Transparency + 0.01
2834
swait()
2835
until turbo4.Transparency == 0 or turbo4.Transparency > 0.99
2836
game:GetService("Debris"):AddItem(turbo4, 4)
2837
end))
2838
	local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new("Toothpaste"))
2839
CreateMesh(dis2,"Sphere",1,1,1)
2840
dis2.Anchored = true
2841
dis2.CFrame = RightArm.CFrame*CFrame.new(0,-3,0)
2842
sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color)
2843
coroutine.resume(coroutine.create(function()
2844
		dis2.Transparency = 1
2845
	swait(5)
2846
	dis2.Transparency = 1
2847
coroutine.resume(coroutine.create(function()
2848
local eff = Instance.new("ParticleEmitter",dis2)
2849
eff.Texture = "rbxassetid://2273224484"
2850
eff.LightEmission = 1
2851
eff.Color = ColorSequence.new(dis2.Color)
2852
eff.Rate = 4
2853
eff.Lifetime = NumberRange.new(0.5,2)
2854
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
2855
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
2856
eff.Speed = NumberRange.new(50,450)
2857
eff.Drag = 2
2858
eff.Rotation = NumberRange.new(-500,500)
2859
eff.VelocitySpread = 9000
2860
eff.RotSpeed = NumberRange.new(-50,50)
2861
local eff2 = eff:Clone()
2862
eff2.Parent = dis2
2863
eff2.LightEmission = 0
2864
eff2.Color = ColorSequence.new(dis2.Color)
2865
wait(0.25)
2866
eff.Enabled = false
2867
eff2.Enabled = false
2868
end))
2869
--	CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
2870
--	CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
2871
--	CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
2872
end))
2873
for i, v in pairs(FindNearestHead(Torso.CFrame.p, 5)) do
2874
if v:FindFirstChild('Head') then
2875
dmg(v)
2876
end
2877
end
2878
game:GetService("Debris"):AddItem(dis2, 4.5)
2879
waveEff(5,"Add","In",RightLeg.CFrame*CFrame.Angles(0,math.rad(math.random(-360,360)),0),vt(5,0.25,1),-0.075,0.05,BrickColor.new("White"))
2880
waveEff(5,"Add","In",LeftLeg.CFrame*CFrame.Angles(0,math.rad(math.random(-360,360)),0),vt(5,0.25,1),-0.075,0.05,BrickColor.new("White"))
2881
RH.C0=clerp(RH.C0,cf(1,-0.28,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(40)),.5)
2882
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(10)),.5)
2883
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.8)*angles(math.rad(40),math.rad(0),math.rad(70)),.5)
2884
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-70)),.5)
2885
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(20),math.rad(-1),math.rad(30)),.5)
2886
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-60)),.5)
2887
end
2888
	Speed = 67
2889
	attacking = false
2890
end
2891
2892
function SolarAttack()
2893
	attacking = true
2894
	Speed = 0
2895
	local keptcolor = MAINCOLOR
2896
	CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,0.8)
2897
CFuncs["Sound"].Create("rbxassetid://136007472", char, 2,0.76)
2898
	for i = 0,10.6,0.1 do
2899
swait()
2900
PixelBlockX(5,0.5,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.01,MAINCOLOR,0)
2901
sphere2(5,"Add",larm.CFrame*CFrame.new(math.random(-0.5,0.5),-0.9 + math.random(-0.5,0.5),math.random(-0.5,0.5)),vt(0.45,0.45,0.45),0.01,0.01,0.01,BrickColor.new("Deep orange"),BrickColor.new("Deep orange").Color)
2902
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
2903
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
2904
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sne / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
2905
LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
2906
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.2)
2907
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(20),math.rad(5)),.2)
2908
	end
2909
	for i = 0, 4 do
2910
slash(math.random(10,50)/10,3,true,"Round","Add","Out",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.0025,0.01),math.random(15,50)/3000,BrickColor.new("White"))
2911
end
2912
block(1,"Add",larm.CFrame*CFrame.new(0,-1,0),vt(0,0,0),0.05,0.05,0.05,keptcolor,keptcolor.Color)
2913
	CFuncs["EchoSound"].Create("rbxassetid://675172759", root, 10, 0.8,0,10,0.15,0.5,1)
2914
CFuncs["EchoSound"].Create("rbxassetid://763717897", root, 7.5, 1.1,0,10,0.15,0.5,1)
2915
CFuncs["EchoSound"].Create("rbxassetid://675172759", root, 5, 0.7,0,10,0.15,0.5,1)
2916
	sphere(1,"Add",mouse.Hit*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(3,100000,3),0.6,BrickColor.new("Deep orange"))
2917
sphere(1,"Add",mouse.Hit,vt(2,2,2),1.6,BrickColor.new("Deep orange"))
2918
for i = 0, 49 do
2919
--PixelBlockX(1,math.random(1,20),"Add",mouse.Hit*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),8,8,8,0.16,BrickColor.new("Deep orange"),0)
2920
sphereMK(2.5,-1,"Add",mouse.Hit*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,BrickColor.new("Deep orange"),0)
2921
--slash(math.random(10,20)/10,5,true,"Round","Add","Out",mouse.Hit*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-30, 30)), math.rad(math.random(-30, 30)), math.rad(math.random(-40, 40))),vt(0.05,0.01,0.05),math.random(50,60)/250,BrickColor.new("Deep orange"))
2922
end
2923
for i, v in pairs(FindNearestHead(mouse.Hit.p, 25)) do
2924
if v:FindFirstChild('Head') then
2925
dmg(v)
2926
end
2927
end
2928
	Speed = 36
2929
	attacking = false
2930
end
2931
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
2932
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
2933
end
2934
2935
2936
2937
2938
function NuclearExtended()
2939
attacking = true
2940
Speed = 0
2941
CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
2942
CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
2943
local keptcolor = MAINCOLOR
2944
for i = 0,4.3,0.1 do
2945
swait()
2946
sphere2(6,"Add",RightLeg.CFrame*CFrame.new(math.random(-0.5,0.5),-1.3 + math.random(-0.5,0.5),math.random(-0.5,0.5)),vt(0.45,0.45,0.45),0.01,0.01,0.01,MAINCOLOR,MAINCOLOR.Color)
2947
RH.C0=clerp(RH.C0,cf(1,-0.15,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5),math.rad(-20)),.1)
2948
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(20)),.1)
2949
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(10)),.1)
2950
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-10)),.1)
2951
RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-5),math.rad(-10),math.rad(20)),.1)
2952
LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
2953
end
2954
CFuncs["Sound"].Create("rbxassetid://763717897", char, 2, 1)
2955
CFuncs["Sound"].Create("rbxassetid://763717897", char, 2, 0.75)
2956
CFuncs["Sound"].Create("rbxassetid://763717897", char, 2, 0.5)
2957
CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1,0.5)
2958
CFuncs["Sound"].Create("rbxassetid://1664711478", char, 1.5,1)
2959
CFuncs["Sound"].Create("rbxassetid://763718160", char, 2, 0.75)
2960
for i, v in pairs(FindNearestHead(Torso.CFrame.p, 7)) do
2961
if v:FindFirstChild('Head') then
2962
dmg(v)
2963
end
2964
end
2965
2966
for i = 0,5.5,0.1 do
2967
swait()
2968
for i, v in pairs(FindNearestHead(Torso.CFrame.p, 56)) do
2969
if v:FindFirstChild('Head') then
2970
dmg(v)
2971
end
2972
end
2973
sphere2(1.5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(32,0.061111111,32),0.8,-0.000000000000002,0.8,BrickColor.new("Lime green"),Color3.new(0,1,0))
2974
RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(10)),.8)
2975
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(10)),.8)
2976
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(0)),.8)
2977
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.8)
2978
RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-35),math.rad(-10),math.rad(60)),.8)
2979
LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
2980
end
2981
attacking = false
2982
Speed = 32
2983
end
2984
2985
 
2986
function negromancingnigrafyer9000(bitchasslilnigga)  
2987
	    bitchasslilnigga:BreakJoints()
2988
    for _, c in pairs(bitchasslilnigga:GetDescendants()) do
2989
        if c:IsA("BasePart") and c.Transparency == 0 then
2990
            c:BreakJoints()
2991
            c.Material = "Neon"
2992
            c.Color = BRICKC("Lime green").Color
2993
            c.CanCollide = true
2994
            c.Transparency = 0
2995
            if c:FindFirstChildOfClass("SpecialMesh") then
2996
                c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
2997
            end
2998
            if c.Name == "Head" then
2999
                c:ClearAllChildren()
3000
                c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
3001
            end
3002
            if c.ClassName == "MeshPart" then
3003
                c.TextureID = ""
3004
            end
3005
            if c:FindFirstChildOfClass("BodyPosition") then
3006
                c:FindFirstChildOfClass("BodyPosition"):remove()
3007
            end
3008
            if c:FindFirstChildOfClass("ParticleEmitter") then
3009
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
3010
            end
3011
            c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
3012
            c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
3013
        end
3014
    end
3015
end
3016
3017
function NuclearGrab()
3018
attacking = true
3019
Speed = 16
3020
local yourdeadnoob=nil 
3021
for i = 0,1.15,0.1 do
3022
swait()
3023
		if math.random(1,3) == 1 then
3024
		PixelBlockX(7,0.5,"Add",rarm.CFrame*CFrame.new(0,-1.35,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.01,MAINCOLOR,0)
3025
end
3026
sphere2(6,"Add",rarm.CFrame*CFrame.new(math.random(-0.5,0.5),-1.35 + math.random(-0.5,0.5),math.random(-0.5,0.5)),vt(0.45,0.45,0.45),0.01,0.01,0.01,MAINCOLOR,MAINCOLOR.Color)
3027
RH.C0=clerp(RH.C0,cf(1,-1,-0.15)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(1)),.8)
3028
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(1)),.8)
3029
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(-52)),.8)
3030
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(52)),.8)
3031
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(87),math.rad(-2),math.rad(12)),.8)
3032
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-5),math.rad(2),math.rad(-8)),.8)
3033
end
3034
for i = 0,1.35,0.1 do
3035
swait()
3036
local BOI = FindNearestTorso(RightArm.Position,6)
3037
if BOI ~= nil and yourdeadnoob == nil then
3038
yourdeadnoob = BOI
3039
CFuncs["Sound"].Create("rbxassetid://200632875", BOI, 3, 1)
3040
end
3041
if yourdeadnoob ~=nil then
3042
yourdeadnoob.CFrame=RightArm.CFrame*CFrame.new(0,-1.3,0)*CFrame.Angles(-math.rad(90),math.rad(0),math.rad(0))
3043
end
3044
		if math.random(1,3) == 1 then
3045
		PixelBlockX(7,0.5,"Add",rarm.CFrame*CFrame.new(0,-1.35,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.01,MAINCOLOR,0)
3046
end
3047
sphere2(6,"Add",rarm.CFrame*CFrame.new(math.random(-0.5,0.5),-1.35 + math.random(-0.5,0.5),math.random(-0.5,0.5)),vt(0.45,0.45,0.45),0.01,0.01,0.01,MAINCOLOR,MAINCOLOR.Color)
3048
RH.C0=clerp(RH.C0,cf(1,-1,-0.15)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(1)),.8)
3049
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(1)),.8)
3050
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(32)),.8)
3051
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-32)),.8)
3052
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(87),math.rad(-2),math.rad(-2)),.8)
3053
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-5),math.rad(2),math.rad(-8)),.8)
3054
end
3055
if yourdeadnoob~=nil and yourdeadnoob.Parent~=nil then
3056
	CFuncs["Sound"].Create("rbxassetid://199145534", yourdeadnoob, 8.21, 1.3)
3057
		CFuncs["Sound"].Create("rbxassetid://206082327", yourdeadnoob, 7.12, .9)
3058
			for i = 0, math.random(18,32) do
3059
		sphereMK(2.5,-1,"Add",yourdeadnoob.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.9,1.9,25,-0.025,BrickColor.new("Lime green"),0)
3060
		end
3061
negromancingnigrafyer9000(yourdeadnoob.Parent)
3062
end
3063
attacking = false
3064
Speed = 32
3065
end
3066
3067
function NuclearTeleport()
3068
attacking = true
3069
Speed = 0
3070
local yourdeadnoob=nil 
3071
for i = 0,5,0.1 do
3072
swait()
3073
sphere2(1.5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,0.5,1),0.1,0.01,0.1,BrickColor.new("Lime green"),Color3.new(0,1,0))
3074
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
3075
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
3076
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.15 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
3077
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(35 - 2 * math.cos(sine / 37)),math.rad(0),math.rad(0)),.3)
3078
RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(90 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-80 + 2 * math.cos(sine / 45))),.3)
3079
LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(80 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(71 - 4 * math.cos(sine / 45))),.3)
3080
end
3081
    RootPart.Anchored = true
3082
			for i = 0, 32 do
3083
sphere2(1.5,"Add",mouse.Hit*CFrame.new(0,-3,0),vt(1,0.5,1),0.1,0.01,0.1,BrickColor.new("Lime green"),Color3.new(0,1,0))
3084
end
3085
for i = 0,3,0.1 do
3086
swait()
3087
sphere2(1.5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,0.5,1),0.1,0.01,0.1,BrickColor.new("Lime green"),Color3.new(0,1,0))
3088
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
3089
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
3090
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.15 + 0.02 * math.cos(sine / 32),-30 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
3091
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(35 - 2 * math.cos(sine / 37)),math.rad(0),math.rad(0)),.3)
3092
RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(90 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-80 + 2 * math.cos(sine / 45))),.3)
3093
LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(80 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(71 - 4 * math.cos(sine / 45))),.3)
3094
end
3095
			for i = 0, 32 do
3096
sphere2(1.5,"Add",mouse.Hit*CFrame.new(0,-3,0),vt(1,0.5,1),0.1,0.01,0.1,BrickColor.new("Lime green"),Color3.new(0,1,0))
3097
end
3098
local AEEEEEEEEE = RootPart.Position
3099
 RootPart.CFrame = CF(CF(mouse.Hit.p) * CF(0, 2.8, 0).p, AEEEEEEEEE)
3100
for i = 0,5,0.1 do
3101
swait()
3102
sphere2(1.5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,0.5,1),0.1,0.01,0.1,BrickColor.new("Lime green"),Color3.new(0,1,0))
3103
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
3104
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
3105
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.15 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
3106
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(35 - 2 * math.cos(sine / 37)),math.rad(0),math.rad(0)),.3)
3107
RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(90 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-80 + 2 * math.cos(sine / 45))),.3)
3108
LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(80 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(71 - 4 * math.cos(sine / 45))),.3)
3109
end
3110
RootPart.Anchored = false
3111
attacking = false
3112
Speed = 32
3113
end
3114
3115
 
3116
 
3117
3118
function kaboom()
3119
attacking = true
3120
--gale's typhoon move bootleg lol
3121
for i = 0,2,0.1 do
3122
MagicBlock(BrickColor.new("Institutional white"),sorb2.CFrame,1,1,1,0.1,0.1,0.1,0.25)
3123
		swait()
3124
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-90)),0.2)
3125
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(90)),.2)
3126
             RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
3127
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
3128
	end
3129
3130
local a = Instance.new("Part",Character)
3131
	a.Name = "Direction"	
3132
	a.Anchored = true
3133
	a.BrickColor = BRICKC("Bright red")
3134
a.Material = "Neon"
3135
a.Transparency = 1
3136
	a.CanCollide = false
3137
	local ray = Ray.new(
3138
	    sorb2.CFrame.p,                           -- origin
3139
	    (mouse.Hit.p - sorb2.CFrame.p).unit * 500 -- direction
3140
	) 
3141
	local ignore = Character
3142
	local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
3143
	a.BottomSurface = 10
3144
	a.TopSurface = 10
3145
	local distance = (root.CFrame.p - position).magnitude
3146
	a.Size = Vector3.new(0.1, 0.1, 0.1)
3147
	a.CFrame = CFrame.new(sorb2.CFrame.p, position) * CFrame.new(0, 0, 0)
3148
				 local lb = Instance.new("Part")
3149
				CFuncs["Sound"].Create("rbxassetid://260433721", lb, 1, 1)
3150
  lb.Parent = char
3151
    lb.BrickColor = BrickColor.new("Pastel green")
3152
     lb.CanCollide = false
3153
lb.Material = "Neon"
3154
     lb.Anchored = true
3155
lb.TopSurface = 0
3156
        lb.BottomSurface = 0
3157
     lb.Transparency = 1
3158
     lb.Size = vt(8,8,8)
3159
     lb.CFrame = a.CFrame
3160
lb.Anchored = false
3161
--game:GetService("Debris"):AddItem(lb, 6)
3162
  local bv = Instance.new("BodyVelocity")
3163
  bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
3164
  bv.velocity = a.CFrame.lookVector*46
3165
  bv.Parent = lb
3166
local hitted = false
3167
game:GetService("Debris"):AddItem(a, 0.1)
3168
coroutine.resume(coroutine.create(function()
3169
while wait(0.025) do
3170
if hitted == false or lb.Parent ~= nil then
3171
	MagicBlock(BrickColor.new("Institutional white"),lb.CFrame,4,4,4,1.9,1.9,1.9,0.25)
3172
	MagicBlock(BrickColor.new("White"),lb.CFrame,2,2,2,1.45,1.45,1.45,0.25)
3173
	wind("Divide",lb.CFrame*CFrame.Angles(0,math.rad(math.random(-360,360)),0),Vector3.new(1,1,1),math.random(1,2),5,true)
3174
if hitted == true or lb.Parent == nil then
3175
break
3176
end
3177
end
3178
end
3179
end))
3180
wait(0.01)
3181
--game:GetService("Debris"):AddItem(lb, 7)
3182
lb.Touched:connect(function(hit) 
3183
MagniDamage(lb, 31, 12,32, 0, "Normal")
3184
end)
3185
3186
attacking = false
3187
wait(7)
3188
lb:Remove()
3189
end
3190
3191
3192
function spinnyboi()
3193
	attacking = true
3194
	for i = 0,1,0.1 do
3195
		swait()
3196
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
3197
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.1)
3198
             RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(90)), 0.1)
3199
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-90)), 0.1)
3200
	end
3201
CFuncs["Sound"].Create("rbxassetid://138079095", root, 0.5, 0.4)
3202
CFuncs["Sound"].Create("rbxassetid://154723542", root, 1.5, 1.15)
3203
coroutine.resume(coroutine.create(function()
3204
	CFuncs["Sound"].Create("rbxassetid://588698460", root, 4.4, 1.5)
3205
CFuncs["Sound"].Create("rbxassetid://588694531", root,4.4, 1.3)
3206
sphere2(18.5,"Add",LeftArm.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,2,2),1,1,1,BrickColor.new("Pastel green"),BrickColor.new("Pastel green").Color)
3207
sphere2(18.5,"Add",RightArm.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,2,2),1,1,1,BrickColor.new("Pastel green"),BrickColor.new("Pastel green").Color)
3208
for i = 0, 2 do
3209
wait(0.05)
3210
MagniDamage(root, 32, 12,42, 0, "Normal")
3211
wind("Divide",root.CFrame*CFrame.Angles(0,math.rad(math.random(-360,360)),0),Vector3.new(2,2,2),0.8,26,false)
3212
end
3213
MagniDamage(root, 32, 12,42, 0, "Normal")
3214
end))
3215
	for i = 0,1.9,0.5 do
3216
		swait()
3217
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.5)
3218
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.5)
3219
             RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5)
3220
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5)
3221
	end
3222
	for i = 0,1.9,0.5 do
3223
		swait()
3224
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(180)),0.5)
3225
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.5)
3226
             RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5)
3227
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5)
3228
	end
3229
	for i = 0,1.9,0.5 do
3230
		swait()
3231
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(270)),0.5)
3232
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.5)
3233
             RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5)
3234
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5)
3235
	end
3236
	for i = 0,1.9,0.5 do
3237
		swait()
3238
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(360)),0.5)
3239
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.5)
3240
             RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5)
3241
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5)
3242
	end
3243
	attacking = false
3244
end
3245
3246
function AAAA()
3247
	attacking=true
3248
	for i = 0,3,0.1 do
3249
		swait()
3250
		RH.C0=clerp(RH.C0,cf(1,-.5,-.5)*angles(math.rad(-35),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(0)),.2)
3251
		LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),.2)
3252
		RootJoint.C0=clerp(RootJoint.C0,RootCF*angles(math.rad(-15),0,math.rad(0)),.2)
3253
		Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-12),0,math.rad(-0)),.2)
3254
		RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(115),0,math.rad(-25)),.2)
3255
		LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(115),0,math.rad(25)),.2)
3256
	end
3257
	CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
3258
	CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
3259
	for i = 0,.5,0.1 do
3260
		swait()
3261
		RH.C0=clerp(RH.C0,cf(1,-1,-.5)*angles(math.rad(25),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(0)),.6)
3262
		LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(-5),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
3263
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-.2,0)*angles(math.rad(25),0,0),.6)
3264
		Torso.Neck.C0=clerp(Torso.Neck.C0,necko,.4)
3265
		RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-45),0,math.rad(25)),.4)
3266
		LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-45),0,math.rad(-25)),.4)
3267
	end
3268
	local out=5
3269
	local start=root.CFrame
3270
	coroutine.wrap(function()
3271
		for rad = 0, 180,5 do
3272
			out = out + 5
3273
			local A = PyramidEffect:Clone()
3274
			A.Parent = char
3275
			A.CanCollide = true
3276
			A.Anchored = true
3277
			A.CFrame=start*cf(0,-15,-out)
3278
			MagniDamage(A, 20, 65,187, 0, "Normal")
3279
			coroutine.wrap(function()
3280
				for i = -15, 0 do
3281
					A.CFrame=A.CFrame*cf(0,1,0)
3282
					swait()
3283
				end
3284
				delay(0.8,function()
3285
					for i = -8, 0 do
3286
						swait()
3287
						A.CFrame=A.CFrame*cf(0,-1,0)
3288
					end
3289
					A:destroy()
3290
				end)
3291
			end)()
3292
			swait()
3293
		end
3294
	end)()
3295
	
3296
	for i = 0,2.5,0.1 do
3297
		swait()
3298
		RH.C0=clerp(RH.C0,cf(1,-1,-.5)*angles(math.rad(25),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(0)),.6)
3299
		LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(-5),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
3300
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-.2,0)*angles(math.rad(25),0,0),.6)
3301
		Torso.Neck.C0=clerp(Torso.Neck.C0,necko,.4)
3302
		RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-45),0,math.rad(25)),.4)
3303
		LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-45),0,math.rad(-25)),.4)
3304
	end
3305
	attacking=false
3306
end
3307
3308
3309
function CrystalizedFields()
3310
attacking = true
3311
Speed = 2
3312
local keptcolor = MAINCOLOR
3313
local obj1 = Instance.new("Part")
3314
obj1.Parent = char
3315
obj1.Transparency = 1
3316
obj1.CanCollide = false
3317
local rval = 0
3318
local eval = 1
3319
local tval = 0
3320
CFuncs["Sound"].Create("rbxassetid://199145761", obj1, 3,1)
3321
local eff = Instance.new("ParticleEmitter",obj1)
3322
eff.Texture = "rbxassetid://2344870656"
3323
eff.LightEmission = 1
3324
eff.Color = ColorSequence.new(obj1.Color)
3325
eff.Rate = 10000000
3326
eff.Enabled = true
3327
eff.EmissionDirection = "Left"
3328
eff.Lifetime = NumberRange.new(0.5)
3329
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
3330
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
3331
eff.Speed = NumberRange.new(5,50)
3332
eff.Drag = 5
3333
eff.Rotation = NumberRange.new(-500,500)
3334
eff.RotSpeed = NumberRange.new(-500,500)
3335
sphere2(5,"Add",root.CFrame*CFrame.new(0,5,0),vt(1,1,1),0.5,0.005,0.5,MAINCOLOR,MAINCOLOR.Color)
3336
local eff2 = Instance.new("ParticleEmitter",obj1)
3337
eff2.Texture = "rbxassetid://695499847"
3338
eff2.LightEmission = 1
3339
eff2.Color = ColorSequence.new(obj1.Color)
3340
eff2.Rate = 12500
3341
eff2.Lifetime = NumberRange.new(0.5,2)
3342
eff2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
3343
eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
3344
eff2.Speed = NumberRange.new(20,150)
3345
eff2.Drag = 5
3346
eff2.Rotation = NumberRange.new(-500,500)
3347
eff2.VelocitySpread = 9000
3348
eff2.RotSpeed = NumberRange.new(-150,150)
3349
for i = 0,11,0.1 do
3350
swait()
3351
rval = rval + 10
3352
eval = eval + 1.5
3353
obj1.Transparency = 1
3354
tval = tval + 1
3355
if tval == 24 then
3356
	tval = 0
3357
	MagniDamage(Torso, 38, 12,21, 0, "Freeze",153092213)
3358
end
3359
obj1.Size = obj1.Size + vt(0,0.2,0.2)
3360
obj1.CFrame = root.CFrame*CFrame.new(0,5,0)*CFrame.Angles(math.rad(0),math.rad(rval),math.rad(-90))
3361
RH.C0=clerp(RH.C0,cf(1,-1 + 0.15 * math.cos(sine / 32),-0.15)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 32))),.3)
3362
LH.C0=clerp(LH.C0,cf(-1,-1 + 0.15* math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 2 * math.cos(sine / 32))),.3)
3363
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(2)),.3)
3364
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(-2 + 1 * math.cos(sine / 58)),math.rad(-2 + 2 * math.cos(sine / 53))),.3)
3365
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(1760 + 6 * math.cos(sine / 72)),math.rad(1 - 1 * math.cos(sine / 58)),math.rad(90 + 2 * math.cos(sine / 45))),.3)
3366
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(176 - 7 * math.cos(sine / 66)),math.rad(1 - 1 * math.cos(sine / 59)),math.rad(-90 - 4 * math.cos(sine / 45))),.3)
3367
end
3368
eff.Enabled = false
3369
coroutine.resume(coroutine.create(function()
3370
	for i = 0,49 do
3371
		swait()
3372
		rval = rval + 100
3373
		obj1.Transparency = obj1.Transparency + 0.02
3374
		obj1.Size = obj1.Size + vt(0,-0.5,-0.5)
3375
	end
3376
	obj1:Destroy()
3377
end))
3378
attacking = false
3379
Speed = 14
3380
end
3381
3382
function modeswitchgui()
3383
local oawkwodkwad=math.random(0,100)/100
3384
local okaofwakf=math.random(60,100)/100
3385
local framiee=Instance.new("Frame",MainFrame2.Cube1)
3386
framiee.AnchorPoint=Vector2.new(.5,.5)
3387
framiee.Position=UDim2.new(.5,0,.5,0)
3388
framiee.BorderSizePixel=0
3389
framiee.BackgroundColor3=MainFrame2.Cube1.BackgroundColor3
3390
framiee.Size=UDim2.new(0,0,0,0)
3391
framiee.ZIndex=13
3392
CFuncs["Sound"].Create("rbxassetid://557322397", MainGui, 3, 2.6)
3393
for zi=1,3 do
3394
local imfhg=Instance.new("ImageLabel",MainFrame2)
3395
imfhg.AnchorPoint=Vector2.new(.5,.5)
3396
imfhg.Position=UDim2.new(.6,0,.6,0)
3397
imfhg.BorderSizePixel=0
3398
imfhg.ImageColor3=MainFrame2.Cube1.BackgroundColor3
3399
imfhg.Size=UDim2.new(.4,0,.7,0)
3400
imfhg.ZIndex=10
3401
imfhg.BackgroundTransparency=1
3402
imfhg.Image="rbxassetid://2809225827"
3403
coroutine.resume(coroutine.create(function(imag)
3404
if zi==1 then
3405
imag:TweenPosition(UDim2.new(.6,0,-1.5,0),"Out","Quint",1.2,true)
3406
elseif zi==2 then
3407
imag.Rotation=-45
3408
imag:TweenPosition(UDim2.new(-.5,0,-1.2,0),"Out","Quint",1.2,true)
3409
else
3410
imag.Rotation=-90
3411
imag:TweenPosition(UDim2.new(-.8,0,.6,0),"Out","Quint",1.2,true)
3412
end
3413
game:GetService("Debris"):AddItem(imag,3)
3414
for i=0,1.02,.02 do
3415
swait()
3416
imag.ImageTransparency=i
3417
end
3418
imag:Remove()
3419
end),imfhg)
3420
3421
end
3422
3423
3424
coroutine.resume(coroutine.create(function(ff)
3425
ff:TweenSize(UDim2.new(12,0,12,0),"Out","Quint",.8,true)
3426
game:GetService("Debris"):AddItem(ff,3)
3427
for i=0,1.02,.04 do
3428
swait()
3429
ff.BackgroundTransparency=i
3430
ff.Rotation=ff.Rotation+3.5
3431
end
3432
ff:Remove()
3433
end),framiee)
3434
3435
end
3436
3437
3438
mouse.KeyDown:connect(function(Button)
3439
if Button == "m" and attacking == false and Mode == "FL" then
3440
Mode = "DM"
3441
if math.random(1,2) == 1 then
3442
SONG = 705302406
3443
else
3444
SONG = 580367180
3445
end
3446
MAINCOLOR = BrickColor.new("Persimmon")
3447
MainFrame2.Cube1.BackgroundColor3=BrickColor.new("Pink").Color
3448
MainFrame2.Cube2.BackgroundColor3=BrickColor.new("Persimmon").Color
3449
modeswitchgui()
3450
for i,v in pairs(gauntlet:GetChildren()) do
3451
if v:IsA("BasePart") then
3452
if v.Name == "NeonArmor" then
3453
v.Color = BrickColor.new("Persimmon").Color
3454
end
3455
end
3456
end
3457
for i,v in pairs(TurboCore:GetChildren()) do
3458
if v:IsA("BasePart") then
3459
if v.Name == "NeonArmor" then
3460
v.Color = BrickColor.new("Persimmon").Color
3461
end
3462
end
3463
end
3464
for i,v in pairs(gauntlet2:GetChildren()) do
3465
if v:IsA("BasePart") then
3466
if v.Name == "NeonArmor" then
3467
v.Color = BrickColor.new("Persimmon").Color
3468
end
3469
end
3470
end
3471
TextUI.Text.Image = "rbxassetid://2969037917"
3472
Speed = 20
3473
		elseif Mode == "DM" and Button == "m" and attacking == false then
3474
			Mode = "FL"
3475
			SONG = 1886156023
3476
			MAINCOLOR = BrickColor.new("Dark blue")
3477
		MainFrame2.Cube1.BackgroundColor3=BrickColor.new("Dark blue").Color
3478
		MainFrame2.Cube2.BackgroundColor3=BrickColor.new("Dark blue").Color
3479
		modeswitchgui()
3480
for i,v in pairs(gauntlet:GetChildren()) do
3481
if v:IsA("BasePart") then
3482
if v.Name == "NeonArmor" then
3483
v.Color = BrickColor.new("Dark blue").Color
3484
end
3485
end
3486
end
3487
for i,v in pairs(TurboCore:GetChildren()) do
3488
				if v:IsA("BasePart") then
3489
if v.Name == "NeonArmor" then
3490
v.Color = BrickColor.new("Dark blue").Color
3491
end
3492
end
3493
end
3494
for i,v in pairs(gauntlet2:GetChildren()) do
3495
if v:IsA("BasePart") then
3496
if v.Name == "NeonArmor" then
3497
v.Color = BrickColor.new("Dark blue").Color
3498
end
3499
end
3500
end
3501
TextUI.Text.Image = "rbxassetid://2968625581"
3502
Speed = 46
3503
end
3504
3505
	if Button == "m" and attacking == false then
3506
		if Mode == "T" then
3507
			Mode = "LS"
3508
			SONG = 2170417538
3509
			MAINCOLOR = BrickColor.new("Toothpaste")
3510
		MainFrame2.Cube1.BackgroundColor3=BrickColor.new("Toothpaste").Color
3511
		MainFrame2.Cube2.BackgroundColor3=BrickColor.new("Toothpaste").Color
3512
		modeswitchgui()
3513
for i,v in pairs(gauntlet:GetChildren()) do
3514
if v:IsA("BasePart") then
3515
if v.Name == "NeonArmor" then
3516
v.Color = BrickColor.new("Toothpaste").Color
3517
end
3518
end
3519
end
3520
for i,v in pairs(TurboCore:GetChildren()) do
3521
				if v:IsA("BasePart") then
3522
if v.Name == "NeonArmor" then
3523
v.Color = BrickColor.new("Toothpaste").Color
3524
end
3525
end
3526
end
3527
for i,v in pairs(gauntlet2:GetChildren()) do
3528
if v:IsA("BasePart") then
3529
if v.Name == "NeonArmor" then
3530
v.Color = BrickColor.new("Toothpaste").Color
3531
end
3532
end
3533
end
3534
TextUI.Text.Image = "rbxassetid://2866248691"
3535
Speed = 67
3536
		elseif Mode == "LS" then
3537
			SONG = 570332815
3538
			Mode = "T"
3539
			Speed = 18
3540
			MAINCOLOR = BrickColor.new("Deep orange")
3541
			TextUI.Text.Image = "rbxassetid://2863687732"
3542
		MainFrame2.Cube1.BackgroundColor3=BrickColor.new("Deep orange").Color
3543
		MainFrame2.Cube2.BackgroundColor3=BrickColor.new("Deep orange").Color
3544
		modeswitchgui()
3545
for i,v in pairs(TurboCore:GetChildren()) do
3546
if v:IsA("BasePart") then
3547
if v.Name == "NeonArmor" then
3548
v.Color = BrickColor.new("Deep orange").Color
3549
end
3550
end
3551
end
3552
			for i,v in pairs(gauntlet:GetChildren()) do
3553
if v:IsA("BasePart") then
3554
if v.Name == "NeonArmor" then
3555
v.Color = BrickColor.new("Deep orange").Color
3556
end
3557
end
3558
end
3559
for i,v in pairs(gauntlet2:GetChildren()) do
3560
if v:IsA("BasePart") then
3561
if v.Name == "NeonArmor" then
3562
v.Color = BrickColor.new("Deep orange").Color
3563
end
3564
end
3565
end
3566
end
3567
	end
3568
-----------------------------------------------------------------
3569
	if Button == "g" and attacking == false then
3570
		if Mode == "T" then
3571
			Mode = "ICE"
3572
			SONG = 1843801674
3573
			MAINCOLOR = BrickColor.new("Pastel light blue")
3574
		MainFrame2.Cube1.BackgroundColor3=BrickColor.new("Pastel light blue").Color
3575
		MainFrame2.Cube2.BackgroundColor3=BrickColor.new("Pastel light blue").Color
3576
		modeswitchgui()
3577
for i,v in pairs(gauntlet:GetChildren()) do
3578
if v:IsA("BasePart") then
3579
if v.Name == "NeonArmor" then
3580
v.Color = BrickColor.new("Pastel light blue").Color
3581
end
3582
end
3583
end
3584
for i,v in pairs(TurboCore:GetChildren()) do
3585
				if v:IsA("BasePart") then
3586
if v.Name == "NeonArmor" then
3587
v.Color = BrickColor.new("Pastel light blue").Color
3588
end
3589
end
3590
end
3591
for i,v in pairs(gauntlet2:GetChildren()) do
3592
if v:IsA("BasePart") then
3593
if v.Name == "NeonArmor" then
3594
v.Color = BrickColor.new("Pastel light blue").Color
3595
end
3596
end
3597
end
3598
TextUI.Text.Image = "rbxassetid://2967532910"
3599
Speed = 14
3600
		elseif Mode == "ICE" then
3601
			SONG = 570332815
3602
			Mode = "T"
3603
			Speed = 18
3604
			MAINCOLOR = BrickColor.new("Deep orange")
3605
			TextUI.Text.Image = "rbxassetid://2863687732"
3606
		MainFrame2.Cube1.BackgroundColor3=BrickColor.new("Deep orange").Color
3607
		MainFrame2.Cube2.BackgroundColor3=BrickColor.new("Deep orange").Color
3608
		modeswitchgui()
3609
for i,v in pairs(TurboCore:GetChildren()) do
3610
if v:IsA("BasePart") then
3611
if v.Name == "NeonArmor" then
3612
v.Color = BrickColor.new("Deep orange").Color
3613
end
3614
end
3615
end
3616
			for i,v in pairs(gauntlet:GetChildren()) do
3617
if v:IsA("BasePart") then
3618
if v.Name == "NeonArmor" then
3619
v.Color = BrickColor.new("Deep orange").Color
3620
end
3621
end
3622
end
3623
for i,v in pairs(gauntlet2:GetChildren()) do
3624
if v:IsA("BasePart") then
3625
if v.Name == "NeonArmor" then
3626
v.Color = BrickColor.new("Deep orange").Color
3627
end
3628
end
3629
end
3630
		end
3631
	end
3632
-----------------------------------------------------------------
3633
	if Button == "f" and attacking == false then
3634
		if Mode == "T" then
3635
			Mode = "FL"
3636
			SONG = 1886156023
3637
			MAINCOLOR = BrickColor.new("Dark blue")
3638
		MainFrame2.Cube1.BackgroundColor3=BrickColor.new("Dark blue").Color
3639
		MainFrame2.Cube2.BackgroundColor3=BrickColor.new("Dark blue").Color
3640
		modeswitchgui()
3641
for i,v in pairs(gauntlet:GetChildren()) do
3642
if v:IsA("BasePart") then
3643
if v.Name == "NeonArmor" then
3644
v.Color = BrickColor.new("Dark blue").Color
3645
end
3646
end
3647
end
3648
for i,v in pairs(TurboCore:GetChildren()) do
3649
				if v:IsA("BasePart") then
3650
if v.Name == "NeonArmor" then
3651
v.Color = BrickColor.new("Dark blue").Color
3652
end
3653
end
3654
end
3655
for i,v in pairs(gauntlet2:GetChildren()) do
3656
if v:IsA("BasePart") then
3657
if v.Name == "NeonArmor" then
3658
v.Color = BrickColor.new("Dark blue").Color
3659
end
3660
end
3661
end
3662
TextUI.Text.Image = "rbxassetid://2968625581"
3663
Speed = 46
3664
		elseif Mode == "FL" then
3665
			SONG = 570332815
3666
			Mode = "T"
3667
			Speed = 18
3668
			MAINCOLOR = BrickColor.new("Deep orange")
3669
			TextUI.Text.Image = "rbxassetid://2863687732"
3670
		MainFrame2.Cube1.BackgroundColor3=BrickColor.new("Deep orange").Color
3671
		MainFrame2.Cube2.BackgroundColor3=BrickColor.new("Deep orange").Color
3672
		modeswitchgui()
3673
for i,v in pairs(TurboCore:GetChildren()) do
3674
if v:IsA("BasePart") then
3675
if v.Name == "NeonArmor" then
3676
v.Color = BrickColor.new("Deep orange").Color
3677
end
3678
end
3679
end
3680
			for i,v in pairs(gauntlet:GetChildren()) do
3681
if v:IsA("BasePart") then
3682
if v.Name == "NeonArmor" then
3683
v.Color = BrickColor.new("Deep orange").Color
3684
end
3685
end
3686
end
3687
for i,v in pairs(gauntlet2:GetChildren()) do
3688
if v:IsA("BasePart") then
3689
if v.Name == "NeonArmor" then
3690
v.Color = BrickColor.new("Deep orange").Color
3691
end
3692
end
3693
end
3694
		end
3695
	end
3696
	
3697
-----------------------------------------------------------------
3698
		if Button == "n" and attacking == false then
3699
		if Mode == "T" then
3700
			Mode = "G"
3701
			SONG = 930541401
3702
		swait(1)
3703
		modeswitchgui()
3704
		elseif Mode == "G" then
3705
			SONG = 570332815
3706
			Mode = "T"
3707
		modeswitchgui()
3708
		end
3709
		end
3710
		-----------------------------------------------------------------
3711
		if Button == "b" and attacking == false then
3712
			
3713
		if Mode == "T" then
3714
			Mode = "R"
3715
			Speed = 47
3716
			SONG = 1988896150
3717
		swait(1)
3718
		modeswitchgui()
3719
		elseif Mode == "R" then
3720
			SONG = 570332815
3721
			Speed = 18
3722
			Mode = "T"
3723
		modeswitchgui()
3724
		end
3725
		end
3726
		-----------------------------------------------------------------
3727
		if Button == "j" and attacking == false then
3728
		if Mode == "T" then
3729
			Mode = "N"
3730
			MAINCOLOR = BRICKC'Lime green'
3731
			Speed = 32
3732
			SONG = 566809627
3733
		swait(1)
3734
		modeswitchgui()
3735
		elseif Mode == "N" then
3736
			SONG = 570332815
3737
			Speed = 18
3738
			Mode = "T"
3739
			MAINCOLOR = BRICKC'Lime green'
3740
		modeswitchgui()
3741
		end
3742
		end
3743
		-----------------------------------------------------------
3744
			if Button == "h" and attacking == false then
3745
		if Mode == "T" then
3746
			Mode = "TP"
3747
			SONG = 631314940
3748
			MAINCOLOR = BrickColor.new("Institutional white")
3749
		MainFrame2.Cube1.BackgroundColor3=C3(1,1,1)
3750
		MainFrame2.Cube2.BackgroundColor3=C3(1,1,1)
3751
		modeswitchgui()
3752
for i,v in pairs(gauntlet:GetChildren()) do
3753
if v:IsA("BasePart") then
3754
if v.Name == "NeonArmor" then
3755
v.Color = C3(1,1,1)
3756
end
3757
end
3758
end
3759
for i,v in pairs(TurboCore:GetChildren()) do
3760
				if v:IsA("BasePart") then
3761
if v.Name == "NeonArmor" then
3762
v.Color = C3(1,1,1)
3763
end
3764
end
3765
end
3766
for i,v in pairs(gauntlet2:GetChildren()) do
3767
if v:IsA("BasePart") then
3768
if v.Name == "NeonArmor" then
3769
v.Color = C3(1,1,1)
3770
end
3771
end
3772
end
3773
TextUI.Text.Image = "rbxassetid://2878494513"
3774
Speed = 89
3775
		elseif Mode == "TP" then
3776
			SONG = 570332815
3777
			Mode = "T"
3778
			Speed = 18
3779
			MAINCOLOR = BrickColor.new("Deep orange")
3780
			TextUI.Text.Image = "rbxassetid://2863687732"
3781
		MainFrame2.Cube1.BackgroundColor3=BrickColor.new("Deep orange").Color
3782
		MainFrame2.Cube2.BackgroundColor3=BrickColor.new("Deep orange").Color
3783
		modeswitchgui()
3784
for i,v in pairs(TurboCore:GetChildren()) do
3785
if v:IsA("BasePart") then
3786
if v.Name == "NeonArmor" then
3787
v.Color = BrickColor.new("Deep orange").Color
3788
end
3789
end
3790
end
3791
			for i,v in pairs(gauntlet:GetChildren()) do
3792
if v:IsA("BasePart") then
3793
if v.Name == "NeonArmor" then
3794
v.Color = BrickColor.new("Deep orange").Color
3795
end
3796
end
3797
end
3798
for i,v in pairs(gauntlet2:GetChildren()) do
3799
if v:IsA("BasePart") then
3800
if v.Name == "NeonArmor" then
3801
v.Color = BrickColor.new("Deep orange").Color
3802
end
3803
end
3804
end
3805
		end
3806
	end
3807
		-----------------------------------------------------------
3808
					if Button == "q" and attacking == false then
3809
		if Mode == "T" then
3810
			Mode = "MH"
3811
			SONG = 1356751414
3812
			MAINCOLOR = BrickColor.new("Really red")
3813
		MainFrame2.Cube1.BackgroundColor3=C3(1,0,0)
3814
		MainFrame2.Cube2.BackgroundColor3=C3(1,0,0)
3815
		modeswitchgui()
3816
for i,v in pairs(gauntlet:GetChildren()) do
3817
if v:IsA("BasePart") then
3818
if v.Name == "NeonArmor" then
3819
v.Color = C3(1,0,0)
3820
end
3821
end
3822
end
3823
for i,v in pairs(TurboCore:GetChildren()) do
3824
				if v:IsA("BasePart") then
3825
if v.Name == "NeonArmor" then
3826
v.Color = C3(1,0,0)
3827
end
3828
end
3829
end
3830
for i,v in pairs(gauntlet2:GetChildren()) do
3831
if v:IsA("BasePart") then
3832
if v.Name == "NeonArmor" then
3833
v.Color = C3(1,0,0)
3834
end
3835
end
3836
end
3837
TextUI.Text.Image = "rbxassetid://2970613902"
3838
Speed = 32
3839
		elseif Mode == "MH" then
3840
			SONG = 570332815
3841
			Mode = "T"
3842
			Speed = 18
3843
			MAINCOLOR = BrickColor.new("Deep orange")
3844
			TextUI.Text.Image = "rbxassetid://2863687732"
3845
		MainFrame2.Cube1.BackgroundColor3=BrickColor.new("Deep orange").Color
3846
		MainFrame2.Cube2.BackgroundColor3=BrickColor.new("Deep orange").Color
3847
		modeswitchgui()
3848
for i,v in pairs(TurboCore:GetChildren()) do
3849
if v:IsA("BasePart") then
3850
if v.Name == "NeonArmor" then
3851
v.Color = BrickColor.new("Deep orange").Color
3852
end
3853
end
3854
end
3855
			for i,v in pairs(gauntlet:GetChildren()) do
3856
if v:IsA("BasePart") then
3857
if v.Name == "NeonArmor" then
3858
v.Color = BrickColor.new("Deep orange").Color
3859
end
3860
end
3861
end
3862
for i,v in pairs(gauntlet2:GetChildren()) do
3863
if v:IsA("BasePart") then
3864
if v.Name == "NeonArmor" then
3865
v.Color = BrickColor.new("Deep orange").Color
3866
end
3867
end
3868
end
3869
		end
3870
	end
3871
		-----------------------------------------------------------
3872
			if Button == "v" and attacking == false then
3873
		if Mode == "T" then
3874
			Mode = "MN"
3875
			SONG = 901719740
3876
			MAINCOLOR = BrickColor.new("Really blue")
3877
		MainFrame2.Cube1.BackgroundColor3=BrickColor.new("Really blue").Color
3878
		MainFrame2.Cube2.BackgroundColor3=BrickColor.new("Really blue").Color
3879
		modeswitchgui()
3880
for i,v in pairs(gauntlet:GetChildren()) do
3881
if v:IsA("BasePart") then
3882
if v.Name == "NeonArmor" then
3883
v.Color = BrickColor.new("Really blue").Color
3884
end
3885
end
3886
end
3887
for i,v in pairs(TurboCore:GetChildren()) do
3888
				if v:IsA("BasePart") then
3889
if v.Name == "NeonArmor" then
3890
v.Color = BrickColor.new("Really blue").Color
3891
end
3892
end
3893
end
3894
for i,v in pairs(gauntlet2:GetChildren()) do
3895
if v:IsA("BasePart") then
3896
if v.Name == "NeonArmor" then
3897
v.Color = BrickColor.new("Really blue").Color
3898
end
3899
end
3900
end
3901
TextUI.Text.Image = "rbxassetid://2867768707"
3902
Speed = 43
3903
		elseif Mode == "MN" then
3904
			SONG = 570332815
3905
			Mode = "T"
3906
			Speed = 18
3907
			MAINCOLOR = BrickColor.new("Deep orange")
3908
			TextUI.Text.Image = "rbxassetid://2863687732"
3909
		MainFrame2.Cube1.BackgroundColor3=BrickColor.new("Deep orange").Color
3910
		MainFrame2.Cube2.BackgroundColor3=BrickColor.new("Deep orange").Color
3911
		modeswitchgui()
3912
for i,v in pairs(TurboCore:GetChildren()) do
3913
if v:IsA("BasePart") then
3914
if v.Name == "NeonArmor" then
3915
v.Color = BrickColor.new("Deep orange").Color
3916
end
3917
end
3918
end
3919
			for i,v in pairs(gauntlet:GetChildren()) do
3920
if v:IsA("BasePart") then
3921
if v.Name == "NeonArmor" then
3922
v.Color = BrickColor.new("Deep orange").Color
3923
end
3924
end
3925
end
3926
for i,v in pairs(gauntlet2:GetChildren()) do
3927
if v:IsA("BasePart") then
3928
if v.Name == "NeonArmor" then
3929
v.Color = BrickColor.new("Deep orange").Color
3930
end
3931
end
3932
end
3933
		end
3934
			end
3935
			---------------------------------------------------------
3936
						if Button == "l" and attacking == false then
3937
		if Mode == "T" then
3938
			Mode = "H"
3939
			SONG = 2781731664
3940
			MAINCOLOR = BrickColor.new("Deep orange")
3941
		MainFrame2.Cube1.BackgroundColor3=C3(225/255, 146/255, 0/255)
3942
		MainFrame2.Cube2.BackgroundColor3=C3(225/255, 146/255, 0/255)
3943
		modeswitchgui()
3944
for i,v in pairs(gauntlet:GetChildren()) do
3945
if v:IsA("BasePart") then
3946
if v.Name == "NeonArmor" then
3947
v.Color = C3(225/255, 146/255, 0/255)
3948
end
3949
end
3950
end
3951
for i,v in pairs(TurboCore:GetChildren()) do
3952
				if v:IsA("BasePart") then
3953
if v.Name == "NeonArmor" then
3954
v.Color = C3(225/255, 146/255, 0/255)
3955
end
3956
end
3957
end
3958
for i,v in pairs(gauntlet2:GetChildren()) do
3959
if v:IsA("BasePart") then
3960
if v.Name == "NeonArmor" then
3961
v.Color = C3(225/255, 146/255, 0/255)
3962
end
3963
end
3964
end
3965
TextUI.Text.Image = "rbxassetid://2871051104"
3966
Speed = 36
3967
		elseif Mode == "H" then
3968
			SONG = 570332815
3969
			Mode = "T"
3970
			Speed = 18
3971
			MAINCOLOR = BrickColor.new("Deep orange")
3972
			TextUI.Text.Image = "rbxassetid://2863687732"
3973
		MainFrame2.Cube1.BackgroundColor3=BrickColor.new("Deep orange").Color
3974
		MainFrame2.Cube2.BackgroundColor3=BrickColor.new("Deep orange").Color
3975
		modeswitchgui()
3976
for i,v in pairs(TurboCore:GetChildren()) do
3977
if v:IsA("BasePart") then
3978
if v.Name == "NeonArmor" then
3979
v.Color = BrickColor.new("Deep orange").Color
3980
end
3981
end
3982
end
3983
			for i,v in pairs(gauntlet:GetChildren()) do
3984
if v:IsA("BasePart") then
3985
if v.Name == "NeonArmor" then
3986
v.Color = BrickColor.new("Deep orange").Color
3987
end
3988
end
3989
end
3990
for i,v in pairs(gauntlet2:GetChildren()) do
3991
if v:IsA("BasePart") then
3992
if v.Name == "NeonArmor" then
3993
v.Color = BrickColor.new("Deep orange").Color
3994
end
3995
end
3996
end
3997
		end
3998
						end
3999
	---------------------------------------------------------
4000
	if Button == "k" and attacking == false then
4001
		if Mode == "T" then
4002
			Mode = "A"
4003
			SONG = 2834885098
4004
			MAINCOLOR = BrickColor.new("New Yeller")
4005
		MainFrame2.Cube1.BackgroundColor3=BrickColor.new("New Yeller").Color
4006
		MainFrame2.Cube2.BackgroundColor3=BrickColor.new("New Yeller").Color
4007
		modeswitchgui()
4008
for i,v in pairs(gauntlet:GetChildren()) do
4009
if v:IsA("BasePart") then
4010
if v.Name == "NeonArmor" then
4011
v.Color = BrickColor.new("New Yeller").Color
4012
end
4013
end
4014
end
4015
for i,v in pairs(TurboCore:GetChildren()) do
4016
				if v:IsA("BasePart") then
4017
if v.Name == "NeonArmor" then
4018
v.Color = BrickColor.new("New Yeller").Color
4019
end
4020
end
4021
end
4022
for i,v in pairs(gauntlet2:GetChildren()) do
4023
if v:IsA("BasePart") then
4024
if v.Name == "NeonArmor" then
4025
v.Color = BrickColor.new("New Yeller").Color
4026
end
4027
end
4028
end
4029
TextUI.Text.Image = "rbxassetid://2871442888"
4030
Speed = 23
4031
		elseif Mode == "A" then
4032
			SONG = 570332815
4033
			Mode = "T"
4034
			Speed = 18
4035
			MAINCOLOR = BrickColor.new("Deep orange")
4036
			TextUI.Text.Image = "rbxassetid://2863687732"
4037
		MainFrame2.Cube1.BackgroundColor3=BrickColor.new("Deep orange").Color
4038
		MainFrame2.Cube2.BackgroundColor3=BrickColor.new("Deep orange").Color
4039
		modeswitchgui()
4040
for i,v in pairs(TurboCore:GetChildren()) do
4041
if v:IsA("BasePart") then
4042
if v.Name == "NeonArmor" then
4043
v.Color = BrickColor.new("Deep orange").Color
4044
end
4045
end
4046
end
4047
			for i,v in pairs(gauntlet:GetChildren()) do
4048
if v:IsA("BasePart") then
4049
if v.Name == "NeonArmor" then
4050
v.Color = BrickColor.new("Deep orange").Color
4051
end
4052
end
4053
end
4054
for i,v in pairs(gauntlet2:GetChildren()) do
4055
if v:IsA("BasePart") then
4056
if v.Name == "NeonArmor" then
4057
v.Color = BrickColor.new("Deep orange").Color
4058
end
4059
end
4060
end
4061
		end
4062
	end
4063
		---------------------ATTACKS--------------------------
4064
				if Button == "z" and attacking == false and Mode == "G" then
4065
					glitchattack()
4066
				end
4067
				
4068
				if Button == "z" and attacking == false and Mode == "LS" then
4069
					Daash()
4070
				end
4071
				
4072
				if Button == "x" and attacking == false and Mode == "MN" then
4073
					LunarAttack()
4074
				end
4075
				
4076
				if Button == "z" and attacking == false and Mode == "MN" then
4077
					LunarAttackA()
4078
				end
4079
				
4080
				if Button == "z" and attacking == false and Mode == "H" then
4081
					SolarAttack()
4082
				end
4083
								
4084
				if Button == "z" and attacking == false and Mode == "N" then
4085
					NuclearExtended()
4086
				end
4087
				if Button == "x" and attacking == false and Mode == "N" then
4088
					NuclearGrab()
4089
				end
4090
				if Button == "c" and attacking == false and Mode == "N" then
4091
					NuclearTeleport()
4092
				end
4093
				if Button == "z" and attacking == false and Mode == "ICE" then
4094
					CrystalizedFields()
4095
				end
4096
				if Button == "z" and attacking == false and Mode == "TP" then
4097
					kaboom()
4098
				end
4099
				if Button == "x" and attacking == false and Mode == "TP" then
4100
					spinnyboi()
4101
				end
4102
				if Button == "z" and attacking == false and Mode == "A" then
4103
					AAAA()
4104
				end
4105
				if Button == "z" and attacking == false and Mode == "FL" then
4106
					--FL is meant to make lots of combos
4107
					--so yeah
4108
					--also make techno effects for the attacks
4109
					--its kinda related to slush invaders
4110
	--x5
4111
				end
4112
					----------------TAUNTS-----------------------------------------
4113
	if Button == "p" and attacking == false then
4114
		if Chill == false then
4115
Chill = true
4116
		elseif Chill == true then
4117
			Chill = false
4118
		end
4119
	end
4120
end)
4121
4122
local owakdoa=0
4123
function gagok()
4124
local oawkwodkwad=math.random(0,100)/100
4125
local okaofwakf=math.random(60,100)/100
4126
local framiee=Instance.new("Frame",MainFrame2)
4127
framiee.AnchorPoint=Vector2.new(.5,.5)
4128
framiee.Position=UDim2.new(oawkwodkwad,0,2,0)
4129
framiee.BorderSizePixel=0
4130
framiee.BackgroundColor3=MainFrame2.Cube1.BackgroundColor3
4131
framiee.Size=UDim2.new(math.random(1,15)/100,0,okaofwakf,0)
4132
coroutine.resume(coroutine.create(function(ff)
4133
ff:TweenSize(UDim2.new(0,0,okaofwakf,0),"InOut","Quad",1,true)
4134
ff:TweenPosition(UDim2.new(oawkwodkwad,0,-math.random(20,66)/100,0),"InOut","Quart",1.1,true)
4135
game:GetService("Debris"):AddItem(ff,5)
4136
end),framiee)
4137
4138
end
4139
4140
local BOIE = 0
4141
4142
while true do
4143
	swait()
4144
	if Mode ~= "ICE" then
4145
	sne = sne + chaeng
4146
	else
4147
		sne = sne + 0.625
4148
		end
4149
timepoz = music.TimePosition
4150
music.SoundId = "rbxassetid://"..SONG
4151
if luna.Parent ~= nil then
4152
	sphere2(5,"Add",luna.CFrame,vt(0.525,0.525,0.525),0.001,0.001,0.001,BrickColor.new("Bright blue"),BrickColor.new("Bright blue").Color)
4153
--sphere2(5,"Add",luna.CFrame*CFrame.new(math.random(-0.555,0.555),math.random(-0.555,0.555),math.random(-0.555,0.555)),vt(0.125,0.125,0.125),0.001,0.001,0.001,BrickColor.new("Bright blue"),BrickColor.new("Bright blue").Color)
4154
end
4155
--sphere2(5,"Add",luna.CFrame*CFrame.new(math.random(-0.5,0.5),math.random(-0.5,0.5),math.random(-0.5,0.5)),vt(0.25,0.25,0.25),0.01,0.01,0.01,BrickColor.new("Bright blue"),BrickColor.new("Bright blue").Color)
4156
luna.CFrame = sorb.CFrame*CF(0,-0.75,0)*ANGLES(RAD(360*math.cos(sne/168)),math.rad(360*math.cos(sne/168)),math.rad(360*math.cos(sne/168)))
4157
if Mode ~= "MN" then
4158
	luna.Parent = nil
4159
elseif Mode == "MN" then
4160
	luna.Parent = char
4161
end
4162
if Mode == "T" then
4163
music.Volume = 2
4164
elseif Mode == "LS" then
4165
	music.Volume = 5
4166
elseif Mode ~= "LS" and Mode ~= "T" then
4167
	music.Volume = 3.5
4168
	end
4169
if music.Parent ~= char.HumanoidRootPart then
4170
music = Instance.new("Sound",char.HumanoidRootPart)
4171
music.SoundId = "rbxassetid://"..SONG
4172
music.Looped = true
4173
music.Pitch = 1
4174
if Mode == "T" then
4175
music.Volume = 2
4176
elseif Mode == "LS" then
4177
	music.Volume = 5
4178
	elseif Mode ~= "LS" and Mode ~= "T" then
4179
	music.Volume = 3.5
4180
	end
4181
music.TimePosition = timepoz
4182
music:Resume()	
4183
end
4184
if Mode ~= "G" then
4185
TextUI.Text.Rotation = 2 *math.cos(sne/32)
4186
else
4187
	TextUI.Text.Rotation = math.random(-2,2)
4188
	end
4189
if Mode == "G" then
4190
	glitchval = math.random(1,255)/255
4191
	if math.random(1,3) == 1 then
4192
			for i,v in pairs(TurboCore:GetChildren()) do
4193
if v:IsA("BasePart") then
4194
if v.Name == "NeonArmor" then
4195
	v.Material = "Slate"
4196
			v.Transparency = math.random(0.1,1.0)
4197
v.Color = Color3.new(glitchval,glitchval,glitchval)
4198
end
4199
end
4200
end
4201
			for i,v in pairs(gauntlet:GetChildren()) do
4202
if v:IsA("BasePart") then
4203
if v.Name == "NeonArmor" then
4204
		v.Material = "Slate"
4205
				v.Transparency = math.random(0.1,1.0)
4206
v.Color = Color3.new(glitchval,glitchval,glitchval)
4207
end
4208
end
4209
end
4210
for i,v in pairs(gauntlet2:GetChildren()) do
4211
if v:IsA("BasePart") then
4212
if v.Name == "NeonArmor" then
4213
		v.Material = "Slate"
4214
		v.Transparency = math.random(0.1,1.0)
4215
v.Color = Color3.new(glitchval,glitchval,glitchval)
4216
end
4217
end
4218
end
4219
					TextUI.Text.Image = "rbxassetid://2866315054"
4220
	else
4221
		if math.random(1,25) == 1 then
4222
		PixelBlockNeg(1,math.random(1,2),"Add",RootPart.CFrame*CFrame.new(math.random(-15,15),0,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-1,1)),math.rad(math.random(-1,1)),math.rad(math.random(-1,1))),5,5,5,0.1,BrickColor.new("Institutional white"),-10)
4223
				end
4224
					TextUI.Text.Image = "rbxassetid://2866314462"
4225
		MainFrame2.Cube1.BackgroundColor3= Color3.new(glitchval,glitchval,glitchval)
4226
		MainFrame2.Cube2.BackgroundColor3= Color3.new(glitchval,glitchval,glitchval)
4227
			for i,v in pairs(TurboCore:GetChildren()) do
4228
if v:IsA("BasePart") then
4229
if v.Name == "NeonArmor" then
4230
	v.Material = "Neon"
4231
			v.Transparency = 0
4232
v.Color = Color3.new(glitchval,glitchval,glitchval)
4233
end
4234
end
4235
end
4236
			for i,v in pairs(gauntlet:GetChildren()) do
4237
if v:IsA("BasePart") then
4238
if v.Name == "NeonArmor" then
4239
		v.Material = "Neon"
4240
				v.Transparency = 0
4241
v.Color = Color3.new(glitchval,glitchval,glitchval)
4242
end
4243
end
4244
end
4245
for i,v in pairs(gauntlet2:GetChildren()) do
4246
if v:IsA("BasePart") then
4247
if v.Name == "NeonArmor" then
4248
		v.Material = "Neon"
4249
				v.Transparency = 0
4250
v.Color = Color3.new(glitchval,glitchval,glitchval)
4251
end
4252
end
4253
end
4254
	end
4255
elseif Mode ~= "G" then
4256
				for i,v in pairs(TurboCore:GetChildren()) do
4257
if v:IsA("BasePart") then
4258
if v.Name == "NeonArmor" then
4259
	v.Material = "Neon"
4260
			v.Transparency = 0
4261
end
4262
end
4263
end
4264
			for i,v in pairs(gauntlet:GetChildren()) do
4265
if v:IsA("BasePart") then
4266
if v.Name == "NeonArmor" then
4267
	v.Material = "Neon"
4268
			v.Transparency = 0
4269
end
4270
end
4271
end
4272
for i,v in pairs(gauntlet2:GetChildren()) do
4273
if v:IsA("BasePart") then
4274
if v.Name == "NeonArmor" then
4275
	v.Material = "Neon"
4276
			v.Transparency = 0
4277
end
4278
end
4279
end
4280
if Mode == "T" then
4281
				TextUI.Text.Image = "rbxassetid://2863687732"
4282
	for i,v in pairs(TurboCore:GetChildren()) do
4283
if v:IsA("BasePart") then
4284
if v.Name == "NeonArmor" then
4285
v.Color = BrickColor.new("Deep orange").Color
4286
end
4287
end
4288
end
4289
			for i,v in pairs(gauntlet:GetChildren()) do
4290
if v:IsA("BasePart") then
4291
if v.Name == "NeonArmor" then
4292
v.Color = BrickColor.new("Deep orange").Color
4293
end
4294
end
4295
end
4296
for i,v in pairs(gauntlet2:GetChildren()) do
4297
if v:IsA("BasePart") then
4298
if v.Name == "NeonArmor" then
4299
v.Color = BrickColor.new("Deep orange").Color
4300
end
4301
end
4302
end
4303
end
4304
4305
if Mode == "N" then
4306
		if hitfloor ~= nil then
4307
		sphere2(1.5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,0.5,1),0.1,0.01,0.1,BrickColor.new("Lime green"),Color3.new(0,1,0))
4308
	end
4309
	if math.random(1,2) == 1 then
4310
	TextUI.Text.Image = "rbxassetid://2874580999"
4311
	else
4312
	TextUI.Text.Image = "rbxassetid://2874633415"
4313
		end
4314
		MainFrame2.Cube1.BackgroundColor3=Color3.fromRGB(15 + math.random(-15,15), 158 + math.random(-30,30), 15 + math.random(-15,15))
4315
		MainFrame2.Cube2.BackgroundColor3=Color3.fromRGB(15 + math.random(-15,15), 158 + math.random(-30,30), 15 + math.random(-15,15))
4316
	for i,v in pairs(TurboCore:GetChildren()) do
4317
if v:IsA("BasePart") then
4318
if v.Name == "NeonArmor" then
4319
v.Color = Color3.fromRGB(15 + math.random(-15,15), 158 + math.random(-30,30), 15 + math.random(-15,15))
4320
end
4321
end
4322
end
4323
			for i,v in pairs(gauntlet:GetChildren()) do
4324
if v:IsA("BasePart") then
4325
if v.Name == "NeonArmor" then
4326
v.Color = Color3.fromRGB(15 + math.random(-15,15), 158 + math.random(-30,30), 15 + math.random(-15,15))
4327
end
4328
end
4329
end
4330
for i,v in pairs(gauntlet2:GetChildren()) do
4331
if v:IsA("BasePart") then
4332
if v.Name == "NeonArmor" then
4333
v.Color = Color3.fromRGB(15 + math.random(-15,15), 158 + math.random(-30,30), 15 + math.random(-15,15))
4334
end
4335
end
4336
end
4337
end
4338
end
4339
if Mode == "R" then
4340
					TextUI.Text.Image = "rbxassetid://2866469300"
4341
						TextUI.Text.ImageColor3 = Color3.new(r/255,g/255,b/255)
4342
		MainFrame2.Cube1.BackgroundColor3=Color3.new(r/255,g/255,b/255)
4343
		MainFrame2.Cube2.BackgroundColor3=Color3.new(r/255,g/255,b/255)
4344
	for i,v in pairs(TurboCore:GetChildren()) do
4345
if v:IsA("BasePart") then
4346
if v.Name == "NeonArmor" then
4347
v.Color = Color3.new(r / 255, g / 255, b / 255)
4348
end
4349
end
4350
end
4351
			for i,v in pairs(gauntlet:GetChildren()) do
4352
if v:IsA("BasePart") then
4353
if v.Name == "NeonArmor" then
4354
v.Color = Color3.new(r / 255, g / 255, b / 255)
4355
end
4356
end
4357
end
4358
for i,v in pairs(gauntlet2:GetChildren()) do
4359
if v:IsA("BasePart") then
4360
if v.Name == "NeonArmor" then
4361
v.Color = Color3.new(r / 255, g / 255, b / 255)
4362
end
4363
end
4364
end
4365
elseif Mode ~= "R" then
4366
	TextUI.Text.ImageColor3 = Color3.new(255/255,255/255,255/255)
4367
	if Mode == "T" then
4368
		MainFrame2.Cube1.BackgroundColor3=BrickColor.new("Deep orange").Color
4369
		MainFrame2.Cube2.BackgroundColor3=BrickColor.new("Deep orange").Color
4370
				TextUI.Text.Image = "rbxassetid://2863687732"
4371
	for i,v in pairs(TurboCore:GetChildren()) do
4372
if v:IsA("BasePart") then
4373
if v.Name == "NeonArmor" then
4374
v.Color = BrickColor.new("Deep orange").Color
4375
end
4376
end
4377
end
4378
			for i,v in pairs(gauntlet:GetChildren()) do
4379
if v:IsA("BasePart") then
4380
if v.Name == "NeonArmor" then
4381
v.Color = BrickColor.new("Deep orange").Color
4382
end
4383
end
4384
end
4385
for i,v in pairs(gauntlet2:GetChildren()) do
4386
if v:IsA("BasePart") then
4387
if v.Name == "NeonArmor" then
4388
v.Color = BrickColor.new("Deep orange").Color
4389
end
4390
end
4391
end
4392
end
4393
end
4394
sine = sne
4395
if Mode == "ICE" then
4396
	BOIE = BOIE + 1
4397
	if BOIE == 32 then
4398
		BOIE = 0
4399
CrystalEffect(2.2,math.random(-6,6),"Add",root.CFrame*CFrame.new(math.random(-125,125),25,math.random(-125,125))*CFrame.Angles(math.rad(math.random(-1,1)),math.rad(math.random(-1,1)),math.rad(math.random(-1,1))),50,50,50,-0.03,0)
4400
if math.random(1,4) == 1 then
4401
	CrystalEffect(2.2,math.random(-6,6),"Add",root.CFrame*CFrame.new(math.random(-125,125),25,math.random(-125,125))*CFrame.Angles(math.rad(math.random(-1,1)),math.rad(math.random(-1,1)),math.rad(math.random(-1,1))),50,50,50,-0.03,0)
4402
end
4403
end
4404
end
4405
4406
4407
4408
--TriangleEffect(7.5,0,"Add",root.CFrame*CFrame.Angles(math.rad(sne),math.rad(sne),math.rad(sne)),0.03,0)
4409
4410
----------SALVO'S GUI---------
4411
MainFrame2.ImageLabel.Image = TextUI.Text.Image
4412
MainFrame2.ImageLabel.Rotation = 5 * math.cos(sine/31)
4413
MainFrame2.ImageLabel.ImageColor3 = TextUI.Text.ImageColor3
4414
MainFrame2.Cube1.Rotation = MainFrame2.Cube1.Rotation + (1+.9*math.sin(sine / 31) + music.PlaybackLoudness/123)
4415
MainFrame2.Cube2.Rotation = MainFrame2.Cube2.Rotation + (2-.9*math.cos(sine / 31) + music.PlaybackLoudness/88)
4416
MainFrame2.Cube1.Size = UDim2.new(0,200 + music.PlaybackLoudness/14,0,200 + music.PlaybackLoudness/14)
4417
MainFrame2.Cube2.Size = UDim2.new(0,160 + music.PlaybackLoudness/21,0,160 + music.PlaybackLoudness/21)
4418
4419
local bruh1=MainFrame2.Cube1.BackgroundColor3.r
4420
local bruh2=MainFrame2.Cube1.BackgroundColor3.g
4421
local bruh3=MainFrame2.Cube1.BackgroundColor3.b
4422
4423
MainFrame2.Cube1.mg1.ImageColor3=Color3.new(bruh1-(.15+.2*math.sin(sine/19)),bruh2-(.15+.2*math.sin(sine/19)),bruh3-(.15+.2*math.sin(sine/19)))
4424
MainFrame2.Cube1.mg2.ImageColor3=Color3.new(bruh1-(.15+.2*math.sin(sine/19)),bruh2-(.15+.2*math.sin(sine/19)),bruh3-(.15+.2*math.sin(sine/19)))
4425
MainFrame2.Cube1.mg3.ImageColor3=Color3.new(bruh1-(.15+.2*math.sin(sine/19)),bruh2-(.15+.2*math.sin(sine/19)),bruh3-(.15+.2*math.sin(sine/19)))
4426
MainFrame2.Cube1.mg4.ImageColor3=Color3.new(bruh1-(.15+.2*math.sin(sine/19)),bruh2-(.15+.2*math.sin(sine/19)),bruh3-(.15+.2*math.sin(sine/19)))
4427
MainFrame2.Cube2.mg1.ImageColor3=Color3.new(bruh1-(.15+.22*math.cos(sine/18)),bruh2-(.15+.22*math.cos(sine/18)),bruh3-(.15+.22*math.cos(sine/18)))
4428
MainFrame2.Cube2.mg2.ImageColor3=Color3.new(bruh1-(.15+.22*math.cos(sine/18)),bruh2-(.15+.22*math.cos(sine/18)),bruh3-(.15+.22*math.cos(sine/18)))
4429
MainFrame2.Cube2.mg3.ImageColor3=Color3.new(bruh1-(.15+.22*math.cos(sine/18)),bruh2-(.15+.22*math.cos(sine/18)),bruh3-(.15+.22*math.cos(sine/18)))
4430
MainFrame2.Cube2.mg4.ImageColor3=Color3.new(bruh1-(.15+.22*math.cos(sine/18)),bruh2-(.15+.22*math.cos(sine/18)),bruh3-(.15+.22*math.cos(sine/18)))
4431
4432
			SideFrame2.BorderColor3 = MainFrame2.Cube1.BackgroundColor3
4433
									SideFrame2.BackgroundColor3 = MainFrame2.Cube1.BackgroundColor3
4434
			SideFrame3.BorderColor3 = MainFrame2.Cube1.BackgroundColor3
4435
						SideFrame3.BackgroundColor3 = MainFrame2.Cube1.BackgroundColor3
4436
									SideFrame4.BorderColor3 = MainFrame2.Cube1.BackgroundColor3
4437
						SideFrame4.BackgroundColor3 = MainFrame2.Cube1.BackgroundColor3
4438
						SideFrame5.BorderColor3 = MainFrame2.Cube1.BackgroundColor3
4439
						SideFrame5.BackgroundColor3 = MainFrame2.Cube1.BackgroundColor3
4440
											SideFrame0.BorderColor3 = MainFrame2.Cube1.BackgroundColor3
4441
						SideFrame0.BackgroundColor3 = MainFrame2.Cube1.BackgroundColor3
4442
						SideFrame_0.BorderColor3 = MainFrame2.Cube1.BackgroundColor3
4443
						SideFrame_0.BackgroundColor3 = MainFrame2.Cube1.BackgroundColor3
4444
											SideFrame1.BorderColor3 = MainFrame2.Cube1.BackgroundColor3
4445
						SideFrame1.BackgroundColor3 = MainFrame2.Cube1.BackgroundColor3
4446
					SideFrame_0.Size = UDim2.new(0,35+music.PlaybackLoudness/16,0,15)
4447
					SideFrame0.Size = UDim2.new(0,45+music.PlaybackLoudness/14,0,15)
4448
					SideFrame1.Size = UDim2.new(0,55+music.PlaybackLoudness/12,0,15)
4449
			SideFrame2.Size = UDim2.new(0,65+music.PlaybackLoudness/10,0,15)
4450
						SideFrame3.Size = UDim2.new(0,75+music.PlaybackLoudness/8,0,15)
4451
			SideFrame4.Size = UDim2.new(0,85+music.PlaybackLoudness/6,0,15)
4452
						SideFrame5.Size = UDim2.new(0,95+music.PlaybackLoudness/4,0,15)
4453
4454
owakdoa=owakdoa+1
4455
if owakdoa>=4 then
4456
	owakdoa=0
4457
gagok()	
4458
end
4459
---------------------------------------------------------------------
4460
if char:FindFirstChild("CharacterMesh") then
4461
	char.CharacterMesh:Remove()
4462
end
4463
	if char:FindFirstChild("Animate") then
4464
		char.Animate:Remove()
4465
	end
4466
		if char:FindFirstChild("Animator") then
4467
		char.Animate:Remove()
4468
		end
4469
				if char:FindFirstChild("ForceField") then
4470
		char.ForceField:Remove()
4471
		end
4472
			if char.Humanoid:FindFirstChild("Animate") then
4473
		char.Humanoid.Animate:Remove()
4474
			end
4475
				if char.Humanoid:FindFirstChild("Animator") then
4476
		char.Humanoid.Animator:Remove()
4477
	end
4478
char.Humanoid.WalkSpeed = Speed
4479
char.Humanoid.JumpPower = 90
4480
local TorsoVelocity=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude 
4481
local velderp=RootPart.Velocity.y
4482
hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
4483
if RootPart.Velocity.y > 1 and hitfloor==nil then 
4484
ANIMATION="Jump"
4485
if attacking==false then
4486
RightH.C0=clerp(RightH.C0,cf(1,-0.35 - 0.05 * math.cos(sne / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
4487
LeftH.C0=clerp(LeftH.C0,cf(-1,-1 - 0.05 * math.cos(sne / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1)
4488
RootJ.C0=clerp(RootJ.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sne / 25))*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
4489
Torso.Neck.C0=clerp(Torso.Neck.C0,neckcf*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
4490
RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sne / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(25)),.1)
4491
LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sne / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(-25)),.1)
4492
end
4493
elseif RootPart.Velocity.y < -1 and hitfloor==nil then 
4494
ANIMATION="Fall"
4495
if attacking==false then
4496
RH.C0=clerp(RH.C0,cf(1,-0.35 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
4497
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1)
4498
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(10),math.rad(0),math.rad(0)),.1)
4499
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
4500
RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(55)),.1)
4501
LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(-55)),.1)
4502
end
4503
elseif TorsoVelocity<1 and hitfloor~=nil then
4504
ANIMATION="Idle"
4505
if attacking==false then
4506
	if Chill == false then
4507
	if Mode == "T" then
4508
--RightH.C0=clerp(RightH.C0,cf(1,-1 - 0.08 * math.cos(sne / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
4509
--LeftH.C0=clerp(LeftH.C0,cf(-1,-1 - 0.08 * math.cos(sne / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
4510
--RootJ.C0=clerp(RootJ.C0,RootCF*cf(0,0,0 + 0.085 * math.cos(sne / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
4511
--Torso.Neck.C0=clerp(Torso.Neck.C0,neckcf*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
4512
	RightH.C0=clerp(RightH.C0,cf(1,-1 - 0.05 * math.cos(sne / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sne / 56)),math.rad(0 - 3 * math.cos(sne / 32))),.1)
4513
LeftH.C0=clerp(LeftH.C0,cf(-1,-1 - 0.05 * math.cos(sne / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sne / 56)),math.rad(0 + 3 * math.cos(sne / 32))),.1)
4514
RootJ.C0=clerp(RootJ.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sne / 32))*angles(math.rad(0 - 2 * math.cos(sne / 32)),math.rad(0),math.rad(-1)),.1)
4515
Torso.Neck.C0=clerp(Torso.Neck.C0,neckcf*angles(math.rad(5 - 2 * math.cos(sne / 37)),math.rad(0 + 1 * math.cos(sne / 58)),math.rad(1 + 2 * math.cos(sne / 53))),.1)
4516
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sne / 45),0)*angles(math.rad(2 + 5 * math.cos(sne / 74)),math.rad(1 - 3 * math.cos(sne / 53)),math.rad(14 + 3 * math.cos(sne / 45))),.1)
4517
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sne / 45),0)*angles(math.rad(5 - 3 * math.cos(sne / 73)),math.rad(2 - 1 * math.cos(sne / 55)),math.rad(-18 - 3 * math.cos(sne / 45))),.1)
4518
--RightS.C0 = clerp2(RightS.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12+3*math.cos(sne/32))) * CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), 0.15 / 3)
4519
 --LeftS.C0 = clerp2(LeftS.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12-3*math.cos(sne/32))) * CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)), 0.15 / 3)
4520
	elseif Mode == "LS" then
4521
		RightH.C0=clerp(RightH.C0,cf(1,-1 - 0.05 * math.cos(sne / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5 + 0.5 * math.cos(sne / 34)),math.rad(6 + 3 * math.cos(sne / 34)),math.rad(0 - 1 * math.cos(sne / 34))),.1)
4522
LeftH.C0=clerp(LeftH.C0,cf(-1,-1 - 0.05 * math.cos(sne / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5 + 0.25 * math.cos(sne / 34)),math.rad(8 - 2 * math.cos(sne / 34)),math.rad(0 + 1 * math.cos(sne / 34))),.1)
4523
RootJ.C0=clerp(RootJ.C0,RootCF*cf(0,0 + 0.01 * math.cos(sne / 34),0 + 0.05 * math.cos(sne / 28))*angles(math.rad(0 - 1 * math.cos(sne / 34)),math.rad(0),math.rad(18 + 3 * math.cos(sne / 65))),.1)
4524
Torso.Neck.C0=clerp(Torso.Neck.C0,neckcf*angles(math.rad(12 - 3.5 * math.cos(sne / 28)),math.rad(3 * math.cos(sne / 32) + 0.5 * math.cos(sne / 28)),math.rad(-18 - 3 * math.cos(sne / 65))),.1)
4525
RW.C0=clerp(RW.C0,cf(0.85,0.4 + 0.06 * math.cos(sne / 28),-0.65)*angles(math.rad(36 - 3 * math.cos(sne / 34)),math.rad(-2 + 2 * math.cos(sne / 45)),math.rad(-88 + 2 * math.cos(sne / 28))),.1)
4526
LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.06 * math.cos(sne / 28),-0.65)*angles(math.rad(46 + 3 * math.cos(sne / 49)),math.rad(2 - 2 * math.cos(sne / 52)),math.rad(88 - 3 * math.cos(sne / 39))),.1)
4527
    elseif Mode == "DM" then -- GodzPlaysRB's Floppy doppy animation
4528
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0 + 15 * math.cos(sine / 28)),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
4529
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0 + 15 * math.cos(sine / 28)),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
4530
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 + 15 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
4531
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 7 * math.cos(sine / 28)),math.rad(0 + 10 * math.cos(sine / 28)),math.rad(0)),.1)
4532
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(0 + 1 * math.cos(sine / 28)),math.rad(0 + 25 * math.cos(sine / 28)),math.rad(20 - 5 * math.sin(sine / 28))),.1)
4533
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(0 + 2 * math.cos(sine / 28)),math.rad(0 - 27 * math.cos(sine / 28)),math.rad(-20 + 5 * math.sin(sine / 28))),.1)
4534
	elseif Mode == "G" then
4535
		RightH.C0=clerp(RightH.C0,cf(1,-1 - 0.05 * math.cos(sne / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sne / 56)),math.rad(0 - 2 * math.cos(sne / 32))),.1)
4536
LeftH.C0=clerp(LeftH.C0,cf(-1,-1 - 0.05 * math.cos(sne / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sne / 56)),math.rad(0 + 2 * math.cos(sne / 32))),.1)
4537
RootJ.C0=clerp(RootJ.C0,RootCF*cf(0,0 + 0.02 * math.cos(sne / 32),-0.1 + 0.05 * math.cos(sne / 32))*angles(math.rad(0 - 2 * math.cos(sne / 32)),math.rad(0),math.rad(-11)),.1)
4538
Torso.Neck.C0=clerp(Torso.Neck.C0,neckcf*angles(math.rad(15 - 15 * math.cos(sne / 0.5265)),math.rad(11 - 15 * math.cos(sne / 0.25)),math.rad(0 - 15 * math.cos(sne / 0.465)))*angles(math.rad(10 - 2.5 * math.cos(sne / 28)),math.rad(0),math.rad(31 + 6.5 * math.cos(sne / 32.5))),.1)
4539
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(15 - 15 * math.cos(sne / 0.5265)),math.rad(0 - 15 * math.cos(sne / 0.25)),math.rad(0 - 15 * math.cos(sne / 0.465)))*angles(math.rad(math.random(1,3)),math.rad(-5),math.rad(15 + 7.5 * math.cos(sne / 32.5))),.1)
4540
LW.C0=clerp(LW.C0,cf(-1.5+0.05*math.cos(sne/32),0.65-.05*math.cos(sne/32),0)*angles(math.rad(15 - 15 * math.cos(sne / 0.5265)),math.rad(0 - 15 * math.cos(sne / 0.25)),math.rad(0 - 15 * math.cos(sne / 0.465)))*angles(math.rad(math.random(136,159)),math.rad(5),math.rad(29 - 8.5 * math.cos(sne / 32.5))),.1)
4541
		elseif Mode == "MH" then
4542
		RightH.C0=clerp(RightH.C0,cf(1,-1 - 0.05 * math.cos(sne / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sne / 56)),math.rad(24 - 2 * math.cos(sne / 32))),.1)
4543
LeftH.C0=clerp(LeftH.C0,cf(-1,-1 - 0.05 * math.cos(sne / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sne / 56)),math.rad(-24 + 2 * math.cos(sne / 32))),.1)
4544
RootJ.C0=clerp(RootJ.C0,RootCF*cf(0,0 + 0.02 * math.cos(sne / 32),-0.1 + 0.05 * math.cos(sne / 32))*angles(math.rad(24 - 2 * math.cos(sne / 32)),math.rad(0),math.rad(-6)),.1)
4545
Torso.Neck.C0=clerp(Torso.Neck.C0,neckcf*angles(math.rad(15 - 15 * math.cos(sne / 0.5265)),math.rad(11 - 15 * math.cos(sne / 0.25)),math.rad(0 - 15 * math.cos(sne / 0.465)))*angles(math.rad(21 - 2.5 * math.cos(sne / 28)),math.rad(0),math.rad(4 + 6.5 * math.cos(sne / 1.5))),.1)
4546
RW.C0=clerp(RW.C0,cf(1,0.695,-0.5)*angles(math.rad(150 - 15 * math.cos(sne / 0.5265)),math.rad(0 - 15 * math.cos(sne / 0.5265)),math.rad(-42 - 1.5 * math.cos(sine / 25) + 15 * math.cos(sne / 0.5265))),.1)
4547
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(23 - 15 * math.cos(sne / 0.5265)),math.rad(0 - 15 * math.cos(sne / 0.5265)),math.rad(-25 - 15 * math.cos(sne / 0.5265))),.1)
4548
	elseif Mode == "MN" then
4549
		RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),-0.15)*angles(math.rad(0),math.rad(82.5),math.rad(0))*angles(math.rad(-7),math.rad(-1 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.2)
4550
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-82.5),math.rad(0))*angles(math.rad(-0.5),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(3 + 2 * math.cos(sine / 32))),.2)
4551
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.01 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(11-3*math.cos(sne/32))),.2)
4552
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(11 - 2 * math.cos(sine / 37)),math.rad(-2 + 2 * math.cos(sine / 58)),math.rad(-3+3*math.cos(sine/24))),.2)
4553
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(-6 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(15 + 6 * math.cos(sine / 45))),.2)
4554
LW.C0=clerp(LW.C0,cf(-1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(67 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.2)
4555
	elseif Mode == "H" then
4556
RH.C0 = clerp(RH.C0, CF(1, -1 - 0.07 * math.cos(sine / 22), 0) * angles(math.rad(0), math.rad(85), math.rad(0)) * angles(math.rad(-2.5 - 0.5 * math.sin(sine / 22)), math.rad(0), math.rad(-2)), 0.1)
4557
LH.C0 = clerp(LH.C0, CF(-1, -1 - 0.07 * math.cos(sine / 22), 0) * angles(math.rad(0), math.rad(-78), math.rad(0)) * angles(math.rad(-2.5 - 0.5 * math.sin(sine / 22)), math.rad(0), math.rad(-5)), 0.1)
4558
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.07 * math.cos(sine / 22))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-35)),.1)
4559
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 3 * math.cos(sine / 31)),math.rad(0),math.rad(34)),.1)
4560
	RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.1 * math.sin(sine / 28), 0) * angles(math.rad(0), math.rad(-8.5 + 8.5 * math.sin(sine / 28)), math.rad(25 + 8.5 * math.sin(sine / 28))), 0.1)
4561
LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.05 * math.cos(sine / 32),-0.5)*angles(math.rad(84 - 3 * math.cos(sine / 32)),math.rad(8 - 5 * math.cos(sine / 32)),math.rad(80 - 3 * math.cos(sine / 32))),.1)
4562
    elseif Mode == "FL" then
4563
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
4564
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
4565
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(20)),.1)
4566
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(-20)),.1)
4567
RW.C0=clerp(RW.C0,cf(1,0.5 + 0.05 * math.cos(sine / 28),-0.2)*angles(math.rad(105),math.rad(0),math.rad(-56)),.1)
4568
LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.05 * math.cos(sine / 28),-0.2)*angles(math.rad(81),math.rad(0),math.rad(67)),.1)
4569
	elseif Mode == "TP" then
4570
RightH.C0=clerp(RightH.C0,cf(1,-1 - 0.15 * math.cos(sne / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sne / 56)),math.rad(0 + 1 * math.cos(sne / 32))),.1)
4571
LeftH.C0=clerp(LeftH.C0,cf(-1,-1 - 0.15 * math.cos(sne / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sne / 56)),math.rad(0 - 1 * math.cos(sne / 32))),.1)
4572
RootJ.C0=clerp(RootJ.C0,RootCF*cf(0,0,0 + 0.15 * math.cos(sne / 25))*angles(math.rad(-3 + 1 * math.cos(sne / 32)),math.rad(0),math.rad(-1)),.1)
4573
Torso.Neck.C0=clerp(Torso.Neck.C0,neckcf*angles(math.rad(5 - 2 * math.cos(sne / 37)),math.rad(0 + 1 * math.cos(sne / 58)),math.rad(1 + 2 * math.cos(sne / 53))),.1)
4574
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sne / 45),0)*angles(math.rad(2 + 5 * math.cos(sne / 74)),math.rad(1 - 3 * math.cos(sne / 53)),math.rad(14 - 9 * math.cos(sne / 25))),.1)
4575
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sne / 45),0)*angles(math.rad(5 - 3 * math.cos(sne / 73)),math.rad(2 - 1 * math.cos(sne / 55)),math.rad(-18 + 9 * math.cos(sne / 25))),.1)
4576
	elseif Mode == "ICE" then
4577
RH.C0=clerp(RH.C0,cf(1,-1 - 0.074 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
4578
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.074 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
4579
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.074 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
4580
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(21 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
4581
RW.C0=clerp(RW.C0,cf(1 + 0.085 * math.cos(sine/28),0.5 + 0.05 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(-30 - 4 * math.cos(sine/28))),.1)
4582
LW.C0=clerp(LW.C0,cf(-1 - 0.085 * math.cos(sine/28),0.5 + 0.05 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30 + 4 * math.cos(sine/28))),.1)
4583
	elseif Mode == "N" then
4584
		if math.random(1,3) == 1 then
4585
		PixelBlockX(7,0.5,"Add",rarm.CFrame*CFrame.new(0,-1.35,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.01,MAINCOLOR,0)
4586
end
4587
sphere2(6,"Add",rarm.CFrame*CFrame.new(math.random(-0.5,0.5),-1.35 + math.random(-0.5,0.5),math.random(-0.5,0.5)),vt(0.45,0.45,0.45),0.01,0.01,0.01,MAINCOLOR,MAINCOLOR.Color)
4588
		RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) - 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1 + 1 * math.cos(sine / 50)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 34))),.1)
4589
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) + 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5 - 1 * math.cos(sine / 50)),math.rad(7),math.rad(0 + 2 * math.cos(sine / 34))),.1)
4590
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.04 * math.cos(sine / 50),0 + 0.03 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 + 1 * math.cos(sine / 50)),math.rad(18-4*COS(sne/42))),.1)
4591
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 3 * math.cos(sine / 28)),math.rad(-2 + 3.5 * math.cos(sine / 57)),math.rad(18-4*math.cos(sne/42))),.1)
4592
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 11 * math.cos(sine / 73)),math.rad(18 - 6 * math.cos(sine / 57)),math.rad(17 + 5 * math.cos(sine / 28))),.1)
4593
--RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(0 - 1 * math.cos(sine / 43)),math.rad(-2 + 2 * math.cos(sine / 45)),math.rad(12 + 7 * math.cos(sine / 28))),.1)
4594
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(0 + 1 * math.cos(sine / 49)),math.rad(2 - 2 * math.cos(sine / 52)),math.rad(-12 - 7 * math.cos(sine / 39))),.1)
4595
	elseif Mode == "A" then
4596
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
4597
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
4598
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.01 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 + 1 * math.cos(sine / 42))),.1)
4599
--Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 8.5 * math.cos(sine / 41)),math.rad(0 + 1 * math.cos(sine / 57)),math.rad(20 + 10 * math.cos(sine / 47))),.1)
4600
		Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(8 - 3 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(-2 + 2 * math.cos(sine / 53))),.1)
4601
		----RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 32), -0.6) * angles(Rad(0), Rad(75 + 8.5 * Sin(sine / 32)), Rad(0)) * angles(Rad(-8.5), Rad(0), Rad(0)), 0.1)
4602
			----	LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 32), 0) * angles(Rad(0), Rad(-75 - 8.5 * Sin(sine / 32)), Rad(0)) * angles(Rad(-8.5), Rad(0), Rad(0)), 0.1)
4603
		----		RootJoint.C0=clerp(RootJoint.C0,CF(0+.2*SIN(sne/32),1.3-.5*COS(sne/32),0+.2*COS(sne/24))*ANGLES(RAD(270+1.5*SIN(sne/32)),RAD(0+5*SIN(sne/36)),RAD(-180)),.1)
4604
		--		RootJoint.C0=clerp(RootJoint.C0,CF(0+.2*SIN(sne/32),1.3-.5*COS(sne/32),0+.2*COS(sne/24))*ANGLES(RAD(90+1.5*SIN(sne/32)),RAD(0+5*SIN(sne/36)),RAD(180)),.1)
4605
--Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(-2 + 2 * math.cos(sine / 53))),.1)
4606
			RW.C0=clerp(RW.C0,cf(1,0.45 + 0.1 * math.cos(sine / 56),-0.5)*angles(math.rad(25+5*math.cos(sine/56)),math.rad(-15),math.rad(-85-5*math.cos(sine/56))),.1)
4607
LW.C0=clerp(LW.C0,cf(-0.75,0.45 + 0.1 * math.cos(sine /56),-0.5)*angles(math.rad(-25-5*math.cos(sine/56)),math.rad(15),math.rad(80+10*math.cos(sine/56))),.1)
4608
	elseif Mode == "R" then
4609
		RightH.C0=clerp(RightH.C0,cf(1,-1 - 0.05 * math.cos(sne / 18),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0 - 1 * math.cos(sne / 56)),math.rad(1 - 2 * math.cos(sne / 18))),.1)
4610
LeftH.C0=clerp(LeftH.C0,cf(-1,-1 - 0.05 * math.cos(sne / 18),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(10 - 1 * math.cos(sne / 56)),math.rad(-1 + 2 * math.cos(sne / 18))),.1)
4611
RootJ.C0=clerp(RootJ.C0,RootCF*cf(0,-0.01 + 0.02 * math.cos(sne / 18),0 + 0.05 * math.cos(sne / 18))*angles(math.rad(1 - 2 * math.cos(sne / 18)),math.rad(0),math.rad(-3 + 3 * math.cos(sne / 42))),.1)
4612
Torso.Neck.C0=clerp(Torso.Neck.C0,neckcf*angles(math.rad(15 - 2 * math.cos(sne / 37)),math.rad(0 + 2 * math.cos(sne / 58)),math.rad(-1 + 1 * math.cos(sne / 53))),.1)
4613
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sne / 45),0)*angles(math.rad(1 + 1 * math.cos(sne / 72)),math.rad(3 - 2 * math.cos(sne / 58)),math.rad(12 + 3 * math.cos(sne / 45))),.1)
4614
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sne / 45),0)*angles(math.rad(1 - 2 * math.cos(sne / 66)),math.rad(2 - 1 * math.cos(sne / 56)),math.rad(-12 + 3 * math.cos(sne / 45))),.1)
4615
	end
4616
		elseif Chill == true then
4617
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 39))),.1)
4618
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 6 * math.cos(sine / 31))),.1)
4619
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),0.123 + 0.15 * math.cos(sine / 32))*angles(math.rad(-87 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
4620
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
4621
RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(183 + 3 * math.cos(sine / 74)),math.rad(2 - 1 * math.cos(sine / 53)),math.rad(-33 + 3 * math.cos(sine / 45))),.1)
4622
LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(183 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
4623
	end
4624
end
4625
elseif TorsoVelocity>2 and TorsoVelocity<22 and hitfloor~=nil then
4626
ANIMATIONATION="Walk"
4627
if attacking==false then
4628
			if Chill ~= true then
4629
	--[[
4630
RightH.C0=clerp(RightH.C0,cf(1,-1 - 0.08 * math.cos(sne / 23),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-4),math.rad(0),math.rad(0+35*math.cos(sne/16))),.3)
4631
LeftH.C0=clerp(LeftH.C0,cf(-1,-1 - 0.08 * math.cos(sne / 23),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-4),math.rad(0),math.rad(0+35*math.cos(sne/16))),.3)
4632
RootJ.C0=clerp(RootJ.C0,RootCF*cf(0,0,0 + 0.085 * math.cos(sne / 23))*angles(math.rad(8),math.rad(0),math.rad(0)),.3)
4633
Torso.Neck.C0=clerp(Torso.Neck.C0,neckcf*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
4634
	]]--
4635
	if turboli == 20 then
4636
		turboli = 0
4637
			if Mode ~= "LS" then
4638
coroutine.resume(coroutine.create(function()
4639
if Mode == "T" then
4640
local turbo = TurboArrow:Clone()
4641
turbo.Parent = Character
4642
turbo.Anchored = true
4643
turbo.CanCollide = false
4644
turbo.CFrame = root.CFrame*cf(0,1.5,3)*angles(math.rad(131),math.rad(-180),math.rad(90))
4645
turbo.Transparency = 0.3
4646
swait(120)
4647
repeat
4648
turbo.Transparency = turbo.Transparency + 0.01
4649
swait()
4650
until turbo.Transparency == 0 or turbo.Transparency > 0.99
4651
game:GetService("Debris"):AddItem(turbo, 4)
4652
end
4653
end))
4654
	end
4655
	end
4656
	turboli = turboli + 1
4657
			if Mode == "G" then
4658
				if math.random(1,5) == 1 then
4659
					sphereMK(0.5,-1,"Add",RootPart.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),-8)*CFrame.Angles(math.rad(math.random(-25,25)),math.rad(math.random(-25,25)),math.rad(math.random(-25,25))),0.5,0.5,10,-0.005,BrickColor.new("Institutional white"),0)	
4660
		end
4661
		--sphereMK(3.5,-1,"Add",LeftLeg.CFrame* CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))),0.5,0.5,10,-0.005,BrickColor.new("Institutional white"),0)	
4662
		--sphereMK(3.5,-1,"Add",RightLeg.CFrame* CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))),0.5,0.5,10,-0.005,BrickColor.new("Institutional white"),0)	
4663
		end
4664
RightH.C0=clerp(RightH.C0,cf(1,-1 - 0.15 * math.cos(sne / 17),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 - 45 * math.cos(sne / 17))),.1)
4665
LeftH.C0=clerp(LeftH.C0,cf(-1,-1 - 0.15 * math.cos(sne / 17),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 - 45 * math.cos(sne / 17))),.1)
4666
RootJ.C0=clerp(RootJ.C0,RootCF*cf(0,-0.3,-0.05 + 0.15 * math.cos(sne / 8.5))*angles(math.rad(11 - 6 * math.sin(sne / 8.5)),math.rad(0 + RootPart.RotVelocity.Y*1.5),math.rad(0 - RootPart.RotVelocity.Y - 1 * math.cos(sne / 17))),.1)
4667
Torso.Neck.C0=clerp(Torso.Neck.C0,neckcf*angles(math.rad(-6 + 2 * math.cos(sne / 17)),math.rad(0 + RootPart.RotVelocity.Y*1.5),math.rad(0 - Head.RotVelocity.Y*1.5 + 1 * math.cos(sne / 17))),.1)
4668
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(50 * math.cos(sne / 17)),math.rad(-1),math.rad(7 + 4 * math.cos(sne / 17))),.1)
4669
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50 * math.cos(sne / 17)),math.rad(1),math.rad(-7 - 4 * math.cos(sne / 17))),.1)
4670
-- RightS.C0 = clerp2(RightS.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0 - 50 * math.cos(sne / 16)), RAD(0), RAD(12 + 3 *math.cos(sne /16))) * CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), 0.15 / 3)
4671
-- LeftS.C0 = clerp2(LeftS.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0 + 50 * math.cos(sne / 16)), RAD(0), RAD(-12 - 3 * math.cos(sne / 16))) * CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)), 0.15 / 3)
4672
	elseif Chill == true then
4673
			RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),-0.2)*angles(math.rad(-40),math.rad(90),math.rad(0)),.1)
4674
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),-0.3)*angles(math.rad(-40),math.rad(-90),math.rad(0)),.1)
4675
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 29),0 + 0.125 * math.cos(sine / 34),0.123 + 0.25 * math.cos(sine / 28))*angles(math.rad(60),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.05)
4676
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-35 + 2.5 * math.cos(sine / 41)),math.rad(0 + 1 * math.cos(sine / 57)),math.rad(0)),.1)
4677
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(-50 - 0.3 * math.cos(sine / 43)),math.rad(-15 - 2 * math.cos(sine / 52)),math.rad(19 + 0.9 * math.cos(sine / 45))),.1)
4678
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(-50 - 0.2 * math.cos(sine / 51)),math.rad(15 - 4 * math.cos(sine / 64)),math.rad(-19 - 0.2 * math.cos(sine / 45))),.1)
4679
		end
4680
end
4681
elseif TorsoVelocity>=22 and hitfloor~=nil then
4682
ANIMATIONATION="Run"
4683
if attacking==false then
4684
		if Chill ~= true then
4685
	if turboli2 == 12 then
4686
		turboli2 = 0
4687
coroutine.resume(coroutine.create(function()
4688
		if Mode == "LS" then
4689
	local turbo2 = ToothpasteArrow:Clone()
4690
	turbo2.Parent = char
4691
    turbo2.Anchored = true
4692
	turbo2.CanCollide = false
4693
	turbo2.CFrame = root.CFrame*cf(0,1.5,2.65)*angles(math.rad(146),math.rad(-180),math.rad(90))
4694
	turbo2.Transparency = 0.3
4695
swait(120)
4696
repeat
4697
turbo2.Transparency = turbo2.Transparency + 0.01
4698
swait()
4699
until turbo2.Transparency == 0 or turbo2.Transparency > 0.99
4700
game:GetService("Debris"):AddItem(turbo2, 4)	
4701
end
4702
end))
4703
	end
4704
		if Mode == "R" then
4705
		sphereMK(2.5,-1,"Add",RootPart.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),-8)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),0.5,0.5,10,-0.005,BrickColor.new("Institutional white"),0)	
4706
		end
4707
	turboli2 = turboli2 + 2
4708
RightH.C0=clerp(RightH.C0,cf(1,-1 - 0.15 * math.cos(sne / 6),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 - 76 * math.cos(sne / 6))),.1)
4709
LeftH.C0=clerp(LeftH.C0,cf(-1,-1 - 0.15 * math.cos(sne / 6),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 - 76 * math.cos(sne / 6))),.1)
4710
RootJ.C0=clerp(RootJ.C0,RootCF*cf(0,-0.3,-0.05 + 0.15 * math.sin(sne / 3))*angles(math.rad(26 - 6 * math.cos(sne / 3)),math.rad(0 + RootPart.RotVelocity.Y*1.5),math.rad(0 - RootPart.RotVelocity.Y - 1 * math.cos(sne / 23))),.1)
4711
Torso.Neck.C0=clerp(Torso.Neck.C0,neckcf*angles(math.rad(-6 + 2 * math.cos(sne / 6)),math.rad(0 + RootPart.RotVelocity.Y*1.5),math.rad(0 - Head.RotVelocity.Y*1.5 + 1 * math.cos(sne / 6))),.1)
4712
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10+90 * math.cos(sne / 6)),math.rad(-1),math.rad(7 + 4 * math.cos(sne / 6))),.1)
4713
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10-90 * math.cos(sne / 6)),math.rad(1),math.rad(-7 - 4 * math.cos(sne / 6))),.1)
4714
	elseif Chill == true then--Mode == "A" then --originally was solar mode
4715
			RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),-0.2)*angles(math.rad(-40),math.rad(90),math.rad(0)),.1)
4716
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),-0.3)*angles(math.rad(-40),math.rad(-90),math.rad(0)),.1)
4717
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 29),0 + 0.125 * math.cos(sine / 34),0.115 + 0.25 * math.cos(sine / 28))*angles(math.rad(60),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.05)
4718
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-35 + 2.5 * math.cos(sine / 41)),math.rad(0 + 1 * math.cos(sine / 57)),math.rad(0)),.1)
4719
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(-50 - 0.3 * math.cos(sine / 43)),math.rad(-15 - 2 * math.cos(sine / 52)),math.rad(19 + 0.9 * math.cos(sine / 45))),.1)
4720
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(-50 - 0.2 * math.cos(sine / 51)),math.rad(15 - 4 * math.cos(sine / 64)),math.rad(-19 - 0.2 * math.cos(sine / 45))),.1)
4721
		end
4722
end
4723
end
4724
end