Universal Script 📌
9.3k Views
3.8k Executions

Gaze anti fling ig 2

Universal Script 📌
Gaze
GazeHall of Fame30-day streak
1 year ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Anti fling but no lag and uhh i think cooler

View Raw
-- AntiFling + RemoveFall (respawn-safe) --
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local StarterGui = game:GetService("StarterGui")

if getgenv().AntiFlingRunning then
    pcall(function()
        StarterGui:SetCore("SendNotification", {
            Title = "Anti-Fling",
            Text = "Script is already running",
            Duration = 3
        })
    end)
    print("[AntiFling] already running, aborting.")
    return
end
getgenv().AntiFlingRunning = true
print("[AntiFling] executed")

local player = Players.LocalPlayer
if not player then
    warn("[AntiFling] LocalPlayer not found.")
    return
end

-- weak-key table so parts can GC
local lastPositions = setmetatable({}, {__mode = "k"})
local range = 20

-- reusable OverlapParams (we'll update FilterDescendantsInstances when character changes)
local overlapParams = OverlapParams.new()
overlapParams.FilterType = Enum.RaycastFilterType.Exclude

local currentCharacter = player.Character
local humanoid

local function setupCharacter(char)
    if not char then return end
    currentCharacter = char
    humanoid = char:FindFirstChildOfClass("Humanoid") or char:WaitForChild("Humanoid", 5)


Comments

3
Log in to join the conversation. Login
Jeandiel's profile picture
Jeandiel1 year ago

Hey Gaze, i donated! Really love your animation script. Also i was also wondering if you had a discord server i can perhaps join if you have one? Also if you don't, you should make one. Thanks

1
Gaze's profile picture
GazeHall of FameUploader1 year ago(edited)

@Jeandiel thanks. i think? Server? No

1
Jeandiel's profile picture
Jeandiel1 year ago

@Gaze Ah, no server then. Got it, anyways keep up the good work! I'll be looking forward to more scripts you end up coding. 👽

1