Hello. I am making a script where if you have the gamepass for the game then instead of the click going up by 1, it will go up by 3 instead. I can't currently test the script because I am not in my house. (My parents are out of town so I'm staying at my friends... using his computer which does not have ROBLOX Studio).
local pass = 182358984 local number = 0 local upgrade = 1 function Auth(player) return game:GetService("GamePassService"):PlayerHasPass(player, pass) end script.Parent.MouseButton1Click:connect(function() if Auth then local upgrade = 3 end number = number + upgrade script.Parent.Parent.Number.Text = number end)