Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --made by phoenixclockworks
- --messy, but not the messiest you'll see from me
- print("Run into someone to literally blow them up")
- print("Also you're really fast and you gain friction so your movement is quicker/choppier, so dont be surprised by whatever happens")
- print("Also phoenix clockworks made this <3")
- --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- local CF = CFrame.new
- local ANG = CFrame.Angles
- local RAN = math.random
- local C3 = Color3.new
- local RGB = Color3.fromRGB
- local VT = Vector3.new
- local UD = UDim2.new
- local SEQ = NumberSequence.new
- local CSEQ = ColorSequence.new
- local NKEY = NumberSequenceKeypoint.new
- local RANGE = NumberRange.new
- local pte = function(parent, lightemission, lightinfluence, color, transparency, drag, locked, accel, rate, lifetime, rotspeed, rotation, spread, speed, size, texture, z, direction, enabled)
- local pe = Instance.new("ParticleEmitter")
- pe.LightEmission = lightemission
- pe.LightInfluence = lightinfluence
- pe.Color = color
- pe.Size = size
- pe.Transparency = transparency
- pe.ZOffset = z
- pe.EmissionDirection = direction
- pe.Rate = rate
- pe.LockedToPart = locked
- pe.Acceleration = accel or Vector3.new(0,0,0)
- pe.Lifetime = lifetime
- pe.RotSpeed = rotspeed
- pe.Rotation = rotation
- pe.SpreadAngle = spread
- pe.Speed = speed
- pe.Texture = texture
- pe.Enabled = enabled
- pe.Drag = drag
- pe.Parent = parent
- return pe
- end
- --[[sound = Instance.new("Sound")
- sound.SoundId = "rbxassetid://3277257601"
- sound.PlaybackSpeed = 5
- sound.Volume = 4
- sound.Parent = p
- sound:Play()
- local pt = pte(p, 1, 0, CSEQ(RGB(0,255,100)), SEQ({NKEY(0,0), NKEY(1,0)}), 0, true, nil, 0, NumberRange.new(1.7), NumberRange.new(100), NumberRange.new(0), Vector2.new(0), NumberRange.new(0), SEQ({NKEY(0,0),NKEY(0.2,50),NKEY(0.8,50),NKEY(1,0)}), "rbxassetid://2273224484", 3, "Top", false)
- ]]
- --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- for _,v in pairs(owner.Character:GetChildren()) do
- pcall(function()
- local part = v
- local density = 20
- local friction = 111
- local elasticity = 0.5
- local frictionWeight = 1
- local elasticityWeight = 1
- local physProperties = PhysicalProperties.new(density, friction, elasticity, frictionWeight, elasticityWeight)
- part.CustomPhysicalProperties = physProperties
- if p ~= owner.Character.HumanoidRootPart then
- at = Instance.new("Attachment", v)
- at2 = Instance.new("Attachment", v)
- at.Position = Vector3.new(0,v.Size.Y/2,0)
- at.Position = Vector3.new(0,-v.Size.Y/2,0)
- Trail = Instance.new("Trail", v)
- Trail.Name = "WTFHOWA"
- Trail.FaceCamera = true
- Trail.Color = ColorSequence.new(Color3.new(0,1,0.9))
- Trail.LightEmission = 1
- Trail.LightInfluence = 0
- Trail.Lifetime = 0.3
- Trail.WidthScale = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
- Trail.Attachment0 = at
- Trail.Attachment1 = at2
- --the trail is too transparent, so its doubled up in the laziest way possible, copy and paste
- at = Instance.new("Attachment", v)
- at2 = Instance.new("Attachment", v)
- at.Position = Vector3.new(0,v.Size.Y/2,0)
- at.Position = Vector3.new(0,-v.Size.Y/2,0)
- Trail = Instance.new("Trail", v)
- Trail.Name = "WTFHOWB"
- Trail.FaceCamera = true
- Trail.Color = ColorSequence.new(Color3.new(0,1,0.9))
- Trail.LightEmission = 1
- Trail.LightInfluence = 0
- Trail.Lifetime = 0.3
- Trail.WidthScale = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
- Trail.Attachment0 = at
- Trail.Attachment1 = at2
- end
- end)
- end
- owner.Character.Humanoid.WalkSpeed = 1000
- local cooldown = false
- local fol = Instance.new("Folder", owner.Character)
- local wow = 0
- local lightning = function(pos, lifetime, size, range, times, increment)
- local p = Instance.new("Part", fol)
- p.Size = Vector3.new(.1,.1,.1)
- p.Transparency = 1
- p.Anchored = true
- p.CanCollide = false
- p.Position = pos
- at = Instance.new("Attachment", p)
- at2 = Instance.new("Attachment", p)
- at.Position = Vector3.new(0,size/2,0)
- at.Position = Vector3.new(0,-(size/2),0)
- Trail = Instance.new("Trail", p)
- Trail.Name = "WTFHOW"
- Trail.FaceCamera = true
- Trail.Color = ColorSequence.new(Color3.new(0,1,0.9))
- Trail.LightEmission = 1
- Trail.LightInfluence = 0
- Trail.Lifetime = lifetime
- Trail.WidthScale = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
- Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,0)})
- Trail.Attachment0 = at
- Trail.Attachment1 = at2
- spawn(function()
- for i = 1,times do
- p.CFrame = p.CFrame * CFrame.new(math.random(-range, range), increment, math.random(-range, range))
- wait(0.01)
- end
- end)
- end
- --got lazy so i made a whole new function instead of a new argument
- local lightningbutbetter = function(pos, lifetime, size, range, times, increment, rot)
- local p = Instance.new("Part", fol)
- p.Size = Vector3.new(.1,.1,.1)
- p.Transparency = 1
- p.Anchored = true
- p.CanCollide = false
- p.Position = pos
- if rot then p.CFrame = p.CFrame * rot end
- at = Instance.new("Attachment", p)
- at2 = Instance.new("Attachment", p)
- at.Position = Vector3.new(0,size/2,0)
- at.Position = Vector3.new(0,-(size/2),0)
- Trail = Instance.new("Trail", p)
- Trail.Name = "WTFHOW"
- Trail.FaceCamera = true
- Trail.Color = ColorSequence.new(Color3.new(0,0,1))
- Trail.LightEmission = 1
- Trail.LightInfluence = 0
- Trail.Lifetime = lifetime
- Trail.WidthScale = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
- Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,0)})
- Trail.Attachment0 = at
- Trail.Attachment1 = at2
- spawn(function()
- for i = 1,times do
- p.CFrame = p.CFrame * CFrame.new(math.random(-range, range), increment, math.random(-range, range))
- wait(0.01)
- end
- end)
- end
- function explosion(size, where)
- local sp = Instance.new("Part", fol)
- sp.Size = Vector3.new(1,1,1)
- sp.Material = "Neon"
- sp.Color = Color3.new(0,1,0.9)
- sp.Anchored = true
- sp.CanCollide = false
- sp.CastShadow = false
- sp.CFrame = where
- local zaps = Instance.new("Sound", sp)
- zaps.Volume = 1
- if math.random(1,2) == 1 then
- zaps.SoundId = "rbxassetid://168586586"
- else
- zaps.SoundId = "rbxassetid://821439273"
- end
- local spm = Instance.new("SpecialMesh")
- spm.MeshType = "Sphere"
- spm.Parent = sp
- local sp2 = sp:Clone()
- sp2.Parent = fol
- sp2.Orientation = Vector3.new(math.random(-180,180),math.random(-180,180),math.random(-180,180))
- local sp3 = sp:Clone()
- sp3.Parent = fol
- sp3.Orientation = Vector3.new(math.random(-180,180),math.random(-180,180),math.random(-180,180))
- spawn(function()
- zaps:Play()
- for i = 1,60 do
- sp.Size = sp.Size:Lerp(Vector3.new(70+(size),70+size,70+(size)), 0.1)
- sp2.Size = sp2.Size:Lerp(Vector3.new(100+(size),10+size,10+(size)), 0.1)
- sp3.Size = sp3.Size:Lerp(Vector3.new(100+(size),10+size,10+(size)), 0.1)
- sp.Transparency = i/60
- sp2.Transparency = i/60
- sp3.Transparency = i/60
- wait()
- end
- sp3:Destroy()
- sp2:Destroy()
- sp:Destroy()
- end)
- lightning(sp.Position, math.random(3,5), math.random(3,5), math.random(2,7), math.random(10,30), math.random(7,11))
- lightning(sp.Position, math.random(3,5), math.random(3,5), math.random(2,7), math.random(10,30), math.random(7,11))
- lightning(sp.Position, math.random(3,5), math.random(3,5), math.random(2,7), math.random(10,30), math.random(7,11))
- end
- spawn(function()
- while true do
- wow = (owner.Character.HumanoidRootPart.Velocity.Z + owner.Character.HumanoidRootPart.Velocity.X)/10
- wait(0.5)
- end
- end)
- mode = "AAAAAAA"
- owner.Character.HumanoidRootPart.Touched:Connect(function(h)
- if h.Parent == owner.Character then return end
- if cooldown then return end
- if h.Parent == fol then return end
- if h.Parent:FindFirstChildOfClass("Humanoid") then
- cooldown = true
- explosion(wow, h.CFrame)
- for _,v in pairs(h.Parent:GetChildren()) do
- pcall(function()
- v.Anchored = true
- v.Color = Color3.new(0,1,1)
- v.Material = "Neon"
- v.Parent:BreakJoints()
- v.Parent = fol
- spawn(function()
- v.Anchored = false
- vE = Instance.new("BodyVelocity", v)
- vE.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- vE.Velocity = Vector3.new(math.random(-200,200), math.random(-200,200), math.random(-200,200))
- game.Debris:AddItem(vE, 0.1)
- game.Debris:AddItem(v, math.random(2,3))
- end)
- end)
- end
- wait(1)
- cooldown = false
- end
- end)
- function abusemode()
- local zaps = Instance.new("Sound", owner.Character.HumanoidRootPart)
- zaps.Volume = 1
- zaps.SoundId = "rbxassetid://611621859"
- zaps.Looped = true
- zaps:Play()
- for i = 1,5 do
- lightningbutbetter(owner.Character.Torso.Position, math.random(4,6), math.random(7.5,10), math.random(4,6), math.random(13,20), math.random(4,6), nil) --CFrame.Angles(math.rad(math.random(-90,90)), math.rad(math.random(-180,180)), math.rad(math.random(-90,90)))
- end
- local sp = Instance.new("Part", fol)
- sp.Size = Vector3.new(1,1,1)
- sp.Material = "Neon"
- sp.Color = Color3.new(0,0,1)
- sp.Anchored = true
- local size = 0
- sp.CanCollide = false
- sp.CastShadow = false
- sp.CFrame = owner.Character.HumanoidRootPart.CFrame
- local zaps = Instance.new("Sound", sp)
- zaps.Volume = 1
- if math.random(1,2) == 1 then
- zaps.SoundId = "rbxassetid://168586586"
- else
- zaps.SoundId = "rbxassetid://821439273"
- end
- local spm = Instance.new("SpecialMesh")
- spm.MeshType = "Sphere"
- spm.Parent = sp
- local sp2 = sp:Clone()
- sp2.Parent = fol
- sp2.Orientation = Vector3.new(math.random(-180,180),math.random(-180,180),math.random(-180,180))
- local sp3 = sp:Clone()
- sp3.Parent = fol
- sp3.Orientation = Vector3.new(math.random(-180,180),math.random(-180,180),math.random(-180,180))
- spawn(function()
- zaps:Play()
- for i = 1,60 do
- sp.Size = sp.Size:Lerp(Vector3.new(100+(size),100+size,100+(size)), 0.1)
- sp2.Size = sp2.Size:Lerp(Vector3.new(50+(size),10+size,10+(size)), 0.1)
- sp3.Size = sp3.Size:Lerp(Vector3.new(50+(size),10+size,10+(size)), 0.1)
- sp.Transparency = i/60
- sp2.Transparency = i/60
- sp3.Transparency = i/60
- wait()
- end
- sp3:Destroy()
- sp2:Destroy()
- sp:Destroy()
- end)
- for _,v in pairs(owner.Character:GetChildren()) do
- pcall(function()
- v.WTFHOWA.Color = CSEQ(RGB(0,0,255),RGB(0,0,255))
- v.WTFHOWB.Color = CSEQ(RGB(0,0,255),RGB(0,0,255))
- local pt = pte(v, 1, 0, CSEQ(RGB(0,0,255)), SEQ({NKEY(0,0), NKEY(1,0)}), 0, false, nil, 100, NumberRange.new(0.1), NumberRange.new(100), NumberRange.new(-180,180), Vector2.new(0), NumberRange.new(0), SEQ({NKEY(0,0),NKEY(0.2,0.5),NKEY(0.8,0.5),NKEY(1,0)}), "rbxassetid://516107903", 3, "Top", true)
- end)
- end
- spawn(function()
- while true do
- for i = 1,math.random(1,3) do
- --local lightningbutbetter = function(pos, lifetime, size, range, times, increment, rot)
- lightningbutbetter(owner.Character.Torso.Position, math.random(1,1.5), math.random(0.5,1), math.random(1,3), math.random(13,20), math.random(2,6), CFrame.Angles(math.rad(math.random(-90,90)), math.rad(math.random(-180,180)), math.rad(math.random(-90,90)))) --CFrame.Angles(math.rad(math.random(-90,90)), math.rad(math.random(-180,180)), math.rad(math.random(-90,90)))
- end
- wait(math.random(1,3))
- end
- end)
- ev = Instance.new("RemoteEvent", owner.Character)
- ev.Name = "Event"
- ev.OnServerEvent:Connect(function(player, type)
- if type == "increase" and owner.Character.Humanoid.WalkSpeed < 1000000 then
- owner.Character.Humanoid.WalkSpeed = owner.Character.Humanoid.WalkSpeed + 100
- elseif type == "decrease" and owner.Character.Humanoid.WalkSpeed > 1000 then
- owner.Character.Humanoid.WalkSpeed = owner.Character.Humanoid.WalkSpeed - 100
- end
- end)
- nl = [==[
- pl = game.Players.LocalPlayer
- mo = pl:GetMouse()
- hol = false
- mo.KeyDown:Connect(function(k)
- if k == "q" then
- hol = true
- repeat
- pl.Character:WaitForChild("Event"):FireServer("increase") wait()
- until hol == false
- elseif k == "e" then
- hol = true
- repeat
- pl.Character:WaitForChild("Event"):FireServer("decrease") wait()
- until hol == false
- end
- end)
- mo.KeyUp:Connect(function() hol = false end)
- ]==]
- NLS(nl, owner.Character)
- end
- wait(5)
- abusemode()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement