HOW TO MAKE AN AUTO CLICKER IN ROBLOX STUDIO

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ส.ค. 2024
  • script of leaderstats
    game.Players.PlayerAdded:Connect(function(player)

    local leaderstats = Instance.new("Folder" , player)
    leaderstats.Name = "leaderstats"

    local clicks = Instance.new("IntValue" , leaderstats)
    clicks.Name = "Clicks"
    clicks.Value = 0
    end)
    script of textbutton,Local script
    local player = game.Players.LocalPlayer
    local leaderstats = player.leaderstats
    local clicks = leaderstats:WaitForChild("Clicks")
    script.Parent.MouseButton1Click:Connect(function()
    while wait(0,1) do
    clicks.Value = clicks.Value + 1
    end
    end)

ความคิดเห็น •