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