|
| 10 Feb 2015 02:46 PM |
I want to script a gun for Roblox that has many FPS weapon features. I will start with a Tool (renamed to Shotty) that contains a Brick (which is renamed to Handle) which uses the mesh from the Rapid Launch Blaster gear. This is the script I want to have turned into an actual script that works.
------------------------------ When Shotty is equipped ___Lock the (player that equipped the gun)'s camera to first person mode. ___Change cursor to a crosshair image. ___Play an (Equip) noise, can be heard by other players. ___Display (AmmoMeter) When Shotty is shot ___Play a (Gunshot) sound. ___Emit 7 lasers ______Laser properties: ______Lime Green color ______Lime green light (brightness 3, radius 5) ______Velocity: 150 ______Deals 9 damage to any humanoid hit (63 damage total if all 7 lasers hit) ______Multiply damage by 2 if hit a humanoid's head. ______Cancollide = no ______Disappear 10 seconds after being emitted, or disappear instantly when hitting a collidable surface ___Subtract 1 from AmmoCount ___Make player's camera jerk upwards and return to original spot (total time of 0.7 seconds). AmmoCount max value is 10 When AmmoCount is less than 10 ___Allow player to reload Shotty (takes 2.5 seconds and resets AmmoCount to 10) When AmmoCount is 0 ___Clicking plays a (TickNoise) sound and will not shoot or jerk camera. ___Player must reload by pressing R When Shotty is reloading ___Player cannot shoot any lasers. ___Play a (Reload) sound. ___Change AmmoMeter to say "Reloading..." When Shotty is unequipped while reloading ___Stop playing (Reload) sound. ___Stop AmmoCount from resetting to 10
Shotty can only be reloaded by pressing R. While shotty is equipped, the player's arm along with the Shotty will always point at the player's cursor. Arm and Shotty can aim forward, down, up, left, and right, but not backward (Cannot aim in the direction that the player's back is facing.) |
|
|
| Report Abuse |
|
|
|
| 10 Feb 2015 03:38 PM |
| Okay, so you want us to make you a gun for free, and no absolute reason. |
|
|
| Report Abuse |
|
|
cosmo9512
|
  |
| Joined: 20 Jun 2013 |
| Total Posts: 1407 |
|
|
| 10 Feb 2015 03:46 PM |
| We are not your scripting slaves. |
|
|
| Report Abuse |
|
|
| |
|
|
| 10 Feb 2015 04:00 PM |
"I want to script a gun" >doesn't try to script AT ALL |
|
|
| Report Abuse |
|
|
|
| 10 Feb 2015 04:16 PM |
I would do this, but not for free. Add a prize like 500 robux or something and I will do it possibly.
--Gun Fighter Extraordinaire, SoundOfMurder-- |
|
|
| Report Abuse |
|
|
|
| 10 Feb 2015 04:20 PM |
This is a very good outline.
9/10 |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2015 10:53 AM |
@GodShowsTheWay thanks for the support.
@Other Guys hey, at least I said please :C |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2015 11:08 AM |
Hey I want to make a gun too please help me also?
/* Found on Game Creation and Development > Scripters */ |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2015 11:26 AM |
I need help just as much help with making a gun as you do buddy :|
================================================================================ I didn't know what to use for a signature so I used a sentence of me not knowing what to use as a signature for my signature. |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2015 12:23 PM |
@AirickMcCool
Yah know... If you looked at my Signature and my profile. I was trolling you... I can do all of this... |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2015 01:01 PM |
Ok I just got really confused for a moment.
================================================================================ I didn't know what to use for a signature so I used a sentence of me not knowing what to use as a signature for my signature. |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2015 02:17 PM |
| you said please? want a cookie? |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2015 04:06 PM |
Listen man, this is a really good outline, flowchart, whatever. I think if you put your mind to it, you would pick up scripting really easily!
~Upload code to codepad-dot-org with Lua syntax highlighting to preserve indentation and make it easier to read!~ |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2015 04:08 PM |
@mike Yeah. It's good for "unplugged" scripting. |
|
|
| Report Abuse |
|
|
cosmo9512
|
  |
| Joined: 20 Jun 2013 |
| Total Posts: 1407 |
|
|
| 11 Feb 2015 11:42 PM |
@Airick Where in the post did you say please? |
|
|
| Report Abuse |
|
|
|
| 12 Feb 2015 08:28 AM |
@nicemike40 That code.org thing looks interesting. Could you help me figure out how exactly to use it please? =3
================================================================================ I didn't know what to use for a signature so I used a sentence of me not knowing what to use as a signature for my signature. |
|
|
| Report Abuse |
|
|
|
| 12 Feb 2015 02:07 PM |
It won't really help you code, I just find it's easier to debug a person's code if it's already properly highlighted and indented. The indentation problem might have been fixed by the forums since I last updated my signature, though.
Basically, you go to codepag.org and choose "Lua" from the list on the left. You can uncheck "run code" if you want, it will usually just print an error message, and then press submit and post the URL on the forums like this: http://codepad.org/OqpLKwhq
or, if you're afraid of ROBLOX banning you for a day for posting links on the forums (happened to me once w/ codepad, even though Stravant used to use it often) you could just say
codepad: OqpLKwhq
and people will probably figure it out
~Upload code to codepad-dot-org with Lua syntax highlighting to preserve indentation and make it easier to read!~ |
|
|
| Report Abuse |
|
|
|
| 12 Feb 2015 03:11 PM |
| I guess I could do this to this to improve my skills at tool-making, since I have nothing else to do right now. But note a gun model will not be included, only a block. I'll probably have it done and reply here with the link tomorrow. |
|
|
| Report Abuse |
|
|
|
| 12 Feb 2015 08:00 PM |
| Thanks so much for being able to help me with this! Also, to make the block look like a gun, just get the Rapid Launch Blaster from free models, and remove everything except for the Tool, Handle, and Mesh |
|
|
| Report Abuse |
|
|