Soo I am made a selling ring but it doesn’t seem to work properly, here is the code:
--------------------------------------
script.Parent.Touched:Connect(function(hit)
local Player = game.Players:GetPlayerFromCharacter(hit.Parent)
if Player then
Player.leaderstats.Money.Value = Player.leaderstats.Money.Value + Player.leaderstats.Swings.Value
wait(0.1)
Player.leaderstats.Swings.Value = 0
end
end)
--------------------------------------
And the explorer, and the part is just a cylinder that has the transparency 1 and CanCollide is false.