Advertisement
Rumanthan

Untitled

Apr 14th, 2025
11
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.42 KB | Source Code | 0 0
  1. -- Nova Speed 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) -- Black
  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) -- Dark Purple text
  18. loadingText.BackgroundTransparency = 1
  19. loadingText.TextSize = 40
  20. loadingText.Font = Enum.Font.SourceSansBold
  21. loadingText.TextScaled = true
  22.  
  23. -- Wait for 3 seconds before removing the loading screen and showing the main GUI
  24. wait(3)
  25. loadingScreen:Destroy()
  26.  
  27. -- Create Main GUI
  28. local screenGui = Instance.new("ScreenGui", player:WaitForChild("PlayerGui"))
  29. screenGui.Name = "NovaSpeedHax"
  30.  
  31. local mainFrame = Instance.new("Frame", screenGui)
  32. mainFrame.Size = UDim2.new(0, 350, 0, 100)
  33. mainFrame.Position = UDim2.new(0.5, -175, 0.4, -50)
  34. mainFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0) -- Black
  35. mainFrame.BorderColor3 = Color3.fromRGB(128, 0, 128) -- Dark Purple
  36. mainFrame.BorderSizePixel = 3
  37. mainFrame.Name = "Nova Speed Hax:D"
  38. mainFrame.Active = true
  39. mainFrame.Draggable = true
  40.  
  41. -- Close button (purple text)
  42. local closeButton = Instance.new("TextButton", mainFrame)
  43. closeButton.Size = UDim2.new(0, 25, 0, 25)
  44. closeButton.Position = UDim2.new(1, -30, 0, 5)
  45. closeButton.Text = "X"
  46. closeButton.BackgroundTransparency = 1 -- Make it transparent
  47. closeButton.TextColor3 = Color3.fromRGB(128, 0, 128) -- Purple text color
  48. closeButton.BorderSizePixel = 0
  49. closeButton.MouseButton1Click:Connect(function()
  50. screenGui:Destroy()
  51. end)
  52.  
  53. -- Minimize button (purple text)
  54. local minimizeButton = Instance.new("TextButton", mainFrame)
  55. minimizeButton.Size = UDim2.new(0, 25, 0, 25)
  56. minimizeButton.Position = UDim2.new(1, -60, 0, 5)
  57. minimizeButton.Text = "_"
  58. minimizeButton.BackgroundTransparency = 1
  59. minimizeButton.TextColor3 = Color3.fromRGB(128, 0, 128) -- Purple text color
  60. minimizeButton.BorderSizePixel = 0
  61.  
  62. local isMinimized = false
  63. local label = Instance.new("TextLabel", mainFrame)
  64. label.Size = UDim2.new(1, -10, 1, -10)
  65. label.Position = UDim2.new(0, 5, 0, 5)
  66. label.Text = [[Type "Speed (value)" in the chat to set your speed.
  67. For example: Speed 100]]
  68. label.TextColor3 = Color3.fromRGB(128, 0, 128) -- Purple text color
  69. label.BackgroundTransparency = 1
  70. label.TextWrapped = true
  71. label.Font = Enum.Font.SourceSansBold
  72. label.TextSize = 18
  73.  
  74. minimizeButton.MouseButton1Click:Connect(function()
  75. isMinimized = not isMinimized
  76. if isMinimized then
  77. mainFrame.Size = UDim2.new(0, 350, 0, 30)
  78. label.Visible = false
  79. else
  80. mainFrame.Size = UDim2.new(0, 350, 0, 100)
  81. label.Visible = true
  82. end
  83. end)
  84.  
  85. -- Chat listener (supports ;speed, /speed, :speed, etc. with any casing)
  86. player.Chatted:Connect(function(msg)
  87. local speedMatch = string.match(msg:lower(), "^[%p%s]*speed%s+(%d+%.?%d*)$")
  88. if speedMatch then
  89. local speed = tonumber(speedMatch)
  90. if speed and speed >= 0 then
  91. local humanoid = player.Character and player.Character:FindFirstChildOfClass("Humanoid")
  92. if humanoid then
  93. humanoid.WalkSpeed = speed
  94. end
  95. end
  96. end
  97. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement