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 == ("!helplist") then
- ohl = "^2|Help-Lists| ^9Help1 ^8= ^9guide^1, ^9Help2 ^8= ^9Commmand List^1, ^9Help3 ^8= ^9^1Work in progress"
- ConsoleMessage(player,ohl)
- 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!games^1, ^9!helpuse^8-^2only for accessed^1, ^9!aboutscript"
- ConsoleMessage(player,ohelp2)
- AbortEvent()
- elseif text == ("!help3") then
- ohelp3 = "^2|Help-3| ^9Sorry this script is still work in progress"
- ConsoleMessage(player,ohelp3)
- AbortEvent()
- ---------------------------------------------------- Delete this spot if you have no games in your world
- elseif text == ("!games") then
- 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...
- ConsoleMessage(player,ogame)
- AbortEvent()
- elseif text == ("!game1") then --change "!game1 to the name of what it is to match ur game"
- ogame = "Requesting teleportation"
- ConsoleMessage(player,ogame)
- TeleportPlayer(player, x, y) -- change x, and y to
- AbortEvent()
- elseif player == "Choosenone" or player == "Player" then -- To completely mute someone
- AbortEvent()
- elseif player == "Player" or player == "Player" then -- Change "Player" to the person you want to mute
- gt = GetPlayerNumber(player)
- tm = "[^9"..player.."^7] Wanted to talk"
- ConsoleMessageAllPlayers(tm)
- AbortEvent()
- end
- --|__________________________________________________|
- --|Thanks for using my script :) ~leopard |
- --|__________________________________________________|
- 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
- if text == ("!tint:1") then
- TintPlayer(player,1)
- AbortEvent()
- end
- if text == ("!tint:2") then
- TintPlayer(player,2)
- AbortEvent()
- end
- if text == ("!tint:3") then
- TintPlayer(player,3)
- AbortEvent()
- end
- if text == ("!tint:4") then
- TintPlayer(player,4)
- AbortEvent()
- end
- if text == ("!tint:5") then
- TintPlayer(player,5)
- AbortEvent()
- end
- if text == ("!tint:6") then
- TintPlayer(player,6)
- AbortEvent()
- end
- if text == ("!tint:7") then
- TintPlayer(player,7)
- AbortEvent()
- end
- if text == ("!tint:8") then
- TintPlayer(player,8)
- AbortEvent()
- end
- if text == ("!tint:9") then
- TintPlayer(player,9)
- AbortEvent()
- end
- if text == ("!rpick") then
- oh = GetRandomPlayer()
- cmsg = oh .. "^7 has been chosen"
- ConsoleMessageAllPlayers(cmsg)
- AbortEvent()
- end
- if text == ("!helpuse") then -- This doesn't need to be deleted because its a guide to this script for people on the vip list
- ownhelp = "^2|Owner's-Guide| ^9!oc ^8= ^9Owner's Commands^1, "
- ConsoleMessage(player,ownhelp)
- AbortEvent()
- end
- if text == ("!oc") then
- owncom = "^2|Commands| ^9Here are the commands... ^3!tint:1-9^1, ^3!rpick^1, ^3!ocmore"
- ConsoleMessage(player,owncom)
- AbortEvent()
- end
- if text == ("!ocmore") then
- ocmore = "^2|Commands-Help| ^3!tinthelp^1,^3!rpickhelp^1"
- ConsoleMessage(player,ocmore)
- AbortEvent()
- end
- if text == ("!tinthelp") then
- thelp = "^2|Tint-Help| ^9Typing ^7!Tint: ^9Then a nubmer 1 through 9 will change the color of your player"
- ConsoleMessage(player,thelp)
- AbortEvent()
- end
- if text == ("!rpickhelp") then
- rphelp = "^2|Random-Pick-help| ^9Typing ^7!rpick ^9 will randomly pick a player just as if it was a giveaway or something"
- ConsoleMessage(player,rphelp)
- AbortEvent()
- end
- end
- end
- function OnPlayerEnterPark(player)
- ConsoleMessage(player,"^3 This script was made by^2 Leopard^3.")
- 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