-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cheat Menu In Kogama.lua
58 lines (49 loc) · 1.91 KB
/
Cheat Menu In Kogama.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
-- Cheat Menu for Kogama
local Menu = script.Parent
local Player = game.Players.LocalPlayer
-- Create a new frame for the menu
local Frame = Instance.new("Frame")
Frame.Parent = Menu
Frame.Size = UDim2.new(0.2, 0, 0.3, 0)
Frame.Position = UDim2.new(0.4, 0, 0.3, 0)
Frame.BackgroundColor3 = Color3.new(0.2, 0.2, 0.2)
-- Create a new text label for the title
local Title = Instance.new("TextLabel")
Title.Parent = Frame
Title.Size = UDim2.new(1, 0, 0.1, 0)
Title.Position = UDim2.new(0, 0, 0, 0)
Title.Text = "Cheat Menu"
Title.Font = Enum.Font.SourceSansBold
Title.TextSize = 24
Title.TextColor3 = Color3.new(1, 1, 1)
-- Create a new button for invincibility
local InvincibilityButton = Instance.new("TextButton")
InvincibilityButton.Parent = Frame
InvincibilityButton.Size = UDim2.new(1, 0, 0.1, 0)
InvincibilityButton.Position = UDim2.new(0, 0, 0.15, 0)
InvincibilityButton.Text = "Invincibility"
InvincibilityButton.Font = Enum.Font.SourceSans
InvincibilityButton.TextSize = 18
InvincibilityButton.TextColor3 = Color3.new(1, 1, 1)
-- Function to make the player invincible
function Invincibility()
Player.Character.Humanoid.Health = math.huge
Player.Character.Humanoid.MaxHealth = math.huge
end
-- Connect the button to the function
InvincibilityButton.MouseButton1Click:Connect(Invincibility)
-- Create a new button for speed
local SpeedButton = Instance.new("TextButton")
SpeedButton.Parent = Frame
SpeedButton.Size = UDim2.new(1, 0, 0.1, 0)
SpeedButton.Position = UDim2.new(0, 0, 0.25, 0)
SpeedButton.Text = "Increase Speed"
SpeedButton.Font = Enum.Font.SourceSans
SpeedButton.TextSize = 18
SpeedButton.TextColor3 = Color3.new(1, 1, 1)
-- Function to increase the player's speed
function IncreaseSpeed()
Player.Character.Humanoid.WalkSpeed = Player.Character.Humanoid.WalkSpeed + 50
end
-- Connect the button to the function
SpeedButton.MouseButton1Click:Connect(IncreaseSpeed)