Skip to content

Commit

Permalink
fix and change small thing to circa and execcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
S-PScripts authored Oct 6, 2024
1 parent ace3df4 commit 06c095b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Luau/KAH/Main Scripts/KohlsLite.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4491,22 +4491,22 @@ return
end;

if check(identifyexecutor(), scapproved) then
print("Your executor is SC Approved!")
Remind("Your executor is SC Approved!")
else
print("Your executor is NOT SC Approved.")
Remind("Your executor is NOT SC Approved.")
end
end

if string.sub(msg:lower(), 1, #prefix + 5) == prefix..'circa' then
Remind("Warning! broken command.")
Remind("Warning! Experimental command.")
local radius = 5
local ic = 0

for _, item in ipairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
if item:IsA("Tool") then
item.Parent = game.Players.LocalPlayer.Character
ic = ic + 1
local angle = (ic - 1) * (360 / game.Players.LocalPlayer.Backpack:GetChildren():len()) * (math.pi / 180)
local angle = (ic - 1) * (360 / #game.Players.LocalPlayer.Backpack:GetChildren()) * (math.pi / 180)
local x = radius * math.cos(angle)
local z = radius * math.sin(angle)
item.GripPos = Vector3.new(x, 1, z)
Expand Down

0 comments on commit 06c095b

Please sign in to comment.