![]() Local rootPart = character:FindFirstChild("HumanoidRootPart") Local humanoid = character:FindFirstChildOfClass("Humanoid") ![]() As for animations and effects, I will be handling it via module scripts which should be reasonably more easier.īy the way, might of already said this, please tell me if there is any posts that directly help me with this, I might not of found it, and I will accept fault for that.Here are the two main functions you may want to consider trying for your weapon: local function fling(character) I understand there are many tutorials on youtube for this, but none of them actually point you to making a advanced gun I may be wrong, I haven’t thoroughly searched youtube, but am pretty sure, making this post I also do hope to help some people.Īt the moment I just want to learn about how to do the specific functionality of the gun, the cosmetics of the actual gun model will not be much, probably just a few parts, just to learn the functionality for now. FastCast is an option of firing the projectiles.Īnyways, I need some specific instructions on how I make the gun. Server either fires a projectile/ray after condition is met or does something else.ĬAUTION! Physical projectiles will lag if not done correctly.Server checks if it can fire or not depending on tool’s parent, player’s health etc.Server or client-side, preferably server.Method of firing projectiles - rays or physical projectiles.What do you need to know to make a weapon?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |