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

How would you script fireball or any part based projectile weapon?

The way i do it is the make the trigger, getting the mouse position, on the client side, and do everything else on the server side, from creating the projectile, its visual, setting its velocities, and collision detection.

I'm sure theres a lot more efficient algorithm out there, how would you script your fireball?

2 answers

sry for my bad english

Like u said :

Getting the mouse.position on the client side and do everything else on server side

I dont know if there any other ways to do it.

Have a good day :D

1 comment

0

When I find other ways I let you know about it

I usually spawn my fireballs at the client’s head, send the server Mouse.Hit and then spawn it from there.

It’s best to do all things that can be abuse able on the server rather then the client.

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