Run it
Copy the script and paste it into your executor.
ReplicatedStorage, RunService, Players, UserInputService, TweenService, Workspace
(()
ReplicatedStorage = :()
RunService = :()
Players = :()
UserInputService = :()
TweenService = :()
Workspace = :()
)
player = Players.LocalPlayer
(()
player.PlayerGui:()
player.PlayerGui.LokasornScriptGui:()
screenGui = .(, player.PlayerGui)
screenGui.Name =
screenGui.ResetOnSpawn =
.mainFrame = .(, screenGui)
.mainFrame.Name =
.mainFrame.Size = .(, , , )
.mainFrame.BackgroundColor3 = .(, , )
.mainFrame.BorderSizePixel =
.mainFrame.Position = .(, -, , -)
.mainFrame.AnchorPoint = .(, )
.mainFrame.ClipsDescendants =
.(, .mainFrame).CornerRadius = .(, )
.(, .mainFrame).Color = .(, , )
titleBar = .(, .mainFrame)
titleBar.Name =
titleBar.Size = .(, , , )
titleBar.BackgroundColor3 = .(, , )
titleBar.BorderSizePixel =
.(, titleBar).CornerRadius = .(, )
titleLabel = .(, titleBar)
titleLabel.Name =
titleLabel.Size = .(, , , )
titleLabel.Position = .(, , , )
titleLabel.BackgroundTransparency =
titleLabel.Text =
titleLabel.TextColor3 = .(, , )
titleLabel.TextSize =
titleLabel.Font = .Font.GothamBold
titleLabel.TextXAlignment = .TextXAlignment.Left
subtitleLabel = .(, titleBar)
subtitleLabel.Name =
subtitleLabel.Size = .(, , , )
subtitleLabel.Position = .(, , , )
subtitleLabel.BackgroundTransparency =
subtitleLabel.Text =
subtitleLabel.TextColor3 = .(, , )
subtitleLabel.TextSize =
subtitleLabel.Font = .Font.Gotham
subtitleLabel.TextXAlignment = .TextXAlignment.Left
closeButton = .(, titleBar)
closeButton.Name =
closeButton.Size = .(, , , )
closeButton.Position = .(, -, , )
closeButton.BackgroundColor3 = .(, , )
closeButton.Text =
closeButton.TextColor3 = .(, , )
closeButton.TextSize =
closeButton.Font = .Font.GothamBold
.(, closeButton).CornerRadius = .(, )
minimizeButton = .(, titleBar)
minimizeButton.Name =
minimizeButton.Size = .(, , , )
minimizeButton.Position = .(, -, , )
minimizeButton.BackgroundColor3 = .(, , )
minimizeButton.Text =
minimizeButton.TextColor3 = .(, , )
minimizeButton.TextSize =
minimizeButton.Font = .Font.GothamBold
.(, minimizeButton).CornerRadius = .(, )
contentFrame = .(, .mainFrame)
contentFrame.Name =
contentFrame.Size = .(, -, , -)
contentFrame.Position = .(, , , )
contentFrame.BackgroundTransparency =
getVipButton = .(, contentFrame)
getVipButton.Name =
getVipButton.Size = .(, , , )
getVipButton.Position = .(, -, , -)
getVipButton.BackgroundColor3 = .(, , )
getVipButton.Text =
getVipButton.TextColor3 = .(, , )
getVipButton.TextSize =
getVipButton.Font = .Font.GothamBold
.(, getVipButton).CornerRadius = .(, )
successMessage = .(, contentFrame)
successMessage.Name =
successMessage.Size = .(, , , )
successMessage.Position = .(, , , )
successMessage.BackgroundTransparency =
successMessage.Text =
successMessage.TextColor3 = .(, , )
successMessage.TextSize =
successMessage.Font = .Font.GothamBold
successMessage.Visible =
(i, p, d)
TweenService:(i, TweenInfo.(d, .EasingStyle.Sine, .EasingDirection.Out), p)
(b, h, d)
b.MouseEnter:(()
(b, {
BackgroundColor3 = h
}, ):()
)
b.MouseLeave:(()
(b, {
BackgroundColor3 = d
}, ):()
)
(closeButton, .(, , ), .(, , ))
(minimizeButton, .(, , ), .(, , ))
(getVipButton, .(, , ), .(, , ))
getVipButton.MouseButton1Click:(()
remoteEvent = ReplicatedStorage:()
remoteEvent
groupEvent = remoteEvent:()
groupEvent
specificEvent = groupEvent:()
specificEvent
fireEvent = specificEvent:()
fireEvent
fireEvent:()
successMessage.Visible =
.()
successMessage.Visible =
)
isMinimized =
()
isMinimized = isMinimized
.mainFrame.Visible = isMinimized
closeButton.MouseButton1Click:(()
screenGui:()
)
minimizeButton.MouseButton1Click:(minimizeGui)
isDragging =
dragStartPos, dragStartFramePos
titleBar.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1
isDragging =
dragStartPos = input.Position
dragStartFramePos = .mainFrame.Position
)
UserInputService.InputChanged:((input)
isDragging input.UserInputType == .UserInputType.MouseMovement
delta = input.Position - dragStartPos
.mainFrame.Position = .(dragStartFramePos.X.Scale, dragStartFramePos.X.Offset + delta.X, dragStartFramePos.Y.Scale, dragStartFramePos.Y.Offset + delta.Y)
)
UserInputService.InputEnded:((input)
input.UserInputType == .UserInputType.MouseButton1
isDragging =
)
UserInputService.InputBegan:((input, gameProcessedEvent)
gameProcessedEvent
input.KeyCode == .KeyCode.RightControl
()
)
.mainFrame.Visible =
.mainFrame.Size = .(, , , )
.mainFrame.Position = .(, , , )
.()
TweenService:(.mainFrame, TweenInfo.(, .EasingStyle.Back), {
Size = .(, , , ),
Position = .(, -, , -)
}):()
.mainFrame.Visible =
)
Just a simple VIP Button with gives u VIP