Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Credits OOGABOOGA#1023 dm if you need help or want to add spells and have confusion on how to
- --Hotkey M makes it so there is no precast spell and you can type manually
- bomb = "Bombarda" --Hotkey is f
- stone = "Duro" --Hotkey is g
- heal = "Vulnera Sanentur" --Hotkey is h
- no = "Expelliarmus" --Hotkey is j
- teleport = "Appa" --Hotkey is k
- die = "Infernum" --Hotkey is P
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "f" then
- cast = 1
- while wait() do
- game.Players:chat(bomb)
- if cast ~= 1 then return end
- end
- elseif key == "m" then
- cast = 0
- end
- end)
- mouse.KeyDown:connect(function(key1)
- if key1 == "g" then
- cast = 2
- while wait() do
- game.Players:chat(stone)
- if cast ~= 2 then return end
- end
- elseif key == "m" then
- cast = 0
- end
- end)
- mouse.KeyDown:connect(function(key2)
- if key2 == "h" then
- cast = 3
- while wait() do
- game.Players:chat(heal)
- if cast ~= 3 then return end
- end
- elseif key == "m" then
- cast = 0
- end
- end)
- mouse.KeyDown:connect(function(key3)
- if key3 == "j" then
- cast = 4
- while wait() do
- game.Players:chat(no)
- if cast ~= 4 then return end
- end
- elseif key == "m" then
- cast = 0
- end
- end)
- mouse.KeyDown:connect(function(key4)
- if key4 == "k" then
- cast = 5
- while wait() do
- game.Players:chat(teleport)
- if cast ~= 5 then return end
- end
- elseif key == "m" then
- cast = 0
- end
- end)
- mouse.KeyDown:connect(function(key5)
- if key5 == "p" then
- cast = 6
- while wait() do
- game.Players:chat(die)
- if cast ~= 6 then return end
- end
- elseif key == "m" then
- cast = 0
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement