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 » Scripters
Home Search
 

mouse.target following for an attack

Previous Thread :: Next Thread 
greenwolf6504 is not online. greenwolf6504
Joined: 08 Apr 2010
Total Posts: 60
28 Jan 2016 05:37 PM
basically i am trying to make an attack where the attack follows the mouse pointer for a little while so wherever i move my mouse the attack follows. Im a decent scripter so all i ned is for someone to lay the foundations for it as i learn very quickly, also if i could get some help and tips on raycasting aswell thnx a lot guys. Finally the best way for me to learn would be an example i would be eternally greatful if i could get some help thnx guys.
Report Abuse
xlaser23 is not online. xlaser23
Joined: 10 Dec 2011
Total Posts: 20341
28 Jan 2016 05:44 PM
local mouse = game.Players.LocalPlayer:GetMouse()
mouse.Hit.p



http://www.roblox.com/xla-item?id=290739801http://www.roblox.com/aser-item?id=290739819http://www.roblox.com/23-item?id=290739831 R$1,174 Tx309 (づ ゚ ³ ゚)づ
Report Abuse
HexC3D is not online. HexC3D
Joined: 30 Jun 2012
Total Posts: 10044
28 Jan 2016 06:24 PM
No I think he's trying to create a tool that fires something but the part released follows where the mouse is pointing at.

So he's confused between Mouse.target and raycasting..
Report Abuse
greenwolf6504 is not online. greenwolf6504
Joined: 08 Apr 2010
Total Posts: 60
28 Jan 2016 06:30 PM
Yeh, can i please get some other help on raycasting and examples pl
Report Abuse
HexC3D is not online. HexC3D
Joined: 30 Jun 2012
Total Posts: 10044
28 Jan 2016 07:59 PM
bump 4 him
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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