Run it
Copy the script and paste it into your executor.
Players = :()
UserInputService = :()
ReplicatedStorage = :()
player = Players.LocalPlayer
player
playerGui = player:()
old = playerGui:()
old old:()
BLUE = .(, , )
BG = .(, , )
PANEL = .(, , )
WHITE = .(, , )
MUTED = .(, , )
(className, props, parent)
obj = .(className)
k, v (props)
obj[k] = v
obj.Parent = parent
obj
gui = (, {
Name = ,
ResetOnSpawn = ,
IgnoreGuiInset = ,
DisplayOrder =
}, playerGui)
main = (, {
Name = ,
Size = .(, ),
Position = .(, -, , -),
BackgroundColor3 = BG,
BorderSizePixel = ,
Active =
}, gui)
(, {CornerRadius = .(, )}, main)
(, {Color = BLUE, Thickness = }, main)
header = (, {
Name = ,
Size = .(, , , ),
BackgroundColor3 = .(, , ),
BorderSizePixel = ,
Text = ,
TextColor3 = .(, , ),
TextSize = ,
Font = .Font.GothamBold,
AutoButtonColor =
}, main)
(, {CornerRadius = .(, )}, header)
minimize = (, {
Size = .(, ),
Position = .(, -, , ),
BackgroundColor3 = PANEL,
BorderSizePixel = ,
Text = ,
TextColor3 = WHITE,
TextSize = ,
Font = .Font.GothamBold
}, header)
(, {CornerRadius = .(, )}, minimize)
(text, y)
(, {
Size = .(, -, , ),
Position = .(, y),
BackgroundTransparency = ,
Text = text,
TextColor3 = MUTED,
TextSize = ,
Font = .Font.GothamBold,
TextXAlignment = .TextXAlignment.Left
}, main)
(, )
nameBox = (, {
Name = ,
Size = .(, -, , ),
Position = .(, ),
BackgroundColor3 = PANEL,
BorderSizePixel = ,
PlaceholderText = ,
PlaceholderColor3 = MUTED,
Text = ,
TextColor3 = WHITE,
TextSize = ,
Font = .Font.Gotham,
ClearTextOnFocus =
}, main)
(, {CornerRadius = .(, )}, nameBox)
(, )
playerList = (, {
Name = ,
Size = .(, -, , ),
Position = .(, ),
BackgroundColor3 = PANEL,
BorderSizePixel = ,
ScrollBarThickness = ,
ScrollBarImageColor3 = BLUE,
CanvasSize = .(, , , )
}, main)
(, {CornerRadius = .(, )}, playerList)
listLayout = (, {
Padding = .(, ),
SortOrder = .SortOrder.LayoutOrder
}, playerList)
(, {
PaddingTop = .(, ),
PaddingLeft = .(, ),
PaddingRight = .(, )
}, playerList)
()
_, child (playerList:())
child:()
child:()
_, target (Players:())
target ~= player
button = (, {
Name = .. target.Name,
Size = .(, -, , ),
BackgroundColor3 = .(, , ),
BorderSizePixel = ,
Text = target.DisplayName .. .. target.Name .. ,
TextColor3 = WHITE,
TextSize = ,
Font = .Font.Gotham,
TextTruncate = .TextTruncate.AtEnd
}, playerList)
(, {
CornerRadius = .(, )
}, button)
button.Activated:(()
nameBox.Text = target.Name
)
.(()
playerList.CanvasSize = .(
, , , listLayout.AbsoluteContentSize.Y +
)
)
()
Players.PlayerAdded:(refreshPlayers)
Players.PlayerRemoving:(refreshPlayers)
status = (, {
Name = ,
Size = .(, -, , ),
Position = .(, ),
BackgroundTransparency = ,
Text = ,
TextColor3 = MUTED,
TextSize = ,
Font = .Font.Gotham,
TextWrapped =
}, main)
giveButton = (, {
Name = ,
Size = .(, -, , ),
Position = .(, ),
BackgroundColor3 = BLUE,
BorderSizePixel = ,
Text = ,
TextColor3 = .(, , ),
TextSize = ,
Font = .Font.GothamBold
}, main)
(, {CornerRadius = .(, )}, giveButton)
refreshButton = (, {
Name = ,
Size = .(, -, , ),
Position = .(, ),
BackgroundColor3 = PANEL,
BorderSizePixel = ,
Text = ,
TextColor3 = WHITE,
TextSize = ,
Font = .Font.GothamBold
}, main)
(, {CornerRadius = .(, )}, refreshButton)
refreshButton.Activated:(refreshPlayers)
giveButton.Activated:(()
targetName = nameBox.Text:()
targetName ==
status.Text =
status.TextColor3 = .(, , )
target
_, candidate (Players:())
candidate.Name:() == targetName:()
target = candidate
target
status.Text =
status.TextColor3 = .(, , )
target == player
status.Text =
status.TextColor3 = .(, , )
remote = ReplicatedStorage:()
remote remote:()
status.Text =
status.TextColor3 = .(, , )
success, err = (()
remote:(target.UserId)
)
success
status.Text = .. target.Name ..
status.TextColor3 = .(, , )
status.Text = .. (err)
status.TextColor3 = .(, , )
(err)
)
minimized =
minimize.Activated:(()
minimized = minimized
_, child (main:())
child ~= header child:()
child.Visible = minimized
main.Size = minimized
.(, )
.(, )
minimize.Text = minimized
)
dragging =
dragStart
startPosition
activeInput
header.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1
input.UserInputType == .UserInputType.Touch
dragging =
dragStart = input.Position
startPosition = main.Position
input.Changed:(()
input.UserInputState == .UserInputState.End
dragging =
)
)
header.InputChanged:((input)
input.UserInputType == .UserInputType.MouseMovement
input.UserInputType == .UserInputType.Touch
activeInput = input
)
UserInputService.InputChanged:((input)
dragging input == activeInput
delta = input.Position - dragStart
main.Position = .(
startPosition.X.Scale,
startPosition.X.Offset + delta.X,
startPosition.Y.Scale,
startPosition.Y.Offset + delta.Y
)
)
()
❓ LUCKY BLOCKS Battlegrounds