Run it
Copy the script and paste it into your executor.
Players = :()
LocalPlayer = Players.LocalPlayer
UserInputService = :()
TextChatService = :()
Keybinds = {}
BindingTarget =
ScreenGui
SpellButtons = {}
SoundId =
BindSound = .()
BindSound.SoundId = SoundId
BindSound.Volume =
BindSound.Parent = :()
()
BindSound
BindSound:()
Spells = {
[] = {
, , , , ,
, , ,
,
},
[] = {
, , ,
},
[] = {
, , , ,
, , , , ,
, , , ,
},
[] = {
, , , ,
, , , ,
, , , ,
, , , ,
, , , , ,
, , , ,
,
}
}
(spellName)
TextChatService.ChatVersion == .ChatVersion.TextChatService
TextChannels = TextChatService:()
TextChannels
RBXGeneral = TextChannels:()
RBXGeneral
RBXGeneral:(spellName)
Chat = :():()
Chat
SayMessage = Chat:()
SayMessage
SayMessage:(spellName, )
(SpellName)
ScreenGui
Btn = SpellButtons[SpellName]
Btn
bind = Keybinds[SpellName]
BindingTarget == SpellName
Btn.Text = .. SpellName
Btn.BackgroundColor3 = .(, , )
Btn.TextColor3 = .(, , )
bind
Btn.Text = .. (bind.Name):() .. .. SpellName
Btn.BackgroundColor3 = .(, , )
Btn.BackgroundTransparency =
Btn.TextColor3 = .(, , )
Btn.Text = SpellName
Btn.BackgroundColor3 = .(, , )
Btn.BackgroundTransparency =
Btn.TextColor3 = .(, , )
(query)
query = .(query)
SpellName, Btn (SpellButtons)
.(.(SpellName), query) ~=
Btn.Visible =
Btn.Visible =
Category, SpellList (Spells)
hasVisibleSpell =
_, SpellName (SpellList)
Btn = SpellButtons[SpellName]
Btn Btn.Visible
hasVisibleSpell =
Header = ScreenGui.MainFrame.ScrollFrame:( .. Category)
Header Header.Visible = hasVisibleSpell
()
ScreenGui ScreenGui:()
ScreenGui = .()
ScreenGui.Name =
ScreenGui.ResetOnSpawn =
ScreenGui.Parent = LocalPlayer:()
MainFrame = .()
MainFrame.Name =
MainFrame.Size = .(, , , )
MainFrame.Position = .(, , , -)
MainFrame.BackgroundColor3 = .(, , )
MainFrame.BorderSizePixel =
MainFrame.Active =
MainFrame.Parent = ScreenGui
Stroke = .()
Stroke.Color = .(, , )
Stroke.Thickness =
Stroke.Parent = MainFrame
Corner = .()
Corner.CornerRadius = .(, )
Corner.Parent = MainFrame
Title = .()
Title.Name =
Title.Size = .(, , , )
Title.BackgroundColor3 = .(, , )
Title.TextColor3 = .(, , )
Title.Text =
Title.Font = .Font.GothamBold
Title.TextSize =
Title.Parent = MainFrame
TitleCorner = .()
TitleCorner.CornerRadius = .(, )
TitleCorner.Parent = Title
SearchBox = .()
SearchBox.Name =
SearchBox.Size = .(, -, , )
SearchBox.Position = .(, , , )
SearchBox.BackgroundColor3 = .(, , )
SearchBox.TextColor3 = .(, , )
SearchBox.PlaceholderText =
SearchBox.PlaceholderColor3 = .(, , )
SearchBox.Font = .Font.Gotham
SearchBox.TextSize =
SearchBox.ClearTextOnFocus =
SearchBox.Parent = MainFrame
SearchCorner = .()
SearchCorner.CornerRadius = .(, )
SearchCorner.Parent = SearchBox
SearchBox:():(()
(SearchBox.Text)
)
ScrollFrame = .()
ScrollFrame.Name =
ScrollFrame.Size = .(, -, , -)
ScrollFrame.Position = .(, , , )
ScrollFrame.BackgroundTransparency =
ScrollFrame.ScrollBarThickness =
ScrollFrame.ScrollBarImageColor3 = .(, , )
ScrollFrame.Parent = MainFrame
Layout = .()
Layout.Padding = .(, )
Layout.Parent = ScrollFrame
Category, SpellList (Spells)
CatLabel = .()
CatLabel.Name = .. Category
CatLabel.Size = .(, , , )
CatLabel.BackgroundTransparency =
CatLabel.Text = Category
CatLabel.TextColor3 = .(, , )
CatLabel.TextXAlignment = .TextXAlignment.Left
CatLabel.Font = .Font.GothamBold
CatLabel.TextSize =
CatLabel.Parent = ScrollFrame
_, SpellName (SpellList)
Btn = .()
Btn.Name = SpellName
Btn.Size = .(, , , )
Btn.BackgroundColor3 = .(, , )
Btn.BackgroundTransparency =
Btn.TextColor3 = .(, , )
Btn.Font = .Font.Gotham
Btn.TextSize =
Btn.Text = SpellName
Btn.TextXAlignment = .TextXAlignment.Left
Btn.Parent = ScrollFrame
BtnCorner = .()
BtnCorner.CornerRadius = .(, )
BtnCorner.Parent = Btn
BtnPadding = .()
BtnPadding.PaddingLeft = .(, )
BtnPadding.Parent = Btn
SpellButtons[SpellName] = Btn
Btn.MouseButton1Click:(()
(SpellName)
)
Btn.MouseButton2Click:(()
BindingTarget == SpellName
BindingTarget =
BindingTarget = SpellName
s, _ (SpellButtons) (s)
)
ScrollFrame.CanvasSize = .(, , , Layout.AbsoluteContentSize.Y + )
UserInputService.InputBegan:((Input, GameProcessed)
GameProcessed
Input.KeyCode == .KeyCode.F5
ScreenGui.Enabled = ScreenGui.Enabled
Input.KeyCode == .KeyCode.LeftControl BindingTarget
Keybinds[BindingTarget] =
(BindingTarget)
BindingTarget =
()
BindingTarget
Input.KeyCode ~= .KeyCode.Unknown Input.UserInputType == .UserInputType.Keyboard
NewKey = Input.KeyCode
OldSpell =
SpellName, Key (Keybinds)
Key == NewKey
OldSpell = SpellName
OldSpell
Keybinds[OldSpell] =
(OldSpell)
Keybinds[BindingTarget] = NewKey
BoundSpell = BindingTarget
BindingTarget =
(BoundSpell)
()
SpellName, Key (Keybinds)
Input.KeyCode == Key
(SpellName)
)
()added gui! left ctrl to unbind, right click then key to bind
Magic Training