Advertisement
Guest User

MultiTool By Leopard v0.65 fix

a guest
Apr 20th, 2019
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.20 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 == ("!helplist") then
  7. ohl = "^2|Help-Lists| ^9Help1 ^8= ^9guide^1, ^9Help2 ^8= ^9Commmand List^1, ^9Help3 ^8= ^9^1Work in progress"
  8. ConsoleMessage(player,ohl)
  9. AbortEvent()
  10. elseif text == ("!aboutscript") then
  11. oabout = "^2|About-Script| ^9Thanks for actually reading this, this script was created by ^3Leopard ^9with hours of effort."
  12. ConsoleMessage(player,oabout)
  13. AbortEvent()
  14. elseif text == ("!help1") then
  15. ohelp1 = "^2|Help-1| ^9The prefix for all commands is ^2! ^9, type ^3!helpList ^9 to know what the category is..."
  16. ConsoleMessage(player,ohelp1)
  17. AbortEvent()
  18. elseif text == ("!help2") then -- delete the !games if there is none going to be used in your park
  19. ohelp2 = "^2|Help-2| ^4Commands: ^9!games^1, ^9!helpuse^8-^2only for accessed^1, ^9!aboutscript"
  20. ConsoleMessage(player,ohelp2)
  21. AbortEvent()
  22. elseif text == ("!help3") then
  23. ohelp3 = "^2|Help-3| ^9Sorry this script is still work in progress"
  24. ConsoleMessage(player,ohelp3)
  25. AbortEvent()
  26. ---------------------------------------------------- Delete this spot if you have no games in your world
  27. elseif text == ("!games") then
  28. ogame = "^2|Help-3| ^9!game1^1, ^9!game2^1, ^9!game3^1, ^9!game4 " --change game to what it is ex. parkour, fashion, etc...
  29. ConsoleMessage(player,ogame)
  30. AbortEvent()
  31. elseif text == ("!game1") then --change "!game1 to the name of what it is to match ur game"
  32. ogame = "Requesting teleportation"
  33. ConsoleMessage(player,ogame)
  34. TeleportPlayer(player, x, y) -- change x, and y to
  35. AbortEvent()
  36. elseif player == "Choosenone" or player == "Player" then -- To completely mute someone
  37. AbortEvent()
  38. elseif player == "Player" or player == "Player" then -- Change "Player" to the person you want to mute
  39. gt = GetPlayerNumber(player)
  40. tm = "[^9"..player.."^7] Wanted to talk"
  41. ConsoleMessageAllPlayers(tm)
  42. AbortEvent()
  43. end
  44. --|__________________________________________________|
  45. --|Thanks for using my script :) ~leopard            |
  46. --|__________________________________________________|
  47. if player == "Leopard" or player == "Player1" or player == "Player2" then -- you can change "Owner", "Player1", and "Player2" to people you trust but make sure to include yourself
  48. if text == ("!tint:1") then
  49. TintPlayer(player,1)
  50. AbortEvent()
  51. end
  52. if text == ("!tint:2") then
  53. TintPlayer(player,2)
  54. AbortEvent()
  55. end
  56. if text == ("!tint:3") then
  57. TintPlayer(player,3)
  58. AbortEvent()
  59. end
  60. if text == ("!tint:4") then
  61. TintPlayer(player,4)
  62. AbortEvent()
  63. end
  64. if text == ("!tint:5") then
  65. TintPlayer(player,5)
  66. AbortEvent()
  67. end
  68. if text == ("!tint:6") then
  69. TintPlayer(player,6)
  70. AbortEvent()
  71. end
  72. if text == ("!tint:7") then
  73. TintPlayer(player,7)
  74. AbortEvent()
  75. end
  76. if text == ("!tint:8") then
  77. TintPlayer(player,8)
  78. AbortEvent()
  79. end
  80. if text == ("!tint:9") then
  81. TintPlayer(player,9)
  82. AbortEvent()
  83. end
  84. if text == ("!rpick") then
  85. oh = GetRandomPlayer()
  86. cmsg = oh .. "^7 has been chosen"
  87. ConsoleMessageAllPlayers(cmsg)
  88. AbortEvent()
  89. end
  90. if text == ("!helpuse") then -- This doesn't need to be deleted because its a guide to this script for people on the vip list
  91. ownhelp = "^2|Owner's-Guide| ^9!oc ^8= ^9Owner's Commands^1, "
  92. ConsoleMessage(player,ownhelp)
  93. AbortEvent()
  94. end
  95. if text == ("!oc") then
  96. owncom = "^2|Commands| ^9Here are the commands... ^3!tint:1-9^1, ^3!rpick^1, ^3!ocmore"
  97. ConsoleMessage(player,owncom)
  98. AbortEvent()
  99. end
  100. if text == ("!ocmore") then
  101. ocmore = "^2|Commands-Help| ^3!tinthelp^1,^3!rpickhelp^1"
  102. ConsoleMessage(player,ocmore)
  103. AbortEvent()
  104. end
  105. if text == ("!tinthelp") then
  106. thelp = "^2|Tint-Help| ^9Typing ^7!Tint: ^9Then a nubmer 1 through 9 will change the color of your player"
  107. ConsoleMessage(player,thelp)
  108. AbortEvent()
  109. end
  110. if text == ("!rpickhelp") then
  111. rphelp = "^2|Random-Pick-help| ^9Typing ^7!rpick ^9 will randomly pick a player just as if it was a giveaway or something"
  112. ConsoleMessage(player,rphelp)
  113. AbortEvent()
  114. end
  115. end
  116. end
  117.  
  118. function OnPlayerEnterPark(player)
  119. ConsoleMessage(player,"^3 This script was made by^2 Leopard^3.")
  120. end
  121. --^^^ 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