I have been wondering about scripting! For my hotel world. I dont know how to script though. I need to make admin and make it so on the game you see your rank. I need it to be rank 5 or up to have admin. So if you could tell me how to do that or you even script the world that would be great! Thanks for reading this! And can you maby reply to me on roblox messages? Thanks! BYE!
I don't want to sound rood or anything but what you are asking is very dumb. I'm not sure anyone is really going to make the whole script for you but I can give you a few tips and what you need to do for making this script.
What you would do is put a leaderstat in each player when they join. then you would save it with datastore, all of this can be supplied on the roblox wiki. bassically if the player is the owner then set the value of that leaderstat to 5
now for them to see the rank is very simple, just create a screengui inside starter gui and inside the screen gui put a text label. now put a local script inside that text label and for the code make it say this
script.Parent.Text = game.Players.LocalPlayer.leaderstat.Value
that will display the players rank.
Now you are very vague about the admin aspect of this. Is it an admin where the player chats and it does it. Or is it a gui admin panel?
You would to know how to do tables, and strings, at least, before you would want to try doing admin commands. These kinds of coding can get really complicated fast. I would suggest learning:
-Tables(This is what will hold your admins names in it)
-Chatted(What Command you want)
-Strings(This will convert certain chatted events to do what you want)
-Indexing(For the script to find a specific player in the table)
-Functions(So you can run the code)
-Methods(You don't need it all the time but it is still nice to know, at least for basic commands)
-Tables Manipulation(This will help you big!)
-String Manipulation(This will help you even more when a person says a command)
-At least some basic properties of Player and others(This way you can manipulate certain things of players, such as their health, JumpPower, Character Appearance, etc.)
-Know at least basic scripting (If you do not know this then I would suggest starting here)
Hopefully that helped you to at least get started on learning how to do Admin commands(I didn't say everything that is involved in Admin commands but those are some major pointers).
For the admin I should recomand you to use a Free model one.
1: https://www.roblox.com/Epix-Incorporated-Server-Suite-EISS-item?id=145629584
2: https://www.roblox.com/Kohls-Admin-Infinite-Read-Description-item?id=172732271 The EISS will need a bit of scripting to make it "work" but not the kohl's Admin Infinite. Then With EISS You can (If the ranks are the ranks of a group) Change a settings to put everyone admin.
EISS steps:
First off, you'll have to put yourself as Place Owner
so for that, you scroll down until you see Tables
Then you simply copy-past your ID Between the " {} ".
Now to make all the rank 5 and higher have admin:
So you continue to scroll down until you see Group Settings
then you will see " ['Ranks'] = {} " so you skip a line and you enter this:
{Group=PutYourGroupIDHere,Rank>=5,Type='admin'},
This will put every person that is rank 5 or higher in a specific group to have "admin".
Kohls Admin Infinite steps:
In this admin you are already place owner, so one step of less.
Now to make all the rank 5 and higher have admin:
Theres not really a way to do as with EISS, so you will have to go in-game and enter :padmin PlayerName
To give him admin.
If you have more question you can always post a comment.