
Keyless

--[[
Gui2Lua™
10zOfficial
Version 1.0.0
]]
-- Instances
local ScreenGui = Instance.new("ScreenGui")
local Frame = Instance.new("Frame")
local TextButton = Instance.new("TextButton")
local UICorner = Instance.new("UICorner")
local UICorner_2 = Instance.new("UICorner")
local TextLabel = Instance.new("TextLabel")
local TextButton_2 = Instance.new("TextButton")
local UICorner_3 = Instance.new("UICorner")
local TextButton_3 = Instance.new("TextButton")
local UICorner_4 = Instance.new("UICorner")
local TextButton_4 = Instance.new("TextButton")
local UICorner_5 = Instance.new("UICorner")
-- Properties
ScreenGui.Parent = game.CoreGui
ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
Frame.Parent = ScreenGui
Frame.BackgroundColor3 = Color3.new(0.0941177, 0.0941177, 0.0941177)
Frame.BorderColor3 = Color3.new(0, 0, 0)
Frame.BorderSizePixel = 0
Frame.Position = UDim2.new(0.194066912, 0, 0.0808081031, 0)
Frame.Size = UDim2.new(0, 374, 0, 251)
TextButton.Parent = Frame
TextButton.BackgroundColor3 = Color3.new(0.211765, 0.211765, 0.211765)
TextButton.BorderColor3 = Color3.new(0, 0, 0)
TextButton.BorderSizePixel = 0
TextButton.Position = UDim2.new(0.0320855193, 0, 0.175501704, 0)
TextButton.Size = UDim2.new(0, 352, 0, 31)
TextButton.Font = Enum.Font.Unknown
TextButton.Text = "No Cooldown"
TextButton.TextColor3 = Color3.new(1, 1, 1)
TextButton.TextSize = 14
UICorner.Parent = TextButton
UICorner.CornerRadius = UDim.new(0, 22)
UICorner_2.Parent = Frame
UICorner_2.CornerRadius = UDim.new(0, 22)
TextLabel.Parent = Frame
TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
TextLabel.BackgroundTransparency = 1
TextLabel.BorderColor3 = Color3.new(0, 0, 0)
TextLabel.BorderSizePixel = 0
TextLabel.Position = UDim2.new(0.0320855603, 0, 0.0318725109, 0)
TextLabel.Size = UDim2.new(0, 200, 0, 18)
TextLabel.Font = Enum.Font.FredokaOne
TextLabel.Text = "OP BATTLEGROUNDS SCRIPT🔥"
TextLabel.TextColor3 = Color3.new(1, 1, 1)
TextLabel.TextSize = 19
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
TextButton_2.Parent = Frame
TextButton_2.BackgroundColor3 = Color3.new(0.211765, 0.211765, 0.211765)
TextButton_2.BorderColor3 = Color3.new(0, 0, 0)
TextButton_2.BorderSizePixel = 0
TextButton_2.Position = UDim2.new(0.0320855193, 0, 0.34681648, 0)
TextButton_2.Size = UDim2.new(0, 351, 0, 31)
TextButton_2.Font = Enum.Font.Unknown
TextButton_2.Text = "Early Access"
TextButton_2.TextColor3 = Color3.new(1, 1, 1)
TextButton_2.TextSize = 14
UICorner_3.Parent = TextButton_2
UICorner_3.CornerRadius = UDim.new(0, 22)
TextButton_3.Parent = Frame
TextButton_3.BackgroundColor3 = Color3.new(0.211765, 0.211765, 0.211765)
TextButton_3.BorderColor3 = Color3.new(0, 0, 0)
TextButton_3.BorderSizePixel = 0
TextButton_3.Position = UDim2.new(0.0320855193, 0, 0.526099324, 0)
TextButton_3.Size = UDim2.new(0, 351, 0, 31)
TextButton_3.Font = Enum.Font.Unknown
TextButton_3.Text = "No Stun"
TextButton_3.TextColor3 = Color3.new(1, 1, 1)
TextButton_3.TextSize = 14
UICorner_4.Parent = TextButton_3
UICorner_4.CornerRadius = UDim.new(0, 22)
TextButton_4.Parent = Frame
TextButton_4.BackgroundColor3 = Color3.new(0.211765, 0.211765, 0.211765)
TextButton_4.BorderColor3 = Color3.new(0, 0, 0)
TextButton_4.BorderSizePixel = 0
TextButton_4.Position = UDim2.new(0.0320855193, 0, 0.705382228, 0)
TextButton_4.Size = UDim2.new(0, 350, 0, 31)
TextButton_4.Font = Enum.Font.Unknown
TextButton_4.Text = "No Dash Cooldown"
TextButton_4.TextColor3 = Color3.new(1, 1, 1)
TextButton_4.TextSize = 14
UICorner_5.Parent = TextButton_4
UICorner_5.CornerRadius = UDim.new(0, 22)
-- Scripts
local function FUEM_fake_script() -- TextButton.LocalScript
local script = Instance.new('LocalScript', TextButton)
script.Parent.MouseButton1Click:Connect(function()
game.Players.LocalPlayer.NoCD.Value = true
end)
end
coroutine.wrap(FUEM_fake_script)()
local function NFZKEFY_fake_script() -- TextButton_2.LocalScript
local script = Instance.new('LocalScript', TextButton_2)
script.Parent.MouseButton1Click:Connect(function()
game.Players.LocalPlayer.EarlyAccess.Value = true
end)
end
coroutine.wrap(NFZKEFY_fake_script)()
local function CKZHDBC_fake_script() -- TextButton_3.LocalScript
local script = Instance.new('LocalScript', TextButton_3)
script.Parent.MouseButton1Click:Connect(function()
game.Players.LocalPlayer.NoStun.Value = true
end)
end
coroutine.wrap(CKZHDBC_fake_script)()
local function BDHGMOA_fake_script() -- TextButton_4.LocalScript
local script = Instance.new('LocalScript', TextButton_4)
script.Parent.MouseButton1Click:Connect(function()
game.Players.LocalPlayer.NoDashCD.Value = true
end)
end
coroutine.wrap(BDHGMOA_fake_script)()
local function AFIXBF_fake_script() -- Frame.LocalScript
local script = Instance.new('LocalScript', Frame)
-- Local Script inside the GUI element you want to drag
local player = game.Players.LocalPlayer
local userInputService = game:GetService("UserInputService")
local gui = script.Parent
local dragging = false
local dragInput, dragStart, startPos
local function update(input)
local delta = input.Position - dragStart
gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
end
gui.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
dragging = true
dragStart = input.Position
startPos = gui.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
dragging = false
end
end)
end
end)
gui.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
dragInput = input
end
end)
userInputService.InputChanged:Connect(function(input)
if dragging and input == dragInput then
update(input)
end
end)
end
coroutine.wrap(AFIXBF_fake_script)()No comments yet for this script.