View difference between Paste ID: saXccHxm and DY2AG7vV
SHOW: | | - or go back to the newest paste.
1
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
2
local Player,game,owner = owner,game
3
local RealPlayer = Player
4
do
5
	print("FE Compatibility code by Mokiros")
6
	local rp = RealPlayer
7
	script.Parent = rp.Character
8
	
9
	--RemoteEvent for communicating
10
	local Event = Instance.new("RemoteEvent")
11
	Event.Name = "UserInput_Event"
12
13
	--Fake event to make stuff like Mouse.KeyDown work
14
	local function fakeEvent()
15
		local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
16
		t.connect = t.Connect
17
		return t
18
	end
19
20
	--Creating fake input objects with fake variables
21
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
22
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
23
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
24
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
25
	end}
26
	--Merged 2 functions into one by checking amount of arguments
27
	CAS.UnbindAction = CAS.BindAction
28
29
	--This function will trigger the events that have been :Connect()'ed
30
	local function te(self,ev,...)
31
		local t = m[ev]
32
		if t and t._fakeEvent then
33
			for _,f in pairs(t.Functions) do
34
				f(...)
35
			end
36
		end
37
	end
38
	m.TrigEvent = te
39
	UIS.TrigEvent = te
40
41
	Event.OnServerEvent:Connect(function(plr,io)
42
	    if plr~=rp then return end
43
		m.Target = io.Target
44
		m.Hit = io.Hit
45
		if not io.isMouse then
46
			local b = io.UserInputState == Enum.UserInputState.Begin
47
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
48
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
49
			end
50
			for _,t in pairs(CAS.Actions) do
51
				for _,k in pairs(t.Keys) do
52
					if k==io.KeyCode then
53
						t.Function(t.Name,io.UserInputState,io)
54
					end
55
				end
56
			end
57
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
58
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
59
	    end
60
	end)
61
	Event.Parent = NLS([==[
62
	local Player = game:GetService("Players").LocalPlayer
63
	local Event = script:WaitForChild("UserInput_Event")
64
65
	local Mouse = Player:GetMouse()
66
	local UIS = game:GetService("UserInputService")
67
	local input = function(io,a)
68
		if a then return end
69
		--Since InputObject is a client-side instance, we create and pass table instead
70
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
71
	end
72
	UIS.InputBegan:Connect(input)
73
	UIS.InputEnded:Connect(input)
74
75
	local h,t
76
	--Give the server mouse data 30 times every second, but only if the values changed
77
	--If player is not moving their mouse, client won't fire events
78
	while wait(1/30) do
79
		if h~=Mouse.Hit or t~=Mouse.Target then
80
			h,t=Mouse.Hit,Mouse.Target
81
			Event:FireServer({isMouse=true,Target=t,Hit=h})
82
		end
83
	end]==],Player.Character)
84
85
	----Sandboxed game object that allows the usage of client-side methods and services
86
	--Real game object
87
	local _rg = game
88
89
	--Metatable for fake service
90
	local fsmt = {
91
		__index = function(self,k)
92
			local s = rawget(self,"_RealService")
93
			if s then return s[k] end
94
		end,
95
		__newindex = function(self,k,v)
96
			local s = rawget(self,"_RealService")
97
			if s then s[k]=v end
98
		end,
99
		__call = function(self,...)
100
			local s = rawget(self,"_RealService")
101
			if s then return s(...) end
102
		end
103
	}
104
	local function FakeService(t,RealService)
105
		t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
106
		return setmetatable(t,fsmt)
107
	end
108
109
	--Fake game object
110
	local g = {
111
		GetService = function(self,s)
112
			return self[s]
113
		end,
114
		Players = FakeService({
115
			LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
116
		},"Players"),
117
		UserInputService = FakeService(UIS,"UserInputService"),
118
		ContextActionService = FakeService(CAS,"ContextActionService"),
119
	}
120
	rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
121
	g.service = g.GetService
122
	
123
	g.RunService = FakeService({
124
		RenderStepped = _rg:GetService("RunService").Heartbeat,
125
		BindToRenderStep = function(self,name,_,fun)
126
			self._btrs[name] = self.Heartbeat:Connect(fun)
127
		end,
128
		UnbindFromRenderStep = function(self,name)
129
			self._btrs[name]:Disconnect()
130
		end,
131
	},"RunService")
132
133
	setmetatable(g,{
134
		__index=function(self,s)
135
			return _rg:GetService(s) or typeof(_rg[s])=="function"
136
			and function(_,...)return _rg[s](_rg,...)end or _rg[s]
137
		end,
138
		__newindex = fsmt.__newindex,
139
		__call = fsmt.__call
140
	})
141
	--Changing owner to fake player object to support owner:GetMouse()
142
	game,owner = g,g.Players.LocalPlayer
143
end
144
-----Decompiled And Stolen Of Dahnoob, Leaked By Shelter----  
145
146
plr = game.Players.LocalPlayer
147
  repeat
148
    wait(0.4)
149
  until plr.Character
150
  chr = plr.Character
151
  human = chr:FindFirstChild("Humanoid")
152
  mouse = plr:GetMouse()
153
  cam = workspace.CurrentCamera
154
  selected = false
155
  equipd = false
156
  tors = chr.Torso
157
  rarm = chr["Right Arm"]
158
  larm = chr["Left Arm"]
159
  rleg = chr["Right Leg"]
160
  lleg = chr["Left Leg"]
161
  hrp = chr.HumanoidRootPart
162
  hed = chr.Head
163
  anim = human:FindFirstChild("Animator")
164
  activu = false
165
  ragged = false
166
  batting = false
167
  memeing = false
168
  Heartbeat = Instance.new("BindableEvent")
169
  Heartbeat.Name = "Heartbeat"
170
  Heartbeat.Parent = script
171
  frame = 0.03333333333333333
172
  tf = 0
173
  game:GetService("RunService").Heartbeat:connect(function(s, p)
174
    tf = tf + s
175
    if tf >= frame then
176
      for i = 1, math.floor(tf / frame) do
177
        Heartbeat:Fire()
178
      end
179
      tf = tf - frame * math.floor(tf / frame)
180
    end
181
  end)
182
  function swait(num)
183
    if num == 0 or num == nil then
184
      Heartbeat.Event:wait()
185
    else
186
      for i = 1, num do
187
        Heartbeat.Event:wait()
188
      end
189
    end
190
  end
191
  tool = Instance.new("Tool")
192
  tool.CanBeDropped = false
193
  tool.RequiresHandle = false
194
  tool.TextureId = "rbxassetid://291302154"
195
  tool.ToolTip = "NANI"
196
  tool.Name = "AAAAAAAAAAAAAA"
197
  tool.Parent = plr.Backpack
198
  modz = Instance.new("Model")
199
  modz.Name = "efx"
200
  modz.Parent = chr
201
  RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
202
  RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
203
  LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
204
  LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
205
  RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
206
  RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
207
  LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
208
  RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
209
  LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
210
  NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
211
  NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
212
  RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
213
  local nscale = Instance.new("NumberValue")
214
  nscale.Value = 1
215
  nscale.Parent = nil
216
  RightShoulderC0 = CFrame.new(1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
217
  RightShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
218
  LeftShoulderC0 = CFrame.new(-1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
219
  LeftShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
220
  RightHipC0 = CFrame.new(0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
221
  RightHipC1 = CFrame.new(0, 1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
222
  LeftHipC0 = CFrame.new(-0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
223
  LeftHipC1 = CFrame.new(0 * nscale.Value, 1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
224
  RootJointC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
225
  RootJointC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
226
  NeckC0 = CFrame.new(0, 1 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
227
  NeckC1 = CFrame.new(0, -0.5 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
228
  nscale.Changed:connect(function()
229
    RightShoulderC0 = CFrame.new(1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
230
    RightShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
231
    LeftShoulderC0 = CFrame.new(-1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
232
    LeftShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
233
    RightHipC0 = CFrame.new(0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
234
    RightHipC1 = CFrame.new(0, 1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
235
    LeftHipC0 = CFrame.new(-0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
236
    LeftHipC1 = CFrame.new(0 * nscale.Value, 1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
237
    RootJointC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
238
    RootJointC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
239
    NeckC0 = CFrame.new(0, 1 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
240
    NeckC1 = CFrame.new(0, -0.5 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
241
  end)
242
  RS = tors:FindFirstChild("Right Shoulder")
243
  LS = tors:FindFirstChild("Left Shoulder")
244
  RH = tors:FindFirstChild("Right Hip")
245
  LH = tors:FindFirstChild("Left Hip")
246
  RJ = hrp:FindFirstChild("RootJoint")
247
  N = tors:FindFirstChild("Neck")
248
  cf = CFrame.new
249
  ang = CFrame.Angles
250
  rd = math.rad
251
  rd2 = math.random
252
  function nooutline(p)
253
    p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BottomSurface = 10, 10, 10, 10, 10, 10
254
  end
255
  function makepart(color, name, reflec, trans, mater, parnt, cfram)
256
    local port = Instance.new("Part")
257
    port.BrickColor = BrickColor.new(color)
258
    port.Name = name
259
    port.Transparency = trans
260
    nooutline(port)
261
    port.Reflectance = reflec
262
    port.Material = mater
263
    port.Anchored = false
264
    port.CanCollide = false
265
    port.Locked = true
266
    port.CFrame = cfram
267
    port.Size = Vector3.new(0.2, 0.2, 0.2)
268
    port.Parent = parnt
269
    return port
270
  end
271
  function makemesh(meshtype, scale, meshid, parent)
272
    local mes = Instance.new("SpecialMesh")
273
    mes.MeshType = meshtype
274
    mes.Scale = scale
275
    if meshtype == "FileMesh" then
276
      mes.MeshId = meshid
277
    end
278
    mes.Parent = parent
279
    return mes
280
  end
281
  function makeweld(parent, p0, p1, c0, c1)
282
    local wel = Instance.new("Weld")
283
    wel.Part0 = p0
284
    wel.Part1 = p1
285
    wel.C0 = c0
286
    if c1 ~= nil then
287
      wel.C1 = c1
288
    end
289
    wel.Parent = parent
290
    return wel
291
  end
292
  local lauf1 = Instance.new("Sound")
293
  lauf1.SoundId = "rbxassetid://725969678"
294
  lauf1.Volume = 1.5
295
  lauf1.Pitch = 1
296
  lauf1.Parent = hrp
297
  function lerpz(joint, prop, cfrmz, alp)
298
    joint[prop] = joint[prop]:lerp(cfrmz, alp)
299
  end
300
  lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
301
  lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
302
  lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
303
  lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
304
  lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
305
  lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
306
  lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
307
  lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
308
  lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
309
  lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
310
  function resetlerp()
311
    RJ.C0 = RJC0
312
    RJ.C1 = RJC1
313
    N.C0 = NC0
314
    N.C1 = NC1
315
    RS.C0 = RSC0
316
    RS.C1 = RSC1
317
    LS.C0 = LSC0
318
    LS.C1 = LSC1
319
    RH.C0 = RHC0
320
    RH.C1 = RHC1
321
    LH.C0 = LHC0
322
    LH.C1 = LHC1
323
  end
324
  function test()
325
    if selected == false or activu == true then
326
      return
327
    end
328
    if ragged == false then
329
      ragged = true
330
      human.PlatformStand = true
331
      if rarm and tors:FindFirstChild("Right Shoulder") then
332
        tors:FindFirstChild("Right Shoulder"):Destroy()
333
        makegloo(tors, RightShoulderC0, RightShoulderC1, tors, rarm, "Right Shoulder")
334
        maketouchy(rarm, rarm, CFrame.new(0, 0.5, 0))
335
      end
336
      if larm and tors:FindFirstChild("Left Shoulder") then
337
        tors:FindFirstChild("Left Shoulder"):Destroy()
338
        makegloo(tors, LeftShoulderC0, LeftShoulderC1, tors, larm, "Left Shoulder")
339
        maketouchy(larm, larm, CFrame.new(0, 0.5, 0))
340
      end
341
      if rleg and tors:FindFirstChild("Right Hip") then
342
        tors:FindFirstChild("Right Hip"):Destroy()
343
        makegloo(tors, RightHipC0, RightHipC1, tors, rleg, "Right Hip")
344
        maketouchy(rleg, rleg, CFrame.new(0, 0.5, 0))
345
      end
346
      if lleg and tors:FindFirstChild("Left Hip") then
347
        tors:FindFirstChild("Left Hip"):Destroy()
348
        makegloo(tors, LeftHipC0, LeftHipC1, tors, lleg, "Left Hip")
349
        maketouchy(lleg, lleg, CFrame.new(0, 0.5, 0))
350
      end
351
    elseif ragged == true then
352
      ragged = false
353
      human.Jump = true
354
      if rarm and tors:FindFirstChild("Right Shoulder") then
355
        tors:FindFirstChild("Right Shoulder"):Destroy()
356
        makejoint(tors, RSC0, RSC1, tors, rarm, "Right Shoulder")
357
        rarm:FindFirstChild("touchy"):Destroy()
358
      end
359
      if larm and tors:FindFirstChild("Left Shoulder") then
360
        tors:FindFirstChild("Left Shoulder"):Destroy()
361
        makejoint(tors, LSC0, LSC1, tors, larm, "Left Shoulder")
362
        larm:FindFirstChild("touchy"):Destroy()
363
      end
364
      if rleg and tors:FindFirstChild("Right Hip") then
365
        tors:FindFirstChild("Right Hip"):Destroy()
366
        makejoint(tors, RHC0, RHC1, tors, rleg, "Right Hip")
367
        rleg:FindFirstChild("touchy"):Destroy()
368
      end
369
      if lleg and tors:FindFirstChild("Left Hip") then
370
        tors:FindFirstChild("Left Hip"):Destroy()
371
        makejoint(tors, LHC0, LHC1, tors, lleg, "Left Hip")
372
        lleg:FindFirstChild("touchy"):Destroy()
373
      end
374
      RS = tors:FindFirstChild("Right Shoulder")
375
      LS = tors:FindFirstChild("Left Shoulder")
376
      RH = tors:FindFirstChild("Right Hip")
377
      LH = tors:FindFirstChild("Left Hip")
378
      RJ = hrp:FindFirstChild("RootJoint")
379
      N = tors:FindFirstChild("Neck")
380
    end
381
  end
382
  function makegloo(paren, co, ci, parto, parti, nam)
383
    local gloo = Instance.new("Glue")
384
    gloo.Name = nam
385
    gloo.C0 = co
386
    gloo.C1 = ci
387
    gloo.Part0 = parto
388
    gloo.Part1 = parti
389
    gloo.Parent = paren
390
  end
391
  function makejoint(paren, co, ci, parto, parti, nam)
392
    local gloo = Instance.new("Motor6D")
393
    gloo.Name = nam
394
    gloo.C0 = co
395
    gloo.C1 = ci
396
    gloo.Part0 = parto
397
    gloo.Part1 = parti
398
    gloo.Parent = paren
399
  end
400
  function maketouchy(parent, limb, cframe)
401
    local pr = Instance.new("Part")
402
    pr.Name = "touchy"
403
    pr.Size = Vector3.new(1 * nscale.Value, 1 * nscale.Value, 1 * nscale.Value)
404
    pr.Transparency = 1
405
    pr.CustomPhysicalProperties = PhysicalProperties.new(0.55, 0.3, 0.5)
406
    pr.CanCollide = true
407
    pr.Anchored = false
408
    pr.Parent = parent
409
    local w = Instance.new("Weld")
410
    w.Part0 = pr
411
    w.Part1 = limb
412
    w.C0 = cframe
413
    w.Parent = pr
414
  end
415
  local clibat, spec, dipperrot
416
  local dipperhat = chr:FindFirstChild("DXD_DipperHat")
417
  if dipperhat then
418
    dipperrot = dipperhat.Handle.HatAttachment.Rotation
419
  end
420
  function bat()
421
    if selected == false or activu == true then
422
      return
423
    end
424
    if batting == false then
425
      batting = true
426
      dipperhat = chr:FindFirstChild("DXD_DipperHat")
427
      if dipperhat then
428
        dipperrot = dipperhat.Handle.HatAttachment.Rotation
429
      else
430
        dipperhat = nil
431
      end
432
      do
433
        local bmod = Instance.new("Model")
434
        bmod.Name = "bmodel"
435
        bmod.Parent = chr
436
        local hnd = makepart("Br. yellowish green", "hnd", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
437
        local hmes = makemesh("Head", Vector3.new(2, 9, 2), nil, hnd)
438
        local hwel = makeweld(hnd, hnd, rarm, ang(rd(90), rd(0), rd(0)) * cf(0, 1, 0), nil)
439
        local pt1 = makepart("Bright yellow", "pt1", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
440
        local p1m = makemesh("Head", Vector3.new(2.5, 2.5, 2.5), nil, pt1)
441
        local p1w = makeweld(pt1, pt1, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, 1, 0), nil)
442
        local pt2 = makepart("Bright yellow", "pt2", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
443
        local p2m = makemesh("FileMesh", Vector3.new(0.375, 0.375, 0.375), "rbxassetid://250640098", pt2)
444
        p2m.TextureId = "rbxassetid://250639536"
445
        local p2w = makeweld(pt2, pt2, hnd, ang(rd(180), rd(180), rd(0)) * cf(0, 1.225, 0.075), nil)
446
        local pt3 = makepart("Bright yellow", "pt3", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
447
        local p3m = makemesh("Head", Vector3.new(2.5, 2.5, 2.5), nil, pt3)
448
        local p3w = makeweld(pt3, pt3, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0), nil)
449
        local pt4 = makepart("Bright yellow", "pt4", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
450
        local p4m = makemesh("FileMesh", Vector3.new(0.025, 0.025, 0.025), "rbxassetid://703458158", pt4)
451
        local p4w = makeweld(pt4, pt4, hnd, ang(rd(180), rd(0), rd(0)) * cf(0, -1.25, 0), nil)
452
        local pt5 = makepart("Bright yellow", "pt5", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
453
        local p5m = makemesh("Cylinder", Vector3.new(21.5, 6.25, 6.25), nil, pt5)
454
        local p5w = makeweld(pt5, pt5, hnd, ang(rd(0), rd(0), rd(90)) * cf(0, -4.025, 0), nil)
455
        local pt6 = makepart("Bright yellow", "pt6", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
456
        local p6m = makemesh("Head", Vector3.new(6.5, 6.5, 6.5), nil, pt6)
457
        local p6w = makeweld(pt6, pt6, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -6.05, 0), nil)
458
        local pt7 = makepart("Bright yellow", "pt7", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
459
        local p7m = makemesh("FileMesh", Vector3.new(0.95, 0.95, 0.95), "rbxassetid://272942659", pt7)
460
        p7m.TextureId = "rbxassetid://272942750"
461
        local p7w = makeweld(pt7, pt7, hnd, ang(rd(0), rd(90), rd(0)) * cf(0, -6.2, 0), nil)
462
        local swingwoo = Instance.new("Sound")
463
        swingwoo.SoundId = "rbxassetid://10209640"
464
        swingwoo.Pitch = rd2(10, 11) / 10
465
        swingwoo.Name = "sweae"
466
        swingwoo.Volume = 1
467
        swingwoo.Parent = hrp
468
        clibat = tool.Activated:connect(function()
469
          if selected == false or activu == true or ragged == true then
470
            return
471
          end
472
          activu = true
473
          for _ = 1, 5 do
474
            swait()
475
            lerpz(RJ, "C0", RJC0 * cf(0, 0.5, 0) * ang(rd(-20), rd(10), rd(-40)), 0.7)
476
            lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
477
            lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(-20), rd(179)), 0.7)
478
            lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
479
            lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-20), rd(20), rd(30)), 0.7)
480
            lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
481
            lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7)
482
            lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
483
            lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-110)), 0.7)
484
            lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
485
          end
486
          local bon = Instance.new("Sound")
487
          bon.SoundId = "rbxassetid://135436482"
488
          bon.Pitch = rd2(10, 12) / 10
489
          bon.Volume = 1
490
          bon.Parent = hrp
491
          game.Debris:AddItem(bon, 1)
492
          bon:Play()
493
          swingwoo:Play()
494
          for X = 1, 5 do
495
            swait()
496
            if X > 1 then
497
              hito(pt5, 5, 10, 0.2, hrp.CFrame.lookVector * 25, Vector3.new(0, rd2(-5, 5), rd2(-40, 40)))
498
            end
499
            lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(60), rd(-10), rd(30)), 0.7)
500
            lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
501
            lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(20), rd(40)), 0.7)
502
            lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
503
            lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-70), rd(20), rd(30)), 0.7)
504
            lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
505
            lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(20), rd(-40), rd(80)), 0.7)
506
            lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
507
            lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(60)), 0.7)
508
            lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
509
          end
510
          activu = false
511
        end)
512
        spec = mouse.KeyDown:connect(function(keya)
513
          if selected == false or activu == true or ragged == true then
514
            return
515
          end
516
          if keya == "e" then
517
            activu = true
518
            local speed = human.WalkSpeed
519
            human.WalkSpeed = 0
520
            human:SetStateEnabled(3, false)
521
            local function expa()
522
              local sond = Instance.new("Sound")
523
              sond.Volume = 1.25
524
              sond.Pitch = 1
525
              sond.EmitterSize = 15
526
              sond.SoundId = "rbxassetid://315152748"
527
              sond.Parent = pt6
528
              sond:Play()
529
              for _ = 1, 3 do
530
                swait()
531
                hmes.Scale = hmes.Scale:lerp(Vector3.new(6, 27, 6), 0.7)
532
                p1m.Scale = p1m.Scale:lerp(Vector3.new(7.5, 7.5, 7.5), 0.7)
533
                p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 3, 0), 0.7)
534
                p2m.Scale = p2m.Scale:lerp(Vector3.new(1.125, 1.125, 1.125), 0.7)
535
                p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 3.6750000000000003, 0.22499999999999998), 0.7)
536
                p3m.Scale = p3m.Scale:lerp(Vector3.new(7.5, 7.5, 7.5), 0.7)
537
                p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -3, 0), 0.7)
538
                p4m.Scale = p4m.Scale:lerp(Vector3.new(0.07500000000000001, 0.07500000000000001, 0.07500000000000001), 0.7)
539
                p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -3.75, 0), 0.7)
540
                p5m.Scale = p5m.Scale:lerp(Vector3.new(64.5, 18.75, 18.75), 0.7)
541
                p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -12.075000000000001, 0), 0.7)
542
                p6m.Scale = p6m.Scale:lerp(Vector3.new(19.5, 19.5, 19.5), 0.7)
543
                p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -18.15, 0), 0.7)
544
                p7m.Scale = p7m.Scale:lerp(Vector3.new(2.8499999999999996, 2.8499999999999996, 2.8499999999999996), 0.7)
545
                p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -18.6, 0), 0.7)
546
              end
547
              for _ = 1, 5 do
548
                swait()
549
                hmes.Scale = hmes.Scale:lerp(Vector3.new(4, 18, 4), 0.7)
550
                p1m.Scale = p1m.Scale:lerp(Vector3.new(5, 5, 5), 0.7)
551
                p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 2, 0), 0.7)
552
                p2m.Scale = p2m.Scale:lerp(Vector3.new(0.75, 0.75, 0.75), 0.7)
553
                p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 2.45, 0.15), 0.7)
554
                p3m.Scale = p3m.Scale:lerp(Vector3.new(5, 5, 5), 0.7)
555
                p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -2, 0), 0.7)
556
                p4m.Scale = p4m.Scale:lerp(Vector3.new(0.05, 0.05, 0.05), 0.7)
557
                p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -2.5, 0), 0.7)
558
                p5m.Scale = p5m.Scale:lerp(Vector3.new(43, 12.5, 12.5), 0.7)
559
                p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -8.05, 0), 0.7)
560
                p6m.Scale = p6m.Scale:lerp(Vector3.new(13, 13, 13), 0.7)
561
                p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -12.1, 0), 0.7)
562
                p7m.Scale = p7m.Scale:lerp(Vector3.new(1.9, 1.9, 1.9), 0.7)
563
                p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -12.4, 0), 0.7)
564
              end
565
              sond.Pitch = 0.75
566
              sond:Play()
567
              for _ = 1, 3 do
568
                swait()
569
                hmes.Scale = hmes.Scale:lerp(Vector3.new(12, 54, 12), 0.7)
570
                p1m.Scale = p1m.Scale:lerp(Vector3.new(15, 15, 15), 0.7)
571
                p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 6, 0), 0.7)
572
                p2m.Scale = p2m.Scale:lerp(Vector3.new(2.25, 2.25, 2.25), 0.7)
573
                p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 7.3500000000000005, 0.44999999999999996), 0.7)
574
                p3m.Scale = p3m.Scale:lerp(Vector3.new(15, 15, 15), 0.7)
575
                p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -6, 0), 0.7)
576
                p4m.Scale = p4m.Scale:lerp(Vector3.new(0.15000000000000002, 0.15000000000000002, 0.15000000000000002), 0.7)
577
                p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -7.5, 0), 0.7)
578
                p5m.Scale = p5m.Scale:lerp(Vector3.new(129, 37.5, 37.5), 0.7)
579
                p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -24.150000000000002, 0), 0.7)
580
                p6m.Scale = p6m.Scale:lerp(Vector3.new(39, 39, 39), 0.7)
581
                p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -36.3, 0), 0.7)
582
                p7m.Scale = p7m.Scale:lerp(Vector3.new(5.699999999999999, 5.699999999999999, 5.699999999999999), 0.7)
583
                p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -37.2, 0), 0.7)
584
              end
585
              for _ = 1, 5 do
586
                swait()
587
                hmes.Scale = hmes.Scale:lerp(Vector3.new(8, 36, 8), 0.7)
588
                p1m.Scale = p1m.Scale:lerp(Vector3.new(10, 10, 10), 0.7)
589
                p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 4, 0), 0.7)
590
                p2m.Scale = p2m.Scale:lerp(Vector3.new(1.5, 1.5, 1.5), 0.7)
591
                p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 4.9, 0.3), 0.7)
592
                p3m.Scale = p3m.Scale:lerp(Vector3.new(10, 10, 10), 0.7)
593
                p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -4, 0), 0.7)
594
                p4m.Scale = p4m.Scale:lerp(Vector3.new(0.1, 0.1, 0.1), 0.7)
595
                p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -5, 0), 0.7)
596
                p5m.Scale = p5m.Scale:lerp(Vector3.new(86, 25, 25), 0.7)
597
                p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -16.1, 0), 0.7)
598
                p6m.Scale = p6m.Scale:lerp(Vector3.new(26, 26, 26), 0.7)
599
                p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -24.2, 0), 0.7)
600
                p7m.Scale = p7m.Scale:lerp(Vector3.new(3.8, 3.8, 3.8), 0.7)
601
                p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -24.8, 0), 0.7)
602
              end
603
              sond.Pitch = 0.4
604
              sond:Play()
605
              game.Debris:AddItem(sond, 2)
606
              for _ = 1, 3 do
607
                swait()
608
                hmes.Scale = hmes.Scale:lerp(Vector3.new(18, 81, 18), 0.7)
609
                p1m.Scale = p1m.Scale:lerp(Vector3.new(22.5, 22.5, 22.5), 0.7)
610
                p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 9, 0), 0.7)
611
                p2m.Scale = p2m.Scale:lerp(Vector3.new(3.375, 3.375, 3.375), 0.7)
612
                p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 11.025, 0.6749999999999999), 0.7)
613
                p3m.Scale = p3m.Scale:lerp(Vector3.new(22.5, 22.5, 22.5), 0.7)
614
                p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -9, 0), 0.7)
615
                p4m.Scale = p4m.Scale:lerp(Vector3.new(0.225, 0.225, 0.225), 0.7)
616
                p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -11.25, 0), 0.7)
617
                p5m.Scale = p5m.Scale:lerp(Vector3.new(193.5, 56.25, 56.25), 0.7)
618
                p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -36.225, 0), 0.7)
619
                p6m.Scale = p6m.Scale:lerp(Vector3.new(58.5, 58.5, 58.5), 0.7)
620
                p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -54.449999999999996, 0), 0.7)
621
                p7m.Scale = p7m.Scale:lerp(Vector3.new(5.699999999999999, 8.549999999999999, 8.549999999999999), 0.7)
622
                p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -55.800000000000004, 0), 0.7)
623
              end
624
              for _ = 1, 5 do
625
                swait()
626
                hmes.Scale = hmes.Scale:lerp(Vector3.new(14, 63, 14), 0.7)
627
                p1m.Scale = p1m.Scale:lerp(Vector3.new(17.5, 17.5, 17.5), 0.7)
628
                p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 7, 0), 0.7)
629
                p2m.Scale = p2m.Scale:lerp(Vector3.new(2.625, 2.625, 2.625), 0.7)
630
                p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 8.575000000000001, 0.525), 0.7)
631
                p3m.Scale = p3m.Scale:lerp(Vector3.new(17.5, 17.5, 17.5), 0.7)
632
                p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -7, 0), 0.7)
633
                p4m.Scale = p4m.Scale:lerp(Vector3.new(0.17500000000000002, 0.17500000000000002, 0.17500000000000002), 0.7)
634
                p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -8.75, 0), 0.7)
635
                p5m.Scale = p5m.Scale:lerp(Vector3.new(150.5, 43.75, 43.75), 0.7)
636
                p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -28.175000000000004, 0), 0.7)
637
                p6m.Scale = p6m.Scale:lerp(Vector3.new(45.5, 45.5, 45.5), 0.7)
638
                p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -42.35, 0), 0.7)
639
                p7m.Scale = p7m.Scale:lerp(Vector3.new(6.6499999999999995, 6.6499999999999995, 6.6499999999999995), 0.7)
640
                p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -43.4, 0), 0.7)
641
              end
642
            end
643
            for _ = 1, 9 do
644
              swait()
645
              lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.5)
646
              lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.5)
647
              lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-20), rd(0), rd(-10)), 0.5)
648
              lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
649
              lerpz(LS, "C0", LSC0 * cf(0, 0.2, -0.2) * ang(rd(70), rd(-60), rd(-100)), 0.5)
650
              if dipperhat then
651
                dipperhat.Handle.HatAttachment.Rotation = dipperhat.Handle.HatAttachment.Rotation:lerp(dipperrot + Vector3.new(0, 0, 0), 0.3)
652
              end
653
              lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
654
              lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.5)
655
              lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
656
              lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.5)
657
              lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
658
            end
659
            for _ = 1, 9 do
660
              swait()
661
              lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.5)
662
              lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.5)
663
              lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-20), rd(0), rd(-10)), 0.5)
664
              lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
665
              lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(35), rd(-50), rd(-100)), 0.3)
666
              if dipperhat then
667
                dipperhat.Handle.HatAttachment.Rotation = dipperhat.Handle.HatAttachment.Rotation:lerp(dipperrot + Vector3.new(15, 0, 0), 0.3)
668
              end
669
              lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
670
              lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.5)
671
              lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
672
              lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.5)
673
              lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
674
            end
675
            for _ = 1, 30 do
676
              swait()
677
              lerpz(RJ, "C0", RJC0 * cf(1.1, 0.6, 0) * ang(rd(0), rd(0), rd(-120)), 0.2)
678
              lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.2)
679
              lerpz(RS, "C0", RSC0 * cf(0, 0.4, 0.2) * ang(rd(80), rd(-20), rd(80)), 0.2)
680
              lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
681
              lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(-20), rd(-60), rd(-80)), 0.2)
682
              lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
683
              lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.2)
684
              lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
685
              lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.2)
686
              lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
687
            end
688
            expa()
689
            for O = 1, 10 do
690
              swait()
691
              lerpz(RJ, "C0", RJC0 * cf(0, 0.3, 0) * ang(rd(0), rd(0), rd(60)), 0.001 + O * 0.01)
692
              lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.001 + O * 0.01)
693
              lerpz(RS, "C0", RSC0 * cf(0, 0.4, 0.2) * ang(rd(80), rd(-20), rd(80)), 0.001 + O * 0.01)
694
              lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01)
695
              lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(-20), rd(-60), rd(-80)), 0.001 + O * 0.01)
696
              lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01)
697
              lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.001 + O * 0.01)
698
              lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01)
699
              lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.001 + O * 0.01)
700
              lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01)
701
            end
702
            local whoooo = Instance.new("Sound")
703
            whoooo.Volume = 3
704
            whoooo.TimePosition = 0.15
705
            whoooo.Pitch = 0.5
706
            whoooo.SoundId = "rbxassetid://320557353"
707
            whoooo.Parent = pt5
708
            whoooo:Play()
709
            game.Debris:AddItem(whoooo, 2)
710
            for O = 1, 6 do
711
              swait()
712
              hito(pt5, 25, 40, 0.75, hrp.CFrame.rightVector * -100 + Vector3.new(0, 50, 0), Vector3.new(0, rd2(-25, 25), rd2(-160, 160)))
713
              lerpz(RJ, "C0", RJC0 * cf(0.9, -0.7, 0) * ang(rd(0), rd(0), rd(120)), 0.1 + O * 0.05)
714
              lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.1 + O * 0.05)
715
              lerpz(RS, "C0", RSC0 * cf(0, 0.4, 0.2) * ang(rd(80), rd(20), rd(20)), 0.1 + O * 0.05)
716
              lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05)
717
              lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(-20), rd(-60), rd(-80)), 0.1 + O * 0.05)
718
              lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05)
719
              lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.1 + O * 0.05)
720
              lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05)
721
              lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.1 + O * 0.05)
722
              lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05)
723
            end
724
            for O = 1, 13 do
725
              swait()
726
              hmes.Scale = hmes.Scale:lerp(Vector3.new(2, 9, 2), 0.05 + O * 0.075)
727
              p1m.Scale = p1m.Scale:lerp(Vector3.new(2.5, 2.5, 2.5), 0.05 + O * 0.075)
728
              p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 1, 0), 0.05 + O * 0.075)
729
              p2m.Scale = p2m.Scale:lerp(Vector3.new(0.375, 0.375, 0.375), 0.05 + O * 0.075)
730
              p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 1.225, 0.075), 0.05 + O * 0.075)
731
              p3m.Scale = p3m.Scale:lerp(Vector3.new(2.5, 2.5, 2.5), 0.05 + O * 0.075)
732
              p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0), 0.05 + O * 0.075)
733
              p4m.Scale = p4m.Scale:lerp(Vector3.new(0.025, 0.025, 0.025), 0.05 + O * 0.075)
734
              p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -1.25, 0), 0.05 + O * 0.075)
735
              p5m.Scale = p5m.Scale:lerp(Vector3.new(21.5, 6.25, 6.25), 0.05 + O * 0.075)
736
              p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -4.025, 0), 0.05 + O * 0.075)
737
              p6m.Scale = p6m.Scale:lerp(Vector3.new(6.5, 6.5, 6.5), 0.05 + O * 0.075)
738
              p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -6.05, 0), 0.05 + O * 0.075)
739
              p7m.Scale = p7m.Scale:lerp(Vector3.new(0.95, 0.95, 0.95), 0.05 + O * 0.075)
740
              p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -6.2, 0), 0.05 + O * 0.075)
741
              lerpz(RJ, "C0", RJC0 * cf(1.1, -0.8, 0) * ang(rd(0), rd(0), rd(150)), 0.05 + O * 0.075)
742
              lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.05 + O * 0.075)
743
              lerpz(RS, "C0", RSC0 * cf(0, 0.4, 0.2) * ang(rd(80), rd(30), rd(10)), 0.05 + O * 0.075)
744
              lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075)
745
              lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(20), rd(20), rd(-20)), 0.05 + O * 0.075)
746
              lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075)
747
              lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.05 + O * 0.075)
748
              lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075)
749
              lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.05 + O * 0.075)
750
              lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075)
751
            end
752
            if dipperhat then
753
              dipperhat.Handle.HatAttachment.Rotation = dipperrot
754
            end
755
            human.WalkSpeed = speed
756
            human:SetStateEnabled(3, true)
757
            activu = false
758
          end
759
          if keya == "q" then
760
            activu = true
761
            do
762
              local checkkey = true
763
              local keyingup = mouse.KeyUp:connect(function(xzx)
764
                if xzx == "q" then
765
                  checkkey = false
766
                end
767
              end)
768
              repeat
769
                for _ = 1, 2 do
770
                  swait()
771
                  lerpz(RJ, "C0", RJC0 * cf(0, 0.5, 0) * ang(rd(-20), rd(10), rd(-40)), 0.7)
772
                  lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.7)
773
                  lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(-20), rd(179)), 0.7)
774
                  lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
775
                  lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-20), rd(20), rd(30)), 0.7)
776
                  lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
777
                  lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7)
778
                  lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
779
                  lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-110)), 0.7)
780
                  lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
781
                end
782
                swingwoo:Play()
783
                for T = 1, 2 do
784
                  swait()
785
                  if T == 2 then
786
                    hito(pt5, 5, 4, 0.03, hrp.CFrame.lookVector * 10, Vector3.new(0, rd2(-2, 2), rd2(-10, 10)))
787
                  end
788
                  lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(60), rd(-10), rd(30)), 0.7)
789
                  lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
790
                  lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(20), rd(40)), 0.7)
791
                  lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
792
                  lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-70), rd(20), rd(30)), 0.7)
793
                  lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
794
                  lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(20), rd(-40), rd(80)), 0.7)
795
                  lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
796
                  lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(60)), 0.7)
797
                  lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
798
                end
799
                for _ = 1, 2 do
800
                  swait()
801
                  lerpz(RJ, "C0", RJC0 * cf(0, 0.5, 0) * ang(rd(-30), rd(20), rd(0)), 0.7)
802
                  lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.7)
803
                  lerpz(RS, "C0", RSC0 * cf(0, 0.5, 0) * ang(rd(60), rd(20), rd(179)), 0.7)
804
                  lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
805
                  lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-40), rd(20), rd(30)), 0.7)
806
                  lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
807
                  lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7)
808
                  lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
809
                  lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-30), rd(20), rd(35)), 0.7)
810
                  lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
811
                end
812
                swingwoo:Play()
813
                for T = 1, 2 do
814
                  swait()
815
                  if T == 2 then
816
                    hito(pt5, 5, 4, 0.03, hrp.CFrame.lookVector * 10, Vector3.new(0, rd2(-2, 2), rd2(-10, 10)))
817
                  end
818
                  lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(40), rd(40), rd(0)), 0.7)
819
                  lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.7)
820
                  lerpz(RS, "C0", RSC0 * cf(0, 0.5, 0) * ang(rd(60), rd(20), rd(30)), 0.7)
821
                  lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
822
                  lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-70), rd(20), rd(30)), 0.7)
823
                  lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
824
                  lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7)
825
                  lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
826
                  lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-30), rd(20), rd(-65)), 0.7)
827
                  lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
828
                end
829
              until not checkkey
830
              keyingup:Disconnect()
831
              activu = false
832
            end
833
          end
834
          if keya == "f" then
835
            activu = true
836
            do
837
              local speed = human.WalkSpeed
838
              human.WalkSpeed = 2
839
              human:SetStateEnabled(3, false)
840
              local checkkey = true
841
              local chargecounter = 0
842
              local keyingup = mouse.KeyUp:connect(function(xzx)
843
                if xzx == "f" then
844
                  checkkey = false
845
                end
846
              end)
847
              local firederp
848
              for _ = 1, 8 do
849
                swait()
850
                hwel.C0 = hwel.C0:lerp(ang(rd(65), rd(0), rd(0)) * cf(0, 1, 0), 0.6)
851
                lerpz(RJ, "C0", RJC0 * cf(0.5, 0.5, 0) * ang(rd(0), rd(0), rd(-70)), 0.5)
852
                lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(60)), 0.5)
853
                lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(70), rd(-10), rd(80)), 0.5)
854
                lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
855
                lerpz(LS, "C0", LSC0 * cf(-0.3, -0.1, -1) * ang(rd(-10), rd(-70), rd(-75)), 0.5)
856
                lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.5)
857
                lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(5)), 0.5)
858
                lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
859
                lerpz(LH, "C0", LHC0 * cf(0.5, 0, -0.4) * ang(rd(0), rd(80), rd(-5)), 0.5)
860
                lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(0)), 0.5)
861
              end
862
              repeat
863
                swait()
864
                chargecounter = chargecounter + 1
865
                lerpz(RS, "C0", RSC0 * cf(rd2(-5, 5) / 100, rd2(-5, 5) / 100, rd2(-5, 5) / 100) * ang(rd(rd2(65, 75)), rd(rd2(-15, 5)), rd(rd2(75, 85))), 0.05 + chargecounter * 0.019)
866
                lerpz(LS, "C0", LSC0 * cf(-0.3, -0.1, -1) * ang(rd(rd2(-15, -5)), rd(rd2(-75, -65)), rd(rd2(-80, -70))), 0.05 + chargecounter * 0.019)
867
                lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(rd2(-25, -15)), rd(0)), 0.05 + chargecounter * 0.019)
868
                if chargecounter > 15 and firederp == nil then
869
                  firederp = Instance.new("Fire")
870
                  firederp.Parent = pt5
871
                end
872
              until not checkkey or chargecounter > 50
873
              swingwoo:Play()
874
              for U = 1, 10 do
875
                swait()
876
                if U < 3 then
877
                  hito(pt5, 5, 10 + chargecounter / 10, 0.2, hrp.CFrame.lookVector * (80 + chargecounter * 3) + Vector3.new(0, 6 + 6 * (chargecounter / 5), 0), Vector3.new(0, rd2(-25, 25) * (chargecounter / 25), rd2(-80, 80) * (chargecounter / 25)))
878
                  if chargecounter > 15 then
879
                    tagexplode(pt5, 5, 0.65)
880
                  end
881
                end
882
                hwel.C0 = hwel.C0:lerp(ang(rd(135), rd(0), rd(0)) * cf(0, 1, 0), 0.6)
883
                lerpz(RJ, "C0", RJC0 * cf(0.5, -0.5, 0) * ang(rd(0), rd(0), rd(50)), 0.6)
884
                lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(-30)), 0.6)
885
                lerpz(RS, "C0", RSC0 * cf(0.75, 0.5, -0.5) * ang(rd(0), rd(60), rd(120)), 0.4)
886
                lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(100), rd(0)), 0.4)
887
                lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(20), rd(-125)), 0.4)
888
                lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.4)
889
                lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(5)), 0.6)
890
                lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
891
                lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(-10), rd(-6)), 0.6)
892
                lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(0)), 0.6)
893
              end
894
              if firederp then
895
                firederp:Destroy()
896
              end
897
              swait(10)
898
              hwel.C0 = ang(rd(90), rd(0), rd(0)) * cf(0, 1, 0)
899
              keyingup:Disconnect()
900
              human.WalkSpeed = speed
901
              human:SetStateEnabled(3, true)
902
              activu = false
903
            end
904
          end
905
        end)
906
      end
907
    elseif batting == true then
908
      batting = false
909
      clibat:Disconnect()
910
      spec:Disconnect()
911
      hrp.sweae:Destroy()
912
      local batmod = chr:FindFirstChild("bmodel")
913
      batmod.hnd.Weld:Destroy()
914
      batmod.PrimaryPart = batmod.hnd
915
      batmod:SetPrimaryPartCFrame(rarm.CFrame * ang(rd(-90), rd(0), rd(0)) * cf(0, 0, -1))
916
      for _, A in pairs(batmod:GetChildren()) do
917
        if A.ClassName == "Part" then
918
          A.CanCollide = true
919
          A.Anchored = false
920
        end
921
      end
922
      batmod.Parent = workspace
923
      game.Debris:AddItem(batmod, 8)
924
    end
925
  end
926
  local movin = false
927
  local cliham, hamspec
928
  function ham()
929
    if batting == false then
930
      batting = true
931
      do
932
        local bmod = Instance.new("Model")
933
        bmod.Name = "bmodel"
934
        bmod.Parent = chr
935
        local makemotor = function(parent, p0, p1, c0, c1)
936
          local wel = Instance.new("Motor6D")
937
          wel.Part0 = p0
938
          wel.Part1 = p1
939
          wel.C0 = c0
940
          if c1 ~= nil then
941
            wel.C1 = c1
942
          end
943
          wel.Parent = parent
944
          return wel
945
        end
946
        local hnd = makepart("Br. yellowish green", "hnd", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
947
        hnd.Anchored = true
948
        local hmes = makemesh("Head", Vector3.new(5, 30, 5), nil, hnd)
949
        movin = true
950
        hnd.CFrame = hrp.CFrame
951
        coroutine.resume(coroutine.create(function()
952
          while hnd.Anchored == true do
953
            swait()
954
            if movin then
955
              hnd.CFrame = hnd.CFrame:lerp(hrp.CFrame * ang(rd(40), rd(0), rd(0)) * cf(0, 11, 0), 0.65)
956
            end
957
          end
958
        end))
959
        local pt1 = makepart("Br. yellowish green", "pt1", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
960
        local p1m = makemesh("Head", Vector3.new(6, 5.5, 5.5), nil, pt1)
961
        local p1w = makemotor(pt1, pt1, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, 3, 0), nil)
962
        local pt2 = makepart("Br. yellowish green", "pt2", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
963
        local p2m = makemesh("Head", Vector3.new(6, 5.5, 5.5), nil, pt2)
964
        local p2w = makemotor(pt2, pt2, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -3, 0), nil)
965
        local pt3 = makepart("Bright yellow", "pt3", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
966
        local p3m = makemesh("Head", Vector3.new(6.5, 6.5, 6.5), nil, pt3)
967
        local p3w = makemotor(pt3, pt3, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, 3.75, 0), nil)
968
        local pt4 = makepart("Br. yellowish green", "pt4", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
969
        local p4m = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxassetid://250640098", pt4)
970
        p4m.TextureId = "rbxassetid://250639536"
971
        local p4w = makemotor(pt4, pt4, hnd, ang(rd(180), rd(180), rd(0)) * cf(0, 4.25, 0.25), nil)
972
        local pt5 = makepart("Bright blue", "pt5", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
973
        local p5m = makemesh("Head", Vector3.new(5, 90, 4), nil, pt5)
974
        local p5w = makemotor(pt5, pt5, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -12, 0), nil)
975
        local pt6 = makepart("Bright blue", "pt6", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
976
        local p6m = makemesh("FileMesh", Vector3.new(0.16, 0.4, 0.16), "rbxassetid://703458158", pt6)
977
        local p6w = makemotor(pt6, pt6, hnd, ang(rd(180), rd(0), rd(0)) * cf(0, -16, 0), nil)
978
        local pt7 = makepart("Bright yellow", "pt7", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
979
        local p7m = makemesh("Head", Vector3.new(75, 75, 75), nil, pt7)
980
        local p7w = makemotor(pt7, pt7, hnd, ang(rd(0), rd(90), rd(0)) * cf(0, -27, 0), nil)
981
        local hdec1 = Instance.new("Decal")
982
        hdec1.Texture = "rbxasset://textures/face.png"
983
        hdec1.Face = "Front"
984
        hdec1.Parent = pt7
985
        local pt8 = makepart("Bright yellow", "pt8", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
986
        local p8m = makemesh("Head", Vector3.new(75, 75, 75), nil, pt8)
987
        local p8w = makemotor(pt8, pt8, hnd, ang(rd(0), rd(-90), rd(0)) * cf(0, -27, 0), nil)
988
        local hdec2 = Instance.new("Decal")
989
        hdec2.Texture = "rbxasset://textures/face.png"
990
        hdec2.Face = "Front"
991
        hdec2.Parent = pt8
992
        local pt9 = makepart("Bright yellow", "pt9", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
993
        local p9m = makemesh("FileMesh", Vector3.new(12, 11, 11), "rbxassetid://272942659", pt9)
994
        local p9w = makemotor(pt9, pt9, hnd, ang(rd(0), rd(90), rd(0)) * cf(0, -30, 0), nil)
995
        p9m.TextureId = "rbxassetid://272942750"
996
        local pt10 = makepart("Bright yellow", "pt10", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
997
        local p10m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt10)
998
        local p10w = makemotor(pt10, pt10, pt7, ang(rd(0), rd(0), rd(90)) * cf(11, 0, 0), nil)
999
        local hdec3 = Instance.new("Decal")
1000
        hdec3.Texture = "rbxasset://textures/face.png"
1001
        hdec3.Face = "Front"
1002
        hdec3.Parent = pt10
1003
        local pt11 = makepart("Bright yellow", "pt11", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
1004
        local p11m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt11)
1005
        local p11w = makemotor(pt11, pt11, pt7, ang(rd(0), rd(180), rd(90)) * cf(11, 0, 0), nil)
1006
        local hdec4 = Instance.new("Decal")
1007
        hdec4.Texture = "rbxasset://textures/face.png"
1008
        hdec4.Face = "Front"
1009
        hdec4.Parent = pt11
1010
        local pt12 = makepart("Bright yellow", "pt12", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
1011
        local p12m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt12)
1012
        local p12w = makemotor(pt12, pt12, pt7, ang(rd(0), rd(0), rd(-90)) * cf(-11, 0, 0), nil)
1013
        local hdec5 = Instance.new("Decal")
1014
        hdec5.Texture = "rbxasset://textures/face.png"
1015
        hdec5.Face = "Front"
1016
        hdec5.Parent = pt12
1017
        local pt13 = makepart("Bright yellow", "pt13", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
1018
        local p13m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt13)
1019
        local p13w = makemotor(pt13, pt13, pt7, ang(rd(0), rd(180), rd(-90)) * cf(-11, 0, 0), nil)
1020
        local hdec6 = Instance.new("Decal")
1021
        hdec6.Texture = "rbxasset://textures/face.png"
1022
        hdec6.Face = "Front"
1023
        hdec6.Parent = pt13
1024
        cliham = tool.Activated:connect(function()
1025
          if selected == false or activu == true or ragged == true then
1026
            return
1027
          end
1028
          activu = true
1029
          movin = false
1030
          for B = 1, 20 do
1031
            swait()
1032
            lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.4)
1033
            lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(8), rd(0), rd(0)), 0.4)
1034
            lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-15), rd(-5), rd(170)), 0.4)
1035
            lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
1036
            lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-10), rd(10)), 0.4)
1037
            lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
1038
            lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(-10)), 0.4)
1039
            lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
1040
            lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(10), rd(10)), 0.4)
1041
            lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
1042
            hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 0.1 + B * 0.045)
1043
          end
1044
          for B = 1, 30 do
1045
            swait()
1046
            lerpz(RJ, "C0", RJC0 * cf(0, 0.8, 0) * ang(rd(-25), rd(0), rd(-50)), 0.1 + B / 80)
1047
            lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-18), rd(0), rd(40)), 0.1 + B / 80)
1048
            lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-30), rd(-5), rd(160)), 0.1 + B / 80)
1049
            lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80)
1050
            lerpz(LS, "C0", LSC0 * cf(-0.8, 0, -1) * ang(rd(-60), rd(-20), rd(-150)), 0.1 + B / 80)
1051
            lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80)
1052
            lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-20), rd(-10)), 0.1 + B / 80)
1053
            lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80)
1054
            lerpz(LH, "C0", LHC0 * cf(0.5, 0, -0.4) * ang(rd(-5), rd(60), rd(-110)), 0.1 + B / 80)
1055
            lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80)
1056
            hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 1)
1057
          end
1058
          for B = 1, 7 do
1059
            swait()
1060
            lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(40)), 0.015 + B / 15)
1061
            lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(9), rd(0), rd(-15)), 0.015 + B / 15)
1062
            lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(-50), rd(100)), 0.015 + B / 15)
1063
            lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15)
1064
            lerpz(LS, "C0", LSC0 * cf(-0.8, 0, -1) * ang(rd(-60), rd(-25), rd(-90)), 0.015 + B / 15)
1065
            lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15)
1066
            lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-20), rd(10)), 0.015 + B / 15)
1067
            lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15)
1068
            lerpz(LH, "C0", LHC0 * cf(0.1, 0, -0.1) * ang(rd(-5), rd(20), rd(-20)), 0.015 + B / 15)
1069
            lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15)
1070
            hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 1)
1071
          end
1072
          for B = 1, 4 do
1073
            swait()
1074
            lerpz(RJ, "C0", RJC0 * cf(0, -0.8, 0) * ang(rd(70), rd(0), rd(40)), 0.38 + B * 0.1)
1075
            lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(9), rd(0), rd(-15)), 0.38 + B * 0.1)
1076
            lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(-40), rd(100)), 0.38 + B * 0.1)
1077
            lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1)
1078
            lerpz(LS, "C0", LSC0 * cf(-0.8, 0, -1) * ang(rd(-60), rd(-25), rd(-90)), 0.38 + B * 0.1)
1079
            lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1)
1080
            lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-20), rd(60)), 0.38 + B * 0.1)
1081
            lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1)
1082
            lerpz(LH, "C0", LHC0 * cf(0.1, 0, -0.1) * ang(rd(-5), rd(20), rd(70)), 0.38 + B * 0.1)
1083
            lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1)
1084
            hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 1)
1085
          end
1086
          swait(15)
1087
          movin = true
1088
          activu = false
1089
        end)
1090
      end
1091
    elseif batting == true then
1092
      batting = false
1093
      cliham:Disconnect()
1094
      local badevz = chr:FindFirstChild("bmodel")
1095
      badevz.PrimaryPart = badevz.hnd
1096
      for _, A in pairs(badevz:GetChildren()) do
1097
        if A.ClassName == "Part" then
1098
          A.CanCollide = true
1099
          A.Anchored = false
1100
        end
1101
      end
1102
      movin = false
1103
      badevz.Parent = workspace
1104
      badevz:SetPrimaryPartCFrame(hrp.CFrame * ang(rd(40), rd(0), rd(0)) * cf(0, -11, 0))
1105
      game.Debris:AddItem(badevz, 8)
1106
    end
1107
  end
1108
  local ehhh = false
1109
  local ymmu, kabomobepo
1110
  local memedonlist = {}
1111
  local noobcharge = 0
1112
  function nommy()
1113
    if selected == false or activu == true then
1114
      return
1115
    end
1116
    if batting == false then
1117
      batting = true
1118
      do
1119
        local bmod = Instance.new("Model")
1120
        bmod.Name = "bmodel"
1121
        bmod.Parent = chr
1122
        local hnd = makepart("Br. yellowish green", "hnd", 0, 1, "SmoothPlastic", bmod, rarm.CFrame)
1123
        local hmes = makemesh("Head", Vector3.new(1, 1, 1), nil, hnd)
1124
        local hwel = makeweld(hnd, hnd, rarm, ang(rd(90), rd(0), rd(0)) * cf(0, 1, 0), nil)
1125
        local pt1 = makepart("Br. yellowish green", "pt1", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
1126
        local p1m = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxasset://fonts/leftleg.mesh", pt1)
1127
        local p1w = makeweld(pt1, pt1, hnd, ang(rd(0), rd(0), rd(0)) * cf(0.5, -1, 0), nil)
1128
        local pt2 = makepart("Br. yellowish green", "pt2", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
1129
        local p2m = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxasset://fonts/rightleg.mesh", pt2)
1130
        local p2w = makeweld(pt2, pt2, hnd, ang(rd(0), rd(0), rd(0)) * cf(-0.5, -1, 0), nil)
1131
        local pt3 = makepart("Bright blue", "pt3", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
1132
        local p3m = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxasset://fonts/torso.mesh", pt3)
1133
        local p3w = makeweld(pt3, pt3, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -3, 0), nil)
1134
        local pt4 = makepart("Bright yellow", "pt4", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
1135
        local p4m = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxasset://fonts/rightarm.mesh", pt4)
1136
        local p4w = makeweld(pt4, pt4, hnd, ang(rd(0), rd(0), rd(0)) * cf(-1.5, -3, 0), nil)
1137
        local pt5 = makepart("Bright yellow", "pt5", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
1138
        local p5m = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxasset://fonts/leftarm.mesh", pt5)
1139
        local p5w = makeweld(pt5, pt5, hnd, ang(rd(0), rd(0), rd(0)) * cf(1.5, -3, 0), nil)
1140
        local pt6 = makepart("Bright yellow", "pt6", 0, 1, "SmoothPlastic", bmod, rarm.CFrame)
1141
        local p6m = makemesh("Brick", Vector3.new(5.5, 5.5, 5.5), nil, pt6)
1142
        local p6w = makeweld(pt6, pt6, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -4.5, 0), nil)
1143
        local pt7 = makepart("Bright yellow", "pt7", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
1144
        local p7m = makemesh("Brick", Vector3.new(5.5, 5.5, 1), nil, pt7)
1145
        local p7w = makeweld(pt7, pt7, pt6, ang(rd(0), rd(0), rd(0)) * cf(0, 0, -0.425), nil)
1146
        local pt8 = makepart("Bright yellow", "pt8", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
1147
        local p8m = makemesh("Brick", Vector3.new(5.5, 2.5, 4.25), nil, pt8)
1148
        local p8w = makeweld(pt8, pt8, pt6, ang(rd(0), rd(0), rd(0)) * cf(0, -0.3, 0.1), nil)
1149
        local pt9 = makepart("Bright yellow", "pt9", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
1150
        local p9m = makemesh("Brick", Vector3.new(5.5, 0.5, 4.25), nil, pt9)
1151
        local p9w = makeweld(pt9, pt9, pt6, ang(rd(0), rd(0), rd(0)) * cf(0, 0.5, 0.1), nil)
1152
        local pt10 = makepart("Bright yellow", "pt10", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
1153
        local p10m = makemesh("Brick", Vector3.new(2.75, 2.5, 4.25), nil, pt10)
1154
        local p10w = makeweld(pt10, pt10, pt6, ang(rd(0), rd(0), rd(0)) * cf(-0.275, 0.2, 0.1), nil)
1155
        local pt11 = makepart("Bright yellow", "pt11", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
1156
        local p11m = makemesh("Brick", Vector3.new(2.75, 2.5, 4.25), nil, pt11)
1157
        local p11w = makeweld(pt11, pt11, pt6, ang(rd(0), rd(0), rd(0)) * cf(0.275, 0.2, 0.1), nil)
1158
        local pt12 = makepart("Really black", "pt12", 0, 0.1, "SmoothPlastic", bmod, rarm.CFrame)
1159
        local p12m = makemesh("Brick", Vector3.new(4.25, 3.25, 2.5), nil, pt12)
1160
        local p12w = makeweld(pt12, pt12, pt6, ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, -0.25), nil)
1161
        local pt13 = makepart("Really black", "pt13", 0, 0.2, "SmoothPlastic", bmod, rarm.CFrame)
1162
        local p13m = makemesh("Brick", Vector3.new(4.25, 3.25, 0.75), nil, pt13)
1163
        local p13w = makeweld(pt13, pt13, pt6, ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, 0.05), nil)
1164
        local pt14 = makepart("Really black", "pt14", 0, 0.3, "SmoothPlastic", bmod, rarm.CFrame)
1165
        local p14m = makemesh("Brick", Vector3.new(4.25, 3.25, 0.75), nil, pt14)
1166
        local p14w = makeweld(pt14, pt14, pt6, ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, 0.2), nil)
1167
        local pt15 = makepart("Really black", "pt15", 0, 0.4, "SmoothPlastic", bmod, rarm.CFrame)
1168
        local p15m = makemesh("Brick", Vector3.new(4.25, 3.25, 0.75), nil, pt15)
1169
        local p15w = makeweld(pt15, pt15, pt6, ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, 0.35), nil)
1170
        local pt16 = makepart("Bright yellow", "pt16", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
1171
        local p16m = makemesh("Cylinder", Vector3.new(5.244999999999999, 0, 0), nil, pt16)
1172
        local p16w = makeweld(pt16, pt16, pt6, ang(rd(0), rd(90), rd(0)) * cf(0.5, 0.1, 0), nil)
1173
        local pt17 = makepart("Bright yellow", "pt17", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
1174
        local p17m = makemesh("Cylinder", Vector3.new(5.244999999999999, 0, 0), nil, pt17)
1175
        local p17w = makeweld(pt17, pt17, pt6, ang(rd(0), rd(90), rd(0)) * cf(-0.5, 0.1, 0), nil)
1176
        local pt420 = makepart("Bright yellow", "pt420", 0, 1, "SmoothPlastic", bmod, rarm.CFrame)
1177
        local p420m = makemesh("Brick", Vector3.new(5.5, 5.25, 0), nil, pt420)
1178
        local p420w = makeweld(pt420, pt420, pt6, ang(rd(0), rd(0), rd(0)) * cf(0, 0, 0.525), nil)
1179
        local hd1 = Instance.new("Decal")
1180
        hd1.Name = "face1"
1181
        hd1.Texture = "rbxasset://textures/face.png"
1182
        hd1.Face = "Front"
1183
        hd1.Transparency = 0
1184
        hd1.Parent = pt420
1185
        local hd2 = Instance.new("Decal")
1186
        hd2.Name = "face2"
1187
        hd2.Texture = "rbxassetid://14175189"
1188
        hd2.Face = "Front"
1189
        hd2.Transparency = 1
1190
        hd2.Parent = pt420
1191
        local souno1 = Instance.new("Sound")
1192
        souno1.SoundId = "rbxassetid://189505649"
1193
        souno1.Volume = 1.5
1194
        souno1.Parent = hnd
1195
        local souno2 = Instance.new("Sound")
1196
        souno2.SoundId = "rbxassetid://189652112"
1197
        souno2.Volume = 1.5
1198
        souno2.Parent = hnd
1199
        local souno3 = Instance.new("Sound")
1200
        souno3.SoundId = "rbxassetid://90869127"
1201
        souno3.Pitch = 1.15
1202
        souno3.Volume = 1.5
1203
        souno3.Parent = hnd
1204
        local haseaten = false
1205
        local function squarehito(partoz)
1206
          for _, huh in pairs(workspace:GetChildren()) do
1207
            if huh:IsA("BasePart") then
1208
              local objs = partoz.CFrame:pointToObjectSpace(huh.Position)
1209
              if huh:GetMass() < 1750 and objs.Z < 3 and objs.Z > -1 and objs.X < 6 and objs.X > -6 and math.abs(objs.Y) < 14 then
1210
                if math.ceil(huh:GetMass() * 1.5) < 25 then
1211
                  noobcharge = noobcharge + math.ceil(huh:GetMass() * 3)
1212
                else
1213
                  noobcharge = noobcharge + 25
1214
                end
1215
                huh:Destroy()
1216
                haseaten = true
1217
              end
1218
            elseif huh:IsA("Model") and huh ~= chr then
1219
              for _, WOP in pairs(huh:GetChildren()) do
1220
                if WOP:IsA("BasePart") then
1221
                  local objs = partoz.CFrame:pointToObjectSpace(WOP.Position)
1222
                  if WOP:GetMass() < 1750 and objs.Z < 3 and objs.Z > -1 and objs.X < 6 and objs.X > -6 and math.abs(objs.Y) < 14 then
1223
                    if math.ceil(WOP:GetMass() * 1.5) < 25 then
1224
                      noobcharge = noobcharge + math.ceil(WOP:GetMass() * 3)
1225
                    else
1226
                      noobcharge = noobcharge + 25
1227
                    end
1228
                    WOP:Destroy()
1229
                    haseaten = true
1230
                  end
1231
                end
1232
              end
1233
            end
1234
          end
1235
        end
1236
        local asplohito = function(poso, magn, dmg, debtim, bodyfdire, bodyrot)
1237
          for _, guy in pairs(workspace:GetChildren()) do
1238
            if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and magn > (guy:FindFirstChild("HumanoidRootPart").Position - poso).magnitude and guy:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then
1239
              do
1240
                local humz = guy:FindFirstChild("Humanoid")
1241
                local horp = guy:FindFirstChild("HumanoidRootPart")
1242
                humz.Health = humz.Health - humz.MaxHealth / 100 * dmg
1243
                humz:SetStateEnabled(16, true)
1244
                delay(debtim, function()
1245
                  humz:SetStateEnabled(16, true)
1246
                end)
1247
                local db = Instance.new("StringValue")
1248
                db.Name = "alabo"
1249
                db.Parent = horp
1250
                delay(debtim, function()
1251
                  db:Destroy()
1252
                end)
1253
                local damageind = Instance.new("Model")
1254
                damageind.Name = dmg
1255
                damageind.Parent = workspace
1256
                game.Debris:AddItem(damageind, 0.5 + dmg / 75)
1257
                local awawaa = Instance.new("Humanoid")
1258
                awawaa.MaxHealth = 0
1259
                awawaa.Parent = damageind
1260
                local dhed = Instance.new("Part")
1261
                dhed.Name = "Head"
1262
                dhed.Locked = true
1263
                dhed.Size = Vector3.new(0.2, 0.2, 0.2)
1264
                dhed.Position = horp.Position
1265
                dhed.BrickColor = BrickColor.new("Bright red")
1266
                dhed.CanCollide = false
1267
                dhed.Parent = damageind
1268
                local flo = Instance.new("BodyPosition")
1269
                flo.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
1270
                flo.P = 20000
1271
                flo.D = 300
1272
                flo.Position = dhed.Position + Vector3.new(0, 5, 0)
1273
                flo.Parent = dhed
1274
                local dasdada = Instance.new("CylinderMesh")
1275
                dasdada.Parent = dhed
1276
                coroutine.resume(coroutine.create(function()
1277
                  while dasdada do
1278
                    swait()
1279
                    dasdada.Scale = dasdada.Scale:lerp(Vector3.new(2.5 + dmg / 10, 1.25 + dmg / 35, 2.5 + dmg / 10), 0.4)
1280
                  end
1281
                end))
1282
                if bodyfdire then
1283
                  local boopyve = Instance.new("BodyVelocity")
1284
                  boopyve.MaxForce = Vector3.new(9999999999999, 9999999999999, 9999999999999)
1285
                  boopyve.P = 9999999999
1286
                  boopyve.Velocity = bodyfdire
1287
                  boopyve.Parent = horp
1288
                  game.Debris:AddItem(boopyve, debtim)
1289
                end
1290
                if bodyrot then
1291
                  local boopyro = Instance.new("BodyAngularVelocity")
1292
                  boopyro.MaxTorque = Vector3.new(999999, 999999, 999999)
1293
                  boopyro.P = math.huge
1294
                  boopyro.AngularVelocity = bodyrot
1295
                  boopyro.Parent = horp
1296
                  game.Debris:AddItem(boopyro, debtim)
1297
                end
1298
              end
1299
            end
1300
          end
1301
        end
1302
        local awawarafasa = false
1303
        local customactive = false
1304
        ymmu = tool.Activated:connect(function()
1305
          if activu == true or customactive == true or ragged == true then
1306
            return
1307
          end
1308
          customactive = true
1309
          awawarafasa = true
1310
          coroutine.resume(coroutine.create(function()
1311
            tool.Deactivated:wait()
1312
            awawarafasa = false
1313
          end))
1314
          for _ = 1, 5 do
1315
            wait()
1316
            lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(50)), 0.25)
1317
            hwel.C0 = hwel.C0:lerp(ang(rd(80), rd(0), rd(0)) * cf(0, 1, 0), 0.25)
1318
          end
1319
          hd1.Transparency = 1
1320
          hd2.Transparency = 0
1321
          local chargecountaPOOOOO = 0
1322
          if awawarafasa then
1323
            souno3.TimePosition = 0.15
1324
            souno3:Play()
1325
            local oz = 20
1326
            local dz = 10
1327
            local az = oz / 6
1328
            repeat
1329
              wait()
1330
              if chargecountaPOOOOO < 10 then
1331
                chargecountaPOOOOO = chargecountaPOOOOO + 1
1332
              end
1333
              lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(190)), 0.5)
1334
              hwel.C0 = hwel.C0:lerp(ang(rd(160), rd(0), rd(0)) * cf(0, 1, 0), 0.45)
1335
              p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -4.5 * az, 0), 0.45)
1336
              p7m.Scale = p7m.Scale:lerp(Vector3.new(5.5 * dz, 5.5 * oz, 1), 0.45)
1337
              p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0, -0.425), 0.45)
1338
              p8m.Scale = p8m.Scale:lerp(Vector3.new(5.5 * dz, 0.5 * oz, 4.25), 0.45)
1339
              p8w.C0 = p8w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -0.5 * oz, 0.1), 0.45)
1340
              p9m.Scale = p9m.Scale:lerp(Vector3.new(5.5 * dz, 0.125 * oz, 4.25), 0.45)
1341
              p9w.C0 = p9w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.5375 * oz, 0.1), 0.45)
1342
              p10m.Scale = p10m.Scale:lerp(Vector3.new(2.5, 5 * oz, 4.25), 0.45)
1343
              p10w.C0 = p10w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(-0.2625 * oz, 0.5, 0.1), 0.45)
1344
              p11m.Scale = p11m.Scale:lerp(Vector3.new(2.5, 5 * oz, 4.25), 0.45)
1345
              p11w.C0 = p11w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0.2625 * oz, 0.5, 0.1), 0.45)
1346
              p12m.Scale = p12m.Scale:lerp(Vector3.new(5 * dz, 5.25 * oz, 2.5), 0.45)
1347
              p12w.C0 = p12w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, -0.25), 0.45)
1348
              p13m.Scale = p13m.Scale:lerp(Vector3.new(5 * dz, 5.25 * oz, 0.75), 0.45)
1349
              p13w.C0 = p13w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, 0.05), 0.45)
1350
              p14m.Scale = p14m.Scale:lerp(Vector3.new(5 * dz, 5.25 * oz, 0.75), 0.45)
1351
              p14w.C0 = p14w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, 0.2), 0.45)
1352
              p15m.Scale = p15m.Scale:lerp(Vector3.new(5 * dz, 5.25 * oz, 0.75), 0.45)
1353
              p15w.C0 = p15w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, 0.35), 0.45)
1354
              p16m.Scale = p16m.Scale:lerp(Vector3.new(5.244999999999999, 0, 0), 0.45)
1355
              p16w.C0 = p16w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0.5, 0.1, 0), 0.45)
1356
              p17m.Scale = p17m.Scale:lerp(Vector3.new(5.244999999999999, 0, 0), 0.45)
1357
              p17w.C0 = p17w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(-0.5, 0.1, 0), 0.45)
1358
              p420m.Scale = p420m.Scale:lerp(Vector3.new(5.5 * dz, 5.25 * dz, 0), 0.45)
1359
              p420w.C0 = p420w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -0.4 * oz, 0.525), 0.45)
1360
            until not awawarafasa
1361
          end
1362
          if chargecountaPOOOOO > 7 then
1363
            activu = true
1364
            souno1:Play()
1365
            local RIDLEYDIDDLY = hrp.Velocity
1366
            local AWSHOOTMYPOO = hrp.Position
1367
            hrp.Velocity = Vector3.new(0, 0, 0)
1368
            local BAP = Instance.new("BodyPosition")
1369
            BAP.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
1370
            BAP.D = 500
1371
            BAP.P = 5000
1372
            BAP.Position = AWSHOOTMYPOO
1373
            BAP.Parent = hrp
1374
            game.Debris:AddItem(BAP, 8)
1375
            local HWOWH = Instance.new("BodyAngularVelocity")
1376
            HWOWH.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
1377
            HWOWH.AngularVelocity = Vector3.new(0, 0, 0)
1378
            HWOWH.P = 2000
1379
            HWOWH.Parent = hrp
1380
            game.Debris:AddItem(HWOWH, 8)
1381
            for _ = 1, 5 do
1382
              wait()
1383
              squarehito(pt7)
1384
              lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(50)), 0.6)
1385
              hwel.C0 = hwel.C0:lerp(ang(rd(155), rd(0), rd(0)) * cf(0, 1, 0), 0.6)
1386
            end
1387
            if haseaten == true then
1388
              swait(5)
1389
              hd1.Transparency = 0
1390
              hd2.Transparency = 1
1391
              souno2:Play()
1392
              for _ = 1, 5 do
1393
                for _ = 1, 5 do
1394
                  wait()
1395
                  lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3)
1396
                  hwel.C0 = hwel.C0:lerp(ang(rd(90), rd(0), rd(0)) * cf(0, 1, 0), 0.3)
1397
                  p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -4.5, 0), 0.45)
1398
                  p7m.Scale = p7m.Scale:lerp(Vector3.new(5.5, 4.125, 1), 0.45)
1399
                  p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.125, -0.425), 0.45)
1400
                  p8m.Scale = p8m.Scale:lerp(Vector3.new(5.5, 1.875, 4.25), 0.45)
1401
                  p8w.C0 = p8w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -0.1, 0.1), 0.45)
1402
                  p9m.Scale = p9m.Scale:lerp(Vector3.new(5.5, 0.5, 4.25), 0.45)
1403
                  p9w.C0 = p9w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.5, 0.1), 0.45)
1404
                  p10m.Scale = p10m.Scale:lerp(Vector3.new(2.75, 1.875, 4.25), 0.45)
1405
                  p10w.C0 = p10w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(-0.275, 0.275, 0.1), 0.45)
1406
                  p11m.Scale = p11m.Scale:lerp(Vector3.new(2.75, 1.875, 4.25), 0.45)
1407
                  p11w.C0 = p11w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0.275, 0.275, 0.1), 0.45)
1408
                  p12m.Scale = p12m.Scale:lerp(Vector3.new(4.25, 3.25, 2.5), 0.45)
1409
                  p12w.C0 = p12w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, -0.25), 0.45)
1410
                  p13m.Scale = p13m.Scale:lerp(Vector3.new(4.25, 3.25, 0.75), 0.45)
1411
                  p13w.C0 = p13w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, 0.05), 0.45)
1412
                  p14m.Scale = p14m.Scale:lerp(Vector3.new(4.25, 3.25, 0.75), 0.45)
1413
                  p14w.C0 = p14w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, 0.2), 0.45)
1414
                  p15m.Scale = p15m.Scale:lerp(Vector3.new(4.25, 3.25, 0.75), 0.45)
1415
                  p15w.C0 = p15w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, 0.35), 0.45)
1416
                  p16m.Scale = p16m.Scale:lerp(Vector3.new(5.244999999999999, 5, 5), 0.45)
1417
                  p16w.C0 = p16w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0.6, 0.1, 0), 0.45)
1418
                  p17m.Scale = p17m.Scale:lerp(Vector3.new(5.244999999999999, 5, 5), 0.45)
1419
                  p17w.C0 = p17w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(-0.6, 0.1, 0), 0.45)
1420
                  p420m.Scale = p420m.Scale:lerp(Vector3.new(5.5, 5.25, 0), 0.45)
1421
                  p420w.C0 = p420w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.15, 0.525), 0.45)
1422
                end
1423
                for _ = 1, 5 do
1424
                  wait()
1425
                  lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3)
1426
                  hwel.C0 = hwel.C0:lerp(ang(rd(90), rd(0), rd(0)) * cf(0, 1, 0), 0.3)
1427
                  p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -4.5, 0), 0.45)
1428
                  p7m.Scale = p7m.Scale:lerp(Vector3.new(5.5, 5.5, 1), 0.45)
1429
                  p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0, -0.425), 0.45)
1430
                  p8m.Scale = p8m.Scale:lerp(Vector3.new(5.5, 2.5, 4.25), 0.45)
1431
                  p8w.C0 = p8w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -0.3, 0.1), 0.45)
1432
                  p9m.Scale = p9m.Scale:lerp(Vector3.new(5.5, 0.5, 4.25), 0.45)
1433
                  p9w.C0 = p9w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.5, 0.1), 0.45)
1434
                  p10m.Scale = p10m.Scale:lerp(Vector3.new(2.75, 2.5, 4.25), 0.45)
1435
                  p10w.C0 = p10w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(-0.275, 0.2, 0.1), 0.45)
1436
                  p11m.Scale = p11m.Scale:lerp(Vector3.new(2.75, 2.5, 4.25), 0.45)
1437
                  p11w.C0 = p11w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0.275, 0.2, 0.1), 0.45)
1438
                  p12m.Scale = p12m.Scale:lerp(Vector3.new(4.25, 3.25, 2.5), 0.45)
1439
                  p12w.C0 = p12w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, -0.25), 0.45)
1440
                  p13m.Scale = p13m.Scale:lerp(Vector3.new(4.25, 3.25, 0.75), 0.45)
1441
                  p13w.C0 = p13w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, 0.05), 0.45)
1442
                  p14m.Scale = p14m.Scale:lerp(Vector3.new(4.25, 3.25, 0.75), 0.45)
1443
                  p14w.C0 = p14w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, 0.2), 0.45)
1444
                  p15m.Scale = p15m.Scale:lerp(Vector3.new(4.25, 3.25, 0.75), 0.45)
1445
                  p15w.C0 = p15w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, 0.35), 0.45)
1446
                  p16m.Scale = p16m.Scale:lerp(Vector3.new(5.244999999999999, 1.75, 1.75), 0.45)
1447
                  p16w.C0 = p16w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0.5, 0.15, 0), 0.45)
1448
                  p17m.Scale = p17m.Scale:lerp(Vector3.new(5.244999999999999, 1.75, 1.75), 0.45)
1449
                  p17w.C0 = p17w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(-0.5, 0.15, 0), 0.45)
1450
                  p420m.Scale = p420m.Scale:lerp(Vector3.new(5.5, 5.25, 0), 0.45)
1451
                  p420w.C0 = p420w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0, 0.525), 0.45)
1452
                end
1453
              end
1454
              print(noobcharge)
1455
              haseaten = false
1456
            else
1457
              swait(10)
1458
            end
1459
            BAP:Destroy()
1460
            HWOWH:Destroy()
1461
            hrp.Velocity = RIDLEYDIDDLY
1462
            activu = false
1463
          end
1464
          hd1.Transparency = 0
1465
          hd2.Transparency = 1
1466
          customactive = false
1467
        end)
1468
        kabomobepo = mouse.KeyDown:connect(function(thekeyyyy)
1469
          if activu == true or customactive == true or ragged == true or noobcharge < 100 or thekeyyyy ~= "f" then
1470
            return
1471
          end
1472
          noobcharge = 0
1473
          batting = false
1474
          ymmu:Disconnect()
1475
          ymmu = nil
1476
          kabomobepo:Disconnect()
1477
          kabomobepo = nil
1478
          local taggedpos = mouse.Hit.p
1479
          local badevz = chr:FindFirstChild("bmodel")
1480
          badevz.PrimaryPart = badevz.hnd
1481
          if badevz.hnd:FindFirstChildOfClass("Weld") then
1482
            badevz.hnd:FindFirstChildOfClass("Weld"):Destroy()
1483
          end
1484
          badevz.Parent = workspace
1485
          badevz:SetPrimaryPartCFrame(rarm.CFrame * ang(rd(-90), rd(0), rd(0)) * cf(0, 0, -1))
1486
          game.Debris:AddItem(badevz, 40)
1487
          local bodyrot = Instance.new("BodyAngularVelocity")
1488
          bodyrot.MaxTorque = Vector3.new(9999999999999, 9999999999999, 9999999999999)
1489
          bodyrot.P = 500000
1490
          bodyrot.AngularVelocity = Vector3.new(0, 0, 0)
1491
          bodyrot.Parent = badevz.hnd
1492
          local bodyfor = Instance.new("BodyForce")
1493
          bodyfor.Force = Vector3.new(0, 20, 0)
1494
          bodyfor.Parent = badevz.hnd
1495
          coroutine.resume(coroutine.create(function()
1496
            while bodyrot do
1497
              swait(3)
1498
              bodyfor.Force = bodyfor.Force + Vector3.new(0, 1, 0)
1499
            end
1500
          end))
1501
          local AWDAMN = {}
1502
          for _ = 1, 8 do
1503
            local aw = makepart("Grey", "wot", 0, 0.4, "SmoothPlastic", modz, badevz.hnd.CFrame)
1504
            aw.Size = Vector3.new(2, 2, 2)
1505
            aw.Anchored = true
1506
            game.Debris:AddItem(aw, 20)
1507
            table.insert(AWDAMN, aw)
1508
          end
1509
          for _ = 1, 35 do
1510
            for _, ADASD in pairs(AWDAMN) do
1511
              swait()
1512
              if 1 < ADASD.Transparency then
1513
                ADASD.Size = Vector3.new(2, 2, 2)
1514
                ADASD.Transparency = 0.4
1515
              else
1516
                ADASD.Transparency = ADASD.Transparency + 0.1
1517
                ADASD.Size = ADASD.Size + Vector3.new(1, 1, 1)
1518
              end
1519
              ADASD.CFrame = badevz.hnd.CFrame * ang(rd(rd2(0, 360)), rd(rd2(0, 360)), rd(rd2(0, 360)))
1520
            end
1521
          end
1522
          bodyfor:Destroy()
1523
          bodyrot:Destroy()
1524
          badevz.hnd.Anchored = true
1525
          badevz:SetPrimaryPartCFrame(CFrame.new(badevz.hnd.Position, taggedpos) * ang(rd(-90), rd(0), 0))
1526
          for _ = 1, 40 do
1527
            wait()
1528
            local wayy = Ray.new(badevz.hnd.Position, badevz.hnd.CFrame.upVector * 200)
1529
            local gotdeparto = workspace:FindPartOnRayWithIgnoreList(wayy, {badevz}, true, false)
1530
            if gotdeparto then
1531
              asplohito(taggedpos, 100, 80, 1, Vector3.new(rd2(-40, 40), rd2(160, 180), rd2(-40, 40)), Vector3.new(rd2(-20, 20), rd2(40, 80), rd2(-20, 20)))
1532
              do
1533
                local poopys = makepart("White", "WOAH", 0, 0.2, "Neon", modz, cf(taggedpos))
1534
                poopys.Anchored = true
1535
                local loldon = makemesh("Sphere", Vector3.new(30, 30, 30), nil, poopys)
1536
                game.Debris:AddItem(poopys, 10)
1537
                coroutine.resume(coroutine.create(function()
1538
                  for _ = 1, 20 do
1539
                    swait()
1540
                    loldon.Scale = loldon.Scale + Vector3.new(60, 60, 60)
1541
                    poopys.Transparency = poopys.Transparency + 0.05
1542
                  end
1543
                  poopys:Destroy()
1544
                end))
1545
                badevz:Destroy()
1546
                break
1547
              end
1548
            else
1549
              badevz:SetPrimaryPartCFrame(badevz.hnd.CFrame * cf(0, 180, 0))
1550
            end
1551
          end
1552
        end)
1553
        coroutine.resume(coroutine.create(function()
1554
          while ymmu do
1555
            wait()
1556
            if not customactive then
1557
              lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3)
1558
              hwel.C0 = hwel.C0:lerp(ang(rd(90), rd(0), rd(0)) * cf(0, 1, 0), 0.3)
1559
              p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -4.5, 0), 0.45)
1560
              p7m.Scale = p7m.Scale:lerp(Vector3.new(5.5, 5.5, 1), 0.45)
1561
              p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0, -0.425), 0.45)
1562
              p8m.Scale = p8m.Scale:lerp(Vector3.new(5.5, 2.5, 4.25), 0.45)
1563
              p8w.C0 = p8w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -0.3, 0.1), 0.45)
1564
              p9m.Scale = p9m.Scale:lerp(Vector3.new(5.5, 0.5, 4.25), 0.45)
1565
              p9w.C0 = p9w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.5, 0.1), 0.45)
1566
              p10m.Scale = p10m.Scale:lerp(Vector3.new(2.75, 2.5, 4.25), 0.45)
1567
              p10w.C0 = p10w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(-0.275, 0.2, 0.1), 0.45)
1568
              p11m.Scale = p11m.Scale:lerp(Vector3.new(2.75, 2.5, 4.25), 0.45)
1569
              p11w.C0 = p11w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0.275, 0.2, 0.1), 0.45)
1570
              p12m.Scale = p12m.Scale:lerp(Vector3.new(4.25, 3.25, 2.5), 0.45)
1571
              p12w.C0 = p12w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, -0.25), 0.45)
1572
              p13m.Scale = p13m.Scale:lerp(Vector3.new(4.25, 3.25, 0.75), 0.45)
1573
              p13w.C0 = p13w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, 0.05), 0.45)
1574
              p14m.Scale = p14m.Scale:lerp(Vector3.new(4.25, 3.25, 0.75), 0.45)
1575
              p14w.C0 = p14w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, 0.2), 0.45)
1576
              p15m.Scale = p15m.Scale:lerp(Vector3.new(4.25, 3.25, 0.75), 0.45)
1577
              p15w.C0 = p15w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, 0.35), 0.45)
1578
              p16m.Scale = p16m.Scale:lerp(Vector3.new(5.244999999999999, 0, 0), 0.45)
1579
              p16w.C0 = p16w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0.5, 0.1, 0), 0.45)
1580
              p17m.Scale = p17m.Scale:lerp(Vector3.new(5.244999999999999, 0, 0), 0.45)
1581
              p17w.C0 = p17w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(-0.5, 0.1, 0), 0.45)
1582
              p420m.Scale = p420m.Scale:lerp(Vector3.new(5.5, 5.25, 0), 0.45)
1583
              p420w.C0 = p420w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0, 0.525), 0.45)
1584
            end
1585
          end
1586
        end))
1587
      end
1588
    elseif batting == true then
1589
      if customactive == true or activu == true then
1590
        return
1591
      end
1592
      batting = false
1593
      ymmu:Disconnect()
1594
      ymmu = nil
1595
      kabomobepo:Disconnect()
1596
      kabomobepo = nil
1597
      noobcharge = 0
1598
      for h = 1, #memedonlist do
1599
        table.remove(memedonlist, h)
1600
      end
1601
      local badevz = chr:FindFirstChild("bmodel")
1602
      badevz.PrimaryPart = badevz.hnd
1603
      if badevz.hnd:FindFirstChildOfClass("Weld") then
1604
        badevz.hnd:FindFirstChildOfClass("Weld"):Destroy()
1605
      end
1606
      for _, A in pairs(badevz:GetChildren()) do
1607
        if A.ClassName == "Part" then
1608
          A.CanCollide = true
1609
        end
1610
      end
1611
      badevz.Parent = workspace
1612
      badevz:SetPrimaryPartCFrame(rarm.CFrame * ang(rd(-90), rd(0), rd(0)) * cf(0, 0, -1))
1613
      game.Debris:AddItem(badevz, 6)
1614
    end
1615
  end
1616
  game:GetService("ContentProvider"):Preload("rbxassetid://725969678")
1617
  function lauf()
1618
    if selected == false or activu == true or batting == true or ragged == true then
1619
      return
1620
    end
1621
    activu = true
1622
    local sped = human.WalkSpeed
1623
    hrp.Anchored = true
1624
    human.WalkSpeed = 0
1625
    lauf1:Play()
1626
    cam.CameraType = "Scriptable"
1627
    cam.CoordinateFrame = hrp.CFrame * ang(rd(0), rd(215), rd(0)) * cf(0, 0, 13)
1628
    for i = 1, 4 do
1629
      swait()
1630
      lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(80)), 0.4 + i * 0.15)
1631
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4 + i * 0.15)
1632
      lerpz(RS, "C0", RSC0 * cf(0, -0.3, 0) * ang(rd(-40), rd(-10), rd(10)), 0.4 + i * 0.15)
1633
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4 + i * 0.15)
1634
      lerpz(LS, "C0", LSC0 * cf(0, -0.3, 0) * ang(rd(-40), rd(-10), rd(-10)), 0.4 + i * 0.15)
1635
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4 + i * 0.15)
1636
      lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.4 + i * 0.15)
1637
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4 + i * 0.15)
1638
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.4 + i * 0.15)
1639
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4 + i * 0.15)
1640
    end
1641
    local makeglasses = function(whicharm, motorcf)
1642
      local makemotor = function(parent, p0, p1, c0, c1)
1643
        local wel = Instance.new("Motor6D")
1644
        wel.Part0 = p0
1645
        wel.Part1 = p1
1646
        wel.C0 = c0
1647
        if c1 ~= nil then
1648
          wel.C1 = c1
1649
        end
1650
        wel.Parent = parent
1651
        return wel
1652
      end
1653
      local glasses = makepart("Black", "glasses", 0, 0, "SmoothPlastic", whicharm, whicharm.CFrame)
1654
      local glassesmesh = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxassetid://30166087", glasses)
1655
      glassesmesh.TextureId = "rbxassetid://30166098"
1656
      local glassesmotor = makemotor(glasses, glasses, whicharm, motorcf, nil)
1657
      return glasses, glassesmotor
1658
    end
1659
    swait(10)
1660
    local glasses1, glassesmotor1 = makeglasses(hed, ang(rd(0), rd(0), 0) * cf(0, -0.2, 0.25))
1661
    swait(13)
1662
    cam.CoordinateFrame = hed.CFrame * ang(rd(5), rd(145), rd(-5)) * cf(0, 0, 5)
1663
    local glasses2, glassesmotor2 = makeglasses(rarm, ang(rd(180), rd(0), 0) * cf(0, 1, 0))
1664
    for i = 1, 4 do
1665
      swait()
1666
      lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(80)), 0.3 + i * 0.14)
1667
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14)
1668
      lerpz(RS, "C0", RSC0 * cf(0, -0.3, 0) * ang(rd(-40), rd(-10), rd(170)), 0.3 + i * 0.14)
1669
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14)
1670
      lerpz(LS, "C0", LSC0 * cf(0, -0.3, 0) * ang(rd(-40), rd(-10), rd(-10)), 0.3 + i * 0.14)
1671
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14)
1672
      lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.3 + i * 0.14)
1673
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14)
1674
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.3 + i * 0.14)
1675
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14)
1676
    end
1677
    glassesmotor2.Part1 = hed
1678
    glassesmotor2.C0 = ang(rd(-25), rd(-2), rd(4)) * cf(0, -0.55, 0.275)
1679
    swait(3)
1680
    local glasses3, glassesmotor3 = makeglasses(larm, ang(rd(180), rd(0), 0) * cf(0, 1, 0))
1681
    for i = 1, 4 do
1682
      swait()
1683
      lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(80)), 0.3 + i * 0.14)
1684
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14)
1685
      lerpz(RS, "C0", RSC0 * cf(0, -0.3, 0) * ang(rd(20), rd(-10), rd(10)), 0.3 + i * 0.14)
1686
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14)
1687
      lerpz(LS, "C0", LSC0 * cf(0, -0.3, 0) * ang(rd(-40), rd(-10), rd(170)), 0.3 + i * 0.14)
1688
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14)
1689
      lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.3 + i * 0.14)
1690
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14)
1691
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.3 + i * 0.14)
1692
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14)
1693
    end
1694
    glassesmotor3.Part1 = hed
1695
    glassesmotor3.C0 = ang(rd(-8), rd(13), rd(-2)) * cf(-0.075, 0, 0.35)
1696
    swait(3)
1697
    local glasses4, glassesmotor4 = makeglasses(rarm, ang(rd(180), rd(0), 0) * cf(0, 1, 0))
1698
    for i = 1, 4 do
1699
      swait()
1700
      lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(80)), 0.3 + i * 0.14)
1701
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14)
1702
      lerpz(RS, "C0", RSC0 * cf(0, -0.3, 0) * ang(rd(-40), rd(-10), rd(170)), 0.3 + i * 0.14)
1703
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14)
1704
      lerpz(LS, "C0", LSC0 * cf(0, -0.3, 0) * ang(rd(40), rd(-10), rd(-10)), 0.3 + i * 0.14)
1705
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14)
1706
      lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.3 + i * 0.14)
1707
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14)
1708
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.3 + i * 0.14)
1709
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14)
1710
    end
1711
    glassesmotor4.Part1 = hed
1712
    glassesmotor4.C0 = ang(rd(10), rd(-10), rd(16)) * cf(0, 0.1, 0.325)
1713
    swait(3)
1714
    local glasses5, glassesmotor5 = makeglasses(larm, ang(rd(180), rd(0), 0) * cf(0, 1, 0))
1715
    for i = 1, 4 do
1716
      swait()
1717
      lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(80)), 0.3 + i * 0.14)
1718
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14)
1719
      lerpz(RS, "C0", RSC0 * cf(0, -0.3, 0) * ang(rd(20), rd(-10), rd(10)), 0.3 + i * 0.14)
1720
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14)
1721
      lerpz(LS, "C0", LSC0 * cf(0, -0.3, 0) * ang(rd(-40), rd(-10), rd(170)), 0.3 + i * 0.14)
1722
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14)
1723
      lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.3 + i * 0.14)
1724
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14)
1725
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.3 + i * 0.14)
1726
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14)
1727
    end
1728
    glassesmotor5.Part1 = hed
1729
    glassesmotor5.C0 = ang(rd(-37), rd(17), rd(-8)) * cf(0, -0.75, 0.2)
1730
    swait(3)
1731
    local glasses6, glassesmotor6 = makeglasses(rarm, ang(rd(180), rd(0), 0) * cf(0, 1, 0))
1732
    for i = 1, 4 do
1733
      swait()
1734
      lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(80)), 0.3 + i * 0.14)
1735
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14)
1736
      lerpz(RS, "C0", RSC0 * cf(0, -0.3, 0) * ang(rd(-40), rd(-10), rd(170)), 0.3 + i * 0.14)
1737
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14)
1738
      lerpz(LS, "C0", LSC0 * cf(0, -0.3, 0) * ang(rd(-40), rd(-10), rd(10)), 0.3 + i * 0.14)
1739
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14)
1740
      lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.3 + i * 0.14)
1741
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14)
1742
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.3 + i * 0.14)
1743
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14)
1744
    end
1745
    glassesmotor6.Part1 = hed
1746
    glassesmotor6.C0 = ang(rd(37), rd(4), rd(-2)) * cf(0, 0.3, 0.275)
1747
    for i = 1, 4 do
1748
      swait()
1749
      lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(80)), 0.3 + i * 0.14)
1750
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14)
1751
      lerpz(RS, "C0", RSC0 * cf(0, -0.3, 0) * ang(rd(-40), rd(-10), rd(10)), 0.3 + i * 0.14)
1752
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14)
1753
      lerpz(LS, "C0", LSC0 * cf(0, -0.3, 0) * ang(rd(-40), rd(-10), rd(10)), 0.3 + i * 0.14)
1754
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14)
1755
      lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.3 + i * 0.14)
1756
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14)
1757
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.3 + i * 0.14)
1758
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14)
1759
    end
1760
    swait(1)
1761
    local scg = Instance.new("ScreenGui")
1762
    scg.Parent = plr.PlayerGui
1763
    local t1 = Instance.new("TextLabel")
1764
    t1.AnchorPoint = Vector2.new(0.5, 0.5)
1765
    t1.BackgroundTransparency = 0
1766
    t1.BorderSizePixel = 0
1767
    t1.Position = UDim2.new(0.4, 0, 0.78, 0)
1768
    t1.Rotation = -6
1769
    t1.Size = UDim2.new(0, 2, 0, 2)
1770
    t1.TextSize = 100
1771
    t1.Font = "Cartoon"
1772
    t1.Text = "I"
1773
    t1.TextStrokeTransparency = 0
1774
    t1.Parent = scg
1775
    coroutine.resume(coroutine.create(function()
1776
      while t1 do
1777
        t1.TextColor3 = Color3.new(rd2(0, 1), rd2(0, 1), rd2(0, 1))
1778
        for _ = 1, 15 do
1779
          game:GetService("RunService").RenderStepped:wait()
1780
          t1.TextColor3 = Color3.new(t1.TextColor3.r, t1.TextColor3.g + 0.06666666666666667, t1.TextColor3.b)
1781
        end
1782
        for _ = 1, 15 do
1783
          game:GetService("RunService").RenderStepped:wait()
1784
          t1.TextColor3 = Color3.new(t1.TextColor3.r - 0.06666666666666667, t1.TextColor3.g, t1.TextColor3.b)
1785
        end
1786
        for _ = 1, 15 do
1787
          game:GetService("RunService").RenderStepped:wait()
1788
          t1.TextColor3 = Color3.new(t1.TextColor3.r, t1.TextColor3.g, t1.TextColor3.b + 0.06666666666666667)
1789
        end
1790
        for _ = 1, 15 do
1791
          game:GetService("RunService").RenderStepped:wait()
1792
          t1.TextColor3 = Color3.new(t1.TextColor3.r, t1.TextColor3.g - 0.06666666666666667, t1.TextColor3.b)
1793
        end
1794
        for _ = 1, 15 do
1795
          game:GetService("RunService").RenderStepped:wait()
1796
          t1.TextColor3 = Color3.new(t1.TextColor3.r + 0.06666666666666667, t1.TextColor3.g, t1.TextColor3.b)
1797
        end
1798
        for _ = 1, 15 do
1799
          game:GetService("RunService").RenderStepped:wait()
1800
          t1.TextColor3 = Color3.new(t1.TextColor3.r, t1.TextColor3.g, t1.TextColor3.b - 0.06666666666666667)
1801
        end
1802
      end
1803
    end))
1804
    swait(8)
1805
    local t2 = Instance.new("TextLabel")
1806
    t2.AnchorPoint = Vector2.new(0.5, 0.5)
1807
    t2.BackgroundTransparency = 0
1808
    t2.BorderSizePixel = 0
1809
    t2.Position = UDim2.new(0.575, 0, 0.84, 0)
1810
    t2.Rotation = 15
1811
    t2.Size = UDim2.new(0, 2, 0, 2)
1812
    t2.TextSize = 100
1813
    t2.Font = "Cartoon"
1814
    t2.Text = "WIN"
1815
    t2.TextStrokeTransparency = 0
1816
    t2.Parent = scg
1817
    coroutine.resume(coroutine.create(function()
1818
      while t2 do
1819
        t2.TextColor3 = Color3.new(rd2(0, 1), rd2(0, 1), rd2(0, 1))
1820
        for _ = 1, 15 do
1821
          game:GetService("RunService").RenderStepped:wait()
1822
          t2.TextColor3 = Color3.new(t2.TextColor3.r, t2.TextColor3.g + 0.06666666666666667, t2.TextColor3.b)
1823
        end
1824
        for _ = 1, 15 do
1825
          game:GetService("RunService").RenderStepped:wait()
1826
          t2.TextColor3 = Color3.new(t2.TextColor3.r - 0.06666666666666667, t2.TextColor3.g, t2.TextColor3.b)
1827
        end
1828
        for _ = 1, 15 do
1829
          game:GetService("RunService").RenderStepped:wait()
1830
          t2.TextColor3 = Color3.new(t2.TextColor3.r, t2.TextColor3.g, t2.TextColor3.b + 0.06666666666666667)
1831
        end
1832
        for _ = 1, 15 do
1833
          game:GetService("RunService").RenderStepped:wait()
1834
          t2.TextColor3 = Color3.new(t2.TextColor3.r, t2.TextColor3.g - 0.06666666666666667, t2.TextColor3.b)
1835
        end
1836
        for _ = 1, 15 do
1837
          game:GetService("RunService").RenderStepped:wait()
1838
          t2.TextColor3 = Color3.new(t2.TextColor3.r + 0.06666666666666667, t2.TextColor3.g, t2.TextColor3.b)
1839
        end
1840
        for _ = 1, 15 do
1841
          game:GetService("RunService").RenderStepped:wait()
1842
          t2.TextColor3 = Color3.new(t2.TextColor3.r, t2.TextColor3.g, t2.TextColor3.b - 0.06666666666666667)
1843
        end
1844
      end
1845
    end))
1846
    swait(20)
1847
    scg:Destroy()
1848
    glasses1:Destroy()
1849
    glasses2:Destroy()
1850
    glasses3:Destroy()
1851
    glasses4:Destroy()
1852
    glasses5:Destroy()
1853
    glasses6:Destroy()
1854
    cam.CameraType = "Custom"
1855
    hrp.Anchored = false
1856
    human.WalkSpeed = sped
1857
    activu = false
1858
  end
1859
  function makenoob(cfrem, scalo, rags)
1860
    nscale.Value = scalo
1861
    local md = Instance.new("Model")
1862
    md.Name = "Noob"
1863
    md.Parent = workspace
1864
    local hu = Instance.new("Humanoid")
1865
    hu.RigType = "R6"
1866
    hu.MaxHealth = 100 * scalo
1867
    hu.Health = 100 * scalo
1868
    hu.Parent = md
1869
    local anm = Instance.new("Animator")
1870
    anm.Parent = hu
1871
    hu.PlatformStand = true
1872
    local light = function(part)
1873
      part.CustomPhysicalProperties = PhysicalProperties.new(0.35, 0.3, 0.5)
1874
    end
1875
    local hd = Instance.new("Part")
1876
    hd.Name = "Head"
1877
    hd.Size = Vector3.new(2 * nscale.Value, 1 * nscale.Value, 1 * nscale.Value)
1878
    hd.TopSurface = "Smooth"
1879
    hd.BottomSurface = "Inlet"
1880
    hd.Locked = true
1881
    hd.BrickColor = BrickColor.new("Bright yellow")
1882
    hd.CanCollide = true
1883
    hd.Anchored = false
1884
    light(hd)
1885
    hd.Parent = md
1886
    local hm = Instance.new("SpecialMesh")
1887
    hm.MeshType = "Head"
1888
    hm.Scale = Vector3.new(1.25, 1.25, 1.25)
1889
    hm.Parent = hd
1890
    local hf = Instance.new("Decal")
1891
    hf.Name = "face"
1892
    hf.Texture = "rbxasset://textures/face.png"
1893
    local gen = math.random(1, 40)
1894
    if gen == 3 then
1895
      hf.Texture = "rbxassetid://260884109"
1896
    end
1897
    if gen == 8 then
1898
      hf.Texture = "rbxassetid://260569492"
1899
    end
1900
    if gen == 12 then
1901
      hf.Texture = "rbxassetid://259580505"
1902
    end
1903
    if gen == 16 then
1904
      hf.Texture = "rbxassetid://259579232"
1905
    end
1906
    if gen == 24 then
1907
      hf.Texture = "rbxassetid://259571525"
1908
    end
1909
    if gen == 28 then
1910
      hf.Texture = "rbxassetid://258283210"
1911
    end
1912
    if gen == 32 then
1913
      hf.Texture = "rbxassetid://258940032"
1914
    end
1915
    if gen == 38 then
1916
      hf.Texture = "rbxassetid://673220970"
1917
      hf.Color3 = Color3.new(0, 0, 0)
1918
    end
1919
    hf.Face = "Front"
1920
    hf.Parent = hd
1921
    local hrpa = Instance.new("Part")
1922
    hrpa.Name = "HumanoidRootPart"
1923
    hrpa.TopSurface, hrpa.BottomSurface = 0, 0
1924
    hrpa.Size = Vector3.new(2 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
1925
    hrpa.Transparency = 1
1926
    hrpa.CanCollide = false
1927
    hrpa.Locked = true
1928
    light(hrpa)
1929
    hrpa.Parent = md
1930
    local tagbomb = Instance.new("BoolValue")
1931
    tagbomb.Name = "tagbomb"
1932
    tagbomb.Value = false
1933
    tagbomb.Parent = hrpa
1934
    local learm = Instance.new("Part")
1935
    learm.Name = "Left Arm"
1936
    learm.BrickColor = BrickColor.new("Bright yellow")
1937
    learm.CanCollide = false
1938
    learm.Locked = true
1939
    learm.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
1940
    light(learm)
1941
    learm.Parent = md
1942
    local riarm = Instance.new("Part")
1943
    riarm.Name = "Right Arm"
1944
    riarm.BrickColor = BrickColor.new("Bright yellow")
1945
    riarm.CanCollide = false
1946
    riarm.Locked = true
1947
    light(riarm)
1948
    riarm.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
1949
    riarm.Parent = md
1950
    local leleg = Instance.new("Part")
1951
    leleg.Name = "Left Leg"
1952
    leleg.BrickColor = BrickColor.new("Br. yellowish green")
1953
    leleg.CanCollide = false
1954
    leleg.Locked = true
1955
    light(leleg)
1956
    leleg.BottomSurface = 0
1957
    leleg.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
1958
    leleg.Parent = md
1959
    local rileg = Instance.new("Part")
1960
    rileg.Name = "Right Leg"
1961
    rileg.BrickColor = BrickColor.new("Br. yellowish green")
1962
    rileg.CanCollide = false
1963
    rileg.Locked = true
1964
    light(rileg)
1965
    rileg.BottomSurface = 0
1966
    rileg.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
1967
    rileg.Parent = md
1968
    local tor = Instance.new("Part")
1969
    tor.Name = "Torso"
1970
    tor.BrickColor = BrickColor.new("Bright blue")
1971
    tor.Locked = true
1972
    light(tor)
1973
    tor.Size = Vector3.new(2 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
1974
    tor.LeftSurface, tor.RightSurface = "Weld", "Weld"
1975
    tor.Parent = md
1976
    md.PrimaryPart = hrpa
1977
    md:SetPrimaryPartCFrame(cfrem)
1978
    md:makeJoints()
1979
    makejoint(hrpa, RootJointC0, RootJointC1, hrpa, tor, "RootJoint")
1980
    makejoint(tor, NeckC0, NeckC1, tor, hd, "Neck")
1981
    if rags == true then
1982
      makegloo(tor, RightShoulderC0, RightShoulderC1, tor, riarm, "Right Shoulder")
1983
      makegloo(tor, LeftShoulderC0, LeftShoulderC1, tor, learm, "Left Shoulder")
1984
      makegloo(tor, RightHipC0, RightHipC1, tor, rileg, "Right Hip")
1985
      makegloo(tor, LeftHipC0, LeftHipC1, tor, leleg, "Left Hip")
1986
      maketouchy(riarm, riarm, CFrame.new(0, 0.5 * nscale.Value, 0))
1987
      maketouchy(learm, learm, CFrame.new(0, 0.5 * nscale.Value, 0))
1988
      maketouchy(leleg, leleg, CFrame.new(0, 0.5 * nscale.Value, 0))
1989
      maketouchy(rileg, rileg, CFrame.new(0, 0.5 * nscale.Value, 0))
1990
    elseif rags == false then
1991
      makejoint(tor, RightShoulderC0, RightShoulderC1, tor, riarm, "Right Shoulder")
1992
      makejoint(tor, LeftShoulderC0, LeftShoulderC1, tor, learm, "Left Shoulder")
1993
      makejoint(tor, RightHipC0, RightHipC1, tor, rileg, "Right Hip")
1994
      makejoint(tor, LeftHipC0, LeftHipC1, tor, leleg, "Left Hip")
1995
      hu.PlatformStand = false
1996
    end
1997
    nscale.Value = 1
1998
    local whistl = Instance.new("Sound")
1999
    whistl.SoundId = "rbxassetid://170297200"
2000
    whistl.Name = "whistl"
2001
    whistl.Volume = 1
2002
    whistl.TimePosition = 0.6
2003
    whistl.Pitch = 1
2004
    whistl.Parent = hrpa
2005
    hu.Touched:connect(function(tpart, uwot)
2006
      if tagbomb.Value == true and tpart.Parent ~= md and tpart.Parent.Parent ~= md and tpart.Parent.Parent.Parent ~= md and tpart.Parent ~= "Noob" then
2007
        tagbomb.Value = false
2008
        hu.Health = 0
2009
        local derp = Instance.new("Explosion")
2010
        derp.BlastPressure = 200
2011
        derp.BlastRadius = 16
2012
        derp.DestroyJointRadiusPercent = 0
2013
        derp.ExplosionType = 2
2014
        derp.Visible = true
2015
        derp.Position = uwot.Position - Vector3.new(0, 0.5, 0)
2016
        derp.Parent = workspace
2017
        game.Debris:AddItem(md, 8)
2018
        local sound2 = Instance.new("Sound")
2019
        sound2.SoundId = "rbxassetid://157878578"
2020
        sound2.Volume = 0.8
2021
        sound2.Pitch = 0.9
2022
        sound2.Parent = uwot
2023
        sound2:Play()
2024
        whistl:Stop()
2025
        hito(uwot, 14, 24, 0.3, Vector3.new(rd2(-10, 10), rd2(20, 30), rd2(-10, 10)), Vector3.new(rd2(-10, 10), rd2(20, 30), rd2(-10, 10)))
2026
      end
2027
    end)
2028
    return md
2029
  end
2030
  local pl, st, gotago
2031
  function musicnoob()
2032
    if selected == false or activu == true then
2033
      return
2034
    end
2035
    if memeing == false then
2036
      activu = true
2037
      do
2038
        local nib = spawnnoob(hrp.CFrame * cf(5, 3, -1) * ang(rd(90), 0, 0), cf(0, 0, 0) * ang(rd(-90), 0, 0), 1, false)
2039
        nib.Name = "Nooprah"
2040
        nib.Parent = modz
2041
        local nHuman = nib:FindFirstChild("Humanoid")
2042
        local nhrp = nib:FindFirstChild("HumanoidRootPart")
2043
        local nTorso = nib:FindFirstChild("Torso")
2044
        local nRS = nTorso:FindFirstChild("Right Shoulder")
2045
        local nLS = nTorso:FindFirstChild("Left Shoulder")
2046
        local nRH = nTorso:FindFirstChild("Right Hip")
2047
        local nLH = nTorso:FindFirstChild("Left Hip")
2048
        local nRJ = nhrp:FindFirstChild("RootJoint")
2049
        local nN = nTorso:FindFirstChild("Neck")
2050
        local nFace = nib:FindFirstChild("Head"):FindFirstChild("face")
2051
        nHuman.MaxHealth = math.huge
2052
        nHuman.Health = math.huge
2053
        nFace.Texture = "rbxassetid://14175189"
2054
        local mp = makepart("Black", "mauth", 0, 0, "SmoothPlastic", nib:FindFirstChild("Head"), nhrp.CFrame)
2055
        local mm = makemesh("Sphere", Vector3.new(3, 0.25, 0.75), nil, mp)
2056
        local mmot = makejoint(mp, cf(0, 0.175, 0.55), cf(0, 0, 0), mp, nib:FindFirstChild("Head"), "derp")
2057
        local mosicu = Instance.new("Sound")
2058
        mosicu.Name = "moose"
2059
        mosicu.Volume = 1
2060
        mosicu.EmitterSize = 40
2061
        mosicu.MaxDistance = 80
2062
        mosicu.Looped = true
2063
        mosicu.Parent = nib:FindFirstChild("Head")
2064
        local sg = Instance.new("ScreenGui")
2065
        sg.Name = "simpleflips"
2066
        sg.Parent = plr.PlayerGui
2067
        local fr = Instance.new("Frame")
2068
        fr.AnchorPoint = Vector2.new(1, 0.5)
2069
        fr.BackgroundColor3 = Color3.new(1, 1, 0.0784313725490196)
2070
        fr.BorderSizePixel = 2
2071
        fr.Position = UDim2.new(0.975, 0, 0.5, 0)
2072
        fr.Size = UDim2.new(0, 200, 0, 100)
2073
        fr.Parent = sg
2074
        local mbox = Instance.new("TextBox")
2075
        mbox.AnchorPoint = Vector2.new(0.5, 0.5)
2076
        mbox.BackgroundColor3 = Color3.new(0.9019607843137255, 0.9019607843137255, 0.0784313725490196)
2077
        mbox.BorderSizePixel = 2
2078
        mbox.Position = UDim2.new(0.5, 0, 0.25, 0)
2079
        mbox.Size = UDim2.new(0, 150, 0, 40)
2080
        mbox.Font = "SourceSansBold"
2081
        mbox.FontSize = "Size24"
2082
        mbox.Text = "MEME"
2083
        mbox.TextWrapped = true
2084
        mbox.Parent = fr
2085
        local pley = Instance.new("TextButton")
2086
        pley.AnchorPoint = Vector2.new(0.5, 0.5)
2087
        pley.BackgroundColor3 = Color3.new(0.25098039215686274, 1, 0.3137254901960784)
2088
        pley.BorderSizePixel = 2
2089
        pley.Position = UDim2.new(0.25, 0, 0.75, 0)
2090
        pley.Size = UDim2.new(0, 75, 0, 35)
2091
        pley.Font = "SourceSansBold"
2092
        pley.FontSize = "Size18"
2093
        pley.Text = "kappa"
2094
        pley.Parent = fr
2095
        local stap = Instance.new("TextButton")
2096
        stap.AnchorPoint = Vector2.new(0.5, 0.5)
2097
        stap.BackgroundColor3 = Color3.new(1, 0.25098039215686274, 0.11764705882352941)
2098
        stap.BorderSizePixel = 2
2099
        stap.Position = UDim2.new(0.75, 0, 0.75, 0)
2100
        stap.Size = UDim2.new(0, 75, 0, 35)
2101
        stap.Font = "SourceSansBold"
2102
        stap.FontSize = "Size18"
2103
        stap.Text = "pride"
2104
        stap.Parent = fr
2105
        pl = pley.MouseButton1Click:connect(function()
2106
          mosicu.SoundId = "rbxassetid://" .. mbox.Text
2107
          mosicu:Play()
2108
        end)
2109
        st = stap.MouseButton1Click:connect(function()
2110
          mosicu:Stop()
2111
        end)
2112
        gotago = tool.Activated:connect(function()
2113
          if mouse.Hit ~= nil and batting == false then
2114
            nHuman:MoveTo(mouse.Hit.p)
2115
          end
2116
        end)
2117
        local memevalue, memevalue2, liftvalue
2118
        coroutine.resume(coroutine.create(function()
2119
          while nib do
2120
            swait()
2121
            memevalue = -90 * (mosicu.PlaybackLoudness / 500)
2122
            memevalue2 = -20 * (mosicu.PlaybackLoudness / 500)
2123
            liftvalue = 0.75 * (mosicu.PlaybackLoudness / 500)
2124
            mm.Scale = mm.Scale:lerp(Vector3.new(3 * (1 - mosicu.PlaybackLoudness / 900), 0.25 * (1 + mosicu.PlaybackLoudness / 30), 0.75 * (1 + mosicu.PlaybackLoudness / 1750)), 0.7)
2125
            if mosicu.PlaybackLoudness > 1 and mosicu.PlaybackLoudness < 10000000 then
2126
              lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(memevalue), rd(0), rd(0)), 0.5)
2127
              lerpz(nRJ, "C0", RJC0 * cf(0, 0, liftvalue) * ang(rd(0), rd(0), rd(0)), 0.5)
2128
              lerpz(nRS, "C0", RightShoulderC0 * cf(0, 0, 0) * ang(rd(memevalue), rd(0), rd(0)), 0.5)
2129
              lerpz(nLS, "C0", LeftShoulderC0 * cf(0, 0, 0) * ang(rd(memevalue), rd(0), rd(0)), 0.5)
2130
              lerpz(nRH, "C0", RightHipC0 * cf(0, 0, 0) * ang(rd(memevalue2), rd(0), rd(0)), 0.5)
2131
              lerpz(nLH, "C0", LeftHipC0 * cf(0, 0, 0) * ang(rd(memevalue2), rd(0), rd(0)), 0.5)
2132
            else
2133
              lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
2134
              lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
2135
              lerpz(nRS, "C0", RightShoulderC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
2136
              lerpz(nLS, "C0", LeftShoulderC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
2137
              lerpz(nRH, "C0", RightHipC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
2138
              lerpz(nLH, "C0", LeftHipC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
2139
            end
2140
          end
2141
        end))
2142
        activu = false
2143
        memeing = true
2144
      end
2145
    elseif memeing == true then
2146
      gotago:Disconnect()
2147
      pl:Disconnect()
2148
      st:Disconnect()
2149
      if plr.PlayerGui:FindFirstChild("simpleflips") then
2150
        plr.PlayerGui:FindFirstChild("simpleflips"):Destroy()
2151
      end
2152
      if modz:FindFirstChild("Nooprah") then
2153
        modz:FindFirstChild("Nooprah"):Destroy()
2154
      end
2155
      memeing = false
2156
    end
2157
  end
2158
  function makecircle(cfrem, scalo)
2159
    local mcir1 = Instance.new("Part")
2160
    mcir1.Anchored = true
2161
    mcir1.CanCollide = false
2162
    mcir1.Size = Vector3.new(0.2, 0.2, 0.2)
2163
    mcir1.Transparency = 1
2164
    mcir1.CFrame = cfrem
2165
    mcir1.Parent = modz
2166
    game.Debris:AddItem(mcir1, 8)
2167
    local d1 = Instance.new("Decal")
2168
    d1.Texture = "rbxassetid://602615043"
2169
    d1.Face = "Front"
2170
    d1.Parent = mcir1
2171
    local d2 = Instance.new("Decal")
2172
    d2.Texture = "rbxassetid://602617463"
2173
    d2.Face = "Back"
2174
    d2.Parent = mcir1
2175
    local bme = Instance.new("BlockMesh")
2176
    bme.Parent = mcir1
2177
    for _ = 1, 9 do
2178
      swait()
2179
      bme.Scale = bme.Scale:lerp(Vector3.new(35 * scalo, 35 * scalo, 0), 0.3)
2180
    end
2181
    coroutine.resume(coroutine.create(function()
2182
      swait(15)
2183
      for _ = 1, 12 do
2184
        swait()
2185
        d1.Transparency = d1.Transparency + 0.08
2186
        d2.Transparency = d2.Transparency + 0.08
2187
      end
2188
      mcir1:Destroy()
2189
    end))
2190
    return mcir1
2191
  end
2192
  function spawnnoob(circlecf, noobcf, scalez, ragd)
2193
    local aearae = makecircle(circlecf, scalez)
2194
    local nananb
2195
    if ragd then
2196
      nananb = makenoob(aearae.CFrame * noobcf, scalez, true)
2197
    elseif not ragd then
2198
      nananb = makenoob(aearae.CFrame * noobcf, scalez, false)
2199
    end
2200
    return nananb
2201
  end
2202
  function tagexplode(partoz, magn, bombdelay)
2203
    for _, guy in pairs(workspace:GetChildren()) do
2204
      if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy.Name == "Noob" and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude then
2205
        coroutine.resume(coroutine.create(function()
2206
          guy:FindFirstChild("HumanoidRootPart").whistl:Play()
2207
          swait(bombdelay * 30)
2208
          guy:FindFirstChild("HumanoidRootPart").tagbomb.Value = true
2209
        end))
2210
      end
2211
    end
2212
  end
2213
  function hito(partoz, magn, dmg, debtim, bodyfdire, bodyrot)
2214
    for _, guy in pairs(workspace:GetChildren()) do
2215
      if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy ~= chr and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude and guy:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then
2216
        do
2217
          local humz = guy:FindFirstChild("Humanoid")
2218
          local horp = guy:FindFirstChild("HumanoidRootPart")
2219
          humz:TakeDamage(dmg)
2220
          if guy:FindFirstChildOfClass("ForceField") then
2221
            humz.Health = humz.Health - dmg
2222
          end
2223
          humz:SetStateEnabled(16, true)
2224
          delay(debtim, function()
2225
            humz:SetStateEnabled(16, true)
2226
          end)
2227
          local db = Instance.new("StringValue")
2228
          db.Name = "alabo"
2229
          db.Parent = horp
2230
          delay(debtim, function()
2231
            db:Destroy()
2232
          end)
2233
          local b = Instance.new("Part")
2234
          nooutline(b)
2235
          b.Size = Vector3.new(0.2, 0.2, 0.2)
2236
          b.Transparency = 0.25
2237
          b.Anchored = true
2238
          b.CanCollide = false
2239
          b.BrickColor = BrickColor.new("Institutional white")
2240
          b.Locked = true
2241
          b.CFrame = horp.CFrame * CFrame.new(rd2(-1, 1), rd2(-2, 2), rd2(-1, 1))
2242
          b.Parent = modz
2243
          local c = Instance.new("SpecialMesh")
2244
          c.MeshType = "Sphere"
2245
          c.Scale = Vector3.new(3.5, 3.5, 3.5)
2246
          c.Parent = b
2247
          game.Debris:AddItem(b, 1)
2248
          local damageind = Instance.new("Model")
2249
          damageind.Name = dmg
2250
          damageind.Parent = workspace
2251
          game.Debris:AddItem(damageind, 0.5 + dmg / 75)
2252
          local awawaa = Instance.new("Humanoid")
2253
          awawaa.MaxHealth = 0
2254
          awawaa.Parent = damageind
2255
          local dhed = Instance.new("Part")
2256
          dhed.Name = "Head"
2257
          dhed.Locked = true
2258
          dhed.Size = Vector3.new(0.2, 0.2, 0.2)
2259
          dhed.Position = horp.Position
2260
          dhed.BrickColor = BrickColor.new("Bright red")
2261
          dhed.CanCollide = false
2262
          dhed.Parent = damageind
2263
          local flo = Instance.new("BodyPosition")
2264
          flo.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
2265
          flo.P = 20000
2266
          flo.D = 300
2267
          flo.Position = dhed.Position + Vector3.new(0, 5, 0)
2268
          flo.Parent = dhed
2269
          local dasdada = Instance.new("CylinderMesh")
2270
          dasdada.Parent = dhed
2271
          coroutine.resume(coroutine.create(function()
2272
            while dasdada do
2273
              swait()
2274
              dasdada.Scale = dasdada.Scale:lerp(Vector3.new(2.5 + dmg / 10, 1.25 + dmg / 35, 2.5 + dmg / 10), 0.4)
2275
            end
2276
          end))
2277
          if bodyfdire then
2278
            local boopyve = Instance.new("BodyVelocity")
2279
            boopyve.MaxForce = Vector3.new(9999999999999, 9999999999999, 9999999999999)
2280
            boopyve.P = 9999999999
2281
            boopyve.Velocity = bodyfdire
2282
            boopyve.Parent = horp
2283
            game.Debris:AddItem(boopyve, debtim)
2284
          end
2285
          if bodyrot then
2286
            local boopyro = Instance.new("BodyAngularVelocity")
2287
            boopyro.MaxTorque = Vector3.new(999999, 999999, 999999)
2288
            boopyro.P = math.huge
2289
            boopyro.AngularVelocity = bodyrot
2290
            boopyro.Parent = horp
2291
            game.Debris:AddItem(boopyro, debtim)
2292
          end
2293
          local bet = Instance.new("Sound")
2294
          bet.Pitch = rd2(9, 11) / 10
2295
          bet.Volume = rd2(12, 14) / 10
2296
          bet.SoundId = "rbxassetid://305526724"
2297
          bet.Parent = b
2298
          bet:Play()
2299
          coroutine.resume(coroutine.create(function()
2300
            for _ = 1, 5 do
2301
              swait()
2302
              b.Transparency = b.Transparency + 0.175
2303
              c.Scale = c.Scale + Vector3.new(0.8 * dmg, 0.8 * dmg, 0.8 * dmg)
2304
            end
2305
          end))
2306
        end
2307
      end
2308
    end
2309
  end
2310
  function cleannoobs()
2311
    for _, nib in pairs(workspace:GetChildren()) do
2312
      coroutine.resume(coroutine.create(function()
2313
        if nib.Name == "Noob" then
2314
          if nib:FindFirstChild("HumanoidRootPart") then
2315
            local g = Instance.new("Part")
2316
            g.CanCollide, g.Anchored = false, true
2317
            g.Transparency = 1
2318
            g.CFrame = nib:FindFirstChild("HumanoidRootPart").CFrame
2319
            g.Parent = workspace
2320
            game.Debris:AddItem(g, 3.5)
2321
            local sou = Instance.new("Sound")
2322
            sou.Pitch = math.random(7, 11) / 10
2323
            sou.Volume = 0.8
2324
            sou.SoundId = "rbxassetid://111124523"
2325
            sou.Parent = g
2326
            local pe = Instance.new("ParticleEmitter")
2327
            pe.Acceleration = Vector3.new(0, 8, 0)
2328
            pe.Lifetime = NumberRange.new(1, 1.5)
2329
            pe.Rate = 0.005
2330
            pe.RotSpeed = NumberRange.new(-30, 30)
2331
            pe.Rotation = NumberRange.new(0, 360)
2332
            pe.Size = NumberSequence.new({
2333
              NumberSequenceKeypoint.new(0, 4.38, 0),
2334
              NumberSequenceKeypoint.new(0.672, 4.14, 0),
2335
              NumberSequenceKeypoint.new(1, 1.48, 0)
2336
            })
2337
            pe.Texture = "rbxassetid://244221440"
2338
            pe.Transparency = NumberSequence.new({
2339
              NumberSequenceKeypoint.new(0, 0, 0),
2340
              NumberSequenceKeypoint.new(0.529, 0.3, 0),
2341
              NumberSequenceKeypoint.new(1, 1, 1)
2342
            })
2343
            pe.ZOffset = 5
2344
            pe.Enabled = true
2345
            pe.VelocitySpread = 360
2346
            pe.Parent = g
2347
            swait(5)
2348
            pe:Emit(6)
2349
            sou:Play()
2350
          end
2351
          nib:Destroy()
2352
        end
2353
      end))
2354
    end
2355
  end
2356
  function animo(yep)
2357
    if anim then
2358
      if yep == true then
2359
        anim.Parent = human
2360
        chr.Animate.Disabled = false
2361
      elseif yep == false then
2362
        chr.Animate.Disabled = true
2363
        anim.Parent = nil
2364
      end
2365
    end
2366
  end
2367
  human.Died:connect(function()
2368
    script:Destroy()
2369
  end)
2370
  mouse.KeyDown:connect(function(key)
2371
    if key == "r" then
2372
      test()
2373
    end
2374
    if key == "m" then
2375
      lauf()
2376
    end
2377
    if key == "c" then
2378
      ham()
2379
    end
2380
    if key == "v" then
2381
      nommy()
2382
    end
2383
    if key == "x" then
2384
      bat()
2385
    end
2386
    if key == "l" and selected == true then
2387
      spawnnoob(hrp.CFrame * cf(5, 3, -1) * ang(rd(90), 0, 0), cf(0, 0, 0) * ang(rd(-100), 0, 0), 1, true)
2388
    end
2389
    if key == ";" and selected == true then
2390
      spawnnoob(hrp.CFrame * cf(5, 60, -1) * ang(rd(90), 0, 0), cf(0, 0, 0) * ang(rd(-90), 0, 0), 10, true)
2391
    end
2392
    if key == "k" and selected == true then
2393
      spawnnoob(hrp.CFrame * cf(5, 3, -1) * ang(rd(90), 0, 0), cf(0, 0, 0) * ang(rd(-90), 0, 0), 1, false)
2394
    end
2395
    if key == "p" then
2396
      cleannoobs()
2397
    end
2398
    if key == "[" then
2399
      musicnoob()
2400
    end
2401
    if key == "z" then
2402
      if selected == false or activu == true then
2403
        return
2404
      end
2405
      if human.WalkSpeed == 25 then
2406
        human.WalkSpeed = 70
2407
        human.JumpPower = 75
2408
      else
2409
        human.WalkSpeed = 25
2410
        human.JumpPower = 50
2411
      end
2412
    end
2413
  end)
2414
  tool.Equipped:connect(function()
2415
    selected = true
2416
  end)
2417
  tool.Unequipped:connect(function()
2418
    selected = false
2419
  end)
2420
  animo(false)
2421
  human.WalkSpeed = 25
2422
  sine = 0
2423
  charge = 1
2424
  cos = math.cos
2425
  game:GetService("RunService").RenderStepped:connect(function()
2426
    if ragged == false and activu == false then
2427
      local checkfloor = Ray.new(hrp.Position, Vector3.new(0, -5, 0))
2428
      local checkpart = workspace:FindPartOnRayWithIgnoreList(checkfloor, {chr}, false, false)
2429
      local checkstate = human:GetState()
2430
      if checkstate.Value == 13 then
2431
        animpose = "Sitting"
2432
      elseif hrp.Velocity.y > 1 and checkpart == nil then
2433
        animpose = "Jumping"
2434
      elseif hrp.Velocity.y < -1 and checkpart == nil then
2435
        animpose = "Falling"
2436
      elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 2 then
2437
        animpose = "Idle"
2438
      elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 40 then
2439
        animpose = "Walking"
2440
      elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude > 40 then
2441
        animpose = "TooFast"
2442
      end
2443
      if animpose == "Idle" then
2444
        sine = sine + charge
2445
        lerpz(RJ, "C0", RJC0 * cf(0.05 * cos(sine / 40), 0, -0.05 - 0.05 * cos(sine / 20)) * ang(rd(0), rd(0), rd(0)), 0.3)
2446
        lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(4 + 2 * cos(sine / 20)), rd(0), rd(0)), 0.3)
2447
        if not ymmu then
2448
          lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(8 * cos(sine / 80)), rd(0), rd(8 * cos(sine / 80))), 0.3)
2449
          lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2450
        end
2451
        lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(8 * cos(sine / 80)), rd(0), rd(8 * cos(sine / 80))), 0.3)
2452
        lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2453
        lerpz(RH, "C0", RHC0 * cf(0, 0.05 + 0.05 * cos(sine / 20), 0.05 * cos(sine / 40)) * ang(rd(-5), rd(-5), rd(1)), 0.3)
2454
        lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2455
        lerpz(LH, "C0", LHC0 * cf(0, 0.05 + 0.05 * cos(sine / 20), -0.05 * cos(sine / 40)) * ang(rd(-5), rd(5), rd(1)), 0.3)
2456
        lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2457
      end
2458
      if animpose == "Walking" then
2459
        sine = sine + charge
2460
        lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.025 * cos(sine / 4)) * ang(rd(-5), math.sin(hrp.RotVelocity.Y / 30), math.sin(hrp.RotVelocity.Y / 5)), 0.3)
2461
        lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(0), rd(0)), 0.3)
2462
        if not ymmu then
2463
          lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(5 * cos(sine / 5)), rd(-20 * cos(sine / 5)), rd(90 * cos(sine / 5))), 0.6)
2464
          lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2465
        end
2466
        lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-5 * cos(sine / 5)), rd(-20 * cos(sine / 5)), rd(90 * cos(sine / 5))), 0.6)
2467
        lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2468
        lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(-1 - 1 * cos(sine / 60)), rd(-90 * cos(sine / 5))), 0.6)
2469
        lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2470
        lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(1 - 1 * cos(sine / 60)), rd(-90 * cos(sine / 5))), 0.6)
2471
        lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2472
      end
2473
      if animpose == "Jumping" then
2474
        lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.3)
2475
        lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-10), rd(0), rd(0)), 0.3)
2476
        if not ymmu then
2477
          lerpz(RS, "C0", RSC0 * cf(0, -0.5, 0.2) * ang(rd(-70), rd(-5), rd(-20)), 0.3)
2478
          lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2479
        end
2480
        lerpz(LS, "C0", LSC0 * cf(0, -0.5, 0.2) * ang(rd(-70), rd(5), rd(20)), 0.3)
2481
        lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2482
        lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-20), rd(-20), rd(-20)), 0.3)
2483
        lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2484
        lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-20), rd(20), rd(15)), 0.3)
2485
        lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2486
      end
2487
      if animpose == "Falling" then
2488
        lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.3)
2489
        lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.3)
2490
        if not ymmu then
2491
          lerpz(RS, "C0", RSC0 * cf(0, 0, 0.6) * ang(rd(-150), rd(-5), rd(-20)), 0.3)
2492
          lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2493
        end
2494
        lerpz(LS, "C0", LSC0 * cf(0, 0, 0.6) * ang(rd(-150), rd(5), rd(20)), 0.3)
2495
        lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2496
        lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-15), rd(-20)), 0.3)
2497
        lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2498
        lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-15), rd(15), rd(15)), 0.3)
2499
        lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2500
      end
2501
      if animpose == "TooFast" then
2502
        sine = sine + charge
2503
        lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.35 * cos(sine / 2)) * ang(rd(-20), math.sin(hrp.RotVelocity.Y / 20), math.sin(hrp.RotVelocity.Y / 2)), 0.3)
2504
        lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-15 - 5 * cos(sine / 2)), rd(0), rd(0)), 0.3)
2505
        if not ymmu then
2506
          lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(5 * cos(sine / 3)), rd(-120 * cos(sine / 3)), rd(110 * cos(sine / 3))), 0.6)
2507
          lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2508
        end
2509
        lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-5 * cos(sine / 3)), rd(-120 * cos(sine / 3)), rd(110 * cos(sine / 3))), 0.6)
2510
        lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2511
        lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(-1 - 1 * cos(sine / 60)), rd(-110 * cos(sine / 3))), 0.6)
2512
        lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2513
        lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(1 - 1 * cos(sine / 60)), rd(-110 * cos(sine / 3))), 0.6)
2514
        lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2515
      end
2516
      if animpose == "Sitting" then
2517
        lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2518
        lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2519
        if not ymmu then
2520
          lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3)
2521
          lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2522
        end
2523
        lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.3)
2524
        lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2525
        lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3)
2526
        lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2527
        lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.3)
2528
        lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2529
      end
2530
    end
2531
  end)