daily pastebin goal
8%
SHARE
TWEET

Ihaveapen

a guest Mar 23rd, 2019 110 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. warn("Loading PruinaTempestatis' Redwood Prison's Commands Script")
  2. game.Players.LocalPlayer.Chatted:connect(function(a)
  3. local function b(ca)
  4. for da,_b in
  5. pairs(game:GetService("Players"):GetPlayers())do if
  6. ca:lower()==_b.Name:sub(1,ca:len()):lower()then return _b end end;return nil end;local function c(ca)
  7. game:GetService("Workspace").resources.RemoteEvent:FireServer("cuff",ca)end;local function d(ca)
  8. game:GetService("Workspace").resources.RemoteEvent:FireServer("dealDamage",ca,100)end;local function _a(ca)
  9. game:GetService("Workspace").resources.RemoteEvent:FireServer("tase",ca)end;local function aa(ca)
  10. game:GetService("Workspace").resources.RemoteFunction:InvokeServer("requestTeam",ca)end
  11. local function ba(ca,da)
  12. if ca and da then
  13. game:GetService("Workspace").resources.RemoteFunction:InvokeServer("giveItem","M98B")
  14. game:GetService("Workspace").resources.RemoteFunction:InvokeServer("giveItem","ACR")
  15. game:GetService("Workspace").resources.RemoteFunction:InvokeServer("giveItem","L86A2")
  16. game:GetService("Workspace").resources.RemoteFunction:InvokeServer("giveItem","Parachute")
  17. game:GetService("Workspace").resources.RemoteFunction:InvokeServer("giveItem","Fake ID Card")else
  18. game:GetService("Workspace").resources.RemoteFunction:InvokeServer("giveItem",ca)end end
  19. if a:lower():sub(1,8)==":arrest "then
  20. if
  21. a:lower():sub(9)=="all"then for ca,da in
  22. 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
  23. if a:lower():sub(12)==
  24. "all"then for ca,da in
  25. 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
  26. if
  27. a:lower():sub(7)=="all"then
  28. for ca,da in
  29. 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
  30. if
  31. a:lower():sub(10)=="all"then
  32. for ca,da in
  33. 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
  34. if
  35. a:lower():sub(7)=="all"then for ca,da in
  36. 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
  37. a:lower():sub(10)=="all"then for ca,da in
  38. pairs(game:GetService("Players"):GetPlayers())do _a(da)end else local ca=b(a:sub(10))
  39. _a(ca)end elseif
  40. a:lower():sub(1,6)==":team "then aa(a:lower():sub(7))elseif
  41. a:lower():sub(1,9)=="/e :team "then aa(a:sub(10))elseif
  42. a:lower():sub(1,5)==":get "then if a:lower():sub(6)=="default"then ba(true,true)else
  43. ba(a:sub(6),false)end elseif
  44. a:lower():sub(1,8)=="/e :get "then if a:lower():sub(9)=="default"then ba(true,true)else
  45. ba(a:sub(9),false)end end end)
  46. warn("Successfully Loaded PruinaTempestatis' Redwood Prison's Commands Script")
  47. 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...")
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top