local game = game local players = game:GetService("Players") local RunService = game:GetService("RunService")

Would you like to know more about Theme Park Tycoon 2 or Roblox development? I'd be happy to help.

local function addCash(amount) cash.Value = cash.Value + amount end

local player = players.LocalPlayer local cash = player.leaderstats.Cash