You may encounter some 500 errors on script pages. This is actively being fixed, sorry for the inconvenience!
Universal Script 📌
9.3k Views
1.4k Executions

self fling

Universal Script 📌
banana_peel
banana_peelFirst script
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

- draggable button - fling at high speeds - no "disabled/enabled" feature - totally low quality - doesnt disappear when u die - parries the air molecules - guarantees a powerful fling if you do it against a wall ik it doesnt look like flinging but if its too fast it can get you flinged over the map, it can sometimes just... get you stuck inside walls.

View Raw
-- LocalScript in StarterPlayerScripts
local UserInputService = game:GetService("UserInputService")
local Players = game:GetService("Players")

-- Create ScreenGui
local gui = Instance.new("ScreenGui")
gui.Name = "FlingGui"
gui.ResetOnSpawn = false -- Prevent GUI from resetting on player respawn
gui.Parent = Players.LocalPlayer.PlayerGui

-- Create draggable button
local flingButton = Instance.new("TextButton")
flingButton.Size = UDim2.new(0, 100, 0, 50)
flingButton.Position = UDim2.new(0.5, -50, 0.5, -25)
flingButton.Text = "Fling Me!"
flingButton.BackgroundColor3 = Color3.fromRGB(100, 100, 255)
flingButton.TextColor3 = Color3.fromRGB(255, 255, 255)
flingButton.Parent = gui

-- Add rounded corners
local corner = Instance.new("UICorner")
corner.CornerRadius = UDim.new(0, 10)
corner.Parent = flingButton

-- Dragging variables
local isDragging = false
local lastMousePos = nil
local clickStartTime = 0
local dragThreshold = 0.2 -- Time (seconds) to differentiate click vs drag

-- Fling function (client-side, less secure)
local function triggerFling()
    local character = Players.LocalPlayer.Character
    if character and character:FindFirstChild("HumanoidRootPart") then
        local humanoidRootPart = character.HumanoidRootPart
        local flingDistance = 50
        local flingForce = 300 -- Reduced for controlled speed
        local direction = humanoidRootPart.CFrame.LookVector * flingDistance
        local bodyVelocity = Instance.new("BodyVelocity")
        bodyVelocity.MaxForce = Vector3.new(math.huge, math.huge, math.huge)


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!