Hello! So I need some help with this. I want a command so when someone says the command rules, a UI pops up on the screen saying the rules.
I have this:
local function pluginFunction(Args) – keep the name of the function as “pluginFunction”
local speaker = Args[1]
remoteEvent:FireAllClients('Message', "Information | Rules", "1. Follow Discord's terms of service and the law of your local area.")
wait(6)
remoteEvent:FireAllClients('Message', "Information | Rules", "2. All forms of discrimination are strictly prohibited. This includes species identity and spiritual beliefs. Racist and sexist language will not be tolerated.")
wait(6)
remoteEvent:FireAllClients('Message', "Information | Rules", "3. For everyone's safety, do not share (or encourage others to share) any personal or identifiable information.")
wait(6)
remoteEvent:FireAllClients('Message', "Information | Rules", "4. No NSFW content. This is for liability reasons and to ensure the safety of all participants in this server. This includes a policy for harassment.")
wait(6)
remoteEvent:FireAllClients('Message', "Information | Rules", "5. Keep all interactions professional and respectful. Keep criticism constructive, and do not attack the person making the argument. Also, refrain from excessive cursing or harassment.")
wait(6)
remoteEvent:FireAllClients('Message', "Information | Rules", "6. Be able to defend your opinions and claims you have made. Do not mislead or misinterpret.")
wait(6)
remoteEvent:FireAllClients('Message', "Information | Rules", "7. Management Team and above have the final say, please don’t argue with them. If you feel a decision has been made in error, contact the member of Executive Team in private.")
wait(6)
remoteEvent:FireAllClients('Message', "Information | Rules", "8. No political discussions. We are not allowed to attempt to influence legislation or politics. We often find political discussions can become either circular, or complicated situation. This is not productive for our community.")
wait(6)
remoteEvent:FireAllClients('Message', "Information | Rules", "9. Off-server activities e.g. private messaging are often outside of our control. However, under extraordinary circumstances, we may still be able to, or be obligated to take action.")
wait(6)
remoteEvent:FireAllClients('Message', "Information | Rules", "10. No advertising is allowed, if seen advertising in DMs/channels it will most definitely result in a ban or kick depending the severity of your action.")
end
But I want it to show up in a UI not pop down.
How can I do this? Thanks, Ollie.