Klink45
|
  |
| Joined: 06 Jun 2011 |
| Total Posts: 26054 |
|
|
| 21 Mar 2015 11:13 PM |
I've seen this done in tools, but how? Like let's say I have the mouse as a black dot and then a red dot when it goes over a player. How do I do that?
Also sorry about the title, I had to shorten it. |
|
|
| Report Abuse |
|
|
|
| 21 Mar 2015 11:23 PM |
player = game.Players.LocalPlayer mouse = player:GetMouse () while true do -- eh lol lagfest playercheck = mouse.Target.Parent:FindFirstChild ("Humanoid") if playercheck then print (mouse.Target.Parent.Name) end else print "not player" end |
|
|
| Report Abuse |
|
|
|
| 21 Mar 2015 11:24 PM |
OOPS major mistake add a wait in there else print "not player" wait(.5) |
|
|
| Report Abuse |
|
|
|
| 21 Mar 2015 11:26 PM |
If this works you can switch the print "(mouse.Target.Parent.Name" with mouse.Icon "(red dot URL Here)" |
|
|
| Report Abuse |
|
|
Klink45
|
  |
| Joined: 06 Jun 2011 |
| Total Posts: 26054 |
|
|
| 21 Mar 2015 11:29 PM |
@super I'm really sure that's a rather inefficient way of doing it. |
|
|
| Report Abuse |
|
|
|
| 21 Mar 2015 11:30 PM |
| I know that's why I put lagfest lol kinda lazy though to optimize it... but does it work? |
|
|
| Report Abuse |
|
|
Klink45
|
  |
| Joined: 06 Jun 2011 |
| Total Posts: 26054 |
|
|
| 21 Mar 2015 11:31 PM |
| I can't fix your code, it says I'm missing an end but I'm having a really hard time figuring out where to put it. |
|
|
| Report Abuse |
|
|
|
| 21 Mar 2015 11:33 PM |
well it should say expected end to close if or while function if you tell me which I can fix it but maybe it's just end else print "not player" end end |
|
|
| Report Abuse |
|
|
| |
|
|
| 21 Mar 2015 11:35 PM |
| Either way you can just use some of the techniques I used in mine and make your own its just an example. |
|
|
| Report Abuse |
|
|
Klink45
|
  |
| Joined: 06 Jun 2011 |
| Total Posts: 26054 |
|
|
| 21 Mar 2015 11:35 PM |
| Well I'll just go find a free model tool with it and check out what they did. |
|
|
| Report Abuse |
|
|
Klink45
|
  |
| Joined: 06 Jun 2011 |
| Total Posts: 26054 |
|
|
| 21 Mar 2015 11:36 PM |
| Ok super I'll try that out. |
|
|
| Report Abuse |
|
|
Klink45
|
  |
| Joined: 06 Jun 2011 |
| Total Posts: 26054 |
|
|
| 21 Mar 2015 11:41 PM |
| Well I'm bumping this because free models aren't helping. |
|
|
| Report Abuse |
|
|