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

4 comments
also everything works perfectly fine, exept for the 7th line
@seikkatsu are there any errors in the output?
"Strenght"
there aren't any i said that