SHOW:
|
|
- or go back to the newest paste.
| 1 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 2 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
| 3 | local RealPlayer = Player | |
| 4 | 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
| |
| 5 | ||
| 6 | wait() | |
| 7 | ||
| 8 | ||
| 9 | --[[ | |
| 10 | Gatekeeper Mario script made by a Respectable Scripter (I wish to remain unnamed) | |
| 11 | ||
| 12 | The controls are: | |
| 13 | R to pull a bunch of parts at once to you | |
| 14 | T is a abusive attack which might kill a LOT of people (Big radius) | |
| 15 | Q to summon a Luigi to attack a player | |
| 16 | E to time stop | |
| 17 | You kill people on touch, very useful (Especially if you use this ability with R) | |
| 18 | ||
| 19 | ||
| 20 | ||
| 21 | This script is intended to be ran on Void script Builder | |
| 22 | ||
| 23 | ||
| 24 | ||
| 25 | ||
| 26 | ||
| 27 | ||
| 28 | --]] | |
| 29 | ||
| 30 | local players = game:GetService("Players")
| |
| 31 | ||
| 32 | local player = players.LocalPlayer | |
| 33 | ||
| 34 | local plr = player.Character | |
| 35 | ||
| 36 | if game.PlaceId == 843495510 then | |
| 37 | warn("Wreak havoc everywhere")
| |
| 38 | elseif game.PlaceId == 843468296 then | |
| 39 | warn("Wreak havoc when the admins/mods aren't looking")
| |
| 40 | end | |
| 41 | ||
| 42 | local root = plr.HumanoidRootPart | |
| 43 | ||
| 44 | local theme = Instance.new("Sound",plr)
| |
| 45 | theme.SoundId = "rbxassetid://1305056692" | |
| 46 | theme.Looped = true | |
| 47 | theme.Volume = 1 | |
| 48 | theme:Play() | |
| 49 | ||
| 50 | ||
| 51 | ||
| 52 | for _,v in pairs(plr:GetDescendants()) do | |
| 53 | if v:IsA("Accessory") then
| |
| 54 | v:Destroy() | |
| 55 | end | |
| 56 | end | |
| 57 | ||
| 58 | local hum = plr:FindFirstChildOfClass("Humanoid")
| |
| 59 | ||
| 60 | ||
| 61 | ||
| 62 | print() | |
| 63 | ||
| 64 | ||
| 65 | ||
| 66 | warn("The controls are:")
| |
| 67 | warn("R to pull a bunch of parts at once to you")
| |
| 68 | warn("T is a abusive attack which might kill a LOT of people (Big radius)")
| |
| 69 | warn("Q to summon a Luigi to attack a player")
| |
| 70 | warn("E to time stop")
| |
| 71 | warn("You kill people on touch, very useful")
| |
| 72 | ||
| 73 | ||
| 74 | local mouse = player:GetMouse() | |
| 75 | ||
| 76 | for _,v in pairs(plr:GetDescendants()) do | |
| 77 | if v:IsA("BasePart") or v:IsA("Decal") then
| |
| 78 | v.Transparency = 1 | |
| 79 | end | |
| 80 | end | |
| 81 | ||
| 82 | function roar() | |
| 83 | spawn(function() | |
| 84 | local Roar = Instance.new("Sound",workspace)
| |
| 85 | Roar.SoundId = "rbxassetid://131172436" | |
| 86 | Roar.Volume = 2 | |
| 87 | Roar.Looped = false | |
| 88 | Roar:Play() | |
| 89 | end) | |
| 90 | end | |
| 91 | ||
| 92 | ||
| 93 | hum.WalkSpeed = 45 | |
| 94 | ||
| 95 | function body() | |
| 96 | spawn(function() | |
| 97 | local rot = root:Clone() | |
| 98 | rot:ClearAllChildren() | |
| 99 | rot.CFrame = root.CFrame * CFrame.fromEulerAnglesXYZ(0, 3.1, 0) | |
| 100 | rot.Transparency = 0 | |
| 101 | rot.Anchored = false | |
| 102 | rot.Parent = root | |
| 103 | ||
| 104 | ||
| 105 | local mesh = Instance.new("SpecialMesh")
| |
| 106 | ||
| 107 | mesh.MeshId = "rbxassetid://554947956" | |
| 108 | mesh.TextureId = "rbxassetid://554947969" | |
| 109 | mesh.Scale = Vector3.new(10, 12, 10) | |
| 110 | mesh.Parent = rot | |
| 111 | mesh.Offset = Vector3.new(0, 3, 0) | |
| 112 | rot.Anchored = true | |
| 113 | ||
| 114 | game:GetService("RunService").RenderStepped:Connect(function()
| |
| 115 | rot.CFrame = root.CFrame * CFrame.fromEulerAnglesXYZ(0, 3.1, 0) | |
| 116 | end) | |
| 117 | ||
| 118 | end) | |
| 119 | end | |
| 120 | ||
| 121 | ||
| 122 | for _,v in pairs(plr:GetDescendants()) do | |
| 123 | if v:IsA("BasePart") then
| |
| 124 | v.Touched:Connect(function(hit) | |
| 125 | if hit == nil or hit.Parent == nil then | |
| 126 | else | |
| 127 | ||
| 128 | if hit.Parent == workspace or hit.Name == "HumanoidRootPart" and hit.Parent.Name == "HumanoidRootPart" then | |
| 129 | else | |
| 130 | ||
| 131 | if hit.Parent ~= nil then | |
| 132 | if hit.Name ~= "Base" and hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent.Name ~= player.Name and hit ~= rot then
| |
| 133 | hit.Parent:FindFirstChildOfClass("Humanoid").Health = 0
| |
| 134 | hit.Parent:BreakJoints() | |
| 135 | hit:Destroy() | |
| 136 | elseif hit.Parent ~= nil then | |
| 137 | if hit.Name ~= "Base" and hit.Parent.Name ~= player.Name and hit ~= rot then | |
| 138 | hit:Destroy() | |
| 139 | roar() | |
| 140 | end | |
| 141 | end | |
| 142 | end | |
| 143 | end | |
| 144 | end | |
| 145 | end) | |
| 146 | end | |
| 147 | end | |
| 148 | ||
| 149 | function coin() | |
| 150 | local Coin = Instance.new("Sound",workspace)
| |
| 151 | Coin.SoundId = "rbxassetid://131323304" | |
| 152 | Coin.Volume = 2 | |
| 153 | Coin:Play() | |
| 154 | ||
| 155 | end | |
| 156 | ||
| 157 | tdown = false | |
| 158 | ||
| 159 | mouse.KeyDown:Connect(function(key) | |
| 160 | if key == "t" and tdown == false then | |
| 161 | tdown = true | |
| 162 | local part = Instance.new("Part",plr)
| |
| 163 | part.Anchored = true | |
| 164 | local smesh = Instance.new("SpecialMesh",part)
| |
| 165 | smesh.MeshId = "rbxassetid://710856280" | |
| 166 | smesh.TextureId = "rbxassetid://710856291" | |
| 167 | part.CanCollide = false | |
| 168 | part.Touched:Connect(function(hit) | |
| 169 | if hit == nil then | |
| 170 | else | |
| 171 | ||
| 172 | if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent.Name ~= player.Name then
| |
| 173 | if hit.Parent:FindFirstChildOfClass("Humanoid").Health == 0 then
| |
| 174 | else | |
| 175 | coin() | |
| 176 | hit.Parent:FindFirstChildOfClass("Humanoid").Health = 0
| |
| 177 | end | |
| 178 | end | |
| 179 | end | |
| 180 | end) | |
| 181 | part.CFrame = root.CFrame | |
| 182 | for i = 1,100 do | |
| 183 | wait() | |
| 184 | part.Size = part.Size + Vector3.new(5, 5, 5) | |
| 185 | smesh.Scale = smesh.Scale + Vector3.new(0.25, 0.25,0.25) | |
| 186 | end | |
| 187 | for i = 1,100 do | |
| 188 | wait() | |
| 189 | part.Size = part.Size - Vector3.new(5, 5, 5) | |
| 190 | smesh.Scale = smesh.Scale - Vector3.new(0.25, 0.25,0.25) | |
| 191 | end | |
| 192 | for i = 1,20 do | |
| 193 | wait() | |
| 194 | part.Transparency = part.Transparency + 0.04 | |
| 195 | end | |
| 196 | part:Destroy() | |
| 197 | tdown = false | |
| 198 | end | |
| 199 | end) | |
| 200 | ||
| 201 | rdown = false | |
| 202 | ||
| 203 | mouse.KeyDown:Connect(function(key) | |
| 204 | if key == "r" and rdown == false then | |
| 205 | rdown = true | |
| 206 | spawn(function() | |
| 207 | while rdown == true do | |
| 208 | wait() | |
| 209 | for _,v in pairs(workspace:GetChildren()) do | |
| 210 | if v.Name ~= player.Name then | |
| 211 | for _,x in pairs(v:GetDescendants()) do | |
| 212 | if x:IsA("BasePart") and not v:FindFirstChildOfClass("BodyPosition") then
| |
| 213 | Instance.new("BodyPosition",x).Position = root.Position
| |
| 214 | end | |
| 215 | end | |
| 216 | end | |
| 217 | end | |
| 218 | end | |
| 219 | end) | |
| 220 | while rdown == true do | |
| 221 | wait() | |
| 222 | for _,v in pairs(workspace:GetDescendants()) do | |
| 223 | if v:IsA("BodyPosition") then
| |
| 224 | v.Position = root.Position | |
| 225 | end | |
| 226 | end | |
| 227 | end | |
| 228 | for _,v in pairs(workspace:GetDescendants()) do | |
| 229 | if v:IsA("BodyPosition") then
| |
| 230 | v:Destroy() | |
| 231 | end | |
| 232 | end | |
| 233 | ||
| 234 | end | |
| 235 | end) | |
| 236 | ||
| 237 | mouse.KeyUp:Connect(function(key) | |
| 238 | if key == "r" then | |
| 239 | rdown = false | |
| 240 | end | |
| 241 | end) | |
| 242 | ||
| 243 | plr.Archivable = true | |
| 244 | ||
| 245 | ||
| 246 | ||
| 247 | mouse.KeyDown:Connect(function(key) | |
| 248 | if key == "q" then | |
| 249 | local targ = mouse.Target | |
| 250 | if targ.Parent:FindFirstChildOfClass("Humanoid") then
| |
| 251 | if targ.Parent:FindFirstChildOfClass("Humanoid").Health == 0 then
| |
| 252 | else | |
| 253 | ||
| 254 | local pr = plr:Clone() | |
| 255 | for _,v in pairs(pr:GetDescendants()) do | |
| 256 | if v:IsA("Sound") then
| |
| 257 | v.Volume = 0 | |
| 258 | v:Destroy() | |
| 259 | end | |
| 260 | end | |
| 261 | local apr = pr.HumanoidRootPart.HumanoidRootPart:FindFirstChildOfClass("SpecialMesh")
| |
| 262 | apr.MeshId = "rbxassetid://431330071" | |
| 263 | local aps = apr.Parent | |
| 264 | apr.TextureId = "rbxassetid://431330076" | |
| 265 | apr.Scale = Vector3.new(0.3, 0.4, 0.3) | |
| 266 | ||
| 267 | for _,v in pairs(pr:GetDescendants()) do | |
| 268 | if v:IsA("BasePart") then
| |
| 269 | v.Touched:Connect(function(hit) | |
| 270 | if hit == nil or hit.Parent == nil then | |
| 271 | else | |
| 272 | ||
| 273 | if hit.Parent == workspace or hit.Name == "HumanoidRootPart" and hit.Parent.Name == "HumanoidRootPart" then | |
| 274 | else | |
| 275 | ||
| 276 | if hit.Parent ~= nil then | |
| 277 | if hit.Name ~= "Base" and hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent.Name ~= player.Name and hit ~= root.HumanoidRootPart and hit ~= aps then
| |
| 278 | hit.Parent:FindFirstChildOfClass("Humanoid").Health = 0
| |
| 279 | hit.Parent:BreakJoints() | |
| 280 | hit:Destroy() | |
| 281 | elseif hit.Parent ~= nil then | |
| 282 | if hit.Name ~= "Base" and hit.Parent.Name ~= player.Name and hit ~= root.HumanoidRootPart and hit ~= aps then | |
| 283 | hit:Destroy() | |
| 284 | roar() | |
| 285 | end | |
| 286 | end | |
| 287 | end | |
| 288 | end | |
| 289 | end | |
| 290 | end) | |
| 291 | end | |
| 292 | end | |
| 293 | apr.Offset = Vector3.new(0, 4, 0) | |
| 294 | pr.HumanoidRootPart.CFrame = root.CFrame * CFrame.new(33, 2, 0) | |
| 295 | pr.Parent = workspace | |
| 296 | spawn(function() | |
| 297 | game:GetService("RunService").RenderStepped:Connect(function()
| |
| 298 | if pr.Parent ~= nil then | |
| 299 | aps.CFrame = pr.HumanoidRootPart.CFrame * CFrame.fromEulerAnglesXYZ(0, 1.7, 0) | |
| 300 | end | |
| 301 | end) | |
| 302 | while pr.Parent ~= nil do | |
| 303 | if targ.Parent == nil then | |
| 304 | pr.Parent = nil | |
| 305 | end | |
| 306 | pr:FindFirstChildOfClass("Humanoid").WalkToPoint = targ.Parent:FindFirstChildOfClass("Part").Position
| |
| 307 | wait() | |
| 308 | end | |
| 309 | end) | |
| 310 | end | |
| 311 | end | |
| 312 | end | |
| 313 | end) | |
| 314 | ||
| 315 | ts = false | |
| 316 | ||
| 317 | mouse.KeyDown:Connect(function(key) | |
| 318 | if key == "e" and ts == false then | |
| 319 | ts = true | |
| 320 | while ts == true do | |
| 321 | wait() | |
| 322 | for _,v in pairs(workspace:GetChildren()) do | |
| 323 | if v:IsA("BasePart") and v.Name ~= "Base" then
| |
| 324 | v.Anchored = true | |
| 325 | end | |
| 326 | if v:IsA("Model") and v.Name ~= player.Name and v.Name ~= "Base" then
| |
| 327 | for _,x in pairs(v:GetDescendants()) do | |
| 328 | if x:IsA("BasePart") then
| |
| 329 | x.Anchored = true | |
| 330 | end | |
| 331 | end | |
| 332 | end | |
| 333 | end | |
| 334 | end | |
| 335 | end | |
| 336 | ||
| 337 | end) | |
| 338 | ||
| 339 | mouse.KeyUp:Connect(function(key) | |
| 340 | if key == "e" then | |
| 341 | ts = false | |
| 342 | wait(0.3) | |
| 343 | for _,v in pairs(workspace:GetChildren()) do | |
| 344 | if v:IsA("BasePart") and v.Name ~= "Base" then
| |
| 345 | v.Anchored = false | |
| 346 | end | |
| 347 | if v:IsA("Model") and v.Name ~= player.Name and v.Name ~= "Base" then
| |
| 348 | for _,x in pairs(v:GetDescendants()) do | |
| 349 | if x:IsA("BasePart") then
| |
| 350 | x.Anchored = false | |
| 351 | end | |
| 352 | end | |
| 353 | end | |
| 354 | end | |
| 355 | end | |
| 356 | ||
| 357 | end) | |
| 358 | ||
| 359 | hum.Died:Connect(function() | |
| 360 | local ded = Instance.new("Sound",workspace)
| |
| 361 | ded.SoundId = "rbxassetid://1205895814" | |
| 362 | ded.Volume = 3 | |
| 363 | ded:Play() | |
| 364 | spawn(function() | |
| 365 | while wait() do | |
| 366 | for _,v in pairs(workspace:GetDescendants()) do | |
| 367 | if v:IsA("Model") then
| |
| 368 | v:BreakJoints() | |
| 369 | end | |
| 370 | end | |
| 371 | end | |
| 372 | end) | |
| 373 | end) | |
| 374 | plr.HumanoidRootPart.Transparency = 1 | |
| 375 | spawn(function() | |
| 376 | while wait() do | |
| 377 | if root:FindFirstChild("HumanoidRootPart") then
| |
| 378 | else | |
| 379 | body() | |
| 380 | end | |
| 381 | end | |
| 382 | end) | |
| 383 | spawn(function() | |
| 384 | while wait() do | |
| 385 | spawn(function() | |
| 386 | pcall(function() | |
| 387 | while wait() do | |
| 388 | if plr:FindFirstChildOfClass("Humanoid") then
| |
| 389 | if plr:FindFirstChildOfClass("Humanoid").Health == 0 then
| |
| 390 | plr:MakeJoints() | |
| 391 | else | |
| 392 | plr:FindFirstChildOfClass("Humanoid").DisplayDistanceType = "None"
| |
| 393 | plr:FindFirstChildOfClass("Humanoid").JumpPower = 75
| |
| 394 | plr:FindFirstChildOfClass("Humanoid").WalkSpeed = 45
| |
| 395 | ||
| 396 | plr:FindFirstChildOfClass("Humanoid").Name = math.random()
| |
| 397 | plr:FindFirstChildOfClass("Humanoid").MaxHealth = math.huge
| |
| 398 | plr:FindFirstChildOfClass("Humanoid").Health = math.huge
| |
| 399 | end | |
| 400 | else | |
| 401 | Instance.new("Humanoid",plr)
| |
| 402 | end | |
| 403 | end | |
| 404 | end) | |
| 405 | end) | |
| 406 | end | |
| 407 | end) |