
KeylessUniversal

local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local Player = Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()
local Humanoid = Character:WaitForChild("Humanoid")
local Root = Character:WaitForChild("HumanoidRootPart")
local OriginalWalkSpeed = Humanoid.WalkSpeed
local SpeedValue = 32
local FlightSpeed = 60
local SpeedEnabled = false
local XRayEnabled = false
local AntiFlingEnabled = false
local FlightEnabled = false
local NoClipEnabled = false
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "BBasicGUI"
ScreenGui.ResetOnSpawn = false
ScreenGui.Parent = Player:WaitForChild("PlayerGui")
local function New(class, properties)
local object = Instance.new(class)
for property, value in pairs(properties) do
object[property] = value
end
return object
end
local function Corner(object, radius)
New("UICorner", {
Parent = object,
CornerRadius = UDim.new(0, radius)
})
end
local Main = New("Frame", {
Parent = ScreenGui,
Size = UDim2.new(0,240,0,330),
Position = UDim2.new(0.5,-120,0.5,-165),
BackgroundColor3 = Color3.fromRGB(25,25,30),
BorderSizePixel = 0
})
Corner(Main,10)
New("TextLabel", {
Parent = Main,
Size = UDim2.new(1,-45,0,35),
Position = UDim2.new(0,10,0,0),
BackgroundTransparency = 1,
Text = "B-BASIC",
TextColor3 = Color3.new(1,1,1),
TextSize = 18,
Font = Enum.Font.GothamBold,
TextXAlignment = Enum.TextXAlignment.Left
})
local Minimize = New("TextButton", {
Parent = Main,
Size = UDim2.new(0,28,0,28),
Position = UDim2.new(1,-34,0,4),
BackgroundColor3 = Color3.fromRGB(45,45,52),
Text = "-",
TextColor3 = Color3.new(1,1,1),
TextSize = 18,
Font = Enum.Font.GothamBold
})
Corner(Minimize,7)
local Container = New("ScrollingFrame", {
Parent = Main,
Size = UDim2.new(1,-20,1,-95),
Position = UDim2.new(0,10,0,42),
BackgroundTransparency = 1,
BorderSizePixel = 0,
ScrollBarThickness = 4,
CanvasSize = UDim2.new(0,0,0,0),
AutomaticCanvasSize = Enum.AutomaticSize.Y,
ScrollingDirection = Enum.ScrollingDirection.Y
})
New("UIListLayout", {
Parent = Container,
Padding = UDim.new(0,4),
HorizontalAlignment = Enum.HorizontalAlignment.Center
})
local function AbilityButton(text)
local button = New("TextButton", {
Parent = Container,
Size = UDim2.new(1,-4,0,40),
BackgroundColor3 = Color3.fromRGB(40,40,48),
Text = text,
TextColor3 = Color3.new(1,1,1),
TextSize = 14,
Font = Enum.Font.GothamBold
})
Corner(button,7)
return button
end
local SpeedButton = AbilityButton("SPEED")
local XRayButton = AbilityButton("X-RAY")
local AntiFlingButton = AbilityButton("ANTI FLING")
local FlightButton = AbilityButton("FLIGHT")
local NoClipButton = AbilityButton("NO-CLIP")
local TeleportButton = AbilityButton("TELEPORT")
local ScriptA = New("Frame", {
Parent = ScreenGui,
Size = UDim2.new(0,225,0,175),
Position = UDim2.new(0.5,130,0.5,-87),
BackgroundColor3 = Color3.fromRGB(30,30,36),
BorderSizePixel = 0,
Visible = false
})
Corner(ScriptA,10)
local ScriptATitle = New("TextLabel", {
Parent = ScriptA,
Size = UDim2.new(1,-45,0,35),
Position = UDim2.new(0,10,0,0),
BackgroundTransparency = 1,
Text = "SCRIPT-A",
TextColor3 = Color3.new(1,1,1),
TextSize = 16,
Font = Enum.Font.GothamBold,
TextXAlignment = Enum.TextXAlignment.Left
})
local ScriptAMinus = New("TextButton", {
Parent = ScriptA,
Size = UDim2.new(0,28,0,28),
Position = UDim2.new(1,-34,0,4),
BackgroundColor3 = Color3.fromRGB(45,45,52),
Text = "−",
TextColor3 = Color3.new(1,1,1),
TextSize = 18,
Font = Enum.Font.GothamBold
})
Corner(ScriptAMinus,7)
local Toggle = New("TextButton", {
Parent = ScriptA,
Size = UDim2.new(1,-20,0,35),
Position = UDim2.new(0,10,0,42),
BackgroundColor3 = Color3.fromRGB(50,50,58),
Text = "OFF",
TextColor3 = Color3.new(1,1,1),
TextSize = 15,
Font = Enum.Font.GothamBold
})
Corner(Toggle,7)
local ValueLabel = New("TextLabel", {
Parent = ScriptA,
Size = UDim2.new(1,-20,0,25),
Position = UDim2.new(0,10,0,82),
BackgroundTransparency = 1,
Text = "",
TextColor3 = Color3.new(1,1,1),
TextSize = 14,
Font = Enum.Font.Gotham
})
local Minus = New("TextButton", {
Parent = ScriptA,
Size = UDim2.new(0,45,0,32),
Position = UDim2.new(0,28,0,120),
BackgroundColor3 = Color3.fromRGB(50,50,58),
Text = "-",
TextColor3 = Color3.new(1,1,1),
TextSize = 19,
Font = Enum.Font.GothamBold
})
Corner(Minus,7)
local Plus = New("TextButton", {
Parent = ScriptA,
Size = UDim2.new(0,45,0,32),
Position = UDim2.new(1,-73,0,120),
BackgroundColor3 = Color3.fromRGB(50,50,58),
Text = "+",
TextColor3 = Color3.new(1,1,1),
TextSize = 19,
Font = Enum.Font.GothamBold
})
Corner(Plus,7)
local ScriptADragging = false
local ScriptADragStart
local ScriptAStartPosition
ScriptA.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1
or input.UserInputType == Enum.UserInputType.Touch then
ScriptADragging = true
ScriptADragStart = input.Position
ScriptAStartPosition = ScriptA.Position
end
end)
ScriptA.InputEnded:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1
or input.UserInputType == Enum.UserInputType.Touch then
ScriptADragging = false
end
end)
UserInputService.InputChanged:Connect(function(input)
if ScriptADragging and (
input.UserInputType == Enum.UserInputType.MouseMovement
or input.UserInputType == Enum.UserInputType.Touch
) then
local Delta = input.Position - ScriptADragStart
ScriptA.Position = UDim2.new(
ScriptAStartPosition.X.Scale,
ScriptAStartPosition.X.Offset + Delta.X,
ScriptAStartPosition.Y.Scale,
ScriptAStartPosition.Y.Offset + Delta.Y
)
end
end)
local CurrentAbility
local function UpdateScriptA()
local enabled = false
if CurrentAbility == "Speed" then
ScriptATitle.Text = "SCRIPT-A • SPEED"
ValueLabel.Text = "Speed: "..SpeedValue
enabled = SpeedEnabled
elseif CurrentAbility == "XRay" then
ScriptATitle.Text = "SCRIPT-A • X-RAY"
ValueLabel.Text = "Highlights Players"
enabled = XRayEnabled
elseif CurrentAbility == "AntiFling" then
ScriptATitle.Text = "SCRIPT-A • ANTI FLING"
ValueLabel.Text = "Protects against fling"
enabled = AntiFlingEnabled
elseif CurrentAbility == "Flight" then
ScriptATitle.Text = "SCRIPT-A • FLIGHT"
ValueLabel.Text = "Flight Speed: "..FlightSpeed
enabled = FlightEnabled
elseif CurrentAbility == "NoClip" then
ScriptATitle.Text = "SCRIPT-A • NO-CLIP"
ValueLabel.Text = "Pass through walls"
enabled = NoClipEnabled
end
Toggle.Text = enabled and "ON" or "OFF"
Minus.Visible =
CurrentAbility == "Speed"
or CurrentAbility == "Flight"
Plus.Visible =
CurrentAbility == "Speed"
or CurrentAbility == "Flight"
end
local function OpenScriptA(ability)
CurrentAbility = ability
ScriptA.Visible = true
UpdateScriptA()
end
ScriptAMinus.MouseButton1Click:Connect(function()
ScriptA.Visible = false
CurrentAbility = nil
end)
local function ApplySpeed()
if Humanoid then
Humanoid.WalkSpeed =
SpeedEnabled and SpeedValue or OriginalWalkSpeed
end
end
local Highlights = {}
local function RemoveHighlight(player)
if Highlights[player] then
Highlights[player]:Destroy()
Highlights[player] = nil
end
end
local function AddHighlight(player)
if player == Player or not player.Character then
return
end
RemoveHighlight(player)
local highlight = Instance.new("Highlight")
highlight.Name = "BBasicXRay"
highlight.Adornee = player.Character
highlight.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop
highlight.FillTransparency = 0.65
highlight.OutlineTransparency = 0
highlight.Parent = ScreenGui
Highlights[player] = highlight
end
local function SetXRay(state)
XRayEnabled = state
if state then
for _, player in ipairs(Players:GetPlayers()) do
AddHighlight(player)
end
else
for player, highlight in pairs(Highlights) do
if highlight then
highlight:Destroy()
end
Highlights[player] = nil
end
end
end
Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function()
task.wait(0.5)
if XRayEnabled then
AddHighlight(player)
end
end)
end)
Players.PlayerRemoving:Connect(function(player)
RemoveHighlight(player)
end)
local AntiFlingConnection
local function ShowAntiFlingMessage()
local Message = New("TextLabel", {
Parent = ScreenGui,
Size = UDim2.new(0,250,0,40),
Position = UDim2.new(0.5,-125,0,55),
BackgroundColor3 = Color3.fromRGB(35,35,42),
Text = "You are now Unflingable",
TextColor3 = Color3.new(1,1,1),
TextSize = 15,
Font = Enum.Font.GothamBold
})
Corner(Message,8)
task.delay(3,function()
if Message and Message.Parent then
Message:Destroy()
end
end)
end
local function SetAntiFling(state)
AntiFlingEnabled = state
if AntiFlingConnection then
AntiFlingConnection:Disconnect()
AntiFlingConnection = nil
end
if state then
ShowAntiFlingMessage()
AntiFlingConnection =
RunService.Heartbeat:Connect(function()
if Root and Root.Parent then
Root.AssemblyAngularVelocity =
Vector3.zero
if Root.AssemblyLinearVelocity.Magnitude > 100 then
Root.AssemblyLinearVelocity =
Vector3.zero
end
end
end)
end
end
local NoClipConnection
local NoClipTransparency = {}
local function SetNoClip(state)
NoClipEnabled = state
if NoClipConnection then
NoClipConnection:Disconnect()
NoClipConnection = nil
end
if not state then
for part, transparency in pairs(NoClipTransparency) do
if part and part.Parent then
part.LocalTransparencyModifier = transparency
end
end
NoClipTransparency = {}
if Character then
for _, part in ipairs(Character:GetDescendants()) do
if part:IsA("BasePart") then
part.CanCollide = true
end
end
end
return
end
NoClipConnection =
RunService.Stepped:Connect(function()
if not Character or not Root then
return
end
for _, part in ipairs(Character:GetDescendants()) do
if part:IsA("BasePart") then
part.CanCollide = false
end
end
local OverlapParams = OverlapParams.new()
OverlapParams.FilterType =
Enum.RaycastFilterType.Exclude
OverlapParams.FilterDescendantsInstances =
{Character}
local NearbyParts =
workspace:GetPartBoundsInBox(
Root.CFrame,
Vector3.new(5,6,5),
OverlapParams
)
for _, part in ipairs(NearbyParts) do
if part:IsA("BasePart")
and part.CanCollide
and not part:IsDescendantOf(Character) then
if NoClipTransparency[part] == nil then
NoClipTransparency[part] =
part.LocalTransparencyModifier
end
part.LocalTransparencyModifier = 0.65
end
end
end)
end
local FlightConnection
local FlightVelocity
local FlightControls
local FlightInput = {
Up = false,
Down = false,
Left = false,
Right = false,
Forward = false,
Backward = false
}
local function StopFlight()
if FlightConnection then
FlightConnection:Disconnect()
FlightConnection = nil
end
if FlightVelocity then
FlightVelocity:Destroy()
FlightVelocity = nil
end
if Humanoid then
Humanoid.PlatformStand = false
Humanoid.AutoRotate = true
end
for key in pairs(FlightInput) do
FlightInput[key] = false
end
if FlightControls then
FlightControls:Destroy()
FlightControls = nil
end
end
local function CreateFlightControls()
FlightControls = New("Frame", {
Parent = ScreenGui,
Size = UDim2.new(0,270,0,195),
Position = UDim2.new(1,-285,1,-220),
BackgroundTransparency = 1
})
local function MakeControl(text,position,key)
local button = New("TextButton", {
Parent = FlightControls,
Size = UDim2.new(0,72,0,38),
Position = position,
BackgroundColor3 = Color3.fromRGB(40,40,48),
Text = text,
TextColor3 = Color3.new(1,1,1),
TextSize = 13,
Font = Enum.Font.GothamBold
})
Corner(button,8)
button.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1
or input.UserInputType == Enum.UserInputType.Touch then
FlightInput[key] = true
end
end)
button.InputEnded:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1
or input.UserInputType == Enum.UserInputType.Touch then
FlightInput[key] = false
end
end)
end
MakeControl("UP",UDim2.new(0,99,0,0),"Up")
MakeControl("FORWARD",UDim2.new(0,99,0,47),"Forward")
MakeControl("BACKWARD",UDim2.new(0,99,0,94),"Backward")
MakeControl("DOWN",UDim2.new(0,99,0,141),"Down")
MakeControl("← LEFT",UDim2.new(0,12,0,94),"Left")
MakeControl("RIGHT →",UDim2.new(0,186,0,94),"Right")
end
local function StartFlight()
StopFlight()
Humanoid.PlatformStand = true
Humanoid.AutoRotate = false
FlightVelocity = Instance.new("BodyVelocity")
FlightVelocity.MaxForce =
Vector3.new(math.huge,math.huge,math.huge)
FlightVelocity.Velocity = Vector3.zero
FlightVelocity.Parent = Root
CreateFlightControls()
FlightConnection =
RunService.RenderStepped:Connect(function()
if not FlightEnabled or not Root.Parent then
StopFlight()
return
end
local Camera = workspace.CurrentCamera
local direction = Vector3.zero
if FlightInput.Up then
direction += Vector3.new(0,1,0)
end
if FlightInput.Down then
direction -= Vector3.new(0,1,0)
end
if FlightInput.Left then
direction -= Camera.CFrame.RightVector
end
if FlightInput.Right then
direction += Camera.CFrame.RightVector
end
if FlightInput.Forward then
direction += Camera.CFrame.LookVector
end
if FlightInput.Backward then
direction -= Camera.CFrame.LookVector
end
if direction.Magnitude > 0 then
direction =
direction.Unit * FlightSpeed
end
FlightVelocity.Velocity = direction
end)
end
local TeleportGui = New("Frame", {
Parent = ScreenGui,
Size = UDim2.new(0,225,0,270),
Position = UDim2.new(0.5,130,0.5,-135),
BackgroundColor3 = Color3.fromRGB(30,30,36),
BorderSizePixel = 0,
Visible = false
})
Corner(TeleportGui,10)
New("TextLabel", {
Parent = TeleportGui,
Size = UDim2.new(1,-45,0,35),
Position = UDim2.new(0,10,0,0),
BackgroundTransparency = 1,
Text = "TELEPORT",
TextColor3 = Color3.new(1,1,1),
TextSize = 16,
Font = Enum.Font.GothamBold,
TextXAlignment = Enum.TextXAlignment.Left
})
local TeleportClose = New("TextButton", {
Parent = TeleportGui,
Size = UDim2.new(0,28,0,28),
Position = UDim2.new(1,-34,0,4),
BackgroundColor3 = Color3.fromRGB(45,45,52),
Text = "−",
TextColor3 = Color3.new(1,1,1),
TextSize = 18,
Font = Enum.Font.GothamBold
})
Corner(TeleportClose,7)
local TeleportScroll = New("ScrollingFrame", {
Parent = TeleportGui,
Size = UDim2.new(1,-20,1,-50),
Position = UDim2.new(0,10,0,42),
BackgroundColor3 = Color3.fromRGB(23,23,28),
BorderSizePixel = 0,
ScrollBarThickness = 5,
CanvasSize = UDim2.new(0,0,0,0),
AutomaticCanvasSize = Enum.AutomaticSize.Y
})
Corner(TeleportScroll,7)
New("UIListLayout", {
Parent = TeleportScroll,
Padding = UDim.new(0,4)
})
local function RefreshTeleportList()
for _, object in ipairs(TeleportScroll:GetChildren()) do
if object:IsA("TextButton") then
object:Destroy()
end
end
for _, target in ipairs(Players:GetPlayers()) do
if target ~= Player then
local button = New("TextButton", {
Parent = TeleportScroll,
Size = UDim2.new(1,-8,0,35),
BackgroundColor3 = Color3.fromRGB(45,45,52),
Text = target.DisplayName.." @"..target.Name,
TextColor3 = Color3.new(1,1,1),
TextSize = 12,
Font = Enum.Font.GothamBold
})
Corner(button,6)
button.MouseButton1Click:Connect(function()
if target.Character and Root then
local targetRoot =
target.Character:FindFirstChild("HumanoidRootPart")
if targetRoot then
Root.CFrame =
targetRoot.CFrame +
Vector3.new(0,3,0)
end
end
end)
end
end
end
TeleportClose.MouseButton1Click:Connect(function()
TeleportGui.Visible = false
end)
task.spawn(function()
while ScreenGui.Parent do
task.wait(60)
if TeleportGui.Visible then
RefreshTeleportList()
end
end
end)
SpeedButton.MouseButton1Click:Connect(function()
OpenScriptA("Speed")
end)
XRayButton.MouseButton1Click:Connect(function()
OpenScriptA("XRay")
end)
AntiFlingButton.MouseButton1Click:Connect(function()
OpenScriptA("AntiFling")
end)
FlightButton.MouseButton1Click:Connect(function()
OpenScriptA("Flight")
end)
NoClipButton.MouseButton1Click:Connect(function()
OpenScriptA("NoClip")
end)
TeleportButton.MouseButton1Click:Connect(function()
TeleportGui.Visible = true
RefreshTeleportList()
end)
Toggle.MouseButton1Click:Connect(function()
if CurrentAbility == "Speed" then
SpeedEnabled = not SpeedEnabled
ApplySpeed()
elseif CurrentAbility == "XRay" then
SetXRay(not XRayEnabled)
elseif CurrentAbility == "AntiFling" then
SetAntiFling(not AntiFlingEnabled)
elseif CurrentAbility == "Flight" then
FlightEnabled = not FlightEnabled
if FlightEnabled then
StartFlight()
else
StopFlight()
end
elseif CurrentAbility == "NoClip" then
SetNoClip(not NoClipEnabled)
end
UpdateScriptA()
end)
local Adjusting = false
local function AdjustValue(amount)
if CurrentAbility == "Speed" then
SpeedValue =
math.max(1,SpeedValue + amount)
ApplySpeed()
elseif CurrentAbility == "Flight" then
FlightSpeed =
math.max(5,FlightSpeed + amount)
end
UpdateScriptA()
end
local function StartAdjusting(amount)
if Adjusting then
return
end
Adjusting = true
task.spawn(function()
while Adjusting do
AdjustValue(amount)
task.wait(0.08)
end
end)
end
Minus.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1
or input.UserInputType == Enum.UserInputType.Touch then
AdjustValue(-5)
StartAdjusting(-5)
end
end)
Minus.InputEnded:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1
or input.UserInputType == Enum.UserInputType.Touch then
Adjusting = false
end
end)
Plus.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1
or input.UserInputType == Enum.UserInputType.Touch then
AdjustValue(5)
StartAdjusting(5)
end
end)
Plus.InputEnded:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1
or input.UserInputType == Enum.UserInputType.Touch then
Adjusting = false
end
end)
local MiniButton = New("TextButton", {
Parent = ScreenGui,
Size = UDim2.new(0,55,0,55),
Position = UDim2.new(0,15,0.5,-27),
BackgroundColor3 = Color3.fromRGB(30,30,36),
Text = "B",
TextColor3 = Color3.new(1,1,1),
TextSize = 21,
Font = Enum.Font.GothamBold,
Visible = false
})
Corner(MiniButton,28)
Minimize.MouseButton1Click:Connect(function()
Main.Visible = false
MiniButton.Visible = true
end)
MiniButton.MouseButton1Click:Connect(function()
Main.Visible = true
MiniButton.Visible = false
end)
local Dragging = false
local DragStart
local StartPosition
MiniButton.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1
or input.UserInputType == Enum.UserInputType.Touch then
Dragging = true
DragStart = input.Position
StartPosition = MiniButton.Position
end
end)
MiniButton.InputEnded:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1
or input.UserInputType == Enum.UserInputType.Touch then
Dragging = false
end
end)
UserInputService.InputChanged:Connect(function(input)
if Dragging and (
input.UserInputType == Enum.UserInputType.MouseMovement
or input.UserInputType == Enum.UserInputType.Touch
) then
local Delta = input.Position - DragStart
MiniButton.Position = UDim2.new(
StartPosition.X.Scale,
StartPosition.X.Offset + Delta.X,
StartPosition.Y.Scale,
StartPosition.Y.Offset + Delta.Y
)
end
end)
local Unload = New("TextButton", {
Parent = Main,
Size = UDim2.new(1,-20,0,30),
Position = UDim2.new(0,10,1,-38),
BackgroundColor3 = Color3.fromRGB(100,35,35),
Text = "UNLOAD",
TextColor3 = Color3.new(1,1,1),
TextSize = 14,
Font = Enum.Font.GothamBold
})
Corner(Unload,7)
Unload.MouseButton1Click:Connect(function()
SpeedEnabled = false
XRayEnabled = false
AntiFlingEnabled = false
FlightEnabled = false
NoClipEnabled = false
Adjusting = false
if Humanoid then
Humanoid.WalkSpeed =
OriginalWalkSpeed
Humanoid.PlatformStand = false
Humanoid.AutoRotate = true
end
SetXRay(false)
SetNoClip(false)
if AntiFlingConnection then
AntiFlingConnection:Disconnect()
AntiFlingConnection = nil
end
StopFlight()
ScreenGui:Destroy()
end)
Player.CharacterAdded:Connect(function(newCharacter)
Character = newCharacter
Humanoid =
Character:WaitForChild("Humanoid")
Root =
Character:WaitForChild("HumanoidRootPart")
OriginalWalkSpeed =
Humanoid.WalkSpeed
if SpeedEnabled then
ApplySpeed()
end
if XRayEnabled then
SetXRay(true)
end
if NoClipEnabled then
SetNoClip(true)
end
if FlightEnabled then
StartFlight()
end
end)No comments yet for this script.



