Run it
Copy the script and paste it into your executor.
Players = :()
ReplicatedStorage = :()
UserInputService = :()
player = Players.LocalPlayer
playerGui = player:()
GUI_NAME =
UNLOAD_KEY = .KeyCode.M
OPTIONS = {
{ label = , remoteName = },
{ label = , remoteName = },
{ label = , remoteName = },
{ label = , remoteName = },
{ label = , remoteName = },
}
old = playerGui:(GUI_NAME)
old old:()
connections = {}
unloaded =
(signal, fn)
c = signal:(fn)
.(connections, c)
c
()
unloaded
unloaded =
_, c (connections)
(() c:() )
.(connections)
g = playerGui:(GUI_NAME)
g g:()
:()
gui = .()
gui.Name = GUI_NAME
gui.ResetOnSpawn =
gui.Parent = playerGui
frame = .()
frame.Size = .(, , , )
frame.Position = .(, , , )
frame.BackgroundTransparency =
frame.Parent = gui
title = .()
title.Size = .(, -, , )
title.Position = .(, , , )
title.BackgroundTransparency =
title.TextScaled =
title.Text =
title.Parent = frame
dropdownBtn = .()
dropdownBtn.Size = .(, -, , )
dropdownBtn.Position = .(, , , )
dropdownBtn.TextScaled =
dropdownBtn.Text =
dropdownBtn.Parent = frame
listFrame = .()
listFrame.Size = .(, -, , )
listFrame.Position = .(, , , )
listFrame.BackgroundTransparency =
listFrame.ClipsDescendants =
listFrame.Parent = frame
listLayout = .()
listLayout.SortOrder = .SortOrder.LayoutOrder
listLayout.Padding = .(, )
listLayout.Parent = listFrame
fireBtn = .()
fireBtn.Size = .(, -, , )
fireBtn.Position = .(, , , )
fireBtn.TextScaled =
fireBtn.Text =
fireBtn.Parent = frame
dragging =
dragStart, startPos
(frame.InputBegan, (input)
input.UserInputType == .UserInputType.MouseButton1
dragging =
dragStart = input.Position
startPos = frame.Position
)
(UserInputService.InputChanged, (input)
dragging
input.UserInputType ~= .UserInputType.MouseMovement
delta = input.Position - dragStart
frame.Position = .(
startPos.X.Scale, startPos.X.Offset + delta.X,
startPos.Y.Scale, startPos.Y.Offset + delta.Y
)
)
(UserInputService.InputEnded, (input)
input.UserInputType == .UserInputType.MouseButton1
dragging =
)
dropdownOpen =
selected =
(open)
dropdownOpen = open
dropdownOpen
listFrame.Size = .(, -, , * + * + )
dropdownBtn.Text = (selected (selected.label .. ) )
listFrame.Size = .(, -, , )
dropdownBtn.Text = (selected (selected.label .. ) )
_, opt (OPTIONS)
b = .()
b.Size = .(, -, , )
b.Position = .(, , , )
b.TextScaled =
b.Text = opt.label
b.Parent = listFrame
(b.MouseButton1Click, ()
selected = opt
()
dropdownBtn.Text = opt.label ..
)
(dropdownBtn.MouseButton1Click, ()
( dropdownOpen)
)
(fireBtn.MouseButton1Click, ()
selected
()
remote = ReplicatedStorage:(selected.remoteName)
remote
(, selected.remoteName)
remote:()
)
(UserInputService.InputBegan, (input, gameProcessed)
gameProcessed
input.KeyCode == UNLOAD_KEY
()
)
()
()
Lets you change your class to any other class in the game while keeping the same stats.
Legends of Esculone