From 3d57a71cf224d36882169baab97b5717a12d515c Mon Sep 17 00:00:00 2001 From: S-PScripts Date: Fri, 11 Oct 2024 21:23:09 +0100 Subject: [PATCH] Update KohlsLite.lua --- Luau/KAH/Main Scripts/KohlsLite.lua | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Luau/KAH/Main Scripts/KohlsLite.lua b/Luau/KAH/Main Scripts/KohlsLite.lua index 217ffd9..51dd291 100644 --- a/Luau/KAH/Main Scripts/KohlsLite.lua +++ b/Luau/KAH/Main Scripts/KohlsLite.lua @@ -61,7 +61,7 @@ I know this script is inconsistent with the fact it uses Game with and without G -- Notifications local function Remind(msg) game.StarterGui:SetCore("SendNotification", { - Title = "KohlsLite v1.86FORTRESS", + Title = "KohlsLite v1.864", Text = msg, Duration = 1 }) @@ -124,7 +124,7 @@ getgenv().deprefix = "." getgenv().klversion = "1.861" -- KohlsLite Start Gui -getgenv().kohlsgui = fals +getgenv().kohlsgui = false -- Chat function local function Chat(msg) @@ -181,14 +181,14 @@ Stats.starttime = os.clock() -- Start up scripts local function startupScripts() - if not getgenv().autoruncmds then - for i = 1, #defaults do + if not getgenv().autoruncmds then + for i = 1, #defaults do Chat(defaults[i]) end else - for i = 1, #getgenv().autoruncmds do + for i = 1, #getgenv().autoruncmds do Chat(getgenv().autoruncmds[i]) - end + end end end @@ -2088,7 +2088,7 @@ game.Players.LocalPlayer.Chatted:Connect(function(msg) end end - for _, v in men, backpack:GetChildren() do + for _, v in next, backpack:GetChildren() do if v:IsA("Tool") then v.Parent = char v.Parent = backpack @@ -2115,7 +2115,7 @@ game.Players.LocalPlayer.Chatted:Connect(function(msg) v.Handle.Position = v.Handle.Position + (i - 1) * stackOffset end - for i, v in men, char:GetChildren() do + for i, v in next, char:GetChildren() do if v:FindFirstChild("Handle") then local Speed local Height