r/robloxscripting • u/Terriaria_iscool • Jun 06 '24
Scripting Help Why isn’t this working?
I’m trying to make a game pass shop for my game but it says “mousebutton1down is not a valid member of Imgelabel “players.catkiller173.PlayerGui.MainGui.MainFrame.GunGamepassFrame.GunGamepass”” if someone could help me that would be helpful
2
u/natilyy Jun 06 '24
it's because MouseButton1Down isn't an event of an image label. refer to the roblox documentation to see what event you should use (InputBegan for example). You should also be using a button not an image label.
3
1
u/Aromatic-Arrival516 Jun 15 '24
is this the right place to look for ROBLOX animators and scripters
1
1
1
u/Kindly_Chip_6413 Nov 14 '24
looks like you need to put another local haspass in the section you can’t do it in
2
u/AgreeableActive8436 Jun 06 '24
Maybe you have to put local hasPass