Beach ball script not working

That’s what happens when tools get equipped they get moved from the backpack into the character and then back when it’s unequipped this is not unusual at all

2 Likes

Possibly, if you moved the beach ball to ServerStorage, and cloned it to the player’s backpack in this remote event,

It could work.

So your script for the remote event would probably look something like this: (I apologize if it doesn’t work, I’m not a great scripter)

game.ReplicatedStorage.PurchaseBall.OnServerEvent:Connect(function(player,amount)
	player.leaderstats.Shells.Value= player.leaderstats.Shells.Value -150
    local Ball = game.ServerStorage[“Beach Ball”]:Clone()
    Ball.Parent = player.Backpack
end)

And you would get rid of the part where it is cloned to the player’s backpack in the local script.

I don’t know if this will fix your problem, though.

2 Likes

I tried it and it worked! Thank you!

2 Likes