Click fling script
Key RequiredUniversal

Click fling script

Universal ScriptGvghkGvghk 2.8K views 25.5K executesUpdated Aug 16, 2026
Unrated
00
Lua Script•109 lines (3733 chars)
-- Execute in Delta Executor
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local StarterGui = game:GetService("StarterGui")

local player = Players.LocalPlayer
local mouse = player:GetMouse()
local camera = workspace.CurrentCamera

-- // Show Execution Credits Notification \\ --
pcall(function()
    StarterGui:SetCore("SendNotification", {
        Title = "Credits",
        Text = "Creator: gvghk_tt\nTester: gvghk_test2",
        Duration = 5
    })
end)

-- // Configuration \\ --
local SPIN_SPEED = 150000 -- Max stable spin speed
local STRIKE_DURATION = 0.3 -- How long you stay on them to guarantee the hit (in seconds)
local isFlinging = false

local function getTarget()
    local target = mouse.Target
    if target and target.Parent then
        local char = target.Parent:IsA("Model") and target.Parent or target.Parent.Parent
        local root = char:FindFirstChild("HumanoidRootPart")
        if root and char ~= player.Character then return root end
    end
    return nil
end

-- // The One-Click Strike Engine \\ --
local function startFling()
    local char = player.Character
    local root = char and char:FindFirstChild("HumanoidRootPart")
    local hum = char and char:FindFirstChildOfClass("Humanoid")
    
    local target = getTarget()
    if not root or not target or isFlinging then return end
    
    isFlinging = true
    local originalLocation = root.CFrame
    local originalCamCFrame = camera.CFrame
    
    -- 1. DETACH VIEW 
    camera.CameraType = Enum.CameraType.Scriptable
    camera.CFrame = originalCamCFrame

    -- 2. GHOST COLLISION CONFIGURATION
    for _, part in pairs(char:GetDescendants()) do
        if part:IsA("BasePart") then 
            part.CanCollide = false 
            part.CustomPhysicalProperties = PhysicalProperties.new(100, 0, 0, 0, 0)
        end
    end
    root.CanCollide = true -- Keep root solid to deliver the kinetic blow

    -- 3. THE RELENTLESS STRIKE WINDOW
    task.spawn(function()
        local startTime = os.clock()
        
        -- Loop constantly stays on them for exactly 0.3 seconds
        while os.clock() - startTime < STRIKE_DURATION do
            RunService.Heartbeat:Wait()
            
            if not target or not target.Parent then break end
            
            -- Absolute CFrame Lock (Glued to their position every frame)
            root.CFrame = target.CFrame
            
            -- Continuous Angular Force
            root.RotVelocity = Vector3.new(0, SPIN_SPEED, 0)
            root.Velocity = Vector3.new(30, 0, 30) -- Continuous physics update nudge
        end
        
        -- 4. EMERGENCY MOMENTUM RESET (Prevents self-death)
        root.Velocity = Vector3.new(0, 0, 0)
        root.RotVelocity = Vector3.new(0, 0, 0)
        
        -- Safe air-drop back to base position
        root.CFrame = originalLocation + Vector3.new(0, 2, 0)
        
        -- 5. RESTORE CONTROLS
        camera.CameraType = Enum.CameraType.Custom
        
        for _, v in pairs(char:GetDescendants()) do
            if v:IsA("BasePart") then v.CanCollide = true end
        end
        
        if hum then
            hum:ChangeState(Enum.HumanoidStateType.GettingUp)
        end
        
        -- Small cooldown so you don't break the client by double clicking
        task.wait(0.2)
        isFlinging = false
    end)
end

-- // Mouse/Touch Input Hook \\ --
UserInputService.InputBegan:Connect(function(input, processed)
    if processed then return end
    if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
        startFling()
    end
end)

Features & Information

This script when you click on a person your avatar will go to them and fling them so you just have to click them you no longer have to run up to them and touch them
#Fling#Click fling#Natural disaster survival

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts