View difference between Paste ID: Tbu3uNvY and Rieqp050
SHOW: | | - or go back to the newest paste.
1
if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");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("Complete! Running...")
141
wait(2)
142
143
local p = game:GetService("Players").LocalPlayer
144
local plr = game:GetService("Players").LocalPlayer
145
local player = game:GetService("Players").LocalPlayer
146
local char = p.Character
147
local mouse = p:GetMouse()
148
local larm = char:WaitForChild("Left Arm")
149
local rarm = char:WaitForChild("Right Arm")
150
local lleg = char:WaitForChild("Left Leg")
151
local rleg = char:WaitForChild("Right Leg")
152
local hed = char:WaitForChild("Head")
153
local torso = char:WaitForChild("Torso")
154
local root = char:WaitForChild("HumanoidRootPart")
155
local hum = char:FindFirstChildOfClass("Humanoid")
156
local debris = game:GetService("Debris")
157
local run = game:GetService("RunService")
158
local rs = run.RenderStepped
159
local cam = workspace.CurrentCamera
160
local movement = 4
161
local change = 0.4
162
local DebrisModel = Instance.new("Model",char)
163
local stealth = false
164
local debounce = false
165
-------------------------------------------------------
166
local Player_Size = 4
167
if Player_Size ~= 4 then
168
root.Size = root.Size * Player_Size
169
torso.Size = torso.Size * Player_Size
170
hed.Size = hed.Size * Player_Size
171
rarm.Size = rarm.Size * Player_Size
172
larm.Size = larm.Size * Player_Size
173
rleg.Size = rleg.Size * Player_Size
174
lleg.Size = lleg.Size * Player_Size
175
end
176
----------------------------------------------------------------------------------
177
it = Instance.new
178
hum.MaxHealth = 500000000000000000000000000000000000000000000000
179
hum.Health = hum.MaxHealth
180
themeid = 0
181
themepitch = 1
182
TorsoColor = torso.BrickColor
183
RightLeg = CFrame.new(0.5,-1,0)
184
	LeftLeg = CFrame.new(-0.5,-1,0)
185
RunService = game:service'RunService'
186
	lefth = (torso.CFrame*LeftLeg)
187
	righth = (torso.CFrame*RightLeg)
188
speed = Vector3.new(torso.Velocity.X,0,torso.Velocity.Z)
189
local Lighty = game:GetService"Lighting"
190
EffectModel = Instance.new("Model", char)
191
Effects = {
192
  Block = {
193
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
194
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
195
      prt.Anchored = true
196
      prt.CFrame = cframe
197
      local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
198
      game:GetService("Debris"):AddItem(prt, 10)
199
      if Type == 1 or Type == nil then
200
        table.insert(Effects, {
201
          prt,
202
          "Block1",
203
          delay,
204
          x3,
205
          y3,
206
          z3,
207
          msh
208
        })
209
      elseif Type == 2 then
210
        table.insert(Effects, {
211
          prt,
212
          "Block2",
213
          delay,
214
          x3,
215
          y3,
216
          z3,
217
          msh
218
        })
219
      else
220
        table.insert(Effects, {
221
          prt,
222
          "Block3",
223
          delay,
224
          x3,
225
          y3,
226
          z3,
227
          msh
228
        })
229
      end
230
    end
231
  },
232
  Sphere = {
233
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
234
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
235
      prt.Anchored = true
236
      prt.CFrame = cframe
237
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
238
      game:GetService("Debris"):AddItem(prt, 10)
239
      table.insert(Effects, {
240
        prt,
241
        "Cylinder",
242
        delay,
243
        x3,
244
        y3,
245
        z3,
246
        msh
247
      })
248
    end
249
  },
250
  Cylinder = {
251
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
252
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
253
      prt.Anchored = true
254
      prt.CFrame = cframe
255
      local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
256
      game:GetService("Debris"):AddItem(prt, 10)
257
      table.insert(Effects, {
258
        prt,
259
        "Cylinder",
260
        delay,
261
        x3,
262
        y3,
263
        z3,
264
        msh
265
      })
266
    end
267
  },
268
  Wave = {
269
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
270
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
271
      prt.Anchored = true
272
      prt.CFrame = cframe
273
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
274
      game:GetService("Debris"):AddItem(prt, 10)
275
      table.insert(Effects, {
276
        prt,
277
        "Cylinder",
278
        delay,
279
        x3 / 60,
280
        y3 / 60,
281
        z3 / 60,
282
        msh
283
      })
284
    end
285
  },
286
  Ring = {
287
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
288
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
289
      prt.Anchored = true
290
      prt.CFrame = cframe
291
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
292
      game:GetService("Debris"):AddItem(prt, 10)
293
      table.insert(Effects, {
294
        prt,
295
        "Cylinder",
296
        delay,
297
        x3,
298
        y3,
299
        z3,
300
        msh
301
      })
302
    end
303
  },
304
  Break = {
305
    Create = function(brickcolor, cframe, x1, y1, z1)
306
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
307
      prt.Anchored = true
308
      prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
309
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
310
      local num = math.random(10, 50) / 1000
311
      game:GetService("Debris"):AddItem(prt, 10)
312
      table.insert(Effects, {
313
        prt,
314
        "Shatter",
315
        num,
316
        prt.CFrame,
317
        math.random() - math.random(),
318
        0,
319
        math.random(50, 100) / 100
320
      })
321
    end
322
  },
323
Spiral = {
324
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
325
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
326
      prt.Anchored = true
327
      prt.CFrame = cframe
328
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
329
      game:GetService("Debris"):AddItem(prt, 10)
330
      table.insert(Effects, {
331
        prt,
332
        "Cylinder",
333
        delay,
334
        x3,
335
        y3,
336
        z3,
337
        msh
338
      })
339
    end
340
  },
341
Push = {
342
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
343
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
344
      prt.Anchored = true
345
      prt.CFrame = cframe
346
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
347
      game:GetService("Debris"):AddItem(prt, 10)
348
      table.insert(Effects, {
349
        prt,
350
        "Cylinder",
351
        delay,
352
        x3,
353
        y3,
354
        z3,
355
        msh
356
      })
357
    end
358
  }
359
}
360
local NeckS = Instance.new("Part",char)
361
NeckS.Size = Vector3.new(1.2,1,1.2)
362
NeckS.Material = "SmoothPlastic"
363
NeckS.BrickColor = BrickColor.new("Bright yellow")
364
NeckS.CanCollide = false
365
local Neck3 = Instance.new("Weld",NeckS)
366
Neck3.Part0 = larm
367
Neck3.Part1 = NeckS
368
Neck3.C0 = CFrame.new(0,-0.62,0)*CFrame.Angles(math.rad(0),math.rad(-180),math.rad(0))
369
local Black = Instance.new("Part",NeckS)--First Stone, Yellow
370
Black.Size = Vector3.new(0.3,0.3,0.3)
371
Black.Material = "Neon"
372
Black.BrickColor = BrickColor.new("New Yeller")
373
Black.CanCollide = false
374
local BlackM = Instance.new("SpecialMesh",Black)
375
BlackM.MeshType = 3
376
local Black1 = Instance.new("Weld",Black)
377
Black1.Part0 = NeckS
378
Black1.Part1 = Black
379
Black1.C0 = CFrame.new(0.54,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
380
local Stone2 = Instance.new("Part",NeckS)--First Circle
381
Stone2.Size = Vector3.new(0.2,0.2,0.2)
382
Stone2.Material = "Neon"
383
Stone2.BrickColor = BrickColor.new("Magenta")
384
Stone2.CanCollide = false
385
local Stone22 = Instance.new("SpecialMesh",Stone2)
386
Stone22.MeshType = 3
387
local Stone222 = Instance.new("Weld",Stone2)
388
Stone222.Part0 = NeckS
389
Stone222.Part1 = Stone2
390
Stone222.C0 = CFrame.new(0.23,-0.47,0.4)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
391
local Stone3 = Instance.new("Part",NeckS)--First Circle
392
Stone3.Size = Vector3.new(0.2,0.2,0.2)
393
Stone3.Material = "Neon"
394
Stone3.BrickColor = BrickColor.new("Lapis")
395
Stone3.CanCollide = false
396
local Stone33 = Instance.new("SpecialMesh",Stone3)
397
Stone33.MeshType = 3
398
local Stone333 = Instance.new("Weld",Stone3)
399
Stone333.Part0 = NeckS
400
Stone333.Part1 = Stone3
401
Stone333.C0 = CFrame.new(0.23,-0.47,0.08)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
402
local Stone4 = Instance.new("Part",NeckS)--First Circle
403
Stone4.Size = Vector3.new(0.2,0.2,0.2)
404
Stone4.Material = "Neon"
405
Stone4.BrickColor = BrickColor.new("Really red")
406
Stone4.CanCollide = false
407
local Stone44 = Instance.new("SpecialMesh",Stone4)
408
Stone44.MeshType = 3
409
local Stone444 = Instance.new("Weld",Stone4)
410
Stone444.Part0 = NeckS
411
Stone444.Part1 = Stone4
412
Stone444.C0 = CFrame.new(0.23,-0.47,-0.2)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
413
local Stone5 = Instance.new("Part",NeckS)--First Circle
414
Stone5.Size = Vector3.new(0.2,0.2,0.2)
415
Stone5.Material = "Neon"
416
Stone5.BrickColor = BrickColor.new("CGA brown")
417
Stone5.CanCollide = false
418
local Stone55 = Instance.new("SpecialMesh",Stone5)
419
Stone55.MeshType = 3
420
local Stone555 = Instance.new("Weld",Stone5)
421
Stone555.Part0 = NeckS
422
Stone555.Part1 = Stone5
423
Stone555.C0 = CFrame.new(0.23,-0.47,-0.5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
424
425
local Stone6 = Instance.new("Part",NeckS)--First Circle
426
Stone6.Size = Vector3.new(0.2,0.2,0.2)
427
Stone6.Material = "Neon"
428
Stone6.BrickColor = BrickColor.new("Lime green")
429
Stone6.CanCollide = false
430
local Stone66 = Instance.new("SpecialMesh",Stone6)
431
Stone66.MeshType = 3
432
local Stone666 = Instance.new("Weld",Stone6)
433
Stone666.Part0 = NeckS
434
Stone666.Part1 = Stone6
435
Stone666.C0 = CFrame.new(0,-0.3,0.6)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
436
437
local Grab = Instance.new("Part",hed)
438
	Grab.Size = Vector3.new(4.9,5,4.9)
439
	Grab.CanCollide = false
440
	Grab.BrickColor = BrickColor.new("Deep orange")
441
	Grab.Transparency = 1
442
	local Grabo = Instance.new("Weld",Grab)
443
	Grabo.Part0 = hed
444
	Grabo.Part1 = Grab
445
	Grabo.C0 = CFrame.new(0,-1.5,0)
446
	
447
local AuraB = Instance.new("Part",hed)
448
	AuraB.Size = Vector3.new(2,1,2)
449
	AuraB.CanCollide = false
450
	AuraB.BrickColor = BrickColor.new("Deep orange")
451
	AuraB.Transparency = 1
452
	local AuraBo = Instance.new("Weld",AuraB)
453
	AuraBo.Part0 = hed
454
	AuraBo.Part1 = AuraB
455
	AuraBo.C0 = CFrame.new(0,-3.6,0)
456
	
457
	local FZcharge3 = Instance.new("ParticleEmitter",Grab)
458
FZcharge3.Texture = "rbxassetid://249481494"
459
FZcharge3.Color = ColorSequence.new(Color3.fromRGB(0, 0, 255))
460
FZcharge3.EmissionDirection = "Top"
461
FZcharge3.Speed = NumberRange.new(8)
462
FZcharge3.Size = NumberSequence.new(8,0)
463
FZcharge3.Transparency = NumberSequence.new(0,1)
464
FZcharge3.Drag = 1.2
465
FZcharge3.LockedToPart = true
466
FZcharge3.Lifetime = NumberRange.new(1)
467
FZcharge3.Rate = 195
468
FZcharge3.LightEmission = 0
469
FZcharge3.Rotation = NumberRange.new(-360,360)
470
FZcharge3.VelocitySpread = 100.2	
471
FZcharge3.ZOffset = 2.5
472
hed:FindFirstChildOfClass("Decal").Texture = "rbxassetid://254640655"
473
wait(0.001)
474
	hed:FindFirstChildOfClass("Decal").Texture = "rbxassetid://"
475
for i,v in pairs(char:GetChildren()) do
476
if v ~= root then
477
if v:IsA("Part") then
478
v.Transparency = 1
479
elseif v:IsA("Accoutrement") then
480
v:FindFirstChildOfClass("Part").Transparency = 1
481
end
482
end
483
end
484
for i,v in pairs(NeckS:GetChildren()) do
485
if v ~= root then
486
if v:IsA("Part") then
487
v.Transparency = 1
488
elseif v:IsA("Accoutrement") then
489
v:FindFirstChildOfClass("Part").Transparency = 1
490
end
491
end
492
end
493
wait(5)	
494
FZcharge3.Rate = 0
495
for i,v in pairs(char:GetChildren()) do
496
if v ~= root then
497
if v:IsA("Part") then
498
v.Transparency = 0
499
elseif v:IsA("Accoutrement") then
500
v:FindFirstChildOfClass("Part").Transparency = 0
501
end
502
end
503
end
504
for i,v in pairs(NeckS:GetChildren()) do
505
if v ~= root then
506
if v:IsA("Part") then
507
v.Transparency = 0
508
elseif v:IsA("Accoutrement") then
509
v:FindFirstChildOfClass("Part").Transparency = 0
510
end
511
end
512
end
513
hed:FindFirstChildOfClass("Decal").Texture = "rbxassetid://254640655"
514
local SFXZ = Instance.new("Sound",torso)
515
			SFXZ.SoundId = "rbxassetid://915686003"
516
			SFXZ.Volume = 3
517
			SFXZ.Pitch = 1
518
			SFXZ.Looped = false
519
			wait(0.01)
520
			SFXZ:Play()
521
nooutline = function(part)
522
  part.TopSurface = 10
523
end
524
local Mode = false
525
part = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
526
  local fp = it("Part")
527
  fp.formFactor = formfactor
528
  fp.Parent = parent
529
  fp.Reflectance = reflectance
530
  fp.Transparency = transparency
531
  fp.CanCollide = false
532
  fp.Locked = true
533
  fp.BrickColor = BrickColor.new(tostring(brickcolor))
534
  fp.Name = name
535
  fp.Size = size
536
  fp.Position = char.Torso.Position
537
  nooutline(fp)
538
  fp.Material = material
539
  fp:BreakJoints()
540
  return fp
541
end
542
543
mesh = function(Mesh, part, meshtype, meshid, offset, scale)
544
  local mesh = it(Mesh)
545
  mesh.Parent = part
546
  if Mesh == "SpecialMesh" then
547
    mesh.MeshType = meshtype
548
    mesh.MeshId = meshid
549
  end
550
  mesh.Offset = offset
551
  mesh.Scale = scale
552
  return mesh
553
end
554
555
weld = function(parent, part0, part1, c0, c1)
556
  local weld = it("Weld")
557
  weld.Parent = parent
558
  weld.Part0 = part0
559
  weld.Part1 = part1
560
  weld.C0 = c0
561
  weld.C1 = c1
562
  return weld
563
end
564
local Create = LoadLibrary("RbxUtility").Create
565
ArtificialHB = Create("BindableEvent", script){
566
	Parent = script,
567
	Name = "Heartbeat",
568
}
569
570
function RemoveOutlines(part)
571
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
572
end
573
CFuncs = {	
574
	Part = {
575
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
576
			local Part = Create("Part"){
577
				Parent = Parent,
578
				Reflectance = Reflectance,
579
				Transparency = Transparency,
580
				CanCollide = false,
581
				Locked = true,
582
				BrickColor = BrickColor.new(tostring(BColor)),
583
				Name = Name,
584
				Size = Size,
585
				Material = Material,
586
			}
587
			RemoveOutlines(Part)
588
			return Part
589
		end;
590
	};
591
	
592
	Mesh = {
593
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
594
			local Msh = Create(Mesh){
595
				Parent = Part,
596
				Offset = OffSet,
597
				Scale = Scale,
598
			}
599
			if Mesh == "SpecialMesh" then
600
				Msh.MeshType = MeshType
601
				Msh.MeshId = MeshId
602
			end
603
			return Msh
604
		end;
605
	};
606
607
	Weld = {
608
		Create = function(Parent, Part0, Part1, C0, C1)
609
			local Weld = Create("Weld"){
610
				Parent = Parent,
611
				Part0 = Part0,
612
				Part1 = Part1,
613
				C0 = C0,
614
				C1 = C1,
615
			}
616
			return Weld
617
		end;
618
	};
619
620
	Sound = {
621
		Create = function(id, par, vol, pit) 
622
			local Sound = Create("Sound"){
623
				Volume = vol,
624
				Pitch = pit or 1,
625
				SoundId = "rbxassetid://" .. id,
626
				Parent = par or workspace,
627
			}
628
			Sound:play() 
629
			return Sound
630
		end;
631
	};
632
	
633
	Decal = {
634
		Create = function(Color, Texture, Transparency, Name, Parent)
635
			local Decal = Create("Decal"){
636
				Color3 = Color,
637
				Texture = "rbxassetid://" .. Texture,
638
				Transparency = Transparency,
639
				Name = Name,
640
				Parent = Parent,
641
			}
642
			return Decal
643
		end;
644
	};
645
	
646
	BillboardGui = {
647
		Create = function(Parent, Image, Position, Size)
648
			local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
649
			BillPar.CFrame = CFrame.new(Position)
650
			local Bill = Create("BillboardGui"){
651
				Parent = BillPar,
652
				Adornee = BillPar,
653
				Size = UDim2.new(1, 0, 1, 0),
654
				SizeOffset = Vector2.new(Size, Size),
655
			}
656
			local d = Create("ImageLabel", Bill){
657
				Parent = Bill,
658
				BackgroundTransparency = 1,
659
				Size = UDim2.new(1, 0, 1, 0),
660
				Image = "rbxassetid://" .. Image,
661
			}
662
			return BillPar
663
		end
664
	};
665
	
666
	ParticleEmitter = {
667
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
668
			local Particle = Create("ParticleEmitter"){
669
				Parent = Parent,
670
				Color = ColorSequence.new(Color1, Color2),
671
				LightEmission = LightEmission,
672
				Size = Size,
673
				Texture = Texture,
674
				Transparency = Transparency,
675
				ZOffset = ZOffset,
676
				Acceleration = Accel,
677
				Drag = Drag,
678
				LockedToPart = LockedToPart,
679
				VelocityInheritance = VelocityInheritance,
680
				EmissionDirection = EmissionDirection,
681
				Enabled = Enabled,
682
				Lifetime = LifeTime,
683
				Rate = Rate,
684
				Rotation = Rotation,
685
				RotSpeed = RotSpeed,
686
				Speed = Speed,
687
				VelocitySpread = VelocitySpread,
688
			}
689
			return Particle
690
		end;
691
	};
692
	
693
	CreateTemplate = {
694
		
695
	};
696
}
697
NewInstance = function(instance,parent,properties)
698
	local inst = Instance.new(instance)
699
	inst.Parent = parent
700
	if(properties)then
701
		for i,v in next, properties do
702
			pcall(function() inst[i] = v end)
703
		end
704
	end
705
	return inst;
706
end
707
708
function rayCast(Position, Direction, Range, Ignore)
709
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) 
710
end 
711
local m = Create("Model"){
712
	Parent = char,
713
	Name = "WeaponModel",
714
}
715
HandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright yellow", "HandleL", Vector3.new(0.403949469, 0.000020112, 0.425030977))
716
HandleLWeld = CFuncs.Weld.Create(m, char["Left Arm"], HandleL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.637853563, -0.00000000000, 0.00182324648, 0, -1, 0, 1, 0, 0, 0, -0, 1))
717
HitboxL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright yellow", "HitboxL", Vector3.new(1.00394952, 0.05222011, 1.02503109))
718
HitboxLWeld = CFuncs.Weld.Create(m, HandleL, HitboxL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0999999642, 3.81469727e-006, 5.96046448e-008, 1, 0, 0, 0, 1, 0, 0, 0, 1))
719
Part = CFuncs.Part.Create(m, Enum.Material.Metal, 0, 0, "Gold", "Part", Vector3.new(0.401974738, 1.08532834, 0.40197292))
720
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.098050952, 0.00573730469, 0.171247482, 1, 0, 0, 0, 0, -1, 0, 1, 0))
721
CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
722
Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
723
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.335890889, -0.251642227, 0.414461493, 0, 0, -1, 0, -1, -0, -1, 0, -0))
724
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.779882133, 0.77987963, 0.292454481))
725
Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part", Vector3.new(0, 0, 0))
726
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.171247482, -0.548431277, 0.098050952, 0, 1, 0, 0, 0, 1, 1, 0, 0))
727
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.194969907, 1))
728
Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part", Vector3.new(0.281382293, 0.206172079, 0.281381041))
729
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.171247482, 0.536894917, 0.098050952, 0, 1, 0, 0, 0, 1, 1, 0, 0))
730
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.194969907, 1))
731
Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
732
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00573730469, -0.251634598, 0.414469123, 0, 0, -1, 0, -1, -0, -1, 0, -0))
733
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.779882133, 0.77987963, 0.292454481))
734
Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
735
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.52296257, -0.166549563, 0.881902456, 0, 1, 0, 0, 0, 1, 1, 0, 0))
736
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.292455852, 0.389939725, 0.389939249))
737
Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
738
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.502866745, -0.447936893, 0.208598971, 0, 1, 0, 0, 0, 1, 1, 0, 0))
739
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.292455852, 0.974849463, 0.877363384))
740
Part = CFuncs.Part.Create(m, Enum.Material.Metal, 0, 0, "Gold", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
741
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.335906148, -0.251642227, 0.404413581, 0, 0, -1, 0, -1, -0, -1, 0, -0))
742
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.974852681, 0.974849463, 0.194969654))
743
Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
744
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.5229702, -0.155028343, 0.881904364, 0, -1, -0, 0, 0, -1, 1, 0, 0))
745
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.292455852, 0.389939725, 0.389939249))
746
Part = CFuncs.Part.Create(m, Enum.Material.Metal, 0, 0, "Gold", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
747
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00573730469, -0.251642227, 0.404413581, 0, 0, -1, 0, -1, -0, -1, 0, -0))
748
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.974852681, 0.974849463, 0.194969654))
749
Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part", Vector3.new(1.01297641, 0.562762797, 0.361775607))
750
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00271511078, -0.231538773, 0.72112453, 0, 0, 1, 0, -1, -0, 1, 0, 0))
751
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
752
Part = CFuncs.Part.Create(m, Enum.Material.Metal, 0, 0, "Gold", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
753
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.347427249, -0.251642227, 0.404413581, 0, 0, -1, 0, -1, -0, -1, 0, -0))
754
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.974852681, 0.974849463, 0.194969654))
755
Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
756
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.50287056, -0.436416715, 0.208604693, 0, -1, -0, 0, 0, -1, 1, 0, 0))
757
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.292455852, 0.974849463, 0.877363384))
758
Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(1.0853318, 0.206172079, 0.261282384))
759
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00573730469, -0.0196914673, -0.273781061, 0, 0, -1, 0, 1, 0, 1, 0, 0))
760
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.292454839, 1))
761
Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
762
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.347427249, -0.251634598, 0.414469123, 0, 0, -1, 0, -1, -0, -1, 0, -0))
763
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.779882133, 0.77987963, 0.292454481))
764
Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.683354914, 0.254247904))
765
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.638334274, 0.120502472, -0.377624631, 0.866025984, 0.499998987, 0, 0.499998987, -0.866025984, 0, 0, 0, -1))
766
CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389941067, 1, 1))
767
Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.683354914, 0.254247904))
768
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.516500473, 0.0501613617, -0.377654195, 0.866025984, 0.499998987, 0, 0.499998987, -0.866025984, 0, 0, 0, -1))
769
CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389941067, 1, 1))
770
Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.683354914, 0.254247904))
771
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.39466095, -0.0201816559, -0.377624631, 0.866025984, 0.499998987, 0, 0.499998987, -0.866025984, 0, 0, 0, -1))
772
CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389941067, 1, 1))
773
Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part2", Vector3.new(0.401974738, 0.572812021, 0.252237976))
774
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.339231372, -0.236558914, 0.383117557, 1, 0, 0, 0, -1, -0, 0, 0, -1))
775
Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part2", Vector3.new(0.803949475, 0.452220112, 1.02503097))
776
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.500019014, 0.275951385, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
777
Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part2", Vector3.new(0.401974738, 0.572812021, 0.258267611))
778
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.339231372, -0.236558914, -0.374602437, 1, 0, 0, 0, -1, -0, 0, 0, -1))
779
Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.683354914, 0.254247904))
780
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.63834095, 0.120515823, 0.384124637, 0.866025984, 0.499998987, 0, 0.499998987, -0.866025984, 0, 0, 0, -1))
781
CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389941067, 1, 1))
782
Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.562762797, 0.206172064))
783
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.364218116, -0.110958099, -0.496704191, 1, 0, 0, 0, -1, -0, 0, 0, -1))
784
CFuncs.Mesh.Create("CylinderMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969654))
785
Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.562762797, 0.206172064))
786
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.364216208, -0.11095047, 0.508239627, 1, 0, 0, 0, -1, -0, 0, 0, -1))
787
CFuncs.Mesh.Create("CylinderMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969654))
788
Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.206172079, 1.0049324))
789
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.374262214, 0.100086212, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
790
CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.0974852666, 0.682394505, 1))
791
Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.683354914, 0.254247904))
792
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.39466095, -0.0201721191, 0.384109378, 0.866025984, 0.499998987, 0, 0.499998987, -0.866025984, 0, 0, 0, -1))
793
CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389941067, 1, 1))
794
Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.683354914, 0.254247904))
795
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.516500473, 0.0501708984, 0.384094119, 0.866025984, 0.499998987, 0, 0.499998987, -0.866025984, 0, 0, 0, -1))
796
CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389941067, 1, 1))
797
Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part2", Vector3.new(0.663258314, 0.643157542, 1.04512966))
798
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0325930119, -0.151147842, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
799
Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
800
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.357483745, -0.5254879, -0.640716434, 0, 0, -1, 0, -1, -0, -1, 0, -0))
801
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.292455643, 0.121856183, 0.292453945))
802
Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.361777306, 0.206172079, 0.206172064))
803
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.062738657, -0.505384445, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
804
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.316826075, 0.779878199))
805
Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
806
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.35468328, -0.435037613, -0.335906148, 1, 0, 0, 0, -1, -0, 0, 0, -1))
807
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.492300361, 0.999220669, 0.38993907))
808
Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.643156648))
809
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.273779154, -0.50538826, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
810
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.292455524, 0.316826075, 1))
811
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
812
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.508239627, 0.364208579, 0.17042923, 0, 0, 1, -1, 0, -0, 0, -1, 0))
813
CFuncs.Mesh.Create("SpecialMesh", Part3, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 0.194969699, 0.194969684))
814
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 1.0049336, 0.206172064))
815
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.364208579, 0.00576782227, 0.17042923, -1, 0, -0, 0, 0, -1, 0, -1, -0))
816
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
817
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part3", Vector3.new(0.206172049, 0.663256168, 0.206172064))
818
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.508239627, 0.0325796604, 0.17042923, 0, 0, 1, -1, 0, -0, 0, -1, 0))
819
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
820
Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.80495441, 0.206172079, 0.206172064))
821
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.520616472, -0.525484085, 0.00572109222, 1, 0, 0, 0, -1, -0, 0, 0, -1))
822
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.316826075, 0.779878199))
823
Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
824
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.515432358, 0.00573730469, -0.120672107, 0, 1, 0, 0, 0, -1, -1, 0, 0))
825
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.414312303, 0.779879749, 0.414309978))
826
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part3", Vector3.new(0.206172049, 0.663256109, 0.206172064))
827
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.496704191, 0.0325872898, 0.17042923, 0, 0, 1, -1, 0, -0, 0, -1, 0))
828
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
829
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.502466798, 0.206172064))
830
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.255522728, -0.409584224, -0.512922287, 0, 0, 1, -1, 0, -0, 0, -1, 0))
831
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
832
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.462270945, 0.206172079, 0.206172064))
833
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.409576595, -0.502866745, 0.357467532, 1, 0, 0, 0, -1, -0, 0, 0, -1))
834
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.292454839, 0.877363086))
835
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.502466798, 0.206172064))
836
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.267042994, -0.40958041, -0.512926102, 0, 0, 1, -1, 0, -0, 0, -1, 0))
837
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
838
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.261283636, 0.462269485, 1.08532703))
839
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.273779154, -0.241586685, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
840
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
841
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.357467532, -0.522974014, -0.640716434, 0, 0, -1, 0, -1, -0, -1, 0, -0))
842
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.877367318, 0.0974849537, 0.877362907))
843
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.401973516, 0.206172064))
844
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.512922287, 0.00572109222, -0.118150592, 0, 1, 0, 0, 0, -1, -1, 0, 0))
845
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389940947, 1, 0.389938712))
846
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part3", Vector3.new(0.206172049, 0.442170709, 0.206172064))
847
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.508209109, -0.0779570341, -0.472719193, 0, 0, 1, -1, 0, -0, 0, -1, 0))
848
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
849
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.723554611, 0.206172079, 0.40197283))
850
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.479927242, -0.512914658, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
851
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.389939815, 1))
852
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
853
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.496718496, 0.364208579, 0.17042923, 0, 0, 1, -1, 0, -0, 0, -1, 0))
854
CFuncs.Mesh.Create("SpecialMesh", Part3, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 0.194969699, 0.194969684))
855
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
856
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.345976949, -0.52296257, -0.640722156, 0, 0, -1, 0, -1, -0, -1, 0, -0))
857
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.877367318, 0.0974849537, 0.877362907))
858
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part3", Vector3.new(0.206172049, 0.442170709, 0.206172064))
859
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.496718496, -0.0779646635, -0.472719193, 0, 0, 1, -1, 0, -0, 0, -1, 0))
860
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
861
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.502466798, 0.206172064))
862
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.436416715, -0.40958041, -0.512926102, 0, 0, 1, -1, 0, -0, 0, -1, 0))
863
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
864
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.206172079, 0.683353961))
865
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.208598971, -0.502866745, 0.00576782227, 1, 0, 0, 0, -1, -0, 0, 0, -1))
866
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.877367556, 0.292454839, 1))
867
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.206172079, 0.241183683))
868
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.881908178, -0.512926102, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
869
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389940947, 0.389939815, 1))
870
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.522567213, 0.206172079, 1.08532703))
871
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.143131495, -0.502866745, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
872
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.292454839, 1))
873
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.502466798, 0.206172064))
874
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.447936893, -0.409574687, -0.512914658, 0, 0, 1, -1, 0, -0, 0, -1, 0))
875
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
876
Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.944640577, 0.206172079, 0.206172064))
877
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.168390095, -0.50538826, 0.357513309, 1, 0, 0, 0, -1, -0, 0, 0, -1))
878
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.316826075, 0.292454064))
879
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.462270945, 0.206172079, 0.206172064))
880
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.40957278, -0.502866745, -0.345976949, 1, 0, 0, 0, -1, -0, 0, 0, -1))
881
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.292454839, 0.877363086))
882
Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
883
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.354666114, -0.435037613, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
884
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.492300361, 0.999220669, 0.38993907))
885
Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.944640577, 0.206172079, 0.206172064))
886
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.168390095, -0.50538826, -0.345976949, 1, 0, 0, 0, -1, -0, 0, 0, -1))
887
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.316826075, 0.292454064))
888
Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
889
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.35468328, -0.435037613, 0.347427249, 1, 0, 0, 0, -1, -0, 0, 0, -1))
890
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.492300361, 0.999220669, 0.38993907))
891
Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
892
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.345976949, -0.525484085, -0.640727878, 0, 0, -1, 0, -1, -0, -1, 0, -0))
893
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.292455643, 0.121856183, 0.292453945))
894
Part4 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part4", Vector3.new(1.04513443, 0.206172079, 0.206172064))
895
Part4Weld = CFuncs.Weld.Create(m, HandleL, Part4, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00573730469, -0.120185852, 0.349273562, 0, 0, -1, 0, 1, 0, 1, 0, 0))
896
CFuncs.Mesh.Create("SpecialMesh", Part4, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.487424731, 0.487424105))
897
Part5 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part5", Vector3.new(1.04513443, 0.206172079, 0.206172064))
898
Part5Weld = CFuncs.Weld.Create(m, HandleL, Part5, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00573730469, -0.42247963, 0.349279284, 0, 0, 1, 0, -1, -0, 1, 0, 0))
899
CFuncs.Mesh.Create("SpecialMesh", Part5, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.487424731, 0.487424105))
900
Part6 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part6", Vector3.new(0.206172049, 0.442170829, 1.04512966))
901
Part6Weld = CFuncs.Weld.Create(m, HandleL, Part6, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.349294543, -0.151140213, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
902
CFuncs.Mesh.Create("BlockMesh", Part6, "", "", Vector3.new(0, 0, 0), Vector3.new(0.48742649, 1, 1))
903
sref = CFuncs.Part.Create(char, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
904
sref.Anchored = true
905
906
ACOS = math.acos
907
  ang = CFrame.Angles
908
SIN = math.sin
909
cf = CFrame.new
910
COS = math.cos
911
  rd = math.rad
912
  rd2 = math.random
913
 Heartbeat = Instance.new("BindableEvent")
914
  Heartbeat.Name = "Heartbeat"
915
  Heartbeat.Parent = script
916
local LeftShoulder = torso["Left Shoulder"] 
917
local Left_Hip = torso["Left Hip"] 
918
local RightShoulder = torso["Right Shoulder"] 
919
local Right_Hip = torso["Right Hip"] 
920
921
 RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
922
  RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
923
  LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
924
  LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
925
  RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
926
  RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
927
  LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
928
  LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
929
  NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
930
  NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
931
  RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
932
  RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
933
  RS = torso:FindFirstChild("Right Shoulder")
934
  LS = torso:FindFirstChild("Left Shoulder")
935
  RH = torso:FindFirstChild("Right Hip")
936
  LH = torso:FindFirstChild("Left Hip")
937
  RJ = root:FindFirstChild("RootJoint")
938
  N = torso:FindFirstChild("Neck")
939
940
941
local UltimateBattle = Instance.new("Sound",hed)
942
		UltimateBattle.SoundId = "rbxassetid://1333021608"
943
		UltimateBattle.Pitch = 1
944
		UltimateBattle.Looped = true
945
		UltimateBattle.Volume = 5
946
	UltimateBattle:Play()
947
		
948
		
949
		
950
		
951
952
		
953
	function QuaternionFromCFrame(cf)
954
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
955
	local trace = m00 + m11 + m22
956
	if trace > 0 then 
957
		local s = math.sqrt(1 + trace)
958
		local recip = 0.5 / s
959
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
960
	else
961
		local i = 0
962
		if m11 > m00 then
963
			i = 1
964
		end
965
		if m22 > (i == 0 and m00 or m11) then
966
			i = 2
967
		end
968
		if i == 0 then
969
			local s = math.sqrt(m00 - m11 - m22 + 1)
970
			local recip = 0.5 / s
971
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
972
		elseif i == 1 then
973
			local s = math.sqrt(m11 - m22 - m00 + 1)
974
			local recip = 0.5 / s
975
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
976
		elseif i == 2 then
977
			local s = math.sqrt(m22 - m00 - m11 + 1)
978
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
979
		end
980
	end
981
end
982
 
983
function QuaternionToCFrame(px, py, pz, x, y, z, w)
984
	local xs, ys, zs = x + x, y + y, z + z
985
	local wx, wy, wz = w * xs, w * ys, w * zs
986
	local xx = x * xs
987
	local xy = x * ys
988
	local xz = x * zs
989
	local yy = y * ys
990
	local yz = y * zs
991
	local zz = z * zs
992
	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))
993
end
994
 
995
function QuaternionSlerp(a, b, t)
996
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
997
	local startInterp, finishInterp;
998
	if cosTheta >= 0.0001 then
999
		if (1 - cosTheta) > 0.0001 then
1000
			local theta = ACOS(cosTheta)
1001
			local invSinTheta = 1 / SIN(theta)
1002
			startInterp = SIN((1 - t) * theta) * invSinTheta
1003
			finishInterp = SIN(t * theta) * invSinTheta
1004
		else
1005
			startInterp = 1 - t
1006
			finishInterp = t
1007
		end
1008
	else
1009
		if (1 + cosTheta) > 0.0001 then
1010
			local theta = ACOS(-cosTheta)
1011
			local invSinTheta = 1 / SIN(theta)
1012
			startInterp = SIN((t - 1) * theta) * invSinTheta
1013
			finishInterp = SIN(t * theta) * invSinTheta
1014
		else
1015
			startInterp = t - 1
1016
			finishInterp = t
1017
		end
1018
	end
1019
	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
1020
end
1021
1022
function Clerp(a, b, t)
1023
	local qa = {QuaternionFromCFrame(a)}
1024
	local qb = {QuaternionFromCFrame(b)}
1025
	local ax, ay, az = a.x, a.y, a.z
1026
	local bx, by, bz = b.x, b.y, b.z
1027
	local _t = 1 - t
1028
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
1029
end
1030
1031
main = {r = 0;g = 100;b = 255;v = 1}
1032
if p:FindFirstChild("rcolor") then main.r = p.rcolor.Value else local string = Instance.new("StringValue",p) string.Name = "rcolor" end
1033
if p:FindFirstChild("gcolor") then main.g = p.gcolor.Value else local string = Instance.new("StringValue",p) string.Name = "gcolor" end
1034
if p:FindFirstChild("bcolor") then main.b = p.bcolor.Value else local string = Instance.new("StringValue",p) string.Name = "bcolor" end
1035
if p:FindFirstChild("vcolor") then main.v = p.vcolor.Value else local string = Instance.new("StringValue",p) string.Name = "vcolor" end
1036
if p:FindFirstChild("idtheme") then themeid = p.idtheme.Value else local string = Instance.new("StringValue",p) string.Name = "idtheme" end
1037
if p:FindFirstChild("pitchtheme") then themepitch = p.pitchtheme.Value else local string = Instance.new("StringValue",p) string.Name = "pitchtheme" end
1038
pr = p:FindFirstChild("rcolor")
1039
pg = p:FindFirstChild("gcolor")
1040
pb = p:FindFirstChild("bcolor")
1041
pv = p:FindFirstChild("vcolor")
1042
idth = p:FindFirstChild("idtheme")
1043
pith = p:FindFirstChild("pitchtheme")
1044
main_color = Color3.fromRGB(main.r,main.g,main.b)
1045
explosionid = {144699494,144699494}
1046
punch = {545219984}
1047
--919941001
1048
Prefix = "/"
1049
p.Chatted:connect(function(msg)
1050
 
1051
    if msg:lower():sub(1,#Prefix+#'color r ')==Prefix..'color r ' then
1052
    local v = tonumber(msg:sub(#Prefix+#'color r '+1))
1053
    main.r = v
1054
    elseif msg:lower():sub(1,#Prefix+#'color g ')==Prefix..'color g ' then
1055
    local v = tonumber(msg:sub(#Prefix+#'color g '+1))
1056
    main.g = v
1057
    elseif msg:lower():sub(1,#Prefix+#'color b ')==Prefix..'color b ' then
1058
    local v = tonumber(msg:sub(#Prefix+#'color b '+1))
1059
    main.b = v
1060
    elseif msg:lower():sub(1,#Prefix+#'color v ')==Prefix..'color v ' then
1061
    local v = tonumber(msg:sub(#Prefix+#'color v '+1))
1062
    if v > 1 then main.v = 1 elseif v < -1 then main.v = -1 else main.v = v end
1063
1064
    elseif msg:lower():sub(1,#Prefix+#'theme ')==Prefix..'theme ' then
1065
    local v = tonumber(msg:sub(#Prefix+#'theme '+1))
1066
    themeid = v
1067
    music(themeid,themepitch)
1068
1069
    elseif msg:lower():sub(1,#Prefix+#'pitch ')==Prefix..'pitch ' then
1070
    local v = tonumber(msg:sub(#Prefix+#'pitch '+1))
1071
    themepitch = v
1072
    music(themeid,themepitch)
1073
1074
    elseif msg:lower():sub(1,#Prefix+#'prefix ')==Prefix..'prefix ' then
1075
    local v = msg:sub(#Prefix+#'prefix '+1)
1076
    Prefix = v
1077
 
1078
    elseif msg:lower():sub(1,#Prefix+#'reset')==Prefix..'reset' then
1079
    main.r = 0
1080
    main.g = 100
1081
    main.b = 255
1082
    main.v = 1
1083
    themeid = 556122490
1084
    themepitch = 1
1085
    music(themeid,themepitch)
1086
1087
    end
1088
1089
end)
1090
----------------------------------------------------------------------------
1091
no_anim = false
1092
attack = false
1093
attacking = false
1094
canjump = true
1095
aiming_anim = false
1096
animid = math.random(0,1)
1097
timer = 0
1098
bg = Instance.new("BodyGyro",root)
1099
bg.P = 100000
1100
bg.D = 100
1101
----------------------------------------------------------------------------
1102
 
1103
----
1104
function rswait(value)
1105
  if value ~= nil and value ~= 0 then
1106
    for i=1,value do
1107
     rs:wait()
1108
    end
1109
  else
1110
	rs:wait()
1111
  end
1112
end
1113
1114
----
1115
local maincolor = BrickColor.new("Really red")
1116
function Eviscerate(dude)
1117
	if dude.Name ~= char then
1118
	
1119
		local val = Instance.new("BoolValue", dude)
1120
		val.Name = "IsHit"
1121
		local ds = coroutine.wrap(function()
1122
			dude:BreakJoints()
1123
			wait(0)
1124
			local Vanish = Instance.new("Sound",dude)
1125
			Vanish.SoundId = "rbxassetid://427025525"
1126
			Vanish.Volume = 0.5
1127
			Vanish.Pitch = 0.6
1128
			Vanish.Looped = false
1129
			wait(0.01)
1130
			Vanish:Play()
1131
			coroutine.resume(coroutine.create(function()
1132
				for i, v in pairs(dude:GetChildren()) do
1133
					if v:IsA("Accessory") then
1134
						v:Destroy()
1135
					end
1136
					
1137
					if v:IsA("CharacterMesh") then
1138
						v:Destroy()
1139
					end
1140
					if v:IsA("Model") then
1141
						v:Destroy()
1142
					end
1143
					if v:IsA("Part") or v:IsA("MeshPart") then
1144
						for x, o in pairs(v:GetChildren()) do
1145
							if o:IsA("Decal") then
1146
								o:Destroy()
1147
							end
1148
						end
1149
						coroutine.resume(coroutine.create(function()
1150
							v.Material = "Grass"
1151
							v.CanCollide = false
1152
							
1153
			coroutine.resume(coroutine.create(function()
1154
			for i = 1,45 do
1155
			v.Transparency = v.Transparency + 0.04
1156
			wait(0.00000000001)
1157
			end
1158
			
1159
				
1160
			end))
1161
			
1162
						local Aura = Instance.new("ParticleEmitter",v)
1163
Aura.Texture = "rbxassetid://1084976679"
1164
Aura.Color = ColorSequence.new(BrickColor.new("Dirt brown").Color)
1165
Aura.EmissionDirection = "Top"
1166
Aura.Speed = NumberRange.new(0)
1167
Aura.Size = NumberSequence.new(2.5)
1168
Aura.Transparency = NumberSequence.new(0,1)
1169
Aura.Drag = 0.4
1170
Aura.LightInfluence = 0
1171
Aura.LockedToPart = true
1172
Aura.Lifetime = NumberRange.new(0.9)
1173
Aura.Rate = 260
1174
Aura.LightEmission = 1
1175
Aura.Rotation = NumberRange.new(-360,360)
1176
Aura.VelocitySpread = 0
1177
Aura.Acceleration = Vector3.new(0,10,0)	
1178
Aura.ZOffset = 0.2
1179
							local BodPoss = Instance.new("BodyPosition", v)
1180
							BodPoss.P = 3000
1181
							BodPoss.D = 1000
1182
							BodPoss.maxForce = Vector3.new(500, 5000, 500)
1183
							BodPoss.position = v.Position + Vector3.new(rd2(-2, 0), rd2(-0, 0), rd2(-0, 0))
1184
							v.BrickColor = BrickColor.new("Dirt brown")
1185
							
1186
								wait(1.3)
1187
								Aura.Enabled = false
1188
								wait(1.5)
1189
								v:Destroy()
1190
						
1191
								dude:Destroy()
1192
							end))
1193
						end
1194
					
1195
				end
1196
			end))
1197
		end)
1198
		ds()
1199
	end
1200
end
1201
function Snap(dude)
1202
	if dude.Name ~= char then
1203
		local bgf = Instance.new("BodyGyro", dude.Head)
1204
		bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(rd(-90), 0, 0)
1205
		local val = Instance.new("BoolValue", dude)
1206
		val.Name = "IsHit"
1207
		local ds = coroutine.wrap(function()
1208
			dude:BreakJoints()
1209
			wait(0)
1210
			
1211
			coroutine.resume(coroutine.create(function()
1212
				for i, v in pairs(dude:GetChildren()) do
1213
					if v:IsA("Accessory") then
1214
						v:Destroy()
1215
					end
1216
					
1217
					if v:IsA("CharacterMesh") then
1218
						v:Destroy()
1219
					end
1220
					if v:IsA("Model") then
1221
						v:Destroy()
1222
					end
1223
					if v:IsA("Part") or v:IsA("MeshPart") then
1224
						for x, o in pairs(v:GetChildren()) do
1225
							if o:IsA("Decal") then
1226
								o:Destroy()
1227
							end
1228
						end
1229
						coroutine.resume(coroutine.create(function()
1230
							
1231
							v.Material = "Neon"
1232
							local PartEmmit1 = Instance.new("ParticleEmitter", v)
1233
							PartEmmit1.LightEmission = 1
1234
							PartEmmit1.Texture = "rbxassetid://520049620"
1235
							PartEmmit1.Color = ColorSequence.new(maincolor.Color)
1236
							PartEmmit1.Rate = 150
1237
							PartEmmit1.Lifetime = NumberRange.new(1)
1238
							PartEmmit1.Size = NumberSequence.new({
1239
								NumberSequenceKeypoint.new(0, 0.75, 0),
1240
								NumberSequenceKeypoint.new(1, 0, 0)
1241
							})
1242
							PartEmmit1.Transparency = NumberSequence.new({
1243
								NumberSequenceKeypoint.new(0, 0, 0),
1244
								NumberSequenceKeypoint.new(1, 1, 0)
1245
							})
1246
							PartEmmit1.Speed = NumberRange.new(0, 0)
1247
							PartEmmit1.VelocitySpread = 30000
1248
							PartEmmit1.Rotation = NumberRange.new(-500, 500)
1249
							PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
1250
							local BodPoss = Instance.new("BodyPosition", v)
1251
							BodPoss.P = 3000
1252
							BodPoss.D = 1000
1253
							BodPoss.maxForce = Vector3.new(200000, 200000, 200000)
1254
							BodPoss.position = v.Position + Vector3.new(rd2(-1, 1), rd2(-1, 1), rd2(-1, 1))
1255
							v.BrickColor = BrickColor.new("Really red")
1256
							coroutine.resume(coroutine.create(function()
1257
								for i = 0, 49 do
1258
									swait(1)
1259
									
1260
								end
1261
								wait(0.5)
1262
								PartEmmit1.Enabled = false
1263
								wait(3)
1264
								v:Destroy()
1265
								dude:Destroy()
1266
							end))
1267
						end))
1268
					end
1269
				end
1270
			end))
1271
		end)
1272
		ds()
1273
	end
1274
end
1275
function Rock(stone)
1276
	if stone.Name ~= char then
1277
		
1278
		local val = Instance.new("BoolValue", stone)
1279
		val.Name = "IsHit"
1280
		local ds = coroutine.wrap(function()
1281
			stone:BreakJoints()
1282
			wait(0)
1283
			
1284
			coroutine.resume(coroutine.create(function()
1285
				for i, v in pairs(stone:GetChildren()) do
1286
					if v:IsA("Accessory") then
1287
						v:Destroy()
1288
					end
1289
					
1290
					if v:IsA("CharacterMesh") then
1291
						v:Destroy()
1292
					end
1293
					if v:IsA("Model") then
1294
						v:Destroy()
1295
					end
1296
					if v:IsA("Part") or v:IsA("MeshPart") then
1297
						for x, o in pairs(v:GetChildren()) do
1298
							if o:IsA("Decal") then
1299
								o:Destroy()
1300
							end
1301
						end
1302
						coroutine.resume(coroutine.create(function()
1303
							
1304
							v.Material = "Slate"
1305
							v.CanCollide = true
1306
						local BodPoss = Instance.new("BodyPosition", v)
1307
							BodPoss.P = 3000
1308
							BodPoss.D = 1000
1309
							BodPoss.maxForce = Vector3.new(500, 5000, 500)
1310
							BodPoss.position = v.Position + Vector3.new(rd2(-5, 5), rd2(-0, 0), rd2(-0, 0))
1311
						
1312
							v.BrickColor = BrickColor.new("Dark stone grey")
1313
								wait(0.1)
1314
								BodPoss:Destroy()
1315
							coroutine.resume(coroutine.create(function()
1316
								for i = 0, 49 do
1317
									swait(1)
1318
									
1319
								end
1320
								wait(0.5)
1321
								
1322
								wait(3)
1323
								
1324
							end))
1325
						end))
1326
					end
1327
				end
1328
			end))
1329
		end)
1330
		ds()
1331
	end
1332
end
1333
----------------------------------------------------------------------------
1334
local instinct = true
1335
1336
1337
---
1338
Instance.new("ForceField",char).Visible = false
1339
hum:SetStateEnabled("Dead",false)
1340
hum:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
1341
---
1342
1343
---
1344
1345
local MUI = false
1346
1347
1348
max = 0
1349
function music(id,pitch)
1350
max = 0
1351
if id == "Stop" then
1352
if not torso:FindFirstChild("MusicRuin") then
1353
soundz = Instance.new("Sound",torso)
1354
end
1355
soundz:Stop()
1356
else
1357
if not torso:FindFirstChild("MusicRuin") then
1358
soundz = Instance.new("Sound",torso)
1359
end
1360
soundz.MaxDistance = 150*5
1361
soundz.EmitterSize = 150/5
1362
soundz.Volume = 10
1363
soundz.Name = "MusicRuin"
1364
soundz.Looped = true
1365
soundz.PlaybackSpeed = pitch
1366
soundz.SoundId = "rbxassetid://"..id
1367
soundz:Stop()
1368
soundz:Play()
1369
end
1370
end
1371
1372
----------------------------------------------------------------------------
1373
1374
function lerp(a, b, t)
1375
  return a + (b - a)*t
1376
end
1377
1378
----------------------------------------------------------------------------
1379
1380
function Lerp(c1,c2,al)
1381
  local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
1382
  local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
1383
  for i,v in pairs(com1) do
1384
    com1[i] = v+(com2[i]-v)*al
1385
  end
1386
  return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
1387
end
1388
1389
----------------------------------------------------------------------------
1390
1391
function slerp(a, b, t)
1392
  dot = a:Dot(b)
1393
  if dot > 0.99999 or dot < -0.99999 then
1394
    return t <= 0.5 and a or b
1395
  else
1396
    r = math.acos(dot)
1397
    return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
1398
  end
1399
end
1400
1401
----------------------------------------------------------------------------
1402
1403
function clerp(c1,c2,al)
1404
1405
  local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
1406
1407
  local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
1408
1409
  for i,v in pairs(com1) do
1410
1411
    com1[i] = lerp(v,com2[i],al)
1412
1413
  end
1414
1415
  return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
1416
1417
end
1418
1419
----------------------------------------------------------------------------
1420
1421
1422
1423
-------------------
1424
function findAllNearestTorso(pos,dist)
1425
    local list = game.Workspace:children()
1426
    local torso = {}
1427
    local temp = nil
1428
    local human = nil
1429
    local temp2 = nil
1430
    for x = 1, #list do
1431
        temp2 = list[x]
1432
        if (temp2.className == "Model") and (temp2 ~= char) then
1433
            local nayem = "Torso"
1434
            if temp2:findFirstChild("UpperTorso") then nayem = "UpperTorso" end
1435
            temp = temp2:findFirstChild(nayem)
1436
            human = temp2:findFirstChildOfClass("Humanoid")
1437
            if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
1438
                if (temp.Position - pos).magnitude < dist then
1439
                    table.insert(torso,temp)
1440
                    dist = (temp.Position - pos).magnitude
1441
                end
1442
            end
1443
        end
1444
    end
1445
    return torso
1446
end
1447
1448
----------------------------------------------------------------------------
1449
1450
local isAPlayer
1451
function checkIfNotPlayer(model)
1452
coroutine.resume(coroutine.create(function()
1453
if model ~= char and model.Parent ~= char and model.Parent.Parent ~= char and model.Parent ~= DebrisModel and model.Parent.Parent ~= DebrisModel and model.Parent.Parent.Parent ~= DebrisModel then
1454
isAPlayer = true
1455
else
1456
isAPlayer = false
1457
end
1458
end))
1459
return isAPlayer
1460
end
1461
1462
----------------------------------------------------------------------------
1463
1464
function computeDirection(vec)
1465
local lenSquared = vec.magnitude * vec.magnitude
1466
local invSqrt = 1 / math.sqrt(lenSquared)
1467
return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt)
1468
end
1469
1470
----------------------------------------------------------------------------
1471
1472
function newWeld(wp0, wp1, wc0x, wc0y, wc0z)
1473
1474
  local wld = Instance.new("Weld", wp1)
1475
1476
  wld.Part0 = wp0
1477
1478
  wld.Part1 = wp1
1479
1480
  wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
1481
1482
  return wld
1483
1484
end
1485
1486
----------------------------------------------------------------------------
1487
1488
function weld(model)
1489
	local parts,last = {}
1490
	local function scan(parent)
1491
		for _,v in pairs(parent:GetChildren()) do
1492
			if (v:IsA("BasePart")) then
1493
				if (last) then
1494
					local w = Instance.new("Weld")
1495
					w.Name = ("%s_Weld"):format(v.Name)
1496
					w.Part0,w.Part1 = last,v
1497
					w.C0 = last.CFrame:inverse()
1498
					w.C1 = v.CFrame:inverse()
1499
					w.Parent = last
1500
				end
1501
				last = v
1502
				table.insert(parts,v)
1503
			end
1504
			scan(v)
1505
		end
1506
	end
1507
	scan(model)
1508
	for _,v in pairs(parts) do
1509
		v.Anchored = false
1510
		v.Locked = true
1511
	end
1512
end
1513
1514
----------------------------------------------------------------------------
1515
1516
function sound(id,position,vol,pitch,dist,start,finish)
1517
  coroutine.resume(coroutine.create(function()
1518
1519
  local part = Instance.new("Part",DebrisModel)
1520
  part.Anchored = true
1521
  part.Position = position
1522
  part.Size = Vector3.new(0,0,0)
1523
  part.CanCollide = false
1524
  part.Transparency = 1
1525
1526
  soundasd = Instance.new("Sound",part)
1527
  
1528
  soundasd.SoundId = "rbxassetid://"..id
1529
  
1530
  if vol ~= nil then
1531
    soundasd.Volume = vol
1532
  end
1533
1534
  if pitch ~= nil then
1535
    soundasd.PlaybackSpeed = pitch
1536
  end
1537
  
1538
  if dist ~= nil then
1539
    soundasd.MaxDistance = dist*5
1540
    soundasd.EmitterSize = dist/5
1541
  end
1542
1543
  delay(0.5,function() debris:AddItem(part,soundasd.TimeLength+3) end)
1544
  
1545
  soundasd:Play()
1546
  
1547
  end))
1548
  return soundasd
1549
end
1550
1551
function createsound(id,parent)
1552
1553
  local soundz = Instance.new("Sound",parent)
1554
1555
  soundz.SoundId = "rbxassetid://"..id
1556
1557
  return soundz
1558
1559
end
1560
1561
function playsound(sond,vol,pitch,start)
1562
  
1563
  if vol ~= nil then
1564
    sond.Volume = vol
1565
  end
1566
1567
  if pitch ~= nil then
1568
    sond.PlaybackSpeed = pitch
1569
  end
1570
 
1571
  if start ~= nil then
1572
    sond.TimePosition = start
1573
  end
1574
1575
  sond:Play()
1576
  
1577
end
1578
1579
----------------------------------------------------------------------------
1580
eColors={"Really red","Really black"}
1581
function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans)
1582
    local magz = (Part0 - Part1).magnitude
1583
    local curpos = Part0
1584
    local trz = {-Offset,Offset} 
1585
    for i=1,Times do
1586
        local li = Instance.new("Part", DebrisModel)
1587
        li.TopSurface =0
1588
        li.Material = Enum.Material.Neon
1589
        li.BottomSurface = 0
1590
        li.Anchored = true
1591
        li.Locked = true
1592
        li.Transparency = Trans or 0.4
1593
        li.BrickColor = BrickColor.new(Color)
1594
        li.formFactor = "Custom"
1595
        li.CanCollide = false
1596
        li.Size = Vector3.new(Thickness,Thickness,magz/Times)
1597
        local lim = Instance.new("BlockMesh",li)
1598
        local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
1599
        local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
1600
        if Times == i then
1601
        local magz2 = (curpos - Part1).magnitude
1602
        li.Size = Vector3.new(Thickness,Thickness,magz2)
1603
        li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
1604
        else
1605
        li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
1606
        end
1607
        curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
1608
        li.Name = "LIGHTNING"
1609
    end
1610
end
1611
1612
----------------------------------------------------------------------------
1613
1614
1615
local HBill = Instance.new("BillboardGui",hed)
1616
local HMain, HBar = Instance.new("Frame", HBill), Instance.new("Frame")
1617
local HName = Instance.new("TextLabel")
1618
HBill.Size = UDim2.new(15,0,2.2,0)
1619
HBill.StudsOffset = Vector3.new(3.675,1.2,0)
1620
HBill.AlwaysOnTop = true
1621
HBill.Enabled = true
1622
HMain.BackgroundColor3 = Color3.new(0, 0, 0)
1623
HMain.BackgroundTransparency = 1
1624
HMain.Size = UDim2.new(.5,0,.2,0)
1625
HName.Parent = HMain
1626
HName.BackgroundTransparency = 1
1627
HName.BackgroundColor3 = Color3.new(255,255,255)
1628
HName.BorderColor3 = Color3.new(0,0,0)
1629
HName.BorderSizePixel = 2
1630
HName.TextTransparency = 1
1631
HName.Size = UDim2.new(1,0,.75,0)
1632
HName.Font = "Code"
1633
HName.Text = [[ok]]
1634
HName.TextScaled = true
1635
HName.TextColor3 = Color3.new(0.5,0.5,0.5)
1636
HName.TextStrokeColor3 = Color3.new(0.1,0.1,0.1)
1637
HName.TextStrokeTransparency = 1
1638
HName.TextYAlignment = "Bottom"
1639
1640
local HBill = Instance.new("BillboardGui",hed)
1641
local HMain, HBar = Instance.new("Frame", HBill), Instance.new("Frame")
1642
local HName = Instance.new("TextLabel")
1643
HBill.Size = UDim2.new(15,0,2.2,0)
1644
HBill.StudsOffset = Vector3.new(3.675,2,0)
1645
HBill.AlwaysOnTop = true
1646
HBill.Enabled = true
1647
HMain.BackgroundColor3 = Color3.new(0, 0, 0)
1648
HMain.BackgroundTransparency = 1
1649
HMain.Size = UDim2.new(.5,0,.5,0)
1650
HName.Parent = HMain
1651
HName.BackgroundTransparency = 1
1652
HName.BackgroundColor3 = Color3.new(255,255,255)
1653
HName.BorderColor3 = Color3.new(0,0,0)
1654
HName.BorderSizePixel = 2
1655
HName.Size = UDim2.new(1,0,.75,0)
1656
HName.Font = "Code"
1657
HName.TextTransparency = 1
1658
HName.Text = [[hi]]
1659
HName.TextScaled = true
1660
HName.TextColor3 = Color3.new(0,0,0)
1661
HName.TextStrokeColor3 = Color3.new(255,255,255)
1662
HName.TextStrokeTransparency = 1
1663
HName.TextYAlignment = "Bottom"
1664
1665
function bigboomrektxd()
1666
coroutine.resume(coroutine.create(function()
1667
local magnitude = nil
1668
local Position = nil
1669
if animid == 0 then
1670
Position = larm.Position
1671
else
1672
Position = rarm.Position
1673
end
1674
--sound(743499393,Position,10,math.random(6,8)/10)
1675
sound(1050751126,Position,10,math.random(10,12)/10,50)
1676
1677
local Part1 = Instance.new("Part")
1678
local mesh2 = Instance.new("SpecialMesh",Part1)
1679
mesh2.MeshId = "rbxassetid://559831844"
1680
mesh2.Scale = Vector3.new(0,0,0.4)
1681
Part1.Material = Enum.Material.Neon
1682
Part1.CanCollide = false
1683
Part1.BrickColor = BrickColor.new("White")
1684
Part1.Parent = DebrisModel
1685
Part1.Size = Vector3.new(0,0,0)
1686
Part1.Anchored = true
1687
Part1.CFrame = CFrame.new(Position,mouse.Hit.p)
1688
Part1.Name = "EXPLOSION2"
1689
1690
local Part0 = Instance.new("Part",DebrisModel)
1691
local PointLight2 = Instance.new("PointLight")
1692
Part0.Name = "Bullet"
1693
Part0.Material = Enum.Material.Neon
1694
Part0.BrickColor = BrickColor.new("New Yeller")
1695
Part0.Anchored = false
1696
Part0.Size = Vector3.new(5, 5, 5)
1697
local mesh = Instance.new("SpecialMesh",Part0)
1698
mesh.MeshType = Enum.MeshType.Sphere
1699
local bforce = Instance.new("BodyForce",Part0)
1700
bforce.force = Vector3.new(0, ((bforce.Parent:getMass())*workspace.Gravity), 0)
1701
Part0.CanCollide = false
1702
PointLight2.Parent = Part0
1703
PointLight2.Color = Part0.Color
1704
local Target = mouse.Hit.p
1705
local direction = Target - Position
1706
local direction = computeDirection(direction)
1707
local pos = Position + (direction * 2) 
1708
Part0.CFrame = CFrame.new(pos,  pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
1709
Part0.Velocity = direction * 60
1710
local asd = nil
1711
local loop = nil
1712
delay(9, function() Part0:Destroy() loop:disconnect() asd:disconnect() end)
1713
loop = rs:connect(function()
1714
local asdf = math.random(500,1000)/1000
1715
local Part1 = Instance.new("Part")
1716
local mesh2 = Instance.new("SpecialMesh",Part1)
1717
mesh2.MeshType = Enum.MeshType.Sphere
1718
Part1.Material = Enum.Material.Neon
1719
Part1.CanCollide = false
1720
Part1.BrickColor = BrickColor.new("Gold")
1721
Part1.Parent = DebrisModel
1722
Part1.Size = Part0.Size + Vector3.new(asdf,asdf,asdf)
1723
Part1.Anchored = true
1724
Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-1000,1000)/750,math.random(-1000,1000)/750,math.random(-1000,1000)/750))
1725
Part1.Name = "SMOKE"
1726
end)
1727
asd = Part0.Touched:connect(function(ht)
1728
local hit=ht.Parent
1729
if checkIfNotPlayer(ht) == true and ht.CanCollide == true then
1730
asd:disconnect()
1731
loop:disconnect()
1732
Part0:Destroy()
1733
1734
sound(explosionid[math.random(1,#explosionid)],Part0.Position,5,math.random(6,9)/10,80)
1735
for i,v in pairs(findAllNearestTorso(Part0.Position,5)) do
1736
if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then
1737
v:Destroy()
1738
else
1739
v.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth/(math.random(50,60)/10))
1740
end
1741
local Position = Part0.Position
1742
local Target = v.Position
1743
local direction = Target - Position
1744
local direction = computeDirection(direction)
1745
local bv = Instance.new("BodyVelocity",v)
1746
bv.Velocity = direction * (50 - ((Position - Target).magnitude/2))
1747
debris:AddItem(bv,1)
1748
end
1749
for i=1,14,2 do for x=1,math.random(0,1) do rs:wait() end
1750
for z=1,math.random(2,3) do
1751
local asdf = math.random(-5,5)*10-(i/20)*8
1752
local Part1 = Instance.new("Part")
1753
local mesh2 = Instance.new("SpecialMesh",Part1)
1754
mesh2.MeshType = Enum.MeshType.Sphere
1755
mesh2.Scale = Vector3.new(0,0,0)
1756
Part1.Material = Enum.Material.Neon
1757
Part1.CanCollide = false
1758
Part1.BrickColor = BrickColor.new("Gold")
1759
Part1.Parent = DebrisModel
1760
Part1.Size = Vector3.new(asdf,asdf,asdf)
1761
Part1.Anchored = true
1762
local a = i*0.5
1763
Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-2,2)*a,math.random(-10,10),math.random(-2,2)*a))
1764
Part1.Name = "EXPLOSION"
1765
end
1766
end
1767
1768
end
1769
end)
1770
end))
1771
end
1772
1773
1774
function WhiteBall()
1775
coroutine.resume(coroutine.create(function()
1776
local magnitude = nil
1777
local Position = nil
1778
if animid == 0 then
1779
Position = larm.Position
1780
else
1781
Position = rarm.Position
1782
end
1783
--sound(743499393,Position,10,math.random(6,8)/10)
1784
sound(1050751126,Position,10,math.random(4,5)/10,100)
1785
1786
local Part1 = Instance.new("Part")
1787
local mesh2 = Instance.new("SpecialMesh",Part1)
1788
mesh2.MeshId = "rbxassetid://559831844"
1789
mesh2.Scale = Vector3.new(0,0,0.4)
1790
Part1.Material = Enum.Material.Neon
1791
Part1.CanCollide = false
1792
Part1.BrickColor = BrickColor.new("White")
1793
Part1.Parent = DebrisModel
1794
Part1.Size = Vector3.new(0,0,0)
1795
Part1.Anchored = true
1796
Part1.CFrame = CFrame.new(Position,mouse.Hit.p)
1797
Part1.Name = "EXPLOSION3"
1798
1799
local Part0 = Instance.new("Part",DebrisModel)
1800
local PointLight2 = Instance.new("PointLight")
1801
Part0.Name = "Bullet"
1802
Part0.Material = Enum.Material.Neon
1803
Part0.BrickColor = BrickColor.new("White")
1804
Part0.Anchored = false
1805
Part0.Size = Vector3.new(5, 5, 5)
1806
local mesh = Instance.new("SpecialMesh",Part0)
1807
mesh.MeshType = Enum.MeshType.Sphere
1808
mesh.Scale = Vector3.new(3,3,3)
1809
local bforce = Instance.new("BodyForce",Part0)
1810
bforce.force = Vector3.new(0, ((bforce.Parent:getMass())*workspace.Gravity), 0)
1811
Part0.CanCollide = false
1812
PointLight2.Parent = Part0
1813
PointLight2.Color = Part0.Color
1814
local Target = mouse.Hit.p
1815
local direction = Target - Position
1816
local direction = computeDirection(direction)
1817
local pos = Position + (direction * 2) 
1818
Part0.CFrame = CFrame.new(pos,  pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
1819
Part0.Velocity = direction * 150
1820
local asd = nil
1821
local loop = nil
1822
delay(5, function() Part0:Destroy() loop:disconnect() asd:disconnect() end)
1823
loop = rs:connect(function()
1824
local asdf = math.random(500,1000)/1000
1825
local Part1 = Instance.new("Part")
1826
local mesh2 = Instance.new("SpecialMesh",Part1)
1827
mesh2.MeshType = Enum.MeshType.Sphere
1828
Part1.Material = Enum.Material.Neon
1829
Part1.CanCollide = false
1830
Part1.BrickColor = BrickColor.new("White")
1831
Part1.Parent = DebrisModel
1832
Part1.Size = (Part0.Size*3) + Vector3.new(asdf,asdf,asdf)
1833
Part1.Anchored = true
1834
Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-3000,3000)/750,math.random(-3000,3000)/750,math.random(-3000,3000)/750))
1835
Part1.Name = "SMOKE"
1836
end)
1837
asd = Part0.Touched:connect(function(ht)
1838
local hit=ht.Parent
1839
if checkIfNotPlayer(ht) == true and ht.CanCollide == true then
1840
asd:disconnect()
1841
loop:disconnect()
1842
Part0:Destroy()
1843
1844
sound(explosionid[math.random(1,#explosionid)],Part0.Position,10,math.random(3,5)/10,500)
1845
for i,v in pairs(findAllNearestTorso(Part0.Position,160)) do
1846
if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then
1847
v:Destroy()
1848
else
1849
v.Parent:BreakJoints()
1850
end
1851
local Position = Part0.Position
1852
local Target = v.Position
1853
local direction = Target - Position
1854
local direction = computeDirection(direction)
1855
local bv = Instance.new("BodyVelocity",v)
1856
bv.Velocity = direction * (120 - ((Position - Target).magnitude/2))
1857
debris:AddItem(bv,1)
1858
end
1859
for i=1,10,0.5 do for x=1,math.random(0,1) do rs:wait() end
1860
for z=1,math.random(2,3) do
1861
local asdf = math.random(-5,5)*10-(i/20)*12
1862
local Part1 = Instance.new("Part")
1863
local mesh2 = Instance.new("SpecialMesh",Part1)
1864
mesh2.MeshType = Enum.MeshType.Sphere
1865
mesh2.Scale = Vector3.new(0,0,0)
1866
Part1.Material = Enum.Material.Neon
1867
Part1.CanCollide = false
1868
Part1.BrickColor = BrickColor.new("White")
1869
Part1.Parent = DebrisModel
1870
Part1.Size = Vector3.new(asdf,asdf,asdf)
1871
Part1.Anchored = true
1872
local a = i*5
1873
Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-2,2)*a,math.random(-30,30),math.random(-2,2)*a))
1874
Part1.Name = "EXPLOSION4"
1875
end
1876
end
1877
1878
end
1879
end)
1880
end))
1881
end
1882
1883
1884
function AirPunch()
1885
coroutine.resume(coroutine.create(function()
1886
local magnitude = nil
1887
local Position = nil
1888
if animid == 0 then
1889
Position = larm.Position
1890
else
1891
Position = rarm.Position
1892
end
1893
--sound(743499393,Position,10,math.random(6,8)/10)
1894
local Sound2 = Instance.new("Sound",hed)
1895
		Sound2.SoundId = "rbxassetid://138137702"
1896
		Sound2.Volume = 5
1897
		Sound2.Pitch = 1
1898
		Sound2.Looped = false
1899
		Sound2:Play()
1900
1901
local Part1 = Instance.new("Part")
1902
local mesh2 = Instance.new("SpecialMesh",Part1)
1903
mesh2.MeshId = "rbxassetid://559831844"
1904
mesh2.Scale = Vector3.new(0,0,0.4)
1905
Part1.Material = Enum.Material.Neon
1906
Part1.CanCollide = false
1907
Part1.BrickColor = BrickColor.new("White")
1908
Part1.Parent = DebrisModel
1909
Part1.Size = Vector3.new(0,0,0)
1910
Part1.Anchored = true
1911
Part1.CFrame = CFrame.new(Position,mouse.Hit.p)
1912
Part1.Name = "EXPLOSION3"
1913
1914
local Part0 = Instance.new("Part",DebrisModel)
1915
local PointLight2 = Instance.new("PointLight")
1916
Part0.Name = "Bullet"
1917
Part0.Material = Enum.Material.Neon
1918
Part0.BrickColor = BrickColor.new("White")
1919
Part0.Anchored = false
1920
Part0.Size = Vector3.new(20,20,20)
1921
Part0.Transparency = 0.5
1922
local mesh = Instance.new("SpecialMesh",Part0)
1923
mesh.MeshId = "rbxassetid://437347603"
1924
mesh.Scale = Vector3.new(2.3,2.3,2.7)
1925
1926
1927
coroutine.resume(coroutine.create(function()
1928
			for i = 3,3 do 
1929
			
1930
			
1931
			
1932
			coroutine.resume(coroutine.create(function()
1933
			for i = 1,100 do
1934
			Part0.CFrame = Part0.CFrame*CFrame.Angles(0,0,-0.2)
1935
			
1936
			wait(0.00000000001)
1937
			end
1938
			
1939
				
1940
			end))
1941
			wait(0.3)
1942
			end
1943
		end))
1944
1945
1946
local bforce = Instance.new("BodyForce",Part0)
1947
bforce.force = Vector3.new(0, ((bforce.Parent:getMass())*workspace.Gravity), 0)
1948
Part0.CanCollide = false
1949
PointLight2.Parent = Part0
1950
PointLight2.Color = Part0.Color
1951
local Target = mouse.Hit.p
1952
local direction = Target - Position
1953
local direction = computeDirection(direction)
1954
local pos = Position + (direction * 2) 
1955
Part0.CFrame = CFrame.new(pos,  pos + direction) * CFrame.Angles(0,0,1.55)
1956
coroutine.resume(coroutine.create(function()
1957
			for i = 3,300 do
1958
				Part0.CFrame = Part0.CFrame:lerp(Part0.CFrame * CFrame.new(0, 0, -13), 0.4)
1959
				
1960
			
1961
			wait(0.00000000001)
1962
			end
1963
			
1964
			
1965
			end))	
1966
local FZcharge3 = Instance.new("ParticleEmitter",Part0)
1967
FZcharge3.Texture = "rbxassetid://174073769"
1968
FZcharge3.Color = ColorSequence.new(BrickColor.new("White").Color)
1969
FZcharge3.EmissionDirection = "Top"
1970
FZcharge3.Speed = NumberRange.new(5)
1971
FZcharge3.Size = NumberSequence.new(10,0)
1972
FZcharge3.Transparency = NumberSequence.new(0,1)
1973
FZcharge3.Drag = 1.2
1974
FZcharge3.LockedToPart = false
1975
FZcharge3.Lifetime = NumberRange.new(2)
1976
FZcharge3.Rate = 105
1977
FZcharge3.LightEmission = 0.8
1978
FZcharge3.Rotation = NumberRange.new(-360,360)
1979
FZcharge3.VelocitySpread = 100	
1980
FZcharge3.ZOffset = 1
1981
coroutine.resume(coroutine.create(function()
1982
			for i = 1,3 do 
1983
			local HQ = Instance.new("Part",Part0)
1984
			HQ.Size = Vector3.new(1,1,1)
1985
			HQ.BrickColor = BrickColor.new("White")
1986
			HQ.Material = "Neon"
1987
			HQ.Anchored = true
1988
			HQ.CanCollide = false
1989
			HQ.Transparency = 0
1990
			HQ.CFrame = Part0.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0)
1991
			local HQ2 = Instance.new("SpecialMesh",HQ)
1992
			HQ2.MeshId = "rbxassetid://20329976"
1993
			HQ2.Scale = Vector3.new(1,1,1)
1994
			local ZQW = Instance.new("Part",Part0)
1995
			ZQW.Size = Vector3.new(1,1,1)
1996
			ZQW.BrickColor = BrickColor.new("White")
1997
			ZQW.Material = "Neon"
1998
			ZQW.Transparency = 1
1999
			ZQW.Anchored = true
2000
			ZQW.CanCollide = false
2001
			ZQW.CFrame = Part0.CFrame*CFrame.new(0,0,0)
2002
			local ZQW2 = Instance.new("SpecialMesh",ZQW)
2003
			ZQW2.MeshType = "Sphere"
2004
			ZQW2.Scale = Vector3.new(1,1,1)
2005
			local H = Instance.new("Part",Part0)
2006
			H.Size = Vector3.new(1,1,1)
2007
			H.BrickColor = BrickColor.new("White")
2008
			H.CanCollide = false
2009
			H.Anchored = true
2010
			H.CFrame = Part0.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
2011
			local H2 = Instance.new("SpecialMesh",H)
2012
			H2.MeshId = "rbxassetid://3270017"
2013
			coroutine.resume(coroutine.create(function()
2014
			for i = 3,90 do
2015
			ZQW2.Scale = ZQW2.Scale + Vector3.new(6.2,6.2,6.2)
2016
			ZQW.Transparency = ZQW.Transparency + 0.06
2017
			HQ2.Scale = HQ2.Scale + Vector3.new(3.2,3.2,3.2)
2018
			HQ.Transparency = HQ.Transparency + 0.05
2019
			H2.Scale = H2.Scale + Vector3.new(6.2,6.2,6.2)
2020
			H.Transparency = H.Transparency + 0.05
2021
			wait(0.00000000001)
2022
			end
2023
			HQ:Destroy()
2024
			H2:Destroy()
2025
			H:Destroy()
2026
			HQ2:Destroy()
2027
			ZQW:Destroy()
2028
			ZQW2:Destroy()
2029
			end))
2030
			wait(0.3)
2031
			end
2032
			end))
2033
local asd = nil
2034
local loop = nil
2035
delay(2, function() Part0:Destroy() loop:disconnect() asd:disconnect() end)
2036
loop = rs:connect(function()
2037
local asdf = math.random(100,1000)/1000
2038
local Part1 = Instance.new("Part")
2039
local mesh2 = Instance.new("SpecialMesh",Part1)
2040
mesh2.MeshType = Enum.MeshType.Sphere
2041
Part1.Material = Enum.Material.Neon
2042
Part1.CanCollide = false
2043
Part1.Transparency = 0.9
2044
Part1.BrickColor = BrickColor.new("White")
2045
Part1.Parent = DebrisModel
2046
Part1.Size = (Part0.Size*0.6) + Vector3.new(asdf,asdf,asdf)
2047
Part1.Anchored = true
2048
Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-1000,1000)/80,math.random(-1000,1000)/80,math.random(-1000,1000)/750))
2049
Part1.Name = "SMOKE"
2050
end)
2051
asd = Part0.Touched:connect(function(ht)
2052
local hit=ht.Parent
2053
2054
2055
for i,v in pairs(findAllNearestTorso(Part0.Position,50)) do
2056
if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then
2057
v:Destroy()
2058
else
2059
v.Parent.Humanoid:TakeDamage(100000)
2060
2061
		
2062
2063
end
2064
local Position = Part0.Position
2065
local Target = v.Position
2066
local direction = Target - Position
2067
local direction = computeDirection(direction)
2068
local bv = Instance.new("BodyVelocity",v)
2069
bv.Velocity = direction * (50 - ((Position - Target).magnitude/2))
2070
debris:AddItem(bv,1)
2071
end
2072
2073
2074
end)
2075
end))
2076
end
2077
2078
function DetroitSmash()
2079
coroutine.resume(coroutine.create(function()
2080
local magnitude = nil
2081
local Position = nil
2082
if animid == 0 then
2083
Position = larm.Position
2084
else
2085
Position = rarm.Position
2086
end
2087
--sound(743499393,Position,10,math.random(6,8)/10)
2088
sound(1050751126,Position,10,math.random(4,5)/10,100)
2089
2090
local Part1 = Instance.new("Part")
2091
local mesh2 = Instance.new("SpecialMesh",Part1)
2092
mesh2.MeshId = "rbxassetid://559831844"
2093
mesh2.Scale = Vector3.new(0,0,0.4)
2094
Part1.Material = Enum.Material.Neon
2095
Part1.CanCollide = false
2096
Part1.BrickColor = BrickColor.new("White")
2097
Part1.Parent = DebrisModel
2098
Part1.Size = Vector3.new(0,0,0)
2099
Part1.Anchored = true
2100
Part1.CFrame = CFrame.new(Position,mouse.Hit.p)
2101
Part1.Name = "EXPLOSION3"
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
local Target = mouse.Hit.p
2112
local direction = Target - Position
2113
local direction = computeDirection(direction)
2114
local pos = Position + (direction * 2) 
2115
2116
2117
2118
local asd = nil
2119
local loop = nil
2120
2121
local asdf = math.random(100,1000)/1000
2122
local Part1 = Instance.new("Part")
2123
local mesh2 = Instance.new("SpecialMesh",Part1)
2124
mesh2.MeshType = Enum.MeshType.Sphere
2125
Part1.Material = Enum.Material.Neon
2126
Part1.CanCollide = false
2127
Part1.Transparency = 0.9
2128
Part1.BrickColor = BrickColor.new("Institutional white")
2129
Part1.Parent = DebrisModel
2130
Part1.Size = (Part1.Size*0.9) + Vector3.new(asdf,asdf,asdf)
2131
Part1.Anchored = true
2132
Part1.CFrame = CFrame.new(torso.Position + Vector3.new(math.random(-1000,1000)/10,math.random(-1000,1000)/10,math.random(-1000,1000)/750))
2133
Part1.Name = "SMOKE"
2134
2135
2136
2137
2138
sound(punch[math.random(1,#punch)],Part1.Position,500,math.random(3,5)/5,50)
2139
for i,v in pairs(findAllNearestTorso(Part1.Position,100)) do
2140
if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then
2141
v:Destroy()
2142
else
2143
v.Parent.Humanoid:TakeDamage(100000000000000)
2144
2145
		
2146
2147
end
2148
local Position = Part1.Position
2149
local Target = v.Position
2150
local direction = Target - Position
2151
local direction = computeDirection(direction)
2152
local bv = Instance.new("BodyVelocity",v)
2153
bv.Velocity = direction * (50 - ((Position - Target).magnitude/2))
2154
debris:AddItem(bv,1)
2155
end
2156
for i=1,14,2 do for x=1,math.random(1,2) do rs:wait() end
2157
for z=1,math.random(1,2) do
2158
local asdf = math.random(-5,5)*3-(i/20)*10
2159
local Part1 = Instance.new("Part")
2160
local mesh2 = Instance.new("SpecialMesh",Part1)
2161
mesh2.MeshType = Enum.MeshType.Sphere
2162
mesh2.Scale = Vector3.new(0,0,0)
2163
Part1.Material = Enum.Material.SmoothPlastic
2164
Part1.CanCollide = false
2165
Part1.BrickColor = BrickColor.new("Institutional white")
2166
Part1.Parent = DebrisModel
2167
Part1.Size = Vector3.new(asdf,asdf,asdf)
2168
Part1.Anchored = true
2169
Part1.Transparency = 0.3
2170
local a = i*0.9
2171
Part1.CFrame = CFrame.new(torso.Position + Vector3.new(math.random(-1,1)*a,math.random(-1,1),math.random(-1,1)*a))
2172
Part1.Name = "EXPLOSION4"
2173
end
2174
end
2175
end))
2176
end
2177
2178
function DelawareSmash()
2179
coroutine.resume(coroutine.create(function()
2180
local magnitude = nil
2181
local Position = nil
2182
if animid == 0 then
2183
Position = larm.Position
2184
else
2185
Position = rarm.Position
2186
end
2187
--sound(743499393,Position,10,math.random(6,8)/10)
2188
local Sound2 = Instance.new("Sound",hed)
2189
		Sound2.SoundId = "rbxassetid://138137702"
2190
		Sound2.Volume = 5
2191
		Sound2.Pitch = 0.9
2192
		Sound2.Looped = false
2193
		Sound2:Play()
2194
2195
local Part1 = Instance.new("Part")
2196
local mesh2 = Instance.new("SpecialMesh",Part1)
2197
mesh2.MeshId = "rbxassetid://559831844"
2198
mesh2.Scale = Vector3.new(0,0,0.4)
2199
Part1.Material = Enum.Material.Neon
2200
Part1.CanCollide = false
2201
Part1.BrickColor = BrickColor.new("White")
2202
Part1.Parent = DebrisModel
2203
Part1.Size = Vector3.new(0,0,0)
2204
Part1.Anchored = true
2205
Part1.CFrame = CFrame.new(Position,mouse.Hit.p)
2206
Part1.Name = "EXPLOSION3"
2207
2208
local Part0 = Instance.new("Part",DebrisModel)
2209
local PointLight2 = Instance.new("PointLight")
2210
PointLight2.Brightness = 100
2211
PointLight2.Range = 40
2212
Part0.Name = "Bullet"
2213
Part0.Material = Enum.Material.Glass
2214
Part0.BrickColor = BrickColor.new("White")
2215
Part0.Anchored = false
2216
Part0.Size = Vector3.new(20,20,20)
2217
Part0.Transparency = 0.5
2218
local mesh = Instance.new("SpecialMesh",Part0)
2219
mesh.MeshId = "rbxassetid://437347603"
2220
mesh.Scale = Vector3.new(4.3,4.3,6.7)
2221
local Music = Instance.new("Sound",Part0)
2222
		Music.SoundId = "rbxassetid://362395087"
2223
		Music.Pitch = 0.8
2224
		Music.Looped = true
2225
		Music.Volume = 5
2226
				
2227
		Music:Play()
2228
2229
coroutine.resume(coroutine.create(function()
2230
			for i = 3,3 do 
2231
			
2232
2233
			
2234
			coroutine.resume(coroutine.create(function()
2235
			for i = 1,400 do
2236
			Part0.CFrame = Part0.CFrame*CFrame.Angles(0,0,-0.2)
2237
			
2238
			wait()
2239
			end
2240
			
2241
				
2242
			end))
2243
			wait(0.3)
2244
			end
2245
		end))
2246
2247
2248
local bforce = Instance.new("BodyForce",Part0)
2249
bforce.force = Vector3.new(0, ((bforce.Parent:getMass())*workspace.Gravity), 0)
2250
Part0.CanCollide = false
2251
PointLight2.Parent = Part0
2252
PointLight2.Color = Part0.Color
2253
local Target = mouse.Hit.p
2254
local direction = Target - Position
2255
local direction = computeDirection(direction)
2256
local pos = Position + (direction * 2) 
2257
Part0.CFrame = CFrame.new(pos,  pos + direction) * CFrame.Angles(0,0,1.55)
2258
2259
coroutine.resume(coroutine.create(function()
2260
			for i = 3,300 do
2261
				Part0.CFrame = Part0.CFrame:lerp(Part0.CFrame * CFrame.new(0, 0, -18), 0.4)
2262
				
2263
			
2264
			wait()
2265
			end
2266
			
2267
			
2268
end))
2269
local FZcharge3 = Instance.new("ParticleEmitter",Part0)
2270
FZcharge3.Texture = "rbxassetid://174073769"
2271
FZcharge3.Color = ColorSequence.new(BrickColor.new("White").Color)
2272
FZcharge3.EmissionDirection = "Top"
2273
FZcharge3.Speed = NumberRange.new(5)
2274
FZcharge3.Size = NumberSequence.new(40,0)
2275
FZcharge3.Transparency = NumberSequence.new(0,1)
2276
FZcharge3.Drag = 1.2
2277
FZcharge3.LockedToPart = false
2278
FZcharge3.Lifetime = NumberRange.new(3)
2279
FZcharge3.Rate = 105
2280
FZcharge3.LightEmission = 0.8
2281
FZcharge3.Rotation = NumberRange.new(-360,360)
2282
FZcharge3.VelocitySpread = 100	
2283
FZcharge3.ZOffset = 1	
2284
local FlyAt = Instance.new("Attachment",Part0)FlyAt.Position = Vector3.new(0,0.1,0)
2285
local FlyAt2 = Instance.new("Attachment",Part0)FlyAt2.Position = Vector3.new(0,-15.5,0)
2286
local Speed = Instance.new("Trail",Part0)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2
2287
Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 2.1 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
2288
Speed.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248)) Speed.LightEmission = 5		
2289
2290
coroutine.resume(coroutine.create(function()
2291
			for i = 1,60 do 
2292
			local HQ = Instance.new("Part",Part0)
2293
			HQ.Size = Vector3.new(1,1,1)
2294
			HQ.BrickColor = BrickColor.new("White")
2295
			HQ.Material = Enum.Material.Glass
2296
			HQ.Anchored = true
2297
			HQ.CanCollide = false
2298
			HQ.Transparency = 0
2299
			HQ.CFrame = Part0.CFrame*CFrame.new(0,0,-20)*CFrame.Angles(1.55,0,0)
2300
			local HQ2 = Instance.new("SpecialMesh",HQ)
2301
			HQ2.MeshId = "rbxassetid://20329976"
2302
			HQ2.Scale = Vector3.new(14.5,14.5,14.5)
2303
			local ZQW = Instance.new("Part",Part0)
2304
			ZQW.Size = Vector3.new(1,1,1)
2305
			ZQW.BrickColor = BrickColor.new("White")
2306
			ZQW.Material = Enum.Material.Glass
2307
			ZQW.Transparency = 1
2308
			ZQW.Anchored = true
2309
			ZQW.CanCollide = false
2310
			ZQW.CFrame = Part0.CFrame*CFrame.new(-40,0,0)
2311
			local ZQW2 = Instance.new("SpecialMesh",ZQW)
2312
			ZQW2.MeshType = "Sphere"
2313
			ZQW2.Scale = Vector3.new(14.5,14.5,2.5)
2314
			local H = Instance.new("Part",Part0)
2315
			H.Size = Vector3.new(1,1,1)
2316
			H.BrickColor = BrickColor.new("White")
2317
			H.CanCollide = false
2318
			H.Anchored = true
2319
			H.CFrame = Part0.CFrame*CFrame.new(0,0,-40)*CFrame.Angles(0,0,0)
2320
			local H2 = Instance.new("SpecialMesh",H)
2321
			H2.MeshId = "rbxassetid://3270017"
2322
			H2.Scale = Vector3.new(14.5,14.5,2.5)
2323
			coroutine.resume(coroutine.create(function()
2324
			for i = 1,90 do
2325
			ZQW2.Scale = ZQW2.Scale + Vector3.new(6.2,6.2,6.2)
2326
			ZQW.Transparency = ZQW.Transparency + 0.06
2327
			HQ2.Scale = HQ2.Scale + Vector3.new(3.2,8.2,3.2)
2328
			HQ.Transparency = HQ.Transparency + 0.05
2329
			H2.Scale = H2.Scale + Vector3.new(6.2,6.2,6.2)
2330
			H.Transparency = H.Transparency + 0.05
2331
			wait(0.00000000001)
2332
			end
2333
			HQ:Destroy()
2334
			H2:Destroy()
2335
			H:Destroy()
2336
			HQ2:Destroy()
2337
			ZQW:Destroy()
2338
			ZQW2:Destroy()
2339
			end))
2340
					
2341
			wait(0.1)
2342
	
2343
			end
2344
			
2345
			end))
2346
local asd = nil
2347
local loop = nil
2348
delay(7, function() Part0:Destroy() loop:disconnect() asd:disconnect() end)
2349
loop = rs:connect(function()
2350
local asdf = math.random(100,1000)/1000
2351
local Part1 = Instance.new("Part")
2352
local mesh2 = Instance.new("SpecialMesh",Part1)
2353
mesh2.MeshType = Enum.MeshType.Sphere
2354
Part1.Material = Enum.Material.Neon
2355
Part1.CanCollide = false
2356
Part1.Transparency = 0.9
2357
Part1.BrickColor = BrickColor.new("White")
2358
Part1.Parent = DebrisModel
2359
Part1.Size = (Part0.Size*0.6) + Vector3.new(asdf,asdf,asdf)
2360
Part1.Anchored = true
2361
Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-1000,1000)/80,math.random(-1000,1000)/80,math.random(-1000,1000)/750))
2362
Part1.Name = "SMOKE"
2363
end)
2364
asd = Part0.Touched:connect(function(ht)
2365
local hit=ht.Parent
2366
2367
2368
2369
2370
for i,v in pairs(findAllNearestTorso(Part0.Position,50)) do
2371
if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then
2372
v:Destroy()
2373
else
2374
v.Parent.Humanoid:TakeDamage(1000)
2375
			v.Velocity = Part0.CFrame.lookVector * 100
2376
2377
end
2378
2379
local Position = Part0.Position
2380
local Target = v.Position
2381
local direction = Target - Position
2382
local direction = computeDirection(direction)
2383
local bv = Instance.new("BodyVelocity",v)
2384
bv.Velocity = direction * (50 - ((Position - Target).magnitude/2))
2385
debris:AddItem(bv,1)
2386
end
2387
2388
2389
end)
2390
end))
2391
end
2392
2393
2394
2395
function unused()
2396
coroutine.resume(coroutine.create(function()
2397
local magnitude = nil
2398
local Position = nil
2399
if animid == 0 then
2400
Position = larm.Position
2401
else
2402
Position = rarm.Position
2403
end
2404
--sound(743499393,Position,10,math.random(6,8)/10)
2405
sound(1050751126,Position,10,math.random(4,5)/10,100)
2406
2407
local Part1 = Instance.new("Part")
2408
local mesh2 = Instance.new("SpecialMesh",Part1)
2409
mesh2.MeshId = "rbxassetid://559831844"
2410
mesh2.Scale = Vector3.new(0,0,0.4)
2411
Part1.Material = Enum.Material.Neon
2412
Part1.CanCollide = false
2413
Part1.BrickColor = BrickColor.new("White")
2414
Part1.Parent = DebrisModel
2415
Part1.Size = Vector3.new(0,0,0)
2416
Part1.Anchored = true
2417
Part1.CFrame = CFrame.new(Position,mouse.Hit.p)
2418
Part1.Name = "EXPLOSION3"
2419
2420
local Part0 = Instance.new("Part",DebrisModel)
2421
local PointLight2 = Instance.new("PointLight")
2422
Part0.Name = "Bullet"
2423
Part0.Material = Enum.Material.Neon
2424
Part0.BrickColor = BrickColor.new("White")
2425
Part0.Anchored = false
2426
Part0.Size = Vector3.new(1,1,1)
2427
Part0.Transparency = 0.5
2428
local mesh = Instance.new("SpecialMesh",Part0)
2429
mesh.MeshId = "rbxassetid://437347603"
2430
mesh.Scale = Vector3.new(1.3,1.3,4.4)
2431
local bforce = Instance.new("BodyForce",Part0)
2432
bforce.force = Vector3.new(0, ((bforce.Parent:getMass())*workspace.Gravity), 0)
2433
Part0.CanCollide = false
2434
PointLight2.Parent = Part0
2435
PointLight2.Color = Part0.Color
2436
local Target = mouse.Hit.p
2437
local direction = Target - Position
2438
local direction = computeDirection(direction)
2439
local pos = Position + (direction * 2) 
2440
Part0.CFrame = CFrame.new(pos,  pos + direction) * CFrame.Angles(0,0,1.55)
2441
Part0.Velocity = direction * 750
2442
local asd = nil
2443
local loop = nil
2444
delay(5, function() Part0:Destroy() loop:disconnect() asd:disconnect() end)
2445
loop = rs:connect(function()
2446
local asdf = math.random(500,1000)/1000
2447
local Part1 = Instance.new("Part")
2448
local mesh2 = Instance.new("SpecialMesh",Part1)
2449
mesh2.MeshType = Enum.MeshType.Sphere
2450
Part1.Material = Enum.Material.Neon
2451
Part1.CanCollide = false
2452
Part1.BrickColor = BrickColor.new("White")
2453
Part1.Parent = DebrisModel
2454
Part1.Size = (Part0.Size*3) + Vector3.new(asdf,asdf,asdf)
2455
Part1.Anchored = true
2456
Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-1000,1000)/750,math.random(-1000,1000)/750,math.random(-1000,1000)/750))
2457
Part1.Name = "SMOKE"
2458
end)
2459
asd = Part0.Touched:connect(function(ht)
2460
local hit=ht.Parent
2461
if checkIfNotPlayer(ht) == true and ht.CanCollide == true then
2462
asd:disconnect()
2463
loop:disconnect()
2464
Part0:Destroy()
2465
2466
sound(punch[math.random(1,#punch)],Part0.Position,10,math.random(3,5)/5,50)
2467
for i,v in pairs(findAllNearestTorso(Part0.Position,35)) do
2468
if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then
2469
v:Destroy()
2470
else
2471
v.Parent:BreakJoints()
2472
local Fl = Instance.new("BodyVelocity",v.Parent.Head)
2473
			Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
2474
			Fl.velocity = Part0.CFrame.lookVector*395
2475
			wait(0.05)
2476
			Fl:remove()
2477
2478
end
2479
local Position = Part0.Position
2480
local Target = v.Position
2481
local direction = Target - Position
2482
local direction = computeDirection(direction)
2483
local bv = Instance.new("BodyVelocity",v)
2484
bv.Velocity = direction * (120 - ((Position - Target).magnitude/2))
2485
debris:AddItem(bv,1)
2486
end
2487
for i=1,10,0.5 do for x=1,math.random(0,1) do rs:wait() end
2488
for z=1,math.random(2,3) do
2489
local asdf = math.random(-5,5)*2-(i/2)*10
2490
local Part1 = Instance.new("Part")
2491
local mesh2 = Instance.new("SpecialMesh",Part1)
2492
mesh2.MeshType = Enum.MeshType.Sphere
2493
mesh2.Scale = Vector3.new(0,0,0)
2494
Part1.Material = Enum.Material.Neon
2495
Part1.CanCollide = false
2496
Part1.BrickColor = BrickColor.new("White")
2497
Part1.Parent = DebrisModel
2498
Part1.Size = Vector3.new(asdf,asdf,asdf)
2499
Part1.Anchored = true
2500
local a = i*0.7
2501
Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-2,2)*a,math.random(-4,4),math.random(-2,2)*a))
2502
Part1.Name = "EXPLOSION4"
2503
end
2504
end
2505
2506
end
2507
end)
2508
end))
2509
end
2510
2511
2512
2513
2514
2515
2516
 function lerpz(joint, prop, cfrmz, alp)
2517
    joint[prop] = joint[prop]:lerp(cfrmz, alp)
2518
  end
2519
  function resetlerp()
2520
    RJ.C0 = RJC0
2521
    RJ.C1 = RJC1
2522
    N.C0 = NC0
2523
    N.C1 = NC1
2524
    RS.C0 = RSC0
2525
    RS.C1 = RSC1
2526
    LS.C0 = LSC0
2527
    LS.C1 = LSC1
2528
    RH.C0 = RHC0
2529
    RH.C1 = RHC1
2530
    LH.C0 = LHC0
2531
  end
2532
function swait(num)
2533
    if num == 0 or num == nil then
2534
      Heartbeat.Event:wait()
2535
    else
2536
      for i = 1, num do
2537
        Heartbeat.Event:wait()
2538
      end
2539
    end
2540
  end
2541
mouse.KeyDown:connect(function(k)
2542
if k == "=" and MUI == true then
2543
	instinct = false
2544
	animid = 5
2545
	no_anim = true
2546
	 for _ = 1, 45 do
2547
      swait()
2548
      lerpz(RJ, "C0", RJC0 * cf(0, 0.8, -0.2) * ang(rd(10), rd(0), rd(-70)), 0.2)
2549
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(6), rd(2), rd(68)), 0.2)
2550
      lerpz(RS, "C0", RSC0 * cf(rd2(-1, 1) / 10, rd2(-1, 1) / 10, rd2(-1, 1) / 10) * ang(rd(rd2(25, 35)), rd(rd2(-15, -5)), rd(rd2(80, 90))), 0.2)
2551
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
2552
      lerpz(LS, "C0", LSC0 * cf(-0.15, -0.4, 0.5) * ang(rd(-10), rd(60), rd(-86)), 0.2)
2553
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(80), rd(0)), 0.2)
2554
      lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-29), rd(-2)), 0.2)
2555
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
2556
      lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.2)
2557
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
2558
     
2559
    end
2560
	AirPunchStrong()
2561
	wait(0.2)
2562
	hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(70),math.rad(0)), 0.8)--head
2563
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(-80),math.rad(0)), 0.8)--torso
2564
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(10)), 0.8)--rarm
2565
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(-20)), 0.8)--larm
2566
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
2567
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
2568
		wait(0.5)
2569
		hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(70),math.rad(0)), 0.8)--head
2570
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(-80),math.rad(0)), 0.8)--torso
2571
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(10)), 0.8)--rarm
2572
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.8)--larm
2573
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
2574
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
2575
	AirPunchStrong()
2576
	wait(0.2)
2577
	hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(70),math.rad(0)), 0.8)--head
2578
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(-80),math.rad(0)), 0.8)--torso
2579
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(10)), 0.8)--rarm
2580
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(-20)), 0.8)--larm
2581
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
2582
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
2583
		wait(0.5)
2584
		hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-50),math.rad(0)), 0.8)--head
2585
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(50),math.rad(0)), 0.8)--torso
2586
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.8)--rarm
2587
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-10)), 0.8)--larm
2588
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
2589
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
2590
	AirPunchStrong()
2591
	wait(0.2)
2592
	no_anim = false
2593
	instinct = true
2594
end
2595
end)
2596
2597
2598
2599
local attacktype = 1
2600
mouse.Button1Down:connect(function()
2601
	if attack == false and attacktype == 1 and MUI == false then
2602
		Hit()
2603
		attacktype = 2
2604
	elseif attack == false and attacktype == 2 and MUI == false then
2605
		Hit2()
2606
		attacktype = 1
2607
	end
2608
end)
2609
2610
2611
mouse.Button1Down:connect(function()
2612
	if attack == false and attacktype == 1 and MUI == true then
2613
		HitFC()
2614
		attacktype = 2
2615
	elseif attack == false and attacktype == 2 and MUI == true then
2616
		HitFC2()
2617
		attacktype = 1
2618
	end
2619
end)
2620
function Hit()
2621
	if not D then D = true
2622
		animid = 5
2623
	no_anim = true
2624
	
2625
		local Grab = Instance.new("Part",larm)
2626
	Grab.Size = Vector3.new(4,4,4)
2627
	Grab.CanCollide = false
2628
	Grab.BrickColor = BrickColor.new("Deep orange")
2629
	Grab.Transparency = math.huge
2630
	local Grabo = Instance.new("Weld",Grab)
2631
	Grabo.Part0 = larm
2632
	Grabo.Part1 = Grab
2633
	Grabo.C0 = CFrame.new(0,-1.1,0)
2634
	local SFXZ = Instance.new("Sound",torso)
2635
			SFXZ.SoundId = "rbxassetid://169259383"
2636
			SFXZ.Volume = 1
2637
			SFXZ.Pitch = 1.5
2638
			SFXZ.Looped = false
2639
			wait(0.01)
2640
			SFXZ:Play()
2641
			
2642
	Grab.Touched:connect(function(hit)
2643
if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= plr.Character.Name then
2644
			Grab:Destroy()
2645
			SFXZ:Destroy()
2646
			
2647
hit.Parent.Humanoid:TakeDamage(5000000000000000)
2648
			local Smash = Instance.new("Part",char)
2649
				Smash.Size = Vector3.new(30,30,30)
2650
				Smash.BrickColor = BrickColor.new("New Yeller")
2651
				Smash.CanCollide = false
2652
				Smash.Anchored = true
2653
				Smash.Transparency = 0.1
2654
				Smash.CFrame = root.CFrame*CFrame.new(0,0,20)*CFrame.Angles(0,0,1.55)
2655
				local Smash2 = Instance.new("SpecialMesh",Smash)
2656
				Smash2.MeshId = "rbxassetid://437347603"
2657
				Smash2.Scale = Vector3.new(2.8,2.8,2.94)			
2658
			local Sound2 = Instance.new("Sound",Smash)
2659
		Sound2.SoundId = "rbxassetid://138137702"
2660
		Sound2.Volume = 0.9
2661
		Sound2.Pitch = 1
2662
		Sound2.Looped = false
2663
		Sound2:Play()
2664
		local Sound = Instance.new("Sound",torso)
2665
		Sound.SoundId = "rbxassetid://0"
2666
		Sound.Volume = 7
2667
		Sound.Pitch = 1
2668
		Sound.Looped = false
2669
		Sound:Play()
2670
	coroutine.resume(coroutine.create(function()
2671
			for i = 3,100 do
2672
				
2673
				Smash.CFrame = Smash.CFrame*CFrame.Angles(0,0,-0.1)
2674
				Smash.CFrame = Smash.CFrame:lerp(Smash.CFrame * CFrame.new(0, 0, -11), 0.4)
2675
				
2676
				
2677
				Smash.Transparency = Smash.Transparency + 0.09
2678
			
2679
			wait(0.00000000001)
2680
			end
2681
			Smash:Destroy()	
2682
			
2683
			end))			
2684
			
2685
			
2686
	coroutine.resume(coroutine.create(function()
2687
			for i = 1,3 do 
2688
			local HQ = Instance.new("Part",root)
2689
			HQ.Size = Vector3.new(1,1,1)
2690
			HQ.BrickColor = BrickColor.new("Medium stone grey")
2691
			HQ.Material = "Neon"
2692
			HQ.Anchored = true
2693
			HQ.CanCollide = false
2694
			HQ.Transparency = 0
2695
			HQ.CFrame = hit.Parent.Head.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,1.55)
2696
			local HQ2 = Instance.new("SpecialMesh",HQ)
2697
			HQ2.MeshId = "rbxassetid://3270017"
2698
			HQ2.Scale = Vector3.new(1,1,1)
2699
			local ZQW = Instance.new("Part",root)
2700
			ZQW.Size = Vector3.new(1,1,1)
2701
			ZQW.BrickColor = BrickColor.new("Medium stone grey")
2702
			ZQW.Material = "Neon"
2703
			ZQW.Transparency = 1
2704
			ZQW.Anchored = true
2705
			ZQW.CanCollide = false
2706
			ZQW.CFrame = hit.Parent.Head.CFrame*CFrame.new(0,0,0)
2707
			local ZQW2 = Instance.new("SpecialMesh",ZQW)
2708
			ZQW2.MeshType = "Sphere"
2709
			ZQW2.Scale = Vector3.new(1,1,1)
2710
			local H = Instance.new("Part",root)
2711
			H.Size = Vector3.new(1,1,1)
2712
			H.BrickColor = BrickColor.new("Medium stone grey")
2713
			H.CanCollide = false
2714
			H.Anchored = true
2715
			H.CFrame = hit.Parent.Head.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,1.55)
2716
			local H2 = Instance.new("SpecialMesh",H)
2717
			H2.MeshId = "rbxassetid://3270017"
2718
			coroutine.resume(coroutine.create(function()
2719
			for i = 3,90 do
2720
			ZQW2.Scale = ZQW2.Scale + Vector3.new(2.2,2.2,2.2)
2721
			ZQW.Transparency = ZQW.Transparency + 0.06
2722
			HQ2.Scale = HQ2.Scale + Vector3.new(3,3,3.2)
2723
			HQ.Transparency = HQ.Transparency + 0.05
2724
			H2.Scale = H2.Scale + Vector3.new(2.2,2.2,2.2)
2725
			H.Transparency = H.Transparency + 0.05
2726
			wait(0.00000000001)
2727
			end
2728
			HQ:Destroy()
2729
			H2:Destroy()
2730
			H:Destroy()
2731
			HQ2:Destroy()
2732
			ZQW:Destroy()
2733
			ZQW2:Destroy()
2734
			end))
2735
			wait(0.3)
2736
			end
2737
			end))
2738
				local Spinn = Instance.new("Part",char)
2739
				Spinn.Size = Vector3.new(1,1,1)
2740
				Spinn.BrickColor = BrickColor.new("New Yeller")
2741
				Spinn.CanCollide = false
2742
				Spinn.Transparency = 0.1
2743
				Spinn.Anchored = true
2744
				Spinn.Material = "Neon"
2745
				Spinn.CFrame = root.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
2746
				local Spinn2 = Instance.new("SpecialMesh",Spinn)
2747
				Spinn2.MeshId = "rbxassetid://881809484"
2748
				Spinn2.Scale = Vector3.new(20,20,20)	
2749
				coroutine.resume(coroutine.create(function()
2750
			for i = 3,300 do
2751
				Spinn.Transparency = Spinn.Transparency + 0.05
2752
					
2753
					Spinn.CFrame = Spinn.CFrame*CFrame.Angles(0.2,0.2,0.2)
2754
			wait(0.00000000001)
2755
			end
2756
			end))				
2757
2758
2759
			local Spinn = Instance.new("Part",char)
2760
				Spinn.Size = Vector3.new(1,1,1)
2761
				Spinn.BrickColor = BrickColor.new("New Yeller")
2762
				Spinn.CanCollide = false
2763
				Spinn.Transparency = 0.1
2764
				Spinn.Anchored = true
2765
				Spinn.Material = "Neon"
2766
				Spinn.CFrame = root.CFrame*CFrame.new(0,0,-10)*CFrame.Angles(0,0,0)
2767
				local Spinn2 = Instance.new("SpecialMesh",Spinn)
2768
				Spinn2.MeshType = 3
2769
				Spinn2.Scale = Vector3.new(6,6,35)	
2770
				coroutine.resume(coroutine.create(function()
2771
			for i = 3,300 do
2772
				Spinn.Transparency = Spinn.Transparency + 0.05
2773
					
2774
					
2775
			wait(0.00000000001)
2776
			end
2777
			end))			
2778
						
2779
			local SFXZ = Instance.new("Sound",hed)
2780
			SFXZ.SoundId = "rbxassetid://260430060"
2781
			SFXZ.Volume = 3
2782
			SFXZ.Pitch = 1
2783
			SFXZ.Looped = false
2784
			wait(0.01)
2785
			SFXZ:Play()
2786
			
2787
end
2788
SFXZ:Destroy()
2789
	end)
2790
		
2791
for i= 1,5 do
2792
		hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head
2793
		torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(-70), math.rad(0)), .5)--torso
2794
		rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0)), .5)--arm
2795
		larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.0,0.5,-0.8)*CFrame.Angles(math.rad(160),math.rad(70),math.rad(10)), .5)--arm
2796
		lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .5)--leg
2797
		rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)),.5)--leg
2798
	wait()
2799
		end
2800
		
2801
		coroutine.resume(coroutine.create(function()
2802
			wait(0.5)
2803
			Grab:remove()
2804
		end))
2805
		no_anim = false
2806
		Grab:Destroy()
2807
		wait(0)
2808
		D = false
2809
	end
2810
end
2811
function Hit2()
2812
	if not D then D = true
2813
		no_anim = true
2814
		local Grab = Instance.new("Part",rarm)
2815
	Grab.Size = Vector3.new(4,4,4)
2816
	Grab.CanCollide = false
2817
	Grab.BrickColor = BrickColor.new("Deep orange")
2818
	Grab.Transparency = math.huge
2819
	local Grabo = Instance.new("Weld",Grab)
2820
	Grabo.Part0 = rarm
2821
	Grabo.Part1 = Grab
2822
	Grabo.C0 = CFrame.new(0,-1.1,0)
2823
	local SFXZ = Instance.new("Sound",torso)
2824
			SFXZ.SoundId = "rbxassetid://169259383"
2825
			SFXZ.Volume = 1
2826
			SFXZ.Pitch = 1
2827
			SFXZ.Looped = false
2828
			wait(0.01)
2829
			SFXZ:Play()
2830
			
2831
	Grab.Touched:connect(function(hit)
2832
if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= plr.Character.Name then
2833
			Grab:Destroy()
2834
			SFXZ:Destroy()
2835
hit.Parent.Humanoid:TakeDamage(50)
2836
			local Cloud3 = Instance.new("Part",char)
2837
				Cloud3.Size = Vector3.new(1,1,1)
2838
				Cloud3.BrickColor = BrickColor.new("Medium stone grey")
2839
				Cloud3.Anchored = true
2840
				Cloud3.Material = "Neon"
2841
				Cloud3.CanCollide = false
2842
				Cloud3.CFrame = rarm.CFrame*CFrame.new(0,0,0)*CFrame.Angles(-1.55,0,0)
2843
				local Cloud4 = Instance.new("SpecialMesh",Cloud3)
2844
				Cloud4.MeshId = "rbxassetid://3270017"
2845
				Cloud4.Scale = Vector3.new(1,1,0.4)
2846
				
2847
				
2848
				
2849
					coroutine.resume(coroutine.create(function()
2850
			for i = 3,650 do
2851
			
2852
			
2853
			
2854
					
2855
	Cloud3.Transparency = Cloud3.Transparency + 0.03
2856
					Cloud4.Scale = Cloud4.Scale + Vector3.new(0.2,0.2,0.2)
2857
								
2858
					
2859
					
2860
					
2861
			wait(0.00000000001)
2862
			end
2863
			end))
2864
			local SFXZ = Instance.new("Sound",hed)
2865
			SFXZ.SoundId = "rbxassetid://260430060"
2866
			SFXZ.Volume = 3
2867
			SFXZ.Pitch = 1.2
2868
			SFXZ.Looped = false
2869
			wait(0.01)
2870
			SFXZ:Play()
2871
			
2872
end
2873
SFXZ:Destroy()
2874
	end)
2875
		for i = 1, 5 do
2876
		wait()
2877
2878
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(50),math.rad(0)), 0.8)--torso
2879
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.8)--rarm
2880
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-10)), 0.8)--larm
2881
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
2882
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
2883
		end
2884
		
2885
		coroutine.resume(coroutine.create(function()
2886
			wait(0.5)
2887
			Grab:remove()
2888
		end))
2889
		no_anim = false
2890
		Grab:Destroy()
2891
		wait(0)
2892
		D = false
2893
	end
2894
end
2895
2896
function HitFC()
2897
	if not D then D = true
2898
		animid = 5
2899
	no_anim = true
2900
		local Grab = Instance.new("Part",larm)
2901
	Grab.Size = Vector3.new(3,3,3)
2902
	Grab.CanCollide = false
2903
	Grab.BrickColor = BrickColor.new("Deep orange")
2904
	Grab.Transparency = math.huge
2905
	local Grabo = Instance.new("Weld",Grab)
2906
	Grabo.Part0 = larm
2907
	Grabo.Part1 = Grab
2908
	Grabo.C0 = CFrame.new(0,-1.1,0)
2909
	local SFXZ = Instance.new("Sound",torso)
2910
			SFXZ.SoundId = "rbxassetid://169259383"
2911
			SFXZ.Volume = 1
2912
			SFXZ.Pitch = 1.5
2913
			SFXZ.Looped = false
2914
			wait(0.01)
2915
			SFXZ:Play()
2916
			
2917
	Grab.Touched:connect(function(hit)
2918
if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= plr.Character.Name then
2919
			Grab:Destroy()
2920
			SFXZ:Destroy()
2921
hit.Parent.Humanoid:TakeDamage(250)
2922
			local Cloud3 = Instance.new("Part",char)
2923
				Cloud3.Size = Vector3.new(1,1,1)
2924
				Cloud3.BrickColor = BrickColor.new("Medium stone grey")
2925
				Cloud3.Anchored = true
2926
				Cloud3.Material = "Neon"
2927
				Cloud3.CanCollide = false
2928
				Cloud3.CFrame = larm.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0)
2929
				local Cloud4 = Instance.new("SpecialMesh",Cloud3)
2930
				Cloud4.MeshId = "rbxassetid://3270017"
2931
				Cloud4.Scale = Vector3.new(1.6,1.6,0.4)
2932
				
2933
				
2934
				
2935
					coroutine.resume(coroutine.create(function()
2936
			for i = 3,650 do
2937
			
2938
			
2939
			
2940
					
2941
	Cloud3.Transparency = Cloud3.Transparency + 0.03
2942
					Cloud4.Scale = Cloud4.Scale + Vector3.new(0.5,0.5,0.5)
2943
								
2944
					
2945
					
2946
					
2947
			wait(0.00000000001)
2948
			end
2949
			end))
2950
			local SFXZ = Instance.new("Sound",hed)
2951
			SFXZ.SoundId = "rbxassetid://260430060"
2952
			SFXZ.Volume = 3
2953
			SFXZ.Pitch = 1
2954
			SFXZ.Looped = false
2955
			wait(0.01)
2956
			SFXZ:Play()
2957
			
2958
end
2959
SFXZ:Destroy()
2960
	end)
2961
		
2962
for i = 1, 2 do
2963
		wait()
2964
2965
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(-80),math.rad(0)), 0.8)--torso
2966
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(10)), 0.8)--rarm
2967
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.8)--larm
2968
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
2969
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
2970
		end
2971
		
2972
		coroutine.resume(coroutine.create(function()
2973
			wait(0.5)
2974
			Grab:remove()
2975
		end))
2976
		no_anim = false
2977
		Grab:Destroy()
2978
		wait(0)
2979
		D = false
2980
	end
2981
end
2982
function HitFC2()
2983
	if not D then D = true
2984
		no_anim = true
2985
		local Grab = Instance.new("Part",rarm)
2986
	Grab.Size = Vector3.new(3,3,3)
2987
	Grab.CanCollide = false
2988
	Grab.BrickColor = BrickColor.new("Deep orange")
2989
	Grab.Transparency = math.huge
2990
	local Grabo = Instance.new("Weld",Grab)
2991
	Grabo.Part0 = rarm
2992
	Grabo.Part1 = Grab
2993
	Grabo.C0 = CFrame.new(0,-1.1,0)
2994
	local SFXZ = Instance.new("Sound",torso)
2995
			SFXZ.SoundId = "rbxassetid://169259383"
2996
			SFXZ.Volume = 1
2997
			SFXZ.Pitch = 1
2998
			SFXZ.Looped = false
2999
			wait(0.01)
3000
			SFXZ:Play()
3001
			
3002
	Grab.Touched:connect(function(hit)
3003
if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= plr.Character.Name then
3004
			Grab:Destroy()
3005
			SFXZ:Destroy()
3006
hit.Parent.Humanoid:TakeDamage(250)
3007
			local Cloud3 = Instance.new("Part",char)
3008
				Cloud3.Size = Vector3.new(1,1,1)
3009
				Cloud3.BrickColor = BrickColor.new("Medium stone grey")
3010
				Cloud3.Anchored = true
3011
				Cloud3.Material = "Neon"
3012
				Cloud3.CanCollide = false
3013
				Cloud3.CFrame = rarm.CFrame*CFrame.new(0,0,0)*CFrame.Angles(-1.55,0,0)
3014
				local Cloud4 = Instance.new("SpecialMesh",Cloud3)
3015
				Cloud4.MeshId = "rbxassetid://3270017"
3016
				Cloud4.Scale = Vector3.new(1.6,1.6,0.4)
3017
				
3018
				
3019
				
3020
					coroutine.resume(coroutine.create(function()
3021
			for i = 3,650 do
3022
			
3023
			
3024
			
3025
					
3026
	Cloud3.Transparency = Cloud3.Transparency + 0.03
3027
					Cloud4.Scale = Cloud4.Scale + Vector3.new(0.5,0.5,0.2)
3028
								
3029
					
3030
					
3031
					
3032
			wait(0.00000000001)
3033
			end
3034
			end))
3035
			local SFXZ = Instance.new("Sound",hed)
3036
			SFXZ.SoundId = "rbxassetid://260430060"
3037
			SFXZ.Volume = 3
3038
			SFXZ.Pitch = 1.2
3039
			SFXZ.Looped = false
3040
			wait(0.01)
3041
			SFXZ:Play()
3042
			
3043
end
3044
SFXZ:Destroy()
3045
	end)
3046
		for i = 1, 2 do
3047
		wait()
3048
3049
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(50),math.rad(0)), 0.8)--torso
3050
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.8)--rarm
3051
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-10)), 0.8)--larm
3052
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
3053
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
3054
		end
3055
		
3056
		coroutine.resume(coroutine.create(function()
3057
			wait(0.5)
3058
			Grab:remove()
3059
		end))
3060
		no_anim = false
3061
		Grab:Destroy()
3062
		wait(0)
3063
		D = false
3064
	end
3065
end
3066
3067
3068
3069
3070
mouse.KeyDown:connect(function(key)
3071
    if key == '1' then
3072
	no_anim = true
3073
	local Aura = Instance.new("ParticleEmitter",Stone4)
3074
Aura.Texture = "rbxassetid://271370648"
3075
Aura.Color = ColorSequence.new(BrickColor.new("Really red").Color)
3076
Aura.EmissionDirection = "Top"
3077
Aura.Speed = NumberRange.new(0)
3078
Aura.Size = NumberSequence.new(2.5)
3079
Aura.Transparency = NumberSequence.new(0,1)
3080
Aura.Drag = 0.4
3081
Aura.LightInfluence = 0
3082
Aura.LockedToPart = true
3083
Aura.Lifetime = NumberRange.new(0.9)
3084
Aura.Rate = 60
3085
Aura.LightEmission = 0.6
3086
Aura.Rotation = NumberRange.new(-360,360)
3087
Aura.VelocitySpread = 0
3088
Aura.Acceleration = Vector3.new(0,0,0)	
3089
Aura.ZOffset = 0.2
3090
LockOn()
3091
for i = 1, 20 do
3092
		wait()
3093
	
3094
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
3095
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-0.5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--rarm
3096
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(90),math.rad(-50),math.rad(0)), 0.8)--larm
3097
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
3098
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
3099
end
3100
no_anim = false
3101
Aura.Rate = 0
3102
end
3103
end)
3104
3105
mouse.KeyDown:connect(function(key)
3106
    if key == '2' then
3107
Bring()
3108
end
3109
end)
3110
3111
function LockOn()
3112
if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
3113
TargetSelect(mouse.Target.Parent)
3114
Rock(mouse.Target.Parent)
3115
end
3116
end
3117
3118
3119
function Bring()
3120
if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
3121
TargetSelect(mouse.Target.Parent)
3122
3123
end
3124
end
3125
function swait(num)
3126
	if num == 0 or num == nil then
3127
		ArtificialHB.Event:wait()
3128
	else
3129
		for i = 0, num do
3130
			ArtificialHB.Event:wait()
3131
		end
3132
	end
3133
end
3134
3135
	ArtificialHB = Instance.new("BindableEvent", script)
3136
ArtificialHB.Name = "Heartbeat"
3137
3138
script:WaitForChild("Heartbeat")
3139
3140
function TargetSelect(person)
3141
local dd=coroutine.wrap(function()
3142
if targetted ~= person then
3143
targetted = person
3144
for i = 0, 2, 0.1 do
3145
swait()
3146
end
3147
end
3148
end)
3149
dd()
3150
end 
3151
local RbxUtility = LoadLibrary("RbxUtility")
3152
local Create = RbxUtility.Create
3153
function HomingAttack()
3154
3155
3156
3157
3158
if targetted == nil then
3159
3160
end
3161
3162
3163
				 targetted.Head.CFrame = root.CFrame * CFrame.new(0,1.5,-3.1)
3164
			
3165
			
3166
		
3167
				
3168
 
3169
end
3170
mouse.KeyDown:connect(function(key)
3171
    if key == '3'  then
3172
HomingAttack()
3173
end
3174
end)
3175
3176
function laz0r()
3177
3178
local Position = nil
3179
if animid == 0 then
3180
Position = NeckS.Position
3181
else
3182
Position = NeckS.Position
3183
end
3184
3185
local Part1 = Instance.new("Part")
3186
local mesh2 = Instance.new("SpecialMesh",Part1)
3187
mesh2.MeshId = "rbxassetid://559831844"
3188
mesh2.Scale = Vector3.new(0,0,0.4)
3189
Part1.Material = Enum.Material.Neon
3190
Part1.CanCollide = false
3191
Part1.BrickColor = BrickColor.new("White")
3192
Part1.Parent = DebrisModel
3193
Part1.Size = Vector3.new(0,0,0)
3194
Part1.Anchored = true
3195
Part1.CFrame = CFrame.new(Position)
3196
Part1.Name = "EXPLOSION3"
3197
3198
local Part0 = Instance.new("Part",DebrisModel)
3199
Part0.Name = "Bullet"
3200
Part0.Material = Enum.Material.Neon
3201
Part0.BrickColor = BrickColor.new("Magenta")
3202
Part0.Anchored = true
3203
local mesh = Instance.new("SpecialMesh",Part0)
3204
mesh.MeshType = Enum.MeshType.Sphere
3205
Part0.CanCollide = false
3206
local Target = mouse.Hit.p
3207
local direction = Target - Position
3208
local direction = computeDirection(direction)
3209
local ray = Ray.new(Position, (Target).unit*1048)
3210
local part, endPoint = workspace:FindPartOnRay(ray, char)
3211
Part0.Size = Vector3.new(9,1,9)
3212
mesh.Scale = Vector3.new(1,(Position-endPoint).magnitude,1)
3213
local pos = Position + (direction * (mesh.Scale.Y/2))
3214
Part0.CFrame = CFrame.new(pos,  pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
3215
3216
clashpart = Instance.new("Part",DebrisModel)
3217
clashpart.Size = Vector3.new(50,50,50)
3218
clashpart.CanCollide = false
3219
clashpart.Anchored = true
3220
clashpart.Transparency = 1
3221
clashpart.BrickColor = BrickColor.new("Magenta")
3222
clashpart.Name = "StarLightClash"
3223
clashpart.CFrame = CFrame.new(endPoint, mouse.Hit.p)
3224
3225
3226
3227
local z = 10
3228
for i = 1,100 do rs:wait()
3229
if animid == 0 then
3230
	root.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.p.X, mouse.Hit.p.Y, mouse.Hit.p.Z))
3231
Position = root.Position
3232
else
3233
	root.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.p.X, mouse.Hit.p.Y, mouse.Hit.p.Z))
3234
Position = root.Position
3235
end
3236
3237
local Target = mouse.Hit.p
3238
local direction = Target - Position
3239
local direction = computeDirection(direction)
3240
local ray = Ray.new(Position, (Target-Position).unit*1048)
3241
local part, endPoint = workspace:FindPartOnRay(ray, char)
3242
Part0.Size = Vector3.new(5-((i/100)*5),1,5-((i/100)*5))
3243
mesh.Scale = Vector3.new(1,(Position-endPoint).magnitude,1)
3244
mesh.Offset = Vector3.new(math.random(-10000,10000)/20000,math.random(-10000,10000)/20000,0)
3245
local pos = Position + (direction * (mesh.Scale.Y/0))
3246
Part0.CFrame = CFrame.new(pos,  pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
3247
clashpart.CFrame = CFrame.new(endPoint, root.Position)
3248
3249
local Position = mouse.Hit.p
3250
local Target = root.Position
3251
local direction = Target - Position
3252
local direction = computeDirection(direction)
3253
root.Velocity = direction * 5
3254
3255
if i >= z then z = i + 10 sound(explosionid[math.random(1,#explosionid)],endPoint,10,math.random(6,9)/10,200) end
3256
3257
Part1 = Part0:Clone()
3258
Part1.Parent = DebrisModel
3259
Part1.BrickColor = BrickColor.new("Magenta")
3260
Part1.Name = "SMOKE2"
3261
3262
if part ~= nil then
3263
if part.Name == "StarLightClash" then
3264
local asdf = math.random(0,5)*20
3265
local Part1 = Instance.new("Part")
3266
local mesh2 = Instance.new("SpecialMesh",Part1)
3267
mesh2.MeshType = Enum.MeshType.Sphere
3268
mesh2.Scale = Vector3.new(0,0,0)
3269
Part1.Material = Enum.Material.Neon
3270
Part1.CanCollide = false
3271
Part1.BrickColor = BrickColor.new("Magenta")
3272
Part1.Size = Vector3.new(asdf,asdf,asdf)
3273
Part1.Anchored = true
3274
local a = 1.5
3275
Part1.CFrame = CFrame.new(endPoint + Vector3.new(math.random(-2,2)*a,math.random(-4,4),math.random(-2,2)*a))
3276
Part1.Name = "EXPLOSION"
3277
else
3278
local asdf = math.random(0,5)*10
3279
local Part1 = Instance.new("Part")
3280
local mesh2 = Instance.new("SpecialMesh",Part1)
3281
mesh2.MeshType = Enum.MeshType.Sphere
3282
mesh2.Scale = Vector3.new(0,0,0)
3283
Part1.Material = Enum.Material.Neon
3284
Part1.CanCollide = false
3285
Part1.BrickColor = BrickColor.new("Magenta")
3286
Part1.Parent = DebrisModel
3287
Part1.Size = Vector3.new(asdf,asdf,asdf)
3288
Part1.Anchored = true
3289
local a = 1.5
3290
Part1.CFrame = CFrame.new(endPoint + Vector3.new(math.random(-2,2)*a,math.random(-4,4),math.random(-2,2)*a))
3291
Part1.Name = "EXPLOSION"
3292
end
3293
end
3294
3295
for i,v in pairs(findAllNearestTorso(endPoint,50)) do
3296
if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 100000000000000000000000000000000000 then
3297
v:Destroy()
3298
else
3299
v.Parent:BreakJoints()
3300
end
3301
local Position = mouse.Hit.p
3302
local Target = v.Position
3303
local direction = Target - Position
3304
local direction = computeDirection(direction)
3305
local bv = Instance.new("BodyVelocity",v)
3306
bv.Velocity = direction * (10 - ((Position - Target).magnitude/2))
3307
debris:AddItem(bv,1)
3308
end
3309
3310
end
3311
clashpart:Destroy()
3312
Part0:Destroy()
3313
wait(0.3)
3314
aiming_anim = false
3315
delay(0.3,function() debounce = false end)
3316
end
3317
3318
3319
mouse.KeyDown:connect(function(k)
3320
if k == "u" and Mode == false then
3321
	
3322
	animid = 5
3323
	no_anim = true
3324
	hum.WalkSpeed = 0
3325
	
3326
	
3327
	
3328
		for i = 1, 30 do
3329
		wait()
3330
	
3331
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
3332
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-0.2)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--rarm
3333
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(150),math.rad(-50),math.rad(0)), 0.8)--larm
3334
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
3335
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
3336
		end
3337
		wait(2)
3338
		local Grab = Instance.new("Part",hed)
3339
	Grab.Size = Vector3.new(3.9,5,3.9)
3340
	Grab.CanCollide = false
3341
	Grab.BrickColor = BrickColor.new("Deep orange")
3342
	Grab.Transparency = 1
3343
	local Grabo = Instance.new("Weld",Grab)
3344
	Grabo.Part0 = hed
3345
	Grabo.Part1 = Grab
3346
	Grabo.C0 = CFrame.new(0,-1.5,0)
3347
	
3348
local AuraB = Instance.new("Part",hed)
3349
	AuraB.Size = Vector3.new(2,1,2)
3350
	AuraB.CanCollide = false
3351
	AuraB.BrickColor = BrickColor.new("Deep orange")
3352
	AuraB.Transparency = 1
3353
	local AuraBo = Instance.new("Weld",AuraB)
3354
	AuraBo.Part0 = hed
3355
	AuraBo.Part1 = AuraB
3356
	AuraBo.C0 = CFrame.new(0,-3.6,0)
3357
	
3358
	local FZcharge3 = Instance.new("ParticleEmitter",Grab)
3359
FZcharge3.Texture = "rbxassetid://249481494"
3360
FZcharge3.Color = ColorSequence.new(Color3.fromRGB(0, 0, 255))
3361
FZcharge3.EmissionDirection = "Top"
3362
FZcharge3.Speed = NumberRange.new(2)
3363
FZcharge3.Size = NumberSequence.new(4,0)
3364
FZcharge3.Transparency = NumberSequence.new(0,1)
3365
FZcharge3.Drag = 1.2
3366
FZcharge3.LockedToPart = true
3367
FZcharge3.Lifetime = NumberRange.new(1)
3368
FZcharge3.Rate = 195
3369
FZcharge3.LightEmission = 0.3
3370
FZcharge3.Rotation = NumberRange.new(-360,360)
3371
FZcharge3.VelocitySpread = 0.2	
3372
FZcharge3.ZOffset = 2.5
3373
wait(1)
3374
FZcharge3.Rate = 0
3375
UltimateBattle.Volume = 0
3376
hed:FindFirstChildOfClass("Decal").Texture = "rbxassetid://"
3377
for i,v in pairs(char:GetChildren()) do
3378
if v ~= root then
3379
if v:IsA("Part") then
3380
v.Transparency = 1
3381
elseif v:IsA("Accoutrement") then
3382
v:FindFirstChildOfClass("Part").Transparency = 1
3383
end
3384
end
3385
end
3386
for i,v in pairs(NeckS:GetChildren()) do
3387
if v ~= root then
3388
if v:IsA("Part") then
3389
v.Transparency = 1
3390
elseif v:IsA("Accoutrement") then
3391
v:FindFirstChildOfClass("Part").Transparency = 1
3392
end
3393
end
3394
end
3395
3396
wait(2.2)
3397
FZcharge3.Rate = 195
3398
root.CFrame = mouse.Hit * CFrame.new(0, 3, 0)
3399
3400
for i,v in pairs(char:GetChildren()) do
3401
if v ~= root then
3402
if v:IsA("Part") then
3403
v.Transparency = 0
3404
elseif v:IsA("Accoutrement") then
3405
v:FindFirstChildOfClass("Part").Transparency = 0
3406
end
3407
end
3408
end
3409
for i,v in pairs(NeckS:GetChildren()) do
3410
if v ~= root then
3411
if v:IsA("Part") then
3412
v.Transparency = 0
3413
elseif v:IsA("Accoutrement") then
3414
v:FindFirstChildOfClass("Part").Transparency = 0
3415
end
3416
end
3417
end
3418
hed:FindFirstChildOfClass("Decal").Texture = "rbxassetid://254640655"
3419
wait(1)
3420
UltimateBattle.Volume = 5
3421
FZcharge3.Rate = 0
3422
hum.WalkSpeed = 16
3423
wait(1)
3424
Grab:Destroy()
3425
no_anim = false
3426
end
3427
end)
3428
mouse.KeyDown:connect(function(k)
3429
if k == "u" and Mode == true then
3430
	
3431
	
3432
root.CFrame = mouse.Hit * CFrame.new(0, 3, 0)
3433
3434
3435
end
3436
end)
3437
-------------------------------------------------------
3438
3439
mouse.KeyDown:connect(function(k)
3440
if k == "z" then
3441
	local FZcharge3 = Instance.new("ParticleEmitter",Stone6)
3442
FZcharge3.Texture = "rbxassetid://165211997"
3443
FZcharge3.Color = ColorSequence.new(Color3.fromRGB(0, 255, 0))
3444
FZcharge3.EmissionDirection = "Top"
3445
FZcharge3.Speed = NumberRange.new(8)
3446
FZcharge3.Size = NumberSequence.new(0.5,0)
3447
FZcharge3.Transparency = NumberSequence.new(0,1)
3448
FZcharge3.Drag = 1.2
3449
FZcharge3.LockedToPart = false
3450
FZcharge3.Lifetime = NumberRange.new(0.5)
3451
FZcharge3.Rate = 195
3452
FZcharge3.LightEmission = 1
3453
FZcharge3.VelocitySpread = 100
3454
FZcharge3.Rotation = NumberRange.new(-360,360)
3455
FZcharge3.VelocitySpread = 100.2	
3456
FZcharge3.ZOffset = 1
3457
	local CHAINLINKS = {}
3458
	local POS = mouse.Hit.p
3459
	local CHAINS = false
3460
	local CHAINLINKS = {}
3461
	local A = Instance.new("Attachment",NeckS)
3462
	A.Position = Vector3.new(0.3,0,0)*Player_Size
3463
	A.Orientation = Vector3.new(-90, -89.982, 0)
3464
	local B = Instance.new("Attachment",NeckS)
3465
	B.Position = Vector3.new(-0.3,0,0)*Player_Size
3466
	B.Orientation = Vector3.new(-90, 89.988, 0)
3467
	local C = Instance.new("Attachment",NeckS)
3468
	C.Position = Vector3.new(0.3,-0.1,0)*Player_Size
3469
	C.Orientation = Vector3.new(-90, -89.982, 0)
3470
	local D = Instance.new("Attachment",NeckS)
3471
	D.Position = Vector3.new(-0.3,-0.3,0)*Player_Size
3472
	D.Orientation = Vector3.new(-90, 89.988, 0)
3473
	local LIGHT = Instance.new("Attachment",NeckS)
3474
	LIGHT.Position = Vector3.new(0.3,-0,0)*Player_Size
3475
	local LIGHT2 = Instance.new("PointLight",larm)
3476
	LIGHT2.Range = 6
3477
	LIGHT2.Brightness = 20
3478
	LIGHT2.Color = Color3.new(0, 255, 0)
3479
	for i = 1, 2 do
3480
		local TWIST = -2
3481
		local START = A
3482
		local END = B
3483
		if i == 1 then
3484
			START = B
3485
			END = A
3486
		end
3487
	local ChainLink = Instance.new("Beam",torso)
3488
		ChainLink.Texture = "rbxassetid://165211997"
3489
		ChainLink.Color = ColorSequence.new(Color3.fromRGB(0, 255, 0))
3490
		ChainLink.TextureSpeed = 5
3491
		ChainLink.Width0 = 1
3492
		ChainLink.Width1 = 1
3493
		ChainLink.TextureLength = 1.5
3494
		ChainLink.Attachment0 = START
3495
		ChainLink.Attachment1 = END
3496
		ChainLink.CurveSize0 = TWIST
3497
		ChainLink.CurveSize1 = TWIST
3498
		--ChainLink.FaceCamera = true
3499
		ChainLink.Segments = 45
3500
		ChainLink.Transparency = NumberSequence.new(0)
3501
		table.insert(CHAINLINKS,ChainLink)
3502
	end
3503
	coroutine.resume(coroutine.create(function()
3504
			for i = 3,80000000000000000000000000000 do 
3505
	hum.Health = hum.MaxHealth
3506
			
3507
			
3508
			coroutine.resume(coroutine.create(function()
3509
			for i = 1,15 do
3510
			
3511
			wait(0.00000000001)
3512
			end
3513
			
3514
			
3515
				
3516
			end))
3517
			wait(0.06)
3518
			end
3519
	end))
3520
	
3521
end
3522
end)
3523
3524
mouse.KeyDown:connect(function(k)
3525
if k == "k" then
3526
	no_anim = true
3527
	local FlyAt = Instance.new("Attachment",NeckS)FlyAt.Position = Vector3.new(0,0.5,0)
3528
local FlyAt2 = Instance.new("Attachment",NeckS)FlyAt2.Position = Vector3.new(0,-0.5,0)
3529
local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2
3530
Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 0.3 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
3531
Speed.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0)) Speed.LightEmission = 5
3532
	for i = 1,7 do
3533
		hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head
3534
		torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10), math.rad(20), math.rad(0)), .5)--torso
3535
		rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), .5)--arm
3536
		larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)), .5)--arm
3537
		lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), .5)--leg
3538
		rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.5)--leg
3539
		wait()
3540
		end
3541
	wait(0.7)
3542
	local Grab = Instance.new("Part",NeckS)
3543
	Grab.Size = Vector3.new(4,4,4)
3544
	Grab.CanCollide = false
3545
	Grab.BrickColor = BrickColor.new("Deep orange")
3546
	Grab.Transparency = math.huge
3547
	local Grabo = Instance.new("Weld",Grab)
3548
	Grabo.Part0 = larm
3549
	Grabo.Part1 = Grab
3550
	Grabo.C0 = CFrame.new(0,-0.1,0)
3551
	Grab.Touched:connect(function(hit)
3552
	if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= player.Character.Name then
3553
		Grab:Destroy()	
3554
		no_anim = true
3555
		local SFXZ = Instance.new("Sound",root)
3556
			SFXZ.SoundId = "rbxassetid://1699290293"
3557
			SFXZ.Volume = 7
3558
			SFXZ.Pitch = 1
3559
			SFXZ.Looped = false
3560
			wait(0.01)
3561
			SFXZ:Play()
3562
			hit.Parent:BreakJoints()
3563
Snap(hit.Parent)
3564
3565
3566
3567
			
3568
		end
3569
	end)
3570
	for i= 1,10 do
3571
		hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head
3572
		torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(-70), math.rad(0)), .5)--torso
3573
		rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0)), .5)--arm
3574
		larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.0,0.5,-0.8)*CFrame.Angles(math.rad(160),math.rad(70),math.rad(10)), .5)--arm
3575
		lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .5)--leg
3576
		rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)),.5)--leg
3577
	wait()
3578
		end
3579
	FlyAt:Destroy()
3580
	no_anim = false
3581
	
3582
end
3583
end)
3584
3585
3586
mouse.KeyDown:connect(function(k)
3587
if k == "y" then
3588
	instinct = false
3589
	animid = 5
3590
	no_anim = true
3591
	
3592
	local sbs = Instance.new("BodyPosition", torso)
3593
        sbs.P = 9000
3594
        sbs.D = 1000
3595
        sbs.maxForce = Vector3.new(900000, 900000000, 900000)
3596
        sbs.position = torso.CFrame.p + Vector3.new(0, 10, 0)
3597
	for i = 1, 20 do
3598
		wait()
3599
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(0)), 0.8)--head
3600
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
3601
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(-50)), 0.8)--rarm
3602
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(20),math.rad(50)), 0.8)--larm
3603
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.5, -0.5) * CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0)), 0.8)--lleg
3604
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.5, -0.5) * CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), 0.8)--rleg
3605
	end
3606
	coroutine.resume(coroutine.create(function()
3607
			for i = 3,8 do 
3608
			local Ball = Instance.new("Part",char)
3609
			Ball.Size = Vector3.new(1,1,1)
3610
			Ball.BrickColor = BrickColor.new("Magenta")
3611
			Ball.Material = "Neon"
3612
			Ball.Anchored = true
3613
			Ball.CanCollide = false
3614
			Ball.Transparency = 0
3615
			Ball.CFrame = torso.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
3616
			local Ball2 = Instance.new("SpecialMesh",Ball)
3617
			Ball2.MeshType = 3
3618
			Ball2.Scale = Vector3.new(2,2,2)
3619
		
3620
	
3621
			
3622
			
3623
			coroutine.resume(coroutine.create(function()
3624
			for i = 1,15 do
3625
			Ball2.Scale = Ball2.Scale + Vector3.new(19.4,19.4,19.4)
3626
			Ball.Transparency = Ball.Transparency + 0.06
3627
			wait(0.00000000001)
3628
			end
3629
			Ball:Destroy()
3630
			
3631
				
3632
			end))
3633
			wait(0.06)
3634
			end
3635
	end))
3636
	root.Anchored = true
3637
	g = Instance.new("Explosion")
3638
	g.Parent = workspace
3639
g.Position = root.Position
3640
g.BlastRadius = 90
3641
g.BlastPressure = 4000200
3642
g.Visible = false
3643
	for i = 1, 70 do
3644
		wait()
3645
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(0)), 0.8)--head
3646
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
3647
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,1,0)*CFrame.Angles(math.rad(90),math.rad(-50),math.rad(50)), 0.8)--rarm
3648
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,1,0)*CFrame.Angles(math.rad(90),math.rad(50),math.rad(-50)), 0.8)--larm
3649
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-10)), 0.8)--lleg
3650
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
3651
		end
3652
	wait(0.2)
3653
3654
	sbs:Destroy()
3655
	no_anim = false
3656
	root.Anchored = false
3657
3658
end
3659
end)
3660
local deb = false
3661
function smooth(obj)
3662
	local sides = {"Left", "Right", "Top", "Bottom", "Front", "Back"}
3663
	for i,v in pairs(sides) do
3664
		obj[v.."Surface"] = "SmoothNoOutlines"
3665
	end
3666
end
3667
local multiplier = 1000000000000000000000000000000000000000000000000000000000000000000000000000000000
3668
function hurt(hit, dmg)
3669
	if hit.Parent then
3670
		if hit.Parent.Name == "box" then print("bocks!11") hit.Parent:Destroy() end
3671
		local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
3672
		if hum then
3673
			if hum.Parent.Name ~= plr.Name then
3674
				if dmg == "Kill" or hum.Health > 100000 then
3675
					hit.Parent:BreakJoints()
3676
					return true
3677
				else
3678
					if math.random(0, 100) == 50 then
3679
						hit.Parent:BreakJoints()
3680
					else
3681
						hit.Parent:BreakJoints()
3682
					end
3683
					return true
3684
				end
3685
			end
3686
		end
3687
	end
3688
end
3689
local push = 100
3690
local huge = Vector3.new(math.huge,math.huge,math.huge)
3691
function gethum(obj)
3692
	if obj.Parent then
3693
		if obj.Parent:FindFirstChild("Humanoid") then
3694
			if obj.Parent.Name ~= plr.Name then
3695
				return obj.Parent:FindFirstChildOfClass("Humanoid")
3696
			end
3697
		end
3698
	end
3699
end
3700
3701
mouse.KeyDown:connect(function(key)
3702
	if key == "p" and not deb and not attacking then
3703
		deb = true
3704
		no_anim = true
3705
3706
	local Aura = Instance.new("ParticleEmitter",Stone2)
3707
Aura.Texture = "rbxassetid://271370648"
3708
Aura.Color = ColorSequence.new(BrickColor.new("Magenta").Color)
3709
Aura.EmissionDirection = "Top"
3710
Aura.Speed = NumberRange.new(0)
3711
Aura.Size = NumberSequence.new(2.5)
3712
Aura.Transparency = NumberSequence.new(0,1)
3713
Aura.Drag = 0.4
3714
Aura.LightInfluence = 0
3715
Aura.LockedToPart = true
3716
Aura.Lifetime = NumberRange.new(0.9)
3717
Aura.Rate = 60
3718
Aura.LightEmission = 0.6
3719
Aura.Rotation = NumberRange.new(-360,360)
3720
Aura.VelocitySpread = 0
3721
Aura.Acceleration = Vector3.new(0,0,0)	
3722
Aura.ZOffset = 0.2
3723
	
3724
	for i = 1, 10 do
3725
		wait()
3726
	
3727
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
3728
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-0.2)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--rarm
3729
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(150),math.rad(-50),math.rad(0)), 0.8)--larm
3730
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
3731
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
3732
	end
3733
	Aura.Rate = 0
3734
		
3735
		for i = 0, 10 do
3736
			spawn(function()
3737
				local p = Instance.new("Part")
3738
				p.Anchored = true
3739
				p.CanCollide = false
3740
				p.CFrame = char.Torso.CFrame *CFrame.new(math.random(-12,12),-10,math.random(-12,12))
3741
				smooth(p)
3742
				p.BrickColor = BrickColor.DarkGray()
3743
				p.Material = Enum.Material.Slate
3744
				p.Size = Vector3.new(9,9,9)
3745
				p.Transparency = 0
3746
				
3747
				p.Parent = workspace
3748
				local FlyAt = Instance.new("Attachment",p)FlyAt.Position = Vector3.new(0,2.5,0)
3749
local FlyAt2 = Instance.new("Attachment",p)FlyAt2.Position = Vector3.new(0,-2.5,0)
3750
local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2
3751
Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 0.3 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
3752
Speed.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248)) Speed.LightEmission = 5
3753
				local endcf = p.CFrame *CFrame.new(0,30,0)
3754
				for i = 0, 20 do
3755
					p.CFrame = p.CFrame:Lerp(endcf, 0.3)
3756
					wait()
3757
				end
3758
				local z = Instance.new("Part")
3759
				z.CFrame = p.CFrame
3760
				z.CFrame = CFrame.new(z.Position, mouse.Hit.p)
3761
				local bv = Instance.new("BodyVelocity", p)
3762
				bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
3763
				bv.Velocity = z.CFrame.lookVector*140
3764
				p.Anchored = false
3765
				z:Destroy()
3766
				p.CanCollide = false
3767
				local connection
3768
				spawn(function()
3769
					local angle = CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10)))
3770
					repeat wait()
3771
						p.CFrame = p.CFrame *angle
3772
					until not p or p.CanCollide
3773
				end)
3774
				
3775
				connection = p.Touched:connect(function(hit)
3776
					hurt(hit, math.random(5,5))
3777
					if not hit.Anchored and hit.Parent.Name ~= plr.Name and hit.Parent.ClassName ~= "Accessory" then
3778
						p.CanCollide = true
3779
					end
3780
				end)
3781
				game.Debris:AddItem(p, 5)
3782
			end)
3783
			
3784
			wait()
3785
			deb = false
3786
			no_anim = false
3787
		end
3788
	end
3789
end)
3790
function doBrick(parent,pos,cf,size,colour,material,transparency,a,cc,bs,bts,fs,ls,rs,ts)
3791
local p=Instance.new('Part',parent);p.BrickColor=colour;p.Material=material;p.Transparency=transparency;p.Anchored=a;p.CanCollide=cc;p.FormFactor="Custom";p.Size=size;p.BackSurface=bs;p.BottomSurface=bts;p.FrontSurface=fs;p.LeftSurface=ls;p.RightSurface=rs;p.TopSurface=ts;p.Position=pos;p.CFrame=p.CFrame*cf;
3792
return p
3793
end
3794
3795
function doMesh(parent,meshType,meshId,scale)
3796
local m=Instance.new('SpecialMesh',parent);m.MeshType=meshType;m.MeshId=meshId;m.Scale=scale
3797
return m
3798
end
3799
local EP=Instance.new("Model",char)
3800
function magicBrick(pos,cf,size,colour,material,transparency,a,cc,bs,bts,fs,ls,rs,ts,meshType,meshId,scale,scaleAdd,loop,loopTransparency,repeatloop,repeatLoopWait,loopCFrame)
3801
	local cw1=coroutine.wrap(function()
3802
		for i=1,repeatloop do
3803
			local x=doBrick(EP,pos,cf,size,colour,material,transparency,a,cc,bs,bts,fs,ls,rs,ts)
3804
			local z=doMesh(x,meshType,meshId,scale)
3805
			
3806
			local cw2=coroutine.wrap(function()
3807
				for i=1,loop do
3808
					if loopTransparency then
3809
						x.Transparency=i/loop
3810
						z.Scale=z.Scale+scaleAdd
3811
						x.CFrame=x.CFrame*loopCFrame
3812
						wait()
3813
					else
3814
						z.Scale=z.Scale+scaleAdd
3815
						x.CFrame=x.CFrame*loopCFrame
3816
					end
3817
				end
3818
				x:Destroy()
3819
			end)
3820
			cw2()
3821
			swait(repeatLoopWait)
3822
		end
3823
	end)
3824
	cw1()
3825
end
3826
if MUI == true then
3827
		
3828
			speed=0.15
3829
			sound(438666277,2,1.5,torso)
3830
			coroutine.resume(coroutine.create(function()
3831
				for i=1,20 do
3832
					magicBrick(Vector3.new(0,0,0),torso.CFrame*CFrame.Angles(math.random(1,50),math.random(1,50),math.random(1,50)),Vector3.new(1,1,1),BrickColor.new("Institutional white"),"Neon",0,true,false,10,10,10,10,10,10,"FileMesh","http://www.roblox.com/asset/?id=3270017",Vector3.new(math.random(10,15),math.random(20,30),0.2),Vector3.new(-2,-2,0),16,true,1,0,CFrame.new(0,0,0)*CFrame.Angles(0.2,0,0))
3833
					swait(3)
3834
				end
3835
			end))
3836
			for i=0,1,0.1*speed do
3837
				if lastAnim~=thisAnim then break end
3838
				
3839
				
3840
					
3841
				swait()
3842
			end
3843
			
3844
			doingMove=true		
3845
			
3846
			coroutine.resume(coroutine.create(function()
3847
				for i=1,200 do
3848
					magicBrick(Vector3.new(0,0,0),torso.CFrame*CFrame.new(0,0,0)*CFrame.new(math.random(1,5),math.random(1,5),math.random(1,5))*CFrame.new(-5/2,-5/2,-5/2),Vector3.new(1,1,1),BrickColor.new("Institutional white"),"Neon",0,true,false,10,10,10,10,10,10,"Brick","",Vector3.new(1,1,1),Vector3.new(-0.2,-0.2,-0.2),15,true,1,0,CFrame.new(0,-1,0)*CFrame.Angles(math.random(),math.random(),math.random()))			
3849
					swait()
3850
				end
3851
			end))
3852
			
3853
			local beam=Instance.new("Part",char)
3854
			beam.Anchored=true
3855
			beam.CanCollide=false
3856
			beam.BrickColor=BrickColor.new("Institutional white")
3857
			beam.Material="Neon"
3858
			beam.Transparency=0.5
3859
			
3860
			sound(415700134,1.75,0.85,torso)
3861
			
3862
			coroutine.resume(coroutine.create(function()
3863
				while true do
3864
					if not doingMove then break end
3865
					local dis=(torso.Position-mouse.Hit.p).magnitude
3866
					beam.Size=Vector3.new(2,2,dis)
3867
					beam.CFrame=CFrame.new(torso.CFrame.p,mouse.Hit.p)*CFrame.new(0,0,-dis/2)
3868
					swait()
3869
				end
3870
			end))
3871
			
3872
			coroutine.resume(coroutine.create(function()
3873
				for i=1,20 do
3874
					if not doingMove then break end
3875
					magicBrick(Vector3.new(0,0,0),mouse.Hit*CFrame.Angles(0,0,0),Vector3.new(1,1,1),BrickColor.new("Deep orange"),"Neon",0,true,false,10,10,10,10,10,10,"Sphere","",Vector3.new(3,3,3),Vector3.new(2,6,2),8,true,1,0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0))
3876
					magicBrick(Vector3.new(0,0,0),mouse.Hit*CFrame.Angles(0,0,0),Vector3.new(1,1,1),BrickColor.new("Really red"),"Neon",0,true,false,10,10,10,10,10,10,"Sphere","",Vector3.new(3,3,3),Vector3.new(3,3,3),8,true,1,0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0))
3877
					coroutine.resume(coroutine.create(function()
3878
						for i=1,7 do
3879
							magicBrick(Vector3.new(0,0,0),mouse.Hit*CFrame.new(0,0,0)*CFrame.new(math.random(1,15),math.random(1,15),math.random(1,15))*CFrame.new(-15/2,-15/2,-15/2),Vector3.new(1,1,1),BrickColor.new("Really black"),"Neon",0,true,false,10,10,10,10,10,10,"Sphere","",Vector3.new(4,4,4),Vector3.new(1,1,1),12,true,1,0,CFrame.new(0,-1,0)*CFrame.Angles(math.random(),math.random(),math.random()))
3880
						end
3881
					end))
3882
					for i,v in pairs(workspace:GetChildren()) do
3883
						if v:findFirstChild("Humanoid")~=nil and v~=char then
3884
							if (v:WaitForChild("Torso").Position-mouse.Hit.p).magnitude<=10 then
3885
								v:WaitForChild("Humanoid"):TakeDamage(v:WaitForChild("Humanoid").MaxHealth/20)
3886
							end
3887
						end 
3888
					end
3889
					swait(10)
3890
				end
3891
			end))
3892
			
3893
			for i=0,2,0.1*speed do
3894
				if lastAnim~=thisAnim then break end
3895
					
3896
			
3897
					
3898
				swait()
3899
			end
3900
			
3901
			beam:Destroy()
3902
			lastAnim=nil
3903
			lastPriority=0
3904
			doingMove=false
3905
		end
3906
3907
function chestBeam()
3908
	
3909
		
3910
		MUI = true
3911
	
3912
	
3913
end
3914
mouse.KeyDown:connect(function(k)
3915
if k == "n" then
3916
	chestBeam()
3917
end
3918
end)
3919
mouse.KeyDown:connect(function(k)
3920
if k == "v" then
3921
	UltimateBattle:Stop()
3922
Mode = true
3923
	local SFXZ = Instance.new("Sound",torso)
3924
			SFXZ.SoundId = "rbxassetid://316675316"
3925
			SFXZ.Volume = 8
3926
			SFXZ.Pitch = 1
3927
			SFXZ.Looped = true
3928
			wait(0.01)
3929
			SFXZ:Play()
3930
			local Wind = Instance.new("Sound",torso)
3931
			Wind.SoundId = "rbxassetid://142840797"
3932
			Wind.Volume = 0.5
3933
			Wind.Pitch = 1
3934
			Wind.Looped = true
3935
			wait(0.01)
3936
			Wind:Play()
3937
			
3938
			       
3939
Grab.Touched:connect(function(hit)
3940
	if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= p.Character.Name then
3941
		hit.Parent:BreakJoints()
3942
		wait(0.2)
3943
		hit.Parent:Destroy()
3944
		
3945
3946
		
3947
		end
3948
end)
3949
hum.WalkSpeed = 55
3950
	
3951
		local FZcharge3 = Instance.new("ParticleEmitter",NeckS)
3952
FZcharge3.Texture = "rbxassetid://37329477"
3953
FZcharge3.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0))
3954
FZcharge3.EmissionDirection = "Top"
3955
FZcharge3.Speed = NumberRange.new(8)
3956
FZcharge3.Size = NumberSequence.new(0.5,0)
3957
FZcharge3.Transparency = NumberSequence.new(0,1)
3958
FZcharge3.Drag = 1.2
3959
FZcharge3.LockedToPart = false
3960
FZcharge3.Lifetime = NumberRange.new(0.5)
3961
FZcharge3.Rate = 195
3962
FZcharge3.LightEmission = 1
3963
FZcharge3.VelocitySpread = 100
3964
FZcharge3.Rotation = NumberRange.new(-360,360)
3965
FZcharge3.VelocitySpread = 100.2	
3966
FZcharge3.ZOffset = 1
3967
local StoneEf2 = Instance.new("ParticleEmitter",Stone4)
3968
StoneEf2.Texture = "rbxassetid://37329477"
3969
StoneEf2.Color = ColorSequence.new(Color3.fromRGB(255, 0, 0))
3970
StoneEf2.EmissionDirection = "Top"
3971
StoneEf2.Speed = NumberRange.new(8)
3972
StoneEf2.Size = NumberSequence.new(0.5,0)
3973
StoneEf2.Transparency = NumberSequence.new(0,1)
3974
StoneEf2.LockedToPart = false
3975
StoneEf2.Lifetime = NumberRange.new(0.5)
3976
StoneEf2.Rate = 195
3977
StoneEf2.LightEmission = 1
3978
StoneEf2.VelocitySpread = 100
3979
StoneEf2.Rotation = NumberRange.new(-360,360)
3980
StoneEf2.VelocitySpread = 100.2	
3981
StoneEf2.ZOffset = 1
3982
local StoneEf3 = Instance.new("ParticleEmitter",Stone3)
3983
StoneEf3.Texture = "rbxassetid://74675986"
3984
StoneEf3.Color = ColorSequence.new(Color3.fromRGB(9, 137, 207))
3985
StoneEf3.EmissionDirection = "Top"
3986
StoneEf3.Speed = NumberRange.new(8)
3987
StoneEf3.Size = NumberSequence.new(0.5,0)
3988
StoneEf3.Transparency = NumberSequence.new(0,1)
3989
StoneEf3.LockedToPart = false
3990
StoneEf3.Lifetime = NumberRange.new(0.5)
3991
StoneEf3.Rate = 195
3992
StoneEf3.LightEmission = 1
3993
StoneEf3.VelocitySpread = 100
3994
StoneEf3.Rotation = NumberRange.new(-360,360)
3995
StoneEf3.VelocitySpread = 100.2	
3996
StoneEf3.ZOffset = 1
3997
local StoneEf5 = Instance.new("ParticleEmitter",Stone5)
3998
StoneEf5.Texture = "rbxassetid://73229113"
3999
StoneEf5.Color = ColorSequence.new(Color3.fromRGB(255, 176, 0))
4000
StoneEf5.EmissionDirection = "Top"
4001
StoneEf5.Speed = NumberRange.new(8)
4002
StoneEf5.Size = NumberSequence.new(0.5,0)
4003
StoneEf5.Transparency = NumberSequence.new(0,1)
4004
StoneEf5.LockedToPart = false
4005
StoneEf5.Lifetime = NumberRange.new(0.5)
4006
StoneEf5.Rate = 195
4007
StoneEf5.LightEmission = 1
4008
StoneEf5.VelocitySpread = 100
4009
StoneEf5.Rotation = NumberRange.new(-360,360)
4010
StoneEf5.VelocitySpread = 100.2	
4011
StoneEf5.ZOffset = 1
4012
	local CHAINLINKS = {}
4013
	local POS = mouse.Hit.p
4014
	local CHAINS = false
4015
	local CHAINLINKS = {}
4016
	local A = Instance.new("Attachment",root)
4017
	A.Position = Vector3.new(0.5,0,0)*Player_Size
4018
	A.Orientation = Vector3.new(-90, -89.982, 0)
4019
	local B = Instance.new("Attachment",root)
4020
	B.Position = Vector3.new(-0.5,0,0)*Player_Size
4021
	B.Orientation = Vector3.new(-90, 89.988, 0)
4022
	local C = Instance.new("Attachment",root)
4023
	C.Position = Vector3.new(0.5,-0.1,0)*Player_Size
4024
	C.Orientation = Vector3.new(-90, -89.982, 0)
4025
	local D = Instance.new("Attachment",root)
4026
	D.Position = Vector3.new(-0.5,-0.3,0)*Player_Size
4027
	D.Orientation = Vector3.new(-90, 89.988, 0)
4028
	local LIGHT = Instance.new("Attachment",root)
4029
	LIGHT.Position = Vector3.new(0.5,-0,0)*Player_Size
4030
	local LIGHT2 = Instance.new("PointLight",larm)
4031
	LIGHT2.Range = 6
4032
	LIGHT2.Brightness = 20
4033
	LIGHT2.Color = Color3.new(255, 255, 0)
4034
	for i = 1, 2 do
4035
		local TWIST = -1
4036
		local START = A
4037
		local END = B
4038
		if i == 1 then
4039
			START = B
4040
			END = A
4041
		end
4042
	local ChainLink = Instance.new("Beam",torso)
4043
		ChainLink.Texture = "rbxassetid://37329477"
4044
		ChainLink.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0))
4045
		ChainLink.TextureSpeed = 5
4046
		ChainLink.Width0 = 1
4047
		ChainLink.Width1 = 1
4048
		ChainLink.TextureLength = 2.5
4049
		ChainLink.Attachment0 = START
4050
		ChainLink.Attachment1 = END
4051
		ChainLink.CurveSize0 = TWIST
4052
		ChainLink.CurveSize1 = TWIST
4053
		--ChainLink.FaceCamera = true
4054
		ChainLink.Segments = 85
4055
		ChainLink.Transparency = NumberSequence.new(0)
4056
		table.insert(CHAINLINKS,ChainLink)
4057
	end
4058
	coroutine.resume(coroutine.create(function()
4059
			for i = 3,60060 do 
4060
			
4061
		
4062
			local HQG = Instance.new("Part",char)
4063
			HQG.Size = Vector3.new(1,0,1)
4064
			HQG.BrickColor = BrickColor.new("Ghost grey")
4065
			HQG.Material = "Neon"
4066
			HQG.Anchored = true
4067
			HQG.CanCollide = false
4068
			HQG.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
4069
			local HQG2 = Instance.new("SpecialMesh",HQG)
4070
			HQG2.MeshId = "rbxassetid://1726537151"
4071
			HQG2.Scale = Vector3.new(0.01,0.01,0.01)
4072
			
4073
			
4074
			coroutine.resume(coroutine.create(function()
4075
			for i = 1,200 do
4076
			
4077
			
4078
			HQG2.Scale = HQG2.Scale + Vector3.new(0.01,0.03,0.01)
4079
			HQG.Transparency = HQG.Transparency + 0.07
4080
			HQG.CFrame = HQG.CFrame*CFrame.Angles(0,-0.3,0)
4081
			
4082
			wait(0.00000000001)
4083
			end
4084
			
4085
			HQG:Destroy()
4086
			HQG2:Destroy()
4087
				
4088
			end))
4089
			
4090
	
4091
			wait(0.3)
4092
			end
4093
		end))
4094
end
4095
end)
4096
	
4097
4098
4099
mouse.KeyDown:connect(function(k)
4100
if k == "j" then
4101
	
4102
	animid = 5
4103
	no_anim = true
4104
	
4105
		
4106
	local Aura = Instance.new("ParticleEmitter",Stone2)
4107
Aura.Texture = "rbxassetid://271370648"
4108
Aura.Color = ColorSequence.new(BrickColor.new("Magenta").Color)
4109
Aura.EmissionDirection = "Top"
4110
Aura.Speed = NumberRange.new(0)
4111
Aura.Size = NumberSequence.new(2.5)
4112
Aura.Transparency = NumberSequence.new(0,1)
4113
Aura.Drag = 0.4
4114
Aura.LightInfluence = 0
4115
Aura.LockedToPart = true
4116
Aura.Lifetime = NumberRange.new(0.9)
4117
Aura.Rate = 60
4118
Aura.LightEmission = 0.6
4119
Aura.Rotation = NumberRange.new(-360,360)
4120
Aura.VelocitySpread = 0
4121
Aura.Acceleration = Vector3.new(0,0,0)	
4122
Aura.ZOffset = 0.2
4123
	
4124
		for i = 1, 30 do
4125
		wait()
4126
	
4127
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
4128
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-0.5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--rarm
4129
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(90),math.rad(-50),math.rad(0)), 0.8)--larm
4130
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
4131
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
4132
		end
4133
		
4134
	
4135
			local HQ = Instance.new("Part",char)
4136
			HQ.Size = Vector3.new(1,0,1)
4137
			HQ.BrickColor = BrickColor.new("Grey")
4138
			HQ.Material = "Neon"
4139
			HQ.Anchored = true
4140
			HQ.CanCollide = false
4141
			HQ.Transparency = 0.7
4142
			HQ.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
4143
			local HQ2 = Instance.new("SpecialMesh",HQ)
4144
			HQ2.MeshId = "rbxassetid://20329976"
4145
			HQ2.Scale = Vector3.new(1,1,1)
4146
		
4147
			local HQG = Instance.new("Part",char)
4148
			HQG.Size = Vector3.new(1,0,1)
4149
			HQG.BrickColor = BrickColor.new("Grey")
4150
			HQG.Material = "Neon"
4151
			HQG.Anchored = true
4152
			HQG.Transparency = 0.7
4153
			HQG.CanCollide = false
4154
			HQG.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
4155
			local HQG2 = Instance.new("SpecialMesh",HQG)
4156
			HQG2.MeshId = "rbxassetid://20329976"
4157
			HQG2.Scale = Vector3.new(1,1,1)
4158
			
4159
			
4160
			coroutine.resume(coroutine.create(function()
4161
			for i = 1,200 do
4162
			HQ2.Scale = HQ2.Scale + Vector3.new(1.5,0.3,1.5)
4163
			HQ.Transparency = HQ.Transparency + 0.01
4164
			HQ.CFrame = HQ.CFrame*CFrame.Angles(0,0,0)
4165
			
4166
			HQG2.Scale = HQG2.Scale + Vector3.new(1,0.5,1)
4167
			HQG.Transparency = HQG.Transparency + 0.01
4168
			HQG.CFrame = HQ.CFrame*CFrame.Angles(0,0,0)
4169
			
4170
			wait(0.00000000001)
4171
		
4172
				
4173
			end
4174
				HQ:Destroy()
4175
			HQ2:Destroy()
4176
			HQG:Destroy()
4177
			HQG2:Destroy()
4178
			end))
4179
4180
laz0r()
4181
	wait(0.5)
4182
	no_anim = false
4183
	Aura.Rate = 0
4184
	
4185
	instinct = true
4186
end
4187
end)
4188
4189
4190
4191
4192
4193
mouse.KeyDown:connect(function(key)
4194
	if key == "r" then
4195
	local Aura = Instance.new('ParticleEmitter',Stone3)
4196
Aura.Texture = "rbxassetid://271370648"
4197
Aura.Color = ColorSequence.new(BrickColor.new("Lapis").Color)
4198
Aura.EmissionDirection = "Top"
4199
Aura.Speed = NumberRange.new(0)
4200
Aura.Size = NumberSequence.new(2.5)
4201
Aura.Transparency = NumberSequence.new(0,1)
4202
Aura.Drag = 0.4
4203
Aura.LightInfluence = 0
4204
Aura.LockedToPart = true
4205
Aura.Lifetime = NumberRange.new(0.9)
4206
Aura.Rate = 60
4207
Aura.LightEmission = 0.6
4208
Aura.Rotation = NumberRange.new(-360,360)
4209
Aura.VelocitySpread = 0
4210
Aura.Acceleration = Vector3.new(0,0,0)	
4211
Aura.ZOffset = 0.2
4212
	no_anim = true
4213
		for i = 1, 15 do
4214
		wait()
4215
	
4216
torso.Weld.C0 = Lerp(torso.Weld.C0,CFrame.new(0, -1.1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(-80), math.rad(0-1*math.cos(sine/32))),0.2)
4217
larm.Weld.C0 = Lerp(larm.Weld.C0,CFrame.new(-1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(-10-1*math.cos(sine/16)),math.rad(-90-1*math.cos(sine/8))),0.4)
4218
		end
4219
		
4220
			local Grab = Instance.new("Part",root)
4221
	Grab.Size = Vector3.new(5.2,5.8,3.9)
4222
	Grab.CanCollide = true
4223
	Grab.Material = "Neon"
4224
	Grab.BrickColor = BrickColor.new("Cyan")
4225
	Grab.Transparency = 0.5
4226
	local Hat2 = Instance.new("SpecialMesh",Grab)
4227
Hat2.MeshType = 3
4228
Hat2.Scale = Vector3.new(3.35,3.15,0.95)
4229
	local Grabo = Instance.new("Weld",Grab)
4230
	Grabo.Part0 = root
4231
	Grabo.Part1 = Grab
4232
	Grabo.C0 = CFrame.new(0,0.3,-6.8)
4233
	
4234
local AuraB = Instance.new("Part",root)
4235
	AuraB.Size = Vector3.new(2,1,2)
4236
	AuraB.CanCollide = false
4237
	AuraB.BrickColor = BrickColor.new("Deep orange")
4238
	AuraB.Transparency = 1
4239
	local AuraBo = Instance.new("Weld",AuraB)
4240
	AuraBo.Part0 = root
4241
	AuraBo.Part1 = AuraB
4242
	AuraBo.C0 = CFrame.new(0,-0.6,0)
4243
	Grab.Touched:connect(function(hit)
4244
	if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= p.Character.Name then
4245
		
4246
		
4247
hit.Anchored = false
4248
			local Fl = Instance.new("BodyVelocity",hit.Parent.Head)
4249
			Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
4250
			Fl.velocity = root.CFrame.lookVector*340
4251
			wait(0.05)
4252
			Fl:remove()
4253
		
4254
		end
4255
	end)
4256
		
4257
		
4258
		end
4259
end)
4260
mouse.KeyUp:connect(function(key)
4261
	if key == "r" then
4262
		
4263
			for i, v in pairs(root:GetChildren()) do
4264
	if v:IsA("Part")then
4265
		v:Remove()
4266
	end
4267
			end
4268
			for i, v in pairs(Stone3:GetChildren()) do
4269
	if v:IsA('ParticleEmitter')then
4270
		v.Rate = 0
4271
	end
4272
		end
4273
		
4274
		no_anim = false
4275
		end
4276
end)
4277
4278
4279
mouse.KeyDown:connect(function(key)
4280
	if key == "n" then
4281
		
4282
	end
4283
	end)
4284
4285
4286
mouse.KeyDown:connect(function(key)
4287
	if key == "t" then
4288
	local Aura = Instance.new("ParticleEmitter",Stone4)
4289
Aura.Texture = "rbxassetid://271370648"
4290
Aura.Color = ColorSequence.new(BrickColor.new("Really red").Color)
4291
Aura.EmissionDirection = "Top"
4292
Aura.Speed = NumberRange.new(0)
4293
Aura.Size = NumberSequence.new(2.5)
4294
Aura.Transparency = NumberSequence.new(0,1)
4295
Aura.Drag = 0.4
4296
Aura.LightInfluence = 0
4297
Aura.LockedToPart = true
4298
Aura.Lifetime = NumberRange.new(0.9)
4299
Aura.Rate = 60
4300
Aura.LightEmission = 0.6
4301
Aura.Rotation = NumberRange.new(-360,360)
4302
Aura.VelocitySpread = 0
4303
Aura.Acceleration = Vector3.new(0,0,0)	
4304
Aura.ZOffset = 0.2
4305
	no_anim = true
4306
		for i = 1, 15 do
4307
		wait()
4308
	
4309
torso.Weld.C0 = Lerp(torso.Weld.C0,CFrame.new(0, -1.1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(-80), math.rad(0-1*math.cos(sine/32))),0.2)
4310
larm.Weld.C0 = Lerp(larm.Weld.C0,CFrame.new(-1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(-10-1*math.cos(sine/16)),math.rad(-90-1*math.cos(sine/8))),0.4)
4311
		end
4312
		
4313
			local Grab = Instance.new("Part",root)
4314
	Grab.Size = Vector3.new(5.2,5.8,3.9)
4315
	Grab.CanCollide = false
4316
	Grab.Material = "Neon"
4317
	Grab.BrickColor = BrickColor.new("Really red")
4318
	Grab.Transparency = 0.5
4319
	local Hat2 = Instance.new("SpecialMesh",Grab)
4320
Hat2.MeshType = 3
4321
Hat2.Scale = Vector3.new(3.35,3.15,0.95)
4322
	local Grabo = Instance.new("Weld",Grab)
4323
	Grabo.Part0 = root
4324
	Grabo.Part1 = Grab
4325
	Grabo.C0 = CFrame.new(0,0.3,-6.8)
4326
	
4327
local AuraB = Instance.new("Part",root)
4328
	AuraB.Size = Vector3.new(2,1,2)
4329
	AuraB.CanCollide = false
4330
	AuraB.BrickColor = BrickColor.new("Deep orange")
4331
	AuraB.Transparency = 1
4332
	local AuraBo = Instance.new("Weld",AuraB)
4333
	AuraBo.Part0 = root
4334
	AuraBo.Part1 = AuraB
4335
	AuraBo.C0 = CFrame.new(0,-0.6,0)
4336
	Grab.Touched:connect(function(hit)
4337
	if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= p.Character.Name then
4338
		
4339
		
4340
Snap(hit.Parent)
4341
			local Fl = Instance.new("BodyVelocity",hit.Parent.Head)
4342
			Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
4343
			Fl.velocity = root.CFrame.lookVector*340
4344
			wait(0.05)
4345
			Fl:remove()
4346
		
4347
		end
4348
	end)
4349
		
4350
		
4351
		end
4352
end)
4353
mouse.KeyUp:connect(function(key)
4354
	if key == "t" then
4355
		
4356
			for i, v in pairs(root:GetChildren()) do
4357
	if v:IsA("Part")then
4358
		v:Remove()
4359
	end
4360
			end
4361
			for i, v in pairs(Stone4:GetChildren()) do
4362
	if v:IsA("ParticleEmitter")then
4363
		v.Rate = 0
4364
	end
4365
		end
4366
		
4367
		no_anim = false
4368
		end
4369
	end)
4370
4371
4372
mouse.KeyDown:connect(function(k)
4373
if k == "e" and MUI == false then --highjump
4374
	
4375
	animid = 5
4376
	no_anim = true
4377
4378
	local sbs = Instance.new("BodyPosition", torso)
4379
        sbs.P = 9000
4380
        sbs.D = 1000
4381
        sbs.maxForce = Vector3.new(900000, 9000000000, 900000)
4382
        sbs.position = torso.CFrame.p + Vector3.new(0, 150, 0)
4383
local FlyAt = Instance.new("Attachment",NeckS)FlyAt.Position = Vector3.new(0,0.5,0)
4384
local FlyAt2 = Instance.new("Attachment",NeckS)FlyAt2.Position = Vector3.new(0,-0.5,0)
4385
local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2
4386
Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 0.3 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
4387
Speed.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0)) Speed.LightEmission = 5
4388
	
4389
	hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--head
4390
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
4391
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-60),math.rad(0),math.rad(0)), 0.8)--rarm
4392
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), 0.8)--larm
4393
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30),math.rad(0),math.rad(-10)), 0.8)--lleg
4394
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-50),math.rad(0),math.rad(5)), 0.8)--rleg
4395
	
4396
		
4397
		
4398
			local HQ = Instance.new("Part",char)
4399
			HQ.Size = Vector3.new(1,0,1)
4400
			HQ.BrickColor = BrickColor.new("New Yeller")
4401
			HQ.Material = "Neon"
4402
			HQ.Anchored = true
4403
			HQ.CanCollide = false
4404
			HQ.Transparency = 0.7
4405
			HQ.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
4406
			local HQ2 = Instance.new("SpecialMesh",HQ)
4407
			HQ2.MeshId = "rbxassetid://20329976"
4408
			HQ2.Scale = Vector3.new(1,50,1)
4409
		
4410
			local HQG = Instance.new("Part",char)
4411
			HQG.Size = Vector3.new(1,0,1)
4412
			HQG.BrickColor = BrickColor.new("Grey")
4413
			HQG.Material = "Neon"
4414
			HQG.Anchored = true
4415
			HQG.Transparency = 0.7
4416
			HQG.CanCollide = false
4417
			HQG.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
4418
			local HQG2 = Instance.new("SpecialMesh",HQG)
4419
			HQG2.MeshId = "rbxassetid://20329976"
4420
			HQG2.Scale = Vector3.new(1,1,1)
4421
			
4422
			
4423
			coroutine.resume(coroutine.create(function()
4424
			for i = 1,500 do
4425
			HQ2.Scale = HQ2.Scale + Vector3.new(1.5,0.3,1.5)
4426
			HQ.Transparency = HQ.Transparency + 0.005
4427
			HQ.CFrame = HQ.CFrame*CFrame.Angles(0,0,0)
4428
			
4429
			HQG2.Scale = HQG2.Scale + Vector3.new(1,0.5,1)
4430
			HQG.Transparency = HQG.Transparency + 0.005
4431
			HQG.CFrame = HQ.CFrame*CFrame.Angles(0,0,0)
4432
			
4433
			wait(0.00000000001)
4434
		
4435
				
4436
			end
4437
				HQ:Destroy()
4438
			HQ2:Destroy()
4439
			HQG:Destroy()
4440
			HQG2:Destroy()
4441
			end))
4442
4443
	
4444
	wait(0.5)
4445
	sbs:Destroy()
4446
4447
	FlyAt:Destroy()
4448
	wait(0.2)
4449
	
4450
	no_anim = false
4451
	instinct = true
4452
end
4453
end)
4454
4455
4456
mouse.KeyDown:connect(function(k)
4457
if k == "e" and MUI == true then --highjump
4458
	
4459
	animid = 5
4460
	no_anim = true
4461
	hum.WalkSpeed = 60
4462
	local sbs = Instance.new("BodyPosition", torso)
4463
        sbs.P = 9000
4464
        sbs.D = 1000
4465
        sbs.maxForce = Vector3.new(900000, 9000000000, 900000)
4466
        sbs.position = torso.CFrame.p + Vector3.new(0, 120, 0)
4467
local FlyAt = Instance.new("Attachment",torso)FlyAt.Position = Vector3.new(0,2,0)
4468
local FlyAt2 = Instance.new("Attachment",torso)FlyAt2.Position = Vector3.new(0,-2.5,0)
4469
local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2
4470
Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 0.3 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
4471
Speed.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248)) Speed.LightEmission = 5
4472
	
4473
	hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--head
4474
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
4475
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-60),math.rad(0),math.rad(0)), 0.8)--rarm
4476
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), 0.8)--larm
4477
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30),math.rad(0),math.rad(-10)), 0.8)--lleg
4478
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-50),math.rad(0),math.rad(5)), 0.8)--rleg
4479
	
4480
		
4481
		
4482
			local HQ = Instance.new("Part",char)
4483
			HQ.Size = Vector3.new(1,0,1)
4484
			HQ.BrickColor = BrickColor.new("Grey")
4485
			HQ.Material = "Neon"
4486
			HQ.Anchored = true
4487
			HQ.CanCollide = false
4488
			HQ.Transparency = 0.7
4489
			HQ.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
4490
			local HQ2 = Instance.new("SpecialMesh",HQ)
4491
			HQ2.MeshId = "rbxassetid://20329976"
4492
			HQ2.Scale = Vector3.new(1,1,1)
4493
		
4494
			local HQG = Instance.new("Part",char)
4495
			HQG.Size = Vector3.new(1,0,1)
4496
			HQG.BrickColor = BrickColor.new("Grey")
4497
			HQG.Material = "Neon"
4498
			HQG.Anchored = true
4499
			HQG.Transparency = 0.7
4500
			HQG.CanCollide = false
4501
			HQG.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
4502
			local HQG2 = Instance.new("SpecialMesh",HQG)
4503
			HQG2.MeshId = "rbxassetid://20329976"
4504
			HQG2.Scale = Vector3.new(1,1,1)
4505
			
4506
			
4507
			coroutine.resume(coroutine.create(function()
4508
			for i = 1,200 do
4509
			HQ2.Scale = HQ2.Scale + Vector3.new(1.5,0.3,1.5)
4510
			HQ.Transparency = HQ.Transparency + 0.01
4511
			HQ.CFrame = HQ.CFrame*CFrame.Angles(0,0,0)
4512
			
4513
			HQG2.Scale = HQG2.Scale + Vector3.new(1,0.5,1)
4514
			HQG.Transparency = HQG.Transparency + 0.01
4515
			HQG.CFrame = HQ.CFrame*CFrame.Angles(0,0,0)
4516
			
4517
			wait(0.00000000001)
4518
		
4519
				
4520
			end
4521
				HQ:Destroy()
4522
			HQ2:Destroy()
4523
			HQG:Destroy()
4524
			HQG2:Destroy()
4525
			end))
4526
4527
	
4528
	wait(0.5)
4529
	sbs:Destroy()
4530
	hum.WalkSpeed = 260
4531
	FlyAt:Destroy()
4532
	wait(0.2)
4533
	hum.WalkSpeed = 16
4534
	no_anim = false
4535
	instinct = true
4536
end
4537
end)
4538
4539
mouse.KeyDown:connect(function(k)
4540
if k == "q" and MUI == false then --highjump
4541
	
4542
	animid = 5
4543
	no_anim = true
4544
	
4545
	local FlyAt = Instance.new("Attachment",torso)FlyAt.Position = Vector3.new(0,2,0)
4546
local FlyAt2 = Instance.new("Attachment",torso)FlyAt2.Position = Vector3.new(0,-2.5,0)
4547
local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2
4548
Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 0.3 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
4549
Speed.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248)) Speed.LightEmission = 5
4550
	local bv = Instance.new("BodyVelocity")
4551
  bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
4552
  bv.velocity = root.CFrame.lookVector*200
4553
  bv.Parent = root
4554
4555
	
4556
4557
for i = 1, 30 do
4558
	wait()
4559
		
4560
	hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(0)), 0.1)--head
4561
		torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-80), math.rad(0), math.rad(0)), 0.1)--torso
4562
		rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(15)), 0.1)--arm
4563
		larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(-15)), 0.1)--arm
4564
		lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-10)), 0.1)--leg
4565
		rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10)), 0.1)--leg
4566
		end
4567
4568
4569
	
4570
	
4571
		
4572
		
4573
		
4574
4575
	
4576
	wait(0.5)
4577
	bv:Destroy()
4578
	
4579
	wait(0.2)
4580
	
4581
4582
FlyAt:Destroy()
4583
	no_anim = false
4584
end
4585
end)
4586
holdclick=false
4587
4588
mouse.KeyDown:connect(function(k)
4589
if k == "q" and MUI == true then --highjump
4590
	
4591
	animid = 5
4592
	no_anim = true
4593
	hum.WalkSpeed = 60
4594
	local bv = Instance.new("BodyVelocity")
4595
  bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
4596
  bv.velocity = root.CFrame.lookVector*190
4597
  bv.Parent = root
4598
4599
	local FlyAt = Instance.new("Attachment",torso)FlyAt.Position = Vector3.new(0,1,0)
4600
local FlyAt2 = Instance.new("Attachment",torso)FlyAt2.Position = Vector3.new(0,-1,0)
4601
local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2
4602
Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 0.3 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
4603
Speed.Color = ColorSequence.new(Color3.fromRGB(4, 175, 236)) Speed.LightEmission = 5
4604
	
4605
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)), 0.8)--torso
4606
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-80),math.rad(0),math.rad(0)), 0.8)--rarm
4607
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-85),math.rad(0),math.rad(0)), 0.8)--larm
4608
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-60),math.rad(0),math.rad(-10)), 0.8)--lleg
4609
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.3, -1) * CFrame.Angles(math.rad(-50),math.rad(0),math.rad(5)), 0.8)--rleg
4610
	
4611
		
4612
		
4613
			local HQ = Instance.new("Part",char)
4614
			HQ.Size = Vector3.new(1,0,1)
4615
			HQ.BrickColor = BrickColor.new("Grey")
4616
			HQ.Material = "Neon"
4617
			HQ.Anchored = true
4618
			HQ.CanCollide = false
4619
			HQ.Transparency = 0.7
4620
			HQ.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(1.55,0,0)
4621
			local HQ2 = Instance.new("SpecialMesh",HQ)
4622
			HQ2.MeshId = "rbxassetid://20329976"
4623
			HQ2.Scale = Vector3.new(1,1,1)
4624
		
4625
			local HQG = Instance.new("Part",char)
4626
			HQG.Size = Vector3.new(1,0,1)
4627
			HQG.BrickColor = BrickColor.new("Grey")
4628
			HQG.Material = "Neon"
4629
			HQG.Anchored = true
4630
			HQG.Transparency = 0.7
4631
			HQG.CanCollide = false
4632
			HQG.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(1.55,0,0)
4633
			local HQG2 = Instance.new("SpecialMesh",HQG)
4634
			HQG2.MeshId = "rbxassetid://20329976"
4635
			HQG2.Scale = Vector3.new(1,1,1)
4636
			
4637
			
4638
			coroutine.resume(coroutine.create(function()
4639
			for i = 1,200 do
4640
			HQ2.Scale = HQ2.Scale + Vector3.new(1.5,0.3,1.5)
4641
			HQ.Transparency = HQ.Transparency + 0.01
4642
			HQ.CFrame = HQ.CFrame*CFrame.Angles(0,0,0)
4643
			
4644
			HQG2.Scale = HQG2.Scale + Vector3.new(1,0.5,1)
4645
			HQG.Transparency = HQG.Transparency + 0.01
4646
			HQG.CFrame = HQ.CFrame*CFrame.Angles(0,0,0)
4647
			
4648
			wait()
4649
		
4650
				
4651
			end
4652
				HQ:Destroy()
4653
			HQ2:Destroy()
4654
			HQG:Destroy()
4655
			HQG2:Destroy()
4656
			end))
4657
4658
	
4659
	wait(0.5)
4660
	bv:Destroy()
4661
	hum.WalkSpeed = 60
4662
	wait(0.2)
4663
	hum.WalkSpeed = 16
4664
	FlyAt:Destroy()
4665
	no_anim = false
4666
	instinct = true
4667
end
4668
end)
4669
mouse.KeyDown:connect(function(k)
4670
if k == "l" then
4671
	
4672
	animid = 5
4673
	no_anim = true
4674
UltimateBattle:Stop()
4675
	
4676
	
4677
		for i = 1, 10 do
4678
		wait()
4679
		
4680
		            
4681
		              torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
4682
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-0.2)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--rarm
4683
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(120),math.rad(0),math.rad(0)), 0.8)--larm
4684
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
4685
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
4686
		end
4687
		wait(2)
4688
		local SFXZ = Instance.new("Sound",char)
4689
			SFXZ.SoundId = "rbxassetid://242076158"
4690
			SFXZ.Volume = 10
4691
			SFXZ.Pitch = 1
4692
			SFXZ.Looped = false
4693
			wait(0.01)
4694
			SFXZ:Play()
4695
			
4696
		for i = 1, 10 do
4697
		wait()
4698
		
4699
		            
4700
		              torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
4701
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-0.2)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--rarm
4702
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(120),math.rad(30),math.rad(0)), 0.8)--larm
4703
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
4704
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
4705
		end
4706
		
4707
	
4708
		coroutine.resume(coroutine.create(function()
4709
			for i = 3,80 do 
4710
			local Ball = Instance.new("Part",char)
4711
			Ball.Size = Vector3.new(0,0,0)
4712
			Ball.BrickColor = BrickColor.new("White")
4713
			Ball.Material = "Neon"
4714
			Ball.Anchored = true
4715
			Ball.CanCollide = false
4716
			Ball.Transparency = 0
4717
			Ball.CFrame = torso.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
4718
			local Ball2 = Instance.new("SpecialMesh",Ball)
4719
			Ball2.MeshType = 3
4720
			Ball2.Scale = Vector3.new(0.4,0.4,0.4)
4721
		
4722
	
4723
			
4724
			
4725
			coroutine.resume(coroutine.create(function()
4726
			for i = 1,15 do
4727
			Ball2.Scale = Ball2.Scale + Vector3.new(1980.4,1980.4,1980.4)
4728
			Ball.Transparency = Ball.Transparency + 0.06
4729
			
4730
			wait(0.00000000001)
4731
			end
4732
			Ball:Destroy()
4733
			
4734
				
4735
			end))
4736
			wait(0.02)
4737
			end
4738
		end))
4739
	
4740
wait(5)
4741
4742
	
4743
	  
4744
                                   
4745
	coroutine.wrap(function()
4746
	    for i,v in next, workspace:children() do
4747
	        if v:IsA"Model" or v:IsA"Part" then
4748
	            if v:FindFirstChildOfClass"Humanoid" and v ~= char then
4749
	                Eviscerate(v)
4750
	               	if v:FindFirstChildOfClass"Humanoid" then   Eviscerate(v) end
4751
	                wait(.15)
4752
	            end
4753
	        end   
4754
	    end
4755
	end)()
4756
	  
4757
	
4758
	wait(10)
4759
	no_anim = false
4760
4761
	
4762
	
4763
end
4764
end)
4765
4766
4767
4768
	
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
mouse.KeyDown:connect(function(key)
4780
if debounce == false then
4781
if key == "=" and MUI == true then
4782
dashasdf()
4783
elseif key == "=" and cooldownult == false then
4784
cooldownult = true
4785
if animid == 0 then
4786
animid = 1
4787
else
4788
animid = 0
4789
end
4790
debounce = true
4791
holdr = true
4792
aiming_anim = true
4793
wait(0.2)
4794
repeat 
4795
rs:wait()
4796
timer = 150
4797
until holdr == false
4798
nukewelpo()
4799
4800
local Position = mouse.Hit.p
4801
local Target = root.Position
4802
local direction = Target - Position
4803
local direction = computeDirection(direction)
4804
root.Velocity = direction * 300
4805
4806
aiming_anim = false
4807
delay(5,function() cooldownult = false end)
4808
delay(1,function() debounce = false end)
4809
4810
elseif key == "=" then
4811
debounce = true
4812
if animid == 0 then
4813
animid = 1
4814
else
4815
animid = 0
4816
end
4817
holdq = true
4818
attack = true
4819
4820
			
4821
		
4822
4823
repeat rs:wait() timer = 150 until holdq == false
4824
laz0r()
4825
attack = false
4826
		
4827
end
4828
end
4829
4830
end)
4831
4832
mouse.KeyUp:connect(function(key)
4833
if key == "=" then
4834
holdq = false
4835
elseif key == "=" then
4836
holdr = false
4837
end
4838
end)
4839
--
4840
hum.Name = 'Goku'
4841
----------------------------------------------------------------------------
4842
music(themeid,themepitch)
4843
velocityYFall=0
4844
velocityYFall2=0
4845
velocityYFall3=0
4846
velocityYFall4=0
4847
neckrotY=0
4848
neckrotY2=0
4849
torsorotY=0
4850
torsorotY2=0
4851
torsoY=0
4852
torsoY2=0
4853
sine = 0
4854
newWeld(torso, larm, -1.5, 0.5, 0)
4855
larm.Weld.C1 = CFrame.new(0, 0.5, 0)
4856
newWeld(torso, rarm, 1.5, 0.5, 0)
4857
rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
4858
newWeld(torso, hed, 0, 1.5, 0)
4859
newWeld(torso, lleg, -0.5, -1, 0)
4860
lleg.Weld.C1 = CFrame.new(0, 1, 0)
4861
newWeld(torso, rleg, 0.5, -1, 0)
4862
rleg.Weld.C1 = CFrame.new(0, 1, 0)
4863
newWeld(root, torso, 0, -1, 0)
4864
torso.Weld.C1 = CFrame.new(0, -1, 0)
4865
4866
rs:connect(function()
4867
4868
bg.MaxTorque = Vector3.new(0,0,0)
4869
4870
for i,v in pairs(DebrisModel:GetChildren()) do
4871
    
4872
4873
if v.Name == "EXPLOSION" then
4874
local change = 0.04-(v.Transparency*0.02)
4875
local vm = v:FindFirstChildOfClass("SpecialMesh")
4876
vm.Scale = vm.Scale + Vector3.new(change,change,change)
4877
v.Transparency = v.Transparency + 0.02
4878
if v.Transparency >= 1 then
4879
v:Destroy()
4880
end
4881
4882
elseif v.Name == "EXPLOSION2" then
4883
local change = 0.04-(v.Transparency*0.04)
4884
local vm = v:FindFirstChildOfClass("SpecialMesh")
4885
vm.Scale = vm.Scale + Vector3.new(change,change,0)
4886
v.Transparency = v.Transparency + 0.025
4887
if v.Transparency >= 1 then
4888
v:Destroy()
4889
end
4890
4891
elseif v.Name == "EXPLOSION3" then
4892
local change = 0.5-(v.Transparency*0.5)
4893
local vm = v:FindFirstChildOfClass("SpecialMesh")
4894
vm.Scale = vm.Scale + Vector3.new(change,change,0)
4895
v.Transparency = v.Transparency + 0.1
4896
if v.Transparency >= 1 then
4897
v:Destroy()
4898
end
4899
4900
elseif v.Name == "EXPLOSION4" then
4901
local change = 0.15-(v.Transparency*0.125)
4902
local vm = v:FindFirstChildOfClass("SpecialMesh")
4903
vm.Scale = vm.Scale + Vector3.new(change,change,change)
4904
v.Transparency = v.Transparency + 0.01
4905
if v.Transparency >= 1 then
4906
v:Destroy()
4907
end
4908
4909
elseif v.Name == "SMOKE" then
4910
local vm = v:FindFirstChildOfClass("SpecialMesh")
4911
vm.Scale = vm.Scale - Vector3.new(0.075,0.075,0.075)
4912
if vm.Scale.X <= 0 then
4913
v:Destroy()
4914
end
4915
4916
elseif v.Name == "SMOKE2" then
4917
local change = 2-(v.Transparency*2)
4918
local vm = v:FindFirstChildOfClass("SpecialMesh")
4919
local Position = nil
4920
if animid == 0 then
4921
Position = larm.Position
4922
else
4923
Position = rarm.Position
4924
end
4925
local Target = mouse.Hit.p
4926
local direction = Target - Position
4927
local direction = computeDirection(direction)
4928
local ray = Ray.new(Position, (Target-Position).unit*1048)
4929
local part, endPoint = workspace:FindPartOnRay(ray, char)
4930
vm.Scale = Vector3.new(vm.Scale.X,(Position-endPoint).magnitude,vm.Scale.Z) + Vector3.new(change,0,change)
4931
local pos = Position + (direction * (vm.Scale.Y/2))
4932
v.CFrame = CFrame.new(pos,  pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
4933
vm.Offset = Vector3.new(math.random(-10000,10000)/10000,math.random(-10000,10000)/10000,0)
4934
v.Transparency = v.Transparency + 0.1
4935
if v.Transparency >= 1 then
4936
v:Destroy()
4937
end
4938
4939
4940
elseif v.Name == "LIGHTNING" then
4941
local vm = v:FindFirstChildOfClass("BlockMesh")
4942
vm.Scale = vm.Scale - Vector3.new(0.1,0.1,0)
4943
if vm.Scale.X <= 0 then
4944
v:Destroy()
4945
end
4946
4947
end
4948
end
4949
4950
if -root.Velocity.Y/1.5 > 0 and -root.Velocity.Y/1.5 < 160 then
4951
velocityYFall = root.Velocity.Y/1.5
4952
end
4953
if -root.Velocity.Y/180 > 0 and -root.Velocity.Y/180 < 1.2 then
4954
velocityYFall2 = root.Velocity.Y/180
4955
end
4956
if -root.Velocity.Y/1.5 > -5 and -root.Velocity.Y/1.5 < 50 then
4957
velocityYFall3 = root.Velocity.Y/1.5
4958
end
4959
if -root.Velocity.Y/1.5 > -50 and -root.Velocity.Y/1.5 < 20 then
4960
velocityYFall4 = root.Velocity.Y/1.5
4961
end
4962
if root.RotVelocity.Y/6 < 1 and root.RotVelocity.Y/6 > -1 then
4963
neckrotY = root.RotVelocity.Y/6
4964
end
4965
if root.RotVelocity.Y/8 < 0.6 and root.RotVelocity.Y/8 > -0.6 then
4966
neckrotY2 = root.RotVelocity.Y/8
4967
end
4968
4969
if root.RotVelocity.Y/6 < 0.2 and root.RotVelocity.Y/6 > -0.2 then
4970
torsorotY = root.RotVelocity.Y/6
4971
end
4972
if root.RotVelocity.Y/8 < 0.2 and root.RotVelocity.Y/8 > -0.2 then
4973
torsorotY2 = root.RotVelocity.Y/8
4974
end
4975
4976
4977
torsoY = -(torso.Velocity*Vector3.new(1, 0, 1)).magnitude/20
4978
torsoY2 = -(torso.Velocity*Vector3.new(1, 0, 1)).magnitude/36
4979
4980
4981
local SINE = 0
4982
local jumped = false
4983
local ray1 = Ray.new(root.Position+Vector3.new(1,0,0),Vector3.new(0, -6, 0))
4984
local part1, endPoint = workspace:FindPartOnRay(ray1, char)
4985
local ray2 = Ray.new(root.Position-Vector3.new(1,0,0),Vector3.new(0, -6, 0))
4986
local part2, endPoint = workspace:FindPartOnRay(ray2, char)
4987
local ray3 = Ray.new(root.Position+Vector3.new(0,0,0.5),Vector3.new(0, -6, 0))
4988
local part3, endPoint = workspace:FindPartOnRay(ray3, char)
4989
local ray4 = Ray.new(root.Position-Vector3.new(0,0,0.5),Vector3.new(0, -6, 0))
4990
local part4, endPoint = workspace:FindPartOnRay(ray4, char)
4991
4992
if part1 or part2 or part3 or part4 then jumped = false else endPoint = 0 jumped = true end
4993
4994
local rlegray = Ray.new(rleg.Position+Vector3.new(0,0.5,0),Vector3.new(0, -1.75, 0))
4995
local rlegpart, rlegendPoint = workspace:FindPartOnRay(rlegray, char)
4996
local AngleThetaR = (righth-righth.p):vectorToObjectSpace(speed/100)
4997
	local AngleThetaL = (lefth-lefth.p):vectorToObjectSpace(speed/100)
4998
	
4999
local llegray = Ray.new(lleg.Position+Vector3.new(0,0.5,0),Vector3.new(0, -1.75, 0))
5000
local llegpart, llegendPoint = workspace:FindPartOnRay(llegray, char)
5001
local sizem = 1
5002
if no_anim == false then
5003
if hum.Health > 0 then
5004
if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude >= 5 and jumped == false then
5005
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-18),math.rad(0+math.rad(0+2*math.cos(sine/2))),0), 0.1)
5006
hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(math.rad(-10),0,0),0.1)
5007
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62-(movement/30)*math.cos(sine/4)/2,(movement/50)*math.cos(sine/4))*CFrame.Angles(math.rad(-5-(movement*2)*math.cos(sine/4))+ -(movement/10)*math.sin(sine/4),math.rad(0-(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2)
5008
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+(movement/30)*math.cos(sine/4)/2,-(movement/50)*math.cos(sine/4))*CFrame.Angles(math.rad(-5+(movement*2)*math.cos(sine/4))+ (movement/10)*math.sin(sine/4),math.rad(0-(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2)
5009
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+(movement/20)*math.cos(sine/2), 0) * CFrame.Angles(math.rad(-(change*20)-4*math.cos(sine/2)), torsorotY2+math.rad(0-4*math.cos(sine/4)), torsorotY2+math.rad(0-1*math.cos(sine/4))), 0.1)
5010
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.85-(movement/10)*math.cos(sine/4)/2,-0.1+(movement/15)*math.cos(sine/4))*CFrame.Angles(math.rad(-10+(change*5)-movement*math.cos(sine/4))+ -(movement/10)*math.sin(sine/4),math.rad(0+(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2)
5011
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,-0.85+(movement/10)*math.cos(sine/4)/2,-0.1-(movement/15)*math.cos(sine/4))*CFrame.Angles(math.rad(-10+(change*5)+movement*math.cos(sine/4))+ (movement/10)*math.sin(sine/4),math.rad(0+(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2)
5012
elseif jumped == true then
5013
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-18),math.rad(0+math.rad(0+2*math.cos(sine/2))),0), 0.1)
5014
hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(0,0,0),0.1)
5015
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,1-0.1*math.cos(sine/16)/2,0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(0-1*math.cos(sine/16)),math.rad(-50-1*math.cos(sine/8))), 0.2)
5016
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,1-0.1*math.cos(sine/16)/2,0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(0-1*math.cos(sine/16)),math.rad(50+1*math.cos(sine/8))), 0.2)
5017
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(0), math.rad(0-1*math.cos(sine/32))), 0.1)
5018
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.925+0.1*math.cos(sine/16),0)*CFrame.Angles(math.rad(-35-1*math.cos(sine/16)),math.rad(0-1*math.cos(sine/16)),math.rad(-2-0.5*math.cos(sine/8))), 0.2)
5019
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,0+0.1*math.cos(sine/16),-0.8)*CFrame.Angles(math.rad(-25+1*math.cos(sine/16)),math.rad(0-1*math.cos(sine/16)),math.rad(2+0.5*math.cos(sine/8))), 0.2)
5020
elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 5 then
5021
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.1)*CFrame.Angles(math.rad(-18),math.rad(0+math.rad(0+2*math.cos(sine/2))),0), 0.1)
5022
hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(math.rad(-15),0,0),0.1)
5023
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(0-1*math.cos(sine/16)),math.rad(-5-1*math.cos(sine/8))), 0.2)
5024
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(0-1*math.cos(sine/16)),math.rad(5+1*math.cos(sine/8))), 0.2)
5025
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(0), math.rad(0-1*math.cos(sine/32))), 0.1)
5026
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(0,llegendPoint.Y-lleg.Position.Y,0)*CFrame.new(-0.5,0+0.1*math.cos(sine/16),0)*CFrame.Angles(math.rad(0-1*math.cos(sine/16)),math.rad(0-1*math.cos(sine/16)),math.rad(-2-0.5*math.cos(sine/8))), 0.2)
5027
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0,rlegendPoint.Y-rleg.Position.Y,0)*CFrame.new(0.5,0+0.1*math.cos(sine/16),0)*CFrame.Angles(math.rad(0+1*math.cos(sine/16)),math.rad(0-1*math.cos(sine/16)),math.rad(2+0.5*math.cos(sine/8))), 0.2)
5028
end
5029
for i=1,5 do
5030
if aiming_anim == true then
5031
bg.MaxTorque = Vector3.new(9e9,9e9,9e9)
5032
if jumped == false then
5033
bg.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.x,root.Position.Y,mouse.Hit.z))
5034
else
5035
bg.CFrame = CFrame.new(root.Position,mouse.Hit.p)
5036
end
5037
if animid == 0 then
5038
hed.Weld.C1 =  Lerp(hed.Weld.C1,CFrame.Angles(0,math.rad(-80),0),0.4)
5039
torso.Weld.C0 = Lerp(torso.Weld.C0,CFrame.new(0, -1.1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(-80), math.rad(0-1*math.cos(sine/32))),0.2)
5040
larm.Weld.C0 = Lerp(larm.Weld.C0,CFrame.new(-1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(-10-1*math.cos(sine/16)),math.rad(-90-1*math.cos(sine/8))),0.4)
5041
else
5042
	if animid == 5 then
5043
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(85),math.rad(0)), 1)--head
5044
		torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-85), math.rad(0)), 1)--torso
5045
					rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,0)*CFrame.Angles(math.rad(30),math.rad(-40),math.rad(-10)), 1)--rarm
5046
					larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1,0.2,-0.2)*CFrame.Angles(math.rad(30),math.rad(40),math.rad(40)), 1)--larm
5047
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 1)--lleg
5048
		rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 1)--rleg
5049
else
5050
hed.Weld.C1 =  Lerp(hed.Weld.C1,CFrame.Angles(0,math.rad(80),0),0.4)
5051
torso.Weld.C0 = Lerp(torso.Weld.C0,CFrame.new(0, -1.1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(80), math.rad(0-1*math.cos(sine/32))),0.2)
5052
rarm.Weld.C0 = Lerp(rarm.Weld.C0,CFrame.new(1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(10-1*math.cos(sine/16)),math.rad(90+1*math.cos(sine/8))),0.4)
5053
	end
5054
	end
5055
else
5056
if timer <= 0 then
5057
animid = math.random(0,1)
5058
else
5059
timer = timer - 1
5060
end
5061
end
5062
end
5063
end
5064
end
5065
main_color = Color3.fromRGB(main.r,main.g,main.b)
5066
pr.Value = main.r
5067
pg.Value = main.g
5068
pb.Value = main.b
5069
pv.Value = main.v
5070
idth.Value = themeid
5071
pith.Value = themepitch
5072
HName.TextStrokeColor3 = Color3.fromHSV(Color3.toHSV(main_color),1,main.v/2)
5073
HName.TextColor3 = Color3.fromHSV(Color3.toHSV(main_color),1,main.v)
5074
sine = sine + change
5075
if hum.Health <= 0 then
5076
debounce = true
5077
end
5078
end)