So I have this script :
script.Parent.MouseButton1Click():connect(function(Onclicked) if game.Players.LocalPlayer.leaderstats.Level == 0 then end end)
and it says this in the console Players.Player1.PlayerGui.Shop1Gui.Frame.ImageLabel.TextButton.LocalScript:1: attempt to call field 'MouseButton1Click' (a userdata value) Picture of the Player http://imgur.com/AO4LZMU
MouseButton1Click is an Event, not a function. You do not call MouseButton1Click, you connect a function (called a callback) to it.
script.Parent.MouseButton1Click:connect(function() -- do something. end)