Skip to content

Commit

Permalink
fixz
Browse files Browse the repository at this point in the history
  • Loading branch information
S-PScripts authored Oct 10, 2024
1 parent 1082efc commit 9702bb8
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions Luau/KAH/Main Scripts/KohlsLite.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2055,22 +2055,18 @@ game.Players.LocalPlayer.Chatted:Connect(function(msg)
myplay = string.sub(msg:lower(), 8 + #prefix)
end
task.wait(1)

function rng()
return math.random(-bgrange, bgrange)
end

local Backpack = game.Players.LocalPlayer:FindFirstChildOfClass("Backpack")
for _, v in ipairs(Backpack:GetChildren()) do
v.GripPos = Vector3.new(rng(), 1, rng())
v.Parent = game.Players.LocalPlayer.Character
end
task.wait(0.5)

function rng()
return math.random(-bgrange, bgrange)
end
-- broken, fixes coming soon
for i, v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
if v:IsA("Tool") then
v.GripPos = Vector3.new(rng(), 1, rng())
end
end


for i, v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
if v:IsA("Tool") then
Expand Down

0 comments on commit 9702bb8

Please sign in to comment.