local StarterGui = game:GetService("StarterGui") if getgenv().AntiFlingRunning then pcall(function() StarterGui:SetCore("SendNotification", { Title = "ketu antif", Text = "script running", Duration = 3 }) end) return end getgenv().AntiFlingRunning = true local checkDelay = 0.01 -- more if you're laggy local Players = game:GetService("Players") local localPlayer = Players.LocalPlayer local character = localPlayer.Character or localPlayer.CharacterAdded:Wait() local humanoid = character:WaitForChild("Humanoid") -- Disable sitting humanoid:SetStateEnabled(Enum.HumanoidStateType.Seated, false) -- Notify pcall(function() StarterGui:SetCore("SendNotification", { Title = "ketu antifling", Text = "Protection Enabled", Duration = 3 }) end) -- Loop for anti-fling task.spawn(function() while task.wait(checkDelay) do for _, part in ipairs(workspace:GetDescendants()) do if part:IsA("BasePart") and not part.Anchored and not part:IsDescendantOf(character) then if part.AssemblyLinearVelocity.Magnitude > 3 or part.AssemblyAngularVelocity.Magnitude > 3 then part.CanCollide = false end end end end end)