Speed Control For Any Game Mayura
Key RequiredUniversal

Speed Control For Any Game Mayura

Universal Scriptlacerdam3423lacerdam3423 388 views 483 executesUpdated Feb 13, 2026
Unrated
00
Lua Script•234 lines (7043 chars)
local Players = game:GetService("Players")
local UIS = game:GetService("UserInputService")
local RunService = game:GetService("RunService")

local player = Players.LocalPlayer
local camera = workspace.CurrentCamera

local function getChar()
	return player.Character or player.CharacterAdded:Wait()
end

local speedValue = 16
local infJump = false
local universalMult = 1.12 -- DEFAULT UNIVERSAL

-- GUI
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "MayuraUniversalGui"
ScreenGui.ResetOnSpawn = false
ScreenGui.IgnoreGuiInset = true
ScreenGui.Parent = player:WaitForChild("PlayerGui")

-- DPI SCALE
local UIScale = Instance.new("UIScale", ScreenGui)
local function updateScale()
	local vp = camera.ViewportSize
	local scale = math.clamp(math.min(vp.X/1920, vp.Y/1080), 0.65, 1)
	UIScale.Scale = scale
end
updateScale()
camera:GetPropertyChangedSignal("ViewportSize"):Connect(updateScale)

-- Open Button
local OpenButton = Instance.new("TextButton")
OpenButton.Size = UDim2.fromScale(0.065, 0.065)
OpenButton.Position = UDim2.fromScale(0.02, 0.45)
OpenButton.Text = "⚡"
OpenButton.BackgroundColor3 = Color3.fromRGB(140, 0, 210)
OpenButton.TextColor3 = Color3.new(1,1,1)
OpenButton.Font = Enum.Font.GothamBold
OpenButton.TextScaled = true
OpenButton.Parent = ScreenGui
OpenButton.Visible = false
Instance.new("UICorner", OpenButton).CornerRadius = UDim.new(1,0)

-- Main
local Main = Instance.new("Frame")
Main.Size = UDim2.fromScale(0.38, 0.36)
Main.Position = UDim2.fromScale(0.31, 0.32)
Main.BackgroundColor3 = Color3.fromRGB(28, 0, 52)
Main.BorderSizePixel = 0
Main.Parent = ScreenGui
Instance.new("UICorner", Main).CornerRadius = UDim.new(0,22)
Instance.new("UIStroke", Main).Color = Color3.fromRGB(160, 0, 230)

-- Top
local Top = Instance.new("Frame")
Top.Size = UDim2.fromScale(1, 0.18)
Top.BackgroundColor3 = Color3.fromRGB(85, 0, 150)
Top.Parent = Main
Instance.new("UICorner", Top).CornerRadius = UDim.new(0,22)

local Title = Instance.new("TextLabel")
Title.Size = UDim2.fromScale(0.75, 1)
Title.Position = UDim2.fromScale(0.05, 0)
Title.Text = "Mayura Universal Panel"
Title.BackgroundTransparency = 1
Title.TextColor3 = Color3.fromRGB(235,210,255)
Title.Font = Enum.Font.GothamBold
Title.TextScaled = true
Title.Parent = Top

local Min = Instance.new("TextButton")
Min.Size = UDim2.fromScale(0.12, 0.7)
Min.Position = UDim2.fromScale(0.86, 0.15)
Min.Text = "—"
Min.BackgroundColor3 = Color3.fromRGB(140,0,210)
Min.TextColor3 = Color3.new(1,1,1)
Min.Font = Enum.Font.GothamBold
Min.TextScaled = true
Min.Parent = Top
Instance.new("UICorner", Min).CornerRadius = UDim.new(1,0)

-- Speed
local SpeedText = Instance.new("TextLabel")
SpeedText.Size = UDim2.fromScale(1, 0.14)
SpeedText.Position = UDim2.fromScale(0, 0.2)
SpeedText.Text = "Speed Base: 16"
SpeedText.BackgroundTransparency = 1
SpeedText.TextColor3 = Color3.fromRGB(210,170,255)
SpeedText.Font = Enum.Font.GothamBold
SpeedText.TextScaled = true
SpeedText.Parent = Main

local SpeedBox = Instance.new("TextBox")
SpeedBox.Size = UDim2.fromScale(0.7, 0.14)
SpeedBox.Position = UDim2.fromScale(0.15, 0.34)
SpeedBox.PlaceholderText = "16 a 100"
SpeedBox.Text = "16"
SpeedBox.BackgroundColor3 = Color3.fromRGB(55,0,95)
SpeedBox.TextColor3 = Color3.new(1,1,1)
SpeedBox.Font = Enum.Font.Gotham
SpeedBox.TextScaled = true
SpeedBox.ClearTextOnFocus = false
SpeedBox.Parent = Main
Instance.new("UICorner", SpeedBox).CornerRadius = UDim.new(0,14)

-- Universal Multiplier
local UniText = Instance.new("TextLabel")
UniText.Size = UDim2.fromScale(1, 0.14)
UniText.Position = UDim2.fromScale(0, 0.50)
UniText.Text = "Universal Mult: 1.12x"
UniText.BackgroundTransparency = 1
UniText.TextColor3 = Color3.fromRGB(200,150,255)
UniText.Font = Enum.Font.GothamBold
UniText.TextScaled = true
UniText.Parent = Main

local UniBox = Instance.new("TextBox")
UniBox.Size = UDim2.fromScale(0.7, 0.14)
UniBox.Position = UDim2.fromScale(0.15, 0.64)
UniBox.PlaceholderText = "1.00 até 1.20"
UniBox.Text = "1.12"
UniBox.BackgroundColor3 = Color3.fromRGB(65,0,115)
UniBox.TextColor3 = Color3.new(1,1,1)
UniBox.Font = Enum.Font.Gotham
UniBox.TextScaled = true
UniBox.ClearTextOnFocus = false
UniBox.Parent = Main
Instance.new("UICorner", UniBox).CornerRadius = UDim.new(0,14)

-- Infinite Jump
local JumpBtn = Instance.new("TextButton")
JumpBtn.Size = UDim2.fromScale(0.7, 0.14)
JumpBtn.Position = UDim2.fromScale(0.15, 0.80)
JumpBtn.Text = "Infinite Jump: OFF"
JumpBtn.BackgroundColor3 = Color3.fromRGB(90,0,140)
JumpBtn.TextColor3 = Color3.new(1,1,1)
JumpBtn.Font = Enum.Font.GothamBold
JumpBtn.TextScaled = true
JumpBtn.Parent = Main
Instance.new("UICorner", JumpBtn).CornerRadius = UDim.new(0,14)

-- Drag
local dragging, dragStart, startPos = false
Top.InputBegan:Connect(function(input)
	if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
		dragging = true
		dragStart = input.Position
		startPos = Main.Position
	end
end)
UIS.InputEnded:Connect(function(input)
	if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
		dragging = false
	end
end)
UIS.InputChanged:Connect(function(input)
	if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then
		local delta = input.Position - dragStart
		Main.Position = UDim2.new(
			startPos.X.Scale,
			startPos.X.Offset + delta.X,
			startPos.Y.Scale,
			startPos.Y.Offset + delta.Y
		)
	end
end)

-- Minimize
Min.MouseButton1Click:Connect(function()
	Main.Visible = false
	OpenButton.Visible = true
end)
OpenButton.MouseButton1Click:Connect(function()
	Main.Visible = true
	OpenButton.Visible = false
end)

-- Speed input
SpeedBox.FocusLost:Connect(function()
	local num = tonumber(SpeedBox.Text)
	if num then
		if num < 16 then num = 16 end
		if num > 100 then num = 100 end
		speedValue = num
		SpeedText.Text = "Speed Base: "..num
		SpeedBox.Text = tostring(num)
	end
end)

-- Universal input
UniBox.FocusLost:Connect(function()
	local num = tonumber(UniBox.Text)
	if num then
		if num < 1.00 then num = 1.00 end
		if num > 1.20 then num = 1.20 end
		universalMult = num
		UniText.Text = "Universal Mult: "..string.format("%.2f", num).."x"
		UniBox.Text = string.format("%.2f", num)
	end
end)

-- Infinite Jump toggle
JumpBtn.MouseButton1Click:Connect(function()
	infJump = not infJump
	if infJump then
		JumpBtn.Text = "Infinite Jump: ON"
		JumpBtn.BackgroundColor3 = Color3.fromRGB(150,0,230)
	else
		JumpBtn.Text = "Infinite Jump: OFF"
		JumpBtn.BackgroundColor3 = Color3.fromRGB(90,0,140)
	end
end)

-- Infinite Jump logic
UIS.JumpRequest:Connect(function()
	if infJump then
		local char = getChar()
		local hum = char:FindFirstChildOfClass("Humanoid")
		if hum then
			hum:ChangeState(Enum.HumanoidStateType.Jumping)
		end
	end
end)

-- Loop Universal
RunService.RenderStepped:Connect(function()
	local char = getChar()
	local hum = char:FindFirstChildOfClass("Humanoid")
	if hum then
		hum.WalkSpeed = speedValue * universalMult
	end
end)

Features & Information

Speed Control

Community Comments (1)

voltexvoltexFeb 14, 2026

lowk copied me

More Scripts for Universal Scripts