if game.Workspace:FindFirstChild("Gem") then game.Workspace.Gem.ClickDetector.MouseClick:connect(function() local Player = game:GetService("Players").LocalPlayer local Life = game.Player.leaderstats.Life Life.Value = Life.Value + 10 end) end
Any help would be appreciated.
You can't find leaderstats in game.Player, the leaderstats are under the variable you already had set. You just need to take game out of the variable "Life".