Skip to content

Commit

Permalink
shorttime
Browse files Browse the repository at this point in the history
  • Loading branch information
S-PScripts authored Oct 11, 2024
1 parent 3437a4b commit a8eb760
Showing 1 changed file with 17 additions and 18 deletions.
35 changes: 17 additions & 18 deletions Luau/KAH/Main Scripts/KohlsLite.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2071,7 +2071,7 @@ game.Players.LocalPlayer.Chatted:Connect(function(msg)
else
myplay = string.sub(msg:lower(), 8 + #prefix)
end
task.wait(1)
task.wait(0.5)

function rng()
return math.random(-bgrange, bgrange)
Expand Down Expand Up @@ -4834,25 +4834,24 @@ return
Remind("Warning! Experimental command.")
local ic = 0
local tools = game.Players.LocalPlayer.Backpack:GetChildren()
local toolCount = 0

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

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 / toolCount) * (math.pi / 180)
local x = circrad * math.cos(angle)
local z = circrad * math.sin(angle)
item.GripPos = Vector3.new(x, 1, z)
end
end
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)
end
end
end

if string.sub(msg:lower(), 1, #prefix + 4) == prefix..'crad' then
Expand Down

0 comments on commit a8eb760

Please sign in to comment.