Rumanthan

Untitled

Apr 14th, 2025
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.65 KB | None | 0 0
  1. -- Nova Fling Hax:D GUI with Black and Dark Purple Theme
  2. local player = game.Players.LocalPlayer
  3. local mouse = player:GetMouse()
  4.  
  5. -- Create Loading Screen
  6. local loadingScreen = Instance.new("ScreenGui", player:WaitForChild("PlayerGui"))
  7. loadingScreen.Name = "LoadingScreen"
  8.  
  9. local loadingFrame = Instance.new("Frame", loadingScreen)
  10. loadingFrame.Size = UDim2.new(1, 0, 1, 0)
  11. loadingFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  12. loadingFrame.BorderSizePixel = 0
  13.  
  14. local loadingText = Instance.new("TextLabel", loadingFrame)
  15. loadingText.Size = UDim2.new(1, 0, 1, 0)
  16. loadingText.Text = "Nova Scripts:D"
  17. loadingText.TextColor3 = Color3.fromRGB(128, 0, 128)
  18. loadingText.BackgroundTransparency = 1
  19. loadingText.TextSize = 40
  20. loadingText.Font = Enum.Font.SourceSansBold
  21. loadingText.TextScaled = true
  22.  
  23. wait(3)
  24. loadingScreen:Destroy()
  25.  
  26. -- Create Main GUI
  27. local screenGui = Instance.new("ScreenGui", player:WaitForChild("PlayerGui"))
  28. screenGui.Name = "NovaFlingHax"
  29.  
  30. local mainFrame = Instance.new("Frame", screenGui)
  31. mainFrame.Size = UDim2.new(0, 350, 0, 100)
  32. mainFrame.Position = UDim2.new(0.5, -175, 0.4, -50)
  33. mainFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  34. mainFrame.BorderColor3 = Color3.fromRGB(128, 0, 128)
  35. mainFrame.BorderSizePixel = 3
  36. mainFrame.Name = "Nova Fling Hax:D"
  37. mainFrame.Active = true
  38. mainFrame.Draggable = true
  39.  
  40. local closeButton = Instance.new("TextButton", mainFrame)
  41. closeButton.Size = UDim2.new(0, 25, 0, 25)
  42. closeButton.Position = UDim2.new(1, -30, 0, 5)
  43. closeButton.Text = "X"
  44. closeButton.BackgroundTransparency = 1
  45. closeButton.TextColor3 = Color3.fromRGB(128, 0, 128)
  46. closeButton.BorderSizePixel = 0
  47. closeButton.MouseButton1Click:Connect(function()
  48. screenGui:Destroy()
  49. end)
  50.  
  51. local minimizeButton = Instance.new("TextButton", mainFrame)
  52. minimizeButton.Size = UDim2.new(0, 25, 0, 25)
  53. minimizeButton.Position = UDim2.new(1, -60, 0, 5)
  54. minimizeButton.Text = "_"
  55. minimizeButton.BackgroundTransparency = 1
  56. minimizeButton.TextColor3 = Color3.fromRGB(128, 0, 128)
  57. minimizeButton.BorderSizePixel = 0
  58.  
  59. local isMinimized = false
  60. local label = Instance.new("TextLabel", mainFrame)
  61. label.Size = UDim2.new(1, -10, 1, -10)
  62. label.Position = UDim2.new(0, 5, 0, 5)
  63. label.Text = [[Type "Fling [PlayerName]" in the chat to fling a player.
  64. Example: Fling CoolKid]]
  65. label.TextColor3 = Color3.fromRGB(128, 0, 128)
  66. label.BackgroundTransparency = 1
  67. label.TextWrapped = true
  68. label.Font = Enum.Font.SourceSansBold
  69. label.TextSize = 18
  70.  
  71. minimizeButton.MouseButton1Click:Connect(function()
  72. isMinimized = not isMinimized
  73. if isMinimized then
  74. mainFrame.Size = UDim2.new(0, 350, 0, 30)
  75. label.Visible = false
  76. else
  77. mainFrame.Size = UDim2.new(0, 350, 0, 100)
  78. label.Visible = true
  79. end
  80. end)
  81.  
  82. -- Fling function
  83. local function flingTarget(target)
  84. local hrp = player.Character and player.Character:FindFirstChild("HumanoidRootPart")
  85. local targetChar = target and target.Character
  86. if hrp and targetChar then
  87. local targetHRP = targetChar:FindFirstChild("HumanoidRootPart")
  88. if targetHRP then
  89. -- TP to target
  90. hrp.CFrame = targetHRP.CFrame * CFrame.new(0, 3, 0)
  91.  
  92. -- Create angular velocity
  93. local bv = Instance.new("BodyAngularVelocity")
  94. bv.AngularVelocity = Vector3.new(999999, 999999, 999999)
  95. bv.MaxTorque = Vector3.new(1e9, 1e9, 1e9)
  96. bv.P = 1250
  97. bv.Name = "FlingForce"
  98. bv.Parent = hrp
  99.  
  100. wait(2)
  101. bv:Destroy()
  102. end
  103. end
  104. end
  105.  
  106. -- Chat command listener
  107. player.Chatted:Connect(function(msg)
  108. local targetName = string.match(msg, "[Ff][Ll][Ii][Nn][Gg]%s+([%w_]+)")
  109. if targetName then
  110. local target = game.Players:FindFirstChild(targetName)
  111. if target then
  112. flingTarget(target)
  113. end
  114. end
  115. end)
Advertisement
Add Comment
Please, Sign In to add comment