What is wrong with my gamepass track scripts?

Not sure what is wrong with my gamepass script, it should send embed code of gamepass purchases to a discord server (via httpservice) but I cant seem to figure out why its not working, it wont even print the data that the remote event receives, and yes I have a remote event in replicated storage.

pretty strange of how you are firing the server Event because Event being fired from local will have an arguement for the player that fired it like here is a fix

                                                                              ---Very Important this plr arguement
 game.ReplicatedStorage.Events.GamepassPurchase.OnServerEvent:Connect(function(plr,data)