Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait(1/25)
- -- Main Things
- local player = game.Players.LocalPlayer
- local character = player.Character
- local mouse = player:GetMouse()
- -- Other Things
- local run = false
- local stopvelocity = false
- local speedup = 0
- local hover = false
- local timepass = 0
- -- Customization Options
- local forcefield = false
- local everyone_dies = false
- local have_music = true
- local have_light = true
- local speakingtext = true
- doeffect = 1
- -- Customization Run
- if have_music == true then
- local music = Instance.new("Sound")
- music.SoundId = "https://www.roblox.com/asset/?id=243139642"
- music.Volume = 1
- music.Playing = true
- music.Looped = true
- music.Pitch = 1.2
- music.Parent = character:WaitForChild("Head")
- end
- if have_light == true then
- light = Instance.new("PointLight")
- light.Range = 15
- light.Brightness = 1000
- light.Shadows = true
- light.Enabled = false
- light.Parent = character:WaitForChild("Head")
- end
- if speakingtext == true then
- local bgui = Instance.new("BillboardGui",character)
- bgui.Size = UDim2.new(0,100,0,40)
- bgui.StudsOffset = Vector3.new(0,2,0)
- bgui.Adornee = character.Head
- local text = Instance.new("TextLabel", bgui)
- text.BackgroundTransparency = 1
- text.BorderSizePixel = 0
- text.Text = "Rainbow's Fury!"
- text.Font = "ArialBold"
- text.FontSize = "Size24"
- text.TextStrokeTransparency = 0
- text.TextStrokeColor3 = Color3.new(0,0,0)
- text.TextColor3 = Color3.new(255,255,255)
- coroutine.resume(coroutine.create(function()
- while true do
- for i=1, 255 do
- wait()
- text.TextColor3 = Color3.new((math.random(0, 255) / i),(math.random(0, 255) / i),(math.random(0, 255) / i))
- end
- text.TextColor3 = Color3.new(255, 255, 255)
- wait()
- end
- end))
- text.Size = UDim2.new(1,0,0.5,0)
- player.Chatted:connect(function(chat)
- for i=1,string.len(chat) do
- text.Text = string.sub(chat, 1, i)
- wait()
- end
- wait(2)
- text.Text = ""
- end)
- wait(0.2)
- for i=1,10 do
- wait()
- text.Transparency = text.Transparency + (0.05 * i)
- end
- text.Text = ""
- text.FontSize = "Size28"
- for i=1,10 do
- text.Transparency = text.Transparency - (0.05 * i)
- wait()
- end
- end
- -- God Strength
- local humanoid = character:FindFirstChild("Humanoid")
- if humanoid == nil then
- return
- else
- if forcefield == true then
- local forcefield = Instance.new("ForceField")
- forcefield.Parent = character
- end
- coroutine.resume(coroutine.create(function()
- repeat
- humanoid.MaxHealth = "inf"
- humanoid.Health = humanoid.MaxHealth
- if run == false then
- humanoid.WalkSpeed = 30
- end
- humanoid.JumpPower = 100
- humanoid.PlatformStand = false
- game.Workspace.Gravity = 196.2
- for i,v in pairs(character:GetChildren()) do
- if v.ClassName == "Part" then
- v.Anchored = false
- end
- if v.ClassName == "Accessory" then
- for i,g in pairs(v:GetChildren()) do
- if g.ClassName == "Part" then
- g.Anchored = false
- if stopvelocity == true then
- g.Velocity = Vector3.new(0,0,0)
- end
- end
- end
- end
- end
- wait()
- if everyone_dies == true then
- if humanoid.Health <= 1 or humanoid == nil then
- for i,v in pairs(game.Workspace:GetChildren()) do
- if v:FindFirstChild("Humanoid") and v:FindFirstChild("Torso") then
- v:Destroy()
- end
- end
- return
- end
- end
- until humanoid == "nil"
- wait()
- end))
- end
- -- Keys
- mouse.KeyDown:connect(function(key)
- if key == "z" then
- if mouse.Target ~= nil then
- local hitmodel = mouse.Target.Parent
- local hithumanoid = mouse.Target.Parent:FindFirstChild("Humanoid")
- if mouse.Target.Parent.ClassName == "Accessory" then
- hithumanoid = mouse.Target.Parent.Parent
- end
- if hithumanoid then
- coroutine.resume(coroutine.create(function()
- repeat
- hithumanoid:UnequipTools()
- hithumanoid.WalkSpeed = 0
- hithumanoid.JumpPower = 0
- hithumanoid.PlatformStand = true
- wait()
- until hithumanoid == "nil"
- wait()
- end))
- end
- end
- elseif key == "r" then
- if mouse.Target ~= nil then
- mouse.Target:Destroy()
- end
- elseif key == "k" then
- if (character.Torso.Position - mouse.Hit.p).magnitude < 1000 then
- local part = Instance.new("Part")
- part.Name = "Block"
- part.Material = "SmoothPlastic"
- part.Anchored = true
- part.CanCollide = true
- part.Size = Vector3.new(3,9,3)
- part.Parent = workspace
- part.Position = mouse.Hit.p
- coroutine.resume(coroutine.create(function()
- wait(5)
- for i=1,10 do
- part.Size = part.Size + Vector3.new(1 * i,(1 * (i * 3)),1 * i)
- part.Transparency = part.Transparency + (0.025 * i)
- wait()
- end
- part.Transparency = 1
- part:Destroy()
- end))
- end
- elseif key == "f" then
- if mouse.Target ~= nil and mouse.Target.ClassName == "Part" then
- coroutine.resume(coroutine.create(function()
- local lookat = mouse.Target
- repeat
- lookat.BrickColor = BrickColor.Random()
- lookat.Material = "Neon"
- wait()
- until lookat == "nil"
- wait()
- end))
- end
- elseif key == "g" then
- if mouse.Target ~= nil and mouse.Target.ClassName == "Part" then
- local spinthing = mouse.Target
- coroutine.resume(coroutine.create(function()
- repeat
- wait()
- local random = math.random(-1,1)
- random = random * math.random(-10,10)
- spinthing.CFrame = spinthing.CFrame * CFrame.fromEulerAnglesXYZ(random, random, random)
- until spinthing == "nil"
- wait()
- end))
- end
- elseif key == "e" then
- local deletehumanoid = mouse.Target.Parent:FindFirstChild("Humanoid")
- if mouse.Target.Parent.ClassName == "Accessory" then
- deletehumanoid = mouse.Target.Parent.Parent
- end
- if mouse.Target ~= nil and deletehumanoid then
- mouse.Target.Parent:Destroy()
- end
- elseif key == "x" then
- local healhumanoid = mouse.Target.Parent:FindFirstChild("Humanoid")
- if mouse.Target.Parent.ClassName == "Accessory" then
- healhumanoid = mouse.Target.Parent.Parent
- end
- if mouse.Target ~= nil and healhumanoid then
- healhumanoid.Health = healhumanoid.MaxHealth
- healhumanoid.PlatformStand = false
- end
- elseif key == "l" then
- if (character.Torso.Position - mouse.Hit.p).magnitude < 1000 then
- local part = Instance.new("Part")
- part.Name = "Block"
- part.Material = "Neon"
- part.Anchored = true
- part.CanCollide = true
- part.Size = Vector3.new(3,3,3)
- part.Parent = workspace
- part.CFrame = mouse.Hit
- coroutine.resume(coroutine.create(function()
- for i=1,10 do
- part.Size = part.Size + Vector3.new(1 * i,(1 * i),1 * i)
- part.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(i), math.rad(i), math.rad(i))
- part.Transparency = part.Transparency + (0.025 * i)
- wait()
- end
- part.Transparency = 1
- part:Destroy()
- end))
- end
- elseif key == "q" then
- local flytarget = mouse.Target
- if mouse.Target ~= "nil" then
- for i=1,50 do
- flytarget.CFrame = flytarget.CFrame + Vector3.new(0,(0.1 * (i / 5)),0)
- wait()
- end
- local flytargethumanoid = flytarget.Parent:FindFirstChild("Humanoid")
- if flytargethumanoid then
- flytarget.Parent:BreakJoints()
- flytargethumanoid.Health = 0
- flytargethumanoid.PlatformStand = true
- flytargethumanoid:ClearAllChildren()
- end
- local explosion = Instance.new("Explosion")
- explosion.Position = flytarget.Position
- explosion.BlastRadius = 20
- explosion.BlastPressure = 250000
- explosion.DestroyJointRadiusPercent = 1
- explosion.Parent = flytarget
- game.Debris:AddItem(flytarget, 2)
- end
- elseif key == "y" then
- local pdude = mouse.Target.Parent
- local pdeletehumanoid = mouse.Target.Parent:FindFirstChild("Humanoid")
- if mouse.Target.Parent.ClassName == "Accessory" then
- pdeletehumanoid = mouse.Target.Parent.Parent
- pdude = mouse.Target.Parent.Parent
- end
- if mouse.Target ~= nil and pdeletehumanoid then
- repeat
- local pdude = game.Workspace:FindFirstChild(pdude.Name)
- if pdude then
- pdude:Destroy()
- end
- wait()
- until 1 == 2
- end
- elseif key == "t" then
- if mouse.Target ~= nil and mouse.Target.Parent.ClassName == "Accessory" then
- mouse.Target:Destroy()
- end
- elseif key == "m" then
- local block = Instance.new("Part")
- block.Size = Vector3.new(math.random(1, 3),math.random(1, 3),math.random(1, 3))
- block.BrickColor = BrickColor.Random()
- block.Position = mouse.Hit.p
- block.Parent = workspace
- elseif key == "n" then
- local blowup = Instance.new("Explosion")
- blowup.Position = mouse.Hit.p
- blowup.BlastRadius = 10
- blowup.BlastPressure = 250000
- blowup.DestroyJointRadiusPercent = 1
- blowup.Parent = workspace
- elseif key:byte() == 48 then
- run = true
- doeffect = doeffect + 1
- speedup = 0.01
- elseif key == "b" then
- if light.Enabled == false then
- light.Enabled = true
- else
- light.Enabled = false
- end
- elseif key == "v" then
- if stopvelocity == false then
- stopvelocity = true
- else
- stopvelocity = false
- end
- elseif key == "c" then
- if (character:FindFirstChild("Head").Position - mouse.Hit.p).magnitude < 1500 then
- character.Head.CFrame = mouse.Hit + Vector3.new(0, 5, 0)
- end
- elseif key == "h" then
- if hover == false then
- hover = true
- else
- hover = false
- end
- end --end of ifkeys
- end)
- mouse.KeyUp:connect(function(key)
- if key:byte() == 48 then
- run = false
- doeffect = doeffect - 1
- speedup = 0
- end
- end)
- -- Hold Actions
- coroutine.resume(coroutine.create(function()
- while true do
- if run == true then
- humanoid.WalkSpeed = 70
- repeat
- humanoid.WalkSpeed = humanoid.WalkSpeed + (0.05 + speedup)
- character.Head.Velocity = character.Head.Velocity + Vector3.new(1,0,1) * character.Head.CFrame.lookVector * speedup
- if speedup > 15 then
- speedup = speedup + 0.5
- humanoid.WalkSpeed = humanoid.WalkSpeed + 60
- else
- speedup = speedup + 0.1
- end
- local reffect = Instance.new("Part")
- game.Debris:AddItem(reffect, 5)
- reffect.Size = Vector3.new(math.random(0.6,1),math.random(0.6,1),math.random(0.6,1))
- reffect.Anchored = true
- reffect.CanCollide = false
- reffect.Material = "Plastic"
- reffect.Name = "Run Effect"
- reffect.BrickColor = BrickColor.Random()
- reffect.CFrame = (character:FindFirstChild("Head").CFrame - Vector3.new(math.random(-1,1), math.random(4,4.5), math.random(-1,1))) * CFrame.Angles(math.rad(90),0,0)
- local runmesh = Instance.new("SpecialMesh")
- runmesh.MeshType = "FileMesh"
- runmesh.MeshId = "rbxassetid://20329976"
- runmesh.Offset = Vector3.new(0, 0, 0.5)
- runmesh.Parent = reffect
- reffect.Parent = workspace
- coroutine.resume(coroutine.create(function()
- for i=1,10 do
- reffect.Transparency = reffect.Transparency + (0.05 * i)
- runmesh.Offset = runmesh.Offset + Vector3.new(0, 1 + ((speedup) / i), 0)
- runmesh.Scale = runmesh.Scale + Vector3.new((humanoid.WalkSpeed / 1000) * i, (humanoid.WalkSpeed / 1000) * i, (humanoid.WalkSpeed / 1000) * i)
- wait()
- end
- reffect:Destroy()
- end))
- wait()
- until run == false
- humanoid.WalkSpeed = 30
- speedup = 0
- end
- wait()
- end
- end))
- coroutine.resume(coroutine.create(function()
- while true do
- if hover == true then
- repeat
- local effect = Instance.new("Part")
- game.Debris:AddItem(effect, 5)
- effect.Size = Vector3.new(0.1, 0.1, 0.1)
- effect.Anchored = true
- effect.CanCollide = false
- effect.Material = "Plastic"
- effect.Name = "Hover Effect"
- effect.BrickColor = BrickColor.Random()
- effect.CFrame = (character:FindFirstChild("Head").CFrame - Vector3.new(math.random(-0.5,0.5), 4.5, math.random(-0.5,0.5))) * CFrame.Angles(math.rad(90),0,0)
- local ringmesh = Instance.new("SpecialMesh")
- ringmesh.MeshType = "FileMesh"
- ringmesh.MeshId = "rbxassetid://3270017"
- ringmesh.Offset = Vector3.new(0, 0, 0.5)
- ringmesh.Scale = Vector3.new(3,3,3)
- ringmesh.Parent = effect
- effect.Parent = workspace
- character.Head.Velocity = Vector3.new(character.Head.Velocity.x, 50, character.Head.Velocity.z)
- coroutine.resume(coroutine.create(function()
- for i=1,30 do
- effect.Transparency = effect.Transparency + ((0.05 / 3) * i)
- ringmesh.Scale = ringmesh.Scale + Vector3.new((-0.05 * i), (-0.05 * i), (-0.05 * i))
- ringmesh.Offset = ringmesh.Offset + Vector3.new(0, 0, (0.5 * i))
- wait()
- end
- effect:Destroy()
- end))
- wait()
- until hover == false
- end
- wait()
- end
- end))
- -- Rainbow Particle
- coroutine.resume(coroutine.create(function()
- while true do
- for i=1, math.random(1, doeffect) do
- local shine = Instance.new("Part")
- game.Debris:AddItem(shine, 5)
- shine.Size = Vector3.new(math.random(0.6,0.9),math.random(0.6,0.9),math.random(0.6,0.9))
- shine.BrickColor = BrickColor.Random()
- shine.Material = "Neon"
- shine.Anchored = true
- shine.CanCollide = false
- shine.Name = "Idle Effect"
- shine.CFrame = (character:FindFirstChild("Head").CFrame - Vector3.new(0, 4, 0)) * CFrame.Angles(math.rad(math.random(-360, 360)),math.rad(math.random(-360, 360)),math.rad(math.random(-360, 360)))
- shine.Parent = workspace
- coroutine.resume(coroutine.create(function()
- for i=1,40 do
- shine.Transparency = shine.Transparency + ((0.05 / 4) * i)
- shine.Size = shine.Size - Vector3.new(((0.05 / 4) * i), ((0.05 / 4) * i), ((0.05 / 4) * i))
- shine.CFrame = shine.CFrame + shine.CFrame.lookVector * (0.3 * (i / (i / 3)))
- shine.CFrame = shine.CFrame + Vector3.new(0,(0.1 * i), 0)
- shine.CFrame = shine.CFrame * CFrame.Angles(math.rad(i * 4), math.rad(i * 4), math.rad(i * 4))
- wait()
- end
- shine:Destroy()
- end))
- end
- wait()
- end
- end))
Add Comment
Please, Sign In to add comment