Skip to content

Commit

Permalink
Update KohlsLite.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
S-PScripts authored Oct 11, 2024
1 parent e7e63b6 commit d4c1824
Showing 1 changed file with 52 additions and 3 deletions.
55 changes: 52 additions & 3 deletions Luau/KAH/Main Scripts/KohlsLite.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
\|__| \|__|\|_______|\|__|\|__|\|_______|\_________\|_______|\|__| \|__| \|_______|
\|_________|

v1.85 ]]
v1.86 ]]

--[[
https://kohlslite.pages.dev/source.txt
Expand Down Expand Up @@ -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.85",
Title = "KohlsLite v1.86",
Text = msg,
Duration = 1
})
Expand Down Expand Up @@ -121,7 +121,7 @@ getgenv().kohlsexecuted = true
getgenv().deprefix = "."

-- The version of KohlsLite
getgenv().klversion = "1.85"
getgenv().klversion = "1.86"

-- KohlsLite Start Gui
getgenv().kohlsgui = fals
Expand Down Expand Up @@ -2069,6 +2069,55 @@ game.Players.LocalPlayer.Chatted:Connect(function(msg)
end
end

if string.sub(msg:lower(), 1, #prefix + 6) == prefix..'boomce' then
-- Create boomboxes
SuperCMD(prefix.."gear me boombox")

-- Circa command
task.wait(0.5)
local ic = 0
local tools = game.Players.LocalPlayer.Backpack:GetChildren()
local tc = 0

for _, item in ipairs(tools) do
if item:IsA("Tool") then
tc = tc + 1
end
end

for _, item in ipairs(tools) do
if item:IsA("Tool") then
item.Parent = game.Players.LocalPlayer.Character
ic = ic + 1
local angle = (ic - 1) * (360 / tc) * (math.pi / 180)
local x = circrad * math.cos(angle)
local z = circrad * math.sin(angle)
item.GripPos = Vector3.new(x, 1, z) * CFrame.Angles(0, angle + math.pi/2, 0)
end
end


task.wait(0.5)

-- Bcirca command
local check = string.sub(msg:lower(), #prefix + 8, #prefix + 8)
if check == "g" then
local idrinkrum = string.sub(msg, #prefix + 9) ; task.wait(0)
myplay = musictable[idrinkrum].id
else
myplay = string.sub(msg:lower(), 8 + #prefix)
end
song = tonumber(myplay)

for i, v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
if v:IsA("Tool") then
pcall(function()
v.Remote:FireServer("PlaySong",song)
end)
end
end
end

if string.sub(msg:lower(), 1, #prefix + 6) == prefix..'bcirca' then -- .supercmd .gear me boombox -> .circa -> .bcirca
Remind("Ensure boomboxes are equipped.")
local check = string.sub(msg:lower(), #prefix + 8, #prefix + 8)
Expand Down

0 comments on commit d4c1824

Please sign in to comment.