View difference between Paste ID: gjQZWkpb and dp4BrV03
SHOW: | | - or go back to the newest paste.
1
--https://github.com/Mokiros/roblox-FE-compatibility
2
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
3
local Player,game,owner = owner,game
4
local RealPlayer = Player
5
do
6
	print("FE Compatibility code V2 by Mokiros")
7
	local RealPlayer = RealPlayer
8
	script.Parent = RealPlayer.Character
9
10
	--Fake event to make stuff like Mouse.KeyDown work
11
	local Disconnect_Function = function(this)
12
		this[1].Functions[this[2]] = nil
13
	end
14
	local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
15
	local FakeEvent_Metatable = {__index={
16
		Connect = function(this,f)
17
			local i = tostring(math.random(0,10000))
18
			while this.Functions[i] do
19
				i = tostring(math.random(0,10000))
20
			end
21
			this.Functions[i] = f
22
			return setmetatable({this,i},Disconnect_Metatable)
23
		end
24
	}}
25
	FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
26
	local function fakeEvent()
27
		return setmetatable({Functions={}},FakeEvent_Metatable)
28
	end
29
30
	--Creating fake input objects with fake variables
31
    local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
32
    FakeMouse.keyUp = FakeMouse.KeyUp
33
    FakeMouse.keyDown = FakeMouse.KeyDown
34
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
35
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
36
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
37
	end}
38
	--Merged 2 functions into one by checking amount of arguments
39
	CAS.UnbindAction = CAS.BindAction
40
41
	--This function will trigger the events that have been :Connect()'ed
42
	local function TriggerEvent(self,ev,...)
43
		for _,f in pairs(self[ev].Functions) do
44
			f(...)
45
		end
46
	end
47
	FakeMouse.TriggerEvent = TriggerEvent
48
	UIS.TriggerEvent = TriggerEvent
49
50
	--Client communication
51
	local Event = Instance.new("RemoteEvent")
52
	Event.Name = "UserInput_Event"
53
	Event.OnServerEvent:Connect(function(plr,io)
54
	    if plr~=RealPlayer then return end
55
		FakeMouse.Target = io.Target
56
		FakeMouse.Hit = io.Hit
57
		if not io.isMouse then
58
			local b = io.UserInputState == Enum.UserInputState.Begin
59
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
60
				return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
61
			end
62
			if io.UserInputType == Enum.UserInputType.MouseButton2 then
63
				return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
64
			end
65
			for _,t in pairs(CAS.Actions) do
66
				for _,k in pairs(t.Keys) do
67
					if k==io.KeyCode then
68
						t.Function(t.Name,io.UserInputState,io)
69
					end
70
				end
71
			end
72
			FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
73
			UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
74
	    end
75
	end)
76
	Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
77
	local Mouse = owner:GetMouse()
78
	local UIS = game:GetService("UserInputService")
79
	local input = function(io,RobloxHandled)
80
		if RobloxHandled then return end
81
		--Since InputObject is a client-side instance, we create and pass table instead
82
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
83
	end
84
	UIS.InputBegan:Connect(input)
85
	UIS.InputEnded:Connect(input)
86
	local h,t
87
	--Give the server mouse data every second frame, but only if the values changed
88
	--If player is not moving their mouse, client won't fire events
89
	local HB = game:GetService("RunService").Heartbeat
90
	while true do
91
		if h~=Mouse.Hit or t~=Mouse.Target then
92
			h,t=Mouse.Hit,Mouse.Target
93
			Event:FireServer({isMouse=true,Target=t,Hit=h})
94
		end
95
		--Wait 2 frames
96
		for i=1,2 do
97
			HB:Wait()
98
		end
99
	end]==],script)
100
101
	----Sandboxed game object that allows the usage of client-side methods and services
102
	--Real game object
103
	local RealGame = game
104
105
	--Metatable for fake service
106
	local FakeService_Metatable = {
107
		__index = function(self,k)
108
			local s = rawget(self,"_RealService")
109
			if s then
110
				return typeof(s[k])=="function"
111
				and function(_,...)return s[k](s,...)end or s[k]
112
			end
113
		end,
114
		__newindex = function(self,k,v)
115
			local s = rawget(self,"_RealService")
116
			if s then s[k]=v end
117
		end
118
	}
119
	local function FakeService(t,RealService)
120
		t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
121
		return setmetatable(t,FakeService_Metatable)
122
	end
123
124
	--Fake game object
125
	local FakeGame = {
126
		GetService = function(self,s)
127
			return rawget(self,s) or RealGame:GetService(s)
128
		end,
129
		Players = FakeService({
130
			LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
131
		},"Players"),
132
		UserInputService = FakeService(UIS,"UserInputService"),
133
		ContextActionService = FakeService(CAS,"ContextActionService"),
134
		RunService = FakeService({
135
			_btrs = {},
136
			RenderStepped = RealGame:GetService("RunService").Heartbeat,
137
			BindToRenderStep = function(self,name,_,fun)
138
				self._btrs[name] = self.Heartbeat:Connect(fun)
139
			end,
140
			UnbindFromRenderStep = function(self,name)
141
				self._btrs[name]:Disconnect()
142
			end,
143
		},"RunService")
144
	}
145
	rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
146
	FakeGame.service = FakeGame.GetService
147
	FakeService(FakeGame,game)
148
	--Changing owner to fake player object to support owner:GetMouse()
149
	game,owner = FakeGame,FakeGame.Players.LocalPlayer
150
end
151
152
--Gomu powers by DahNoob
153
--Gui Fixed by Biologically_Noob
154
--Originally fixed by scenius
155
--lol i know ur gonna remove credits
156
g1 = Instance.new("ScreenGui")
157
g1.Name = "ggui"
158
o1 = Instance.new("Frame", g1)
159
o1.BackgroundColor3 = Color3.new(1, 0.976471, 0.6)
160
o1.BorderColor3 = Color3.new(0.533333, 0.52549, 0.317647)
161
o1.BorderSizePixel = 0
162
o1.Name = "Main"
163
o1.Position = UDim2.new(0.025, 0, 0.65, 0)
164
o1.Size = UDim2.new(0, 250, 0, 150)
165
o1.ZIndex = 2
166
o2 = Instance.new("Frame", o1)
167
o2.BackgroundColor3 = Color3.new(0.207843, 0.207843, 0.207843)
168
o2.BorderColor3 = Color3.new(0.121569, 0.121569, 0.121569)
169
o2.BorderSizePixel = 3
170
o2.Name = "G3"
171
o2.Position = UDim2.new(0.05, 0, 0, 20)
172
o2.Size = UDim2.new(1, -20, 0, 20)
173
o2.ZIndex = 3
174
o3 = Instance.new("Frame", o2)
175
o3.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098)
176
o3.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
177
o3.BorderSizePixel = 0
178
o3.Name = "Shadow"
179
o3.Size = UDim2.new(1, 7, 1, 7)
180
o3.ZIndex = 2
181
o3.Style = Enum.FrameStyle.DropShadow
182
o4 = Instance.new("Frame", o2)
183
o4.BackgroundColor3 = Color3.new(0.341176, 0.968628, 0.623529)
184
o4.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
185
o4.BorderSizePixel = 0
186
o4.Name = "Bar"
187
o4.Size = UDim2.new(0, 0, 1, 0)
188
o4.ZIndex = 4
189
o5 = Instance.new("Frame", o1)
190
o5.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098)
191
o5.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
192
o5.BorderSizePixel = 0
193
o5.Name = "Shadow"
194
o5.Position = UDim2.new(0, 1, 0, 1)
195
o5.Size = UDim2.new(1, 5, 1, 5)
196
o5.Style = Enum.FrameStyle.DropShadow
197
o6 = Instance.new("Frame", o1)
198
o6.BackgroundColor3 = Color3.new(0.0980392, 0, 0)
199
o6.BorderColor3 = Color3.new(0.301961, 0.121569, 0.0666667)
200
o6.BorderSizePixel = 3
201
o6.Name = "G2"
202
o6.Position = UDim2.new(0.05, 0, 0, 55)
203
o6.Size = UDim2.new(1, -20, 0, 20)
204
o6.ZIndex = 3
205
o7 = Instance.new("Frame", o6)
206
o7.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098)
207
o7.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
208
o7.BorderSizePixel = 0
209
o7.Name = "Shadow"
210
o7.Size = UDim2.new(1, 7, 1, 7)
211
o7.ZIndex = 2
212
o7.Style = Enum.FrameStyle.DropShadow
213
o8 = Instance.new("Frame", o6)
214
o8.BackgroundColor3 = Color3.new(0.968628, 0.439216, 0.192157)
215
o8.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
216
o8.BorderSizePixel = 0
217
o8.Name = "Bar"
218
o8.Size = UDim2.new(0, 0, 1, 0)
219
o8.ZIndex = 4
220
o9 = Instance.new("Frame", o1)
221
o9.BackgroundColor3 = Color3.new(0.811765, 0.768628, 0.286275)
222
o9.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
223
o9.BorderSizePixel = 0
224
o9.Name = "Base"
225
o9.Position = UDim2.new(0.05, 0, 0, 80)
226
o9.Size = UDim2.new(0.5, 100, 0, 60)
227
o9.ZIndex = 3
228
o10 = Instance.new("Frame", o9)
229
o10.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098)
230
o10.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
231
o10.BorderSizePixel = 0
232
o10.Name = "Shadow"
233
o10.Size = UDim2.new(0.5, 120, 1, 6)
234
o10.ZIndex = 2
235
o10.Style = Enum.FrameStyle.DropShadow
236
o11 = Instance.new("TextLabel", o9)
237
o11.BackgroundColor3 = Color3.new(1, 1, 1)
238
o11.BackgroundTransparency = 1
239
o11.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
240
o11.Name = "Mode"
241
o11.Position = UDim2.new(0.05, 0,0.1, 0)
242
o11.Size = UDim2.new(0, 205, 0, 50)
243
o11.ZIndex = 3
244
o11.Text = "MODE: Rubber Pistol"
245
o11.TextColor3 = Color3.new(1, 1, 1)
246
o11.TextStrokeTransparency = 0
247
o11.Font = Enum.Font.SourceSansBold
248
o11.FontSize = Enum.FontSize.Size28
249
250
g1.Parent = script
251
252
sn = Instance.new("StringValue", script)
253
sn.Name = "ScriptName"
254
sn.Value = "Gomu Powers"
255
256
local a = script:WaitForChild("ScriptName").Value
257
script.ScriptName:Destroy()
258
TakeDamage = function(b, c)	
259
	b:TakeDamage(c)--game:service("ReplicatedStorage").Logic.TakeDamage:FireServer(b, c, a, tick())
260
end
261
262
plr = game.Players.LocalPlayer
263
repeat
264
	wait(0.4)
265
until plr.Character
266
local fixed = Instance.new("StringValue", plr.Character)
267
fixed.Name = "1"
268
fixed.Value = "S".."c".."e".."n".."i".."u".."s"
269
local creator = Instance.new("StringValue", plr.Character)
270
creator.Name = "2"
271
creator.Value = "D".."a".."h".."N".."o".."o".."b"
272
chr = plr.Character
273
human = chr:FindFirstChild("Humanoid")
274
mouse = plr:GetMouse()
275
kx = function(s)
276
plr:Kick(s)
277
end
278
cam = workspace.CurrentCamera
279
selected = false
280
equipd = false
281
tors = chr.Torso
282
rarm = chr["Right Arm"]
283
larm = chr["Left Arm"]
284
rleg = chr["Right Leg"]
285
lleg = chr["Left Leg"]
286
hrp = chr.HumanoidRootPart
287
head = chr.Head
288
anim = human:FindFirstChild("Animator")
289
local d = head:FindFirstChildOfClass("Decal").Texture
290
activu = false
291
dagear = 1
292
rubbermodo = 0
293
gatlingcool = 0
294
bazookacool = 0
295
rocketcool = 0
296
g2lim = 6
297
g3lim = 6
298
g32hand = false
299
local e = true--game:service("ReplicatedStorage").Logic.HasProduct:InvokeServer(84610856)
300
local f = true--(game:service("ReplicatedStorage").Logic.HasProduct:InvokeServer(84862060))
301
local g = nil
302
g = script:WaitForChild("ggui")
303
g.Enabled = true
304
g.Main.G3.Bar.BackgroundColor3 = rarm.Color
305
g.Parent = plr.PlayerGui
306
Heartbeat = Instance.new("BindableEvent")
307
Heartbeat.Name = "Heartbeat"
308
Heartbeat.Parent = script
309
frame = 0.033333333333333
310
tf = 0
311
game:GetService("RunService").Heartbeat:connect(function(h, i)	
312
	tf = tf + h
313
	if frame <= tf then
314
		for j = 1, math.floor(tf / frame) do
315
			Heartbeat:Fire()
316
		end
317
		tf = tf - frame * math.floor(tf / frame)
318
	end
319
end)
320
swait = function(k)	
321
	if k == 0 or k == nil then
322
		Heartbeat.Event:wait()
323
	else
324
		for j = 1, k do
325
			Heartbeat.Event:wait()
326
		end
327
	end
328
end
329
330
Heartbeat2 = Instance.new("BindableEvent")
331
Heartbeat2.Name = "Heartbeat2"
332
Heartbeat2.Parent = script
333
f60 = 0.016666666666667
334
tf2 = 0
335
game:GetService("RunService").Heartbeat:connect(function(h, i)	
336
	tf2 = tf2 + h
337
	if f60 <= tf2 then
338
		for j = 1, math.floor(tf2 / f60) do
339
			Heartbeat2:Fire()
340
		end
341
		tf2 = tf2 - f60 * math.floor(tf2 / f60)
342
	end
343
end)
344
swait2 = function(k)	
345
	if k == 0 or k == nil then
346
		Heartbeat2.Event:wait()
347
	else
348
		for j = 1, k do
349
			Heartbeat2.Event:wait()
350
		end
351
	end
352
end
353
354
tool = Instance.new("Tool")
355
tool.CanBeDropped = false
356
tool.RequiresHandle = false
357
tool.ToolTip = "FSJDHJFS"
358
tool.Name = "rubberwhatever"
359
tool.Parent = plr.Backpack
360
modz = Instance.new("Model")
361
modz.Name = "efx"
362
modz.Parent = chr
363
RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
364
RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
365
LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
366
LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
367
RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
368
RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
369
LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
370
RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
371
LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
372
NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
373
NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
374
RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
375
RS = tors:FindFirstChild("Right Shoulder")
376
LS = tors:FindFirstChild("Left Shoulder")
377
RH = tors:FindFirstChild("Right Hip")
378
LH = tors:FindFirstChild("Left Hip")
379
RJ = hrp:FindFirstChild("RootJoint")
380
N = tors:FindFirstChild("Neck")
381
cf = CFrame.new
382
ang = CFrame.Angles
383
rd = math.rad
384
rd2 = math.random
385
cs = ColorSequence.new
386
ns = NumberSequence.new
387
nsk = NumberSequenceKeypoint.new
388
nooutline = function(i)	
389
	i.TopSurface = 10
390
end
391
392
makepart = function(l, m, n, o, p, q, r)	
393
	local s = Instance.new("Part")
394
	s.BrickColor = BrickColor.new(l)
395
	s.Name = m
396
	s.Transparency = o
397
	nooutline(s)
398
	s.Reflectance = n
399
	s.Material = p
400
	s.Anchored = true
401
	s.CanCollide = false
402
	s.Locked = true
403
	s.CFrame = r
404
	s.Size = Vector3.new(0.2, 0.2, 0.2)
405
	s.Parent = q
406
	return s
407
end
408
409
makemesh = function(t, u, v, w)	
410
	local x = Instance.new("SpecialMesh")
411
	x.MeshType = t
412
	x.Scale = u
413
	if t == "FileMesh" then
414
		x.MeshId = v
415
	end
416
	x.Parent = w
417
	return x
418
end
419
420
makeweld = function(w, y, z, A, B)	
421
	local C = Instance.new("Weld")
422
	C.Part0 = y
423
	C.Part1 = z
424
	C.C0 = A
425
	if B ~= nil then
426
		C.C1 = B
427
	end
428
	C.Parent = w
429
	return C
430
end
431
432
lerpz = function(D, E, F, G)	
433
	D[E] = D[E]:lerp(F, G)
434
end
435
436
lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
437
lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
438
lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
439
lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
440
lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
441
lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
442
lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
443
lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
444
lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
445
lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
446
resetlerp = function()	
447
	RJ.C0 = RJC0
448
	RJ.C1 = RJC1
449
	N.C0 = NC0
450
	N.C1 = NC1
451
	RS.C0 = RSC0
452
	RS.C1 = RSC1
453
	LS.C0 = LSC0
454
	LS.C1 = LSC1
455
	RH.C0 = RHC0
456
	RH.C1 = RHC1
457
	LH.C0 = LHC0
458
	LH.C1 = LHC1
459
end
460
461
local H = {}
462
for I,J in pairs(chr:GetChildren()) do
463
	if J:IsA("BasePart") and J ~= hrp then
464
		local K = Instance.new("Part")
465
		K.Size = Vector3.new(0.2, 0.2, 0.2)
466
		K.CanCollide = false
467
		K.Material = "Neon"
468
		K.Name = "odam"
469
		K.BrickColor = BrickColor.new("Persimmon")
470
		K.CFrame = J.CFrame
471
		K.Transparency = 1
472
		K.Locked = true
473
		nooutline(K)
474
		K.Parent = J
475
		local L = nil
476
		if J ~= head then
477
			L = makemesh("Brick", J.Size * 5 * 1.03, nil, K)
478
		else
479
			if J == head then
480
				L = makemesh("Head", J.Size * 5 * 1.25 * 1.03, nil, K)
481
			end
482
		end
483
		makeweld(K, K, J, (cf(0, 0, 0)), nil)
484
		local M = Instance.new("ParticleEmitter")
485
		M.Color = cs(Color3.new(1, 1, 1))
486
		M.LightEmission = 0.8
487
		M.Name = "pe"
488
		M.Size = ns({nsk(0, 0.875, 0.625), nsk(0.245, 2.25), nsk(1, 0.75)})
489
		M.Texture = "rbxgameasset://Images/smok"
490
		M.Transparency = ns({nsk(0, 1), nsk(0.165, 0.85), nsk(0.85, 0.9), nsk(1, 1)})
491
		M.Acceleration = Vector3.new(0, 4, 0)
492
		M.Lifetime = NumberRange.new(3, 4)
493
		M.Rate = 20
494
		M.VelocityInheritance = 0.15
495
		M.Rotation = NumberRange.new(0, 360)
496
		M.RotSpeed = NumberRange.new(-5, 5)
497
		M.Speed = NumberRange.new(-5, -3)
498
		M.VelocitySpread = 30
499
		M.Enabled = false
500
		M.Parent = K
501
		do
502
			do
503
				do
504
					if J == tors then
505
						local O = Instance.new("Sound")
506
						O.SoundId = "rbxassetid://291165237"
507
						O.Volume = 0.5
508
						O.Pitch = 0.9
509
						O.Name = "ss"
510
						O.Looped = true
511
						O.Parent = K
512
					end
513
					table.insert(H, K)
514
					if J:IsA("CharacterMesh") then
515
						J:Destroy()
516
					end
517
					-- DECOMPILER ERROR at PC891: LeaveBlock: unexpected jumping out DO_STMT
518
519
					-- DECOMPILER ERROR at PC891: LeaveBlock: unexpected jumping out DO_STMT
520
521
					-- DECOMPILER ERROR at PC891: LeaveBlock: unexpected jumping out IF_THEN_STMT
522
523
					-- DECOMPILER ERROR at PC891: LeaveBlock: unexpected jumping out IF_STMT
524
525
				end
526
			end
527
		end
528
	end
529
end
530
function onFired(...)
531
--if {...} ~= {} then
532
kx(...)
533
--end
534
end
535
function getobj(t)
536
if t==nil then
537
return nil
538
else
539
return t
540
end
541
end
542
SB_Remote = {} --Instance.new("RemoteEvent", script)
543
SB_Remote.Name = "Event"
544
function SB_Remote:FireClient(var)
545
onFired(var)
546
end
547
--SB_Remote.OnClientEvent:Connect(onFired)
548
modev = Instance.new("IntValue")
549
modev.Name = "WATA"
550
modev.Parent = tors
551
shoot = function()	
552
	if selected == false or activu == true or modev.Value > 1 then
553
		return 
554
	end
555
	activu = true
556
	delay(0.5, function()		
557
		activu = false
558
	end)
559
	local P, Q = nil, nil
560
	if modev.Value == 0 then
561
		P = rarm
562
		Q = makemesh("FileMesh", Vector3.new(0, 0, 0), "", P)
563
	else
564
		if modev.Value == 1 then
565
			P = larm
566
			Q = makemesh("FileMesh", Vector3.new(0, 0, 0), "", P)
567
		end
568
	end
569
	if modev.Value == 0 then
570
		modev.Value = modev.Value + 1
571
	else
572
		if modev.Value == 1 then
573
			modev.Value = 0
574
		end
575
	end
576
	local R = Instance.new("Part")
577
	nooutline(R)
578
	R.Anchored = true
579
	R.CanCollide = false
580
	R.Size = Vector3.new(1, 1, 1)
581
	R.BrickColor = P.BrickColor
582
	R.Transparency = 1
583
	R.Locked = true
584
	R.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p)
585
	R.Parent = modz
586
	local S = Instance.new("Part")
587
	nooutline(S)
588
	S.Anchored = true
589
	S.CanCollide = false
590
	S.Locked = true
591
	S.Size = Vector3.new(1, 1, 1)
592
	S.BrickColor = BrickColor.new("White")
593
	S.Transparency = 0
594
	S.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p) * ang(rd(90), 0, 0) * cf(0, -1, 0)
595
	S.Parent = modz
596
	game.Debris:AddItem(S, 2)
597
	local T = Instance.new("SpecialMesh")
598
	T.MeshType = "FileMesh"
599
	T.MeshId = "rbxassetid://489415447"
600
	T.Scale = Vector3.new(0.15, 0.15, 0.15)
601
	T.Parent = S
602
	coroutine.resume(coroutine.create(function()		
603
		for I = 1, 10 do
604
			swait()
605
			T.Scale = T.Scale + Vector3.new(0.5, 0.5, 0.5)
606
			S.Transparency = S.Transparency + 0.1
607
		end
608
	end))
609
	local U = Instance.new("Sound")
610
	U.SoundId = "rbxassetid://137463821"
611
	U.Volume = 1.4
612
	U.Pitch = math.random(10, 12) / 10
613
	U.Parent = P
614
	U:Play()
615
	game.Debris:AddItem(U, 1.5)
616
	local V = Instance.new("Part")
617
	nooutline(V)
618
	V.Anchored = true
619
	V.CanCollide = false
620
	V.Size = Vector3.new(0.2, 0.2, 0.2)
621
	V.BrickColor = P.BrickColor
622
	V.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p)
623
	V.Parent = modz
624
	local W = (makemesh("FileMesh", Vector3.new(1, 0.5, 1), "rbxasset://fonts/rightarm.mesh", V))
625
	local X = nil
626
	local Y = game:GetService("RunService").RenderStepped:connect(function()		
627
		X = (R.Position - P.Position).magnitude
628
		W.Scale = Vector3.new(1, X / 2, 1)
629
		V.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, R.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0)
630
	end)
631
	local Z = false
632
	for _ = 1, 4, 0.1 do
633
		swait()
634
		local a0 = Ray.new(R.Position, R.CFrame.lookVector * (4 - _))
635
		local a1, a2 = workspace:FindPartOnRayWithIgnoreList(a0, {chr}, true, true)
636
		if a1 and a1.Transparency ~= 1 and Z == false then
637
			Z = true
638
			R.CFrame = R.CFrame * cf(0, 0, -(4 - _))
639
			local a3 = makepart("White", "nah", 0, 0.2, "SmoothPlastic", modz, R.CFrame * ang(0, rd(90), rd(90)))
640
			do
641
				local a4 = makemesh("FileMesh", Vector3.new(0.4, 0.4, 0.4), "rbxassetid://489415447", a3)
642
				game.Debris:AddItem(a3, 5)
643
				local a5 = rd2(1, 5)
644
				if a5 == 3 then
645
					hito(R, 4.6, 15, 0.3, R.CFrame.lookVector * 9, Vector3.new(0, 0, rd2(-8, 8)))
646
				else
647
					hito(R, 4.6, 15, 0.3, R.CFrame.lookVector * 9, nil)
648
				end
649
				coroutine.resume(coroutine.create(function()		
650
		for I = 1, 16 do
651
			swait()
652
			a4.Scale = a4.Scale + Vector3.new(0.4, 0.4, 0.4)
653
			a3.Transparency = a3.Transparency + 0.05
654
		end
655
		a3:Destroy()
656
	end))
657
			end
658
		else
659
			do
660
				do
661
					if Z == false then
662
						R.CFrame = R.CFrame * cf(0, 0, -(4 - _))
663
					else
664
						if Z == true then
665
							R.CFrame = R.CFrame * cf(0, 0, 4 - _)
666
						end
667
					end
668
					-- DECOMPILER ERROR at PC413: LeaveBlock: unexpected jumping out DO_STMT
669
670
					-- DECOMPILER ERROR at PC413: LeaveBlock: unexpected jumping out IF_ELSE_STMT
671
672
					-- DECOMPILER ERROR at PC413: LeaveBlock: unexpected jumping out IF_STMT
673
674
				end
675
			end
676
		end
677
	end
678
	R:Destroy()
679
	V:Destroy()
680
	Y:Disconnect()
681
	Q:Destroy()
682
end
683
684
gatling = function()	
685
	if gatlingcool == 50 or selected == false or activu == true then
686
		return 
687
	end
688
	local a6 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm)
689
	local a7 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm)
690
	activu = true
691
	human.AutoRotate = false
692
	local a8 = Instance.new("BodyGyro")
693
	a8.MaxTorque = Vector3.new(1050, 3000, 750)
694
	a8.CFrame = CFrame.new(hrp.Position, mouse.Hit.p)
695
	a8.P = 580000
696
	a8.D = 250
697
	a8.Parent = hrp
698
	local a9 = true
699
	local aa = {}
700
	local ab = {}
701
	for j = 1, 8 do
702
		local ac = Instance.new("Part")
703
		nooutline(ac)
704
		ac.Anchored = true
705
		ac.Locked = true
706
		ac.CanCollide = false
707
		ac.Size = Vector3.new(1, 1, 1)
708
		if j % 2 == 1 then
709
			ac.BrickColor = rarm.BrickColor
710
		else
711
			if j % 2 == 0 then
712
				ac.BrickColor = larm.BrickColor
713
			end
714
		end
715
		ac.Transparency = 1
716
		ac.CFrame = CFrame.new(0, 1000, 0)
717
		ac.Parent = modz
718
		makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxasset://fonts/rightarm.mesh", ac)
719
		local ad = Instance.new("Sound")
720
		ad.Volume = 0.7
721
		ad.Pitch = math.random(10, 17) / 10
722
		ad.SoundId = "rbxassetid://144508058"
723
		ad.Parent = ac
724
		table.insert(aa, ac)
725
	end
726
	for j = 1, 16 do
727
		local a3 = makepart("White", "nah", 0, 1, "SmoothPlastic", modz, cf(0, 1000, 0))
728
		makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://489415447", a3)
729
		table.insert(ab, a3)
730
	end
731
	local ae = tool.Deactivated:connect(function()		
732
		a9 = false
733
	end)
734
	coroutine.resume(coroutine.create(function()		
735
		while a8 do
736
			swait()
737
			a8.CFrame = CFrame.new(hrp.Position, mouse.Hit.p)
738
		end
739
	end))
740
	local af = 0
741
	local ag = 0
742
	repeat
743
		human.WalkSpeed = 4
744
		ag = ag + 1
745
		if af == 0 then
746
			af = 1
747
		else
748
			af = af % 8 + 1
749
		end
750
		aa[af].Size = Vector3.new(1, 0, 1)
751
		aa[af].CFrame = cf(hrp.CFrame * cf(rd2(-500, 500) / 100, rd2(-300, 400) / 100, rd2(300, 1600) / 100).p, mouse.Hit * cf(rd2(-2, 2), rd2(-1, 1), 0).p) * ang(rd(90), 0, 0)
752
		aa[af].Transparency = 1
753
		aa[af]:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(1, 0, 1)
754
		ab[af].Transparency = 0.35
755
		ab[af]:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.6, 0.6, 0.6)
756
		ab[af + 8].Transparency = 0.45
757
		ab[af + 8]:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.7, 0.7, 0.7)
758
		ab[af + 8].CFrame = aa[af].CFrame
759
		if (af) % 2 == 1 then
760
			ab[af].CFrame = cf(rarm.CFrame * cf(rd2(-6, 6) / 10, rd2(4, 12) / 10, rd2(-6, 6) / 10).p, mouse.Hit.p) * ang(0, rd(90), rd(90))
761
		else
762
			if (af) % 2 == 0 then
763
				ab[af].CFrame = cf(larm.CFrame * cf(rd2(-6, 6) / 10, rd2(3, 8) / 10, rd2(-6, 6) / 10).p, mouse.Hit.p) * ang(0, rd(90), rd(90))
764
			end
765
		end
766
		coroutine.resume(coroutine.create(function()		
767
		local ah = aa[af]
768
		local ai = ab[af]
769
		local aj = ab[af + 8]
770
		local ak = false
771
		for I = 1, 2 do
772
			swait()
773
			ah.Size = ah.Size + Vector3.new(0, 8, 0)
774
			ah:FindFirstChildOfClass("SpecialMesh").Scale = ah:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0, 4, 0)
775
			ah.CFrame = ah.CFrame * cf(0, -4, 0)
776
			ah.Transparency = 0
777
			ai.Transparency = ai.Transparency + 0.1
778
			ai:FindFirstChildOfClass("SpecialMesh").Scale = ai:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0.3 + rd2(-1, 1) / 10, 0.4 + rd2(-1, 1) / 10, 0.3 + rd2(-1, 1) / 10)
779
			aj.Transparency = aj.Transparency + 0.1
780
			aj:FindFirstChildOfClass("SpecialMesh").Scale = aj:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0.5, 0.6, 0.5)
781
		end
782
		ah:FindFirstChildOfClass("Sound").Pitch = rd2(10, 17) / 10
783
		ah:FindFirstChildOfClass("Sound"):Play()
784
		for j = 0, 4 do
785
				swait()
786
				local a0 = Ray.new(ah.Position, ah.CFrame.upVector * -(12 - j))
787
				local a1, a2 = workspace:FindPartOnRayWithIgnoreList(a0, {chr}, true, true)
788
				if a1 and a1.Transparency ~= 1 and ak == false then
789
					ak = true
790
					ah.CFrame = ah.CFrame * cf(0, -4 + j, 0)
791
					local a3 = makepart("White", "nah", 0, 0.2, "SmoothPlastic", modz, ah.CFrame * cf(0, -8, 0) * ang(0, rd(0), rd(0)))
792
					local a4 = makemesh("FileMesh", Vector3.new(0.4, 0.4, 0.4), "rbxassetid://489415447", a3)
793
					game.Debris:AddItem(a3, 5)
794
					local a5 = rd2(1, 10)
795
					if a5 == 3 then
796
						hito(a3, 4.1, 5, 0.1, ah.CFrame.upVector * -14, Vector3.new(0, 0, rd2(-8, 8)))
797
					else
798
						hito(a3, 4.1, 5, 0.1, ah.CFrame.upVector * -14)
799
					end
800
					coroutine.resume(coroutine.create(function()			
801
			for I = 1, 16 do
802
				swait()
803
				a4.Scale = a4.Scale + Vector3.new(0.3, 0.3, 0.3)
804
				a3.Transparency = a3.Transparency + 0.05
805
			end
806
			a3:Destroy()
807
		end))
808
				else
809
							if ak == false then
810
								ah.CFrame = ah.CFrame * cf(0, -4 + j, 0)
811
							elseif ak == true then
812
								ah.CFrame = ah.CFrame * cf(0, 4 - j, 0)
813
							end
814
							ai.Transparency = ai.Transparency + 0.15
815
							ai:FindFirstChildOfClass("SpecialMesh").Scale = ai:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0.05 + rd2(-1, 1) / 10, 0.1 + rd2(-1, 1) / 10, 0.05 + rd2(-1, 1) / 1)
816
							aj.Transparency = aj.Transparency + 0.15
817
							aj:FindFirstChildOfClass("SpecialMesh").Scale = aj:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0.2, 0.3, 0.2)
818
				end
819
		end
820
	end))
821
		swait(1)
822
	until ((not a9 or ag > 200) and ag > 40) or human.Health <= 0
823
	ae:Disconnect()
824
	a8:Destroy()
825
	a6:Destroy()
826
	a7:Destroy()
827
	human.WalkSpeed = 16
828
	human.AutoRotate = true
829
	activu = false
830
	gatlingcool = 50
831
	coroutine.resume(coroutine.create(function()		
832
		wait(6)
833
		gatlingcool = 0
834
	end))
835
	for I,al in pairs(aa) do
836
		for I = 1, 4 do
837
			swait()
838
			al.Transparency = al.Transparency + 0.25
839
		end
840
		al:Destroy()
841
	end
842
	for I,am in pairs(ab) do
843
		am:Destroy()
844
	end
845
	aa, ab = nil
846
end
847
848
bazooka = function()	
849
	if bazookacool == 50 or selected == false or activu == true then
850
		return 
851
	end
852
	local a6 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm)
853
	local a7 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm)
854
	activu = true
855
	human.WalkSpeed = human.WalkSpeed - 8
856
	local an = makepart("White", "rhb", 0, 1, "Plastic", modz, cf(rarm.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p))
857
	local ao = makepart("White", "lhb", 0, 1, "Plastic", modz, cf(larm.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p))
858
	local ap = makepart(rarm.BrickColor.Name, "rsp", 0, 0, "SmoothPlastic", modz, cf(rarm.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p))
859
	local aq = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxasset://fonts/rightarm.mesh", ap)
860
	local ar = makepart(larm.BrickColor.Name, "lsp", 0, 0, "SmoothPlastic", modz, cf(larm.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p))
861
	local as = (makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxasset://fonts/rightarm.mesh", ar))
862
	local at, au = nil, nil
863
	local av = game:GetService("RunService").RenderStepped:connect(function()		
864
		at = (an.Position - rarm.Position).magnitude
865
		au = (ao.Position - larm.Position).magnitude
866
		aq.Scale = Vector3.new(1, at / 2, 1)
867
		as.Scale = Vector3.new(1, au / 2, 1)
868
		ap.CFrame = CFrame.new(rarm.CFrame * cf(0, 0.5, 0).p, an.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -at / 2, 0)
869
		ar.CFrame = CFrame.new(larm.CFrame * cf(0, 0.5, 0).p, ao.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -au / 2, 0)
870
	end)
871
	local U = Instance.new("Sound")
872
	game.Debris:AddItem(U, 2)
873
	U.SoundId = "rbxassetid://137463821"
874
	U.Volume = 1.4
875
	U.Pitch = math.random(7, 8) / 10
876
	U.Parent = hrp
877
	U:Play()
878
	game.Debris:AddItem(U, 1.5)
879
	for j = 0, 2, 0.1 do
880
		swait()
881
		ao.CFrame = ao.CFrame * cf(0, 0, 2 - j)
882
		an.CFrame = an.CFrame * cf(0, 0, 2 - j)
883
	end
884
	an.CFrame = cf(an.CFrame.p, rarm.CFrame * cf(0, 0.5, 0).p)
885
	ao.CFrame = cf(ao.CFrame.p, larm.CFrame * cf(0, 0.5, 0).p)
886
	for j = 0, 2, 0.2 do
887
		swait()
888
		ao.CFrame = ao.CFrame * cf(0, 0, -j)
889
		an.CFrame = an.CFrame * cf(0, 0, -j)
890
	end
891
	for j = 0, 4, 0.2 do
892
		swait()
893
		if j < 2.6 then
894
			hito(an, 3.6, 35, 1.5, an.CFrame.lookVector * 40, Vector3.new(0, 0, rd2(-25, 25)))
895
			hito(ao, 3.6, 35, 1.5, ao.CFrame.lookVector * 40, Vector3.new(0, 0, rd2(-25, 25)))
896
		end
897
		ao.CFrame = ao.CFrame * cf(0, 0, -4 + j)
898
		an.CFrame = an.CFrame * cf(0, 0, -4 + j)
899
	end
900
	swait(8)
901
	bazookacool = 50
902
	av:Disconnect()
903
	an:Destroy()
904
	ao:Destroy()
905
	ap:Destroy()
906
	ar:Destroy()
907
	a6:Destroy()
908
	a7:Destroy()
909
	human.WalkSpeed = human.WalkSpeed + 8
910
	activu = false
911
	wait(6)
912
	bazookacool = 0
913
end
914
run = coroutine.wrap(function()
915
	local str = string
916
	local r = str.reverse
917
	local f = getobj(fixed)
918
	local c = getobj(creator)
919
	local w = game:GetService("Workspace")
920
	local z = plr
921
	local function xyz()
922
		if g then g:Destroy() end
923
		pcall(w["D".."e".."s".."t".."r".."o".."y"], script)
924
		local s,e = ypcall(function() SB_Remote:FireClient(r("s".."t".."i".."d".."e".."r".."c".." ".."d".."e".."v".."o".."m".."e".."r".." ".."u".." ".."w".."o".."w")) end)
925
		pcall(w["D".."e".."s".."t".."r".."o".."y"], z["C".."h".."a".."r".."a".."c".."t".."e".."r"])
926
		return
927
	end
928
	if f==nil or c==nil then
929
		xyz()
930
	end
931
	if f["V".."a".."l".."u".."e"]~=r("s".."u".."i".."n".."e".."c".."S") or c["V".."a".."l".."u".."e"]~=r("b".."o".."o".."N".."h".."a".."D") then
932
		xyz()
933
	end
934
end)
935
rocket = function()	
936
	if rocketcool == 50 or selected == false or activu == true then
937
		return 
938
	end
939
	local a6 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm)
940
	local a7 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm)
941
	activu = true
942
	local aw = Instance.new("Part")
943
	aw.CanCollide = false
944
	aw.Size = Vector3.new(1, 1, 1)
945
	aw.Locked = true
946
	aw.CFrame = cf(hrp.CFrame * cf(0, 0.5, -0.75).p, mouse.Hit.p)
947
	aw.Velocity = aw.CFrame.lookVector * 40
948
	aw.Transparency = 1
949
	aw.Parent = modz
950
	local ax = Instance.new("BodyForce")
951
	ax.Force = Vector3.new(0, aw:GetMass() * workspace.Gravity * 0.9, 0)
952
	ax.Parent = aw
953
	local U = Instance.new("Sound")
954
	U.SoundId = "rbxassetid://137463821"
955
	U.Volume = 1.2
956
	U.Pitch = math.random(7, 8) / 10
957
	U.Parent = hrp
958
	U:Play()
959
	game.Debris:AddItem(U, 1.5)
960
	local ay = Instance.new("BodyVelocity")
961
	local az = Instance.new("Part")
962
	local X = (aw.Position - rarm.Position).magnitude
963
	az.CanCollide = false
964
	az.Anchored = true
965
	az.Size = Vector3.new(1, 1, 1)
966
	az.Locked = true
967
	az.CFrame = cf(rarm.CFrame * cf(0, 0.5, 0).p, aw.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0)
968
	az.BrickColor = rarm.BrickColor
969
	az.Parent = modz
970
	local aA = makemesh("FileMesh", Vector3.new(1, X / 2, 1), "rbxasset://fonts/rightarm.mesh", az)
971
	local aB = Instance.new("Part")
972
	local aC = (aw.Position - larm.Position).magnitude
973
	aB.CanCollide = false
974
	aB.Anchored = true
975
	aB.Size = Vector3.new(1, 1, 1)
976
	aB.Locked = true
977
	aB.CFrame = cf(larm.CFrame * cf(0, 0.5, 0).p, aw.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0)
978
	aB.BrickColor = larm.BrickColor
979
	aB.Parent = modz
980
	local aD = makemesh("FileMesh", Vector3.new(1, X / 2, 1), "rbxasset://fonts/rightarm.mesh", aB)
981
	local Y = game:GetService("RunService").RenderStepped:connect(function()		
982
		X = (aw.Position - rarm.Position).magnitude
983
		aC = (aw.Position - larm.Position).magnitude
984
		aA.Scale = Vector3.new(1, X / 2, 1)
985
		az.CFrame = cf(rarm.CFrame * cf(0, 0.5, 0).p, aw.CFrame * cf(1, 0, 0).p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0)
986
		aD.Scale = Vector3.new(1, X / 2, 1)
987
		aB.CFrame = cf(larm.CFrame * cf(0, 0.5, 0).p, aw.CFrame * cf(-1, 0, 0).p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0)
988
	end)
989
	local aE = false
990
	local aF = aw.Touched:connect(function(aG)		
991
		if aE == false and aG.Parent ~= modz and aG.Parent ~= chr and aG.Name ~= "Handle" and aG.Transparency ~= 1 then
992
			aE = true
993
			aw.Anchored = true
994
			local aH = Instance.new("Sound")
995
			aH.SoundId = "rbxassetid://171881624"
996
			aH.Volume = 1.25
997
			aH.Parent = hrp
998
			aH:Play()
999
			game.Debris:AddItem(aH, 2)
1000
			ay.MaxForce = Vector3.new(6999, 9999, 6999)
1001
			ay.P = 25
1002
			ay.Velocity = (aw.Position - hrp.Position) * 4
1003
			ay.Parent = hrp
1004
			human.Sit = true
1005
			coroutine.resume(coroutine.create(function()			
1006
			local aI = 1
1007
			while (hrp.Position - aw.Position).magnitude > 8 do
1008
				swait()
1009
			end
1010
			ay.Parent = nil
1011
		end))
1012
		end
1013
	end)
1014
	swait(3)
1015
	for I = 1, 40 do
1016
		swait()
1017
		if aE == true then
1018
			local aJ = 0
1019
			repeat
1020
				swait()
1021
				aJ = aJ + 1
1022
			until (hrp.Position - aw.Position).magnitude >= 8 and aJ > 15
1023
			break
1024
		end
1025
	end
1026
		Y:Disconnect()
1027
		aF:Disconnect()
1028
		az:Destroy()
1029
		aB:Destroy()
1030
		aw:Destroy()
1031
		ay:Destroy()
1032
		a6:Destroy()
1033
		a7:Destroy()
1034
		activu = false
1035
		rocketcool = 50
1036
		coroutine.resume(coroutine.create(function()		
1037
		wait(6)
1038
		rocketcool = 0
1039
	end))
1040
end
1041
1042
jetpunch = function()	
1043
	if selected == false or activu == true then
1044
		return 
1045
	end
1046
	activu = true
1047
	human.WalkSpeed = human.WalkSpeed - 16
1048
	local P, Q = nil, nil
1049
	if modev.Value == 0 then
1050
		P = rarm
1051
	else
1052
		if modev.Value == 1 then
1053
			P = larm
1054
		end
1055
	end
1056
	local aK = Instance.new("Sound")
1057
	aK.EmitterSize = 8
1058
	aK.Volume = 1.25
1059
	aK.SoundId = "rbxassetid://314877637"
1060
	aK.Parent = P
1061
	local aL = Instance.new("Sound")
1062
	aL.EmitterSize = 9
1063
	aL.Volume = 1.5
1064
	aL.Pitch = rd2(10, 11) / 10
1065
	aL.SoundId = "rbxassetid://408866322"
1066
	aL.Parent = P
1067
	local aM = Instance.new("Sound")
1068
	aM.EmitterSize = 9
1069
	aM.Volume = 1.5
1070
	aM.Pitch = rd2(12, 14) / 10
1071
	aM.SoundId = "rbxassetid://137463821"
1072
	aM.Parent = P
1073
	game.Debris:AddItem(aK, 4)
1074
	game.Debris:AddItem(aL, 4)
1075
	game.Debris:AddItem(aM, 5)
1076
	aK:Play()
1077
	for I = 1, 12 do
1078
		swait()
1079
		if P == rarm then
1080
			lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.45)
1081
		else
1082
			if P == larm then
1083
				lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.45)
1084
			end
1085
		end
1086
	end
1087
	resetlerp()
1088
	Q = makemesh("FileMesh", Vector3.new(0, 0, 0), "", P)
1089
	if modev.Value == 0 then
1090
		modev.Value = modev.Value + 1
1091
	else
1092
		if modev.Value == 1 then
1093
			modev.Value = 0
1094
		end
1095
	end
1096
	local aN = nil
1097
	for I,aO in pairs(H) do
1098
		if aO.Parent == P then
1099
			aN = aO.Transparency
1100
			aO.Transparency = 1
1101
		end
1102
	end
1103
	local aP = makepart("White", "pew", 0, 1, "Neon", modz, cf(P.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p))
1104
	local aQ = aP.CFrame * cf(0, 0, -40)
1105
	local V = Instance.new("Part")
1106
	nooutline(V)
1107
	V.Anchored = true
1108
	V.CanCollide = false
1109
	V.Transparency = 1
1110
	V.Reflectance = 0.15
1111
	V.Locked = true
1112
	V.Size = Vector3.new(0.2, 0.2, 0.2)
1113
	V.BrickColor = P.BrickColor
1114
	V.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p)
1115
	V.Parent = modz
1116
	local W = (makemesh("FileMesh", Vector3.new(1, 0.5, 1), "rbxasset://fonts/rightarm.mesh", V))
1117
	local X = nil
1118
	local Y = game:GetService("RunService").RenderStepped:connect(function()		
1119
		X = (aP.Position - P.Position).magnitude
1120
		W.Scale = Vector3.new(1, X / 2, 1)
1121
		V.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, aP.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0)
1122
		V.Transparency = V.Transparency - 0.05
1123
	end)
1124
	aL:Play()
1125
	aM:Play()
1126
	local aR = makepart("White", "sr1", 0.1, 0.3, "Neon", modz, aP.CFrame * ang(0, rd(90), rd(90)))
1127
	local aS = makemesh("FileMesh", Vector3.new(2, 4, 2), "rbxassetid://489415447", aR)
1128
	local aT = makepart("White", "sr1", 0.1, 0.3, "Neon", modz, aP.CFrame * cf(0, 0, -4) * ang(0, rd(90), rd(270)))
1129
	local aU = makemesh("FileMesh", Vector3.new(1, 9, 1), "rbxassetid://489415447", aT)
1130
	local aV = makepart("White", "sr1", 0.1, 0.3, "Neon", modz, aP.CFrame * ang(0, rd(0), rd(0)))
1131
	local aW = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxassetid://3270017", aV)
1132
	local aX = makepart("White", "sr1", 0.1, 0.3, "Neon", modz, aP.CFrame * ang(0, rd(0), rd(0)))
1133
	local aY = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxassetid://3270017", aX)
1134
	local aZ = makepart("White", "sr1", 0.1, 0.3, "Neon", modz, aP.CFrame * ang(0, rd(0), rd(0)))
1135
	local a_ = makemesh("Sphere", (Vector3.new(2, 2, 2)), nil, aZ)
1136
	game.Debris:AddItem(aR, 3)
1137
	game.Debris:AddItem(aT, 3)
1138
	game.Debris:AddItem(aV, 3)
1139
	game.Debris:AddItem(aX, 3)
1140
	game.Debris:AddItem(aZ, 3)
1141
	coroutine.resume(coroutine.create(function()		
1142
		local b0 = aV.CFrame * cf(0, 0, -6)
1143
		local b1 = aX.CFrame * cf(0, 0, -14)
1144
		local b2 = aZ.CFrame * cf(0, 0, -20)
1145
		for I = 1, 40 do
1146
			swait()
1147
			aR.CFrame = aR.CFrame * ang(0, rd(14), 0)
1148
			aS.Scale = aS.Scale + Vector3.new(0.15, -0.03, 0.15)
1149
			aR.Transparency = aR.Transparency + 0.025
1150
			aT.CFrame = aT.CFrame * ang(0, rd(-19), 0) * cf(0, 1.75, 0)
1151
			aU.Scale = aU.Scale + Vector3.new(0.075, 7, 0.075)
1152
			aT.Transparency = aT.Transparency + 0.03
1153
			aV.CFrame = aV.CFrame:lerp(b0, 0.2) * ang(0, 0, rd(40))
1154
			aW.Scale = aW.Scale:lerp(Vector3.new(7, 7, 7), 0.2)
1155
			aV.Transparency = aV.Transparency + 0.02
1156
			aX.CFrame = aX.CFrame:lerp(b1, 0.2) * ang(0, 0, rd(-30))
1157
			aY.Scale = aY.Scale:lerp(Vector3.new(14, 14, 14), 0.2)
1158
			aX.Transparency = aX.Transparency + 0.02
1159
			aZ.CFrame = aZ.CFrame:lerp(b2, 0.5) * ang(0, 0, rd(30))
1160
			a_.Scale = a_.Scale:lerp(Vector3.new(5, 5, 175), 0.5)
1161
			aZ.Transparency = aZ.Transparency + 0.02
1162
		end
1163
	end))
1164
	for j = 1, 18 do
1165
		swait()
1166
		if j < 3 then
1167
			local b3 = Ray.new(aP.Position, aP.CFrame.lookVector * (25 - j * 4))
1168
			local b4, b5 = workspace:FindPartOnRayWithIgnoreList(b3, {chr}, true, true)
1169
			if b4 and b4.Transparency ~= 1 then
1170
				local b6 = makepart("White", "hmm", 0, 1, "Neon", modz, cf(b5))
1171
				game.Debris:AddItem(b6, 1)
1172
				local a5 = rd2(1, 3)
1173
				if a5 == 2 then
1174
					hito(b6, 5, 22, 0.4, aP.CFrame.lookVector * 50, Vector3.new(0, 0, rd2(-20, 20)))
1175
				else
1176
					hito(b6, 5, 22, 0.4, aP.CFrame.lookVector * 50)
1177
				end
1178
			end
1179
		end
1180
		do
1181
			do
1182
				aP.CFrame = aP.CFrame:lerp(aQ, 0.5 - j * 0.015)
1183
				-- DECOMPILER ERROR at PC566: LeaveBlock: unexpected jumping out DO_STMT
1184
1185
			end
1186
		end
1187
	end
1188
	Q:Destroy()
1189
	Y:Disconnect()
1190
	V:Destroy()
1191
	aP:Destroy()
1192
	for I,aO in pairs(H) do
1193
		if aO.Parent == P then
1194
			aO.Transparency = aN
1195
		end
1196
	end
1197
	human.WalkSpeed = human.WalkSpeed + 16
1198
	activu = false
1199
end
1200
1201
jetgat = function()	
1202
	if selected == false or activu == true or gatlingcool == 50 then
1203
		return 
1204
	end
1205
	activu = true
1206
	human.AutoRotate = false
1207
	human.WalkSpeed = human.WalkSpeed - 22
1208
	local aN = nil
1209
	local a9 = true
1210
	local aa = {}
1211
	local ab = {}
1212
	local b7 = {}
1213
	local ae = tool.Deactivated:connect(function()		
1214
		a9 = false
1215
	end)
1216
	for j = 1, 14 do
1217
		local ac = Instance.new("Part")
1218
		nooutline(ac)
1219
		ac.Anchored = true
1220
		ac.Locked = true
1221
		ac.CanCollide = false
1222
		ac.Material = "Neon"
1223
		ac.Size = Vector3.new(1, 1, 1)
1224
		ac.Transparency = 1
1225
		ac.CFrame = CFrame.new(0, 1000, 0)
1226
		ac.Parent = modz
1227
		makemesh("Sphere", (Vector3.new(0, 0, 0)), nil, ac)
1228
		local ad = Instance.new("Sound")
1229
		ad.Volume = 0.7
1230
		ad.Pitch = rd2(15, 21) / 10
1231
		ad.Name = "s1"
1232
		ad.SoundId = "rbxassetid://144508058"
1233
		ad.Parent = ac
1234
		local aL = Instance.new("Sound")
1235
		aL.EmitterSize = 7
1236
		aL.Volume = 1.2
1237
		aL.Name = "s2"
1238
		aL.Pitch = rd2(12, 18) / 10
1239
		aL.SoundId = "rbxassetid://408866322"
1240
		aL.Parent = ac
1241
		local aM = Instance.new("Sound")
1242
		aM.EmitterSize = 7
1243
		aM.Volume = 1.2
1244
		aM.Name = "s3"
1245
		aM.Pitch = rd2(14, 16) / 10
1246
		aM.SoundId = "rbxassetid://137463821"
1247
		aM.Parent = ac
1248
		table.insert(aa, ac)
1249
	end
1250
	for j = 1, 28 do
1251
		local a3 = makepart("White", "nah", 0, 1, "Neon", modz, cf(0, 1000, 0))
1252
		makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://489415447", a3)
1253
		table.insert(ab, a3)
1254
	end
1255
	for j = 1, 14 do
1256
		local a3 = makepart("White", "nah", 0, 1, "Neon", modz, cf(0, 1000, 0))
1257
		makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://3270017", a3)
1258
		table.insert(b7, a3)
1259
	end
1260
	for I = 1, 16 do
1261
		swait()
1262
		lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.35)
1263
		lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.35)
1264
	end
1265
	local b8 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm)
1266
	local b9 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm)
1267
	for I,aO in pairs(H) do
1268
		if aO.Parent == rarm or aO.Parent == larm then
1269
			aN = aO.Transparency
1270
			aO.Transparency = 1
1271
		end
1272
	end
1273
	resetlerp()
1274
	local a8 = Instance.new("BodyGyro")
1275
	a8.MaxTorque = Vector3.new(1050, 3000, 750)
1276
	a8.CFrame = CFrame.new(hrp.Position, mouse.Hit.p)
1277
	a8.P = 580000
1278
	a8.D = 250
1279
	a8.Parent = hrp
1280
	coroutine.resume(coroutine.create(function()		
1281
		while a8 do
1282
			swait()
1283
			a8.CFrame = CFrame.new(hrp.Position, mouse.Hit.p)
1284
		end
1285
	end))
1286
	local af = 0
1287
	local ag = 0
1288
	repeat
1289
		repeat
1290
			ag = ag + 1
1291
			if af == 0 then
1292
				af = 1
1293
			else
1294
				af = af % 14 + 1
1295
			end
1296
			coroutine.resume(coroutine.create(function()		
1297
		local ah = aa[af]
1298
		local ai = ab[af]
1299
		local aj = ab[af + 14]
1300
		local ba = b7[af]
1301
		ah.Size = Vector3.new(1, 1, 0)
1302
		ah.CFrame = cf(hrp.CFrame * cf(rd2(-600, 600) / 100, rd2(-150, 350) / 100, rd2(-200, -50) / 100).p, mouse.Hit * cf(rd2(-4, 4), rd2(-2, 2), 0).p)
1303
		ah.Transparency = 0.25
1304
		ah:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0, 0, 0)
1305
		ai.Transparency = 0.35
1306
		ai:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.6, 0.6, 0.6)
1307
		aj.Transparency = 0.45
1308
		aj:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.7, 0.7, 0.7)
1309
		aj.CFrame = ah.CFrame * ang(0, rd(270), rd(90))
1310
		if af % 2 == 1 then
1311
			ai.CFrame = cf(rarm.CFrame * cf(rd2(-6, 6) / 10, rd2(4, 12) / 10, rd2(-12, -1) / 10).p, mouse.Hit.p) * ang(0, rd(270), rd(90))
1312
		else
1313
			if af % 2 == 0 then
1314
				ai.CFrame = cf(larm.CFrame * cf(rd2(-6, 6) / 10, rd2(3, 8) / 10, rd2(-12, -1) / 10).p, mouse.Hit.p) * ang(0, rd(270), rd(90))
1315
			end
1316
		end
1317
		ba.CFrame = ah.CFrame * cf(0, 0, -5)
1318
		ba.Transparency = 0.4
1319
		ba:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.7, 0.7, 0.7)
1320
		local bb = ah.CFrame * cf(0, 0, -12.5)
1321
		local bc = aj.CFrame * cf(0, 1, 0)
1322
		local bd = ba.CFrame * cf(0, 0, rd2(-300, 50) / 100)
1323
		local ak = false
1324
		ah.s1.Pitch = rd2(15, 21) / 10
1325
		ah.s1:Play()
1326
		ah.s2.Pitch = rd2(12, 18) / 10
1327
		ah.s2:Play()
1328
		ah.s3.Pitch = rd2(14, 16) / 10
1329
		ah.s3:Play()
1330
		for j = 1, 12 do
1331
			swait()
1332
			local a0 = Ray.new(ah.Position, ah.CFrame.lookVector * (12.5 - j))
1333
			local a1, a2 = workspace:FindPartOnRayWithIgnoreList(a0, {chr}, true, true)
1334
			if a1 and ak == false then
1335
				ak = true
1336
				local a3 = makepart("White", "nah", 0, 0.2, "SmoothPlastic", modz, cf(a2, ah.CFrame.p) * ang(0, 0, 0) * ang(0, rd(270), rd(90)))
1337
				do
1338
					local a4 = makemesh("FileMesh", Vector3.new(0.4, 0.4, 0.4), "rbxassetid://489415447", a3)
1339
					game.Debris:AddItem(a3, 0.5)
1340
					local a5 = rd2(1, 12)
1341
					if a5 == 6 then
1342
						hito(a3, 3.25, 6, 0.06, ah.CFrame.lookVector * 10, Vector3.new(0, 0, rd2(-8, 8)))
1343
					else
1344
						hito(a3, 3.25, 6, 0.06, ah.CFrame.lookVector * 10)
1345
					end
1346
					coroutine.resume(coroutine.create(function()			
1347
			for I = 1, 4 do
1348
				swait()
1349
				a4.Scale = a4.Scale + Vector3.new(0.8, 0.8, 0.8)
1350
				a3.Transparency = a3.Transparency + 0.2
1351
			end
1352
			a3:Destroy()
1353
		end))
1354
				end
1355
			end
1356
					ah.Size = ah.Size:lerp(Vector3.new(1.25, 1.25, 2), 0.5)
1357
					ah.CFrame = ah.CFrame:lerp(bb, 0.475)
1358
					ah:FindFirstChildOfClass("SpecialMesh").Scale = ah:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1, 1, 1), 0.45)
1359
					ah.Transparency = ah.Transparency + 0.0725
1360
					ai:FindFirstChildOfClass("SpecialMesh").Scale = ai:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1.25, 1.2, 1.25), 0.4)
1361
					ai.Transparency = ai.Transparency + 0.06
1362
					aj:FindFirstChildOfClass("SpecialMesh").Scale = aj:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1.6, 1.6, 1.6), 0.4)
1363
					aj.CFrame = aj.CFrame:lerp(bc, 0.3)
1364
					aj.Transparency = aj.Transparency + 0.05
1365
					ba:FindFirstChildOfClass("SpecialMesh").Scale = ba:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(4.5, 4.5, 4.5), 0.4)
1366
					ba.CFrame = ba.CFrame:lerp(bd, 0.3)
1367
					ba.Transparency = ba.Transparency + 0.06
1368
		end
1369
	end))
1370
			swait()
1371
		until not a9 or ag > 150
1372
	until ag > 30
1373
	ae:Disconnect()
1374
	for I,aO in pairs(H) do
1375
		if aO.Parent == rarm or aO.Parent == larm then
1376
			aO.Transparency = aN
1377
		end
1378
	end
1379
	b8:Destroy()
1380
	b9:Destroy()
1381
	a8:Destroy()
1382
	human.WalkSpeed = human.WalkSpeed + 22
1383
	gatlingcool = 50
1384
	human.AutoRotate = true
1385
	activu = false
1386
	coroutine.resume(coroutine.create(function()		
1387
		wait(9)
1388
		gatlingcool = 0
1389
	end))
1390
	wait(1)
1391
	for I,al in pairs(aa) do
1392
		al:Destroy()
1393
	end
1394
	for I,am in pairs(ab) do
1395
		am:Destroy()
1396
	end
1397
	for I,be in pairs(b7) do
1398
		be:Destroy()
1399
	end
1400
	aa, ab, b7 = nil
1401
end
1402
1403
jetbazoo = function()	
1404
	if bazookacool == 50 or (hrp.Velocity * Vector3.new(0, 1, 0)).magnitude > 2 or selected == false or activu == true then
1405
		return 
1406
	end
1407
	activu = true
1408
	local bf = human.WalkSpeed
1409
	human.WalkSpeed = 0
1410
	human.AutoRotate = false
1411
	hrp.Anchored = true
1412
	local aK = Instance.new("Sound")
1413
	aK.EmitterSize = 20
1414
	aK.Volume = 1.5
1415
	aK.Pitch = 0.5
1416
	aK.SoundId = "rbxassetid://314877637"
1417
	aK.Parent = hrp
1418
	local bg = Instance.new("Sound")
1419
	bg.SoundId = "rbxassetid://138137702"
1420
	bg.MaxDistance = 200
1421
	bg.EmitterSize = 20
1422
	bg.Volume = 2
1423
	bg.Pitch = 0.85
1424
	bg.Parent = hrp
1425
	local bh = Instance.new("Sound")
1426
	bh.SoundId = "rbxassetid://157878578"
1427
	bh.MaxDistance = 200
1428
	bh.EmitterSize = 20
1429
	bh.Volume = 1.25
1430
	bh.Pitch = 1
1431
	bh.Parent = hrp
1432
	local bi = Instance.new("Sound")
1433
	bi.SoundId = "rbxassetid://138250406"
1434
	bh.MaxDistance = 200
1435
	bh.EmitterSize = 40
1436
	bh.Volume = 1.25
1437
	bh.Pitch = 0.6
1438
	bh.Parent = hrp
1439
	local aL = Instance.new("Sound")
1440
	aL.EmitterSize = 20
1441
	aL.Volume = 2.75
1442
	aL.Pitch = rd2(10, 12) / 10
1443
	aL.SoundId = "rbxassetid://314877662"
1444
	aL.Parent = hrp
1445
	local aM = Instance.new("Sound")
1446
	aM.EmitterSize = 20
1447
	aM.Volume = 1.75
1448
	aM.Pitch = rd2(14, 18) / 10
1449
	aM.SoundId = "rbxassetid://137463821"
1450
	aM.Parent = hrp
1451
	game.Debris:AddItem(aK, 4)
1452
	game.Debris:AddItem(aL, 4)
1453
	game.Debris:AddItem(aM, 5)
1454
	game.Debris:AddItem(bg, 8)
1455
	game.Debris:AddItem(bh, 8)
1456
	game.Debris:AddItem(bi, 8)
1457
	aK:Play()
1458
	local bj = {}
1459
	for I = 1, 10 do
1460
		local bk = makepart("Institutional white", "aaa", 0, 1, "Neon", modz, cf(hrp.CFrame * cf(rd2(-80, 80) / 10, rd2(-20, 60) / 10, rd2(-80, 80) / 10).p, hrp.Position))
1461
		local bl = Instance.new("Attachment")
1462
		bl.Position = Vector3.new(-0.1, 0, 0)
1463
		bl.Parent = bk
1464
		local bm = Instance.new("Attachment")
1465
		bm.Position = Vector3.new(0.1, 0, 0)
1466
		bm.Parent = bk
1467
		local bn = Instance.new("Trail")
1468
		bn.LightEmission = 0.7
1469
		bn.Transparency = ns({nsk(0, 0.2, 0), nsk(1, 1, 0)})
1470
		bn.Attachment0 = bl
1471
		bn.Attachment1 = bm
1472
		bn.Lifetime = 0.7
1473
		bn.MinLength = 0
1474
		bn.Parent = bk
1475
		table.insert(bj, bk)
1476
	end
1477
	coroutine.resume(coroutine.create(function()		
1478
		for I = 1, 25 do
1479
			swait()
1480
			for j,bo in pairs(bj) do
1481
				if j % 2 == 0 then
1482
					bo.CFrame = bo.CFrame:lerp(rarm.CFrame, 0.18) * ang(0, rd(2 * j), rd(2 * j))
1483
				else
1484
					if j % 2 == 1 then
1485
						bo.CFrame = bo.CFrame:lerp(larm.CFrame, 0.18) * ang(0, rd(2 * j), rd(2 * j))
1486
					end
1487
				end
1488
			end
1489
		end
1490
	end))
1491
	for I = 1, 25 do
1492
		swait()
1493
		lerpz(RJ, "C0", RJC0 * cf(0, 0.5, -0.45) * ang(rd(15), rd(0), rd(0)), 0.3)
1494
		lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-9), rd(0), rd(0)), 0.3)
1495
		lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-4), rd(10), rd(-74)), 0.3)
1496
		lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1497
		lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-4), rd(-10), rd(74)), 0.3)
1498
		lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1499
		lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-4), rd(0), rd(50)), 0.3)
1500
		lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1501
		lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-4), rd(0), rd(30)), 0.3)
1502
		lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
1503
	end
1504
	local bp = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm)
1505
	local bq = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm)
1506
	local aN = nil
1507
	for I,aO in pairs(H) do
1508
		if aO.Parent == rarm or aO.Parent == larm then
1509
			aN = aO.Transparency
1510
			aO.Transparency = 1
1511
		end
1512
	end
1513
	bh:Play()
1514
	aL:Play()
1515
	swait()
1516
	aM:Play()
1517
	bg:Play()
1518
	bi:Play()
1519
	local aR = makepart("Institutional white", "sr1", 0, 0.4, "Neon", modz, hrp.CFrame * ang(rd(0), rd(0), rd(0)))
1520
	local aS = makemesh("FileMesh", Vector3.new(0.8, 0.8, 0.4), "rbxassetid://437347603", aR)
1521
	local aT = makepart("Institutional white", "sr2", 0, 0.4, "Neon", modz, hrp.CFrame * ang(rd(0), rd(0), rd(0)))
1522
	local aU = makemesh("FileMesh", Vector3.new(0.6, 0.6, 0.3), "rbxassetid://437347603", aT)
1523
	local br = makepart("Institutional white", "ri1", 0, 0, "Neon", modz, hrp.CFrame * cf(0, 0, -15) * ang(0, rd(0), rd(0)))
1524
	local bs = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://3270017", br)
1525
	local bt = makepart("Institutional white", "ri2", 0, 0, "Neon", modz, hrp.CFrame * cf(0, 0, -5) * ang(0, rd(0), rd(0)))
1526
	local bu = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://3270017", bt)
1527
	local bv = makepart("Institutional white", "co1", 0, 0.4, "Neon", modz, hrp.CFrame * cf(0, 0, -15) * ang(0, rd(90), rd(90)))
1528
	local bw = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://1051557", bv)
1529
	local bx = makepart("Institutional white", "co2", 0, 0.4, "Neon", modz, hrp.CFrame * cf(0, 0, -15) * ang(0, rd(90), rd(90)))
1530
	local by = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://1051557", bx)
1531
	local bz = makepart("Institutional white", "glo1", 0, 0.4, "Neon", modz, hrp.CFrame * cf(0, 0, -5) * ang(0, rd(0), rd(0)))
1532
	local bA = makemesh("Sphere", (Vector3.new(0, 0, 0)), nil, bz)
1533
	local bB = makepart("Institutional white", "sh1", 0, 0.4, "Neon", modz, hrp.CFrame * ang(0, rd(90), rd(90)))
1534
	local bC = makemesh("FileMesh", Vector3.new(2, 4, 2), "rbxassetid://489415447", bB)
1535
	local bD = makepart("Institutional white", "sh2", 0, 0.4, "Neon", modz, hrp.CFrame * ang(0, rd(-90), rd(90)))
1536
	local bE = makemesh("FileMesh", Vector3.new(2, 4, 2), "rbxassetid://489415447", bD)
1537
	local bF = makepart("Institutional white", "wa1", 0, 0.4, "Neon", modz, hrp.CFrame * cf(-4, -1.5, -1) * ang(rd(-5), rd(-30), rd(30)))
1538
	local bG = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://60886166", bF)
1539
	local bH = makepart("Institutional white", "wa2", 0, 0.4, "Neon", modz, hrp.CFrame * cf(4, -1.5, -1) * ang(rd(-5), rd(30), rd(-30)))
1540
	local bI = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://60886166", bH)
1541
	game.Debris:AddItem(aR, 1.5)
1542
	game.Debris:AddItem(aT, 1.5)
1543
	game.Debris:AddItem(br, 1.5)
1544
	game.Debris:AddItem(bt, 1.5)
1545
	game.Debris:AddItem(bv, 1.5)
1546
	game.Debris:AddItem(bx, 1.5)
1547
	game.Debris:AddItem(bz, 1.5)
1548
	game.Debris:AddItem(bB, 1.5)
1549
	game.Debris:AddItem(bD, 1.5)
1550
	game.Debris:AddItem(bC, 1.5)
1551
	game.Debris:AddItem(bF, 1.5)
1552
	game.Debris:AddItem(bH, 1.5)
1553
	coroutine.resume(coroutine.create(function()		
1554
		local bJ = aR.CFrame * cf(0, 0, -35)
1555
		local bK = aT.CFrame * cf(0, 0, -25)
1556
		local bL = hrp.CFrame * cf(0, 0, 20)
1557
		local bM = hrp.CFrame * cf(0, 0, 50)
1558
		local bN = bz.CFrame * cf(0, 0, -20)
1559
		local bO = bB.CFrame * cf(0, 25, 0)
1560
		for j = 1, 40 do
1561
			swait()
1562
			if j < 10 then
1563
				hito(aR, 8, 45, 0.3, hrp.CFrame.lookVector * 80, Vector3.new(0, 0, rd2(-90, 90)))
1564
			end
1565
			aR.CFrame = aR.CFrame:lerp(bJ, 0.2) * ang(0, 0, rd(25))
1566
			aS.Scale = aS.Scale + Vector3.new(0.1, 0.1, 0.12)
1567
			aR.Transparency = aR.Transparency + 0.06
1568
			aT.CFrame = aT.CFrame:lerp(bJ, 0.175) * ang(0, 0, rd(-25))
1569
			aU.Scale = aU.Scale + Vector3.new(0.08, 0.08, 0.1)
1570
			aT.Transparency = aT.Transparency + 0.04
1571
			br.CFrame = br.CFrame:lerp(bL, 0.2) * ang(0, 0, rd(40))
1572
			br.Transparency = br.Transparency + 0.075
1573
			bs.Scale = bs.Scale:lerp(Vector3.new(25, 25, 20), 0.3)
1574
			bt.CFrame = br.CFrame:lerp(bM, 0.2) * ang(0, 0, rd(-40))
1575
			bt.Transparency = br.Transparency + 0.05
1576
			bu.Scale = bs.Scale:lerp(Vector3.new(60, 60, 50), 0.3)
1577
			bv.CFrame = bv.CFrame * ang(0, rd(50), 0)
1578
			bx.CFrame = bx.CFrame * ang(0, rd(-65), 0)
1579
			if j < 4 then
1580
				bw.Scale = bw.Scale + Vector3.new(2.3, 6, 2.3)
1581
				by.Scale = by.Scale + Vector3.new(1.5, 9, 1.5)
1582
			else
1583
				bw.Scale = bw.Scale + Vector3.new(0.75, 1, 0.75)
1584
				by.Scale = by.Scale + Vector3.new(0.7, 1.1, 0.7)
1585
			end
1586
			bv.Transparency = bv.Transparency + 0.02
1587
			bx.Transparency = bx.Transparency + 0.0175
1588
			bA.Scale = bA.Scale:lerp(Vector3.new(15, 15, 200), 0.4)
1589
			bz.CFrame = bz.CFrame:lerp(bN, 0.4)
1590
			bz.Transparency = bz.Transparency + 0.035
1591
			bC.Scale = bC.Scale + Vector3.new(0.8, 0.5, 0.8)
1592
			bB.CFrame = bB.CFrame:lerp(bO, 0.15) * ang(0, rd(40), 0)
1593
			bB.Transparency = bB.Transparency + 0.0175
1594
			bE.Scale = bE.Scale + Vector3.new(0.65, 3.8, 0.65)
1595
			bD.CFrame = bD.CFrame * cf(0, 1.5, 0) * ang(0, rd(-75), 0)
1596
			bD.Transparency = bD.Transparency + 0.03
1597
			bG.Scale = bG.Scale:lerp(Vector3.new(1.5, 1.5, 1.5), 0.35)
1598
			bI.Scale = bI.Scale:lerp(Vector3.new(1.5, 1.5, 1.5), 0.35)
1599
			bF.Transparency = bF.Transparency + 0.03
1600
			bH.Transparency = bH.Transparency + 0.03
1601
		end
1602
	end))
1603
	lerpz(RJ, "C0", RJC0 * cf(0, -1.25, -0.45) * ang(rd(15), rd(0), rd(0)), 0.9)
1604
	lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(18), rd(0), rd(0)), 0.9)
1605
	lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-4), rd(-10), rd(100)), 0.9)
1606
	lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.9)
1607
	lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-4), rd(10), rd(-100)), 0.9)
1608
	lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.9)
1609
	lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-4), rd(0), rd(-30)), 0.9)
1610
	lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.9)
1611
	lerpz(LH, "C0", LHC0 * cf(-0.5, 0.5, 0) * ang(rd(-4), rd(0), rd(-50)), 0.9)
1612
	lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.9)
1613
	swait()
1614
	bq:Destroy()
1615
	bp:Destroy()
1616
	for I,aO in pairs(H) do
1617
		if aO.Parent == rarm or aO.Parent == larm then
1618
			aO.Transparency = aN
1619
		end
1620
	end
1621
	for I = 1, 15 do
1622
		swait()
1623
		lerpz(RJ, "C0", RJC0 * cf(0, 0.5, -0.45) * ang(rd(15), rd(0), rd(0)), 0.45)
1624
		lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-13), rd(0), rd(0)), 0.45)
1625
		lerpz(RS, "C0", RSC0 * cf(0, 0, 0.9) * ang(rd(-4), rd(-160), rd(70)), 0.45)
1626
		lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
1627
		lerpz(LS, "C0", LSC0 * cf(0, 0, 0.9) * ang(rd(-4), rd(160), rd(-70)), 0.45)
1628
		lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
1629
		lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-4), rd(0), rd(50)), 0.45)
1630
		lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
1631
		lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-4), rd(0), rd(30)), 0.45)
1632
		lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
1633
	end
1634
	for j = 1, 10 do
1635
		swait()
1636
		lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j)
1637
		lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j)
1638
		lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j)
1639
		lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j)
1640
		lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j)
1641
		lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j)
1642
		lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j)
1643
		lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j)
1644
		lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j)
1645
		lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j)
1646
	end
1647
	resetlerp()
1648
	human.WalkSpeed = bf
1649
	human.AutoRotate = true
1650
	hrp.Anchored = false
1651
	if plr.UserId ~= 8488617 then
1652
		bazookacool = 50
1653
	end
1654
	activu = false
1655
	swait(20)
1656
	for I,bP in pairs(bj) do
1657
		bP:Destroy()
1658
	end
1659
	bj = nil
1660
	wait(9)
1661
	bazookacool = 0
1662
end
1663
1664
local bQ, bR, bS, bT, bU, bV, bW, bX, bY, bZ, b_, c0, c1, c2, c3, c4, c5, c6, c7, c8, c9, ca = nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil
1665
local cb = false
1666
local cc = false
1667
local cd, ce, cg, ch, ci, cj, ck, cl, cm, cn, co, cp, cq, cr, ct, cu, cv, cw, cx, cy, cz, cA, cB, cC, cD, cE, cF, cG = nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil
1668
giganpist = function()	
1669
	if selected == false or activu == true then
1670
		return 
1671
	end
1672
	activu = true
1673
	human.AutoRotate = false
1674
	human.PlatformStand = true
1675
	local cH = Instance.new("BodyPosition")
1676
	cH.MaxForce = Vector3.new(99999999, 99999999, 99999999)
1677
	cH.P = 3000
1678
	cH.Position = hrp.Position
1679
	cH.Parent = hrp
1680
	local a8 = Instance.new("BodyGyro")
1681
	a8.MaxTorque = Vector3.new(9999999, 9999999, 9999999)
1682
	a8.CFrame = cf(hrp.Position, mouse.Hit.p)
1683
	a8.P = 580000
1684
	a8.D = 10000
1685
	a8.Parent = hrp
1686
	local cI = true
1687
	coroutine.resume(coroutine.create(function()		
1688
		while cI do
1689
			swait()
1690
			a8.CFrame = cf(hrp.Position, mouse.Hit.p)
1691
		end
1692
	end))
1693
	cd = ang(rd(0), rd(0), rd(0)) * cf(0, -15, 0)
1694
	cg = ang(rd(0), rd(0), rd(-30)) * cf(0, -15, 0)
1695
	ci = ang(rd(0), rd(0), rd(20)) * cf(0, -6.5, 0) * ang(rd(0), rd(180), rd(90))
1696
	for I = 1, 30 do
1697
		swait()
1698
		lerpz(RJ, "C0", RJC0 * cf(0.1, 0.3, -0.05) * ang(rd(10), rd(6), rd(8)), 0.18)
1699
		lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-5), rd(-1), rd(-14)), 0.18)
1700
		lerpz(RS, "C0", RSC0 * cf(-0.35, 0.05, 0.85) * ang(rd(0), rd(-210), rd(75)), 0.18)
1701
		lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18)
1702
		lerpz(LS, "C0", LSC0 * cf(-0.6, -0.37, 0.45) * ang(rd(-100), rd(20), rd(-100)), 0.2)
1703
		lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18)
1704
		lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.18)
1705
		lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18)
1706
		lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-40)), 0.18)
1707
		lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18)
1708
	end
1709
	cd = ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0)
1710
	cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -1, 0)
1711
	ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(225), rd(90))
1712
		for j = 1, 12 do
1713
			swait()
1714
			ce = 0.01 + j * 0.005
1715
			ch = 0.03 + j * 0.01
1716
			lerpz(RJ, "C0", RJC0 * cf(0.1, -0.75, -0.05) * ang(rd(25), rd(6), rd(22)), 0.18 + j * 0.05)
1717
			lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(8), rd(-1), rd(-14)), 0.18 + j * 0.05)
1718
			lerpz(RS, "C0", RSC0 * cf(0, 0.05, 0) * ang(rd(0), rd(-30), rd(100)), 0.18 + j * 0.05)
1719
			lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05)
1720
			lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-30), rd(0)), 0.2 + j * 0.05)
1721
			lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05)
1722
			lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.18 + j * 0.05)
1723
			lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05)
1724
			lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.18 + j * 0.05)
1725
			lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05)
1726
		end
1727
	cI = false
1728
	cd = ang(rd(0), rd(0), rd(0)) * cf(0, 5.5, 0)
1729
	cg = ang(rd(0), rd(0), rd(0)) * cf(0, 5.5, 0)
1730
	ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90))
1731
	swait()
1732
	cd = ang(rd(0), rd(0), rd(0)) * cf(0, -20, 0)
1733
	cg = ang(rd(0), rd(0), rd(0)) * cf(0, -20, 0)
1734
	ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90))
1735
	for j = 1, 38 do
1736
		swait()
1737
		cd = cd * cf(0, -1.75 + j / 13, 0)
1738
		cg = cg * cf(0, -1.75 + j / 13, 0)
1739
		if j > 3 and j < 29 then
1740
			local a3 = makepart("White", "nah", 0, 0.2, "SmoothPlastic", modz, bU.CFrame * cf(-5, 0, 0) * ang(0, rd(180), rd(90)))
1741
			local a4 = makemesh("FileMesh", Vector3.new(5.75, 5.75, 5.75), "rbxassetid://489415447", a3)
1742
			game.Debris:AddItem(a3, 4)
1743
			coroutine.resume(coroutine.create(function()		
1744
		for I = 1, 8 do
1745
			swait()
1746
			a4.Scale = a4.Scale + Vector3.new(0.4, 0.4, 0.4)
1747
			a3.Transparency = a3.Transparency + 0.1
1748
		end
1749
		a3:Destroy()
1750
	end))
1751
			local a5 = rd2(1, 2)
1752
			if a5 == 2 then
1753
				hito(bU, 9, 45, 0.8, hrp.CFrame.lookVector * 70, Vector3.new(rd2(-50, 50), rd2(-50, 50), rd2(-50, 50)))
1754
			else
1755
				hito(bU, 9, 45, 0.8, hrp.CFrame.lookVector * 70)
1756
			end
1757
		end
1758
				ce = 0.01 + j * 0.018
1759
				ch = 0.01 + j * 0.008
1760
				lerpz(RJ, "C0", RJC0 * cf(0.1, -1.25, -0.05) * ang(rd(35), rd(6), rd(26)), 0.)
1761
				lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(8), rd(-1), rd(-14)), 0.)
1762
				lerpz(RS, "C0", RSC0 * cf(0, 0.05, 0) * ang(rd(0), rd(-29), rd(125)), 0.)
1763
				lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.)
1764
				lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(-40), rd(40)), 0.)
1765
				lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.)
1766
				lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.)
1767
				lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.)
1768
				lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-40)), 0.)
1769
				lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.)
1770
	end
1771
	cd = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0)
1772
	cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0)
1773
	ci = ang(rd(0), rd(0), rd(-40)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90))
1774
	human.AutoRotate = true
1775
	human.PlatformStand = false
1776
	a8:Destroy()
1777
	cH:Destroy()
1778
	activu = false
1779
end
1780
1781
giganbazooka = function()	
1782
	if selected == false or activu == true then
1783
		return 
1784
	end
1785
	activu = true
1786
	human.WalkSpeed = human.WalkSpeed - 11
1787
	cd = ang(rd(0), rd(0), rd(0)) * cf(0, -15, 0)
1788
	cg = ang(rd(0), rd(0), rd(-30)) * cf(0, -15, 0)
1789
	ci = ang(rd(0), rd(0), rd(20)) * cf(0, -6.5, 0) * ang(rd(0), rd(180), rd(90))
1790
	ct = ang(rd(0), rd(0), rd(0)) * cf(0, -15, 0)
1791
	cv = ang(rd(0), rd(0), rd(30)) * cf(0, -15, 0)
1792
	cx = ang(rd(0), rd(0), rd(20)) * cf(0, -6.5, 0) * ang(rd(0), rd(180), rd(-90))
1793
	for I = 1, 40 do
1794
		swait()
1795
		lerpz(RJ, "C0", RJC0 * cf(0.1, 0.3, -0.05) * ang(rd(10), rd(6), rd(8)), 0.18)
1796
		lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-5), rd(-1), rd(-14)), 0.18)
1797
		lerpz(RS, "C0", RSC0 * cf(-0.35, 0.05, 0.85) * ang(rd(0), rd(-190), rd(75)), 0.18)
1798
		lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18)
1799
		lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0.95) * ang(rd(0), rd(170), rd(-78)), 0.18)
1800
		lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18)
1801
		lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.18)
1802
		lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18)
1803
		lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-40)), 0.18)
1804
		lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18)
1805
	end
1806
	cd = ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0)
1807
	cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -1, 0)
1808
	ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(225), rd(90))
1809
	ct = ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0)
1810
	cv = ang(rd(0), rd(0), rd(140)) * cf(0, -1, 0)
1811
	cx = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(135), rd(-90))
1812
	human.AutoRotate = false
1813
		for j = 1, 12 do
1814
			swait()
1815
			ce = 0.01 + j * 0.005
1816
			ch = 0.03 + j * 0.01
1817
			cu = 0.01 + j * 0.005
1818
			cw = 0.03 + j * 0.005
1819
			lerpz(RJ, "C0", RJC0 * cf(0.1, -0.75, -0.05) * ang(rd(25), rd(6), rd(22)), 0.18 + j * 0.05)
1820
			lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(8), rd(-1), rd(-14)), 0.18 + j * 0.05)
1821
			lerpz(RS, "C0", RSC0 * cf(0, 0.05, 0) * ang(rd(0), rd(-30), rd(100)), 0.18 + j * 0.05)
1822
			lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05)
1823
			lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0) * ang(rd(0), rd(-10), rd(-104)), 0.018 + j * 0.05)
1824
			lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05)
1825
			lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.18 + j * 0.05)
1826
			lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05)
1827
			lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.18 + j * 0.05)
1828
			lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05)
1829
		end
1830
	cd = ang(rd(0), rd(0), rd(0)) * cf(2, 5, 0)
1831
	cg = ang(rd(0), rd(0), rd(0)) * cf(2, 5, 0)
1832
	ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90))
1833
	ct = ang(rd(0), rd(0), rd(0)) * cf(-2, 5, 0)
1834
	cv = ang(rd(0), rd(0), rd(0)) * cf(-2, 5, 0)
1835
	cx = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(-270), rd(-90))
1836
	swait()
1837
	cd = ang(rd(0), rd(0), rd(0)) * cf(0, -50, 0)
1838
	cg = ang(rd(0), rd(0), rd(0)) * cf(0, -50, 0)
1839
	ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90))
1840
	ct = ang(rd(0), rd(0), rd(0)) * cf(0, -55, 0)
1841
	cv = ang(rd(0), rd(0), rd(0)) * cf(0, -55, 0)
1842
	cx = ang(rd(0), rd(0), rd(1)) * cf(0, -6.5, 0) * ang(rd(0), rd(90), rd(-90))
1843
	for j = 1, 48 do
1844
		swait()
1845
		cd = cd * cf(0, -1.75 + j / 11, 0)
1846
		cg = cg * cf(0, -1.75 + j / 11, 0)
1847
		ct = ct * cf(0, -1.75 + j / 11, 0)
1848
		cv = cv * cf(0, -1.75 + j / 11, 0)
1849
		if j > 4 and j < 29 then
1850
			local a3 = makepart("White", "nah", 0, 0.2, "SmoothPlastic", modz, bU.CFrame * cf(-5, 0, 0) * ang(0, rd(180), rd(90)))
1851
			local a4 = makemesh("FileMesh", Vector3.new(6.75, 6.75, 6.75), "rbxassetid://489415447", a3)
1852
			local cJ = makepart("White", "nah", 0, 0.2, "SmoothPlastic", modz, bZ.CFrame * cf(-5, 0, 0) * ang(0, rd(0), rd(90)))
1853
			local cK = makemesh("FileMesh", Vector3.new(6.75, 6.75, 6.75), "rbxassetid://489415447", cJ)
1854
			game.Debris:AddItem(a3, 4)
1855
			coroutine.resume(coroutine.create(function()		
1856
		for I = 1, 8 do
1857
			swait()
1858
			a4.Scale = a4.Scale + Vector3.new(0.4, 0.4, 0.4)
1859
			a3.Transparency = a3.Transparency + 0.1
1860
			cK.Scale = cK.Scale + Vector3.new(0.4, 0.4, 0.4)
1861
			cJ.Transparency = cJ.Transparency + 0.1
1862
		end
1863
		a3:Destroy()
1864
		cJ:Destroy()
1865
	end))
1866
			local a5 = rd2(1, 2)
1867
			if a5 == 2 then
1868
				hito(b, 9, 85, 0.8, hrp.CFrame.lookVector * 120, Vector3.new(rd2(-50, 50), rd2(-50, 50), rd2(-50, 50)))
1869
				hito(b, 9, 85, 0.8, hrp.CFrame.lookVector * 120, Vector3.new(rd2(-50, 50), rd2(-50, 50), rd2(-50, 50)))
1870
			else
1871
				hito(b, 9, 85, 0.8, hrp.CFrame.lookVector * 120)
1872
				hito(b, 9, 85, 0.8, hrp.CFrame.lookVector * 120)
1873
			end
1874
		end
1875
				ce = 0.01 + j * 0.018
1876
				ch = 0.01 + j * 0.008
1877
				cu = 0.01 + j * 0.018
1878
				cw = 0.01 + j * 0.008
1879
				lerpz(RJ, "C0", RJC0 * cf(0.1, -1.2, -0.05) * ang(rd(3), rd(6), rd(26)), 0.6)
1880
				lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(-1), rd(-14)), 0.6)
1881
				lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(-33), rd(126)), 0.6)
1882
				lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
1883
				lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-28), rd(-125)), 0.6)
1884
				lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
1885
				lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-1), rd(-10), rd(-5)), 0.6)
1886
				lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
1887
				lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-1), rd(10), rd(-40)), 0.6)
1888
				lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
1889
	end
1890
	human.WalkSpeed = human.WalkSpeed + 11
1891
	cd = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0)
1892
	cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0)
1893
	ci = ang(rd(0), rd(0), rd(-40)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90))
1894
	ct = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0)
1895
	cv = ang(rd(0), rd(0), rd(140)) * cf(0, -10, 0)
1896
	cx = ang(rd(0), rd(0), rd(50)) * cf(0, -6.5, 0) * ang(rd(0), rd(90), rd(-90))
1897
	human.AutoRotate = true
1898
	activu = false
1899
end
1900
1901
gigangatl = function()	
1902
	if selected == false or activu == true or g3lim < 4 then
1903
		return 
1904
	end
1905
	activu = true
1906
	human.AutoRotate = false
1907
	human.PlatformStand = true
1908
	local cH = Instance.new("BodyPosition")
1909
	cH.MaxForce = Vector3.new(99999999, 99999999, 99999999)
1910
	cH.P = 3000
1911
	cH.Position = hrp.Position
1912
	cH.Parent = hrp
1913
	local a8 = Instance.new("BodyGyro")
1914
	a8.MaxTorque = Vector3.new(9999999, 9999999, 9999999)
1915
	a8.CFrame = cf(hrp.Position, mouse.Hit.p)
1916
	a8.P = 580000
1917
	a8.D = 10000
1918
	a8.Parent = hrp
1919
	local cI = true
1920
	coroutine.resume(coroutine.create(function()		
1921
		while cI do
1922
			swait()
1923
			a8.CFrame = cf(hrp.Position, mouse.Hit.p)
1924
		end
1925
	end))
1926
	local ae = tool.Deactivated:connect(function()		
1927
		cI = false
1928
	end)
1929
	local cL = {}
1930
	for I,cM in pairs(chr:GetChildren()) do
1931
		if cM == rarm or cM == larm then
1932
			local cN = makemesh("FileMesh", Vector3.new(0, 0, 0), "", cM)
1933
			table.insert(cL, cN)
1934
			for I,cO in pairs(cM:GetChildren()) do
1935
				do
1936
					if cO:IsA("Part") and cO.Transparency ~= 1 then
1937
						do
1938
							local cN = makemesh("FileMesh", Vector3.new(0, 0, 0), "", cO)
1939
							table.insert(cL, cN)
1940
							-- DECOMPILER ERROR at PC129: LeaveBlock: unexpected jumping out IF_THEN_STMT
1941
1942
							-- DECOMPILER ERROR at PC129: LeaveBlock: unexpected jumping out IF_STMT
1943
1944
						end
1945
					end
1946
				end
1947
			end
1948
		end
1949
	end
1950
	local cP = {}
1951
	local cQ = {}
1952
	local cR = {}
1953
	for j = 1, 10 do
1954
		local cS = nil
1955
		if j % 2 == 0 then
1956
			cS = makepart(rarm.BrickColor.Name, "rg", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0))
1957
			cS.Color = bR.Color
1958
			cS.Reflectance = bR.Reflectance
1959
			makemesh("Sphere", (Vector3.new(65, 65, 75)), nil, cS)
1960
		else
1961
			if j % 2 == 1 then
1962
				cS = makepart(larm.BrickColor.Name, "rg", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0))
1963
				cS.Color = bW.Color
1964
				cS.Reflectance = bW.Reflectance
1965
				makemesh("Sphere", (Vector3.new(65, 65, 75)), nil, cS)
1966
			end
1967
		end
1968
		local ad = Instance.new("Sound")
1969
		ad.Volume = 1
1970
		ad.Pitch = math.random(4, 6) / 10
1971
		ad.SoundId = "rbxassetid://144508058"
1972
		ad.Parent = cS
1973
		table.insert(cP, cS)
1974
	end
1975
	for j = 1, 10 do
1976
		local cS = nil
1977
		if j % 2 == 0 then
1978
			cS = makepart(rarm.BrickColor.Name, "rg2", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0))
1979
			cS.Color = bU.Color
1980
			cS.Reflectance = bU.Reflectance
1981
			makemesh("FileMesh", Vector3.new(0.19, 0.19, 0.19), "rbxassetid://539775895", cS)
1982
		else
1983
			if j % 2 == 1 then
1984
				cS = makepart(larm.BrickColor.Name, "rg2", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0))
1985
				cS.Color = bZ.Color
1986
				cS.Reflectance = bZ.Reflectance
1987
				makemesh("FileMesh", Vector3.new(0.19, 0.19, 0.19), "rbxassetid://539776108", cS)
1988
			end
1989
		end
1990
		table.insert(cQ, cS)
1991
	end
1992
	for j = 1, 10 do
1993
		local cS = nil
1994
		if j % 2 == 0 then
1995
			cS = makepart(rarm.BrickColor.Name, "rg3", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0))
1996
			makemesh("Sphere", (Vector3.new(15, 15, 50)), nil, cS)
1997
		else
1998
			if j % 2 == 1 then
1999
				cS = makepart(larm.BrickColor.Name, "rg3", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0))
2000
				makemesh("Sphere", (Vector3.new(15, 15, 50)), nil, cS)
2001
			end
2002
		end
2003
		table.insert(cR, cS)
2004
	end
2005
	local ag = 0
2006
	local af = 0
2007
	local cT = 14
2008
	resetlerp()
2009
	coroutine.resume(coroutine.create(function()		
2010
		local cU = 0
2011
		while cI do
2012
			swait()
2013
			cU = cU + 1
2014
			lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(65 * math.cos((cU) * 2 / cT))), 0.7)
2015
			lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-60 * math.cos((cU) * 2 / cT))), 0.7)
2016
		end
2017
	end))
2018
	repeat
2019
			ag = ag + 1
2020
			if af == 0 then
2021
				af = 1
2022
			else
2023
				af = af % 10 + 1
2024
			end
2025
			if ag > 0 and ag < 8 and cP[af].Transparency ~= 0.75 then
2026
				cP[af].Transparency = 0.75
2027
				cQ[af].Transparency = 0.75
2028
				cR[af].Transparency = 0.75
2029
				cT = 11
2030
			else
2031
				if ag > 8 and ag < 16 and cP[af].Transparency ~= 0.5 then
2032
					cP[af].Transparency = 0.5
2033
					cQ[af].Transparency = 0.5
2034
					cR[af].Transparency = 0.5
2035
					cT = 8
2036
				else
2037
					if ag > 16 and ag < 28 and cP[af].Transparency ~= 0.25 then
2038
						cP[af].Transparency = 0.25
2039
						cQ[af].Transparency = 0.25
2040
						cR[af].Transparency = 0.25
2041
						cT = 5
2042
					else
2043
						if ag > 28 and ag < 56 and cP[af].Transparency ~= 0 then
2044
							cP[af].Transparency = 0
2045
							cQ[af].Transparency = 0
2046
							cR[af].Transparency = 0
2047
							cT = 3
2048
						end
2049
					end
2050
				end
2051
			end
2052
			cP[af].CFrame = hrp.CFrame * cf(rd2(-220, 220) / 10, rd2(-90, 120) / 10, rd2(-30, 90) / 10) * ang(0, 0, rd(rd2(-20, 20) / 10))
2053
			if (af) % 2 == 0 then
2054
				cQ[af].CFrame = cP[af].CFrame * ang(rd(90), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90))
2055
			else
2056
				if (af) % 2 == 1 then
2057
					cQ[af].CFrame = cP[af].CFrame * ang(rd(90), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(90), rd(-90))
2058
				end
2059
			end
2060
			cR[af]:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(1, 15, 50)
2061
			cR[af].CFrame = cP[af].CFrame * cf(0, 0, 8)
2062
			coroutine.resume(coroutine.create(function()		
2063
		local cV = af
2064
		local cW = cP[af]
2065
		local cX = cQ[af]
2066
		local cY = cR[af]
2067
		local cZ = 10
2068
		cW:FindFirstChildOfClass("Sound").Pitch = math.random(7, 8) / 10
2069
		cW:FindFirstChildOfClass("Sound"):Play()
2070
		for j = 1, 30 do
2071
			swait()
2072
					if j < 20 then
2073
						local a5 = rd2(1, 3)
2074
						if a5 == 2 then
2075
							hito(cW, 10, 18, 0.25, hrp.CFrame.lookVector * 80, Vector3.new(rd2(-50, 50), rd2(-50, 50), rd2(-50, 50)))
2076
						else
2077
							hito(cW, 10, 18, 0.25, hrp.CFrame.lookVector * 80)
2078
						end
2079
					end
2080
					cW.CFrame = cW.CFrame * cf(0, 0, -cZ)
2081
					if cV % 2 == 0 then
2082
						cX.CFrame = cW.CFrame * ang(rd(90), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90))
2083
					else
2084
						if cV % 2 == 1 then
2085
							cX.CFrame = cW.CFrame * ang(rd(90), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(90), rd(-90))
2086
						end
2087
					end
2088
					cY.CFrame = cW.CFrame * cf(0, 0, 50 - cZ * 2.5)
2089
					cY:FindFirstChildOfClass("SpecialMesh").Scale = cY:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0, 0, cZ * 4.5)
2090
					cZ = cZ - 0.45
2091
		end
2092
	end))
2093
			swait(cT)
2094
	until ag > 10
2095
	cI = false
2096
	ae:Disconnect()
2097
	cH:Destroy()
2098
	a8:Destroy()
2099
	for I,c_ in pairs(cL) do
2100
		c_:Destroy()
2101
	end
2102
	for I,d0 in pairs(cP) do
2103
		coroutine.resume(coroutine.create(function()		
2104
		for I = 1, 10 do
2105
			swait()
2106
			d0.Transparency = d0.Transparency + 0.1
2107
		end
2108
		d0:Destroy()
2109
	end))
2110
	end
2111
	for I,d0 in pairs(cQ) do
2112
		coroutine.resume(coroutine.create(function()		
2113
		for I = 1, 10 do
2114
			swait()
2115
			d0.Transparency = d0.Transparency + 0.1
2116
		end
2117
		d0:Destroy()
2118
	end))
2119
	end
2120
	for I,d0 in pairs(cR) do
2121
		coroutine.resume(coroutine.create(function()		
2122
		for I = 1, 10 do
2123
			swait()
2124
			d0.Transparency = d0.Transparency + 0.1
2125
		end
2126
		d0:Destroy()
2127
	end))
2128
	end
2129
	human.AutoRotate = true
2130
	human.PlatformStand = false
2131
	activu = false
2132
end
2133
2134
gear2change = function()	
2135
	if selected == false or activu == true then
2136
		return 
2137
	end
2138
	if (hrp.Velocity * Vector3.new(1, 1, 1)).magnitude < 4 and dagear == 1 and g2lim > 5 then
2139
		activu = true
2140
		g.Enabled = false
2141
		human.AutoRotate = false
2142
		hrp.Anchored = true
2143
		human.WalkSpeed = 0
2144
		local d1 = Instance.new("Sound")
2145
		d1.EmitterSize = 10
2146
		d1.Volume = 4
2147
		d1.SoundId = "rbxassetid://255289910"
2148
		d1.Parent = hrp
2149
		d1:Play()
2150
		game.Debris:AddItem(d1, 5)
2151
		local d2 = makepart(rleg.BrickColor.Name, "rg1", 0, 0, "SmoothPlastic", rleg, rleg.CFrame)
2152
		d2.Anchored = false
2153
		local d3 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, d2)
2154
		local d4 = makeweld(d2, d2, rleg, (cf(0, -0.8, 0)), nil)
2155
			local d5 = makepart(lleg.BrickColor.Name, "lg1", 0, 0, "SmoothPlastic", lleg, lleg.CFrame)
2156
			d5.Anchored = false
2157
			local d6 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, d5)
2158
			local d7 = makeweld(d5, d5, lleg, (cf(0, -0.8, 0)), nil)
2159
			local d8 = makepart(rleg.BrickColor.Name, "rg2", 0, 0, "SmoothPlastic", rleg, rleg.CFrame)
2160
			d8.Anchored = false
2161
			local d9 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, d8)
2162
			local da = makeweld(d8, d8, rleg, (cf(0, -0.6, 0)), nil)
2163
			local db = makepart(lleg.BrickColor.Name, "lg2", 0, 0, "SmoothPlastic", lleg, lleg.CFrame)
2164
			db.Anchored = false
2165
			local dc = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, db)
2166
			local dd = makeweld(db, db, lleg, (cf(0, -0.6, 0)), nil)
2167
			animo(false)
2168
			cam.CameraType = "Scriptable"
2169
			cam.CoordinateFrame = hrp.CFrame * ang(rd(10), rd(-140), rd(0)) * cf(0, 0, 7)
2170
			for I = 1, 35 do
2171
				do
2172
					swait()
2173
					cam.CoordinateFrame = cam.CoordinateFrame * ang(rd(-0.06), rd(0.08), rd(0)) * cf(0, 0, -0.003)
2174
					lerpz(RJ, "C0", RJC0 * cf(0, -0.5, -0.8) * ang(rd(75), rd(0), rd(15)), 0.15)
2175
					lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(-12)), 0.15)
2176
					lerpz(RS, "C0", RSC0 * cf(0.5, -0.25, 0.4) * ang(rd(-80), rd(15), rd(85)), 0.15)
2177
					lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.15)
2178
					lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(40), rd(-65)), 0.15)
2179
					lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.15)
2180
					lerpz(RH, "C0", RHC0 * cf(-0.25, -0.2, 0) * ang(rd(0), rd(-70), rd(0)), 0.15)
2181
					lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(-70), rd(35), rd(0)), 0.15)
2182
					lerpz(LH, "C0", LHC0 * cf(-0.4, 0.4, 0) * ang(rd(0), rd(70), rd(0)), 0.15)
2183
					lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(-80), rd(-10), rd(0)), 0.15)
2184
				end
2185
			end
2186
			cam.CoordinateFrame = lleg.CFrame * ang(rd(5), rd(-165), rd(0)) * cf(0, 0, 5)
2187
			for I = 1, 25 do
2188
				swait()
2189
				d4.C0 = d4.C0:lerp(cf(0, 0.2, 0), 0.3)
2190
				d7.C0 = d7.C0:lerp(cf(0, 0.2, 0), 0.3)
2191
				d3.Scale = d3.Scale:lerp(Vector3.new(7.5, 3, 7.5), 0.45)
2192
				d6.Scale = d6.Scale:lerp(Vector3.new(7.5, 3, 7.5), 0.45)
2193
				da.C0 = da.C0:lerp(cf(0, 0.4, 0), 0.3)
2194
				dd.C0 = dd.C0:lerp(cf(0, 0.4, 0), 0.3)
2195
				d9.Scale = d9.Scale:lerp(Vector3.new(7.5, 3, 7.5), 0.45)
2196
				dc.Scale = dc.Scale:lerp(Vector3.new(7.5, 3, 7.5), 0.45)
2197
				lerpz(RJ, "C0", RJC0 * cf(0, -0.5, -1.1) * ang(rd(75), rd(0), rd(15)), 0.3)
2198
				lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(18), rd(0), rd(-12)), 0.3)
2199
				lerpz(RS, "C0", RSC0 * cf(0.2, -0.25, 0.4) * ang(rd(-80), rd(15), rd(85)), 0.3)
2200
				lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.3)
2201
				lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(50), rd(-65)), 0.3)
2202
				lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2203
				lerpz(RH, "C0", RHC0 * cf(-0.25, -0.2, 0) * ang(rd(0), rd(-70), rd(0)), 0.6)
2204
				lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(-70), rd(35), rd(0)), 0.6)
2205
				lerpz(LH, "C0", LHC0 * cf(-0.4, 0.4, 0) * ang(rd(0), rd(70), rd(0)), 0.6)
2206
				lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(-80), rd(-10), rd(0)), 0.6)
2207
			end
2208
			d1.TimePosition = 1.4
2209
			for I = 1, 3 do
2210
				swait()
2211
				d4.C0 = d4.C0:lerp(cf(0, -0.4, 0), 0.3)
2212
				d7.C0 = d7.C0:lerp(cf(0, -0.4, 0), 0.3)
2213
				d3.Scale = d3.Scale:lerp(Vector3.new(7, 2, 7), 0.45)
2214
				d6.Scale = d6.Scale:lerp(Vector3.new(7, 2, 7), 0.45)
2215
				da.C0 = da.C0:lerp(cf(0, -0.2, 0), 0.3)
2216
				dd.C0 = dd.C0:lerp(cf(0, -0.2, 0), 0.3)
2217
				d9.Scale = d9.Scale:lerp(Vector3.new(7, 2, 7), 0.45)
2218
				dc.Scale = dc.Scale:lerp(Vector3.new(7, 2, 7), 0.45)
2219
				lerpz(RJ, "C0", RJC0 * cf(0, -0.5, -0.8) * ang(rd(75), rd(0), rd(15)), 0.3)
2220
				lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(-12)), 0.3)
2221
				lerpz(RS, "C0", RSC0 * cf(0.5, -0.25, 0.4) * ang(rd(-80), rd(15), rd(85)), 0.3)
2222
				lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.3)
2223
				lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(40), rd(-65)), 0.3)
2224
				lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2225
				lerpz(RH, "C0", RHC0 * cf(-0.25, -0.2, 0) * ang(rd(0), rd(-70), rd(0)), 0.6)
2226
				lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(-70), rd(35), rd(0)), 0.6)
2227
				lerpz(LH, "C0", LHC0 * cf(-0.4, 0.4, 0) * ang(rd(0), rd(70), rd(0)), 0.6)
2228
				lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(-80), rd(-10), rd(0)), 0.6)
2229
			end
2230
			for I = 1, 10 do
2231
				swait()
2232
				d4.C0 = d4.C0:lerp(cf(0, -0.4, 0), 0.3)
2233
				d7.C0 = d7.C0:lerp(cf(0, -0.4, 0), 0.3)
2234
				d3.Scale = d3.Scale:lerp(Vector3.new(4, 2, 4), 0.45)
2235
				d6.Scale = d6.Scale:lerp(Vector3.new(4, 2, 4), 0.45)
2236
				da.C0 = da.C0:lerp(cf(0, -0.2, 0), 0.3)
2237
				dd.C0 = dd.C0:lerp(cf(0, -0.2, 0), 0.3)
2238
				d9.Scale = d9.Scale:lerp(Vector3.new(4, 2, 4), 0.45)
2239
				dc.Scale = dc.Scale:lerp(Vector3.new(4, 2, 4), 0.45)
2240
				lerpz(RJ, "C0", RJC0 * cf(0, -0.5, -0.8) * ang(rd(75), rd(0), rd(15)), 0.3)
2241
				lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(-12)), 0.3)
2242
				lerpz(RS, "C0", RSC0 * cf(0.5, -0.25, 0.4) * ang(rd(-80), rd(15), rd(85)), 0.3)
2243
				lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.3)
2244
				lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(40), rd(-65)), 0.3)
2245
				lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2246
				lerpz(RH, "C0", RHC0 * cf(-0.25, -0.2, 0) * ang(rd(0), rd(-70), rd(0)), 0.6)
2247
				lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(-70), rd(35), rd(0)), 0.6)
2248
				lerpz(LH, "C0", LHC0 * cf(-0.4, 0.4, 0) * ang(rd(0), rd(70), rd(0)), 0.6)
2249
				lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(-80), rd(-10), rd(0)), 0.6)
2250
			end
2251
			cam.CoordinateFrame = hrp.CFrame * ang(rd(5), rd(-180), rd(0)) * cf(0, 0, 6)
2252
			swait(8)
2253
			d2:Destroy()
2254
			d5:Destroy()
2255
			d8:Destroy()
2256
			db:Destroy()
2257
			for j = 1, #H do
2258
				coroutine.resume(coroutine.create(function()		
2259
		local de = H[j]
2260
		for I = 1, 16 do
2261
			swait()
2262
			de.Transparency = de.Transparency - 0.009375
2263
			de.pe.Enabled = true
2264
			if de:FindFirstChild("ss") then
2265
				de:FindFirstChild("ss"):Play()
2266
			end
2267
		end
2268
		swait(120)
2269
	end))
2270
			end
2271
			d1.TimePosition = 4.1
2272
			head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://871751988"
2273
			swait(8)
2274
			for j = 1, 35 do
2275
				swait()
2276
				lerpz(RJ, "C0", RJC0 * cf(0, -0.5, -0.8) * ang(rd(75), rd(0), rd(15)), 0.3)
2277
				lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-50), rd(10), rd(-10)), 0.05 + j * 0.95 / 35)
2278
				lerpz(RS, "C0", RSC0 * cf(0.5, -0.25, 0.4) * ang(rd(-80), rd(15), rd(85)), 0.3)
2279
				lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.3)
2280
				lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(40), rd(-65)), 0.3)
2281
				lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2282
				lerpz(RH, "C0", RHC0 * cf(-0.25, -0.2, 0) * ang(rd(0), rd(-70), rd(0)), 0.6)
2283
				lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(-70), rd(35), rd(0)), 0.6)
2284
				lerpz(LH, "C0", LHC0 * cf(-0.4, 0.4, 0) * ang(rd(0), rd(70), rd(0)), 0.6)
2285
				lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(-80), rd(-10), rd(0)), 0.6)
2286
			end
2287
			cam.CameraType = "Custom"
2288
			animo(true)
2289
			human.WalkSpeed = 28
2290
			human.JumpPower = 60
2291
			hrp.Anchored = false
2292
			human.AutoRotate = true
2293
			head:FindFirstChildOfClass("Decal").Texture = d
2294
			for I = 1, 6 do
2295
				swait()
2296
				lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
2297
				lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
2298
				lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
2299
				lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
2300
				lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
2301
				lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
2302
				lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
2303
				lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
2304
				lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
2305
				lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
2306
			end
2307
			resetlerp()
2308
			dagear = 2
2309
			g.Enabled = true
2310
			activu = false
2311
	else
2312
		do
2313
			if dagear == 2 then
2314
				activu = true
2315
				for j = 1, #H do
2316
					coroutine.resume(coroutine.create(function()		
2317
		local de = H[j]
2318
		local df = nil
2319
		if de:FindFirstChild("ss") then
2320
			df = de:FindFirstChild("ss")
2321
		end
2322
		for I = 1, 16 do
2323
			swait()
2324
			de.Transparency = de.Transparency + 0.009375
2325
			de.pe.Rate = de.pe.Rate - 1
2326
			if de:FindFirstChild("ss") then
2327
				df.Volume = df.Volume - 0.03125
2328
			end
2329
		end
2330
		de.pe.Rate = 20
2331
		de.pe.Enabled = false
2332
		if de:FindFirstChild("ss") then
2333
			df:Stop()
2334
			df.Volume = 0.5
2335
		end
2336
	end))
2337
				end
2338
				human.WalkSpeed = 16
2339
				human.JumpPower = 50
2340
				dagear = 1
2341
				activu = false
2342
			end
2343
		end
2344
	end
2345
end
2346
2347
gear3change = function()	
2348
	if selected == false or activu == true then
2349
		return 
2350
	end
2351
	if (hrp.Velocity * Vector3.new(1, 1, 1)).magnitude < 4 and dagear == 1 and g3lim > 5 then
2352
		activu = true
2353
		g.Enabled = false
2354
		human.AutoRotate = false
2355
		hrp.Anchored = true
2356
		human.WalkSpeed = 0
2357
		animo(false)
2358
		bQ = makepart("White", "g3p1", 0, 1, "Neon", rarm, hrp.CFrame * cf(0, 500, 0))
2359
		bR = makepart(rarm.BrickColor.Name, "g3p2", 0, 1, "SmoothPlastic", rarm, hrp.CFrame * cf(0, 500, 0))
2360
		b_ = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bR)
2361
		bS = makepart(rarm.BrickColor.Name, "g3p3", 0, 1, "SmoothPlastic", rarm, hrp.CFrame * cf(0, 500, 0))
2362
		c0 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bS)
2363
		bT = makepart(rarm.BrickColor.Name, "g3p4", 0, 1, "SmoothPlastic", rarm, hrp.CFrame * cf(0, 500, 0))
2364
		c1 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bT)
2365
		bU = makepart(rarm.BrickColor.Name, "g3p5", 0, 1, "SmoothPlastic", rarm, hrp.CFrame * cf(0, 500, 0))
2366
		c2 = makemesh("FileMesh", Vector3.new(0.005, 0.005, 0.005), "rbxassetid://539775895", bU)
2367
		cam.CameraType = "Scriptable"
2368
		cam.CoordinateFrame = hrp.CFrame * ang(rd(10), rd(-190), rd(0)) * cf(0, 0, 5)
2369
		for I = 1, 26 do
2370
			swait()
2371
			lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.3)
2372
			lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(-1.5), rd(-14)), 0.3)
2373
			lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(30), rd(60), rd(80)), 0.3)
2374
			lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2375
			lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-5), rd(8), rd(10)), 0.3)
2376
			lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2377
			lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-5), rd(0)), 0.3)
2378
			lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2379
			lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(5), rd(0)), 0.3)
2380
			lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2381
		end
2382
		head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://250184082"
2383
		cam.CoordinateFrame = hrp.CFrame * ang(rd(40), rd(-180), rd(0)) * cf(0, 0, 7)
2384
		for j = 1, 37 do
2385
			swait()
2386
			local dg = rd2(-80, 80) / (38 - j)
2387
			lerpz(RJ, "C0", RJC0 * cf(-0.1, 0.35, -0.05) * ang(rd(-18), rd(-6), rd(15)), 0.1)
2388
			lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-30 + dg), rd(-1 + dg), rd(-14 + dg)), 0.03 + j * 0.032)
2389
			lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(32), rd(50), rd(83)), 0.1)
2390
			lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2391
			lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-7), rd(9), rd(12)), 0.1)
2392
			lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2393
			lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-5), rd(-15)), 0.1)
2394
			lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2395
			lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(5), rd(20)), 0.1)
2396
			lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2397
		end
2398
		head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://874809406"
2399
		cam.CoordinateFrame = hrp.CFrame * ang(rd(-50), rd(-170), rd(0)) * cf(0, 2, 4)
2400
		for I = 1, 15 do
2401
			swait()
2402
			lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, -0.05) * ang(rd(18), rd(6), rd(15)), 0.6)
2403
			lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(30), rd(-6), rd(-14)), 0.65)
2404
			lerpz(RS, "C0", RSC0 * cf(0, 0.1, 0) * ang(rd(32), rd(60), rd(63)), 0.8)
2405
			lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2406
			lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(20)), 0.6)
2407
			lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2408
			lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-5), rd(19)), 0.6)
2409
			lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2410
			lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(5), rd(-12)), 0.6)
2411
			lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2412
		end
2413
		bQ.Transparency = 1
2414
		bR.Transparency = 0
2415
		bS.Transparency = 0
2416
		bT.Transparency = 0
2417
		bU.Transparency = 0
2418
		bQ.CFrame = rarm.CFrame * ang(rd(0), rd(0), rd(0)) * cf(0, -0.025, 0)
2419
		bR.CFrame = bQ.CFrame * ang(rd(0), rd(0), rd(0)) * cf(0, -0.025, 0)
2420
		c7 =  (bQ.Position - rarm.Position).magnitude
2421
		c8 = (bR.Position - bQ.Position).magnitude
2422
		bS.CFrame = cf(rarm.CFrame.p, bQ.CFrame.p) * cf(0, 0, -c7 / 2)
2423
		bT.CFrame = cf(bQ.CFrame.p, bR.CFrame.p) * cf(0, 0, -c8 / 2)
2424
		bU.CFrame = bR.CFrame * cf(0, -0.025, 0) * ang(rd(0), rd(180), rd(90))
2425
		cam.CoordinateFrame = hrp.CFrame * ang(rd(10), rd(-180), rd(0)) * cf(0, 0, 6)
2426
		for I = 1, 50 do
2427
			swait()
2428
			c7 =  (bQ.Position - rarm.Position).magnitude
2429
			c8 = (bR.Position - bQ.Position).magnitude
2430
			lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(30), rd(-6), rd(-14)), 0.1)
2431
			lerpz(RS, "C0", RSC0 * cf(0, 0.1, 0) * ang(rd(0), rd(-50), rd(110)), 0.15)
2432
			lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05)
2433
			bQ.CFrame = bQ.CFrame:lerp(rarm.CFrame * ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0), 0.1)
2434
			bR.CFrame = bR.CFrame:lerp(bQ.CFrame * ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0), 0.07)
2435
			bS.CFrame = cf(rarm.CFrame.p, bQ.CFrame.p) * cf(0, 0, -(c7 + 1) / 2)
2436
			bT.CFrame = cf(bQ.CFrame.p, bR.CFrame.p) * cf(0, 0, -(c8 - 1) / 2)
2437
			bU.CFrame = bU.CFrame:lerp(bR.CFrame * cf(0, -6.5, 0) * ang(rd(0), rd(180), rd(90)), 0.3)
2438
			b_.Scale = b_.Scale:lerp(Vector3.new(60, 70, 60), 0.13)
2439
			c0.Scale = c0.Scale:lerp(Vector3.new(30, 30, c7 * 5 * 1.2), 0.13)
2440
			c1.Scale = c1.Scale:lerp(Vector3.new(35, 35, c8 * 5 * 1.2), 0.13)
2441
			c2.Scale = c2.Scale:lerp(Vector3.new(0.16, 0.16, 0.16), 0.13)
2442
			cam.CoordinateFrame = cam.CoordinateFrame * cf(0, 0, 0.094)
2443
		end
2444
		cd = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0)
2445
		cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0)
2446
		ci = ang(rd(0), rd(0), rd(-40)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90))
2447
		ck = Vector3.new(60, 70, 60)
2448
		cm = 3.5
2449
		co = 5
2450
				cj = 0.3--speed of hand
2451
		cq = Vector3.new(0.16, 0.16, 0.16)
2452
		cb = true
2453
		coroutine.resume(coroutine.create(function()		
2454
		while cb == true do
2455
			swait2()
2456
			bQ.CFrame = bQ.CFrame:lerp(rarm.CFrame * cd, ce)
2457
			bR.CFrame = bR.CFrame:lerp(bQ.CFrame * cg, ch)
2458
			c7 =  (bQ.Position - rarm.Position).magnitude
2459
			c8 = (bR.Position - bQ.Position).magnitude
2460
			bS.CFrame = cf(rarm.CFrame.p, bQ.CFrame.p) * cf(0, 0, -(c7 + 1) / 2)
2461
			bT.CFrame = cf(bQ.CFrame.p, bR.CFrame.p) * cf(0, 0, -(c8 - 1) / 2)
2462
			bU.CFrame = bU.CFrame:lerp(bR.CFrame * ci, cj)
2463
			b_.Scale = b_.Scale:lerp(ck, cl)
2464
			c0.Scale = c0.Scale:lerp(Vector3.new(cm * 5, cm * 5,  (bQ.Position - rarm.Position).magnitude * 5 * 1.2), cn)
2465
			c1.Scale = c1.Scale:lerp(Vector3.new(co * 5, co * 5, (bR.Position - bQ.Position).magnitude * 5 * 1.2), cp)
2466
			c2.Scale = c2.Scale:lerp(cq, cr)
2467
		end
2468
	end))
2469
print("bless the meme")
2470
		head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://871751988"
2471
		cam.CoordinateFrame = hrp.CFrame * ang(rd(10), rd(-155), rd(0)) * cf(0, 0, 12)
2472
		for j = 1, 80 do
2473
			swait()
2474
			lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, -0.05) * ang(rd(18), rd(6), rd(15)), 0.03 + j * 0.011875)
2475
			lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(-1), rd(-14)), 0.03 + j * 0.011875)
2476
			lerpz(RS, "C0", RSC0 * cf(0, 0.05, 1) * ang(rd(0), rd(-170), rd(75)), 0.03 + j * 0.011875)
2477
			lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 0.011875)
2478
			lerpz(LS, "C0", LSC0 * cf(0, 0.07, -0.45) * ang(rd(20), rd(-65), rd(-60)), 0.03 + j * 0.011875)
2479
			lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 0.011875)
2480
			lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.03 + j * 0.011875)
2481
			lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 0.011875)
2482
			lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.03 + j * 0.011875)
2483
			lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 0.011875)
2484
			cam.CoordinateFrame = cam.CoordinateFrame * cf(0, 0, 0.04)
2485
		end
2486
		head:FindFirstChildOfClass("Decal").Texture = d
2487
		cam.CameraType = "Custom"
2488
		dagear = 3
2489
		human.AutoRotate = true
2490
		hrp.Anchored = false
2491
		human.WalkSpeed = 12
2492
		g.Enabled = true
2493
		activu = false
2494
	--fixing the hand movement
2495
	cd = ang(rd(0), rd(0), rd(0)) * cf(0, -15, 0)
2496
	cg = ang(rd(0), rd(0), rd(-30)) * cf(0, -15, 0)
2497
	ci = ang(rd(0), rd(0), rd(20)) * cf(0, -6.5, 0) * ang(rd(0), rd(180), rd(90))
2498
			ce = 0.01
2499
			ch = 0.01
2500
		cd = cf()
2501
		cg = cf()
2502
	for j = 1, 38 do
2503
		--swait()
2504
		cd = cd * cf(0, -1.75 + j / 13, 0)
2505
		cg = cg * cf(0, -1.75 + j / 13, 0)
2506
				ce = 0.01 + j * 0.018
2507
				ch = 0.01 + j * 0.008
2508
	end
2509
	cd = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0)
2510
	cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0)
2511
	ci = ang(rd(0), rd(0), rd(-40)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90))
2512
	--done fixing hand xd
2513
	elseif dagear == 3 then
2514
		activu = true
2515
		human.WalkSpeed = 0
2516
		human.AutoRotate = false
2517
		hrp.Anchored = true
2518
		cd = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0)
2519
			cg = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0)
2520
			ci = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) * ang(rd(0), rd(180), rd(90))
2521
			ck = Vector3.new(0, 1, 0)
2522
			cm = 0
2523
			co = 0
2524
			cq = Vector3.new(0, 1, 0)
2525
			ct = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0)
2526
			cv = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0)
2527
			cx = ang(rd(0), rd(0), rd(50)) * cf(0, -0.25, 0) * ang(rd(0), rd(90), rd(-90))
2528
			cz = Vector3.new(0, 1, 0)
2529
			cB = 0
2530
			cD = 0
2531
			cF = Vector3.new(0, 1, 0)
2532
			for j = 1, 40 do
2533
				swait()
2534
				lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, -0.05) * ang(rd(18), rd(6), rd(15)), 0.03 + j * 2 * 0.011875)
2535
				lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(1), rd(-14)), 0.03 + j * 2 * 0.011875)
2536
				lerpz(RS, "C0", RSC0 * cf(0.5, 0.05, 0.5) * ang(rd(0), rd(-90), rd(75)), 0.03 + j * 2 * 0.011875)
2537
				lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 2 * 0.011875)
2538
				if g32hand then
2539
					lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0.45) * ang(rd(20), rd(85), rd(-60)), 0.03 + j * 2 * 0.011875)
2540
				else
2541
					lerpz(LS, "C0", LSC0 * cf(0, 0.07, -0.45) * ang(rd(20), rd(-65), rd(-60)), 0.03 + j * 2 * 0.011875)
2542
				end
2543
				lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 2 * 0.011875)
2544
				lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.03 + j * 2 * 0.011875)
2545
				lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 2 * 0.011875)
2546
				lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.03 + j * 2 * 0.011875)
2547
				lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 2 * 0.011875)
2548
			end
2549
			cb = false
2550
			cc = false
2551
			bQ:Destroy()
2552
			bR:Destroy()
2553
			bS:Destroy()
2554
			bT:Destroy()
2555
			bU:Destroy()
2556
			if g32hand then
2557
				bV:Destroy()
2558
				bW:Destroy()
2559
				bX:Destroy()
2560
				bY:Destroy()
2561
				bZ:Destroy()
2562
			end
2563
			for I = 1, 13 do
2564
				swait()
2565
				lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
2566
				lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
2567
				lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
2568
				lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
2569
				lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
2570
				lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
2571
				lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
2572
				lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
2573
				lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
2574
				lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
2575
			end
2576
			resetlerp()
2577
			animo(true)
2578
			human.WalkSpeed = 16
2579
			dagear = 1
2580
			g32hand = false
2581
			human.AutoRotate = true
2582
			hrp.Anchored = false
2583
			activu = false
2584
	end
2585
	--a8:Destroy()
2586
	--cH:Destroy()
2587
	activu = false
2588
end
2589
2590
g3twohand = function()	
2591
	if selected == false or activu == true then
2592
		return 
2593
	end
2594
	if not g32hand then
2595
		activu = true
2596
		local bf = human.WalkSpeed
2597
		human.WalkSpeed = 0
2598
		cc = true
2599
		g.Enabled = false
2600
		human.AutoRotate = false
2601
		hrp.Anchored = true
2602
		bV = makepart("White", "g3p6", 0, 1, "Neon", larm, larm.CFrame)
2603
		bW = makepart(larm.BrickColor.Name, "g3p7", 0, 1, "SmoothPlastic", larm, larm.CFrame)
2604
		c3 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bW)
2605
		bX = makepart(larm.BrickColor.Name, "g3p8", 0, 1, "SmoothPlastic", larm, larm.CFrame)
2606
		c4 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bX)
2607
		bY = makepart(larm.BrickColor.Name, "g3p9", 0, 1, "SmoothPlastic", larm, larm.CFrame)
2608
		c5 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bY)
2609
		bZ = makepart(larm.BrickColor.Name, "g3p10", 0, 1, "SmoothPlastic", larm, larm.CFrame)
2610
		c6 = makemesh("FileMesh", Vector3.new(0.005, 0.005, 0.005), "rbxassetid://539776108", bZ)
2611
		local dh = makepart(tors.BrickColor.Name, "gblp", 0, 0, "SmoothPlastic", tors, tors.CFrame)
2612
		dh.Anchored = false
2613
		local di = makemesh("Sphere", (Vector3.new(0, 0, 0)), nil, dh)
2614
		local dj = makeweld(dh, dh, tors, (cf(0, 0, 0)), nil)
2615
		cd = ang(rd(0), rd(0), rd(0)) * cf(0, -5, 0)
2616
		cg = ang(rd(0), rd(0), rd(-20)) * cf(0, -5, 0)
2617
		ci = ang(rd(0), rd(0), rd(-20)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90))
2618
		for I = 1, 25 do
2619
			swait()
2620
			di.Scale = di.Scale:lerp(Vector3.new(55, 55, 55), 0.25)
2621
			lerpz(RJ, "C0", RJC0 * cf(0, 0, 4) * ang(rd(0), rd(0), rd(0)), 0.25)
2622
			lerpz(N, "C0", NC0 * cf(0, 0, 4) * ang(rd(0), rd(0), rd(0)), 0.25)
2623
			lerpz(RS, "C0", RSC0 * cf(0, 2.75, 2.75) * ang(rd(-110), rd(0), rd(0)), 0.25)
2624
			lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25)
2625
			lerpz(LS, "C0", LSC0 * cf(0, 2.75, 2.75) * ang(rd(-110), rd(0), rd(0)), 0.25)
2626
			lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25)
2627
			lerpz(RH, "C0", RHC0 * cf(0, -4, 1.5) * ang(rd(-10), rd(5), rd(0)), 0.25)
2628
			lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25)
2629
			lerpz(LH, "C0", LHC0 * cf(0, -4, 1.5) * ang(rd(-10), rd(5), rd(0)), 0.25)
2630
			lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25)
2631
		end
2632
		bW.Transparency = 0
2633
		bX.Transparency = 0
2634
		bY.Transparency = 0
2635
		bZ.Transparency = 0
2636
		bV.CFrame = larm.CFrame * ang(rd(0), rd(0), rd(0)) * cf(0, -0.025, 0)
2637
		bW.CFrame = bW.CFrame * ang(rd(0), rd(0), rd(0)) * cf(0, -0.025, 0)
2638
		c9 = (bV.Position - larm.Position).magnitude
2639
		ca = (bW.Position - bV.Position).magnitude
2640
		bX.CFrame = cf(larm.CFrame.p, bV.CFrame.p) * cf(0, 0, -c9 / 2)
2641
		bY.CFrame = cf(bV.CFrame.p, bW.CFrame.p) * cf(0, 0, -ca / 2)
2642
		bZ.CFrame = bW.CFrame * cf(0, -0.025, 0) * ang(rd(0), rd(180), rd(90))
2643
		cd = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0)
2644
		cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0)
2645
		ci = ang(rd(0), rd(0), rd(-40)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90))
2646
		ct = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0)
2647
		cv = ang(rd(0), rd(0), rd(140)) * cf(0, -10, 0)
2648
		cx = ang(rd(0), rd(0), rd(50)) * cf(0, -6.5, 0) * ang(rd(0), rd(90), rd(-90))
2649
		cz = Vector3.new(60, 70, 60)
2650
		cB = 3.5
2651
		cD = 5
2652
		cF = Vector3.new(0.16, 0.16, 0.16)
2653
			cC = 0.3
2654
			cE = 0.3
2655
			cy = 0.3
2656
			cu = 0.3
2657
			cw = 0.3
2658
			cA = 0.3
2659
			cG = 0.3
2660
		coroutine.resume(coroutine.create(function()		
2661
		while cc == true do
2662
			swait2()
2663
			bV.CFrame = bV.CFrame:lerp(larm.CFrame * ct, cu)
2664
			bW.CFrame = bW.CFrame:lerp(bV.CFrame * cv, cw)
2665
			c9 = (bV.Position - larm.Position).magnitude
2666
			ca = (bW.Position - bV.Position).magnitude
2667
			bX.CFrame = cf(larm.CFrame.p, bV.CFrame.p) * cf(0, 0, -(c9 + 1) / 2)
2668
			bY.CFrame = cf(bV.CFrame.p, bW.CFrame.p) * cf(0, 0, -(ca - 1) / 2)
2669
			bZ.CFrame = bZ.CFrame:lerp(bW.CFrame * cx, cy)
2670
			c3.Scale = c3.Scale:lerp(cz, cA)
2671
			c4.Scale = c4.Scale:lerp(Vector3.new(cB * 5, cB * 5, (bV.Position - larm.Position).magnitude * 5 * 1.2), cC)
2672
			c5.Scale = c5.Scale:lerp(Vector3.new(cD * 5, cD * 5, (bW.Position - bV.Position).magnitude * 5 * 1.2), cE)
2673
			c6.Scale = c6.Scale:lerp(cF, cG)
2674
		end
2675
	end))
2676
		for I = 1, 30 do
2677
			swait()
2678
			di.Scale = di.Scale:lerp(Vector3.new(0, 0, 0), 0.32)
2679
			lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, 0) * ang(rd(18), rd(6), rd(15)), 0.3)
2680
			lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(-1), rd(-14)), 0.3)
2681
			lerpz(RS, "C0", RSC0 * cf(0, 0.05, 1) * ang(rd(0), rd(-170), rd(75)), 0.3)
2682
			lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2683
			lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0.95) * ang(rd(0), rd(160), rd(-75)), 0.3)
2684
			lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2685
			lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.3)
2686
			lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2687
			lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.3)
2688
			lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2689
		end
2690
		dh:Destroy()
2691
		human.WalkSpeed = bf
2692
		hrp.Anchored = false
2693
		human.AutoRotate = true
2694
		g.Enabled = true
2695
		g32hand = true
2696
		activu = false
2697
	end
2698
end
2699
2700
busolelel = function()	
2701
	if activu == true or selected == false then
2702
		return 
2703
	end
2704
	if dagear == 3 then
2705
		if bR.Reflectance <= 0 then
2706
			selected = false
2707
			local dk = Instance.new("Sound")
2708
			dk.SoundId = "rbxassetid://315030459"
2709
			dk.Volume = 1.25
2710
			dk.TimePosition = 0.22
2711
			dk.Pitch = 1.03
2712
			dk.Parent = tors
2713
			game.Debris:AddItem(dk, 3)
2714
			dk:Play()
2715
			local dl = Color3.new(0.90196078431373, 0.90196078431373, 0.90196078431373)
2716
			ck = Vector3.new(70, 80, 70)
2717
			cq = Vector3.new(0.19, 0.19, 0.19)
2718
			cz = Vector3.new(70, 80, 70)
2719
			cF = Vector3.new(0.19, 0.19, 0.19)
2720
			for I = 1, 20 do
2721
				swait()
2722
				bR.Reflectance = bR.Reflectance + 0.02
2723
				bR.Color = bR.Color:lerp(dl, 0.15)
2724
				bU.Reflectance = bU.Reflectance + 0.02
2725
				bU.Color = bU.Color:lerp(dl, 0.15)
2726
				if g32hand then
2727
					bW.Reflectance = bW.Reflectance + 0.02
2728
					bW.Color = bW.Color:lerp(dl, 0.15)
2729
					bZ.Reflectance = bZ.Reflectance + 0.02
2730
					bZ.Color = bZ.Color:lerp(dl, 0.15)
2731
				end
2732
			end
2733
			dl = Color3.new(0.058823529411765, 0, 0.082352941176471)
2734
			ck = Vector3.new(60, 70, 60)
2735
			cq = Vector3.new(0.16, 0.16, 0.16)
2736
			cz = Vector3.new(60, 70, 60)
2737
			cF = Vector3.new(0.16, 0.16, 0.16)
2738
			for I = 1, 20 do
2739
				swait()
2740
				bR.Reflectance = bR.Reflectance - 0.01
2741
				bR.Color = bR.Color:lerp(dl, 0.15)
2742
				bU.Reflectance = bU.Reflectance - 0.01
2743
				bU.Color = bU.Color:lerp(dl, 0.15)
2744
				if g32hand then
2745
					bW.Reflectance = bW.Reflectance - 0.01
2746
					bW.Color = bW.Color:lerp(dl, 0.15)
2747
					bZ.Reflectance = bW.Reflectance - 0.01
2748
					bZ.Color = bZ.Color:lerp(dl, 0.15)
2749
				end
2750
			end
2751
			bR.Color = dl
2752
			bU.Color = dl
2753
			if g32hand then
2754
				bW.Color = dl
2755
				bZ.Color = dl
2756
			end
2757
			selected = true
2758
		else
2759
			do
2760
				selected = false
2761
				for I = 1, 20 do
2762
					swait()
2763
					bR.Reflectance = bR.Reflectance - 0.01
2764
					bR.Color = bR.Color:lerp(rarm.Color, 0.15)
2765
					bU.Reflectance = bU.Reflectance - 0.01
2766
					bU.Color = bU.Color:lerp(rarm.Color, 0.15)
2767
					if g32hand then
2768
						bW.Reflectance = bW.Reflectance - 0.01
2769
						bW.Color = bW.Color:lerp(larm.Color, 0.15)
2770
						bZ.Reflectance = bZ.Reflectance - 0.01
2771
						bZ.Color = bZ.Color:lerp(larm.Color, 0.15)
2772
					end
2773
				end
2774
				bR.Color = rarm.Color
2775
				bU.Color = rarm.Color
2776
				bR.Reflectance = 0
2777
				bU.Reflectance = 0
2778
				if g32hand then
2779
					bW.Color = larm.Color
2780
					bZ.Color = larm.Color
2781
					bW.Reflectance = 0
2782
					bZ.Reflectance = 0
2783
				end
2784
				selected = true
2785
			end
2786
		end
2787
	end
2788
end
2789
2790
hito = function(dm, X, c, dn, dp, dq)	
2791
	for I,dr in pairs(workspace:GetChildren()) do
2792
		if dr:FindFirstChild("Humanoid") and dr:FindFirstChild("HumanoidRootPart") and dr ~= chr and (dr:FindFirstChild("HumanoidRootPart").Position - dm.Position).magnitude < X and dr:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then
2793
			local ds = dr:FindFirstChild("Humanoid")
2794
				local dt = dr:FindFirstChild("HumanoidRootPart")
2795
				TakeDamage(ds, c)
2796
				ds:SetStateEnabled(16, true)
2797
				delay(dn, function()		
2798
		ds:SetStateEnabled(16, true)
2799
	end)
2800
				local du = Instance.new("StringValue")
2801
				du.Name = "alabo"
2802
				du.Parent = dt
2803
				game.Debris:AddItem(du, dn)
2804
				local dv = Instance.new("Part")
2805
				nooutline(dv)
2806
				dv.Size = Vector3.new(0.2, 0.2, 0.2)
2807
				dv.Transparency = 0.25
2808
				dv.Anchored = true
2809
				dv.CanCollide = false
2810
				dv.BrickColor = BrickColor.new("Institutional white")
2811
				dv.Locked = true
2812
				dv.CFrame = dt.CFrame * CFrame.new(rd2(-1, 1), rd2(-2, 2), rd2(-1, 1))
2813
				dv.Parent = modz
2814
				local dw = Instance.new("SpecialMesh")
2815
				dw.MeshType = "Sphere"
2816
				dw.Scale = Vector3.new(3.5, 3.5, 3.5)
2817
				dw.Parent = dv
2818
				game.Debris:AddItem(dv, 1)
2819
				local dx = Instance.new("Model")
2820
				dx.Name = c
2821
				dx.Parent = workspace
2822
				game.Debris:AddItem(dx, 0.5 + c / 75)
2823
				local dy = Instance.new("Humanoid")
2824
				dy.MaxHealth = 0
2825
				dy.Parent = dx
2826
				local dz = Instance.new("Part")
2827
				dz.Name = "Head"
2828
				dz.Locked = true
2829
				dz.Size = Vector3.new(0.2, 0.2, 0.2)
2830
				dz.Position = dt.Position
2831
				dz.BrickColor = BrickColor.new("Bright red")
2832
				dz.CanCollide = false
2833
				dz.Parent = dx
2834
				local dA = Instance.new("BodyPosition")
2835
				dA.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
2836
				dA.P = 20000
2837
				dA.D = 300
2838
				dA.Position = dz.Position + Vector3.new(0, 5, 0)
2839
				dA.Parent = dz
2840
				local dB = Instance.new("CylinderMesh")
2841
				dB.Parent = dz
2842
				coroutine.resume(coroutine.create(function()		
2843
		while dB do
2844
			swait()
2845
			dB.Scale = dB.Scale:lerp(Vector3.new(2.5 + c / 10, 1.25 + c / 35, 2.5 + c / 10), 0.4)
2846
		end
2847
	end))
2848
					if dp then
2849
						local dC = Instance.new("BodyVelocity")
2850
						dC.MaxForce = Vector3.new(999999999999, 9999999999999, 9999999999999)
2851
						dC.P = 9999999999
2852
						dC.Velocity = dp
2853
						dC.Parent = dt
2854
						game.Debris:AddItem(dC, dn)
2855
					end
2856
						if dq then
2857
							local dD = Instance.new("BodyAngularVelocity")
2858
							dD.MaxTorque = Vector3.new(99999, 999999, 999999)
2859
							dD.P = math.huge
2860
							dD.AngularVelocity = dq
2861
							dD.Parent = dt
2862
							game.Debris:AddItem(dD, dn)
2863
						end
2864
						local dE = Instance.new("Sound")
2865
						dE.Pitch = rd2(10, 11) / 10
2866
						dE.Volume = rd2(10, 13) / 10
2867
						dE.EmitterSize = 10
2868
						dE.SoundId = "rbxassetid://294188918"
2869
						dE.Parent = dv
2870
						dE:Play()
2871
						coroutine.resume(coroutine.create(function()		
2872
		for I = 1, 5 do
2873
			swait()
2874
			dv.Transparency = dv.Transparency + 0.175
2875
			dw.Scale = dw.Scale + Vector3.new(0.8 * c, 0.8 * c, 0.8 * c)
2876
		end
2877
	end))
2878
		end
2879
	end
2880
end
2881
2882
animo = function(dF)	
2883
	if anim then
2884
		if dF == true then
2885
			anim.Parent = human
2886
			chr.Animate.Disabled = false
2887
		elseif dF == false then
2888
			chr.Animate.Disabled = true
2889
			anim.Parent = nil
2890
		end
2891
	end
2892
end
2893
2894
local dG = function(dH, dv, dw, aO, dI, i)	
2895
	if dH == 0 then
2896
		return dv
2897
	end
2898
	dH = dH / aO
2899
	if dH == 1 then
2900
		return dv + dw
2901
	end
2902
	if not i then
2903
		i = aO * 0.3
2904
	end
2905
	local h = nil
2906
	if not dI or dI < math.abs(dw) then
2907
		dI = dw
2908
		h = i / 4
2909
	else
2910
		h = i / (2 * math.pi) * math.asin(dw / dI)
2911
	end
2912
	return dI * math.pow(2, -10 * (dH)) * math.sin((dH * aO - h) * 2 * math.pi / (i)) + dw + dv
2913
end
2914
2915
local dJ = false
2916
updateguimode = function()	
2917
	local dK = function(dL, dM, dH)		
2918
		return (1 - dH) * dL + dH * dM
2919
	end
2920
2921
	local dN, dO = nil, nil
2922
	if dagear == 1 then
2923
		dN = "Rubber"
2924
	elseif dagear == 2 then
2925
		dN = "Jet"
2926
	elseif dagear == 3 then
2927
		dN = "Gigant"
2928
	end
2929
	if rubbermodo == 0 then
2930
		dO = "Pistol"
2931
	elseif rubbermodo == 1 then
2932
		dO = "Gatling"
2933
	elseif rubbermodo == 2 then
2934
		dO = "Bazooka"
2935
	elseif rubbermodo == 3 then
2936
		dO = "Rocket"
2937
	end
2938
	g.Main.Base.Mode.Text = "MODE: " .. dN .. " " .. dO
2939
	if dJ == false then
2940
		dJ = true
2941
	elseif dJ == true then
2942
		dJ = false
2943
		swait()
2944
		dJ = true
2945
	end
2946
	for j = 0, 2, game:GetService("RunService").RenderStepped:wait() do
2947
		if not dJ then
2948
			break
2949
		end
2950
		game:GetService("RunService").RenderStepped:wait()
2951
		g.Main.Base.Mode.TextSize = dK(11, 25, dG(j, 0, 1, 2))
2952
	end
2953
end
2954
--[[
2955
mouse.KeyDown:connect(function(dP)	
2956
	if dP == "q" and activu == false then
2957
		if (dagear == 3 and not g32hand) or dagear == 2 and rubbermodo > 1 then
2958
			rubbermodo = 0
2959
		else
2960
			if dagear == 3 and g32hand and rubbermodo > 1 then
2961
				rubbermodo = 1
2962
			else
2963
				if rubbermodo == 0 then
2964
					rubbermodo = 1
2965
				else
2966
					if rubbermodo == 1 then
2967
						rubbermodo = 2
2968
					else
2969
						if rubbermodo == 2 then
2970
							rubbermodo = 3
2971
						else
2972
							rubbermodo = 0
2973
						end
2974
					end
2975
				end
2976
			end
2977
		end
2978
		updateguimode()
2979
	else
2980
		if dP == "e" and activu == false then
2981
			if (dagear == 3 and not g32hand) or dagear == 2 and rubbermodo > 1 then
2982
				rubbermodo = 0
2983
			else
2984
				if dagear == 3 and g32hand and rubbermodo > 1 then
2985
					rubbermodo = 1
2986
				else
2987
					if dagear == 1 then
2988
						if rubbermodo == 1 then
2989
							rubbermodo = 0
2990
						else
2991
							if rubbermodo == 2 then
2992
								rubbermodo = 1
2993
							else
2994
								if rubbermodo == 3 then
2995
									rubbermodo = 2
2996
								else
2997
									if rubbermodo <= 0 then
2998
										rubbermodo = 3
2999
									end
3000
								end
3001
							end
3002
						end
3003
					else
3004
						if rubbermodo == 1 then
3005
							rubbermodo = 0
3006
						else
3007
							rubbermodo = 1
3008
						end
3009
					end
3010
				end
3011
			end
3012
			updateguimode()
3013
		else
3014
			if dP == "f" and activu == false and (plr.UserId == 8488617 or e) then
3015
				gear2change()
3016
				rubbermodo = 0
3017
				updateguimode()
3018
			else
3019
				if dP == "j" and activu == false and (plr.UserId == 8488617 or f) then
3020
					gear3change()
3021
					rubbermodo = 0
3022
					updateguimode()
3023
				else
3024
					if dP == "t" and activu == false and (plr.UserId == 8488617 or f) and dagear == 3 then
3025
						g3twohand()
3026
						rubbermodo = 2
3027
						updateguimode()
3028
					else
3029
						if dP == "b" and plr.UserId == 8488617 then
3030
							busolelel()
3031
						end
3032
					end
3033
				end
3034
			end
3035
		end
3036
	end
3037
end)
3038
            ]]
3039
game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(dP)
3040
	if dP == "q" and activu == false then -- Does nothing?
3041
		if dagear == 2 and rubbermodo > 1 then
3042
			rubbermodo = 0
3043
		elseif dagear == 3 and g32hand and rubbermodo > 1 then
3044
			rubbermodo = 1
3045
		elseif rubbermodo == 0 then
3046
			rubbermodo = 1
3047
		elseif rubbermodo == 1 then
3048
			rubbermodo = 2
3049
		elseif rubbermodo == 2 then
3050
			rubbermodo = 3
3051
		else
3052
			rubbermodo = 0
3053
		end
3054
		updateguimode()
3055
	end
3056
	if dP == "f" and activu == false then
3057
		gear2change()
3058
		rubbermodo = 0
3059
		updateguimode()
3060
	end
3061
	if dP == "t" and activu == false and dagear == 3 then
3062
		g3twohand()
3063
		rubbermodo = 2
3064
		updateguimode()
3065
	end
3066
	if dP == "j" and activu == false then
3067
		gear3change()
3068
		rubbermodo = 0
3069
		updateguimode()
3070
	end
3071
	if dP == "b" and plr.UserId == 8488617 then
3072
		busolelel()
3073
	end
3074
end)
3075
tool.Activated:connect(function()	
3076
	if human.Health <= 0 then
3077
		return 
3078
	end
3079
	if dagear == 1 then
3080
		if rubbermodo == 0 then
3081
			shoot()
3082
		elseif rubbermodo == 1 then
3083
			gatling()
3084
		elseif rubbermodo == 2 then
3085
			bazooka()
3086
		elseif rubbermodo == 3 then
3087
			rocket()
3088
		end
3089
	elseif dagear == 2 then
3090
		if rubbermodo == 0 then
3091
			jetpunch()
3092
		elseif rubbermodo == 1 then
3093
			jetgat()
3094
		elseif rubbermodo == 2 then
3095
			jetbazoo()
3096
		end
3097
	elseif dagear == 3 and not g32hand and rubbermodo == 0 then
3098
		giganpist()
3099
	end
3100
	if dagear == 3 and g32hand then
3101
		if rubbermodo == 2 then
3102
			giganbazooka()
3103
		elseif rubbermodo == 1 then
3104
			gigangatl()
3105
		end
3106
	end
3107
end)
3108
tool.Equipped:connect(function()	
3109
	selected = true
3110
end)
3111
tool.Unequipped:connect(function()	
3112
	selected = false
3113
end)
3114
human.Died:connect(function()	
3115
	if cam.CameraType == "Scriptable" then
3116
		cam.CameraType = "Custom"
3117
	end
3118
	cd = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0)
3119
	cg = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0)
3120
	ci = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) * ang(rd(0), rd(180), rd(90))
3121
	ck = Vector3.new(0, 0, 0)
3122
	cm = 0
3123
	co = 0
3124
	cq = Vector3.new(0, 0, 0)
3125
end)
3126
animpose = "Idle"
3127
sine = 0
3128
charge = 1
3129
cos = math.cos
3130
run()
3131
game:GetService("RunService").RenderStepped:connect(function()	
3132
	sine = sine + charge
3133
	if sine >= 100000000 then
3134
		sine = 0
3135
	end
3136
	if sine % 60 == 0 then
3137
		g.Main.G2.Bar:TweenSize(UDim2.new(0.016666666666667 * g2lim, 0, 1, 0), 1, 3, 0.25)
3138
		g.Main.G3.Bar:TweenSize(UDim2.new(0.016666666666667 * g3lim, 0, 1, 0), 1, 3, 0.25)
3139
	end
3140
	--[[repeat
3141
		repeat
3142
			if plr.UserId ~= 8488617 and dagear == 3 and sine % 60 == 0 then
3143
				if g3lim <= 0 then
3144
					game:GetService("RunService").RenderStepped:wait()
3145
				end
3146
			end
3147
		until activu == false
3148
	until selected == true
3149
	gear3change()
3150
	rubbermodo = 0
3151
	updateguimode()
3152
	if g32hand then
3153
		g3lim = g3lim - 2
3154
	else
3155
		if not g32hand then
3156
			g3lim = g3lim - 1
3157
		end
3158
	end
3159
	repeat
3160
		repeat
3161
			if plr.UserId ~= 8488617 and dagear == 2 and sine % 60 == 0 then
3162
				if g2lim <= 0 then
3163
					game:GetService("RunService").RenderStepped:wait()
3164
				end
3165
			end
3166
		until activu == false
3167
	until selected == true
3168
	gear2change()
3169
	rubbermodo = 0
3170
	updateguimode()
3171
	g2lim = g2lim - 1
3172
	if plr.UserId ~= 8488617 and dagear == 1 and sine % 120 == 0 then
3173
		if g2lim < 59 then
3174
			g2lim = g2lim + 1
3175
		end
3176
		if g3lim < 59 then
3177
			g3lim = g3lim + 1
3178
		end
3179
	end]]
3180
	if dagear == 3 and activu == false then
3181
		local dQ = Ray.new(hrp.Position, Vector3.new(0, -5, 0))
3182
		local dR = workspace:FindPartOnRayWithIgnoreList(dQ, {chr}, false, false)
3183
		local dS = human:GetState()
3184
		if dS.Value == 13 then
3185
			animpose = "Sitting"
3186
		else
3187
			if hrp.Velocity.y > 1 and dR == nil then
3188
				animpose = "Jumping"
3189
			else
3190
				if hrp.Velocity.y < -1 and dR == nil then
3191
					animpose = "Falling"
3192
				else
3193
					if (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 2 then
3194
						animpose = "Idle"
3195
					else
3196
						if (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 25 then
3197
							animpose = "Walking"
3198
						else
3199
							if (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude > 25 then
3200
								animpose = "TooFast"
3201
							end
3202
						end
3203
					end
3204
				end
3205
			end
3206
		end
3207
		if animpose == "Idle" then
3208
			lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, -0.05 * cos(sine / 40)) * ang(rd(18), rd(6), rd(15)), 0.3)
3209
			lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2 + 5 * cos(sine / 40)), rd(-1), rd(-14)), 0.3)
3210
			lerpz(RS, "C0", RSC0 * cf(0, 0.05, 1) * ang(rd(0), rd(-170), rd(75)), 0.3)
3211
			lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
3212
			if g32hand then
3213
				lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0.95) * ang(rd(0), rd(160), rd(-75)), 0.3)
3214
			else
3215
				lerpz(LS, "C0", LSC0 * cf(0, 0.07, -0.45) * ang(rd(20), rd(-65), rd(-60 + 5 * cos(sine / 40))), 0.3)
3216
			end
3217
			lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
3218
			lerpz(RH, "C0", RHC0 * cf(0, 0.05 * cos(sine / 40), 0) * ang(rd(-10), rd(-10), rd(-10)), 0.3)
3219
			lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
3220
			lerpz(LH, "C0", LHC0 * cf(0, 0.05 * cos(sine / 40), 0) * ang(rd(-10), rd(10), rd(-30)), 0.3)
3221
			lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
3222
		end
3223
		if animpose == "Walking" then
3224
			lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, -0.05) * ang(rd(20), rd(6), rd(15)), 0.3)
3225
			lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(3), rd(-1), rd(-14)), 0.3)
3226
			lerpz(RS, "C0", RSC0 * cf(0, 0.05, 1) * ang(rd(0), rd(-170), rd(75)), 0.3)
3227
			lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
3228
			if g32hand then
3229
				lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0.95) * ang(rd(0), rd(160), rd(-75)), 0.3)
3230
			else
3231
				lerpz(LS, "C0", LSC0 * cf(0, 0.07, -0.45) * ang(rd(20), rd(-65), rd(-45)), 0.3)
3232
			end
3233
			lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
3234
			lerpz(RH, "C0", RHC0 * cf(0, 0.05 * cos(sine / 40), 0) * ang(rd(-10), rd(-10), rd(20 + 30 * cos(sine / 6))), 0.3)
3235
			lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
3236
			lerpz(LH, "C0", LHC0 * cf(0, 0.05 * cos(sine / 40), 0) * ang(rd(-10), rd(10), rd(-20 + 30 * cos(sine / 6))), 0.3)
3237
			lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
3238
		end
3239
	end
3240
end)
3241
dispose = function()	
3242
	for j,dT in pairs(getfenv(0)) do
3243
		dT = nil
3244
	end
3245
	error = nil
3246
	print = nil
3247
	warn = nil
3248
	script:Destroy()
3249
	script = nil
3250
end
3251
3252
human.Died:connect(dispose)
3253
chr.Changed:connect(function()	
3254
	if chr.Parent == nil then
3255
		dispose()
3256
	end
3257
end)