Run it
Copy the script and paste it into your executor.
local UserInputService = game:GetService("UserInputService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local TextChatService = game:GetService("TextChatService")
local spellKeybinds = {
[Enum.KeyCode.Q] = "protego",
[Enum.KeyCode.E] = "expelliarmus",
[Enum.KeyCode.R] = "apparate",
[Enum.KeyCode.F] = "avada kedavra",
[Enum.KeyCode.G] = "deletrius",
[Enum.KeyCode.Z] = "duro",
[Enum.KeyCode.X] = "impedimentia",
[.KeyCode.C] = ,
[.KeyCode.V] = ,
[.KeyCode.B] =
}
cooldowns = {}
(message)
TextChatService.ChatVersion == .ChatVersion.TextChatService
channels = TextChatService:()
channels
rbxGeneral = channels:()
rbxGeneral
rbxGeneral:(message)
ChatEvents = ReplicatedStorage:()
ChatEvents
SayMessageRequest = ChatEvents:()
SayMessageRequest
SayMessageRequest:(message, )
UserInputService.InputBegan:((input, gameProcessed)
gameProcessed
key = input.KeyCode
spell = spellKeybinds[key]
spell cooldowns[key]
(spell)
cooldowns[key] =
.()
cooldowns[key] =
)Remappable keybinds for this game ( [Enum.KeyCode.Q] = "protego", ) (change protego for any other spell etc.
Magic Training