Skip to content
RoRoScripts
Universal OP Fling script preview
Unknown

Universal OP Fling script

Script
Views
15K
Likes
2
Dislikes
1
Added
Script
-- THIS SCRIPT IS NOT TO FLING PEOPLE IN OTHER GAMES, THIS SCRIPT MADE FOR 1 GAME NAMED "Fling Things And People"
local bodyvel_Name = "FlingVelocity"
local userinputs = game:GetService("UserInputService")
local workspace = game:GetService("Workspace")
local runservice = game:GetService("RunService")
local debris = game:GetService("Debris")
local strength = 350 -- Сила Откида (Не выше 350 или античит будет мешать)
workspace.ChildAdded:Connect(function(model)
    if model.Name == "GrabParts" then
        local part_to_impulse = model["GrabPart"]["WeldConstraint"].Part1
 
        if part_to_impulse then
            print("Part found!")
 
            local inputObj
            local velocityObj = Instance.new("BodyVelocity", part_to_impulse)
 
            model:GetPropertyChangedSignal("Parent"):Connect(function()
                if not model.Parent then
                    if userinputs:GetLastInputType() == Enum.UserInputType.MouseButton2 then
                        print("Launched!")
                        velocityObj.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
                        velocityObj.Velocity = workspace.CurrentCamera.CFrame.lookVector * strength
                        debris:AddItem(velocityObj, 1)
                    elseif userinputs:GetLastInputType() == Enum.UserInputType.MouseButton1 then
                        velocityObj:Destroy()
                        print("Cancel Launch!")
                    else
                        velocityObj:Destroy()
                        print("No two keys pressed!")
                    end
                end
            end)
        end
    end
end)

Features

  • SCRIPT IS NOT MINE. the real creator of this script is Lasiv