View difference between Paste ID: USwi9J7P and HFkJmWpU
SHOW: | | - or go back to the newest paste.
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
	print("FE Compatibility code by Mokiros | Translated to FE by Artkiller_exe")
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")
805+
806-
            sd.Volume = 0.3
806+
807-
            sd.Pitch = rd2(11, 13) / 10
807+
808-
            sd.SoundId = "rbxassetid://221727606"
808+
809-
            sd.Parent = viarm
809+
810-
            local sd2 = sd:Clone()
810+
811-
            sd2.SoundId = "rbxassetid://238381567"
811+
812-
            sd2.Parent = viarm
812+
813-
            sd:Play()
813+
814-
            sd2:Play()
814+
815
      hu:Disconnect()
816
      torrent = false
817
      modz:FindFirstChild("shootingu"):FindFirstChild("vid").Enabled = false
818
      for _ = 1, 10 do
819
        swait()
820
        lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
821
        lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
822
        lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
823
        lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
824
        lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
825
        lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
826
        lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
827
        lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
828
        lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
829
        lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
830
      end
831
      resetlerp()
832
      modz:FindFirstChild("shootingu"):Destroy()
833
    end
834
  end
835
  function suprfast()
836
    if selected == false or activu == true then
837
      return
838
    end
839
    activu = true
840
    human.WalkSpeed = human.WalkSpeed + 30
841
    human.JumpPower = human.JumpPower + 45
842
    for _, d in ipairs(chr:GetChildren()) do
843
      if d.ClassName == "Accessory" then
844
        swait()
845
        glow(hrp, d:FindFirstChildOfClass("Part"):FindFirstChild("Glow"), 2)
846
        coroutine.resume(coroutine.create(function()
847
          local clones = {}
848
          for i = 1, 5 do
849
            local v = d:FindFirstChildOfClass("Part"):FindFirstChild("Glow"):Clone()
850
            v.Name = "nyoo"
851
            v.vid:Destroy()
852
            v.vid2:Destroy()
853
            v.AccessoryWeld:Destroy()
854
            v.Weld:Destroy()
855
            v.Transparency = 0.9
856
            v.Anchored = true
857
            v.Parent = modz
858
            table.insert(clones, v)
859
          end
860
          num = 0
861
          repeat
862
            swait()
863
            num = num % 5 + 1
864
            clones[num].CFrame = d:FindFirstChildOfClass("Part"):FindFirstChild("Glow").CFrame
865
          until activu == false
866
          for _, b in ipairs(clones) do
867
            swait()
868
            b:Destroy()
869
          end
870
        end))
871
      elseif d.ClassName == "Part" and d ~= hrp then
872
        swait()
873
        glow(hrp, d:FindFirstChild("Glow"), 2)
874
        coroutine.resume(coroutine.create(function()
875
          local clones = {}
876
          for i = 1, 5 do
877
            local v = d:FindFirstChild("Glow"):Clone()
878
            v.Name = "lel"
879
            v.vid:Destroy()
880
            v.vid2:Destroy()
881
            v.Weld:Destroy()
882
            v.Transparency = 0.9
883
            v.Anchored = true
884
            v.Parent = modz
885
            table.insert(clones, v)
886
          end
887
          num = 0
888
          repeat
889
            swait()
890
            num = num % 5 + 1
891
            clones[num].CFrame = d:FindFirstChild("Glow").CFrame
892
          until activu == false
893
          for _, b in ipairs(clones) do
894
            swait()
895
            b:Destroy()
896
          end
897
        end))
898
      end
899
    end
900
    wait(2)
901
    activu = false
902
    human.WalkSpeed = human.WalkSpeed - 30
903
    human.JumpPower = human.JumpPower - 45
904
  end
905
  function fly()
906
    if selected == false or activu == true or torrent == true then
907
      return
908
    end
909
    local memedon = {}
910
    activu = true
911
    local emi = true
912
    local mp = Instance.new("Part")
913
    mp.Size = Vector3.new(0.2, 0.2, 0.2)
914
    mp.CanCollide = false
915
    mp.Transparency = 1
916
    mp.Parent = modz
917
    table.insert(memedon, mp)
918
    makeweld(mp, mp, tors, ang(rd(-30), rd(0), rd(0)) * CFrame.new(0, -0.5, -0.5), nil)
919
    local function pr(par, amt)
920
      local s = Instance.new("ParticleEmitter")
921
      s.Enabled = false
922
      s.LockedToPart = true
923
      s.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803))
924
      s.LightEmission = 0.6
925
      s.Size = NumberSequence.new({
926
        NumberSequenceKeypoint.new(0, 0.3, 0),
927
        NumberSequenceKeypoint.new(0.8, 0.3, 0),
928
        NumberSequenceKeypoint.new(1, 0, 0)
929
      })
930
      s.Texture = "rbxassetid://31270182"
931
      s.Transparency = NumberSequence.new({
932
        NumberSequenceKeypoint.new(0, 0.7, 0),
933
        NumberSequenceKeypoint.new(0.89, 0.7, 0),
934
        NumberSequenceKeypoint.new(1, 1, 0)
935
      })
936
      s.Name = "vid"
937
      s.Lifetime = NumberRange.new(0.75)
938
      s.Rate = 1
939
      s.Speed = NumberRange.new(10, 15)
940
      s.VelocitySpread = 3
941
      s.Parent = par
942
      coroutine.resume(coroutine.create(function()
943
        while emi do
944
          swait()
945
          s:Emit(amt)
946
        end
947
      end))
948
      return s
949
    end
950
    for _, d in ipairs(chr:GetChildren()) do
951
      if d.ClassName == "Accessory" then
952
        glow(hrp, d:FindFirstChildOfClass("Part"):FindFirstChild("Glow"), 1.5)
953
      elseif d.ClassName == "Part" and d ~= hrp then
954
        glow(hrp, d:FindFirstChild("Glow"), 1.5)
955
      end
956
    end
957
    local f1 = makepart("Teal", "w1", 1, "Neon", modz, hrp.CFrame)
958
    f1.Size = Vector3.new(0.4, 0.4, 0.4)
959
    local p1 = pr(f1, 12)
960
    p1.Acceleration = Vector3.new(-15, 0, 15)
961
    local w1 = makeweld(f1, f1, mp, CFrame.Angles(rd(-5), rd(10), rd(-50)) * CFrame.new(0.25, 0, 0), nil)
962
    local f2 = makepart("Teal", "w2", 1, "Neon", modz, hrp.CFrame)
963
    f2.Size = Vector3.new(0.4, 0.4, 0.4)
964
    local p2 = pr(f2, 12)
965
    p2.Acceleration = Vector3.new(15, 0, 15)
966
    local w2 = makeweld(f2, f2, mp, CFrame.Angles(rd(-5), rd(-10), rd(50)) * CFrame.new(-0.25, 0, 0), nil)
967
    local f3 = makepart("Teal", "w3", 1, "Neon", modz, hrp.CFrame)
968
    f3.Size = Vector3.new(1.3, 0.6, 0.6)
969
    p3 = pr(f3, 4)
970
    p3.Speed = NumberRange.new(10, 12)
971
    local w3 = makeweld(f3, f3, mp, CFrame.Angles(rd(-40), rd(10), rd(-145)) * CFrame.new(2, -1, -0.5), nil)
972
    local f4 = makepart("Teal", "w4", 1, "Neon", modz, hrp.CFrame)
973
    f4.Size = Vector3.new(1.3, 0.6, 0.6)
974
    p4 = pr(f4, 4)
975
    p4.Speed = NumberRange.new(10, 12)
976
    local w4 = makeweld(f4, f4, mp, CFrame.Angles(rd(-40), rd(-10), rd(145)) * CFrame.new(-2, -1, -0.5), nil)
977
    local f5 = makepart("Teal", "w5", 1, "Neon", modz, hrp.CFrame)
978
    f5.Size = Vector3.new(1.3, 0.6, 0.6)
979
    p5 = pr(f5, 4)
980
    p5.Speed = NumberRange.new(10, 12)
981
    local w5 = makeweld(f5, f5, mp, CFrame.Angles(rd(-30), rd(-10), rd(-115)) * CFrame.new(3, -1.75, -1), nil)
982
    local f6 = makepart("Teal", "w6", 1, "Neon", modz, hrp.CFrame)
983
    f6.Size = Vector3.new(1.3, 0.6, 0.6)
984
    p6 = pr(f6, 4)
985
    p6.Speed = NumberRange.new(10, 12)
986
    local w6 = makeweld(f6, f6, mp, CFrame.Angles(rd(-30), rd(10), rd(115)) * CFrame.new(-3, -1.75, -1), nil)
987
    local f7 = makepart("Teal", "w7", 1, "Neon", modz, hrp.CFrame)
988
    f7.Size = Vector3.new(1.9, 0.6, 0.6)
989
    p7 = pr(f7, 6)
990
    p7.Speed = NumberRange.new(10, 12)
991
    local w7 = makeweld(f7, f7, mp, CFrame.Angles(rd(-40), rd(-5), rd(-140)) * CFrame.new(2.5, -1.65, -0.65), nil)
992
    local f8 = makepart("Teal", "w8", 1, "Neon", modz, hrp.CFrame)
993
    f8.Size = Vector3.new(1.9, 0.6, 0.6)
994
    p8 = pr(f8, 6)
995
    p8.Speed = NumberRange.new(10, 12)
996
    local w8 = makeweld(f8, f8, mp, CFrame.Angles(rd(-40), rd(5), rd(140)) * CFrame.new(-2.5, -1.65, -0.65), nil)
997
    t1 = pr(f1, 2)
998
    t1.LockedToPart = false
999
    t2 = pr(f2, 2)
1000
    t2.LockedToPart = false
1001
    t3 = pr(f3, 2)
1002
    t3.LockedToPart = false
1003
    t4 = pr(f4, 2)
1004
    t4.LockedToPart = false
1005
    t5 = pr(f5, 2)
1006
    t5.LockedToPart = false
1007
    t6 = pr(f6, 2)
1008
    t6.LockedToPart = false
1009
    t7 = pr(f7, 2)
1010
    t7.LockedToPart = false
1011
    t8 = pr(f8, 2)
1012
    t8.LockedToPart = false
1013
    table.insert(memedon, f1)
1014
    table.insert(memedon, f2)
1015
    table.insert(memedon, f3)
1016
    table.insert(memedon, f4)
1017
    table.insert(memedon, f5)
1018
    table.insert(memedon, f6)
1019
    table.insert(memedon, f7)
1020
    table.insert(memedon, f8)
1021
    local sd = Instance.new("Sound")
1022
    sd.Volume = 1.5
1023
    sd.Pitch = rd2(10, 12) / 10
1024
    sd.SoundId = "rbxassetid://201858072"
1025
    sd.Parent = hrp
1026
    sd:Play()
1027
    game.Debris:AddItem(sd, 1)
1028
    human.PlatformStand = true
1029
    local bg = Instance.new("BodyGyro")
1030
    bg.MaxTorque = Vector3.new(15000, 15000, 15000)
1031
    bg.P = 2500
1032
    bg.D = 100
1033
    bg.CFrame = CFrame.new(hrp.Position, mouse.Hit.p)
1034
    bg.Parent = hrp
1035
    local bf = Instance.new("BodyVelocity")
1036
    bf.MaxForce = Vector3.new(15000, 15000, 15000)
1037
    bf.P = 2500
1038
    bf.Velocity = mouse.Hit.p - hrp.Position.unit * 200
1039
    bf.Parent = hrp
1040
    for d = 1, 100 do
1041
      swait()
1042
      bg.CFrame = CFrame.new(hrp.Position, mouse.Hit.p)
1043
      bf.Velocity = mouse.Hit.p - hrp.Position.unit * (200 - d * 2)
1044
      lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(80), rd(0), math.sin(-hrp.RotVelocity.Y / 5)), 0.4)
1045
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-70), rd(0), rd(0)), 0.4)
1046
      lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
1047
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
1048
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
1049
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
1050
      lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
1051
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
1052
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
1053
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
1054
    end
1055
    bf:Destroy()
1056
    bg:Destroy()
1057
    human.PlatformStand = false
1058
    emi = false
1059
    p1.LockedToPart = false
1060
    p2.LockedToPart = false
1061
    p3.LockedToPart = false
1062
    p4.LockedToPart = false
1063
    p5.LockedToPart = false
1064
    p6.LockedToPart = false
1065
    p7.LockedToPart = false
1066
    p8.LockedToPart = false
1067
    for _ = 1, 10 do
1068
      swait()
1069
      lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
1070
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
1071
      lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
1072
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
1073
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
1074
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
1075
      lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
1076
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
1077
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
1078
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
1079
    end
1080
    delay(0.5, function()
1081
      for _, l in ipairs(memedon) do
1082
        l:Destroy()
1083
      end
1084
    end)
1085
    resetlerp()
1086
    activu = false
1087
  end
1088
  function musiclel()
1089
    if selected == false or activu == true then
1090
      return
1091
    end
1092
    if boxingu == false then
1093
      boxingu = true
1094
      do
1095
        local watz = 1
1096
        local hmm = 1
1097
        local intens = 30
1098
        local deg = 20
1099
        local derp = makepart("Teal", "hurr", 0.25, "Neon", modz, hrp.CFrame)
1100
        derp.Locked = true
1101
        local s = Instance.new("ParticleEmitter")
1102
        s.Enabled = true
1103
        s.LockedToPart = true
1104
        s.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803))
1105
        s.LightEmission = 0.6
1106
        s.Size = NumberSequence.new({
1107
          NumberSequenceKeypoint.new(0, 0.275, 0),
1108
          NumberSequenceKeypoint.new(0.406, 0.762, 0),
1109
          NumberSequenceKeypoint.new(0.433, 1.5, 0.75),
1110
          NumberSequenceKeypoint.new(0.476, 0.625, 0),
1111
          NumberSequenceKeypoint.new(1, 0.05, 0)
1112
        })
1113
        s.Texture = "rbxassetid://31270182"
1114
        s.Transparency = NumberSequence.new({
1115
          NumberSequenceKeypoint.new(0, 0.6, 0),
1116
          NumberSequenceKeypoint.new(0.89, 0.6, 0),
1117
          NumberSequenceKeypoint.new(1, 1, 0)
1118
        })
1119
        s.Name = "vid"
1120
        s.Lifetime = NumberRange.new(0.2)
1121
        s.Rate = 75
1122
        s.Speed = NumberRange.new(7, 10)
1123
        s.VelocitySpread = 360
1124
        s.ZOffset = 1
1125
        s.Parent = derp
1126
        local s2 = Instance.new("ParticleEmitter")
1127
        s2.Enabled = true
1128
        s2.LockedToPart = false
1129
        s2.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803))
1130
        s2.LightEmission = 0.6
1131
        s2.Size = NumberSequence.new({
1132
          NumberSequenceKeypoint.new(0, 0, 0),
1133
          NumberSequenceKeypoint.new(0.853, 0.125, 0.1),
1134
          NumberSequenceKeypoint.new(1, 0, 0)
1135
        })
1136
        s2.Texture = "rbxassetid://31270182"
1137
        s2.Transparency = NumberSequence.new({
1138
          NumberSequenceKeypoint.new(0, 0.6, 0),
1139
          NumberSequenceKeypoint.new(0.89, 0.6, 0),
1140
          NumberSequenceKeypoint.new(1, 1, 0)
1141
        })
1142
        s2.Name = "vid2"
1143
        s2.Lifetime = NumberRange.new(0.5)
1144
        s2.Rate = 350
1145
        s2.Speed = NumberRange.new(2, 6)
1146
        s2.VelocitySpread = 360
1147
        s2.ZOffset = 1
1148
        s2.Parent = derp
1149
        local s3 = Instance.new("ParticleEmitter")
1150
        s3.Enabled = false
1151
        s3.LockedToPart = false
1152
        s3.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803))
1153
        s3.LightEmission = 0.6
1154
        s3.Size = NumberSequence.new({
1155
          NumberSequenceKeypoint.new(0, 0.45, 0),
1156
          NumberSequenceKeypoint.new(0.853, 0.25, 0.1),
1157
          NumberSequenceKeypoint.new(1, 0, 0)
1158
        })
1159
        s3.Texture = "rbxassetid://31270182"
1160
        s3.Transparency = NumberSequence.new({
1161
          NumberSequenceKeypoint.new(0, 0.6, 0),
1162
          NumberSequenceKeypoint.new(0.89, 0.6, 0),
1163
          NumberSequenceKeypoint.new(1, 1, 0)
1164
        })
1165
        s3.Name = "vid3"
1166
        s3.Lifetime = NumberRange.new(0.5)
1167
        s3.Acceleration = Vector3.new(0, 30, 0)
1168
        s3.Rate = 350
1169
        s3.Speed = NumberRange.new(20, 30)
1170
        s3.VelocitySpread = 360
1171
        s3.Parent = derp
1172
        derp.Anchored = true
1173
        derp.Transparency = 0.5
1174
        derp.Size = Vector3.new(3, 2, 2)
1175
        derp.CFrame = hrp.CFrame
1176
        local lol = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxassetid://151760030", derp)
1177
        local sound = Instance.new("Sound")
1178
        sound.Name = "moose"
1179
        sound.Volume = 1
1180
        sound.EmitterSize = 40
1181
        sound.MaxDistance = 40
1182
        sound.Looped = true
1183
        sound.Parent = derp
1184
        coroutine.resume(coroutine.create(function()
1185
          local hey = false
1186
          while derp do
1187
            swait()
1188
            watz = watz + hmm
1189
            derp.CFrame = derp.CFrame:lerp(hrp.CFrame * cf(-1.5, 3, 2.5) * ang(0, 0, rd(deg * math.cos(watz / intens))), 0.4)
1190
            derp.Size = derp.Size:lerp(Vector3.new(3 * (1 + sound.PlaybackLoudness / 500), 2 * (1 + sound.PlaybackLoudness / 500), 1 * (1 + sound.PlaybackLoudness / 1000)), 0.7)
1191
            lol.Scale = lol.Scale:lerp(Vector3.new(1 * (1 + sound.PlaybackLoudness / 500), 1 * (1 + sound.PlaybackLoudness / 500), 1 * (1 + sound.PlaybackLoudness / 500)), 0.7)
1192
            if hey == false and (3 < lol.Scale).magnitude then
1193
              hey = true
1194
              s3:Emit(20)
1195
              delay(0.25, function()
1196
                hey = false
1197
              end)
1198
            end
1199
          end
1200
        end))
1201
        local sg = Instance.new("ScreenGui")
1202
        sg.Name = "simpleflips"
1203
        sg.Parent = plr.PlayerGui
1204
        local fr = Instance.new("Frame")
1205
        fr.AnchorPoint = Vector2.new(1, 0.5)
1206
        fr.BackgroundColor3 = Color3.new(0.09411764705882353, 0.9568627450980393, 1)
1207
        fr.BorderSizePixel = 2
1208
        fr.Position = UDim2.new(0.975, 0, 0.5, 0)
1209
        fr.Size = UDim2.new(0, 200, 0, 100)
1210
        fr.Parent = sg
1211
        local mbox = Instance.new("TextBox")
1212
        mbox.AnchorPoint = Vector2.new(0.5, 0.5)
1213
        mbox.BackgroundColor3 = Color3.new(0.45098039215686275, 0.7803921568627451, 1)
1214
        mbox.BorderSizePixel = 2
1215
        mbox.Position = UDim2.new(0.5, 0, 0.25, 0)
1216
        mbox.Size = UDim2.new(0, 150, 0, 40)
1217
        mbox.Font = "SourceSansBold"
1218
        mbox.FontSize = "Size24"
1219
        mbox.Text = "MEME"
1220
        mbox.TextWrapped = true
1221
        mbox.Parent = fr
1222
        local pley = Instance.new("TextButton")
1223
        pley.AnchorPoint = Vector2.new(0.5, 0.5)
1224
        pley.BackgroundColor3 = Color3.new(0.25098039215686274, 1, 0.3137254901960784)
1225
        pley.BorderSizePixel = 2
1226
        pley.Position = UDim2.new(0.25, 0, 0.75, 0)
1227
        pley.Size = UDim2.new(0, 75, 0, 35)
1228
        pley.Font = "SourceSansBold"
1229
        pley.FontSize = "Size18"
1230
        pley.Text = "kappa"
1231
        pley.Parent = fr
1232
        local stap = Instance.new("TextButton")
1233
        stap.AnchorPoint = Vector2.new(0.5, 0.5)
1234
        stap.BackgroundColor3 = Color3.new(1, 0.25098039215686274, 0.11764705882352941)
1235
        stap.BorderSizePixel = 2
1236
        stap.Position = UDim2.new(0.75, 0, 0.75, 0)
1237
        stap.Size = UDim2.new(0, 75, 0, 35)
1238
        stap.Font = "SourceSansBold"
1239
        stap.FontSize = "Size18"
1240
        stap.Text = "pride"
1241
        stap.Parent = fr
1242
        pl = pley.MouseButton1Click:connect(function()
1243
          sound.SoundId = "rbxassetid://" .. mbox.Text
1244
          sound:Play()
1245
        end)
1246
        st = stap.MouseButton1Click:connect(function()
1247
          sound:Stop()
1248
        end)
1249
      end
1250
    elseif boxingu == true then
1251
      activu = true
1252
      boxingu = false
1253
      local derp = modz:FindFirstChild("hurr")
1254
      local s3 = derp:FindFirstChild("vid3")
1255
      local s1 = derp:FindFirstChild("vid")
1256
      local s2 = derp:FindFirstChild("vid2")
1257
      local sound = derp:FindFirstChild("moose")
1258
      local sg = plr.PlayerGui:FindFirstChild("simpleflips")
1259
      pl:Disconnect()
1260
      st:Disconnect()
1261
      s3:Emit(40)
1262
      s1.Enabled = false
1263
      s2.Enabled = false
1264
      sound:Stop()
1265
      sg:Destroy()
1266
      derp.Transparency = 1
1267
      local poo = Instance.new("Sound")
1268
      poo.SoundId = "rbxassetid://174658105"
1269
      poo.Volume = 1.25
1270
      poo.TimePosition = 0.65
1271
      poo.Parent = derp
1272
      poo:Play()
1273
      wait(0.75)
1274
      derp:Destroy()
1275
      activu = false
1276
    end
1277
  end
1278
  function hito(partoz, magn, dmg, debtim)
1279
    for _, guy in pairs(workspace:GetChildren()) do
1280
      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
1281
        do
1282
          local humz = guy:FindFirstChild("Humanoid")
1283
          local hed = guy:FindFirstChild("Head")
1284
          humz:TakeDamage(dmg)
1285
          local db = Instance.new("StringValue")
1286
          db.Name = "alabo"
1287
          db.Parent = hed
1288
          delay(debtim, function()
1289
            db:Destroy()
1290
          end)
1291
        end
1292
      end
1293
    end
1294
  end
1295
  function animo(yep)
1296
    if yep == true then
1297
      anim.Parent = human
1298
      chr.Animate.Disabled = false
1299
    elseif yep == false then
1300
      chr.Animate.Disabled = true
1301
      anim.Parent = nil
1302
    end
1303
  end
1304
  mouse.KeyDown:connect(function(key)
1305
    if key == "f" then
1306
      suprfast()
1307
    end
1308
    if key == "q" then
1309
      torentmod()
1310
    end
1311
    if key == "c" then
1312
      fly()
1313
    end
1314
    if key == "e" then
1315
      eswing()
1316
    end
1317
    if key == "m" then
1318
      musiclel()
1319
    end
1320
  end)
1321
  tool.Equipped:connect(function()
1322
    selected = true
1323
  end)
1324
  tool.Unequipped:connect(function()
1325
    selected = false
1326
  end)