Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait()
- --[[
- Gatekeeper Mario script made by a Respectable Scripter (I wish to remain unnamed)
- The controls are:
- R to pull a bunch of parts at once to you
- T is a abusive attack which might kill a LOT of people (Big radius)
- Q to summon a Luigi to attack a player
- E to time stop
- You kill people on touch, very useful (Especially if you use this ability with R)
- This script is intended to be ran on Void script Builder
- --]]
- local players = game:GetService("Players")
- local player = players.LocalPlayer
- local plr = player.Character
- if game.PlaceId == 843495510 then
- warn("Wreak havoc everywhere")
- elseif game.PlaceId == 843468296 then
- warn("Wreak havoc when the admins/mods aren't looking")
- end
- local root = plr.HumanoidRootPart
- local theme = Instance.new("Sound",plr)
- theme.SoundId = "rbxassetid://1305056692"
- theme.Looped = true
- theme.Volume = 1
- theme:Play()
- for _,v in pairs(plr:GetDescendants()) do
- if v:IsA("Accessory") then
- v:Destroy()
- end
- end
- local hum = plr:FindFirstChildOfClass("Humanoid")
- print()
- warn("The controls are:")
- warn("R to pull a bunch of parts at once to you")
- warn("T is a abusive attack which might kill a LOT of people (Big radius)")
- warn("Q to summon a Luigi to attack a player")
- warn("E to time stop")
- warn("You kill people on touch, very useful")
- local mouse = player:GetMouse()
- for _,v in pairs(plr:GetDescendants()) do
- if v:IsA("BasePart") or v:IsA("Decal") then
- v.Transparency = 1
- end
- end
- function roar()
- spawn(function()
- local Roar = Instance.new("Sound",workspace)
- Roar.SoundId = "rbxassetid://131172436"
- Roar.Volume = 2
- Roar.Looped = false
- Roar:Play()
- end)
- end
- hum.WalkSpeed = 45
- function body()
- spawn(function()
- local rot = root:Clone()
- rot:ClearAllChildren()
- rot.CFrame = root.CFrame * CFrame.fromEulerAnglesXYZ(0, 3.1, 0)
- rot.Transparency = 0
- rot.Anchored = false
- rot.Parent = root
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshId = "rbxassetid://554947956"
- mesh.TextureId = "rbxassetid://554947969"
- mesh.Scale = Vector3.new(10, 12, 10)
- mesh.Parent = rot
- mesh.Offset = Vector3.new(0, 3, 0)
- rot.Anchored = true
- game:GetService("RunService").RenderStepped:Connect(function()
- rot.CFrame = root.CFrame * CFrame.fromEulerAnglesXYZ(0, 3.1, 0)
- end)
- end)
- end
- for _,v in pairs(plr:GetDescendants()) do
- if v:IsA("BasePart") then
- v.Touched:Connect(function(hit)
- if hit == nil or hit.Parent == nil then
- else
- if hit.Parent == workspace or hit.Name == "HumanoidRootPart" and hit.Parent.Name == "HumanoidRootPart" then
- else
- if hit.Parent ~= nil then
- if hit.Name ~= "Base" and hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent.Name ~= player.Name and hit ~= rot then
- hit.Parent:FindFirstChildOfClass("Humanoid").Health = 0
- hit.Parent:BreakJoints()
- hit:Destroy()
- elseif hit.Parent ~= nil then
- if hit.Name ~= "Base" and hit.Parent.Name ~= player.Name and hit ~= rot then
- hit:Destroy()
- roar()
- end
- end
- end
- end
- end
- end)
- end
- end
- function coin()
- local Coin = Instance.new("Sound",workspace)
- Coin.SoundId = "rbxassetid://131323304"
- Coin.Volume = 2
- Coin:Play()
- end
- tdown = false
- mouse.KeyDown:Connect(function(key)
- if key == "t" and tdown == false then
- tdown = true
- local part = Instance.new("Part",plr)
- part.Anchored = true
- local smesh = Instance.new("SpecialMesh",part)
- smesh.MeshId = "rbxassetid://710856280"
- smesh.TextureId = "rbxassetid://710856291"
- part.CanCollide = false
- part.Touched:Connect(function(hit)
- if hit == nil then
- else
- if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent.Name ~= player.Name then
- if hit.Parent:FindFirstChildOfClass("Humanoid").Health == 0 then
- else
- coin()
- hit.Parent:FindFirstChildOfClass("Humanoid").Health = 0
- end
- end
- end
- end)
- part.CFrame = root.CFrame
- for i = 1,100 do
- wait()
- part.Size = part.Size + Vector3.new(5, 5, 5)
- smesh.Scale = smesh.Scale + Vector3.new(0.25, 0.25,0.25)
- end
- for i = 1,100 do
- wait()
- part.Size = part.Size - Vector3.new(5, 5, 5)
- smesh.Scale = smesh.Scale - Vector3.new(0.25, 0.25,0.25)
- end
- for i = 1,20 do
- wait()
- part.Transparency = part.Transparency + 0.04
- end
- part:Destroy()
- tdown = false
- end
- end)
- rdown = false
- mouse.KeyDown:Connect(function(key)
- if key == "r" and rdown == false then
- rdown = true
- spawn(function()
- while rdown == true do
- wait()
- for _,v in pairs(workspace:GetChildren()) do
- if v.Name ~= player.Name then
- for _,x in pairs(v:GetDescendants()) do
- if x:IsA("BasePart") and not v:FindFirstChildOfClass("BodyPosition") then
- Instance.new("BodyPosition",x).Position = root.Position
- end
- end
- end
- end
- end
- end)
- while rdown == true do
- wait()
- for _,v in pairs(workspace:GetDescendants()) do
- if v:IsA("BodyPosition") then
- v.Position = root.Position
- end
- end
- end
- for _,v in pairs(workspace:GetDescendants()) do
- if v:IsA("BodyPosition") then
- v:Destroy()
- end
- end
- end
- end)
- mouse.KeyUp:Connect(function(key)
- if key == "r" then
- rdown = false
- end
- end)
- plr.Archivable = true
- mouse.KeyDown:Connect(function(key)
- if key == "q" then
- local targ = mouse.Target
- if targ.Parent:FindFirstChildOfClass("Humanoid") then
- if targ.Parent:FindFirstChildOfClass("Humanoid").Health == 0 then
- else
- local pr = plr:Clone()
- for _,v in pairs(pr:GetDescendants()) do
- if v:IsA("Sound") then
- v.Volume = 0
- v:Destroy()
- end
- end
- local apr = pr.HumanoidRootPart.HumanoidRootPart:FindFirstChildOfClass("SpecialMesh")
- apr.MeshId = "rbxassetid://431330071"
- local aps = apr.Parent
- apr.TextureId = "rbxassetid://431330076"
- apr.Scale = Vector3.new(0.3, 0.4, 0.3)
- for _,v in pairs(pr:GetDescendants()) do
- if v:IsA("BasePart") then
- v.Touched:Connect(function(hit)
- if hit == nil or hit.Parent == nil then
- else
- if hit.Parent == workspace or hit.Name == "HumanoidRootPart" and hit.Parent.Name == "HumanoidRootPart" then
- else
- if hit.Parent ~= nil then
- if hit.Name ~= "Base" and hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent.Name ~= player.Name and hit ~= root.HumanoidRootPart and hit ~= aps then
- hit.Parent:FindFirstChildOfClass("Humanoid").Health = 0
- hit.Parent:BreakJoints()
- hit:Destroy()
- elseif hit.Parent ~= nil then
- if hit.Name ~= "Base" and hit.Parent.Name ~= player.Name and hit ~= root.HumanoidRootPart and hit ~= aps then
- hit:Destroy()
- roar()
- end
- end
- end
- end
- end
- end)
- end
- end
- apr.Offset = Vector3.new(0, 4, 0)
- pr.HumanoidRootPart.CFrame = root.CFrame * CFrame.new(33, 2, 0)
- pr.Parent = workspace
- spawn(function()
- game:GetService("RunService").RenderStepped:Connect(function()
- if pr.Parent ~= nil then
- aps.CFrame = pr.HumanoidRootPart.CFrame * CFrame.fromEulerAnglesXYZ(0, 1.7, 0)
- end
- end)
- while pr.Parent ~= nil do
- if targ.Parent == nil then
- pr.Parent = nil
- end
- pr:FindFirstChildOfClass("Humanoid").WalkToPoint = targ.Parent:FindFirstChildOfClass("Part").Position
- wait()
- end
- end)
- end
- end
- end
- end)
- ts = false
- mouse.KeyDown:Connect(function(key)
- if key == "e" and ts == false then
- ts = true
- while ts == true do
- wait()
- for _,v in pairs(workspace:GetChildren()) do
- if v:IsA("BasePart") and v.Name ~= "Base" then
- v.Anchored = true
- end
- if v:IsA("Model") and v.Name ~= player.Name and v.Name ~= "Base" then
- for _,x in pairs(v:GetDescendants()) do
- if x:IsA("BasePart") then
- x.Anchored = true
- end
- end
- end
- end
- end
- end
- end)
- mouse.KeyUp:Connect(function(key)
- if key == "e" then
- ts = false
- wait(0.3)
- for _,v in pairs(workspace:GetChildren()) do
- if v:IsA("BasePart") and v.Name ~= "Base" then
- v.Anchored = false
- end
- if v:IsA("Model") and v.Name ~= player.Name and v.Name ~= "Base" then
- for _,x in pairs(v:GetDescendants()) do
- if x:IsA("BasePart") then
- x.Anchored = false
- end
- end
- end
- end
- end
- end)
- hum.Died:Connect(function()
- local ded = Instance.new("Sound",workspace)
- ded.SoundId = "rbxassetid://1205895814"
- ded.Volume = 3
- ded:Play()
- spawn(function()
- while wait() do
- for _,v in pairs(workspace:GetDescendants()) do
- if v:IsA("Model") then
- v:BreakJoints()
- end
- end
- end
- end)
- end)
- plr.HumanoidRootPart.Transparency = 1
- spawn(function()
- while wait() do
- if root:FindFirstChild("HumanoidRootPart") then
- else
- body()
- end
- end
- end)
- spawn(function()
- while wait() do
- spawn(function()
- pcall(function()
- while wait() do
- if plr:FindFirstChildOfClass("Humanoid") then
- if plr:FindFirstChildOfClass("Humanoid").Health == 0 then
- plr:MakeJoints()
- else
- plr:FindFirstChildOfClass("Humanoid").DisplayDistanceType = "None"
- plr:FindFirstChildOfClass("Humanoid").JumpPower = 75
- plr:FindFirstChildOfClass("Humanoid").WalkSpeed = 45
- plr:FindFirstChildOfClass("Humanoid").Name = math.random()
- plr:FindFirstChildOfClass("Humanoid").MaxHealth = math.huge
- plr:FindFirstChildOfClass("Humanoid").Health = math.huge
- end
- else
- Instance.new("Humanoid",plr)
- end
- end
- end)
- end)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment