I am making a script that checks if a player has a gamepass then fires a event. But for some reason, the event won't fire. It prints "fired event?!" but nothing happens. Also, whats a good place to put events? Thanks. (btw, ik the script that detects when the event fires work.)
local marketPlaceServ = game:GetService("MarketplaceService")
local gamePassId = 5650104
game.Players.PlayerAdded:Connect(function(player)
if marketPlaceServ:UserOwnsGamePassAsync(player.UserId, gamePassId) then
local event = game.Workspace:WaitForChild("Events").GuacamoleGamepass
event:FireClient(player)
print("fired event?!")
end
end)

2 comments
can send also include the client side script?
show us the onclientevent