|
| 03 Sep 2013 03:29 AM |
Well i've been trying to fix this but i've ran out of ideas. This is a script that happens when the mouse "hovers" on the block.
while wait() do local pla=game.Players:GetChildren() for i =1,#pla do local mouse = pla[i]:GetMouse() if pla[i].mouse.Target ~=nil then if pla[i].mouse.Target == script.Parent then print 'Done' script.Parent:remove()
end end end end |
|
|
| Report Abuse |
|
|
YEGGOR
|
  |
| Joined: 02 Apr 2013 |
| Total Posts: 1150 |
|
|
| 03 Sep 2013 03:41 AM |
Or:
repeat wait() until game.Players.LocalPlayer ~= nil player = game.Players.LocalPlayer mouse = player:getMouse()
function mouseMoved(m) -- BLAH end
mouse.MouseMove:connect(mouseMoved)
that should work |
|
|
| Report Abuse |
|
|
|
| 03 Sep 2013 07:26 AM |
| 20:25:06.501 - MouseMove is not a valid member of PlayerMouse |
|
|
| Report Abuse |
|
|
|
| 03 Sep 2013 07:42 AM |
Just replying to this for future reference.
【◄[ϟ]〓☜✪ xWOWZABOYx; FCOM, SQN COM, Scientist, Veteran, Visionary ✪☞〓[ϟ]►】 |
|
|
| Report Abuse |
|
|
|
| 03 Sep 2013 07:46 AM |
| I gave you this script, And I said it has to be in a script, in a brick, didn't I? |
|
|
| Report Abuse |
|
|