Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function OnPlayerChat(player,text)
- if text == ("!help") then
- ohelp = "^2|Help-Menu| ^9Type ^3!help1 ^9through ^3!help3 ^9for more info on the script's uses"
- ConsoleMessage(player,ohelp)
- AbortEvent()
- elseif text == ("!aboutscript") then
- oabout = "^2|About-Script| ^9Thanks for actually reading this, this script was created by ^3Leopard ^9with hours of effort."
- ConsoleMessage(player,oabout)
- AbortEvent()
- elseif text == ("!help1") then
- ohelp1 = "^2|Help-1| ^9The prefix for all commands is ^2! ^9, type ^3!helpList ^9 to know what the category is..."
- ConsoleMessage(player,ohelp1)
- AbortEvent()
- elseif text == ("!help2") then -- delete the !games if there is none going to be used in your park
- ohelp2 = "^2|Help-2| ^4Commands: ^9!owner^1, ^9!oc^8-^2Owner Commands^1, ^9!aboutscript^1,^9!players"
- ConsoleMessage(player,ohelp2)
- AbortEvent()
- elseif text == ("!players") then
- ghj = CountPlayers()
- cplay = "^2 There is " .. ghj .. " players here"
- ConsoleMessage(player,cplay)
- AbortEvent()
- elseif player == "Player" or player == "Player" then -- To completely mute someone
- TintPlayer(player, 5)
- AbortEvent()
- elseif player == "Player" or player == "Player" then -- Change "Player" to the person you want to mute
- gt = GetPlayerNumber(player)
- tm = "^5|Cursed|^7[^9"..player.."^7] Wanted to talk" --This message can be changed to anything you want
- ConsoleMessageAllPlayers(tm)
- AbortEvent()
- end
- --|__________________________________________________|
- --|Thanks for using my script :) ~leopard |
- --|__________________________________________________|
- 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
- if text:find("!tint:") then
- tmy = text:sub(7,text:len())
- TintPlayer(player,tmy)
- AbortEvent()
- end
- if text == ("!ecart") then
- olh = player
- ecar = "^2" .. olh .. "^9 has Enabled Carts"
- ConsoleMessageAllPlayers(ecar)
- EnableCarts()
- AbortEvent()
- end
- if text == ("!dcart") then
- ogh = player
- dcar = "^2" .. ogh .. "^9 has Disabled Carts"
- ConsoleMessageAllPlayers(dcar)
- DisableCarts()
- AbortEvent()
- end
- if text == ("!rpick") then
- oh = GetRandomPlayer()
- cmsg = oh .. "^7 has been chosen"
- ConsoleMessageAllPlayers(cmsg)
- AbortEvent()
- end
- if text == ("!diceroll") then
- oh = GetRandomNumber(1, 6)
- ro = player
- cmsg = ro .. "^7 has rolled " .. oh
- ConsoleMessageAllPlayers(cmsg)
- AbortEvent()
- end
- if text == ("!oc") then
- owncom = "^2|Commands| ^9Here are the commands... ^3!tint:1-9^1, ^3!rpick^1, ^3!diceroll"
- ConsoleMessage(player,owncom)
- AbortEvent()
- end
- if player == "Vip" or player == "Vip2" or player == "Vip3" then -- change vip to people you think are special enough to use this
- TintPlayer(player, 9) -- The color can be any color you want
- gt = GetPlayerNumber(player)
- tm = "^9|VIP| ^2[^8"..player.."^2] ^7"..text
- ConsoleMessageAllPlayers(tm)
- AbortEvent()
- end
- function OnPlayerEnterPark(player)
- ConsoleMessage(player,"^3 This script was made by^2 Leopard^3.")
- end
- end
- end
- --^^^ 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