Advertisement
Guest User

MultiTool By Leopard v0.9 Shortened

a guest
Apr 20th, 2019
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.08 KB | None | 0 0
  1. function OnPlayerChat(player,text)
  2. if text == ("!help") then
  3. ohelp = "^2|Help-Menu| ^9Type ^3!help1 ^9through ^3!help3 ^9for more info on the script's uses"
  4. ConsoleMessage(player,ohelp)
  5. AbortEvent()
  6. elseif text == ("!aboutscript") then
  7. oabout = "^2|About-Script| ^9Thanks for actually reading this, this script was created by ^3Leopard ^9with hours of effort."
  8. ConsoleMessage(player,oabout)
  9. AbortEvent()
  10. elseif text == ("!help1") then
  11. ohelp1 = "^2|Help-1| ^9The prefix for all commands is ^2! ^9, type ^3!helpList ^9 to know what the category is..."
  12. ConsoleMessage(player,ohelp1)
  13. AbortEvent()
  14. elseif text == ("!help2") then -- delete the !games if there is none going to be used in your park
  15. ohelp2 = "^2|Help-2| ^4Commands: ^9!owner^1, ^9!oc^8-^2Owner Commands^1, ^9!aboutscript^1,^9!players"
  16. ConsoleMessage(player,ohelp2)
  17. AbortEvent()
  18. elseif text == ("!players") then
  19. ghj = CountPlayers()
  20. cplay = "^2 There is " .. ghj .. " players here"
  21. ConsoleMessage(player,cplay)
  22. AbortEvent()
  23. elseif player == "Player" or player == "Player" then -- To completely mute someone
  24. TintPlayer(player, 5)
  25. AbortEvent()
  26. elseif player == "Player" or player == "Player" then -- Change "Player" to the person you want to mute
  27. gt = GetPlayerNumber(player)
  28. tm = "^5|Cursed|^7[^9"..player.."^7] Wanted to talk" --This message can be changed to anything you want
  29. ConsoleMessageAllPlayers(tm)
  30. AbortEvent()
  31. end
  32. --|__________________________________________________|
  33. --|Thanks for using my script :) ~leopard            |
  34. --|__________________________________________________|
  35. if player == "Leopard" or player == "Tyler" or player == "Player2" then -- you can change "Owner", "Player1", and "Player2" to people you trust but make sure to include yourself
  36. if text:find("!tint:") then
  37. tmy = text:sub(7,text:len())
  38. TintPlayer(player,tmy)
  39. AbortEvent()
  40. end
  41. if text == ("!ecart") then
  42. olh = player
  43. ecar = "^2" .. olh .. "^9 has Enabled Carts"
  44. ConsoleMessageAllPlayers(ecar)
  45. EnableCarts()
  46. AbortEvent()
  47. end
  48. if text == ("!dcart") then
  49. ogh = player
  50. dcar = "^2" .. ogh .. "^9 has Disabled Carts"
  51. ConsoleMessageAllPlayers(dcar)
  52. DisableCarts()
  53. AbortEvent()
  54. end
  55. if text == ("!rpick") then
  56. oh = GetRandomPlayer()
  57. cmsg = oh .. "^7 has been chosen"
  58. ConsoleMessageAllPlayers(cmsg)
  59. AbortEvent()
  60. end
  61. if text == ("!diceroll") then
  62. oh = GetRandomNumber(1, 6)
  63. ro = player
  64. cmsg = ro .. "^7 has rolled " .. oh
  65. ConsoleMessageAllPlayers(cmsg)
  66. AbortEvent()
  67. end
  68. if text == ("!oc") then
  69. owncom = "^2|Commands| ^9Here are the commands... ^3!tint:1-9^1, ^3!rpick^1, ^3!diceroll"
  70. ConsoleMessage(player,owncom)
  71. AbortEvent()
  72. end
  73. if player == "Vip" or player == "Vip2" or player == "Vip3" then -- change vip to people you think are special enough to use this
  74. TintPlayer(player, 9) -- The color can be any color you want
  75. gt = GetPlayerNumber(player)
  76. tm = "^9|VIP| ^2[^8"..player.."^2] ^7"..text
  77. ConsoleMessageAllPlayers(tm)
  78. AbortEvent()
  79. end
  80.  
  81. function OnPlayerEnterPark(player)
  82. ConsoleMessage(player,"^3 This script was made by^2 Leopard^3.")
  83. end
  84. end
  85. end
  86. --^^^ Please do not change this because its just rude and if you do shame on you.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement