Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How i can make an wand that use chat spells?

Hey! I have been trying to make a magic game where you hold a wand, say a spell and the spell that you said shoots from the tip of your wand to where your mouse is at. Like Wizard Wars game. But i don't know how to make them. And i hope someone can give me some help.

2 answers

You'd most likely have to use the Player.Chatted event. It will tell you when a player has chatted, and you would be able to check if their message is a spell.

Here is an example:

player.Chatted:Connect(function(message)
	
	if message == "Magic!" then

		--Code for certain spell goes here

	end

end)

I did 2 spells in one script levicorpus and avada kedavra, but i dont know how to add trails to spells. Maybe you have an idea?

1 comment

0

Move an invisible part with a trail inside it maybe

This discussion is preserved as it was. New answers, comments, and votes are closed.