So i want to make a sell part the script looks like this :
script.Parent.Touched:Connect(function(hit)
if hit.parent:FindFirstChild("Humanoid") then
local plr = game.Players.LocalPlayer
local Cash = plr.leaderstats.Cash
local Stren = plr.leaderstats.Strength
Cash.Value = Cash.Value + Stren.Value
Stren.Value = 0
end
end)
Why a have this error ?

2 comments
Thanks you are very HelpFul :D
@SamSoGames Np Mate!