
583 Views
32 Executions
Type Of A Game
Universal Script 📌
bergitfbbcdhjiikhffcFirst script
1 year ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
walk to earn money , made by AI
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local LocalPlayer = Players.LocalPlayer
local PlayerGui = LocalPlayer:WaitForChild("PlayerGui")
-- Global Variables
local money = 0 -- current money
local steps = 0 -- step counter
local multiplier = 1 -- initial multiplier
local rebirthCost = 50 -- cost of first rebirth
local taxRarity = 1/4 -- rarity of tax payment (less than one means greater rarity)
local moneyByStepInterval = 0.5 -- initial interval of receiving money per step
local minMoneyByStepInterval = 0.1 -- minimum possible interval between earnings
-- User Interface
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = PlayerGui
local mainFrame = Instance.new("Frame")
mainFrame.AnchorPoint = Vector2.new(0.5, 0.5)
mainFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
mainFrame.Size = UDim2.new(0.6, 0, 0.3, 0)
mainFrame.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
mainFrame.BorderSizePixel = 0
mainFrame.Parent = screenGui
local titleLabel = Instance.new("TextLabel")
titleLabel.Text = "Speed Game"
titleLabel.Font = Enum.Font.GothamBold
titleLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
titleLabel.TextScaled = true
titleLabel.Size = UDim2.new(1, 0, 0.2, 0)
titleLabel.BackgroundTransparency = 1
titleLabel.Parent = mainFrame
local moneyLabel = Instance.new("TextLabel")
moneyLabel.Text = "Money: $"..tostring(money)
moneyLabel.Font = Enum.Font.GothamMedium









🫂 gracias