--// Fling Gui V14.0
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local Workspace = game:GetService("Workspace")
local StarterGui = game:GetService("StarterGui")
local localPlayer = Players.LocalPlayer
local flingActive = false
local hiddenfling = false
local AntiFlingEnabled = false
local AntiKillPartsEnabled = false
local connection = nil
local processedPlayers = {}
local currentInput = ""
local SteppedConnection = nil
local isNoclipEnabled = false
local flingMode = 1
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "FlingGUI"
screenGui.Parent = game:GetService("CoreGui")
local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 200, 0, 320)
frame.Position = UDim2.new(0.5, -125, 0.5, -160)
frame.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
frame.BackgroundTransparency = 0.3
frame.Parent = screenGui
frame.Active = true
frame.Draggable = true
local dragDetector = Instance.new("UIDragDetector", frame)
local UICorner = Instance.new("UICorner")
UICorner.CornerRadius = UDim.new(0, 8)
UICorner.Parent = frame
local toggleMinimizeBtn = Instance.new("TextButton")
toggleMinimizeBtn.Size = UDim2.new(0, 20, 0, 20)
toggleMinimizeBtn.Position = UDim2.new(1, -25, 0, 5)
toggleMinimizeBtn.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
toggleMinimizeBtn.Text = "-"
toggleMinimizeBtn.TextColor3 = Color3.new(1, 1, 1)
toggleMinimizeBtn.TextSize = 14
toggleMinimizeBtn.ZIndex = 2
toggleMinimizeBtn.Parent = frame
local togglePhaseBtn = Instance.new("TextButton")
togglePhaseBtn.Size = UDim2.new(0, 20, 0, 20)
togglePhaseBtn.Position = UDim2.new(0, 5, 0, 5)
togglePhaseBtn.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
togglePhaseBtn.Text = "1"
togglePhaseBtn.TextColor3 = Color3.new(1, 1, 1)
togglePhaseBtn.TextSize = 14
togglePhaseBtn.ZIndex = 2
togglePhaseBtn.Parent = frame
local minimizeCorner = Instance.new("UICorner")
minimizeCorner.CornerRadius = UDim.new(0, 4)
minimizeCorner.Parent = toggleMinimizeBtn
minimizeCorner:Clone().Parent = togglePhaseBtn
local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, 0, 0, 30)
title.Position = UDim2.new(0, 0, 0, 5)
title.BackgroundTransparency = 1
title.Text = "Fling GUI"
title.TextColor3 = Color3.new(1, 1, 1)
title.Font = Enum.Font.GothamBold
title.TextSize = 18
title.Parent = frame
local textGradient = Instance.new("UIGradient", title)
textGradient.Rotation = 90
local function lerpColor(color1, color2, alpha)
return Color3.new(
color1.R + (color2.R - color1.R) * alpha,
color1.G + (color2.G - color1.G) * alpha,
color1.B + (color2.B - color1.B) * alpha
)
end
local function animateTextGradient()
local duration = 2
local steps = 60
local stepTime = duration / steps
local color1 = Color3.fromRGB(255, 255, 255)
local color2 = Color3.fromRGB(0, 0, 0)
while true do
for i = 0, steps do
local alpha = i / steps
textGradient.Color = ColorSequence.new({
ColorSequenceKeypoint.new(0, lerpColor(color1, color2, alpha)),
ColorSequenceKeypoint.new(1, lerpColor(color2, color1, alpha))
})
task.wait(stepTime)
end
for i = 0, steps do
local alpha = i / steps
textGradient.Color = ColorSequence.new({
ColorSequenceKeypoint.new(0, lerpColor(color2, color1, alpha)),
ColorSequenceKeypoint.new(1, lerpColor(color1, color2, alpha))
})
task.wait(stepTime)
end
end
end
task.spawn(animateTextGradient)
local borderFrame = Instance.new("Frame")
borderFrame.Size = frame.Size
borderFrame.Position = frame.Position
borderFrame.BackgroundTransparency = 1
borderFrame.AnchorPoint = frame.AnchorPoint
borderFrame.ZIndex = frame.ZIndex - 1
borderFrame.Parent = screenGui
local borderCorner = frame.UICorner:Clone()
borderCorner.Parent = borderFrame
local borderStroke = Instance.new("UIStroke")
borderStroke.Thickness = 3
borderStroke.LineJoinMode = Enum.LineJoinMode.Round
borderStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Contextual
borderStroke.Parent = borderFrame
frame:GetPropertyChangedSignal("Position"):Connect(function()
borderFrame.Position = frame.Position
end)
frame:GetPropertyChangedSignal("Size"):Connect(function()
borderFrame.Size = frame.Size
end)
frame.UICorner:GetPropertyChangedSignal("CornerRadius"):Connect(function()
borderCorner.CornerRadius = frame.UICorner.CornerRadius
end)
local invisibleExpandBtn = Instance.new("TextButton")
invisibleExpandBtn.Size = UDim2.new(1, 0, 1, 0)
invisibleExpandBtn.Position = UDim2.new(0, 0, 0, 0)
invisibleExpandBtn.BackgroundTransparency = 1
invisibleExpandBtn.Text = ""
invisibleExpandBtn.TextTransparency = 1
invisibleExpandBtn.Visible = false
invisibleExpandBtn.Parent = frame
local inputBox = Instance.new("TextBox")
inputBox.Size = UDim2.new(0.9, 0, 0, 30)
inputBox.Position = UDim2.new(0.05, 0, 0, 40)
inputBox.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
inputBox.Text = ""
inputBox.PlaceholderText = "nickname, all, nonfriends"
inputBox.TextColor3 = Color3.new(1, 1, 1)
inputBox.ClearTextOnFocus = false
inputBox.Parent = frame
inputBox.TextScaled = false
inputBox.TextSize = 14
inputBox.Font = Enum.Font.Code
local inputCorner = Instance.new("UICorner")
inputCorner.CornerRadius = UDim.new(0, 6)
inputCorner.Parent = inputBox
local toggleBtnContainer = Instance.new("Frame")
toggleBtnContainer.Size = UDim2.new(0.9, 0, 0, 30)
toggleBtnContainer.Position = UDim2.new(0.05, 0, 0, 80)
toggleBtnContainer.BackgroundTransparency = 1
toggleBtnContainer.Parent = frame
local toggleBtnMode = Instance.new("TextButton")
toggleBtnMode.Size = UDim2.new(0.25, 0, 1, 0)
toggleBtnMode.Position = UDim2.new(0, 0, 0, 0)
toggleBtnMode.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
toggleBtnMode.Text = "1"
toggleBtnMode.TextColor3 = Color3.new(1, 1, 1)
toggleBtnMode.Parent = toggleBtnContainer
local toggleBtnMain = Instance.new("TextButton")
toggleBtnMain.Size = UDim2.new(0.75, 0, 1, 0)
toggleBtnMain.Position = UDim2.new(0.25, 0, 0, 0)
toggleBtnMain.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
toggleBtnMain.Text = "Fling Players: OFF"
toggleBtnMain.TextColor3 = Color3.new(1, 1, 1)
toggleBtnMain.Parent = toggleBtnContainer
toggleBtnMain.Font = Enum.Font.Sarpanch
toggleBtnMain.TextSize = 16
local touchFlingBtn = Instance.new("TextButton")
touchFlingBtn.Size = UDim2.new(0.9, 0, 0, 30)
touchFlingBtn.Position = UDim2.new(0.05, 0, 0, 120)
touchFlingBtn.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
touchFlingBtn.Text = "Touch Fling: OFF"
touchFlingBtn.TextColor3 = Color3.new(1, 1, 1)
touchFlingBtn.Parent = frame
touchFlingBtn.Font = Enum.Font.Sarpanch
touchFlingBtn.TextSize = 16
local antiFlingBtn = Instance.new("TextButton")
antiFlingBtn.Size = UDim2.new(0.9, 0, 0, 30)
antiFlingBtn.Position = UDim2.new(0.05, 0, 0, 160)
antiFlingBtn.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
antiFlingBtn.Text = "Anti Fling: OFF"
antiFlingBtn.TextColor3 = Color3.new(1, 1, 1)
antiFlingBtn.Parent = frame
antiFlingBtn.Font = Enum.Font.Sarpanch
antiFlingBtn.TextSize = 16
local antiKillBtn = Instance.new("TextButton")
antiKillBtn.Size = UDim2.new(0.9, 0, 0, 30)
antiKillBtn.Position = UDim2.new(0.05, 0, 0, 200)
antiKillBtn.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
antiKillBtn.Text = "Anti Kill Parts: OFF"
antiKillBtn.TextColor3 = Color3.new(1, 1, 1)
antiKillBtn.Parent = frame
antiKillBtn.Font = Enum.Font.Sarpanch
antiKillBtn.TextSize = 16
local loadBtn = Instance.new("TextButton")
loadBtn.Size = UDim2.new(0.9, 0, 0, 30)
loadBtn.Position = UDim2.new(0.05, 0, 0, 240)
loadBtn.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
loadBtn.Text = "Noclip: OFF"
loadBtn.TextColor3 = Color3.new(1, 1, 1)
loadBtn.Parent = frame
loadBtn.Font = Enum.Font.Sarpanch
loadBtn.TextSize = 16
local phase2Button1 = Instance.new("TextButton")
phase2Button1.Size = UDim2.new(0.9, 0, 0, 30)
phase2Button1.Position = UDim2.new(0.05, 0, 0, 40)
phase2Button1.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
phase2Button1.Text = "Strength: OFF"
phase2Button1.TextColor3 = Color3.new(1, 1, 1)
phase2Button1.Visible = false
phase2Button1.Parent = frame
phase2Button1.Font = Enum.Font.Sarpanch
phase2Button1.TextSize = 16
local phase2Button2 = Instance.new("TextButton")
phase2Button2.Size = UDim2.new(0.9, 0, 0, 30)
phase2Button2.Position = UDim2.new(0.05, 0, 0, 80)
phase2Button2.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
phase2Button2.Text = "Spawnpoint: OFF"
phase2Button2.TextColor3 = Color3.new(1, 1, 1)
phase2Button2.Visible = false
phase2Button2.Parent = frame
phase2Button2.Font = Enum.Font.Sarpanch
phase2Button2.TextSize = 16
local phase2Button3 = Instance.new("TextButton")
phase2Button3.Size = UDim2.new(0.9, 0, 0, 30)
phase2Button3.Position = UDim2.new(0.05, 0, 0, 120)
phase2Button3.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
phase2Button3.Text = "Freeze: OFF"
phase2Button3.TextColor3 = Color3.new(1, 1, 1)
phase2Button3.Visible = false
phase2Button3.Parent = frame
phase2Button3.Font = Enum.Font.Sarpanch
phase2Button3.TextSize = 16
local phase2Button4 = Instance.new("TextButton")
phase2Button4.Size = UDim2.new(0.9, 0, 0, 30)
phase2Button4.Position = UDim2.new(0.05, 0, 0, 160)
phase2Button4.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
phase2Button4.Text = "Coming Soon"
phase2Button4.TextColor3 = Color3.new(1, 1, 1)
phase2Button4.Visible = false
phase2Button4.Parent = frame
phase2Button4.Font = Enum.Font.Sarpanch
phase2Button4.TextSize = 16
local phase2Button5 = Instance.new("TextButton")
phase2Button5.Size = UDim2.new(0.9, 0, 0, 30)
phase2Button5.Position = UDim2.new(0.05, 0, 0, 200)
phase2Button5.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
phase2Button5.Text = "Coming Soon"
phase2Button5.TextColor3 = Color3.new(1, 1, 1)
phase2Button5.Visible = false
phase2Button5.Parent = frame
phase2Button5.Font = Enum.Font.Sarpanch
phase2Button5.TextSize = 16
local phase2Button6 = Instance.new("TextButton")
phase2Button6.Size = UDim2.new(0.9, 0, 0, 30)
phase2Button6.Position = UDim2.new(0.05, 0, 0, 240)
phase2Button6.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
phase2Button6.Text = "Coming Soon"
phase2Button6.TextColor3 = Color3.new(1, 1, 1)
phase2Button6.Visible = false
phase2Button6.Parent = frame
phase2Button6.Font = Enum.Font.Sarpanch
phase2Button6.TextSize = 16
local phase3Button1 = Instance.new("TextButton")
phase3Button1.Size = UDim2.new(0.9, 0, 0, 30)
phase3Button1.Position = UDim2.new(0.05, 0, 0, 40)
phase3Button1.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
phase3Button1.Text = "Zombie R6"
phase3Button1.TextColor3 = Color3.new(1, 1, 1)
phase3Button1.Visible = false
phase3Button1.Parent = frame
phase3Button1.Font = Enum.Font.Sarpanch
phase3Button1.TextSize = 16
local phase3Button2 = Instance.new("TextButton")
phase3Button2.Size = UDim2.new(0.9, 0, 0, 30)
phase3Button2.Position = UDim2.new(0.05, 0, 0, 80)
phase3Button2.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
phase3Button2.Text = "Head throw R6"
phase3Button2.TextColor3 = Color3.new(1, 1, 1)
phase3Button2.Visible = false
phase3Button2.Parent = frame
phase3Button2.Font = Enum.Font.Sarpanch
phase3Button2.TextSize = 16
local phase3Button3 = Instance.new("TextButton")
phase3Button3.Size = UDim2.new(0.9, 0, 0, 30)
phase3Button3.Position = UDim2.new(0.05, 0, 0, 120)
phase3Button3.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
phase3Button3.Text = "Glios"
phase3Button3.TextColor3 = Color3.new(1, 1, 1)
phase3Button3.Visible = false
phase3Button3.Parent = frame
phase3Button3.Font = Enum.Font.Sarpanch
phase3Button3.TextSize = 16
local phase3Button4 = Instance.new("TextButton")
phase3Button4.Size = UDim2.new(0.9, 0, 0, 30)
phase3Button4.Position = UDim2.new(0.05, 0, 0, 160)
phase3Button4.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
phase3Button4.Text = "Zombie R15"
phase3Button4.TextColor3 = Color3.new(1, 1, 1)
phase3Button4.Visible = false
phase3Button4.Parent = frame
phase3Button4.Font = Enum.Font.Sarpanch
phase3Button4.TextSize = 16
local phase3Button5 = Instance.new("TextButton")
phase3Button5.Size = UDim2.new(0.9, 0, 0, 30)
phase3Button5.Position = UDim2.new(0.05, 0, 0, 200)
phase3Button5.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
phase3Button5.Text = "Hunter"
phase3Button5.TextColor3 = Color3.new(1, 1, 1)
phase3Button5.Visible = false
phase3Button5.Parent = frame
phase3Button5.Font = Enum.Font.Sarpanch
phase3Button5.TextSize = 16
local phase3Button6 = Instance.new("TextButton")
phase3Button6.Size = UDim2.new(0.9, 0, 0, 30)
phase3Button6.Position = UDim2.new(0.05, 0, 0, 240)
phase3Button6.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
phase3Button6.Text = "Punch Fling"
phase3Button6.TextColor3 = Color3.new(1, 1, 1)
phase3Button6.Visible = false
phase3Button6.Parent = frame
phase3Button6.Font = Enum.Font.Sarpanch
phase3Button6.TextSize = 16
local statusLabel = Instance.new("TextLabel")
statusLabel.Size = UDim2.new(1, 0, 0, 20)
statusLabel.Position = UDim2.new(0, 0, 0, 280)
statusLabel.BackgroundTransparency = 1
statusLabel.Text = "Status: Waiting..."
statusLabel.TextColor3 = Color3.new(1, 1, 1)
statusLabel.Font = Enum.Font.Gotham
statusLabel.TextSize = 14
statusLabel.Parent = frame
local isMinimized = false
local originalSize = frame.Size
local originalTitle = title.Text
local isPhase2 = false
local isPhase3 = false
local function togglePhase()
if not isPhase2 and not isPhase3 then
isPhase2 = true
togglePhaseBtn.Text = "2"
inputBox.Visible = false
toggleBtnContainer.Visible = false
touchFlingBtn.Visible = false
antiFlingBtn.Visible = false
antiKillBtn.Visible = false
loadBtn.Visible = false
phase2Button1.Visible = true
phase2Button2.Visible = true
phase2Button3.Visible = true
phase2Button4.Visible = true
phase2Button5.Visible = true
phase2Button6.Visible = true
statusLabel.Visible = true
elseif isPhase2 then
isPhase2 = false
isPhase3 = true
togglePhaseBtn.Text = "3"
phase2Button1.Visible = false
phase2Button2.Visible = false
phase2Button3.Visible = false
phase2Button4.Visible = false
phase2Button5.Visible = false
phase2Button6.Visible = false
phase3Button1.Visible = true
phase3Button2.Visible = true
phase3Button3.Visible = true
phase3Button4.Visible = true
phase3Button5.Visible = true
phase3Button6.Visible = true
else
isPhase3 = false
togglePhaseBtn.Text = "1"
inputBox.Visible = true
toggleBtnContainer.Visible = true
touchFlingBtn.Visible = true
antiFlingBtn.Visible = true
antiKillBtn.Visible = true
loadBtn.Visible = true
phase3Button1.Visible = false
phase3Button2.Visible = false
phase3Button3.Visible = false
phase3Button4.Visible = false
phase3Button5.Visible = false
phase3Button6.Visible = false
statusLabel.Visible = true
end
end
togglePhaseBtn.MouseButton1Click:Connect(togglePhase)
local function toggleMinimize()
isMinimized = not isMinimized
local elementsToHide = {
inputBox, toggleBtnContainer, touchFlingBtn,
antiFlingBtn, antiKillBtn, loadBtn,
phase2Button1, phase2Button2, phase2Button3,
phase2Button4, phase2Button5, phase2Button6,
phase3Button1, phase3Button2, phase3Button3,
phase3Button4, phase3Button5, phase3Button6,
statusLabel, toggleMinimizeBtn, togglePhaseBtn
}
if isMinimized then
title.Text = "FG"
title.TextSize = 18
title.Size = UDim2.new(1, 0, 1, 0)
title.Position = UDim2.new(0, 0, 0, 0)
for _, element in ipairs(elementsToHide) do
if element then
element.Visible = false
end
end
local startSize = frame.Size
local targetSize = UDim2.new(0, 60, 0, 30)
for i = 0, 1, 0.075 do
local newHeight = math.floor(startSize.Y.Offset + (30 - startSize.Y.Offset) * i)
frame.Size = UDim2.new(
startSize.X.Scale + (targetSize.X.Scale - startSize.X.Scale) * i,
math.floor(startSize.X.Offset + (60 - startSize.X.Offset) * i),
0, newHeight
)
task.wait(0.01)
end
frame.Size = UDim2.new(0, 60, 0, 30)
invisibleExpandBtn.Size = UDim2.new(1, 0, 1, 0)
invisibleExpandBtn.Position = UDim2.new(0, 0, 0, 0)
invisibleExpandBtn.Visible = true
invisibleExpandBtn.Active = true
toggleMinimizeBtn.Visible = false
togglePhaseBtn.Visible = false
else
toggleMinimizeBtn.Visible = true
togglePhaseBtn.Visible = true
local startSize = frame.Size
for i = 0, 1, 0.075 do
frame.Size = UDim2.new(
startSize.X.Scale + (originalSize.X.Scale - startSize.X.Scale) * i,
math.floor(startSize.X.Offset + (originalSize.X.Offset - startSize.X.Offset) * i),
startSize.Y.Scale + (originalSize.Y.Scale - startSize.Y.Scale) * i,
math.floor(startSize.Y.Offset + (originalSize.Y.Offset - startSize.Y.Offset) * i)
)
task.wait(0.01)
end
frame.Size = originalSize
title.Text = originalTitle
title.TextSize = 18
title.Size = UDim2.new(1, 0, 0, 30)
title.Position = UDim2.new(0, 0, 0, 5)
invisibleExpandBtn.Visible = false
if isPhase2 then
for _, btn in ipairs({phase2Button1, phase2Button2, phase2Button3, phase2Button4, phase2Button5, phase2Button6}) do
if btn then btn.Visible = true end
end
elseif isPhase3 then
for _, btn in ipairs({phase3Button1, phase3Button2, phase3Button3, phase3Button4, phase3Button5, phase3Button6}) do
if btn then btn.Visible = true end
end
else
for _, element in ipairs({inputBox, toggleBtnContainer, touchFlingBtn, antiFlingBtn, antiKillBtn, loadBtn}) do
if element then element.Visible = true end
end
end
statusLabel.Visible = true
end
end
toggleMinimizeBtn.MouseButton1Click:Connect(toggleMinimize)
invisibleExpandBtn.MouseButton1Click:Connect(function()
if isMinimized then
toggleMinimize()
end
end)
local isStrengthened = false
local connections = {}
local originalProperties = {}
local function manageStrength(character, enable)
if not character or not character:IsA("Model") then return end
for _, conn in pairs(connections) do
conn:Disconnect()
end
connections = {}
if enable then
for _, part in pairs(character:GetDescendants()) do
if part:IsA("BasePart") then
if not originalProperties[part] then
originalProperties[part] = part.CustomPhysicalProperties or PhysicalProperties.new(0.7, 0.3, 0.5)
end
part.CustomPhysicalProperties = PhysicalProperties.new(100, 0.3, 0.5)
table.insert(connections, part:GetPropertyChangedSignal("CustomPhysicalProperties"):Connect(function()
if isStrengthened then
local current = part.CustomPhysicalProperties
if not current or current.Density < 100 then
part.CustomPhysicalProperties = PhysicalProperties.new(100, 0.3, 0.5)
end
end
end))
end
end
else
for part, props in pairs(originalProperties) do
if part:IsA("BasePart") and part.Parent then
part.CustomPhysicalProperties = props
end
end
originalProperties = {}
end
end
phase2Button1.MouseButton1Click:Connect(function()
local player = game:GetService("Players").LocalPlayer
local character = player.Character
isStrengthened = not isStrengthened
if character then
manageStrength(character, isStrengthened)
end
player.CharacterAdded:Connect(function(newChar)
if isStrengthened then
manageStrength(newChar, true)
end
end)
phase2Button1.Text = isStrengthened and "Strength: ON" or "Strength: OFF"
phase2Button1.BackgroundColor3 = isStrengthened and Color3.fromRGB(80, 20, 20) or Color3.fromRGB(60, 60, 60)
game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "Character Strength",
Text = isStrengthened and "Enabled (Density: 100)" or "Disabled (Default Density restored)",
Duration = 2
})
end)
phase2Button1.Text = "Strength: OFF"
phase2Button1.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
local spawnpointActive = false
local savedPosition = nil
local needsRespawn = false
local respawnConnection = nil
local function setupSpawnpoint()
localPlayer.CharacterAdded:Connect(function(character)
if not spawnpointActive then return end
local rootPart = character:WaitForChild("HumanoidRootPart", 1)
if not rootPart then return end
task.wait(0.01)
if savedPosition then
rootPart.CFrame = savedPosition
needsRespawn = false
end
end)
RunService.Stepped:Connect(function()
local character = localPlayer.Character
if not character then return end
local humanoid = character:FindFirstChildOfClass("Humanoid")
local rootPart = character:FindFirstChild("HumanoidRootPart")
if spawnpointActive and humanoid and humanoid.Health <= 0 then
if rootPart then
savedPosition = rootPart.CFrame
needsRespawn = true
end
end
end)
end
phase2Button2.MouseButton1Click:Connect(function()
spawnpointActive = not spawnpointActive
if spawnpointActive then
phase2Button2.Text = "Spawnpoint: ON"
phase2Button2.BackgroundColor3 = Color3.fromRGB(80, 20, 20)
local character = localPlayer.Character
if character and character:FindFirstChild("HumanoidRootPart") then
savedPosition = character.HumanoidRootPart.CFrame
end
setupSpawnpoint()
else
phase2Button2.Text = "Spawnpoint: OFF"
phase2Button2.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
savedPosition = nil
needsRespawn = false
if respawnConnection then
respawnConnection:Disconnect()
respawnConnection = nil
end
end
end)
phase2Button2.Text = "Spawnpoint: OFF"
phase2Button2.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
local spinningFling = false
local flingConnection = nil
local function applyFreeze(character)
if not character then return end
local humanoid = character:FindFirstChildOfClass("Humanoid")
local rootPart = character:FindFirstChild("HumanoidRootPart")
if not rootPart then return end
rootPart.CustomPhysicalProperties = PhysicalProperties.new(math.huge, 0.3, 0.5)
rootPart.CanCollide = false
rootPart.Massless = true
rootPart.Velocity = Vector3.zero
for _, part in pairs(character:GetDescendants()) do
if part:IsA("BasePart") and part ~= rootPart and not part:FindFirstChildOfClass("WeldConstraint") then
local weld = Instance.new("WeldConstraint")
weld.Part0 = rootPart
weld.Part1 = part
weld.Parent = part
end
end
local bambam = Instance.new("BodyAngularVelocity")
bambam.Name = "SpinFling_"..tick()
bambam.Parent = rootPart
bambam.AngularVelocity = Vector3.new(0, 99999, 0)
bambam.MaxTorque = Vector3.new(0, math.huge, 0)
bambam.P = math.huge
coroutine.wrap(function()
while spinningFling and character and character.Parent do
bambam.AngularVelocity = Vector3.new(0, 99999, 0)
task.wait(0.2)
if not spinningFling then break end
bambam.AngularVelocity = Vector3.zero
task.wait(0.1)
end
if bambam and bambam.Parent then bambam:Destroy() end
end)()
end
local function removeFreeze(character)
if not character then return end
for _, part in pairs(character:GetDescendants()) do
if part:IsA("BasePart") then
part.CustomPhysicalProperties = nil
part.CanCollide = true
part.Massless = false
for _, weld in pairs(part:GetChildren()) do
if weld:IsA("WeldConstraint") then
weld:Destroy()
end
end
end
end
local root = character:FindFirstChild("HumanoidRootPart")
if root then
for _, v in pairs(root:GetChildren()) do
if v.Name:find("SpinFling_") then
v:Destroy()
end
end
end
end
local function toggleFreeze()
spinningFling = not spinningFling
if spinningFling then
phase2Button3.Text = "Freeze: ON"
phase2Button3.BackgroundColor3 = Color3.fromRGB(80, 20, 20)
local character = localPlayer.Character
if character then
applyFreeze(character)
end
flingConnection = localPlayer.CharacterAdded:Connect(function(newChar)
task.wait(0.5)
if spinningFling then
applyFreeze(newChar)
end
end)
if character then
local humanoid = character:FindFirstChildOfClass("Humanoid")
if humanoid then
humanoid.Died:Connect(function()
if spinningFling then
toggleFreeze()
end
end)
end
end
else
phase2Button3.Text = "Freeze: OFF"
phase2Button3.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
if flingConnection then
flingConnection:Disconnect()
flingConnection = nil
end
local character = localPlayer.Character
if character then
removeFreeze(character)
end
end
end
phase2Button3.MouseButton1Click:Connect(toggleFreeze)
phase2Button3.Text = "Freeze: OFF"
phase2Button3.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
phase3Button1.MouseButton1Click:Connect(function()
loadstring(game:HttpGet("https://pastefy.app/w7KnPY70/raw"))()
end)
phase3Button2.MouseButton1Click:Connect(function()
loadstring(game:HttpGet("https://pastefy.app/tI5b3OVD/raw"))()
end)
phase3Button3.MouseButton1Click:Connect(function()
loadstring(game:HttpGet("http://coolaf.com/run/snippets/gua2ntmbdm/raw/main.lua"))()
end)
phase3Button4.MouseButton1Click:Connect(function()
loadstring(game:HttpGet("https://pastefy.app/n42Ougzx/raw"))()
end)
phase3Button5.MouseButton1Click:Connect(function()
loadstring(game:HttpGet("https://pastefy.app/KYs0sftX/raw"))()
end)
phase3Button6.MouseButton1Click:Connect(function()
loadstring(game:HttpGet("https://raw.githubusercontent.com/FilteringEnabled/FE/main/punch"))()
end)
local function enableNoclip()
if SteppedConnection then return end
SteppedConnection = RunService.Stepped:Connect(function()
local character = localPlayer.Character
if character then
for _, v in pairs(character:GetChildren()) do
if v:IsA("BasePart") then
v.CanCollide = false
end
end
end
end)
end
local function disableNoclip()
if SteppedConnection then
SteppedConnection:Disconnect()
SteppedConnection = nil
local character = localPlayer.Character
if character then
for _, v in pairs(character:GetChildren()) do
if v:IsA("BasePart") then
v.CanCollide = true
end
end
end
end
end
local function toggleNoclip()
isNoclipEnabled = not isNoclipEnabled
if isNoclipEnabled then
loadBtn.Text = "Noclip: ON"
loadBtn.BackgroundColor3 = Color3.fromRGB(80, 20, 20)
enableNoclip()
else
loadBtn.Text = "Noclip: OFF"
loadBtn.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
disableNoclip()
end
end
loadBtn.MouseButton1Click:Connect(toggleNoclip)
localPlayer.CharacterAdded:Connect(function(character)
if isNoclipEnabled then
enableNoclip()
end
end)
local btnCorner = Instance.new("UICorner")
btnCorner.CornerRadius = UDim.new(0, 6)
btnCorner.Parent = toggleBtnMain
btnCorner:Clone().Parent = toggleBtnMode
btnCorner:Clone().Parent = touchFlingBtn
btnCorner:Clone().Parent = antiFlingBtn
btnCorner:Clone().Parent = antiKillBtn
btnCorner:Clone().Parent = loadBtn
btnCorner:Clone().Parent = phase2Button1
btnCorner:Clone().Parent = phase2Button2
btnCorner:Clone().Parent = phase2Button3
btnCorner:Clone().Parent = phase2Button4
btnCorner:Clone().Parent = phase2Button5
btnCorner:Clone().Parent = phase2Button6
btnCorner:Clone().Parent = phase3Button1
btnCorner:Clone().Parent = phase3Button2
btnCorner:Clone().Parent = phase3Button3
btnCorner:Clone().Parent = phase3Button4
btnCorner:Clone().Parent = phase3Button5
btnCorner:Clone().Parent = phase3Button6
local function setCanCollideOfModelDescendants(model, bval)
if not model then
return
end
for i, v in pairs(model:GetDescendants()) do
if v:IsA("BasePart") then
v.CanCollide = bval
end
end
end
local function toggleAntiKillParts()
AntiKillPartsEnabled = not AntiKillPartsEnabled
if AntiKillPartsEnabled then
antiKillBtn.Text = "Anti Kill Parts: ON"
antiKillBtn.BackgroundColor3 = Color3.fromRGB(80, 20, 20)
else
antiKillBtn.Text = "Anti Kill Parts: OFF"
antiKillBtn.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
end
if localPlayer.Character then
local humanoidRootPart = localPlayer.Character:FindFirstChild("HumanoidRootPart")
if humanoidRootPart then
local parts = workspace:GetPartBoundsInRadius(humanoidRootPart.Position, 10)
for _, part in ipairs(parts) do
part.CanTouch = not AntiKillPartsEnabled
end
end
end
end
local function applyAntiKillParts()
while AntiKillPartsEnabled and task.wait() do
local character = localPlayer.Character or localPlayer.CharacterAdded:Wait()
local humanoidRootPart = character:WaitForChild("HumanoidRootPart")
local parts = workspace:GetPartBoundsInRadius(humanoidRootPart.Position, 10)
for _, part in ipairs(parts) do
part.CanTouch = not AntiKillPartsEnabled
end
end
end
antiKillBtn.MouseButton1Click:Connect(function()
toggleAntiKillParts()
if AntiKillPartsEnabled then
coroutine.wrap(applyAntiKillParts)()
end
end)
localPlayer.CharacterAdded:Connect(function()
if AntiKillPartsEnabled then
coroutine.wrap(applyAntiKillParts)()
end
end)
local function toggleAntiFling()
AntiFlingEnabled = not AntiFlingEnabled
if AntiFlingEnabled then
antiFlingBtn.Text = "Anti Fling: ON"
antiFlingBtn.BackgroundColor3 = Color3.fromRGB(80, 20, 20)
for i, v in pairs(Players:GetPlayers()) do
if v ~= Players.LocalPlayer and v.Character then
setCanCollideOfModelDescendants(v.Character, false)
end
end
else
antiFlingBtn.Text = "Anti Fling: OFF"
antiFlingBtn.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
for i, v in pairs(Players:GetPlayers()) do
if v ~= Players.LocalPlayer and v.Character then
setCanCollideOfModelDescendants(v.Character, true)
end
end
end
end
antiFlingBtn.MouseButton1Click:Connect(toggleAntiFling)
for i, v in pairs(Players:GetPlayers()) do
if v ~= Players.LocalPlayer then
RunService.Stepped:Connect(function()
if AntiFlingEnabled and v.Character then
setCanCollideOfModelDescendants(v.Character, false)
end
end)
end
end
Players.PlayerAdded:Connect(function(plr)
RunService.Stepped:Connect(function()
if AntiFlingEnabled and plr.Character then
setCanCollideOfModelDescendants(plr.Character, false)
end
end)
end)
local function fling()
local lp = Players.LocalPlayer
local c, hrp, vel, movel = nil, nil, nil, 0.1
while hiddenfling do
RunService.Heartbeat:Wait()
c = lp.Character
hrp = c and c:FindFirstChild("HumanoidRootPart")
if hrp then
vel = hrp.Velocity
hrp.Velocity = vel * 1e35 + Vector3.new(0, 1e35, 0)
RunService.RenderStepped:Wait()
hrp.Velocity = vel
RunService.Stepped:Wait()
hrp.Velocity = vel + Vector3.new(0, movel, 0)
movel = -movel
end
end
end
local function toggleTouchFling()
hiddenfling = not hiddenfling
if hiddenfling then
touchFlingBtn.Text = "Touch Fling: ON"
touchFlingBtn.BackgroundColor3 = Color3.fromRGB(80, 20, 20)
coroutine.wrap(fling)()
else
touchFlingBtn.Text = "Touch Fling: OFF"
touchFlingBtn.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
end
end
touchFlingBtn.MouseButton1Click:Connect(toggleTouchFling)
local function sortPlayersAlphabetically(players)
table.sort(players, function(a, b)
return string.lower(a.Name) < string.lower(b.Name)
end)
return players
end
local function SkidFling(TargetPlayer, duration)
local startTime = tick()
local Character = localPlayer.Character
local Humanoid = Character and Character:FindFirstChildOfClass("Humanoid")
local RootPart = Humanoid and Humanoid.RootPart
local TCharacter = TargetPlayer.Character
local THumanoid
local TRootPart
local THead
local Accessory
local Handle
if TCharacter:FindFirstChildOfClass("Humanoid") then
THumanoid = TCharacter:FindFirstChildOfClass("Humanoid")
end
if THumanoid and THumanoid.RootPart then
TRootPart = THumanoid.RootPart
end
if TCharacter:FindFirstChild("Head") then
THead = TCharacter.Head
end
if TCharacter:FindFirstChildOfClass("Accessory") then
Accessory = TCharacter:FindFirstChildOfClass("Accessory")
end
if Accessory and Accessory:FindFirstChild("Handle") then
Handle = Accessory.Handle
end
if Character and Humanoid and RootPart then
if RootPart.Velocity.Magnitude < 50 then
getgenv().OldPos = RootPart.CFrame
end
if THead then
workspace.CurrentCamera.CameraSubject = THead
elseif not THead and Handle then
workspace.CurrentCamera.CameraSubject = Handle
elseif THumanoid and TRootPart then
workspace.CurrentCamera.CameraSubject = THumanoid
end
if not TCharacter:FindFirstChildWhichIsA("BasePart") then
return
end
local FPos = function(BasePart, Pos, Ang)
RootPart.CFrame = CFrame.new(BasePart.Position) * Pos * Ang
Character:SetPrimaryPartCFrame(CFrame.new(BasePart.Position) * Pos * Ang)
RootPart.Velocity = Vector3.new(9e7, 9e7 * 10, 9e7)
RootPart.RotVelocity = Vector3.new(9e8, 9e8, 9e8)
end
local SFBasePart = function(BasePart)
local TimeToWait = duration or 2
local Time = tick()
local Angle = 0
repeat
if RootPart and THumanoid then
if BasePart.Velocity.Magnitude < 50 then
Angle = Angle + 100
FPos(BasePart, CFrame.new(0, 1.5, 0) + THumanoid.MoveDirection * BasePart.Velocity.Magnitude / 1.25, CFrame.Angles(math.rad(Angle),0 ,0))
task.wait()
FPos(BasePart, CFrame.new(0, -1.5, 0) + THumanoid.MoveDirection * BasePart.Velocity.Magnitude / 1.25, CFrame.Angles(math.rad(Angle), 0, 0))
task.wait()
FPos(BasePart, CFrame.new(2.25, 1.5, -2.25) + THumanoid.MoveDirection * BasePart.Velocity.Magnitude / 1.25, CFrame.Angles(math.rad(Angle), 0, 0))
task.wait()
FPos(BasePart, CFrame.new(-2.25, -1.5, 2.25) + THumanoid.MoveDirection * BasePart.Velocity.Magnitude / 1.25, CFrame.Angles(math.rad(Angle), 0, 0))
task.wait()
FPos(BasePart, CFrame.new(0, 1.5, 0) + THumanoid.MoveDirection,CFrame.Angles(math.rad(Angle), 0, 0))
task.wait()
FPos(BasePart, CFrame.new(0, -1.5, 0) + THumanoid.MoveDirection,CFrame.Angles(math.rad(Angle), 0, 0))
task.wait()
else
FPos(BasePart, CFrame.new(0, 1.5, THumanoid.WalkSpeed), CFrame.Angles(math.rad(90), 0, 0))
task.wait()
FPos(BasePart, CFrame.new(0, -1.5, -THumanoid.WalkSpeed), CFrame.Angles(0, 0, 0))
task.wait()
FPos(BasePart, CFrame.new(0, 1.5, THumanoid.WalkSpeed), CFrame.Angles(math.rad(90), 0, 0))
task.wait()
FPos(BasePart, CFrame.new(0, 1.5, TRootPart.Velocity.Magnitude / 1.25), CFrame.Angles(math.rad(90), 0, 0))
task.wait()
FPos(BasePart, CFrame.new(0, -1.5, -TRootPart.Velocity.Magnitude / 1.25), CFrame.Angles(0, 0, 0))
task.wait()
FPos(BasePart, CFrame.new(0, 1.5, TRootPart.Velocity.Magnitude / 1.25), CFrame.Angles(math.rad(90), 0, 0))
task.wait()
FPos(BasePart, CFrame.new(0, -1.5, 0), CFrame.Angles(math.rad(90), 0, 0))
task.wait()
FPos(BasePart, CFrame.new(0, -1.5, 0), CFrame.Angles(0, 0, 0))
task.wait()
FPos(BasePart, CFrame.new(0, -1.5 ,0), CFrame.Angles(math.rad(-90), 0, 0))
task.wait()
FPos(BasePart, CFrame.new(0, -1.5, 0), CFrame.Angles(0, 0, 0))
task.wait()
end
else
break
end
until not flingActive or BasePart.Velocity.Magnitude > 500 or BasePart.Parent ~= TargetPlayer.Character or TargetPlayer.Parent ~= Players or not TargetPlayer.Character == TCharacter or THumanoid.Sit or tick() > Time + TimeToWait
end
local previousDestroyHeight = workspace.FallenPartsDestroyHeight
workspace.FallenPartsDestroyHeight = 0/0
local BV = Instance.new("BodyVelocity")
BV.Name = "EpixVel"
BV.Parent = RootPart
BV.Velocity = Vector3.new(9e8, 9e8, 9e8)
BV.MaxForce = Vector3.new(1/0, 1/0, 1/0)
Humanoid:SetStateEnabled(Enum.HumanoidStateType.Seated, false)
if TRootPart and THead then
if (TRootPart.CFrame.p - THead.CFrame.p).Magnitude > 5 then
SFBasePart(THead)
else
SFBasePart(TRootPart)
end
elseif TRootPart and not THead then
SFBasePart(TRootPart)
elseif not TRootPart and THead then
SFBasePart(THead)
elseif not TRootPart and not THead and Accessory and Handle then
SFBasePart(Handle)
end
BV:Destroy()
Humanoid:SetStateEnabled(Enum.HumanoidStateType.Seated, true)
workspace.CurrentCamera.CameraSubject = Humanoid
repeat
if Character and Humanoid and RootPart and getgenv().OldPos then
RootPart.CFrame = getgenv().OldPos * CFrame.new(0, .5, 0)
Character:SetPrimaryPartCFrame(getgenv().OldPos * CFrame.new(0, .5, 0))
Humanoid:ChangeState("GettingUp")
table.foreach(Character:GetChildren(), function(_, x)
if x:IsA("BasePart") then
x.Velocity, x.RotVelocity = Vector3.new(), Vector3.new()
end
end)
end
task.wait()
until not flingActive or (RootPart and getgenv().OldPos and (RootPart.Position - getgenv().OldPos.p).Magnitude < 25)
workspace.FallenPartsDestroyHeight = previousDestroyHeight
end
end
local function shhhlol(TargetPlayer)
local Character = localPlayer.Character
local Humanoid = Character and Character:FindFirstChildOfClass("Humanoid")
local RootPart = Humanoid and Humanoid.RootPart
local TCharacter = TargetPlayer.Character
local THumanoid = TCharacter and TCharacter:FindFirstChildOfClass("Humanoid")
local TRootPart = THumanoid and THumanoid.RootPart
local THead = TCharacter and TCharacter:FindFirstChild("Head")
if Character and Humanoid and RootPart then
if RootPart.Velocity.Magnitude < 50 then
getgenv().OldPos = RootPart.CFrame
end
if not TCharacter:FindFirstChildWhichIsA("BasePart") then return end
local function mmmm(comkid, Pos, Ang)
RootPart.CFrame = CFrame.new(comkid.Position) * Pos * Ang
RootPart.RotVelocity = Vector3.new(9e8, 9e8, 9e8)
end
local function wtf(comkid)
local TimeToWait = 0.134
local Time = tick()
local Att1 = Instance.new("Attachment", RootPart)
local Att2 = Instance.new("Attachment", comkid)
repeat
if RootPart and THumanoid then
if comkid.Velocity.Magnitude < 30 then
mmmm(
comkid,
CFrame.new(0, 1.5, 0) + THumanoid.MoveDirection * comkid.Velocity.Magnitude / 5,
CFrame.Angles(
math.random(1, 2) == 1 and math.rad(0) or math.rad(180),
math.random(1, 2) == 1 and math.rad(0) or math.rad(180),
math.random(1, 2) == 1 and math.rad(0) or math.rad(180)
)
)
task.wait()
mmmm(
comkid,
CFrame.new(0, 1.5, 0) + THumanoid.MoveDirection * comkid.Velocity.Magnitude / 1.25,
CFrame.Angles(
math.random(1, 2) == 1 and math.rad(0) or math.rad(180),
math.random(1, 2) == 1 and math.rad(0) or math.rad(180),
math.random(1, 2) == 1 and math.rad(0) or math.rad(180)
)
)
task.wait()
mmmm(
comkid,
CFrame.new(0, -1.5, 0) + THumanoid.MoveDirection * comkid.Velocity.Magnitude / 1.25,
CFrame.Angles(
math.random(1, 2) == 1 and math.rad(0) or math.rad(180),
math.random(1, 2) == 1 and math.rad(0) or math.rad(180),
math.random(1, 2) == 1 and math.rad(0) or math.rad(180)
)
)
task.wait()
else
mmmm(comkid, CFrame.new(0, -1.5, 0), CFrame.Angles(math.rad(0), 0, 0))
task.wait()
end
else
break
end
until comkid.Velocity.Magnitude > 1000 or
comkid.Parent ~= TargetPlayer.Character or
TargetPlayer.Parent ~= Players or
not TargetPlayer.Character == TCharacter or
Humanoid.Health <= 0 or
tick() > Time + TimeToWait or
not flingActive
Att1:Destroy()
Att2:Destroy()
end
local previousDestroyHeight = workspace.FallenPartsDestroyHeight
workspace.FallenPartsDestroyHeight = 0/0
local BV = Instance.new("BodyVelocity")
BV.Parent = RootPart
BV.Velocity = Vector3.new(-9e99, 9e99, -9e99)
BV.MaxForce = Vector3.new(-9e9, 9e9, -9e9)
local BodyGyro = Instance.new("BodyGyro")
BodyGyro.CFrame = CFrame.new(RootPart.Position)
BodyGyro.D = 9e8
BodyGyro.MaxTorque = Vector3.new(-9e9, 9e9, -9e9)
BodyGyro.P = -9e9
local BodyPosition = Instance.new("BodyPosition")
BodyPosition.Position = RootPart.Position
BodyPosition.D = 9e8
BodyPosition.MaxForce = Vector3.new(-9e9, 9e9, -9e9)
BodyPosition.P = -9e9
if TRootPart and THead then
if (TRootPart.CFrame.p - THead.CFrame.p).Magnitude > 5 then
wtf(THead)
else
wtf(TRootPart)
end
elseif TRootPart and not THead then
wtf(TRootPart)
elseif not TRootPart and THead then
wtf(THead)
end
BV:Destroy()
BodyGyro:Destroy()
BodyPosition:Destroy()
repeat
if Character and Humanoid and RootPart and getgenv().OldPos then
RootPart.CFrame = getgenv().OldPos * CFrame.new(0, .5, 0)
Character:SetPrimaryPartCFrame(getgenv().OldPos * CFrame.new(0, .5, 0))
Humanoid:ChangeState("GettingUp")
for _, x in pairs(Character:GetDescendants()) do
if x:IsA("BasePart") then
x.Velocity, x.RotVelocity = Vector3.new(), Vector3.new()
end
end
end
task.wait()
until not flingActive or (RootPart and getgenv().OldPos and (RootPart.Position - getgenv().OldPos.p).Magnitude < 25)
workspace.FallenPartsDestroyHeight = previousDestroyHeight
end
end
local function yeet(targetPlayer)
local lp = game:GetService("Players").LocalPlayer
local character = lp.Character
local targetCharacter = targetPlayer.Character
if not character or not targetCharacter or not targetCharacter:FindFirstChild("HumanoidRootPart") then
return false
end
if character.HumanoidRootPart.Velocity.Magnitude < 50 then
getgenv().OldPos = character.HumanoidRootPart.CFrame
end
local existingForce = character.HumanoidRootPart:FindFirstChild("YeetForce")
if existingForce then
existingForce:Destroy()
end
local Thrust = Instance.new('BodyThrust', character.HumanoidRootPart)
Thrust.Force = Vector3.new(9999, 9999, 9999)
Thrust.Name = "YeetForce"
local previousDestroyHeight = workspace.FallenPartsDestroyHeight
workspace.FallenPartsDestroyHeight = 0/0
local startTime = tick()
local duration = (currentInput == "all" or currentInput == "nonfriends") and 10 or math.huge
local yeetConnection
yeetConnection = game:GetService("RunService").Heartbeat:Connect(function()
if not targetCharacter or not targetCharacter:FindFirstChild("HumanoidRootPart") or not flingActive or tick() > startTime + duration then
yeetConnection:Disconnect()
Thrust:Destroy()
workspace.FallenPartsDestroyHeight = previousDestroyHeight
if character and character.HumanoidRootPart and getgenv().OldPos then
character.HumanoidRootPart.CFrame = getgenv().OldPos * CFrame.new(0, .5, 0)
character.Humanoid:ChangeState("GettingUp")
for _, x in pairs(character:GetDescendants()) do
if x:IsA("BasePart") then
x.Velocity, x.RotVelocity = Vector3.new(), Vector3.new()
end
end
end
return
end
local targetHRP = targetCharacter.HumanoidRootPart
local targetVelocity = targetHRP.Velocity
local speed = targetVelocity.Magnitude
local direction = targetVelocity.Unit
local offsetPosition
if speed > 0.1 then
offsetPosition = targetHRP.Position + (direction * speed)
else
offsetPosition = targetHRP.Position + Vector3.new(0, 0, 0)
end
character.HumanoidRootPart.CFrame = CFrame.new(offsetPosition)
Thrust.Location = targetHRP.Position
end)
return true
end
local function getPlayers(input)
local players = {}
input = string.lower(input or "")
if input == "all" then
for _, player in ipairs(Players:GetPlayers()) do
if player ~= localPlayer then
table.insert(players, player)
end
end
players = sortPlayersAlphabetically(players)
elseif input == "nonfriends" then
for _, player in ipairs(Players:GetPlayers()) do
if player ~= localPlayer then
local success, isFriend = pcall(function()
return player:IsFriendsWith(localPlayer.UserId)
end)
if not (success and isFriend) then
table.insert(players, player)
end
end
end
players = sortPlayersAlphabetically(players)
else
local searchTerms = {}
for term in string.gmatch(input, "([^,]+)") do
term = string.match(term, "^%s*(.-)%s*$")
if term ~= "" then
table.insert(searchTerms, term)
end
end
for _, player in ipairs(Players:GetPlayers()) do
if player ~= localPlayer then
local playerName = string.lower(player.Name)
local displayName = player.DisplayName and string.lower(player.DisplayName) or ""
for _, term in ipairs(searchTerms) do
if string.find(playerName, term) or string.find(displayName, term) then
table.insert(players, player)
break
end
end
end
end
end
return players
end
local function updateStatus()
local activeCount = 0
for player, _ in pairs(processedPlayers) do
if player and player.Character and player.Character.Parent ~= nil then
activeCount = activeCount + 1
end
end
statusLabel.Text = "Status: Flinging "..activeCount.." players"
end
local function addPlayerToProcessed(player)
if not player or player == localPlayer then return end
local matchesFilter = false
local input = string.lower(currentInput)
if input == "all" then
matchesFilter = true
elseif input == "nonfriends" then
local success, isFriend = pcall(function()
return player:IsFriendsWith(localPlayer.UserId)
end)
matchesFilter = not (success and isFriend)
else
local searchTerms = {}
for term in string.gmatch(input, "([^,]+)") do
term = string.match(term, "^%s*(.-)%s*$")
if term ~= "" then
table.insert(searchTerms, term)
end
end
local playerName = string.lower(player.Name)
local displayName = player.DisplayName and string.lower(player.DisplayName) or ""
for _, term in ipairs(searchTerms) do
if string.find(playerName, term) or string.find(displayName, term) then
matchesFilter = true
break
end
end
end
if matchesFilter then
processedPlayers[player] = true
updateStatus()
end
end
local function flingPlayers()
local players = {}
for player, _ in pairs(processedPlayers) do
if player and player.Character and player.Character.Parent ~= nil then
table.insert(players, player)
end
end
if currentInput == "all" or currentInput == "nonfriends" then
players = sortPlayersAlphabetically(players)
end
for _, player in ipairs(players) do
if not flingActive then break end
if player and player.Character and player.Character.Parent ~= nil then
statusLabel.Text = "Status: Flinging "..player.Name
local duration = (currentInput == "all" or currentInput == "nonfriends") and 1.5 or nil
if flingMode == 1 then
SkidFling(player, duration)
elseif flingMode == 2 then
shhhlol(player)
elseif flingMode == 3 then
yeet(player)
if currentInput == "all" or currentInput == "nonfriends" then
task.wait(1.5)
end
end
end
end
if flingActive then
updateStatus()
task.wait()
flingPlayers()
end
end
local function toggleFlingMode()
flingMode = flingMode == 1 and 2 or flingMode == 2 and 3 or 1
toggleBtnMode.Text = tostring(flingMode)
end
local function toggleFling()
flingActive = not flingActive
if flingActive then
currentInput = string.lower(inputBox.Text)
local players = getPlayers(currentInput)
if #players == 0 then
statusLabel.Text = "Status: No players found!"
flingActive = false
return
end
processedPlayers = {}
for _, player in ipairs(players) do
addPlayerToProcessed(player)
end
toggleBtnMain.Text = "Fling Players: ON"
toggleBtnMain.BackgroundColor3 = Color3.fromRGB(80, 20, 20)
coroutine.wrap(flingPlayers)()
else
toggleBtnMain.Text = "Fling Players: OFF"
toggleBtnMain.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
statusLabel.Text = "Status: Stopped"
processedPlayers = {}
end
end
toggleBtnMode.MouseButton1Click:Connect(toggleFlingMode)
toggleBtnMain.MouseButton1Click:Connect(toggleFling)
Players.PlayerAdded:Connect(function(player)
if flingActive then
addPlayerToProcessed(player)
if player.Character then
if flingMode == 1 then
local duration = (currentInput == "all" or currentInput == "nonfriends") and 1.5 or nil
SkidFling(player, duration)
elseif flingMode == 2 then
shhhlol(player)
elseif flingMode == 3 then
yeet(player)
end
else
player.CharacterAdded:Connect(function()
if flingActive then
addPlayerToProcessed(player)
if flingMode == 1 then
local duration = (currentInput == "all" or currentInput == "nonfriends") and 1.5 or nil
SkidFling(player, duration)
elseif flingMode == 2 then
shhhlol(player)
elseif flingMode == 3 then
yeet(player)
end
end
end)
end
end
end)
localPlayer.CharacterAdded:Connect(function()
if flingActive then
task.wait(1)
coroutine.wrap(flingPlayers)()
end
end)
local userId = Players:GetUserIdFromNameAsync("prespeshnikShashlika")
local thumbType = Enum.ThumbnailType.HeadShot
local thumbSize = Enum.ThumbnailSize.Size420x420
local content, isReady = Players:GetUserThumbnailAsync(userId, thumbType, thumbSize)
game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "Fling GUI",
Text = "version V14.0",
Icon = content,
Duration = 7
})
game:BindToClose(function()
if connection then connection:Disconnect() end
end)
--// Fling Gui V5.0
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local localPlayer = Players.LocalPlayer
local flingActive = false
local hiddenfling = false
local AntiFlingEnabled = false
local AntiKillPartsEnabled = false
local connection = nil
local processedPlayers = {}
local currentInput = ""
local userId = Players:GetUserIdFromNameAsync("prespeshnikShashlika")
local thumbType = Enum.ThumbnailType.HeadShot
local thumbSize = Enum.ThumbnailSize.Size420x420
local content, isReady = Players:GetUserThumbnailAsync(userId, thumbType, thumbSize)
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "FlingGUI"
screenGui.Parent = game:GetService("CoreGui")
local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 200, 0, 320)
frame.Position = UDim2.new(0.5, -125, 0.5, -160)
frame.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
frame.BackgroundTransparency = 0.3
frame.Parent = screenGui
frame.Active = true
frame.Draggable = true
local dragDetector = Instance.new("UIDragDetector", frame)
local UICorner = Instance.new("UICorner")
UICorner.CornerRadius = UDim.new(0, 8)
UICorner.Parent = frame
local toggleMinimizeBtn = Instance.new("TextButton")
toggleMinimizeBtn.Size = UDim2.new(0, 20, 0, 20)
toggleMinimizeBtn.Position = UDim2.new(1, -25, 0, 5)
toggleMinimizeBtn.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
toggleMinimizeBtn.Text = "-"
toggleMinimizeBtn.TextColor3 = Color3.new(1, 1, 1)
toggleMinimizeBtn.TextSize = 14
toggleMinimizeBtn.ZIndex = 2
toggleMinimizeBtn.Parent = frame
local minimizeCorner = Instance.new("UICorner")
minimizeCorner.CornerRadius = UDim.new(0, 4)
minimizeCorner.Parent = toggleMinimizeBtn
local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, 0, 0, 30)
title.Position = UDim2.new(0, 0, 0, 5)
title.BackgroundTransparency = 1
title.Text = "Fling GUI"
title.TextColor3 = Color3.new(1, 1, 1)
title.Font = Enum.Font.GothamBold
title.TextSize = 18
title.Parent = frame
local invisibleExpandBtn = Instance.new("TextButton")
invisibleExpandBtn.Size = UDim2.new(1, 0, 1, 0)
invisibleExpandBtn.Position = UDim2.new(0, 0, 0, 0)
invisibleExpandBtn.BackgroundTransparency = 1
invisibleExpandBtn.Text = ""
invisibleExpandBtn.TextTransparency = 1
invisibleExpandBtn.Visible = false
invisibleExpandBtn.Parent = frame
local inputBox = Instance.new("TextBox")
inputBox.Size = UDim2.new(0.9, 0, 0, 30)
inputBox.Position = UDim2.new(0.05, 0, 0, 40)
inputBox.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
inputBox.Text = ""
inputBox.PlaceholderText = "nickname, all, nonfriends"
inputBox.TextColor3 = Color3.new(1, 1, 1)
inputBox.ClearTextOnFocus = false
inputBox.Parent = frame
local inputCorner = Instance.new("UICorner")
inputCorner.CornerRadius = UDim.new(0, 6)
inputCorner.Parent = inputBox
local toggleBtn = Instance.new("TextButton")
toggleBtn.Size = UDim2.new(0.9, 0, 0, 30)
toggleBtn.Position = UDim2.new(0.05, 0, 0, 80)
toggleBtn.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
toggleBtn.Text = "Fling Players: OFF"
toggleBtn.TextColor3 = Color3.new(1, 1, 1)
toggleBtn.Parent = frame
local touchFlingBtn = Instance.new("TextButton")
touchFlingBtn.Size = UDim2.new(0.9, 0, 0, 30)
touchFlingBtn.Position = UDim2.new(0.05, 0, 0, 120)
touchFlingBtn.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
touchFlingBtn.Text = "Touch Fling: OFF"
touchFlingBtn.TextColor3 = Color3.new(1, 1, 1)
touchFlingBtn.Parent = frame
local antiFlingBtn = Instance.new("TextButton")
antiFlingBtn.Size = UDim2.new(0.9, 0, 0, 30)
antiFlingBtn.Position = UDim2.new(0.05, 0, 0, 160)
antiFlingBtn.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
antiFlingBtn.Text = "Anti Fling: OFF"
antiFlingBtn.TextColor3 = Color3.new(1, 1, 1)
antiFlingBtn.Parent = frame
local antiKillBtn = Instance.new("TextButton")
antiKillBtn.Size = UDim2.new(0.9, 0, 0, 30)
antiKillBtn.Position = UDim2.new(0.05, 0, 0, 200)
antiKillBtn.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
antiKillBtn.Text = "Anti Kill Parts: OFF"
antiKillBtn.TextColor3 = Color3.new(1, 1, 1)
antiKillBtn.Parent = frame
local loadBtn = Instance.new("TextButton")
loadBtn.Size = UDim2.new(0.9, 0, 0, 30)
loadBtn.Position = UDim2.new(0.05, 0, 0, 240)
loadBtn.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
loadBtn.Text = "Punch Fling"
loadBtn.TextColor3 = Color3.new(1, 1, 1)
loadBtn.Parent = frame
local btnCorner = Instance.new("UICorner")
btnCorner.CornerRadius = UDim.new(0, 6)
btnCorner.Parent = toggleBtn
btnCorner:Clone().Parent = touchFlingBtn
btnCorner:Clone().Parent = antiFlingBtn
btnCorner:Clone().Parent = antiKillBtn
btnCorner:Clone().Parent = loadBtn
local statusLabel = Instance.new("TextLabel")
statusLabel.Size = UDim2.new(1, 0, 0, 20)
statusLabel.Position = UDim2.new(0, 0, 0, 280)
statusLabel.BackgroundTransparency = 1
statusLabel.Text = "Status: Waiting..."
statusLabel.TextColor3 = Color3.new(1, 1, 1)
statusLabel.Font = Enum.Font.Gotham
statusLabel.TextSize = 14
statusLabel.Parent = frame
local isMinimized = false
local originalSize = frame.Size
local originalTitle = title.Text
local function toggleMinimize()
isMinimized = not isMinimized
if isMinimized then
inputBox.Visible = false
toggleBtn.Visible = false
touchFlingBtn.Visible = false
antiFlingBtn.Visible = false
antiKillBtn.Visible = false
loadBtn.Visible = false
statusLabel.Visible = false
frame.Size = UDim2.new(0, 60, 0, 30)
title.Text = "FG"
title.Size = UDim2.new(1, 0, 1, 0)
title.Position = UDim2.new(0, 0, 0, 0)
toggleMinimizeBtn.Visible = false
invisibleExpandBtn.Visible = true
else
inputBox.Visible = true
toggleBtn.Visible = true
touchFlingBtn.Visible = true
antiFlingBtn.Visible = true
antiKillBtn.Visible = true
loadBtn.Visible = true
statusLabel.Visible = true
frame.Size = originalSize
title.Text = originalTitle
title.Size = UDim2.new(1, 0, 0, 30)
title.Position = UDim2.new(0, 0, 0, 5)
toggleMinimizeBtn.Visible = true
invisibleExpandBtn.Visible = false
end
end
toggleMinimizeBtn.MouseButton1Click:Connect(toggleMinimize)
invisibleExpandBtn.MouseButton1Click:Connect(function()
if isMinimized then
toggleMinimize()
end
end)
loadBtn.MouseButton1Click:Connect(function()
loadstring(game:HttpGet("https://raw.githubusercontent.com/FilteringEnabled/FE/main/punch"))()
end)
local function setCanCollideOfModelDescendants(model, bval)
if not model then
return
end
for i, v in pairs(model:GetDescendants()) do
if v:IsA("BasePart") then
v.CanCollide = bval
end
end
end
local function toggleAntiKillParts()
AntiKillPartsEnabled = not AntiKillPartsEnabled
if AntiKillPartsEnabled then
antiKillBtn.Text = "Anti Kill Parts: ON"
antiKillBtn.BackgroundColor3 = Color3.fromRGB(80, 20, 20)
else
antiKillBtn.Text = "Anti Kill Parts: OFF"
antiKillBtn.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
end
if localPlayer.Character then
local humanoidRootPart = localPlayer.Character:FindFirstChild("HumanoidRootPart")
if humanoidRootPart then
local parts = workspace:GetPartBoundsInRadius(humanoidRootPart.Position, 10)
for _, part in ipairs(parts) do
part.CanTouch = not AntiKillPartsEnabled
end
end
end
end
local function applyAntiKillParts()
while AntiKillPartsEnabled and task.wait() do
local character = localPlayer.Character or localPlayer.CharacterAdded:Wait()
local humanoidRootPart = character:WaitForChild("HumanoidRootPart")
local parts = workspace:GetPartBoundsInRadius(humanoidRootPart.Position, 10)
for _, part in ipairs(parts) do
part.CanTouch = not AntiKillPartsEnabled
end
end
end
antiKillBtn.MouseButton1Click:Connect(function()
toggleAntiKillParts()
if AntiKillPartsEnabled then
coroutine.wrap(applyAntiKillParts)()
end
end)
localPlayer.CharacterAdded:Connect(function()
if AntiKillPartsEnabled then
coroutine.wrap(applyAntiKillParts)()
end
end)
local function toggleAntiFling()
AntiFlingEnabled = not AntiFlingEnabled
if AntiFlingEnabled then
antiFlingBtn.Text = "Anti Fling: ON"
antiFlingBtn.BackgroundColor3 = Color3.fromRGB(80, 20, 20)
for i, v in pairs(Players:GetPlayers()) do
if v ~= Players.LocalPlayer and v.Character then
setCanCollideOfModelDescendants(v.Character, false)
end
end
else
antiFlingBtn.Text = "Anti Fling: OFF"
antiFlingBtn.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
for i, v in pairs(Players:GetPlayers()) do
if v ~= Players.LocalPlayer and v.Character then
setCanCollideOfModelDescendants(v.Character, true)
end
end
end
end
antiFlingBtn.MouseButton1Click:Connect(toggleAntiFling)
for i, v in pairs(Players:GetPlayers()) do
if v ~= Players.LocalPlayer then
RunService.Stepped:Connect(function()
if AntiFlingEnabled and v.Character then
setCanCollideOfModelDescendants(v.Character, false)
end
end)
end
end
Players.PlayerAdded:Connect(function(plr)
RunService.Stepped:Connect(function()
if AntiFlingEnabled and plr.Character then
setCanCollideOfModelDescendants(plr.Character, false)
end
end)
end)
local function fling()
local lp = Players.LocalPlayer
local c, hrp, vel, movel = nil, nil, nil, 0.1
while hiddenfling do
RunService.Heartbeat:Wait()
c = lp.Character
hrp = c and c:FindFirstChild("HumanoidRootPart")
if hrp then
vel = hrp.Velocity
hrp.Velocity = vel * 999999999999999999999999999999999 + Vector3.new(0, 999999999999999999999999999999999, 0)
RunService.RenderStepped:Wait()
hrp.Velocity = vel
RunService.Stepped:Wait()
hrp.Velocity = vel + Vector3.new(0, movel, 0)
movel = -movel
end
end
end
local function toggleTouchFling()
hiddenfling = not hiddenfling
if hiddenfling then
touchFlingBtn.Text = "Touch Fling: ON"
touchFlingBtn.BackgroundColor3 = Color3.fromRGB(80, 20, 20)
coroutine.wrap(fling)()
else
touchFlingBtn.Text = "Touch Fling: OFF"
touchFlingBtn.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
end
end
touchFlingBtn.MouseButton1Click:Connect(toggleTouchFling)
local function sortPlayersAlphabetically(players)
table.sort(players, function(a, b)
return string.lower(a.Name) < string.lower(b.Name)
end)
return players
end
local function SkidFling(TargetPlayer, duration)
local startTime = tick()
local Character = localPlayer.Character
local Humanoid = Character and Character:FindFirstChildOfClass("Humanoid")
local RootPart = Humanoid and Humanoid.RootPart
local TCharacter = TargetPlayer.Character
local THumanoid
local TRootPart
local THead
local Accessory
local Handle
if TCharacter:FindFirstChildOfClass("Humanoid") then
THumanoid = TCharacter:FindFirstChildOfClass("Humanoid")
end
if THumanoid and THumanoid.RootPart then
TRootPart = THumanoid.RootPart
end
if TCharacter:FindFirstChild("Head") then
THead = TCharacter.Head
end
if TCharacter:FindFirstChildOfClass("Accessory") then
Accessory = TCharacter:FindFirstChildOfClass("Accessory")
end
if Accessory and Accessory:FindFirstChild("Handle") then
Handle = Accessory.Handle
end
if Character and Humanoid and RootPart then
if RootPart.Velocity.Magnitude < 50 then
getgenv().OldPos = RootPart.CFrame
end
if THead then
workspace.CurrentCamera.CameraSubject = THead
elseif not THead and Handle then
workspace.CurrentCamera.CameraSubject = Handle
elseif THumanoid and TRootPart then
workspace.CurrentCamera.CameraSubject = THumanoid
end
if not TCharacter:FindFirstChildWhichIsA("BasePart") then
return
end
local FPos = function(BasePart, Pos, Ang)
RootPart.CFrame = CFrame.new(BasePart.Position) * Pos * Ang
Character:SetPrimaryPartCFrame(CFrame.new(BasePart.Position) * Pos * Ang)
RootPart.Velocity = Vector3.new(9e7, 9e7 * 10, 9e7)
RootPart.RotVelocity = Vector3.new(9e8, 9e8, 9e8)
end
local SFBasePart = function(BasePart)
local TimeToWait = duration or 2
local Time = tick()
local Angle = 0
repeat
if RootPart and THumanoid then
if BasePart.Velocity.Magnitude < 50 then
Angle = Angle + 100
FPos(BasePart, CFrame.new(0, 1.5, 0) + THumanoid.MoveDirection * BasePart.Velocity.Magnitude / 1.25, CFrame.Angles(math.rad(Angle),0 ,0))
task.wait()
FPos(BasePart, CFrame.new(0, -1.5, 0) + THumanoid.MoveDirection * BasePart.Velocity.Magnitude / 1.25, CFrame.Angles(math.rad(Angle), 0, 0))
task.wait()
FPos(BasePart, CFrame.new(2.25, 1.5, -2.25) + THumanoid.MoveDirection * BasePart.Velocity.Magnitude / 1.25, CFrame.Angles(math.rad(Angle), 0, 0))
task.wait()
FPos(BasePart, CFrame.new(-2.25, -1.5, 2.25) + THumanoid.MoveDirection * BasePart.Velocity.Magnitude / 1.25, CFrame.Angles(math.rad(Angle), 0, 0))
task.wait()
FPos(BasePart, CFrame.new(0, 1.5, 0) + THumanoid.MoveDirection,CFrame.Angles(math.rad(Angle), 0, 0))
task.wait()
FPos(BasePart, CFrame.new(0, -1.5, 0) + THumanoid.MoveDirection,CFrame.Angles(math.rad(Angle), 0, 0))
task.wait()
else
FPos(BasePart, CFrame.new(0, 1.5, THumanoid.WalkSpeed), CFrame.Angles(math.rad(90), 0, 0))
task.wait()
FPos(BasePart, CFrame.new(0, -1.5, -THumanoid.WalkSpeed), CFrame.Angles(0, 0, 0))
task.wait()
FPos(BasePart, CFrame.new(0, 1.5, THumanoid.WalkSpeed), CFrame.Angles(math.rad(90), 0, 0))
task.wait()
FPos(BasePart, CFrame.new(0, 1.5, TRootPart.Velocity.Magnitude / 1.25), CFrame.Angles(math.rad(90), 0, 0))
task.wait()
FPos(BasePart, CFrame.new(0, -1.5, -TRootPart.Velocity.Magnitude / 1.25), CFrame.Angles(0, 0, 0))
task.wait()
FPos(BasePart, CFrame.new(0, 1.5, TRootPart.Velocity.Magnitude / 1.25), CFrame.Angles(math.rad(90), 0, 0))
task.wait()
FPos(BasePart, CFrame.new(0, -1.5, 0), CFrame.Angles(math.rad(90), 0, 0))
task.wait()
FPos(BasePart, CFrame.new(0, -1.5, 0), CFrame.Angles(0, 0, 0))
task.wait()
FPos(BasePart, CFrame.new(0, -1.5 ,0), CFrame.Angles(math.rad(-90), 0, 0))
task.wait()
FPos(BasePart, CFrame.new(0, -1.5, 0), CFrame.Angles(0, 0, 0))
task.wait()
end
else
break
end
until not flingActive or BasePart.Velocity.Magnitude > 500 or BasePart.Parent ~= TargetPlayer.Character or TargetPlayer.Parent ~= Players or not TargetPlayer.Character == TCharacter or THumanoid.Sit or tick() > Time + TimeToWait
end
local previousDestroyHeight = workspace.FallenPartsDestroyHeight
workspace.FallenPartsDestroyHeight = 0/0
local BV = Instance.new("BodyVelocity")
BV.Name = "EpixVel"
BV.Parent = RootPart
BV.Velocity = Vector3.new(9e8, 9e8, 9e8)
BV.MaxForce = Vector3.new(1/0, 1/0, 1/0)
Humanoid:SetStateEnabled(Enum.HumanoidStateType.Seated, false)
if TRootPart and THead then
if (TRootPart.CFrame.p - THead.CFrame.p).Magnitude > 5 then
SFBasePart(THead)
else
SFBasePart(TRootPart)
end
elseif TRootPart and not THead then
SFBasePart(TRootPart)
elseif not TRootPart and THead then
SFBasePart(THead)
elseif not TRootPart and not THead and Accessory and Handle then
SFBasePart(Handle)
end
BV:Destroy()
Humanoid:SetStateEnabled(Enum.HumanoidStateType.Seated, true)
workspace.CurrentCamera.CameraSubject = Humanoid
repeat
if Character and Humanoid and RootPart and getgenv().OldPos then
RootPart.CFrame = getgenv().OldPos * CFrame.new(0, .5, 0)
Character:SetPrimaryPartCFrame(getgenv().OldPos * CFrame.new(0, .5, 0))
Humanoid:ChangeState("GettingUp")
table.foreach(Character:GetChildren(), function(_, x)
if x:IsA("BasePart") then
x.Velocity, x.RotVelocity = Vector3.new(), Vector3.new()
end
end)
end
task.wait()
until not flingActive or (RootPart and getgenv().OldPos and (RootPart.Position - getgenv().OldPos.p).Magnitude < 25)
workspace.FallenPartsDestroyHeight = previousDestroyHeight
end
end
local function getPlayers(input)
local players = {}
input = string.lower(input or "")
if input == "all" then
for _, player in ipairs(Players:GetPlayers()) do
if player ~= localPlayer then
table.insert(players, player)
end
end
players = sortPlayersAlphabetically(players)
elseif input == "nonfriends" then
for _, player in ipairs(Players:GetPlayers()) do
if player ~= localPlayer then
local success, isFriend = pcall(function()
return player:IsFriendsWith(localPlayer.UserId)
end)
if not (success and isFriend) then
table.insert(players, player)
end
end
end
players = sortPlayersAlphabetically(players)
else
local searchTerms = {}
for term in string.gmatch(input, "([^,]+)") do
term = string.match(term, "^%s*(.-)%s*$")
if term ~= "" then
table.insert(searchTerms, term)
end
end
for _, player in ipairs(Players:GetPlayers()) do
if player ~= localPlayer then
local playerName = string.lower(player.Name)
local displayName = player.DisplayName and string.lower(player.DisplayName) or ""
for _, term in ipairs(searchTerms) do
if string.find(playerName, term) or string.find(displayName, term) then
table.insert(players, player)
break
end
end
end
end
end
return players
end
local function updateStatus()
local activeCount = 0
for player, _ in pairs(processedPlayers) do
if player and player.Character and player.Character.Parent ~= nil then
activeCount = activeCount + 1
end
end
statusLabel.Text = "Status: Flinging "..activeCount.." players"
end
local function addPlayerToProcessed(player)
if not player or player == localPlayer then return end
local matchesFilter = false
local input = string.lower(currentInput)
if input == "all" then
matchesFilter = true
elseif input == "nonfriends" then
local success, isFriend = pcall(function()
return player:IsFriendsWith(localPlayer.UserId)
end)
matchesFilter = not (success and isFriend)
else
local searchTerms = {}
for term in string.gmatch(input, "([^,]+)") do
term = string.match(term, "^%s*(.-)%s*$")
if term ~= "" then
table.insert(searchTerms, term)
end
end
local playerName = string.lower(player.Name)
local displayName = player.DisplayName and string.lower(player.DisplayName) or ""
for _, term in ipairs(searchTerms) do
if string.find(playerName, term) or string.find(displayName, term) then
matchesFilter = true
break
end
end
end
if matchesFilter then
processedPlayers[player] = true
updateStatus()
end
end
local function flingPlayers()
local players = {}
for player, _ in pairs(processedPlayers) do
if player and player.Character and player.Character.Parent ~= nil then
table.insert(players, player)
end
end
if currentInput == "all" or currentInput == "nonfriends" then
players = sortPlayersAlphabetically(players)
end
for _, player in ipairs(players) do
if not flingActive then break end
if player and player.Character and player.Character.Parent ~= nil then
statusLabel.Text = "Status: Flinging "..player.Name
local duration = (currentInput == "all" or currentInput == "nonfriends") and 1.5 or nil
SkidFling(player, duration)
if flingActive and (currentInput == "all" or currentInput == "nonfriends") then
task.wait(0.1)
end
end
end
if flingActive then
updateStatus()
task.wait()
flingPlayers()
end
end
local function toggleFling()
flingActive = not flingActive
if flingActive then
currentInput = string.lower(inputBox.Text)
local players = getPlayers(currentInput)
if #players == 0 then
statusLabel.Text = "Status: No players found!"
flingActive = false
return
end
processedPlayers = {}
for _, player in ipairs(players) do
addPlayerToProcessed(player)
end
toggleBtn.Text = "Fling Players: ON"
toggleBtn.BackgroundColor3 = Color3.fromRGB(80, 20, 20)
coroutine.wrap(flingPlayers)()
else
toggleBtn.Text = "Fling Players: OFF"
toggleBtn.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
statusLabel.Text = "Status: Stopped"
processedPlayers = {}
end
end
Players.PlayerAdded:Connect(function(player)
if flingActive then
addPlayerToProcessed(player)
if player.Character then
coroutine.wrap(function()
local duration = (currentInput == "all" or currentInput == "nonfriends") and 1.5 or nil
SkidFling(player, duration)
end)()
else
player.CharacterAdded:Connect(function()
if flingActive then
addPlayerToProcessed(player)
coroutine.wrap(function()
local duration = (currentInput == "all" or currentInput == "nonfriends") and 1.5 or nil
SkidFling(player, duration)
end)()
end
end)
end
end
end)
localPlayer.CharacterAdded:Connect(function()
if flingActive then
task.wait(1)
coroutine.wrap(flingPlayers)()
end
end)
toggleBtn.MouseButton1Click:Connect(toggleFling)
game:BindToClose(function()
if connection then connection:Disconnect() end
end)
game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "Fling GUI",
Text = "version V5.0",
Icon = content,
Duration = 10
})