Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Nova Speed 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) -- Black
- 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) -- Dark Purple text
- loadingText.BackgroundTransparency = 1
- loadingText.TextSize = 40
- loadingText.Font = Enum.Font.SourceSansBold
- loadingText.TextScaled = true
- -- Wait for 3 seconds before removing the loading screen and showing the main GUI
- wait(3)
- loadingScreen:Destroy()
- -- Create Main GUI
- local screenGui = Instance.new("ScreenGui", player:WaitForChild("PlayerGui"))
- screenGui.Name = "NovaSpeedHax"
- 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) -- Black
- mainFrame.BorderColor3 = Color3.fromRGB(128, 0, 128) -- Dark Purple
- mainFrame.BorderSizePixel = 3
- mainFrame.Name = "Nova Speed Hax:D"
- mainFrame.Active = true
- mainFrame.Draggable = true
- -- Close button (purple text)
- 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 -- Make it transparent
- closeButton.TextColor3 = Color3.fromRGB(128, 0, 128) -- Purple text color
- closeButton.BorderSizePixel = 0
- closeButton.MouseButton1Click:Connect(function()
- screenGui:Destroy()
- end)
- -- Minimize button (purple text)
- 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) -- Purple text color
- 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 "Speed (value)" in the chat to set your speed.
- For example: Speed 100]]
- label.TextColor3 = Color3.fromRGB(128, 0, 128) -- Purple text color
- 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)
- -- Chat listener (supports ;speed, /speed, :speed, etc. with any casing)
- player.Chatted:Connect(function(msg)
- local speedMatch = string.match(msg:lower(), "^[%p%s]*speed%s+(%d+%.?%d*)$")
- if speedMatch then
- local speed = tonumber(speedMatch)
- if speed and speed >= 0 then
- local humanoid = player.Character and player.Character:FindFirstChildOfClass("Humanoid")
- if humanoid then
- humanoid.WalkSpeed = speed
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement