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: Laser Firing

Previous Thread :: Next Thread 
madness725 is not online. madness725
Joined: 19 Apr 2011
Total Posts: 2058
02 Nov 2013 12:06 AM
Ok, So when you make a gun script you have have usually a script, at least I hope so, and it looks for the handle in the tool. Is there a way to Not use a handle so I can shoot a laser out of my arm?
Report Abuse
FrozenSmite is not online. FrozenSmite
Joined: 17 Jul 2013
Total Posts: 2242
02 Nov 2013 12:13 AM
m=game.Players:GetMouse()
m.Button1Down:connect(function()
print(mouse.Hit.p)
end)

♫♪ repeat wait() until game.Players.FrozenSmite.HasALife == true ♪♫
Report Abuse
madness725 is not online. madness725
Joined: 19 Apr 2011
Total Posts: 2058
02 Nov 2013 12:15 AM
I didn't need the code, just a general idea on how I could do it

I already have some code written out..

Mouse.KeyDown:connect(function(k)
k = k:lower()
if k == "f" then
print("Printed")
end
end)
Report Abuse
FrozenSmite is not online. FrozenSmite
Joined: 17 Jul 2013
Total Posts: 2242
02 Nov 2013 11:16 PM
I just showed u to use localplayer:getmouse() so u dont need a tool...

♫♪ repeat wait() until game.Players.FrozenSmite.HasALife == true ♪♫
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