Roblox raycast projectile. Currently the wand functions via the client in which fires an event to transfer it to a server script which then finds the required module in relation to the spell and casts it. Raycast is one of the millions playing creating and exploring the endless possibilities of roblox. Just so you know im not the most experienced of scripters.
Join raycast on roblox and explore together21lightkills 2nd official alt. Select from a wide range of models decals meshes plugins or audio that help bring your imagination into reality. Its one of the millions of unique user generated 3d experiences created on roblox.
Projectile raycast roblox check out projectile raycast. Local partpositionnormal gameworkspacefindpartonrayraycastplayercharacter falsetrue local dist top frompmagnitude if not dist then dist 300 end. My issue being that upon impact theres a brief but noticeable delay of around about 1 2 seconds before.
Im currently using a gun script made back in 2013not my own which from what i can tell moves a part along a raycast beam using c frame like as i said before im not the best at understanding what i presume to be complex code so im not. Im trying to change the original ray projectile fired by the script into a cylinder mesh but it doesnt seem to be working correctly. Projectile scriptrbxm 44 kb roblox projectile script.
Check out projectile raycast. Advanced roblox scripting tutorial 24 raycasting begainner to pro 2019 hey guys welcome back to a brand new roblox scripting tutorial. Been working on a wand for some time now and having issues finding any solution to the projectile delay.
Projectile made default owner is nearest player your script then sets it to nil server gets confused and there is a jitter as it transfers ownership to nobody.