Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,Mouse,mouse,UserInputService,ContextActionService = owner
- local RealPlayer = Player
- do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end,__call=function(self,...)local t=rawget(self,"_RealService")if t then return t(...)end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return self[t]end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;x.RunService=v({RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")setmetatable(x,{__index=function(self,t)return r:GetService(t)or typeof(r[t])=="function"and function(m,...)return r[t](r,...)end or r[t]end,__newindex=s.__newindex,__call=s.__call})game,owner=x,x.Players.LocalPlayer end
- 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