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

MouseButton1Click is not a valid member of ImageLabel??

Asked by 4 years ago

guys, this error showed in a gamepass thing help

Script: local gamepass = 10346312 local player = game.Players.LocalPlayer local service = game:GetService("MarketplaceService")

script.Parent.MouseButton1Click:Connect(function() service:PromptGamePassPurchase(player, gamepass) end)

0
i think it's because u used an imagelabel instead of an image button hot_spi 20 — 4y
0
or u accidentally put the script in an image label, put it in the textbutton hot_spi 20 — 4y
0
Hot_spi, it rlly helped. thank you julienblox123b 2 — 4y

Answer this question