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
 

Re: Tutorial: Getting the Mouse.hit.p in a non-Local script

Previous Thread :: Next Thread 
sonihi is not online. sonihi
Joined: 27 Jun 2009
Total Posts: 3655
24 Feb 2016 12:20 AM
All humanoids have a value called "target point". For players this is equivalent to mouse.hit.p and can be accessed through the player's humanoid.


Report Abuse
OzzyFin is not online. OzzyFin
Joined: 07 Jun 2011
Total Posts: 3600
24 Feb 2016 12:21 AM
except that it won't replicate with FE
Report Abuse
morashsPeasant is not online. morashsPeasant
Joined: 06 Jan 2011
Total Posts: 4944
24 Feb 2016 12:21 AM
I don't think that's what "TargetPoint" is for.
http://wiki.roblox.com/index.php?title=API:Class/Humanoid/TargetPoint
Report Abuse
sonihi is not online. sonihi
Joined: 27 Jun 2009
Total Posts: 3655
24 Feb 2016 12:26 AM
Also this can be used for things like AimBot in NPCs


Report Abuse
OzzyFin is not online. OzzyFin
Joined: 07 Jun 2011
Total Posts: 3600
24 Feb 2016 12:27 AM
how does server have anything to do with "aimbot" which is handled client side
Report Abuse
sonihi is not online. sonihi
Joined: 27 Jun 2009
Total Posts: 3655
24 Feb 2016 12:29 AM
I tested it and it did exactly what I said.
I also tried it with some NPC that have "WalkTo" in them and the WalkToPosition is different from the TargetPoint.


Report Abuse
sonihi is not online. sonihi
Joined: 27 Jun 2009
Total Posts: 3655
24 Feb 2016 12:34 AM
Okay I owe all you guys an apology: IT only works with tools enabled. However at that it does work with filteringenabled.


"how does server have anything to do with "aimbot" which is handled client side"
NPCS damnit. I tried some adapting of tools, and found it works to make them aim at the player.



Report Abuse
OzzyFin is not online. OzzyFin
Joined: 07 Jun 2011
Total Posts: 3600
24 Feb 2016 12:38 AM
misread

how does mouse's position have anything to do with where npcs look
and no, it doesn't replicate with FE when changed client side
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