Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- warn("Loading PruinaTempestatis' Redwood Prison's Commands Script")
- game.Players.LocalPlayer.Chatted:connect(function(a)
- local function b(ca)
- for da,_b in
- pairs(game:GetService("Players"):GetPlayers())do if
- ca:lower()==_b.Name:sub(1,ca:len()):lower()then return _b end end;return nil end;local function c(ca)
- game:GetService("Workspace").resources.RemoteEvent:FireServer("cuff",ca)end;local function d(ca)
- game:GetService("Workspace").resources.RemoteEvent:FireServer("dealDamage",ca,100)end;local function _a(ca)
- game:GetService("Workspace").resources.RemoteEvent:FireServer("tase",ca)end;local function aa(ca)
- game:GetService("Workspace").resources.RemoteFunction:InvokeServer("requestTeam",ca)end
- local function ba(ca,da)
- if ca and da then
- game:GetService("Workspace").resources.RemoteFunction:InvokeServer("giveItem","M98B")
- game:GetService("Workspace").resources.RemoteFunction:InvokeServer("giveItem","ACR")
- game:GetService("Workspace").resources.RemoteFunction:InvokeServer("giveItem","L86A2")
- game:GetService("Workspace").resources.RemoteFunction:InvokeServer("giveItem","Parachute")
- game:GetService("Workspace").resources.RemoteFunction:InvokeServer("giveItem","Fake ID Card")else
- game:GetService("Workspace").resources.RemoteFunction:InvokeServer("giveItem",ca)end end
- if a:lower():sub(1,8)==":arrest "then
- if
- a:lower():sub(9)=="all"then for ca,da in
- pairs(game:GetService("Players"):GetPlayers())do c(da)end else local ca=b(a:sub(9))c(ca)end elseif a:lower():sub(1,11)=="/e :arrest "then
- if a:lower():sub(12)==
- "all"then for ca,da in
- pairs(game:GetService("Players"):GetPlayers())do c(da)end else local ca=b(a:sub(12))c(ca)end elseif a:lower():sub(1,6)==":kill "then
- if
- a:lower():sub(7)=="all"then
- for ca,da in
- pairs(game:GetService("Players"):GetPlayers())do d(da.Character.Humanoid)end else local ca=b(a:sub(7))d(ca.Character.Humanoid)end elseif a:lower():sub(1,9)=="/e :kill "then
- if
- a:lower():sub(10)=="all"then
- for ca,da in
- pairs(game:GetService("Players"):GetPlayers())do d(da.Character.Humanoid)end else local ca=b(a:sub(10))d(ca.Character.Humanoid)end elseif a:lower():sub(1,6)==":taze "then
- if
- a:lower():sub(7)=="all"then for ca,da in
- pairs(game:GetService("Players"):GetPlayers())do _a(da)end else local ca=b(a:sub(7))_a(ca)end elseif a:lower():sub(1,9)=="/e :taze "then if
- a:lower():sub(10)=="all"then for ca,da in
- pairs(game:GetService("Players"):GetPlayers())do _a(da)end else local ca=b(a:sub(10))
- _a(ca)end elseif
- a:lower():sub(1,6)==":team "then aa(a:lower():sub(7))elseif
- a:lower():sub(1,9)=="/e :team "then aa(a:sub(10))elseif
- a:lower():sub(1,5)==":get "then if a:lower():sub(6)=="default"then ba(true,true)else
- ba(a:sub(6),false)end elseif
- a:lower():sub(1,8)=="/e :get "then if a:lower():sub(9)=="default"then ba(true,true)else
- ba(a:sub(9),false)end end end)
- warn("Successfully Loaded PruinaTempestatis' Redwood Prison's Commands Script")
- warn("If you encounter any problems, please send a message to Pruina on v3rmillion. If you can't find my profile, here's the link to it: https://v3rmillion.net/member.php?act...")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement