Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Nova Fling Hax:D GUI with Black and Dark Purple Theme
- local player = game.Players.LocalPlayer
- local mouse = player:GetMouse()
- -- Create Loading Screen
- local loadingScreen = Instance.new("ScreenGui", player:WaitForChild("PlayerGui"))
- loadingScreen.Name = "LoadingScreen"
- local loadingFrame = Instance.new("Frame", loadingScreen)
- loadingFrame.Size = UDim2.new(1, 0, 1, 0)
- loadingFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- loadingFrame.BorderSizePixel = 0
- local loadingText = Instance.new("TextLabel", loadingFrame)
- loadingText.Size = UDim2.new(1, 0, 1, 0)
- loadingText.Text = "Nova Scripts:D"
- loadingText.TextColor3 = Color3.fromRGB(128, 0, 128)
- loadingText.BackgroundTransparency = 1
- loadingText.TextSize = 40
- loadingText.Font = Enum.Font.SourceSansBold
- loadingText.TextScaled = true
- wait(3)
- loadingScreen:Destroy()
- -- Create Main GUI
- local screenGui = Instance.new("ScreenGui", player:WaitForChild("PlayerGui"))
- screenGui.Name = "NovaFlingHax"
- local mainFrame = Instance.new("Frame", screenGui)
- mainFrame.Size = UDim2.new(0, 350, 0, 100)
- mainFrame.Position = UDim2.new(0.5, -175, 0.4, -50)
- mainFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- mainFrame.BorderColor3 = Color3.fromRGB(128, 0, 128)
- mainFrame.BorderSizePixel = 3
- mainFrame.Name = "Nova Fling Hax:D"
- mainFrame.Active = true
- mainFrame.Draggable = true
- local closeButton = Instance.new("TextButton", mainFrame)
- closeButton.Size = UDim2.new(0, 25, 0, 25)
- closeButton.Position = UDim2.new(1, -30, 0, 5)
- closeButton.Text = "X"
- closeButton.BackgroundTransparency = 1
- closeButton.TextColor3 = Color3.fromRGB(128, 0, 128)
- closeButton.BorderSizePixel = 0
- closeButton.MouseButton1Click:Connect(function()
- screenGui:Destroy()
- end)
- local minimizeButton = Instance.new("TextButton", mainFrame)
- minimizeButton.Size = UDim2.new(0, 25, 0, 25)
- minimizeButton.Position = UDim2.new(1, -60, 0, 5)
- minimizeButton.Text = "_"
- minimizeButton.BackgroundTransparency = 1
- minimizeButton.TextColor3 = Color3.fromRGB(128, 0, 128)
- minimizeButton.BorderSizePixel = 0
- local isMinimized = false
- local label = Instance.new("TextLabel", mainFrame)
- label.Size = UDim2.new(1, -10, 1, -10)
- label.Position = UDim2.new(0, 5, 0, 5)
- label.Text = [[Type "Fling [PlayerName]" in the chat to fling a player.
- Example: Fling CoolKid]]
- label.TextColor3 = Color3.fromRGB(128, 0, 128)
- label.BackgroundTransparency = 1
- label.TextWrapped = true
- label.Font = Enum.Font.SourceSansBold
- label.TextSize = 18
- minimizeButton.MouseButton1Click:Connect(function()
- isMinimized = not isMinimized
- if isMinimized then
- mainFrame.Size = UDim2.new(0, 350, 0, 30)
- label.Visible = false
- else
- mainFrame.Size = UDim2.new(0, 350, 0, 100)
- label.Visible = true
- end
- end)
- -- Fling function
- local function flingTarget(target)
- local hrp = player.Character and player.Character:FindFirstChild("HumanoidRootPart")
- local targetChar = target and target.Character
- if hrp and targetChar then
- local targetHRP = targetChar:FindFirstChild("HumanoidRootPart")
- if targetHRP then
- -- TP to target
- hrp.CFrame = targetHRP.CFrame * CFrame.new(0, 3, 0)
- -- Create angular velocity
- local bv = Instance.new("BodyAngularVelocity")
- bv.AngularVelocity = Vector3.new(999999, 999999, 999999)
- bv.MaxTorque = Vector3.new(1e9, 1e9, 1e9)
- bv.P = 1250
- bv.Name = "FlingForce"
- bv.Parent = hrp
- wait(2)
- bv:Destroy()
- end
- end
- end
- -- Chat command listener
- player.Chatted:Connect(function(msg)
- local targetName = string.match(msg, "[Ff][Ll][Ii][Nn][Gg]%s+([%w_]+)")
- if targetName then
- local target = game.Players:FindFirstChild(targetName)
- if target then
- flingTarget(target)
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment