Ok so I'm trying to make a simulation game, I need to make a ranking system, but with my poor scripting abilitys I don't know how.
Basically I've got this.
-- Start -- Made By SpinnyWinny
local Rank = game.StarterGui.ScreenGui
Players = game:GetService("Players")
Rank.TextLabel.name = ("Rank")
function onPlayerAdded(player1)
game.StarterGui.ScreenGui.TextLabel.Text = ("Rank: Loading")
wait(1)
print(player1.Name .. " Entered")
wait(10) -- Player Loading time. Not exact.
game.StarterGui.Parent = game.Players.LocalPlayer.PlayerGui
wait(0.1) -- Just a bit of momentery loading.
game.StarterGui.ScreenGui.Parent = game.ServerStorage.DONOTREMOVETHISFOLDER
if game.Players.LocalPlayer.PlayerGui.ScreenGui == nil then
game.ServerStorage.DONOTREMOVETHISFOLDER.ScreenGui.Parent = game.StarterGui
warn ("Error StarterGui / Player Gui ScreenGui = Nil")
else
warn ("EndingSession")
wait(5)
game.Players.LocalPlayer:Kick()
end
end
I've got no idea if this would work or not, But all I really need it to is when certain people (more than 1) Say /Promote (Name)
That it would change a rank on a gui to that rank. And it would give them a certain tool from server storage If anybody can make this work it would be greatly appreciated.
Things that it must do
When you say /Promote (Players Name) It Levels them up to a certain rank (Not using a group its a simulation game)
I can customise the ranks
Every time they rank up it gives them tool(s) (Might be more than 1)
Changes there team
Only certain people can say /Promote and It work and promote someone.
Sorry for being picky but because my skills are limited and I really needs this done. Thank you, BYE!
Merry Early (1 day for the brits) Christmas!
