Hello
So I have made this bindable event that adds a table to the players inventory
I am trying to fire this function but everytime I try to fire it returns false instead of the table
game.ServerStorage.Events.Shop:Fire(game.Players.ethansaul77, "Weapons", Arts == {MaxCount = 1, Serial = nil,} ,true)
I have tried using 1 equal sign but that would give me an error.
You misunderstand how BindableEvents work: it doesn’t pass your variable with the variable name intact, it passes a copy of the data held by that variable. Where you listen for the BindableEvent.Event is where you would need to put Arts:
local Plr, Str, Arts, Bool = game.ServerStorage.Events.Shop.Event:wait()
-- or:
game.ServerStorage.Events.Shop.Event:Connect(function(Plr, Str, Arts, Bool)
-- etc.
end)