im trying to make a gun in roblox by scripting and ill need to take 2 steps 1 creating the block 2 making deal damage and both seem kinda hard but first i need to make a block from a part to the mouse and i looked it up on the roblox side of coding but i couldnt find how to specify where the block is at or if theres a way to make it go from 1 thing to another
COMMUNITY QUESTION
specific block cordinates with instance.new ?
1 answer
I Dont want a script done for me i just want to learn
1 comment
0
please?
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
I recommend looking up on the wiki about raycasting.
You can also see this http://devforum.roblox.com/t/how-to-reflect-rays-on-hit/18143 for making rays. Mess with the stepdistance and stepwait variable to your liking.