Roblox Raycasting Laser Gun
Any help on how i would go about it.
Roblox raycasting laser gun. See description fastcast and thousands of other assets to build an immersive game or experience. Select from a wide range of models decals meshes plugins or audio that help bring your imagination into reality. Hello everyone this is catbloxive been a long time member of roblox five years and still going and a scripter for a little over half that time. Local partpositionnormal gameworkspacefindpartonrayraycastplayercharacter falsetrue local dist top frompmagnitude if not dist then dist 300 end.
Once cast you can detect if the ray hits a basepart or terrain cell. Roblox raycast gun tutorialbullet holes duration. Local tool scriptparent local player gamegetserviceplayerslocalplayer local mouse playergetmouse local canplay true local mousedown false equipped false toolequippedconnectfunction equipped true mousebutton1downconnectfunction. Lets begin learning how to create a laser gun using ray casting to kill our zombie.
I made a laser gun using robloxs tutorial and i want to make it fe compatible.