I want to make a way where if a remote event is fired, give the specific player that fired it “Asteroids”. I don’t really know much about leaderstats, so I’m stuck on what should happen when the remote gets fired. Haven’t really tried any solutions yet, tried looking it up on google but I found irrelevant results.
game.ReplicatedStorage.Game.OnPlayerSurvived.OnServerEvent:Connect(function(player, argument)
if game.Workspace.Multiplayer.Map.Settings.Difficulty.Value == 1 then
-- enter currency give thing here
elseif game.Workspace.MapWorkspace.Settings.Difficulty.Value == 2 then
-- enter currency give thing here
elseif game.Workspace.MapWorkspace.Settings.Difficulty.Value == 3 then
-- enter currency give thing here
elseif game.Workspace.MapWorkspace.Settings.Difficulty.Value == 4 then
-- enter currency give thing here
-- this code goes for 15 more times lo
end
end)