Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why are these RemoteEvents not working?

Asked by 9 years ago

So heres the trigger in workspace,

for i, model in pairs(workspace.ClothingModels:GetChildren()) do
    model.Torso.ClickDetector.MouseClick:connect(function(click)
        game.Lighting.BuyShirt:FireClient(click,model)
    end)
-- Other RemoteEvents
end

and heres the connect in the players starter scripts,

game.Lighting.BuyShirt.OnClientEvent:connect(function(click, model)
    game:GetService("MarketplaceService"):PromptPurchase(click, model.Shirt.ClothingID.Value)
end)
0
FilteringEnabled on or off? M39a9am3R 3210 — 9y
0
on bubbaman73 143 — 9y
0
Click Detectors do not work in FilteringEnabled, check out Goulstem's fix: https://scriptinghelpers.org/questions/17049/how-would-i-fix-click-detectors-if-filtering-is-enabled M39a9am3R 3210 — 9y

Answer this question