Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function fly()
- local memedon = {}
- activu = true
- local emi = true
- local mp = Instance.new("Part")
- mp.Size = Vector3.new(0.2, 0.2, 0.2)
- mp.CanCollide = false
- mp.Transparency = 1
- mp.Parent = modz
- table.insert(memedon, mp)
- makeweld(mp, mp, tors, ang(rd(-30), rd(0), rd(0)) * CFrame.new(0, -0.5, -0.5), nil)
- local function pr(par, amt)
- local s = Instance.new("ParticleEmitter")
- s.Enabled = false
- s.LockedToPart = true
- s.Color = ColorSequence.new(Color3.new(0,255,0))
- s.LightEmission = 1
- s.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.3, 0),
- NumberSequenceKeypoint.new(0.8, 0.3, 0),
- NumberSequenceKeypoint.new(1, 0, 0)
- })
- s.Texture = "rbxassetid://31270182"
- s.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.7, 0),
- NumberSequenceKeypoint.new(0.89, 0.7, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- s.Name = "vid"
- s.Lifetime = NumberRange.new(0.75)
- s.Rate = 1
- s.Speed = NumberRange.new(10, 15)
- s.VelocitySpread = 3
- s.Parent = par
- coroutine.resume(coroutine.create(function()
- while emi do
- swait()
- s:Emit(amt)
- end
- end))
- return s
- end
- for _, d in ipairs(chr:GetChildren()) do
- if d.ClassName == "Accessory" then
- glow(hrp, d:FindFirstChildOfClass("Part"):FindFirstChild("Glow"), 1.5)
- elseif d.ClassName == "Part" and d ~= hrp then
- glow(hrp, d:FindFirstChild("Glow"), 1.5)
- end
- end
- local f1 = makepart("Lime green", "w1", 1, "Neon", modz, hrp.CFrame)
- f1.Size = Vector3.new(0.4, 0.4, 0.4)
- local p1 = pr(f1, 12)
- p1.Acceleration = Vector3.new(-15, 0, 15)
- local w1 = makeweld(f1, f1, mp, CFrame.Angles(rd(-5), rd(10), rd(-50)) * CFrame.new(0.25, 0, 0), nil)
- local f2 = makepart("Teal", "w2", 1, "Neon", modz, hrp.CFrame)
- f2.Size = Vector3.new(0.4, 0.4, 0.4)
- local p2 = pr(f2, 12)
- p2.Acceleration = Vector3.new(15, 0, 15)
- local w2 = makeweld(f2, f2, mp, CFrame.Angles(rd(-5), rd(-10), rd(50)) * CFrame.new(-0.25, 0, 0), nil)
- local f3 = makepart("Teal", "w3", 1, "Neon", modz, hrp.CFrame)
- f3.Size = Vector3.new(1.3, 0.6, 0.6)
- p3 = pr(f3, 4)
- p3.Speed = NumberRange.new(10, 12)
- local w3 = makeweld(f3, f3, mp, CFrame.Angles(rd(-40), rd(10), rd(-145)) * CFrame.new(2, -1, -0.5), nil)
- local f4 = makepart("Teal", "w4", 1, "Neon", modz, hrp.CFrame)
- f4.Size = Vector3.new(1.3, 0.6, 0.6)
- p4 = pr(f4, 4)
- p4.Speed = NumberRange.new(10, 12)
- local w4 = makeweld(f4, f4, mp, CFrame.Angles(rd(-40), rd(-10), rd(145)) * CFrame.new(-2, -1, -0.5), nil)
- local f5 = makepart("Teal", "w5", 1, "Neon", modz, hrp.CFrame)
- f5.Size = Vector3.new(1.3, 0.6, 0.6)
- p5 = pr(f5, 4)
- p5.Speed = NumberRange.new(10, 12)
- local w5 = makeweld(f5, f5, mp, CFrame.Angles(rd(-30), rd(-10), rd(-115)) * CFrame.new(3, -1.75, -1), nil)
- local f6 = makepart("Teal", "w6", 1, "Neon", modz, hrp.CFrame)
- f6.Size = Vector3.new(1.3, 0.6, 0.6)
- p6 = pr(f6, 4)
- p6.Speed = NumberRange.new(10, 12)
- local w6 = makeweld(f6, f6, mp, CFrame.Angles(rd(-30), rd(10), rd(115)) * CFrame.new(-3, -1.75, -1), nil)
- local f7 = makepart("Teal", "w7", 1, "Neon", modz, hrp.CFrame)
- f7.Size = Vector3.new(1.9, 0.6, 0.6)
- p7 = pr(f7, 6)
- p7.Speed = NumberRange.new(10, 12)
- local w7 = makeweld(f7, f7, mp, CFrame.Angles(rd(-40), rd(-5), rd(-140)) * CFrame.new(2.5, -1.65, -0.65), nil)
- local f8 = makepart("Teal", "w8", 1, "Neon", modz, hrp.CFrame)
- f8.Size = Vector3.new(1.9, 0.6, 0.6)
- p8 = pr(f8, 6)
- p8.Speed = NumberRange.new(10, 12)
- local w8 = makeweld(f8, f8, mp, CFrame.Angles(rd(-40), rd(5), rd(140)) * CFrame.new(-2.5, -1.65, -0.65), nil)
- t1 = pr(f1, 2)
- t1.LockedToPart = false
- t2 = pr(f2, 2)
- t2.LockedToPart = false
- t3 = pr(f3, 2)
- t3.LockedToPart = false
- t4 = pr(f4, 2)
- t4.LockedToPart = false
- t5 = pr(f5, 2)
- t5.LockedToPart = false
- t6 = pr(f6, 2)
- t6.LockedToPart = false
- t7 = pr(f7, 2)
- t7.LockedToPart = false
- t8 = pr(f8, 2)
- t8.LockedToPart = false
- table.insert(memedon, f1)
- table.insert(memedon, f2)
- table.insert(memedon, f3)
- table.insert(memedon, f4)
- table.insert(memedon, f5)
- table.insert(memedon, f6)
- table.insert(memedon, f7)
- table.insert(memedon, f8)
- local sd = Instance.new("Sound")
- sd.Volume = 1.5
- sd.Pitch = rd2(10, 12) / 10
- sd.SoundId = "rbxassetid://201858072"
- sd.Parent = hrp
- sd:Play()
- game.Debris:AddItem(sd, 1)
- human.PlatformStand = true
- local bg = Instance.new("BodyGyro")
- bg.MaxTorque = Vector3.new(15000, 15000, 15000)
- bg.P = 2500
- bg.D = 100
- bg.CFrame = CFrame.new(hrp.Position, mouse.Hit.p)
- bg.Parent = hrp
- local bf = Instance.new("BodyVelocity")
- bf.MaxForce = Vector3.new(15000, 15000, 15000)
- bf.P = 2500
- bf.Velocity = mouse.Hit.p - hrp.Position.unit * 200
- bf.Parent = hrp
- for d = 1, 100 do
- swait()
- bg.CFrame = CFrame.new(hrp.Position, mouse.Hit.p)
- bf.Velocity = mouse.Hit.p - hrp.Position.unit * (200 - d * 2)
- lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(80), rd(0), math.sin(-hrp.RotVelocity.Y / 5)), 0.4)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-70), rd(0), rd(0)), 0.4)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
- end
- bf:Destroy()
- bg:Destroy()
- human.PlatformStand = false
- emi = false
- p1.LockedToPart = false
- p2.LockedToPart = false
- p3.LockedToPart = false
- p4.LockedToPart = false
- p5.LockedToPart = false
- p6.LockedToPart = false
- p7.LockedToPart = false
- p8.LockedToPart = false
- for _ = 1, 10 do
- swait()
- lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
- end
- delay(0.5, function()
- for _, l in ipairs(memedon) do
- l:Destroy()
- end
- end)
- resetlerp()
- activu = false
- end
Add Comment
Please, Sign In to add comment