generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: How to make a gun..

Previous Thread :: Next Thread 
robloxer8282 is not online. robloxer8282
Joined: 25 Dec 2012
Total Posts: 819
03 Aug 2014 06:19 PM
How do I make a gun pl0x?
Report Abuse
iDemum is not online. iDemum
Joined: 17 Jan 2010
Total Posts: 56
03 Aug 2014 06:21 PM
0_0 GTFO Noob.
Report Abuse
plistra is not online. plistra
Joined: 12 Mar 2014
Total Posts: 859
03 Aug 2014 06:22 PM
You buy a bunch of stuff online and then build it...

-o wait, on RBLX?

no, u cant,
get out scrub
Report Abuse
Kodran is not online. Kodran
Joined: 15 Aug 2013
Total Posts: 5330
03 Aug 2014 06:22 PM
When they click do a raycast to their lookvector then if the returned part's parent has a humanoid then subtract its health by whatever number.
Report Abuse
robloxer8282 is not online. robloxer8282
Joined: 25 Dec 2012
Total Posts: 819
03 Aug 2014 06:25 PM
You can make a gun..

@Kodran
I can't script D:
Report Abuse
VerifiedName is not online. VerifiedName
Joined: 26 Jul 2009
Total Posts: 4534
03 Aug 2014 06:29 PM
"You can make a gun.."

no, he said YOU can't.
Report Abuse
robloxer8282 is not online. robloxer8282
Joined: 25 Dec 2012
Total Posts: 819
03 Aug 2014 06:33 PM
Forget it, if no one is going to help I will just google it.
Report Abuse
plistra is not online. plistra
Joined: 12 Mar 2014
Total Posts: 859
03 Aug 2014 06:33 PM
That's not what I meant, but sure,
that's what I mean now.

meaning = that
meaning = false
wait(180)
meaning = true
Report Abuse
robloxer8282 is not online. robloxer8282
Joined: 25 Dec 2012
Total Posts: 819
03 Aug 2014 06:33 PM
Or edit a free model :333
Report Abuse
Kodran is not online. Kodran
Joined: 15 Aug 2013
Total Posts: 5330
03 Aug 2014 06:34 PM
okay like

local cam = workspace.CurrentCamera
local plr = game.Players.LocalPlayer
local mouse = plr:GetMouse()

mouse:GetMouseDown:connect(function()
--make like a raycast idk or something and like do like cam.lookVector * whatever for like the direction or something.
local part, endpoint = workspace.Actually do the raycast here
if part.Parent:FindFirstChild("Humanoid") ~= nil then
part.Parent:FindFirstChild("Humanoid").Health = part.Parent:FindFirstChild("Humanoid").Health - 10
end
end)
Report Abuse
Accomplishable is not online. Accomplishable
Joined: 13 Aug 2009
Total Posts: 6207
03 Aug 2014 06:34 PM
as if using google will help you make a gun outta no where. Just go to free models and use manofthelol's output-spamming guns.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image