game.ReplicatedStorage.Buy.OnServerEvent:Connect(function(player) local bux = game.ServerStorage:FindFirstChild(player.Name).Bux bux.Value = bux.Value - player.Price.Value end)
This is in a script and i know what the problem is but idk how to fix it please help.

5 comments
Could you plese ident and use the code block?
Why do you try to find the player at
ServerStorageand not atPlayers?Uh idk. I have the values that saves the money in there...
).Bux bux did you forget a period or is this one word? if so )["Bux bux"].Value
@zor_os it don't has more than one world, it's an new line...