FatalWingJoin Date: 2011-08-25 Post Count: 1913 |
Do I just look at other gun scripts or the wiki. I need to know the best way to learn about them. I just want to make a simple gun that where I click a yellow laser comes from the gun to the spot I clicked .-.
Ik how to make tools and make objects be picked up. |
|
smiley599Join Date: 2010-01-23 Post Count: 21869 |
|
|
FatalWingJoin Date: 2011-08-25 Post Count: 1913 |
Thank you! |
|
FatalWingJoin Date: 2011-08-25 Post Count: 1913 |
How do I add touch interest? |
|
FatalWingJoin Date: 2011-08-25 Post Count: 1913 |
Nvm it magically has it now |
|
|
TouchInterest is added when you connect the .Touched event to a BasePart.
http://wiki.roblox.com/index.php?title=Touched |
|
FatalWingJoin Date: 2011-08-25 Post Count: 1913 |
Everything works but the bullet comes out of my hand not the barrel. |
|
smiley599Join Date: 2010-01-23 Post Count: 21869 |
There's a line like
bullet.CFrame={something}.CFrame
I believe
add something like this
bullet.CFrame={something}.CFrame*CFrame.new(0,1,0)
That will but the bullet 1 stud higher. Keep experimenting with that until it comes out right. |
|
FatalWingJoin Date: 2011-08-25 Post Count: 1913 |
Whenever I de-select and re-select the tool falls apart, but the handle stays on |
|
|
It needs to weld on equip.
I hate the LGBT. Those laser guided battle tanks are just too damn powerful. |
|
FatalWingJoin Date: 2011-08-25 Post Count: 1913 |
Now I just need to make it ignore players hats. |
|
FatalWingJoin Date: 2011-08-25 Post Count: 1913 |
bump |
|
|
What does your .Touched event look like for the projectiles? Post that and I can make it ignore BaseParts with a Parent whose ClassName is "Hat". |
|
FatalWingJoin Date: 2011-08-25 Post Count: 1913 |
Umm, I don't know what you mean. I'm an idiot when it comes to scripting. I'm using the wiki's raycast script
|
|