im making a game where you find endings with my brother. when you get an ending it kicks you from the game showing what ending you got. i am tasked to make a endings menu that counts how many endings youve gotten. i have started out with testing on one ending
script.Parent.Touched:Connect(function(part)
if part.Parent:FindFirstChild("HumanoidRootPart") then
local player = game.Players:GetPlayerFromCharacter(part.Parent)
local label = player.PlayerGui.EndingGui.Menu.Easyendings.updatable
if player then
label.Text = tonumber(label.Text) + 1
end
end
end)
problem is obviously it doesnt save through server, and it also doesnt only run once per player through servers aswell. what could i use/do to save stuff through server and only allow one per player?
