-- Create a function for the cheat menu
function cheatMenu()
-- Create a table to store the cheats
local cheats = {
{name = "Infinite Health", func = function() game.Players.LocalPlayer.Character.Humanoid.Health = math.huge end},
{name = "Infinite Ammo", func = function() game.Players.LocalPlayer.Backpack.Ammo.Amount = math.huge end},
{name = "Fly", func = function() game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 100 end},
-- Add more cheats here
}
-- Create a GUI for the cheat menu
local gui = Instance.new("ScreenGui")
gui.Parent = game.Players.LocalPlayer.PlayerGui
local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 200, 0, 300)
frame.Position = UDim2.new(0, 10, 0, 10)
frame.BackgroundColor3 = Color3.new(0, 0, 0)
frame.Parent = gui
local list = Instance.new("UIListLayout")
list.Parent = frame
-- Create buttons for each cheat
for i, cheat in pairs(cheats) do
local button = Instance.new("TextButton")
button.Text = cheat.name
button.Size = UDim2.new(0, 200, 0, 30)
button.BackgroundColor3 = Color3.new(1, 1, 1)
button.Parent = frame
-- Add a click event to the button
button.MouseButton1Click:Connect(function()
cheat.func()
end)
end
end
-- Call the cheat menu function
cheatMenu()
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}