Thank you everyone who told me I needed a data base. I'M WORKING ON IT!

I have made a simple ranking script for a game I am making. I am trying to rank myself one of the variables in the table but I don't know how to do this or if it is even possible. Any suggestions?

ranks = {
	"Founder";
	"Co-Founder";
	"Staff";
};

game.Players.PlayerAdded:Connect(function(p)
	if p.Name == "KingDomas" then
		--Want it to set me to Founder
	end
end)

2 comments

0

this is not a ranking system u should maybe make the variables a gui or something like that bcs theres no way to know that u founder

0

You'll need to save your name under a datastore with info showing you're a Founder. Or create a table of Founders, Co-Founders, Staff and only put UserIds(Names can change) in the tables. If your ID is within the Founder table, you must be a founder.