Fling UI
Key RequiredUniversal

Fling UI

Universal ScriptVeryFreshNoirVeryFreshNoir 444 views 1.7K executesUpdated Aug 20, 2026
Unrated
00
Lua Script•139 lines (4658 chars)
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local LocalPlayer = Players.LocalPlayer

local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "SimpleFlingGui"
ScreenGui.ResetOnSpawn = false
ScreenGui.Parent = LocalPlayer:WaitForChild("PlayerGui")

local MainFrame = Instance.new("Frame")
MainFrame.Name = "MainFrame"
MainFrame.Size = UDim2.new(0, 220, 0, 130)
MainFrame.Position = UDim2.new(0.5, -110, 0.4, -65)
MainFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 35)
MainFrame.BorderSizePixel = 0
MainFrame.Active = true
MainFrame.Draggable = true
MainFrame.Parent = ScreenGui

local MainCorner = Instance.new("UICorner")
MainCorner.CornerRadius = UDim.new(0, 12)
MainCorner.Parent = MainFrame

local Title = Instance.new("TextLabel")
Title.Name = "Title"
Title.Size = UDim2.new(1, 0, 0, 35)
Title.BackgroundTransparency = 1
Title.Text = "DELTA FLING UI"
Title.TextColor3 = Color3.fromRGB(255, 255, 255)
Title.Font = Enum.Font.SourceSansBold
Title.TextSize = 16
Title.Parent = MainFrame

local TextBox = Instance.new("TextBox")
TextBox.Name = "TargetInput"
TextBox.Size = UDim2.new(0, 180, 0, 30)
TextBox.Position = UDim2.new(0.5, -90, 0, 40)
TextBox.BackgroundColor3 = Color3.fromRGB(45, 45, 50)
TextBox.BorderSizePixel = 0
TextBox.Text = ""
TextBox.PlaceholderText = "Type Player Name..."
TextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
TextBox.PlaceholderColor3 = Color3.fromRGB(150, 150, 150)
TextBox.Font = Enum.Font.SourceSans
TextBox.TextSize = 14
TextBox.Parent = MainFrame

local TextCorner = Instance.new("UICorner")
TextCorner.CornerRadius = UDim.new(0, 6)
TextCorner.Parent = TextBox

local FlingButton = Instance.new("TextButton")
FlingButton.Name = "FlingButton"
FlingButton.Size = UDim2.new(0, 180, 0, 35)
FlingButton.Position = UDim2.new(0.5, -90, 0, 80)
FlingButton.BackgroundColor3 = Color3.fromRGB(235, 65, 65)
FlingButton.BorderSizePixel = 0
FlingButton.Text = "FLING"
FlingButton.TextColor3 = Color3.fromRGB(255, 255, 255)
FlingButton.Font = Enum.Font.SourceSansBold
FlingButton.TextSize = 16
FlingButton.Parent = MainFrame

local ButtonCorner = Instance.new("UICorner")
ButtonCorner.CornerRadius = UDim.new(0, 8)
ButtonCorner.Parent = FlingButton

local function getTarget(text)
    local search = text:lower()
    for _, player in ipairs(Players:GetPlayers()) do
        if player ~= LocalPlayer and (player.Name:lower():sub(1, #search) == search or player.DisplayName:lower():sub(1, #search) == search) then
            return player
        end
    end
    return nil
end

local isFlinging = false

FlingButton.MouseButton1Click:Connect(function()
    if isFlinging then return end
    
    local target = getTarget(TextBox.Text)
    if not target or not target.Character or not target.Character:FindFirstChild("HumanoidRootPart") then
        FlingButton.Text = "Target Not Found!"
        task.wait(1.5)
        FlingButton.Text = "FLING"
        return
    end
    
    local myChar = LocalPlayer.Character
    local myRoot = myChar and myChar:FindFirstChild("HumanoidRootPart")
    local myHum = myChar and myChar:FindFirstChildOfClass("Humanoid")
    
    if not myRoot or not myHum then return end
    
    isFlinging = true
    FlingButton.Text = "Flinging..."
    FlingButton.BackgroundColor3 = Color3.fromRGB(180, 50, 50)
    
    local oldVelocity = myRoot.AssemblyLinearVelocity
    local oldRotVelocity = myRoot.AssemblyAngularVelocity
    
    TextBox.Text = "Flinging: " .. target.Name
    
    local targetRoot = target.Character.HumanoidRootPart
    local duration = 3
    local startTime = os.time()
    
    local connection
    connection = RunService.Heartbeat:Connect(function()
        if not target.Character or not targetRoot or not myRoot or not isFlinging or (os.time() - startTime) > duration then
            connection:Disconnect()
            isFlinging = false
            FlingButton.Text = "FLING"
            FlingButton.BackgroundColor3 = Color3.fromRGB(235, 65, 65)
            TextBox.Text = ""
            return
        end
        
        for _, part in ipairs(myChar:GetDescendants()) do
            if part:IsA("BasePart") then
                part.CanCollide = false
            end
        end
        
        myRoot.AssemblyAngularVelocity = Vector3.new(0, 99999, 0)
        myRoot.AssemblyLinearVelocity = Vector3.new(99999, 99999, 99999)
        
        myRoot.CFrame = targetRoot.CFrame * CFrame.new(0, 0, 0)
    end)
    
    repeat task.wait() until not isFlinging
    
    if myRoot then
        myRoot.AssemblyLinearVelocity = Vector3.new(0, 0, 0)
        myRoot.AssemblyAngularVelocity = Vector3.new(0, 0, 0)
    end
end)

Features & Information

Just a fling UI Used a little of ChatGPT Open source For r15 and 16
#Larp#Fling#Bruh#Whattosay

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts