I am making a last man standing game but when I try to get the player like this:
local function givewin(player)
player.leaderstats.Wins.Value + 1
end
doesn’t work and i know there is a way to do this. I just forgot how
I am making a last man standing game but when I try to get the player like this:
local function givewin(player)
player.leaderstats.Wins.Value + 1
end
doesn’t work and i know there is a way to do this. I just forgot how
Can you show the full script in code format using the ``` characters?
do it like this
local function givewin(player)
player.leaderstats.Wins.Value += 1
end
This is how it works:
local function givewin(player)
player.leaderstats.Wins.Value = player.leaderstats.Wins.Value + 1
end
local function givewin(player)
player.leaderstats.Wins.Value += 1
end
Thats the same but lol, why did u posted it again .-.
True, it was just to show that it can be shortened slightly.
Ahh, ok, im sorry, have a nice day