-- DARK PURPLE FLING GUI WITH ANIMATION ID
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local player = Players.LocalPlayer
local mouse = player:GetMouse()
-- CONFIGURATION
local ANIM_ID = "rbxassetid://70956004013506" -- REPLAC THIS WITH YOUR ANIMATION ID
local THEME_COLOR = Color3.fromRGB(45, 0, 75) -- Dark Purple
-- UI CREATION
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "FlingGui"
ScreenGui.Parent = player:WaitForChild("PlayerGui")
ScreenGui.ResetOnSpawn = false
local MainFrame = Instance.new("Frame")
MainFrame.Size = UDim2.new(0, 200, 0, 100)
MainFrame.Position = UDim2.new(0.5, -100, 0.5, -50)
MainFrame.BackgroundColor3 = THEME_COLOR
MainFrame.BorderSizePixel = 2
MainFrame.Active = true
MainFrame.Draggable = true -- Allows moving the GUI
MainFrame.Parent = ScreenGui
local ToggleButton = Instance.new("TextButton")
ToggleButton.Size = UDim2.new(0.8, 0, 0.4, 0)
ToggleButton.Position = UDim2.new(0.1, 0, 0.3, 0)
ToggleButton.BackgroundColor3 = Color3.fromRGB(80, 0, 120)
ToggleButton.Text = "Fling: OFF"
ToggleButton.TextColor3 = Color3.new(1, 1, 1)
ToggleButton.Font = Enum.Font.SourceSansBold
ToggleButton.TextSize = 20
ToggleButton.Parent = MainFrame
-- ANIMATION SETUP
local animation = Instance.new("Animation")
animation.AnimationId = ANIM_ID
local animTrack = nil
local flinging = false
-- FLING LOGIC
ToggleButton.MouseButton1Click:Connect(function()
local char = player.Character
if not char then return end
local hum = char:FindFirstChildOfClass("Humanoid")
local hrp = char:FindFirstChild("HumanoidRootPart")
flinging = not flinging
if flinging then
ToggleButton.Text = "Fling: ON"
ToggleButton.BackgroundColor3 = Color3.fromRGB(150, 0, 255)
-- Play Animation
if not animTrack then animTrack = hum:LoadAnimation(animation) end
animTrack.Priority = Enum.AnimationPriority.Action
animTrack:Play()
-- Start Fling Loop
_G.FlingLoop = RunService.Heartbeat:Connect(function()
if hrp then
-- Sets massive spinning velocity to fling others
hrp.Velocity = Vector3.new(999999, 999999, 999999)
hrp.RotVelocity = Vector3.new(999999, 999999, 999999)
end
end)
else
ToggleButton.Text = "Fling: OFF"
ToggleButton.BackgroundColor3 = Color3.fromRGB(80, 0, 120)
if animTrack then animTrack:Stop() end
if _G.FlingLoop then _G.FlingLoop:Disconnect() end
if hrp then
hrp.Velocity = Vector3.zero
hrp.RotVelocity = Vector3.zero
end
end
end)0 views