Run it
Copy the script and paste it into your executor.
player = .Players.LocalPlayer
guiService = :()
starterGui = :()
TweenService = :()
UserInputService = :()
playerGui = player:()
playerGui:()
starterGui:(, )
screenGui = .()
screenGui.Name =
screenGui.IgnoreGuiInset =
screenGui.ScreenInsets = .ScreenInsets.TopbarSafeInsets
screenGui.DisplayOrder =
screenGui.ResetOnSpawn =
screenGui.Parent = playerGui
frame = .()
frame.Parent = screenGui
frame.BackgroundTransparency =
frame.BorderSizePixel =
frame.Position = .(, , , )
frame.Size = .(, , , -)
scrollingFrame = .()
scrollingFrame.Name =
scrollingFrame.Parent = frame
scrollingFrame.BackgroundTransparency =
scrollingFrame.BorderSizePixel =
scrollingFrame.Position = .(, , , )
scrollingFrame.Size = .(, -, , )
scrollingFrame.CanvasSize = .(, , , )
scrollingFrame.AutomaticCanvasSize = .AutomaticSize.X
scrollingFrame.ScrollBarThickness =
scrollingFrame.ScrollingDirection = .ScrollingDirection.X
scrollingFrame.ScrollingEnabled =
uiListLayout = .()
uiListLayout.Parent = scrollingFrame
uiListLayout.Padding = .(, )
uiListLayout.SortOrder = .SortOrder.LayoutOrder
uiListLayout.FillDirection = .FillDirection.Horizontal
uiListLayout.HorizontalAlignment = .HorizontalAlignment.Left
uiListLayout.VerticalAlignment = .VerticalAlignment.Bottom
buttonsConfig = {
{
name = ,
layoutOrder = ,
icon = ,
label = ,
width = ,
labelWidth = ,
key =
},
{
name = ,
layoutOrder = ,
icon = ,
label = ,
width = ,
labelWidth = ,
key =
},
{
name = ,
layoutOrder = ,
icon = ,
label = ,
width = ,
labelWidth = ,
key =
}
}
_, config (buttonsConfig)
tweenInfo = TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out)
Button = .()
Button.Name = config.name
Button.Parent = scrollingFrame
Button.BackgroundTransparency =
Button.ClipsDescendants =
Button.LayoutOrder = config.layoutOrder
Button.Size = .(, , , )
Button.ZIndex =
IconButton = .()
IconButton.Name =
IconButton.Parent = Button
IconButton.BackgroundColor3 = .(, , )
IconButton.BackgroundTransparency =
IconButton.BorderSizePixel =
IconButton.ClipsDescendants =
IconButton.Size = .(, , , )
IconButton.ZIndex =
UICorner = .()
UICorner.CornerRadius = .(, )
UICorner.Parent = IconButton
Menu = .()
Menu.Name =
Menu.Parent = IconButton
Menu.BackgroundTransparency =
Menu.BorderSizePixel =
Menu.Position = .(, , , )
Menu.Selectable =
Menu.Size = .(, , , )
Menu.ZIndex =
Menu.BottomImage =
Menu.CanvasSize = .(, , , -)
Menu.HorizontalScrollBarInset = .ScrollBarInset.Always
Menu.ScrollBarThickness =
Menu.TopImage =
MenuUIListLayout = .()
MenuUIListLayout.Name =
MenuUIListLayout.Parent = Menu
MenuUIListLayout.FillDirection = .FillDirection.Horizontal
MenuUIListLayout.SortOrder = .SortOrder.LayoutOrder
MenuUIListLayout.VerticalAlignment = .VerticalAlignment.Center
MenuGap = .()
MenuGap.Name =
MenuGap.Parent = Menu
MenuGap.AnchorPoint = .(, )
MenuGap.BackgroundTransparency =
MenuGap.Size = .(, , , )
MenuGap.Visible =
MenuGap.ZIndex =
IconSpot = .()
IconSpot.Name =
IconSpot.Parent = Menu
IconSpot.AnchorPoint = .(, )
IconSpot.BackgroundColor3 = .(, , )
IconSpot.BackgroundTransparency =
IconSpot.Position = .(, , , )
IconSpot.Size = .(, , , -)
IconSpot.ZIndex =
UICorner_2 = .()
UICorner_2.CornerRadius = .(, )
UICorner_2.Parent = IconSpot
IconOverlay = .()
IconOverlay.Name =
IconOverlay.Parent = IconSpot
IconOverlay.BackgroundColor3 = .(, , )
IconOverlay.BackgroundTransparency =
IconOverlay.Size = .(, , , )
IconOverlay.Visible =
IconOverlay.ZIndex =
UICorner_3 = .()
UICorner_3.CornerRadius = .(, )
UICorner_3.Parent = IconOverlay
ClickRegion = .()
ClickRegion.Name =
ClickRegion.Parent = IconSpot
ClickRegion.BackgroundTransparency =
ClickRegion.Size = .(, , , )
ClickRegion.ZIndex =
ClickRegion.Text =
UICorner_4 = .()
UICorner_4.CornerRadius = .(, )
UICorner_4.Parent = ClickRegion
Contents = .()
Contents.Name =
Contents.Parent = IconSpot
Contents.BackgroundTransparency =
Contents.Size = .(, , , )
ContentsList = .()
ContentsList.Name =
ContentsList.Parent = Contents
ContentsList.FillDirection = .FillDirection.Horizontal
ContentsList.HorizontalAlignment = .HorizontalAlignment.Center
ContentsList.SortOrder = .SortOrder.LayoutOrder
ContentsList.VerticalAlignment = .VerticalAlignment.Center
ContentsList.Padding = .(, )
PaddingLeft = .()
PaddingLeft.Name =
PaddingLeft.Parent = Contents
PaddingLeft.BackgroundColor3 = .(, , )
PaddingLeft.BackgroundTransparency =
PaddingLeft.BorderColor3 = .(, , )
PaddingLeft.BorderSizePixel =
PaddingLeft.LayoutOrder =
PaddingLeft.Size = .(, , , )
PaddingLeft.ZIndex =
PaddingCenter = .()
PaddingCenter.Name =
PaddingCenter.Parent = Contents
PaddingCenter.BackgroundColor3 = .(, , )
PaddingCenter.BackgroundTransparency =
PaddingCenter.BorderColor3 = .(, , )
PaddingCenter.BorderSizePixel =
PaddingCenter.LayoutOrder =
PaddingCenter.Size = .(, , , )
PaddingCenter.ZIndex =
PaddingRight = .()
PaddingRight.Name =
PaddingRight.Parent = Contents
PaddingRight.BackgroundColor3 = .(, , )
PaddingRight.BackgroundTransparency =
PaddingRight.BorderColor3 = .(, , )
PaddingRight.BorderSizePixel =
PaddingRight.LayoutOrder =
PaddingRight.Size = .(, , , )
PaddingRight.ZIndex =
IconLabelContainer = .()
IconLabelContainer.Name =
IconLabelContainer.Parent = Contents
IconLabelContainer.AnchorPoint = .(, )
IconLabelContainer.BackgroundTransparency =
IconLabelContainer.LayoutOrder =
IconLabelContainer.Position = .(, , , )
IconLabelContainer.Size = .(, , , )
IconLabelContainer.Visible =
IconLabelContainer.ZIndex =
IconLabel = .()
IconLabel.Name =
IconLabel.Parent = IconLabelContainer
IconLabel.BackgroundTransparency =
IconLabel.LayoutOrder =
IconLabel.Size = .(, , , )
IconLabel.ZIndex =
IconLabel.Font = .Font.GothamMedium
IconLabel.Text = config.label
IconLabel.TextColor3 = .(, , )
IconLabel.TextSize =
IconLabel.TextWrapped =
IconLabel.TextXAlignment = .TextXAlignment.Left
IconLabel.Visible =
IconImage = .()
IconImage.Name =
IconImage.Parent = Contents
IconImage.AnchorPoint = .(, )
IconImage.BackgroundTransparency =
IconImage.LayoutOrder =
IconImage.Position = .(, , , )
IconImage.Size = .(, , , )
IconImage.ZIndex =
IconImage.Image = config.icon
IconImageCorner = .()
IconImageCorner.CornerRadius = .(, )
IconImageCorner.Name =
IconImageCorner.Parent = IconImage
IconImageRatio = .()
IconImageRatio.Name =
IconImageRatio.Parent = IconImage
IconImageRatio.DominantAxis = .DominantAxis.Height
IconSpotGradient = .()
IconSpotGradient.Color = ColorSequence.{
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , ))
}
IconSpotGradient.Rotation =
IconSpotGradient.Name =
IconSpotGradient.Parent = IconSpot
IconGradient = .()
IconGradient.Name =
IconGradient.Parent = IconButton
isHovering =
currentTween =
hideDelay =
isMouseDown =
smallButtonSize = .(, , , )
largeButtonSize = .(, config.width, , )
smallIconSpotSize = .(, , , -)
largeIconSpotSize = .(, config.width - , , -)
smallLabelSize = .(, , , )
largeLabelSize = .(, config.labelWidth, , )
()
.(hideDelay)
isHovering
IconLabel.Visible =
IconLabelContainer.Visible =
IconOverlay.Visible =
()
isHovering =
currentTween
currentTween:()
IconLabel.Visible =
IconLabelContainer.Visible =
IconOverlay.Visible =
currentTween = TweenService:(Button, tweenInfo, {Size = largeButtonSize})
currentTween:()
TweenService:(IconSpot, tweenInfo, {Size = largeIconSpotSize}):()
TweenService:(IconLabelContainer, tweenInfo, {Size = largeLabelSize}):()
()
isHovering =
currentTween
currentTween:()
currentTween = TweenService:(Button, tweenInfo, {Size = smallButtonSize})
currentTween:()
TweenService:(IconSpot, tweenInfo, {Size = smallIconSpotSize}):()
TweenService:(IconLabelContainer, tweenInfo, {Size = smallLabelSize}):()
()
ClickRegion.MouseEnter:(()
()
)
ClickRegion.MouseLeave:(()
()
isMouseDown
isMouseDown =
:().LocalPlayer.PlayerScripts.Events.temporary_events.UseKeybind:({
Key = config.key,
Down =
})
)
ClickRegion.MouseButton1Down:(()
isMouseDown =
:().LocalPlayer.PlayerScripts.Events.temporary_events.UseKeybind:({
Key = config.key,
Down =
})
)
ClickRegion.MouseButton1Up:(()
isMouseDown =
:().LocalPlayer.PlayerScripts.Events.temporary_events.UseKeybind:({
Key = config.key,
Down =
})
)
player.CharacterAdded:(()
.()
isHovering =
isMouseDown =
currentTween
currentTween:()
currentTween =
Button.Size = smallButtonSize
IconSpot.Size = smallIconSpotSize
IconLabelContainer.Size = smallLabelSize
IconLabel.Visible =
IconLabelContainer.Visible =
IconOverlay.Visible =
)