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