View difference between Paste ID: Nkzeepgm and Sm6tREqR
SHOW: | | - or go back to the newest paste.
1-
  plr = game.Players.LocalPlayer
1+
 -- This script has been converted to FE by iPxter
2
3
4
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
5
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
6
do
7-
  mouse = plr:GetMouse()
7+
	print("FE Compatibility code by 1000hack")
8
	script.Parent = Player.Character
9
10
	--RemoteEvent for communicating
11
	local Event = Instance.new("RemoteEvent")
12
	Event.Name = "UserInput_Event"
13
14
	--Fake event to make stuff like Mouse.KeyDown work
15
	local function fakeEvent()
16
		local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
17
		t.connect = t.Connect
18
		return t
19
	end
20
21
	--Creating fake input objects with fake variables
22
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
23
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
24
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
25
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
26
	end}
27
	--Merged 2 functions into one by checking amount of arguments
28
	CAS.UnbindAction = CAS.BindAction
29
30
	--This function will trigger the events that have been :Connect()'ed
31
	local function te(self,ev,...)
32
		local t = m[ev]
33
		if t and t._fakeEvent and t.Function then
34
			t.Function(...)
35
		end
36
	end
37
	m.TrigEvent = te
38
	UIS.TrigEvent = te
39
40
	Event.OnServerEvent:Connect(function(plr,io)
41
	    if plr~=Player then return end
42
		if io.isMouse then
43
			m.Target = io.Target
44
			m.Hit = io.Hit
45
		else
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 UIS = game:GetService("UserInputService")
66
	local input = function(io,a)
67
		if a then return end
68
		--Since InputObject is a client-side instance, we create and pass table instead
69
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
70
	end
71
	UIS.InputBegan:Connect(input)
72
	UIS.InputEnded:Connect(input)
73
74
	local Mouse = Player:GetMouse()
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
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
85
end
86
 plr = owner
87
  repeat
88
    wait(0.4)
89
  until plr.Character
90
  chr = plr.Character
91
  human = chr:FindFirstChild("Humanoid")
92
  selected = false
93
  equipd = false
94
  tors = chr.Torso
95
  rarm = chr["Right Arm"]
96
  larm = chr["Left Arm"]
97
  rleg = chr["Right Leg"]
98
  lleg = chr["Left Leg"]
99
  hrp = chr.HumanoidRootPart
100
  head = chr.Head
101
  anim = human.Animator
102
  activu = false
103
  torrent = false
104
  boxingu = false
105
  Heartbeat = Instance.new("BindableEvent")
106
  Heartbeat.Name = "Heartbeat"
107
  Heartbeat.Parent = script
108
  frame = 0.03333333333333333
109
  tf = 0
110
  game:GetService("RunService").Heartbeat:connect(function(s, p)
111
    tf = tf + s
112
    if tf >= frame then
113
      for i = 1, math.floor(tf / frame) do
114
        Heartbeat:Fire()
115
      end
116
      tf = tf - frame * math.floor(tf / frame)
117
    end
118
  end)
119
  function swait(num)
120
    if num == 0 or num == nil then
121
      Heartbeat.Event:wait()
122
    else
123
      for i = 1, num do
124
        Heartbeat.Event:wait()
125
      end
126
    end
127
  end
128
  tool = Instance.new("Tool")
129
  tool.CanBeDropped = false
130
  tool.RequiresHandle = false
131
  tool.TextureId = "rbxassetid://37338767"
132
  tool.ToolTip = "hehe yea boi"
133
  tool.Name = "fir"
134
  tool.Parent = plr.Backpack
135
  modz = Instance.new("Model")
136
  modz.Name = "memes"
137
  modz.Parent = chr
138
  RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
139
  RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
140
  LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
141
  LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
142
  RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
143
  RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
144
  LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
145
  LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
146
  NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
147
  NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
148
  RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
149
  RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
150
  RS = tors:FindFirstChild("Right Shoulder")
151
  LS = tors:FindFirstChild("Left Shoulder")
152
  RH = tors:FindFirstChild("Right Hip")
153
  LH = tors:FindFirstChild("Left Hip")
154
  RJ = hrp:FindFirstChild("RootJoint")
155
  N = tors:FindFirstChild("Neck")
156
  cf = CFrame.new
157
  ang = CFrame.Angles
158
  rd = math.rad
159
  rd2 = math.random
160
  function nooutline(p)
161
    p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BottomSurface = 10, 10, 10, 10, 10, 10
162
  end
163
  function makepart(color, name, reflec, mater, parnt, cfram)
164
    local port = Instance.new("Part")
165
    port.BrickColor = BrickColor.new(color)
166
    port.Name = name
167
    port.Transparency = 1
168
    nooutline(port)
169
    port.Reflectance = reflec
170
    port.Material = mater
171
    port.Anchored = false
172
    port.CanCollide = false
173
    port.Locked = true
174
    port.Size = Vector3.new(0.2, 0.2, 0.2)
175
    port.Parent = parnt
176
    return port
177
  end
178
  function makemesh(meshtype, scale, meshid, parent)
179
    local mes = Instance.new("SpecialMesh")
180
    mes.MeshType = meshtype
181
    mes.Scale = scale
182
    if meshtype == "FileMesh" then
183
      mes.MeshId = meshid
184
    end
185
    mes.Parent = parent
186
    return mes
187
  end
188
  function makeweld(parent, p0, p1, c0, c1)
189
    local wel = Instance.new("Weld")
190
    wel.Part0 = p0
191
    wel.Part1 = p1
192
    wel.C0 = c0
193
    if c1 ~= nil then
194
      wel.C1 = c1
195
    end
196
    wel.Parent = parent
197
    return wel
198
  end
199
  function vidp(prnt)
200
    local s = Instance.new("ParticleEmitter")
201
    s.Enabled = false
202
    s.LockedToPart = true
203
    s.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803))
204
    s.LightEmission = 0.6
205
    s.Size = NumberSequence.new({
206
      NumberSequenceKeypoint.new(0, 0.275, 0),
207
      NumberSequenceKeypoint.new(0.406, 0.762, 0),
208
      NumberSequenceKeypoint.new(0.433, 2.05, 0.75),
209
      NumberSequenceKeypoint.new(0.476, 0.625, 0),
210
      NumberSequenceKeypoint.new(1, 0.05, 0)
211
    })
212
    s.Texture = "rbxassetid://31270182"
213
    s.Transparency = NumberSequence.new({
214
      NumberSequenceKeypoint.new(0, 0.6, 0),
215
      NumberSequenceKeypoint.new(0.89, 0.6, 0),
216
      NumberSequenceKeypoint.new(1, 1, 0)
217
    })
218
    s.Name = "vid"
219
    s.Lifetime = NumberRange.new(0.2)
220
    s.Rate = 25
221
    s.Speed = NumberRange.new(7, 10)
222
    s.VelocitySpread = 360
223
    s.Parent = prnt
224
    local s2 = Instance.new("ParticleEmitter")
225
    s2.Enabled = false
226
    s2.LockedToPart = false
227
    s2.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803))
228
    s2.LightEmission = 0.6
229
    s2.Size = NumberSequence.new({
230
      NumberSequenceKeypoint.new(0, 0, 0),
231
      NumberSequenceKeypoint.new(0.853, 0.125, 0.1),
232
      NumberSequenceKeypoint.new(1, 0, 0)
233
    })
234
    s2.Texture = "rbxassetid://31270182"
235
    s2.Transparency = NumberSequence.new({
236
      NumberSequenceKeypoint.new(0, 0.6, 0),
237
      NumberSequenceKeypoint.new(0.89, 0.6, 0),
238
      NumberSequenceKeypoint.new(1, 1, 0)
239
    })
240
    s2.Name = "vid2"
241
    s2.Lifetime = NumberRange.new(0.5)
242
    s2.Rate = 150
243
    s2.Speed = NumberRange.new(2, 6)
244
    s2.VelocitySpread = 360
245
    s2.Parent = prnt
246
  end
247
  function glow(tz, paz, length)
248
    if tz.Parent:FindFirstChildOfClass("Humanoid") and paz.Transparency == 1 then
249
      do
250
        local s = Instance.new("Sound")
251
        s.SoundId = "rbxassetid://221727606"
252
        s.Volume = 0.25
253
        s.Pitch = math.random(9, 11) / 10
254
        s.Parent = paz
255
        s:Play()
256
        local hmesh = Instance.new("SpecialMesh")
257
        hmesh.MeshType = "FileMesh"
258
        hmesh.MeshId = "NOSSIN"
259
        hmesh.Parent = paz.Parent
260
        paz.Transparency = 0.55
261
        paz.vid.Enabled = true
262
        paz.vid2.Enabled = true
263
        delay(length, function()
264
          paz.Transparency = 1
265
          paz.vid.Enabled = false
266
          paz.vid2.Enabled = false
267
          hmesh:Destroy()
268
          s:Destroy()
269
        end)
270
      end
271
    end
272
  end
273
  function makeglow()
274
    for _, p in pairs(chr:GetChildren()) do
275
      if p.ClassName == "Accessory" then
276
        do
277
          local h = p:FindFirstChildOfClass("Part")
278
          local nh = h:Clone()
279
          for _, n in ipairs(nh:GetChildren()) do
280
            if n.ClassName == "Attachment" or n.ClassName == "Motor6D" then
281
              n:Destroy()
282
            end
283
          end
284
          nooutline(nh)
285
          nh.Parent = nil
286
          nh.CFrame = h.CFrame
287
          nh.Transparency = 1
288
          nh.Name = "Glow"
289
          nh.Material = "Neon"
290
          nh.BrickColor = BrickColor.new("Teal")
291
          nh.CustomPhysicalProperties = PhysicalProperties.new(0.2, 0.3, 0.5)
292
          nh.CanCollide = false
293
          nh.Parent = h
294
          makeweld(nh, nh, h, cf(0, 0, 0))
295
          local m = nh:FindFirstChildOfClass("SpecialMesh")
296
          m.Scale = m.Scale + Vector3.new(0.06, 0.06, 0.06)
297
          m.TextureId = ""
298
          vidp(nh)
299
          nh.Touched:connect(function(po)
300
            glow(po, nh, 0.8)
301
          end)
302
        end
303
      elseif p.ClassName == "Part" and p ~= hrp then
304
        do
305
          local n = p:Clone()
306
          for _, m in ipairs(n:GetChildren()) do
307
            if m.ClassName == "Attachment" or m.ClassName == "Motor6D" then
308
              m:Destroy()
309
            end
310
          end
311
          nooutline(n)
312
          n.Parent = nil
313
          n.Transparency = 1
314
          n.Material = "Neon"
315
          n.Name = "Glow"
316
          n.BrickColor = BrickColor.new("Teal")
317
          n.CFrame = p.CFrame
318
          n.CustomPhysicalProperties = PhysicalProperties.new(0.2, 0.3, 0.5)
319
          n.CanCollide = false
320
          n.Parent = p
321
          makeweld(n, n, p, cf(0, 0, 0))
322
          vidp(n)
323
          n.Touched:connect(function(po)
324
            glow(po, n, 0.8)
325
          end)
326
          if n:FindFirstChildOfClass("Decal") then
327
            n:FindFirstChildOfClass("Decal"):Destroy()
328
          end
329
          if p:FindFirstChildOfClass("SpecialMesh") then
330
            local c = p:FindFirstChildOfClass("SpecialMesh"):Clone()
331
            c.Parent = nil
332
            c.Scale = c.Scale + Vector3.new(0.05, 0.05, 0.05)
333
            c.Parent = n
334
          else
335
            local m = Instance.new("BlockMesh")
336
            m.Scale = Vector3.new(1.05, 1.025, 1.05)
337
            if p == tors then
338
              m.Scale = Vector3.new(1.05, 1.05, 1.05)
339
            end
340
            m.Parent = n
341
          end
342
        end
343
      end
344
    end
345
  end
346
  makeglow()
347
  function lerpz(joint, prop, cfrmz, alp)
348
    joint[prop] = joint[prop]:lerp(cfrmz, alp)
349
  end
350
  lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
351
  lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
352
  lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
353
  lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
354
  lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
355
  lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
356
  lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
357
  lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
358
  lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
359
  lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
360
  function resetlerp()
361
    RJ.C0 = RJC0
362
    RJ.C1 = RJC1
363
    N.C0 = NC0
364
    N.C1 = NC1
365
    RS.C0 = RSC0
366
    RS.C1 = RSC1
367
    LS.C0 = LSC0
368
    LS.C1 = LSC1
369
    RH.C0 = RHC0
370
    RH.C1 = RHC1
371
    LH.C0 = LHC0
372
  end
373
  local ign = {chr}
374
  function proj(cframe)
375
    coroutine.resume(coroutine.create(function()
376
      local mis = Instance.new("Part")
377
      mis.Anchored = true
378
      mis.CanCollide = false
379
      mis.Size = Vector3.new(1, 1, 1)
380
      mis.Transparency = 1
381
      mis.Name = "pew"
382
      mis.CFrame = cframe
383
      mis.Parent = workspace
384
      local s = Instance.new("ParticleEmitter")
385
      s.Enabled = true
386
      s.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803))
387
      s.LightEmission = 0.6
388
      s.Size = NumberSequence.new({
389
        NumberSequenceKeypoint.new(0, 0.4, 0),
390
        NumberSequenceKeypoint.new(0.0241, 0.0625, 0),
391
        NumberSequenceKeypoint.new(0.0299, 0.66, 0.22),
392
        NumberSequenceKeypoint.new(0.0344, 0.0225, 0),
393
        NumberSequenceKeypoint.new(1, 0, 0)
394
      })
395
      s.Texture = "rbxassetid://31270182"
396
      s.Transparency = NumberSequence.new({
397
        NumberSequenceKeypoint.new(0, 0.6, 0),
398
        NumberSequenceKeypoint.new(0.89, 0.6, 0),
399
        NumberSequenceKeypoint.new(1, 1, 0)
400
      })
401
      s.Name = "vid"
402
      s.Lifetime = NumberRange.new(1)
403
      s.ZOffset = 0
404
      s.Rate = 3000
405
      s.Speed = NumberRange.new(25, 50)
406
      s.VelocitySpread = 20
407
      s.EmissionDirection = "Back"
408
      s.Parent = mis
409
      game.Debris:AddItem(mis, 10)
410
      table.insert(ign, mis)
411
      local wat = 0
412
      local derp = false
413
      local v = Instance.new("Sound")
414
      v.SoundId = "rbxassetid://221727606"
415
      v.Volume = 0.5
416
      v.Looped = true
417
      v.EmitterSize = 15
418
      v.MaxDistance = 40
419
      v.Pitch = math.random(12, 13) / 10
420
      v.Parent = mis
421
      v:Play()
422
      repeat
423
        swait()
424
        wat = wat + 1
425
        local ry = Ray.new(mis.Position, mis.CFrame.lookVector * 8)
426
        local prt, pos = workspace:FindPartOnRayWithIgnoreList(ry, ign, false, true)
427
        if prt and pos and 1 > prt.Transparency then
428
          derp = true
429
          mis.CFrame = CFrame.new(pos)
430
          v:Stop()
431
          s.Enabled = false
432
          s.Speed = NumberRange.new(15, 25)
433
          s.Lifetime = NumberRange.new(5)
434
          s.VelocitySpread = 360
435
          s:Emit(40)
436
          local n = Instance.new("Sound")
437
          n.Volume = 0.75
438
          n.Pitch = rd2(9, 11) / 10
439
          n.SoundId = "rbxassetid://184374162"
440
          n.Parent = mis
441
          n:Play()
442
          hito(mis, 300, 500000, 0.01)
443
        else
444
          mis.CFrame = mis.CFrame * CFrame.new(0, 0, -5)
445
        end
446
      until wat == 50 or derp == true
447
      if wat == 50 then
448
        mis:Destroy()
449
      end
450
      if derp == true then
451
        game.Debris:AddItem(mis, 1)
452
      end
453
    end))
454
  end
455
  function makesword(swocfrm, weldp1, cframe0)
456
    local ay = function(name, size, parnt, cfram)
457
      local port = Instance.new("Part")
458
      port.BrickColor = BrickColor.new("Teal")
459
      port.Name = name
460
      port.Transparency = 1
461
      nooutline(port)
462
      port.Material = "Neon"
463
      port.Anchored = false
464
      port.CanCollide = false
465
      port.Locked = true
466
      port.Size = size
467
      port.Parent = parnt
468
      return port
469
    end
470
    local swordmo = Instance.new("Model")
471
    swordmo.Name = "swod"
472
    swordmo.Parent = modz
473
    local booval = Instance.new("BoolValue")
474
    booval.Value = true
475
    booval.Name = "mememem"
476
    booval.Parent = swordmo
477
    local function pr(par, amt, sped)
478
      local s = Instance.new("ParticleEmitter")
479
      s.Enabled = false
480
      s.LockedToPart = true
481
      s.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803))
482
      s.LightEmission = 0.6
483
      s.Size = NumberSequence.new({
484
        NumberSequenceKeypoint.new(0, 0.15, 0),
485
        NumberSequenceKeypoint.new(0.05, 0.3, 0.3),
486
        NumberSequenceKeypoint.new(0.1, 0.15, 0),
487
        NumberSequenceKeypoint.new(0.8, 0.2, 0),
488
        NumberSequenceKeypoint.new(1, 0, 0)
489
      })
490
      s.Texture = "rbxassetid://31270182"
491
      s.Transparency = NumberSequence.new({
492
        NumberSequenceKeypoint.new(0, 0.7, 0),
493
        NumberSequenceKeypoint.new(0.89, 0.7, 0),
494
        NumberSequenceKeypoint.new(1, 1, 0)
495
      })
496
      s.Name = "vid"
497
      s.Lifetime = NumberRange.new(0.75)
498
      s.Rate = 1
499
      s.Speed = sped
500
      s.VelocitySpread = 3
501
      s.Parent = par
502
      coroutine.resume(coroutine.create(function()
503
        while booval.Value do
504
          swait()
505
          s:Emit(amt)
506
        end
507
      end))
508
      return s
509
    end
510
    local ping = function(derp)
511
      local s3 = Instance.new("ParticleEmitter")
512
      s3.Enabled = false
513
      s3.LockedToPart = false
514
      s3.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803))
515
      s3.LightEmission = 0.6
516
      s3.Size = NumberSequence.new({
517
        NumberSequenceKeypoint.new(0, 0.35, 0),
518
        NumberSequenceKeypoint.new(0.2, 0.25, 0.25),
519
        NumberSequenceKeypoint.new(0.4, 0.15, 0),
520
        NumberSequenceKeypoint.new(0.853, 0.25, 0.1),
521
        NumberSequenceKeypoint.new(1, 0, 0)
522
      })
523
      s3.Texture = "rbxassetid://31270182"
524
      s3.Transparency = NumberSequence.new({
525
        NumberSequenceKeypoint.new(0, 0.4, 0),
526
        NumberSequenceKeypoint.new(0.89, 0.6, 0),
527
        NumberSequenceKeypoint.new(1, 1, 0)
528
      })
529
      s3.Name = "vid3"
530
      s3.Lifetime = NumberRange.new(0.5)
531
      s3.Acceleration = Vector3.new(0, 5, 0)
532
      s3.Rate = 350
533
      s3.Speed = NumberRange.new(10, 15)
534
      s3.VelocitySpread = 360
535
      s3.Parent = derp
536
      swait()
537
      s3:Emit(120)
538
    end
539
    local b1 = ay("b1", Vector3.new(0.3, 2.5, 0.3), swordmo, swocfrm)
540
    local p1 = pr(b1, 5, NumberRange.new(0, 1))
541
    if weldp1 then
542
      local w1 = makeweld(b1, b1, weldp1, cframe0, nil)
543
    end
544
    local bla = Instance.new("Sound")
545
    bla.SoundId = "rbxassetid://61425219"
546
    bla.Volume = 0.75
547
    bla.Pitch = math.random(7, 9) / 10
548
    bla.Parent = b1
549
    bla:Play()
550
    local b2 = ay("b2", Vector3.new(0.6, 0.75, 0.4), swordmo, swocfrm)
551
    local p2 = pr(b2, 1, NumberRange.new(0, 1))
552
    local w2 = makeweld(b2, b2, b1, ang(rd(180), rd(0), rd(0)) * cf(0, 1.5, 0), nil)
553
    local b3 = ay("b3", Vector3.new(0.7, 0.75, 0.5), swordmo, swocfrm)
554
    local p3 = pr(b3, 1, NumberRange.new(0, 3))
555
    local w3 = makeweld(b3, b3, b1, ang(rd(180), rd(90), rd(0)) * cf(0, -1.5, 0), nil)
556
    local b4 = ay("b4", Vector3.new(0.3, 0.75, 0.3), swordmo, swocfrm)
557
    local p4 = pr(b4, 1, NumberRange.new(1, 2))
558
    local w4 = makeweld(b4, b4, b3, cf(0, -0.5, 0) * ang(rd(70), rd(0), rd(0)), nil)
559
    local b5 = ay("b5", Vector3.new(0.3, 0.75, 0.3), swordmo, swocfrm)
560
    local p5 = pr(b5, 1, NumberRange.new(1, 2))
561
    local w5 = makeweld(b5, b5, b3, cf(0, -0.5, 0) * ang(rd(290), rd(0), rd(0)), nil)
562
    local b6 = ay("b6", Vector3.new(0.3, 0.5, 0.3), swordmo, swocfrm)
563
    local p6 = pr(b6, 1, NumberRange.new(1, 2))
564
    local w6 = makeweld(b6, b6, b3, cf(0, -0.25, 0) * ang(rd(35), rd(0), rd(0)), nil)
565
    local b7 = ay("b7", Vector3.new(0.3, 0.5, 0.3), swordmo, swocfrm)
566
    local p7 = pr(b7, 1, NumberRange.new(1, 2))
567
    local w7 = makeweld(b7, b7, b3, cf(0, -0.25, 0) * ang(rd(325), rd(0), rd(0)), nil)
568
    local b8 = ay("b8", Vector3.new(0.5, 5.5, 0.2), swordmo, swocfrm)
569
    local p8 = pr(b8, 9, NumberRange.new(1, 3))
570
    local w8 = makeweld(b8, b8, b1, ang(rd(0), rd(0), rd(0)) * cf(0, -4, 0), nil)
571
    local anbo = Instance.new("Part")
572
    anbo.Anchored = true
573
    anbo.CanCollide = false
574
    anbo.Size = Vector3.new(2.5, 9, 1)
575
    anbo.CFrame = b8.CFrame * cf(0, -1.5, 0)
576
    anbo.Transparency = 1
577
    anbo.Parent = workspace
578
    game.Debris:AddItem(anbo, 2)
579
    ping(anbo)
580
    local whos = Instance.new("ParticleEmitter")
581
    whos.Enabled = false
582
    whos.LockedToPart = false
583
    whos.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803))
584
    whos.LightEmission = 0.6
585
    whos.Size = NumberSequence.new({
586
      NumberSequenceKeypoint.new(0, 0.15, 0),
587
      NumberSequenceKeypoint.new(0.05, 0.3, 0.3),
588
      NumberSequenceKeypoint.new(0.1, 0.15, 0),
589
      NumberSequenceKeypoint.new(0.8, 0.2, 0),
590
      NumberSequenceKeypoint.new(1, 0, 0)
591
    })
592
    whos.Texture = "rbxassetid://31270182"
593
    whos.Transparency = NumberSequence.new({
594
      NumberSequenceKeypoint.new(0, 0.7, 0),
595
      NumberSequenceKeypoint.new(0.89, 0.7, 0),
596
      NumberSequenceKeypoint.new(1, 1, 0)
597
    })
598
    whos.Name = "whoos"
599
    whos.Lifetime = NumberRange.new(0.75)
600
    whos.Rate = 2000
601
    whos.Speed = NumberRange.new(0)
602
    whos.VelocityInheritance = 0.8
603
    whos.VelocitySpread = 3
604
    whos.Parent = b8
605
    return swordmo
606
  end
607
  function removesword(swordmodel)
608
    swordmodel.mememem.Value = false
609
    local hn = swordmodel.b1
610
    hn.Anchored = true
611
    if hn:FindFirstChildOfClass("Weld") then
612
      hn:FindFirstChildOfClass("Weld"):Destroy()
613
    end
614
    local bla = Instance.new("Sound")
615
    bla.SoundId = "rbxassetid://192783601"
616
    bla.Volume = 1.25
617
    bla.Pitch = math.random(9, 10) / 10
618
    bla.Parent = hn
619
    bla:Play()
620
    local ping = function(derp)
621
      local s3 = Instance.new("ParticleEmitter")
622
      s3.Enabled = false
623
      s3.LockedToPart = false
624
      s3.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803))
625
      s3.LightEmission = 0.6
626
      s3.Size = NumberSequence.new({
627
        NumberSequenceKeypoint.new(0, 0.35, 0),
628
        NumberSequenceKeypoint.new(0.2, 0.25, 0.25),
629
        NumberSequenceKeypoint.new(0.4, 0.15, 0),
630
        NumberSequenceKeypoint.new(0.853, 0.25, 0.1),
631
        NumberSequenceKeypoint.new(1, 0, 0)
632
      })
633
      s3.Texture = "rbxassetid://31270182"
634
      s3.Transparency = NumberSequence.new({
635
        NumberSequenceKeypoint.new(0, 0.4, 0),
636
        NumberSequenceKeypoint.new(0.89, 0.6, 0),
637
        NumberSequenceKeypoint.new(1, 1, 0)
638
      })
639
      s3.Name = "vid3"
640
      s3.Lifetime = NumberRange.new(0.5)
641
      s3.Acceleration = Vector3.new(0, 5, 0)
642
      s3.Rate = 350
643
      s3.Speed = NumberRange.new(10, 15)
644
      s3.VelocitySpread = 360
645
      s3.Parent = derp
646
      swait()
647
      s3:Emit(180)
648
    end
649
    local anbo = Instance.new("Part")
650
    anbo.Anchored = true
651
    anbo.CanCollide = false
652
    anbo.Size = Vector3.new(2.5, 9, 1)
653
    anbo.CFrame = swordmodel.b8.CFrame * cf(0, -1.5, 0)
654
    anbo.Transparency = 1
655
    anbo.Parent = workspace
656
    game.Debris:AddItem(anbo, 2)
657
    ping(anbo)
658
    game.Debris:AddItem(swordmodel, 1.25)
659
  end
660
  function eswing()
661
    if activu == true or selected == false then
662
      return
663
    end
664
    activu = true
665
    local sw = makesword(hrp.CFrame, rarm, ang(rd(90), rd(0), rd(90)) * cf(0, 1, 0.5))
666
    animo(false)
667
    local hwel = sw.b1:FindFirstChildOfClass("Weld")
668
    local hwelc0 = hwel.C0
669
    local whoo = sw.b8:FindFirstChild("whoos")
670
    for _ = 1, 12 do
671
      swait()
672
      lerpz(RJ, "C0", RJC0 * cf(0, 0.75, 0) * ang(rd(0), rd(0), rd(-70)), 0.5)
673
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(-6), rd(70)), 0.5)
674
      lerpz(N, "C1", NC1 * cf(0, 0, 0) * ang(rd(-13), rd(0), rd(0)), 0.5)
675
      lerpz(RS, "C0", RSC0 * cf(0.3, 0.25, 0.55) * ang(rd(-30), rd(-70), rd(15)), 0.5)
676
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(60), rd(0)), 0.5)
677
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(10), rd(5), rd(10)), 0.5)
678
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
679
      lerpz(RH, "C0", RHC0 * cf(0.45, 0.05, -0.15) * ang(rd(-5), rd(60), rd(0)), 0.5)
680
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
681
      lerpz(LH, "C0", LHC0 * cf(0.45, 0.05, -0.35) * ang(rd(-5), rd(75), rd(0)), 0.5)
682
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
683
      hwel.C0 = hwel.C0:lerp(cf(-0.25, 0.25, 0) * ang(rd(0), rd(0), rd(40)) * hwelc0, 0.5)
684
    end
685
    for c = 1, 3 do
686
      swait()
687
      lerpz(RJ, "C0", RJC0 * cf(0, -0.25, 0) * ang(rd(0), rd(0), rd(10)), 0.1 + c / 5)
688
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(-10)), 0.1 + c / 5)
689
      lerpz(N, "C1", NC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + c / 5)
690
      lerpz(RS, "C0", RSC0 * cf(-0.2, 0.35, 0.9) * ang(rd(-20), rd(170), rd(15)), 0.1 + c / 5)
691
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + c / 5)
692
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-20), rd(5), rd(10)), 0.1 + c / 5)
693
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + c / 5)
694
      lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(1)), 0.1 + c / 5)
695
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + c / 5)
696
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(10), rd(-1)), 0.1 + c / 5)
697
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + c / 5)
698
      hwel.C0 = hwel.C0:lerp(cf(-0.15, 0.15, 0) * ang(rd(0), rd(0), rd(10)) * hwelc0, 0.1 + c / 5)
699
    end
700
    whoo.Enabled = true
701
    for _ = 1, 14 do
702
      swait()
703
      hito(sw.b8, 3, 35, 0.8)
704
      lerpz(RJ, "C0", RJC0 * cf(0, -0.75, 0) * ang(rd(0), rd(0), rd(60)), 0.6)
705
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(-40)), 0.6)
706
      lerpz(N, "C1", NC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
707
      lerpz(RS, "C0", RSC0 * cf(-0.1, 0.65, 0.9) * ang(rd(-15), rd(135), rd(-165)), 0.6)
708
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
709
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-30), rd(5), rd(10)), 0.6)
710
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
711
      lerpz(RH, "C0", RHC0 * cf(-0.25, 0, 0) * ang(rd(-5), rd(-50), rd(1)), 0.6)
712
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
713
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(10), rd(-1)), 0.6)
714
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
715
      hwel.C0 = hwel.C0:lerp(cf(-0.25, 0.25, 0) * ang(rd(0), rd(0), rd(40)) * hwelc0, 0.6)
716
    end
717
    whoo.Enabled = false
718
    removesword(sw)
719
    animo(true)
720
    for _ = 1, 10 do
721
      swait()
722
      lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
723
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
724
      lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
725
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
726
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
727
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
728
      lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
729
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
730
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
731
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
732
    end
733
    resetlerp()
734
    activu = false
735
  end
736
  function torentmod()
737
    if selected == false or activu == true then
738
      return
739
    end
740
    if torrent == false then
741
      torrent = true
742
      do
743
        local viarm = Instance.new("Part")
744
        nooutline(viarm)
745
        viarm.CanCollide = false
746
        viarm.Transparency = 1
747
        viarm.Name = "shootingu"
748
        viarm.Size = Vector3.new(1.25, 1, 1.25)
749
        viarm.CFrame = rarm.CFrame
750
        viarm.Parent = modz
751
        makeweld(viarm, viarm, rarm, cf(0, 1, 0))
752
        s = Instance.new("ParticleEmitter")
753
        s.Enabled = true
754
        s.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803))
755
        s.LightEmission = 0.6
756
        s.Size = NumberSequence.new({
757
          NumberSequenceKeypoint.new(0, 0, 0),
758
          NumberSequenceKeypoint.new(0.0241, 0.0925, 0),
759
          NumberSequenceKeypoint.new(0.0299, 0.56, 0.25),
760
          NumberSequenceKeypoint.new(0.0344, 0.0925, 0),
761
          NumberSequenceKeypoint.new(1, 0, 0)
762
        })
763
        s.Texture = "rbxassetid://31270182"
764
        s.Transparency = NumberSequence.new({
765
          NumberSequenceKeypoint.new(0, 0.6, 0),
766
          NumberSequenceKeypoint.new(0.89, 0.6, 0),
767
          NumberSequenceKeypoint.new(1, 1, 0)
768
        })
769
        s.Name = "vid"
770
        s.Acceleration = viarm.CFrame.upVector * 5
771
        s.Lifetime = NumberRange.new(1)
772
        s.ZOffset = 1
773
        s.Rate = 1250
774
        s.Speed = NumberRange.new(2, 3)
775
        s.VelocitySpread = 180
776
        s.Parent = viarm
777
        coroutine.resume(coroutine.create(function()
778
          while s do
779
            swait()
780
            s.Acceleration = viarm.CFrame.upVector * 6
781
          end
782
        end))
783
        coroutine.resume(coroutine.create(function()
784
          while torrent == true do
785
            swait()
786
            lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
787
            lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
788
            lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3)
789
            lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
790
            lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
791
            lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
792
            lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
793
            lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
794
            lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
795
            lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
796
          end
797
        end))
798
        local shootinz = false
799
        hd = tool.Activated:connect(function()
800
          shootinz = true
801
          repeat
802
            swait(3)
803
            lerpz(RS, "C0", RSC0 * cf(rd2(-3, -1) / 10, 0, 0) * ang(rd(rd2(-5, 5)), rd(rd2(-5, 5)), rd(rd2(95, 105))), 0.8)
804
            proj(CFrame.new(viarm.Position, mouse.Hit.p + Vector3.new(rd2(-1, 1), rd2(-1, 1), 0)))
805
            local sd = Instance.new("Sound")
806
            sd.Volume = 0.3
807
            sd.Pitch = rd2(11, 13) / 10
808
            sd.SoundId = "rbxassetid://221727606"
809
            sd.Parent = viarm
810
            local sd2 = sd:Clone()
811
            sd2.SoundId = "rbxassetid://238381567"
812
            sd2.Parent = viarm
813
            sd:Play()
814
            sd2:Play()
815
            game.Debris:AddItem(sd, 1)
816
            game.Debris:AddItem(sd2, 1)
817
          until shootinz == false or torrent == false
818
        end)
819
        hu = tool.Deactivated:connect(function()
820
          shootinz = false
821
        end)
822
      end
823
    elseif torrent == true then
824
      hd:Disconnect()
825
      hu:Disconnect()
826
      torrent = false
827
      modz:FindFirstChild("shootingu"):FindFirstChild("vid").Enabled = false
828
      for _ = 1, 10 do
829
        swait()
830
        lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
831
        lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
832
        lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
833
        lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
834
        lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
835
        lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
836
        lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
837
        lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
838
        lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
839
        lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
840
      end
841
      resetlerp()
842
      modz:FindFirstChild("shootingu"):Destroy()
843
    end
844
  end
845
  function suprfast()
846
    if selected == false or activu == true then
847
      return
848
    end
849
    activu = true
850
    human.WalkSpeed = human.WalkSpeed + 30
851
    human.JumpPower = human.JumpPower + 45
852
    for _, d in ipairs(chr:GetChildren()) do
853
      if d.ClassName == "Accessory" then
854
        swait()
855
        glow(hrp, d:FindFirstChildOfClass("Part"):FindFirstChild("Glow"), 2)
856
        coroutine.resume(coroutine.create(function()
857
          local clones = {}
858
          for i = 1, 5 do
859
            local v = d:FindFirstChildOfClass("Part"):FindFirstChild("Glow"):Clone()
860
            v.Name = "nyoo"
861
            v.vid:Destroy()
862
            v.vid2:Destroy()
863
            v.AccessoryWeld:Destroy()
864
            v.Weld:Destroy()
865
            v.Transparency = 0.9
866
            v.Anchored = true
867
            v.Parent = modz
868
            table.insert(clones, v)
869
          end
870
          num = 0
871
          repeat
872
            swait()
873
            num = num % 5 + 1
874
            clones[num].CFrame = d:FindFirstChildOfClass("Part"):FindFirstChild("Glow").CFrame
875
          until activu == false
876
          for _, b in ipairs(clones) do
877
            swait()
878
            b:Destroy()
879
          end
880
        end))
881
      elseif d.ClassName == "Part" and d ~= hrp then
882
        swait()
883
        glow(hrp, d:FindFirstChild("Glow"), 2)
884
        coroutine.resume(coroutine.create(function()
885
          local clones = {}
886
          for i = 1, 5 do
887
            local v = d:FindFirstChild("Glow"):Clone()
888
            v.Name = "lel"
889
            v.vid:Destroy()
890
            v.vid2:Destroy()
891
            v.Weld:Destroy()
892
            v.Transparency = 0.9
893
            v.Anchored = true
894
            v.Parent = modz
895
            table.insert(clones, v)
896
          end
897
          num = 0
898
          repeat
899
            swait()
900
            num = num % 5 + 1
901
            clones[num].CFrame = d:FindFirstChild("Glow").CFrame
902
          until activu == false
903
          for _, b in ipairs(clones) do
904
            swait()
905
            b:Destroy()
906
          end
907
        end))
908
      end
909
    end
910
    wait(2)
911
    activu = false
912
    human.WalkSpeed = human.WalkSpeed - 30
913
    human.JumpPower = human.JumpPower - 45
914
  end
915
  function fly()
916
    if selected == false or activu == true or torrent == true then
917
      return
918
    end
919
    local memedon = {}
920
    activu = true
921
    local emi = true
922
    local mp = Instance.new("Part")
923
    mp.Size = Vector3.new(0.2, 0.2, 0.2)
924
    mp.CanCollide = false
925
    mp.Transparency = 1
926
    mp.Parent = modz
927
    table.insert(memedon, mp)
928
    makeweld(mp, mp, tors, ang(rd(-30), rd(0), rd(0)) * CFrame.new(0, -0.5, -0.5), nil)
929
    local function pr(par, amt)
930
      local s = Instance.new("ParticleEmitter")
931
      s.Enabled = false
932
      s.LockedToPart = true
933
      s.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803))
934
      s.LightEmission = 0.6
935
      s.Size = NumberSequence.new({
936
        NumberSequenceKeypoint.new(0, 0.3, 0),
937
        NumberSequenceKeypoint.new(0.8, 0.3, 0),
938
        NumberSequenceKeypoint.new(1, 0, 0)
939
      })
940
      s.Texture = "rbxassetid://31270182"
941
      s.Transparency = NumberSequence.new({
942
        NumberSequenceKeypoint.new(0, 0.7, 0),
943
        NumberSequenceKeypoint.new(0.89, 0.7, 0),
944
        NumberSequenceKeypoint.new(1, 1, 0)
945
      })
946
      s.Name = "vid"
947
      s.Lifetime = NumberRange.new(0.75)
948
      s.Rate = 1
949
      s.Speed = NumberRange.new(10, 15)
950
      s.VelocitySpread = 3
951
      s.Parent = par
952
      coroutine.resume(coroutine.create(function()
953
        while emi do
954
          swait()
955
          s:Emit(amt)
956
        end
957
      end))
958
      return s
959
    end
960
    for _, d in ipairs(chr:GetChildren()) do
961
      if d.ClassName == "Accessory" then
962
        glow(hrp, d:FindFirstChildOfClass("Part"):FindFirstChild("Glow"), 1.5)
963
      elseif d.ClassName == "Part" and d ~= hrp then
964
        glow(hrp, d:FindFirstChild("Glow"), 1.5)
965
      end
966
    end
967
    local f1 = makepart("Teal", "w1", 1, "Neon", modz, hrp.CFrame)
968
    f1.Size = Vector3.new(0.4, 0.4, 0.4)
969
    local p1 = pr(f1, 12)
970
    p1.Acceleration = Vector3.new(-15, 0, 15)
971
    local w1 = makeweld(f1, f1, mp, CFrame.Angles(rd(-5), rd(10), rd(-50)) * CFrame.new(0.25, 0, 0), nil)
972
    local f2 = makepart("Teal", "w2", 1, "Neon", modz, hrp.CFrame)
973
    f2.Size = Vector3.new(0.4, 0.4, 0.4)
974
    local p2 = pr(f2, 12)
975
    p2.Acceleration = Vector3.new(15, 0, 15)
976
    local w2 = makeweld(f2, f2, mp, CFrame.Angles(rd(-5), rd(-10), rd(50)) * CFrame.new(-0.25, 0, 0), nil)
977
    local f3 = makepart("Teal", "w3", 1, "Neon", modz, hrp.CFrame)
978
    f3.Size = Vector3.new(1.3, 0.6, 0.6)
979
    p3 = pr(f3, 4)
980
    p3.Speed = NumberRange.new(10, 12)
981
    local w3 = makeweld(f3, f3, mp, CFrame.Angles(rd(-40), rd(10), rd(-145)) * CFrame.new(2, -1, -0.5), nil)
982
    local f4 = makepart("Teal", "w4", 1, "Neon", modz, hrp.CFrame)
983
    f4.Size = Vector3.new(1.3, 0.6, 0.6)
984
    p4 = pr(f4, 4)
985
    p4.Speed = NumberRange.new(10, 12)
986
    local w4 = makeweld(f4, f4, mp, CFrame.Angles(rd(-40), rd(-10), rd(145)) * CFrame.new(-2, -1, -0.5), nil)
987
    local f5 = makepart("Teal", "w5", 1, "Neon", modz, hrp.CFrame)
988
    f5.Size = Vector3.new(1.3, 0.6, 0.6)
989
    p5 = pr(f5, 4)
990
    p5.Speed = NumberRange.new(10, 12)
991
    local w5 = makeweld(f5, f5, mp, CFrame.Angles(rd(-30), rd(-10), rd(-115)) * CFrame.new(3, -1.75, -1), nil)
992
    local f6 = makepart("Teal", "w6", 1, "Neon", modz, hrp.CFrame)
993
    f6.Size = Vector3.new(1.3, 0.6, 0.6)
994
    p6 = pr(f6, 4)
995
    p6.Speed = NumberRange.new(10, 12)
996
    local w6 = makeweld(f6, f6, mp, CFrame.Angles(rd(-30), rd(10), rd(115)) * CFrame.new(-3, -1.75, -1), nil)
997
    local f7 = makepart("Teal", "w7", 1, "Neon", modz, hrp.CFrame)
998
    f7.Size = Vector3.new(1.9, 0.6, 0.6)
999
    p7 = pr(f7, 6)
1000
    p7.Speed = NumberRange.new(10, 12)
1001
    local w7 = makeweld(f7, f7, mp, CFrame.Angles(rd(-40), rd(-5), rd(-140)) * CFrame.new(2.5, -1.65, -0.65), nil)
1002
    local f8 = makepart("Teal", "w8", 1, "Neon", modz, hrp.CFrame)
1003
    f8.Size = Vector3.new(1.9, 0.6, 0.6)
1004
    p8 = pr(f8, 6)
1005
    p8.Speed = NumberRange.new(10, 12)
1006
    local w8 = makeweld(f8, f8, mp, CFrame.Angles(rd(-40), rd(5), rd(140)) * CFrame.new(-2.5, -1.65, -0.65), nil)
1007
    t1 = pr(f1, 2)
1008
    t1.LockedToPart = false
1009
    t2 = pr(f2, 2)
1010
    t2.LockedToPart = false
1011
    t3 = pr(f3, 2)
1012
    t3.LockedToPart = false
1013
    t4 = pr(f4, 2)
1014
    t4.LockedToPart = false
1015
    t5 = pr(f5, 2)
1016
    t5.LockedToPart = false
1017
    t6 = pr(f6, 2)
1018
    t6.LockedToPart = false
1019
    t7 = pr(f7, 2)
1020
    t7.LockedToPart = false
1021
    t8 = pr(f8, 2)
1022
    t8.LockedToPart = false
1023
    table.insert(memedon, f1)
1024
    table.insert(memedon, f2)
1025
    table.insert(memedon, f3)
1026
    table.insert(memedon, f4)
1027
    table.insert(memedon, f5)
1028
    table.insert(memedon, f6)
1029
    table.insert(memedon, f7)
1030
    table.insert(memedon, f8)
1031
    local sd = Instance.new("Sound")
1032
    sd.Volume = 1.5
1033
    sd.Pitch = rd2(10, 12) / 10
1034
    sd.SoundId = "rbxassetid://201858072"
1035
    sd.Parent = hrp
1036
    sd:Play()
1037
    game.Debris:AddItem(sd, 1)
1038
    human.PlatformStand = true
1039
    local bg = Instance.new("BodyGyro")
1040
    bg.MaxTorque = Vector3.new(15000, 15000, 15000)
1041
    bg.P = 2500
1042
    bg.D = 100
1043
    bg.CFrame = CFrame.new(hrp.Position, mouse.Hit.p)
1044
    bg.Parent = hrp
1045
    local bf = Instance.new("BodyVelocity")
1046
    bf.MaxForce = Vector3.new(15000, 15000, 15000)
1047
    bf.P = 2500
1048
    bf.Velocity = mouse.Hit.p - hrp.Position.unit * 200
1049
    bf.Parent = hrp
1050
    for d = 1, 100 do
1051
      swait()
1052
      bg.CFrame = CFrame.new(hrp.Position, mouse.Hit.p)
1053
      bf.Velocity = mouse.Hit.p - hrp.Position.unit * (200 - d * 2)
1054
      lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(80), rd(0), math.sin(-hrp.RotVelocity.Y / 5)), 0.4)
1055
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-70), rd(0), rd(0)), 0.4)
1056
      lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
1057
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
1058
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
1059
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
1060
      lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
1061
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
1062
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
1063
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
1064
    end
1065
    bf:Destroy()
1066
    bg:Destroy()
1067
    human.PlatformStand = false
1068
    emi = false
1069
    p1.LockedToPart = false
1070
    p2.LockedToPart = false
1071
    p3.LockedToPart = false
1072
    p4.LockedToPart = false
1073
    p5.LockedToPart = false
1074
    p6.LockedToPart = false
1075
    p7.LockedToPart = false
1076
    p8.LockedToPart = false
1077
    for _ = 1, 10 do
1078
      swait()
1079
      lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
1080
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
1081
      lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
1082
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
1083
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
1084
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
1085
      lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
1086
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
1087
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
1088
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
1089
    end
1090
    delay(0.5, function()
1091
      for _, l in ipairs(memedon) do
1092
        l:Destroy()
1093
      end
1094
    end)
1095
    resetlerp()
1096
    activu = false
1097
  end
1098
  function musiclel()
1099
    if selected == false or activu == true then
1100
      return
1101
    end
1102
    if boxingu == false then
1103
      boxingu = true
1104
      do
1105
        local watz = 1
1106
        local hmm = 1
1107
        local intens = 30
1108
        local deg = 20
1109
        local derp = makepart("Teal", "hurr", 0.25, "Neon", modz, hrp.CFrame)
1110
        derp.Locked = true
1111
        local s = Instance.new("ParticleEmitter")
1112
        s.Enabled = true
1113
        s.LockedToPart = true
1114
        s.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803))
1115
        s.LightEmission = 0.6
1116
        s.Size = NumberSequence.new({
1117
          NumberSequenceKeypoint.new(0, 0.275, 0),
1118
          NumberSequenceKeypoint.new(0.406, 0.762, 0),
1119
          NumberSequenceKeypoint.new(0.433, 1.5, 0.75),
1120
          NumberSequenceKeypoint.new(0.476, 0.625, 0),
1121
          NumberSequenceKeypoint.new(1, 0.05, 0)
1122
        })
1123
        s.Texture = "rbxassetid://31270182"
1124
        s.Transparency = NumberSequence.new({
1125
          NumberSequenceKeypoint.new(0, 0.6, 0),
1126
          NumberSequenceKeypoint.new(0.89, 0.6, 0),
1127
          NumberSequenceKeypoint.new(1, 1, 0)
1128
        })
1129
        s.Name = "vid"
1130
        s.Lifetime = NumberRange.new(0.2)
1131
        s.Rate = 75
1132
        s.Speed = NumberRange.new(7, 10)
1133
        s.VelocitySpread = 360
1134
        s.ZOffset = 1
1135
        s.Parent = derp
1136
        local s2 = Instance.new("ParticleEmitter")
1137
        s2.Enabled = true
1138
        s2.LockedToPart = false
1139
        s2.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803))
1140
        s2.LightEmission = 0.6
1141
        s2.Size = NumberSequence.new({
1142
          NumberSequenceKeypoint.new(0, 0, 0),
1143
          NumberSequenceKeypoint.new(0.853, 0.125, 0.1),
1144
          NumberSequenceKeypoint.new(1, 0, 0)
1145
        })
1146
        s2.Texture = "rbxassetid://31270182"
1147
        s2.Transparency = NumberSequence.new({
1148
          NumberSequenceKeypoint.new(0, 0.6, 0),
1149
          NumberSequenceKeypoint.new(0.89, 0.6, 0),
1150
          NumberSequenceKeypoint.new(1, 1, 0)
1151
        })
1152
        s2.Name = "vid2"
1153
        s2.Lifetime = NumberRange.new(0.5)
1154
        s2.Rate = 350
1155
        s2.Speed = NumberRange.new(2, 6)
1156
        s2.VelocitySpread = 360
1157
        s2.ZOffset = 1
1158
        s2.Parent = derp
1159
        local s3 = Instance.new("ParticleEmitter")
1160
        s3.Enabled = false
1161
        s3.LockedToPart = false
1162
        s3.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803))
1163
        s3.LightEmission = 0.6
1164
        s3.Size = NumberSequence.new({
1165
          NumberSequenceKeypoint.new(0, 0.45, 0),
1166
          NumberSequenceKeypoint.new(0.853, 0.25, 0.1),
1167
          NumberSequenceKeypoint.new(1, 0, 0)
1168
        })
1169
        s3.Texture = "rbxassetid://31270182"
1170
        s3.Transparency = NumberSequence.new({
1171
          NumberSequenceKeypoint.new(0, 0.6, 0),
1172
          NumberSequenceKeypoint.new(0.89, 0.6, 0),
1173
          NumberSequenceKeypoint.new(1, 1, 0)
1174
        })
1175
        s3.Name = "vid3"
1176
        s3.Lifetime = NumberRange.new(0.5)
1177
        s3.Acceleration = Vector3.new(0, 30, 0)
1178
        s3.Rate = 350
1179
        s3.Speed = NumberRange.new(20, 30)
1180
        s3.VelocitySpread = 360
1181
        s3.Parent = derp
1182
        derp.Anchored = true
1183
        derp.Transparency = 0.5
1184
        derp.Size = Vector3.new(3, 2, 2)
1185
        derp.CFrame = hrp.CFrame
1186
        local lol = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxassetid://151760030", derp)
1187
        local sound = Instance.new("Sound")
1188
        sound.Name = "moose"
1189
        sound.Volume = 1
1190
        sound.EmitterSize = 40
1191
        sound.MaxDistance = 40
1192
        sound.Looped = true
1193
        sound.Parent = derp
1194
        coroutine.resume(coroutine.create(function()
1195
          local hey = false
1196
          while derp do
1197
            swait()
1198
            watz = watz + hmm
1199
            derp.CFrame = derp.CFrame:lerp(hrp.CFrame * cf(-1.5, 3, 2.5) * ang(0, 0, rd(deg * math.cos(watz / intens))), 0.4)
1200
            derp.Size = derp.Size:lerp(Vector3.new(3 * (1 + sound.PlaybackLoudness / 500), 2 * (1 + sound.PlaybackLoudness / 500), 1 * (1 + sound.PlaybackLoudness / 1000)), 0.7)
1201
            lol.Scale = lol.Scale:lerp(Vector3.new(1 * (1 + sound.PlaybackLoudness / 500), 1 * (1 + sound.PlaybackLoudness / 500), 1 * (1 + sound.PlaybackLoudness / 500)), 0.7)
1202
            if hey == false and (3 < lol.Scale).magnitude then
1203
              hey = true
1204
              s3:Emit(20)
1205
              delay(0.25, function()
1206
                hey = false
1207
              end)
1208
            end
1209
          end
1210
        end))
1211
        local sg = Instance.new("ScreenGui")
1212
        sg.Name = "simpleflips"
1213
        sg.Parent = plr.PlayerGui
1214
        local fr = Instance.new("Frame")
1215
        fr.AnchorPoint = Vector2.new(1, 0.5)
1216
        fr.BackgroundColor3 = Color3.new(0.09411764705882353, 0.9568627450980393, 1)
1217
        fr.BorderSizePixel = 2
1218
        fr.Position = UDim2.new(0.975, 0, 0.5, 0)
1219
        fr.Size = UDim2.new(0, 200, 0, 100)
1220
        fr.Parent = sg
1221
        local mbox = Instance.new("TextBox")
1222
        mbox.AnchorPoint = Vector2.new(0.5, 0.5)
1223
        mbox.BackgroundColor3 = Color3.new(0.45098039215686275, 0.7803921568627451, 1)
1224
        mbox.BorderSizePixel = 2
1225
        mbox.Position = UDim2.new(0.5, 0, 0.25, 0)
1226
        mbox.Size = UDim2.new(0, 150, 0, 40)
1227
        mbox.Font = "SourceSansBold"
1228
        mbox.FontSize = "Size24"
1229
        mbox.Text = "MEME"
1230
        mbox.TextWrapped = true
1231
        mbox.Parent = fr
1232
        local pley = Instance.new("TextButton")
1233
        pley.AnchorPoint = Vector2.new(0.5, 0.5)
1234
        pley.BackgroundColor3 = Color3.new(0.25098039215686274, 1, 0.3137254901960784)
1235
        pley.BorderSizePixel = 2
1236
        pley.Position = UDim2.new(0.25, 0, 0.75, 0)
1237
        pley.Size = UDim2.new(0, 75, 0, 35)
1238
        pley.Font = "SourceSansBold"
1239
        pley.FontSize = "Size18"
1240
        pley.Text = "kappa"
1241
        pley.Parent = fr
1242
        local stap = Instance.new("TextButton")
1243
        stap.AnchorPoint = Vector2.new(0.5, 0.5)
1244
        stap.BackgroundColor3 = Color3.new(1, 0.25098039215686274, 0.11764705882352941)
1245
        stap.BorderSizePixel = 2
1246
        stap.Position = UDim2.new(0.75, 0, 0.75, 0)
1247
        stap.Size = UDim2.new(0, 75, 0, 35)
1248
        stap.Font = "SourceSansBold"
1249
        stap.FontSize = "Size18"
1250
        stap.Text = "pride"
1251
        stap.Parent = fr
1252
        pl = pley.MouseButton1Click:connect(function()
1253
          sound.SoundId = "rbxassetid://" .. mbox.Text
1254
          sound:Play()
1255
        end)
1256
        st = stap.MouseButton1Click:connect(function()
1257
          sound:Stop()
1258
        end)
1259
      end
1260
    elseif boxingu == true then
1261
      activu = true
1262
      boxingu = false
1263
      local derp = modz:FindFirstChild("hurr")
1264
      local s3 = derp:FindFirstChild("vid3")
1265
      local s1 = derp:FindFirstChild("vid")
1266
      local s2 = derp:FindFirstChild("vid2")
1267
      local sound = derp:FindFirstChild("moose")
1268
      local sg = plr.PlayerGui:FindFirstChild("simpleflips")
1269
      pl:Disconnect()
1270
      st:Disconnect()
1271
      s3:Emit(40)
1272
      s1.Enabled = false
1273
      s2.Enabled = false
1274
      sound:Stop()
1275
      sg:Destroy()
1276
      derp.Transparency = 1
1277
      local poo = Instance.new("Sound")
1278
      poo.SoundId = "rbxassetid://174658105"
1279
      poo.Volume = 1.25
1280
      poo.TimePosition = 0.65
1281
      poo.Parent = derp
1282
      poo:Play()
1283
      wait(0.75)
1284
      derp:Destroy()
1285
      activu = false
1286
    end
1287
  end
1288
  function hito(partoz, magn, dmg, debtim)
1289
    for _, guy in pairs(workspace:GetChildren()) do
1290
      if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("Head") and guy ~= chr and magn > (guy:FindFirstChild("Head").Position - partoz.Position).magnitude and guy:FindFirstChild("Head"):FindFirstChild("alabo") == nil then
1291
        do
1292
          local humz = guy:FindFirstChild("Humanoid")
1293
          local hed = guy:FindFirstChild("Head")
1294
          humz:TakeDamage(dmg)
1295
          local db = Instance.new("StringValue")
1296
          db.Name = "alabo"
1297
          db.Parent = hed
1298
          delay(debtim, function()
1299
            db:Destroy()
1300
          end)
1301
        end
1302
      end
1303
    end
1304
  end
1305
  function animo(yep)
1306
    if yep == true then
1307
      anim.Parent = human
1308
      chr.Animate.Disabled = false
1309
    elseif yep == false then
1310
      chr.Animate.Disabled = true
1311
      anim.Parent = nil
1312
    end
1313
  end
1314
  mouse.KeyDown:connect(function(key)
1315
    if key == "f" then
1316
      suprfast()
1317
    end
1318
    if key == "q" then
1319
      torentmod()
1320
    end
1321
    if key == "c" then
1322
      fly()
1323
    end
1324
    if key == "e" then
1325
      eswing()
1326
    end
1327
    if key == "m" then
1328
      musiclel()
1329
    end
1330
  end)
1331
  tool.Equipped:connect(function()
1332
    selected = true
1333
  end)
1334
  tool.Unequipped:connect(function()
1335
    selected = false
1336
  end)