how do i code an item that is a magic ability like arcane odyssey where i can change blast size, explosion size, amount of blasts, casting style(animations) and has various attack types where i can bind different attacks or same attacks to different buttons also allowing most of it being able to be changed inside a menu
Is this some kind of request for us to code it for you?
1 Like
i just want someone to give me a good tutorial, if anyone is willing to code for me, sheesh i would be surprised
btw i tried searching on youtube
A tutorial to learn how to script on Roblox would help, because this is all just pretty generic and easy to do
Here’s some things that might help when you develop this “item” though:
- If you want to get all parts in a radius, for example to get all people in a certain range for an explosion, you can use
GetPartsBoundInRadius
, a spatial query method that just gets all parts in a radius at a specific position - If you want to “change the amount of blasts” you can make use of numeric for loops to execute a block of code a certain amount of times
- Animations can be played through
AnimationTrack
, animation tracks are loaded with theAnimator
instance (everyHumanoid
has anAnimator
under it) - Receiving inputs (such as key presses to activate attacks) can be done through
ContextActionService
andUserInputService
, I think this Roblox guide details how to use them Input and Camera | Documentation - Roblox Creator Hub
1 Like
THANK YOU for being a sane person who doesn’t just go “sure, here’s the code! glad you can’t learn anything ” and move on…
1 Like
there are people that really do that?
1 Like