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