RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"make a gui that shows how many clicks i did"
-- Local Script inside a TextLabel local player = game.Players.LocalPlayer local clickCounter = 0 local textLabel = script.Parent local function onClick() clickCounter = clickCounter + 1 textLabel.Text = "Clicks: " .. clickCounter end game:GetService("UserInputService").InputBegan:Connect(function(input, gameProcessed) if input.UserInputType == Enum.UserInputType.MouseButton1 and not gameProcessed then onClick() end end)