script.Parent.Touched:Connect(function(hit) local hum = hit.Parent:FindFirstChild("Humanoid") local p = game.Players:GetPlayerFromCharacter(hit.Parent) local stats = p:FindFirstChild("leaderstats") local coins = stats.Coins local str = stats.Strenght coins.Value = coins.Value + str.Value end)
any help is apriciated
coins.Value = coins.Value + str.Value
Try using tonumber() Which would look a little like this
coins.Value = tonumber(coins.Value) + tonumber(str.Value)