-- YOYO Hub - Speed Controller local ScreenGui = Instance.new("ScreenGui") local MainFrame = Instance.new("Frame") local Title = Instance.new("TextLabel") local SpeedInput = Instance.new("TextBox") local ApplyButton = Instance.new("TextButton") local UICorner = Instance.new("UICorner") ScreenGui.Parent = game.CoreGui ScreenGui.Name = "YOYOHubSpeed" -- Main Frame Setup MainFrame.Name = "MainFrame" MainFrame.Parent = ScreenGui MainFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 25) MainFrame.Position = UDim2.new(0.35, 0, 0.35, 0) MainFrame.Size = UDim2.new(0, 250, 0, 150) MainFrame.Active = true MainFrame.Draggable = true local FrameCorner = Instance.new("UICorner") FrameCorner.CornerRadius = UDim.new(0, 8) FrameCorner.Parent = MainFrame -- Title Title.Name = "Title" Title.Parent = MainFrame Title.BackgroundColor3 = Color3.fromRGB(40, 40, 40) Title.Size = UDim2.new(1, 0, 0, 35) Title.Font = Enum.Font.SourceSansBold Title.Text = "YOYO Hub - Speed (1 - 300)" Title.TextColor3 = Color3.fromRGB(255, 255, 255) Title.TextSize = 16.000 local TitleCorner = Instance.new("UICorner") TitleCorner.CornerRadius = UDim.new(0, 8) TitleCorner.Parent = Title -- Speed Input Box SpeedInput.Name = "SpeedInput" SpeedInput.Parent = MainFrame SpeedInput.BackgroundColor3 = Color3.fromRGB(45, 45, 45) SpeedInput.Position = UDim2.new(0.1, 0, 0.35, 0) SpeedInput.Size = UDim2.new(0.8, 0, 0, 35) SpeedInput.Font = Enum.Font.SourceSans SpeedInput.PlaceholderText = "اكتب السرعة (1 - 300)" SpeedInput.Text = "" SpeedInput.TextColor3 = Color3.fromRGB(255, 255, 255) SpeedInput.TextSize = 14.000 local InputCorner = Instance.new("UICorner") InputCorner.CornerRadius = UDim.new(0, 6) InputCorner.Parent = SpeedInput -- Apply Speed Button ApplyButton.Name = "ApplyButton" ApplyButton.Parent = MainFrame ApplyButton.BackgroundColor3 = Color3.fromRGB(0, 170, 127) ApplyButton.Position = UDim2.new(0.2, 0, 0.7, 0) ApplyButton.Size = UDim2.new(0.6, 0, 0, 30) ApplyButton.Font = Enum.Font.SourceSansBold ApplyButton.Text = "تطبيق السرعة" ApplyButton.TextColor3 = Color3.fromRGB(255, 255, 255) ApplyButton.TextSize = 16.000 local ButtonCorner = Instance.new("UICorner") ButtonCorner.CornerRadius = UDim.new(0, 6) ButtonCorner.Parent = ApplyButton -- Speed Logic ApplyButton.MouseButton1Click:Connect(function() local num = tonumber(SpeedInput.Text) if num then if num < 1 then num = 1 end if num > 300 then num = 300 end local player = game.Players.LocalPlayer if player and player.Character and player.Character:FindFirstChild("Humanoid") then player.Character.Humanoid.WalkSpeed = num end end end)