Hello! I wanted this system to award the player cash that has the gear equipped. How would I make this work on line 2? I don't know how to obtain the player thats holding the gear.
script.Parent.Touched:Connect(function(Hit) if Hit.Parent.Name == 'Hamburger' then Hit.Parent:Destroy() script.Parent.Ding:Play() script.Parent.Parent.PlatedBurger.Transparency = 0 wait(6) script.Parent.Parent.PlatedBurger.Transparency = 1 end end)