Hey! I’ve been trying to work on a saving faction system, where you can create a faction, you can purchase it for cash, and you can invite players (and they stay in the faction unless they leave the faction or get kicked out), have faction info, ranking system, etc…
My issue is that I consider myself as an (almost) intermediate scripter and I don’t know where to start. I’ve looked for tutorials, but can’t seem to find any. I’ve also asked fellow developers who I know have made a faction system, but they’re too busy, and I understand that.
Here’s an example: (The Wild West Faction System) DISCLAIMER: THIS UI/FACTION SYSTEM IS NOT OWNED BY ME, IM JUST USING IT AS AN EXAMPLE.
Anyway I’m not asking for a full on script, I just need help on where to start. Again, I’m fairly new to scripting, but I’m a pretty fast learner. Thank you in advance!
I suggest you start by making the create faction and disband faction part, then renaming and ranking, and then everything other. This is because you want to start with the simplest and most important things that then contain smaller bits that you can/don’t have to make.
When they are joining the server, automatically put them in the assigned faction.
pcall(function()
local data = datastore:GetAsync(plr.UserId)
local faction = data.Faction
local rank = faction.Rank
--Code here to assign them (Make a new folder with the faction's name in the Factions folder in ReplicatedStorage)
end)