You find ReplicatedStorage in your game , then you find in it an folder named BindableEvents then in that folder you try to find an element called Sell in that element you try to find an element called Event.
Hmm, this is pretty strange.
Try, in the first line (where you declare the “ReplicatedStorage” variable), to replace local ReplicatedStorage = game.ReplicatedStorage with local ReplicatedStorage = game:GetService("ReplicatedStorage"). Maybe the script is running before the game loads.
i fixed the error but i cant get my sell to work i keep getting another error after another Cash is not a valid member of Folder “Players.Guest_player1689.leaderstats”
RemoteEvents don’t have a universal :Fire method, you either have to use :FireClient() if you’re on the server (and you also have to put the player instance in the argument, or :FireServer() if you’re on the client. (There’s also :FireAllClients() as well, if you want to fire the event to every client)
Also, it seems you want to access a lot of things right when they load in. Try using :WaitForChild() to wait for them to exist, like:
local stats = LocalPlayer:WaitForChild("leaderstats")
local Cash = stats:WaitForChild("Cash")