Roblox Script - Guess How Many | Show Amount in Jar


Features:
Shows how many things are in the jar


Script:
local GUICOUNT = Instance.new("ScreenGui")
local Count = Instance.new("Frame")
local TextButton = Instance.new("TextButton")
local UICorner = Instance.new("UICorner")
local UICorner_2 = Instance.new("UICorner")
local UIStroke = Instance.new("UIStroke")
GUICOUNT.Name = "GUICOUNT"
GUICOUNT.Parent = game.CoreGui
GUICOUNT.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
GUICOUNT.IgnoreGuiInset = true
Count.Name = "Count"
Count.Parent = GUICOUNT
Count.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Count.Position = UDim2.new(0.129749104, 0, 0.190152794, 0)
Count.Size = UDim2.new(0, 200, 0, 50)
Count.Active = true
Count.Draggable = true
TextButton.Parent = Count
TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextButton.Position = UDim2.new(-0.000250890851, 0, -0.00984720886, 0)
TextButton.Size = UDim2.new(0, 200, 0, 50)
TextButton.Font = Enum.Font.FredokaOne
TextButton.Text = "0"
TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
TextButton.TextSize = 40.000
UICorner.Parent = TextButton
UICorner_2.Parent = Count
UIStroke.Color = Color3.fromRGB(0,0,0)
UIStroke.Thickness = 4
UIStroke.Parent = Count

TextButton.MouseButton1Click:Connect(function()
for i, v in pairs(game:GetService("Workspace").Items:GetChildren()) do
TextButton.Text = "≈"..tonumber(i) - 30
end
end)

Previous Post Next Post