Run it
Copy the script and paste it into your executor.
Players = :()
UserInputService = :()
RunService = :()
TweenService = :()
CoreGui = :()
player = Players.LocalPlayer
isMobile = UserInputService.TouchEnabled UserInputService.MouseEnabled
isPC = UserInputService.MouseEnabled
(selectedDeviceType)
ScreenGui = .()
MainFrame = .()
Title = .()
CloseButton = .()
HideButton = .()
TabButtons = .()
ContentFrame = .()
MobileToggleButton =
ScreenGui.Parent = CoreGui
ScreenGui.Name =
ScreenGui.ZIndexBehavior = .ZIndexBehavior.Sibling
MainFrame.Name =
MainFrame.Parent = ScreenGui
MainFrame.BackgroundColor3 = .(, , )
MainFrame.BorderSizePixel =
selectedDeviceType ==
MainFrame.Position = .(, , , )
MainFrame.Size = .(, , , )
MainFrame.Draggable =
MainFrame.Position = .(, , , )
MainFrame.Size = .(, , , )
MainFrame.Draggable =
MainFrame.Active =
mainCorner = .()
mainCorner.CornerRadius = .(, )
mainCorner.Parent = MainFrame
mainStroke = .()
mainStroke.Color = .(, , )
mainStroke.Thickness =
mainStroke.Parent = MainFrame
Title.Name =
Title.Parent = MainFrame
Title.BackgroundColor3 = .(, , )
Title.BorderSizePixel =
Title.Size = .(, , , )
Title.Font = .Font.GothamBold
Title.Text = .. selectedDeviceType
Title.TextColor3 = .(, , )
Title.TextSize =
titleCorner = .()
titleCorner.CornerRadius = .(, )
titleCorner.Parent = Title
CloseButton.Name =
CloseButton.Parent = Title
CloseButton.BackgroundColor3 = .(, , )
CloseButton.BorderSizePixel =
CloseButton.Position = .(, , , )
CloseButton.Size = .(, , , )
CloseButton.Font = .Font.GothamBold
CloseButton.Text =
CloseButton.TextColor3 = .(, , )
CloseButton.TextSize =
closeCorner = .()
closeCorner.CornerRadius = .(, )
closeCorner.Parent = CloseButton
CloseButton.MouseButton1Click:(()
ScreenGui:()
MobileToggleButton
MobileToggleButton:()
)
selectedDeviceType ==
HideButton.Name =
HideButton.Parent = Title
HideButton.BackgroundColor3 = .(, , )
HideButton.BorderSizePixel =
HideButton.Position = .(, , , )
HideButton.Size = .(, , , )
HideButton.Font = .Font.GothamBold
HideButton.Text =
HideButton.TextColor3 = .(, , )
HideButton.TextSize =
hideCorner = .()
hideCorner.CornerRadius = .(, )
hideCorner.Parent = HideButton
MobileToggleButton = .()
MobileToggleButton.Name =
MobileToggleButton.Parent = ScreenGui
MobileToggleButton.BackgroundColor3 = .(, , )
MobileToggleButton.BackgroundTransparency =
MobileToggleButton.BorderSizePixel =
MobileToggleButton.Size = .(, , , )
MobileToggleButton.Position = .(, , , )
MobileToggleButton.Font = .Font.GothamBold
MobileToggleButton.Text =
MobileToggleButton.TextColor3 = .(, , )
MobileToggleButton.TextSize =
MobileToggleButton.Visible =
MobileToggleButton.ZIndex =
toggleCorner = .()
toggleCorner.CornerRadius = .(, )
toggleCorner.Parent = MobileToggleButton
toggleStroke = .()
toggleStroke.Color = .(, , )
toggleStroke.Thickness =
toggleStroke.Transparency =
toggleStroke.Parent = MobileToggleButton
innerGlow = .()
innerGlow.Name =
innerGlow.Color = .(, , )
innerGlow.Thickness =
innerGlow.Transparency =
innerGlow.Parent = MobileToggleButton
outerGlow = .()
outerGlow.Name =
outerGlow.Color = .(, , )
outerGlow.Thickness =
outerGlow.Transparency =
outerGlow.Parent = MobileToggleButton
aisLabel = .()
aisLabel.Name =
aisLabel.Parent = MobileToggleButton
aisLabel.BackgroundTransparency =
aisLabel.Size = .(, , , )
aisLabel.Position = .(, , , )
aisLabel.Font = .Font.GothamBold
aisLabel.Text =
aisLabel.TextColor3 = .(, , )
aisLabel.TextSize =
aisLabel.TextScaled =
aisLabel.ZIndex =
coderEmoji = .()
coderEmoji.Name =
coderEmoji.Parent = MobileToggleButton
coderEmoji.BackgroundTransparency =
coderEmoji.Size = .(, , , )
coderEmoji.Position = .(, , , )
coderEmoji.Font = .Font.GothamBold
coderEmoji.Text =
coderEmoji.TextColor3 = .(, , )
coderEmoji.TextSize =
coderEmoji.ZIndex =
()
MainFrame.Visible =
MobileToggleButton.Visible =
()
MainFrame.Visible =
MobileToggleButton.Visible =
HideButton.MouseButton1Click:(()
()
)
MobileToggleButton.MouseButton1Click:(()
()
)
MobileToggleButton.MouseEnter:(()
TweenService:(MobileToggleButton, TweenInfo.(), {
BackgroundTransparency = ,
Size = .(, , , )
}):()
TweenService:(toggleStroke, TweenInfo.(), {
Color = .(, , ),
Transparency = ,
Thickness =
}):()
TweenService:(innerGlow, TweenInfo.(), {
Color = .(, , ),
Transparency =
}):()
TweenService:(outerGlow, TweenInfo.(), {
Color = .(, , ),
Transparency =
}):()
)
MobileToggleButton.MouseLeave:(()
TweenService:(MobileToggleButton, TweenInfo.(), {
BackgroundTransparency = ,
Size = .(, , , )
}):()
TweenService:(toggleStroke, TweenInfo.(), {
Color = .(, , ),
Transparency = ,
Thickness =
}):()
TweenService:(innerGlow, TweenInfo.(), {
Color = .(, , ),
Transparency =
}):()
TweenService:(outerGlow, TweenInfo.(), {
Color = .(, , ),
Transparency =
}):()
)
pulseConnection
()
pulseConnection
pulseConnection = RunService.Heartbeat:(()
time = ()
pulse = .(time * ) * +
toggleStroke.Transparency = + ( - pulse) *
innerGlow.Transparency = + ( - pulse) *
)
()
pulseConnection
pulseConnection:()
pulseConnection =
MobileToggleButton:():(()
MobileToggleButton.Visible
()
()
)
TabButtons.Name =
TabButtons.Parent = MainFrame
TabButtons.BackgroundColor3 = .(, , )
TabButtons.BorderSizePixel =
TabButtons.Position = .(, , , )
selectedDeviceType ==
TabButtons.Size = .(, , , )
TabButtons.Size = .(, , , )
tabsCorner = .()
tabsCorner.CornerRadius = .(, )
tabsCorner.Parent = TabButtons
ContentFrame.Name =
ContentFrame.Parent = MainFrame
ContentFrame.BackgroundColor3 = .(, , )
ContentFrame.BorderSizePixel =
selectedDeviceType ==
ContentFrame.Position = .(, , , )
ContentFrame.Size = .(, , , )
ContentFrame.Position = .(, , , )
ContentFrame.Size = .(, , , )
ContentFrame.ClipsDescendants =
contentCorner = .()
contentCorner.CornerRadius = .(, )
contentCorner.Parent = ContentFrame
noclipEnabled =
flyEnabled =
flySpeed =
originalWalkSpeed =
originalJumpPower =
toggleKey = selectedDeviceType == .KeyCode.ButtonX .KeyCode.RightControl
savedWalkSpeed = originalWalkSpeed
savedJumpPower = originalJumpPower
savedFlySpeed = flySpeed
savedNoclip =
savedFly =
character, humanoid, rootPart
()
character = player.Character
character character:() character:()
humanoid = character:()
rootPart = character:()
character, humanoid, rootPart
()
tabs = {
,
,
}
currentTab =
()
UserInputService:() ~=
flyConnection
bodyVelocity
bodyGyro
()
flyEnabled = flyEnabled
savedFly = flyEnabled
flyEnabled
char, hum, root = ()
root
flyEnabled =
flyConnection
flyConnection:()
flyConnection =
bodyVelocity
bodyVelocity:()
bodyVelocity =
bodyGyro
bodyGyro:()
bodyGyro =
bodyVelocity = .()
bodyGyro = .()
bodyVelocity.Parent = root
bodyVelocity.MaxForce = .(, , )
bodyVelocity.Velocity = .(, , )
bodyGyro.Parent = root
bodyGyro.MaxTorque = .(, , )
bodyGyro.P =
bodyGyro.D =
flyConnection = RunService.Heartbeat:(()
()
bodyVelocity
bodyVelocity.Velocity = .(, , )
currentChar, currentHum, currentRoot = ()
currentRoot bodyGyro bodyVelocity
()
camera = .CurrentCamera
camera
cameraCFrame = camera.CFrame
bodyGyro.CFrame = cameraCFrame
direction = .()
selectedDeviceType ==
UserInputService:(.KeyCode.W)
direction = direction + cameraCFrame.LookVector * flySpeed
UserInputService:(.KeyCode.S)
direction = direction + cameraCFrame.LookVector * -flySpeed
UserInputService:(.KeyCode.A)
direction = direction + cameraCFrame.RightVector * -flySpeed
UserInputService:(.KeyCode.D)
direction = direction + cameraCFrame.RightVector * flySpeed
UserInputService:(.KeyCode.Space)
direction = direction + .(, flySpeed, )
UserInputService:(.KeyCode.LeftShift) UserInputService:(.KeyCode.RightShift)
direction = direction + .(, -flySpeed, )
touchPositions = UserInputService:()
_, touch (touchPositions)
viewportSize = .CurrentCamera.ViewportSize
joystickZone = .(viewportSize.X * , viewportSize.Y * )
joystickSize = .(viewportSize.X * , viewportSize.Y * )
touch.Position.X < joystickZone.x + joystickSize.x
touch.Position.Y > joystickZone.y
touch.Position.Y < joystickZone.y + joystickSize.y
joystickDelta = .(
(touch.Position.X - joystickZone.x) / joystickSize.x - ,
(touch.Position.Y - joystickZone.y) / joystickSize.y -
)
magnitude = .(joystickDelta.Magnitude, )
magnitude >
normalizedDelta = joystickDelta.Unit * magnitude
direction = direction + (cameraCFrame.LookVector * -normalizedDelta.Y * flySpeed)
direction = direction + (cameraCFrame.RightVector * normalizedDelta.X * flySpeed)
UserInputService:(.KeyCode.ButtonX)
direction = direction + .(, flySpeed, )
UserInputService:(.KeyCode.ButtonY)
direction = direction + .(, -flySpeed, )
bodyVelocity
bodyVelocity.Velocity = direction
)
hum
hum.PlatformStand =
flyConnection
flyConnection:()
flyConnection =
bodyVelocity
bodyVelocity:()
bodyVelocity =
bodyGyro
bodyGyro:()
bodyGyro =
_, hum = ()
hum
hum.PlatformStand =
()
noclipConnection
()
noclipEnabled = noclipEnabled
savedNoclip = noclipEnabled
noclipConnection
noclipConnection:()
noclipConnection =
noclipEnabled
noclipConnection = RunService.Stepped:(()
char = ()
char
_, part (char:())
part:()
part.CanCollide =
)
char = ()
char
_, part (char:())
part:()
part.CanCollide =
(name, minValue, maxValue, defaultValue, callback)
frame = .()
label = .()
valueBox = .()
slider = .()
fill = .()
sliderButton = .()
knob = .()
frame.Parent = ContentFrame
frame.BackgroundColor3 = .(, , )
frame.BorderSizePixel =
frame.Size = .(, , , )
frame.Position = .(, , , )
frameCorner = .()
frameCorner.CornerRadius = .(, )
frameCorner.Parent = frame
label.Parent = frame
label.BackgroundTransparency =
label.Position = .(, , , )
label.Size = .(, , , )
label.Font = .Font.Gotham
label.Text = name
label.TextColor3 = .(, , )
label.TextSize = selectedDeviceType ==
label.TextXAlignment = .TextXAlignment.Left
valueBox.Parent = frame
valueBox.BackgroundColor3 = .(, , )
valueBox.BorderSizePixel =
valueBox.Position = .(, , , )
valueBox.Size = .(, , , )
valueBox.Font = .Font.Gotham
valueBox.Text = (defaultValue)
valueBox.TextColor3 = .(, , )
valueBox.TextSize = selectedDeviceType ==
valueBox.ClearTextOnFocus =
valueBoxCorner = .()
valueBoxCorner.CornerRadius = .(, )
valueBoxCorner.Parent = valueBox
slider.Parent = frame
slider.BackgroundColor3 = .(, , )
slider.BorderSizePixel =
slider.Position = .(, , , )
slider.Size = .(, -, , )
sliderCorner = .()
sliderCorner.CornerRadius = .(, )
sliderCorner.Parent = slider
fill.Parent = slider
fill.BackgroundColor3 = .(, , )
fill.BorderSizePixel =
fill.Size = .((defaultValue - minValue) / (maxValue - minValue), , , )
fillCorner = .()
fillCorner.CornerRadius = .(, )
fillCorner.Parent = fill
knob.Parent = slider
knob.BackgroundColor3 = .(, , )
knob.BorderSizePixel =
knob.Size = .(, , , )
knob.Position = .((defaultValue - minValue) / (maxValue - minValue), -, , -)
knob.ZIndex =
knobCorner = .()
knobCorner.CornerRadius = .(, )
knobCorner.Parent = knob
sliderButton.Parent = slider
sliderButton.BackgroundTransparency =
sliderButton.Size = .(, , , )
sliderButton.Position = .(, , -, )
sliderButton.Text =
sliderButton.ZIndex =
currentValue = defaultValue
isDragging =
(value)
clampedValue = .(value, minValue, maxValue)
currentValue = clampedValue
fillSize = (clampedValue - minValue) / (maxValue - minValue)
fill.Size = .(fillSize, , , )
knob.Position = .(fillSize, -, , -)
valueBox.Text = (.(clampedValue))
(clampedValue)
valueBox.FocusLost:(()
text = valueBox.Text
number = (text)
number
(number)
valueBox.Text = (currentValue)
)
sliderButton.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1
(selectedDeviceType == input.UserInputType == .UserInputType.Touch)
isDragging =
connection
connection = RunService.Heartbeat:(()
isDragging
connection:()
inputPos
selectedDeviceType ==
touches = UserInputService:()
#touches >
inputPos = touches[].Position
isDragging =
inputPos = UserInputService:()
sliderPos = slider.AbsolutePosition
sliderSize = slider.AbsoluteSize
relativeX = .((inputPos.X - sliderPos.X) / sliderSize.X, , )
value = .(minValue + (maxValue - minValue) * relativeX)
(value)
)
)
UserInputService.InputEnded:((input)
(input.UserInputType == .UserInputType.MouseButton1 selectedDeviceType == )
(input.UserInputType == .UserInputType.Touch selectedDeviceType == )
isDragging =
)
frame
(name, defaultValue, callback)
frame = .()
label = .()
toggle = .()
status = .()
frame.Parent = ContentFrame
frame.BackgroundColor3 = .(, , )
frame.BorderSizePixel =
frame.Size = .(, , , )
frame.Position = .(, , , )
frameCorner = .()
frameCorner.CornerRadius = .(, )
frameCorner.Parent = frame
label.Parent = frame
label.BackgroundTransparency =
label.Position = .(, , , )
label.Size = .(, , , )
label.Font = .Font.Gotham
label.Text = name
label.TextColor3 = .(, , )
label.TextSize = selectedDeviceType ==
label.TextXAlignment = .TextXAlignment.Left
toggle.Parent = frame
toggle.BackgroundColor3 = defaultValue .(, , ) .(, , )
toggle.BorderSizePixel =
toggle.Position = .(, , , )
toggle.Size = .(, , , )
toggle.Font = .Font.GothamBold
toggle.Text =
toggle.TextColor3 = .(, , )
toggle.TextSize =
toggleCorner = .()
toggleCorner.CornerRadius = .(, )
toggleCorner.Parent = toggle
status.Parent = frame
status.BackgroundTransparency =
status.Position = .(, , , )
status.Size = .(, , , )
status.Font = .Font.GothamBold
status.Text = defaultValue
status.TextColor3 = defaultValue .(, , ) .(, , )
status.TextSize = selectedDeviceType ==
toggle.MouseButton1Click:(()
newValue = defaultValue
defaultValue = newValue
toggle.BackgroundColor3 = newValue .(, , ) .(, , )
status.Text = newValue
status.TextColor3 = newValue .(, , ) .(, , )
(newValue)
)
frame
(name, currentKey, callback)
frame = .()
label = .()
keyButton = .()
frame.Parent = ContentFrame
frame.BackgroundColor3 = .(, , )
frame.BorderSizePixel =
frame.Size = .(, , , )
frame.Position = .(, , , )
frameCorner = .()
frameCorner.CornerRadius = .(, )
frameCorner.Parent = frame
label.Parent = frame
label.BackgroundTransparency =
label.Position = .(, , , )
label.Size = .(, , , )
label.Font = .Font.Gotham
label.Text = name
label.TextColor3 = .(, , )
label.TextSize = selectedDeviceType ==
label.TextXAlignment = .TextXAlignment.Left
keyButton.Parent = frame
keyButton.BackgroundColor3 = .(, , )
keyButton.BorderSizePixel =
keyButton.Position = .(, , , )
keyButton.Size = .(, , , )
keyButton.Font = .Font.Gotham
keyButton.Text = (currentKey):(, )
keyButton.TextColor3 = .(, , )
keyButton.TextSize = selectedDeviceType ==
buttonCorner = .()
buttonCorner.CornerRadius = .(, )
buttonCorner.Parent = keyButton
isSettingKey =
keyButton.MouseButton1Click:(()
isSettingKey
isSettingKey =
keyButton.Text =
keyButton.BackgroundColor3 = .(, , )
keybindConnection
keybindConnection = UserInputService.InputBegan:((input, gameProcessed)
gameProcessed
input.UserInputType == .UserInputType.Keyboard (selectedDeviceType == input.UserInputType == .UserInputType.Gamepad1)
keybindConnection:()
newKey = input.KeyCode input.KeyCode
toggleKey = newKey
keyButton.Text = (newKey):(, )
keyButton.BackgroundColor3 = .(, , )
(newKey)
()
isSettingKey =
)
()
keybindConnection
keybindConnection:()
isSettingKey
keyButton.Text = (toggleKey):(, )
keyButton.BackgroundColor3 = .(, , )
isSettingKey =
)
frame
()
Title.Text = .. selectedDeviceType .. .. (toggleKey):(, ) ..
()
_, child (ContentFrame:())
child:()
yOffset =
currentTab ==
currentWalkSpeed = savedWalkSpeed
currentJumpPower = savedJumpPower
char, hum = ()
hum
currentWalkSpeed = hum.WalkSpeed
currentJumpPower = hum.JumpPower
walkSpeedFrame = (, , , currentWalkSpeed, (value)
_, humanoid = ()
humanoid
humanoid.WalkSpeed = value
savedWalkSpeed = value
)
walkSpeedFrame.Position = .(, , , yOffset)
yOffset = yOffset +
jumpPowerFrame = (, , , currentJumpPower, (value)
_, humanoid = ()
humanoid
humanoid.JumpPower = value
savedJumpPower = value
)
jumpPowerFrame.Position = .(, , , yOffset)
yOffset = yOffset +
noclipFrame = (, noclipEnabled, (value)
()
)
noclipFrame.Position = .(, , , yOffset)
yOffset = yOffset +
resetButton = .()
resetButton.Parent = ContentFrame
resetButton.BackgroundColor3 = .(, , )
resetButton.BorderSizePixel =
resetButton.Position = .(, , , yOffset)
resetButton.Size = .(, , , )
resetButton.Font = .Font.Gotham
resetButton.Text =
resetButton.TextColor3 = .(, , )
resetButton.TextSize = selectedDeviceType ==
resetCorner = .()
resetCorner.CornerRadius = .(, )
resetCorner.Parent = resetButton
resetButton.MouseButton1Click:(()
_, hum = ()
hum
hum.WalkSpeed = originalWalkSpeed
hum.JumpPower = originalJumpPower
savedWalkSpeed = originalWalkSpeed
savedJumpPower = originalJumpPower
noclipEnabled
()
()
)
currentTab ==
flyToggle = (, flyEnabled, (value)
()
)
flyToggle.Position = .(, , , yOffset)
yOffset = yOffset +
flySpeedFrame = (, , , flySpeed, (value)
flySpeed = value
savedFlySpeed = value
)
flySpeedFrame.Position = .(, , , yOffset)
yOffset = yOffset +
instruction = .()
instruction.Parent = ContentFrame
instruction.BackgroundTransparency =
instruction.Position = .(, , , yOffset)
instruction.Size = .(, , , )
instruction.Font = .Font.Gotham
instruction.Text = selectedDeviceType ==
instruction.TextColor3 = .(, , )
instruction.TextSize = selectedDeviceType ==
instruction.TextXAlignment = .TextXAlignment.Left
instruction.TextYAlignment = .TextYAlignment.Top
currentTab ==
selectedDeviceType ==
keybindFrame = (, toggleKey, (newKey)
toggleKey = newKey
)
keybindFrame.Position = .(, , , yOffset)
yOffset = yOffset +
info = .()
info.Parent = ContentFrame
info.BackgroundTransparency =
info.Position = .(, , , yOffset)
info.Size = .(, , , )
info.Font = .Font.Gotham
info.Text = .. selectedDeviceType ..
info.TextColor3 = .(, , )
info.TextSize = selectedDeviceType ==
info.TextXAlignment = .TextXAlignment.Left
info.TextYAlignment = .TextYAlignment.Top
(name, position)
button = .()
button.Name = name ..
button.Parent = TabButtons
button.BackgroundColor3 = .(, , )
button.BorderSizePixel =
button.Position = .(, , position, )
button.Size = .(, , , )
button.Font = .Font.Gotham
button.Text = name
button.TextColor3 = .(, , )
button.TextSize = selectedDeviceType ==
buttonCorner = .()
buttonCorner.CornerRadius = .(, )
buttonCorner.Parent = button
buttonStroke = .()
buttonStroke.Color = .(, , )
buttonStroke.Thickness =
buttonStroke.Parent = button
button.MouseEnter:(()
TweenService:(button, TweenInfo.(), {BackgroundColor3 = .(, , )}):()
)
button.MouseLeave:(()
TweenService:(button, TweenInfo.(), {BackgroundColor3 = .(, , )}):()
)
button.MouseButton1Click:(()
currentTab = name
()
)
button
()
char, hum = ()
hum
hum.WalkSpeed = savedWalkSpeed
hum.JumpPower = savedJumpPower
savedNoclip noclipEnabled
()
savedFly flyEnabled
()
flySpeed = savedFlySpeed
i, tabName (tabs)
(tabName, + (i-) * )
()
()
player.CharacterAdded:((newCharacter)
newCharacter:()
character = newCharacter
humanoid = newCharacter:()
rootPart = newCharacter:()
()
()
()
)
selectedDeviceType ==
toggleConnection
toggleConnection = UserInputService.InputBegan:((input, gameProcessed)
gameProcessed
input.KeyCode == toggleKey
MainFrame.Visible = MainFrame.Visible
)
selectedDeviceType ==
isDraggingUI =
dragStartPos
dragStartFramePos
()
isDraggingUI =
dragStartPos = UserInputService:()
dragStartFramePos = MainFrame.Position
connection
connection = RunService.Heartbeat:(()
isDraggingUI
connection:()
mousePos = UserInputService:()
delta = mousePos - dragStartPos
newPos = .(
dragStartFramePos.X.Scale,
dragStartFramePos.X.Offset + delta.X,
dragStartFramePos.Y.Scale,
dragStartFramePos.Y.Offset + delta.Y
)
MainFrame.Position = newPos
)
Title.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1
()
)
UserInputService.InputEnded:((input)
input.UserInputType == .UserInputType.MouseButton1
isDraggingUI =
)
deviceSelectionGui = .()
deviceSelectionGui.Name =
deviceSelectionGui.Parent = CoreGui
deviceSelectionGui.ZIndexBehavior = .ZIndexBehavior.Sibling
selectionFrame = .()
selectionFrame.Name =
selectionFrame.Parent = deviceSelectionGui
selectionFrame.BackgroundColor3 = .(, , )
selectionFrame.BorderSizePixel =
selectionFrame.Position = .(, , , )
selectionFrame.Size = .(, , , )
selectionFrame.AnchorPoint = .(, )
selectionCorner = .()
selectionCorner.CornerRadius = .(, )
selectionCorner.Parent = selectionFrame
selectionStroke = .()
selectionStroke.Color = .(, , )
selectionStroke.Thickness =
selectionStroke.Parent = selectionFrame
selectionTitle = .()
selectionTitle.Name =
selectionTitle.Parent = selectionFrame
selectionTitle.BackgroundColor3 = .(, , )
selectionTitle.BorderSizePixel =
selectionTitle.Size = .(, , , )
selectionTitle.Font = .Font.GothamBold
selectionTitle.Text =
selectionTitle.TextColor3 = .(, , )
selectionTitle.TextSize =
titleCorner2 = .()
titleCorner2.CornerRadius = .(, )
titleCorner2.Parent = selectionTitle
selectionText = .()
selectionText.Name =
selectionText.Parent = selectionFrame
selectionText.BackgroundTransparency =
selectionText.Position = .(, , , )
selectionText.Size = .(, , , )
selectionText.Font = .Font.Gotham
selectionText.Text =
selectionText.TextColor3 = .(, , )
selectionText.TextSize =
pcButton = .()
pcButton.Name =
pcButton.Parent = selectionFrame
pcButton.BackgroundColor3 = .(, , )
pcButton.BorderSizePixel =
pcButton.Position = .(, , , )
pcButton.Size = .(, , , )
pcButton.Font = .Font.GothamBold
pcButton.Text =
pcButton.TextColor3 = .(, , )
pcButton.TextSize =
pcCorner = .()
pcCorner.CornerRadius = .(, )
pcCorner.Parent = pcButton
mobileButton = .()
mobileButton.Name =
mobileButton.Parent = selectionFrame
mobileButton.BackgroundColor3 = .(, , )
mobileButton.BorderSizePixel =
mobileButton.Position = .(, , , )
mobileButton.Size = .(, , , )
mobileButton.Font = .Font.GothamBold
mobileButton.Text =
mobileButton.TextColor3 = .(, , )
mobileButton.TextSize =
mobileCorner = .()
mobileCorner.CornerRadius = .(, )
mobileCorner.Parent = mobileButton
autoDetectText = .()
autoDetectText.Name =
autoDetectText.Parent = selectionFrame
autoDetectText.BackgroundTransparency =
autoDetectText.Position = .(, , , )
autoDetectText.Size = .(, , , )
autoDetectText.Font = .Font.Gotham
autoDetectText.Text = .. (isMobile )
autoDetectText.TextColor3 = .(, , )
autoDetectText.TextSize =
selectedDeviceType =
deviceSelected =
pcButton.MouseButton1Click:(()
selectedDeviceType =
deviceSelected =
deviceSelectionGui:()
(selectedDeviceType)
)
mobileButton.MouseButton1Click:(()
selectedDeviceType =
deviceSelected =
deviceSelectionGui:()
(selectedDeviceType)
)
(, ()
deviceSelected
selectedDeviceType = isMobile
deviceSelectionGui:()
(selectedDeviceType)
)
Universal