From 9702bb8c07640e821c544bd4fa36bc942f08406a Mon Sep 17 00:00:00 2001 From: S-PScripts Date: Thu, 10 Oct 2024 21:54:51 +0100 Subject: [PATCH] fixz --- Luau/KAH/Main Scripts/KohlsLite.lua | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/Luau/KAH/Main Scripts/KohlsLite.lua b/Luau/KAH/Main Scripts/KohlsLite.lua index 8f6c9e4..193f94a 100644 --- a/Luau/KAH/Main Scripts/KohlsLite.lua +++ b/Luau/KAH/Main Scripts/KohlsLite.lua @@ -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