|
| 02 Sep 2013 04:58 AM |
For example : I move my house over a certain brick and an info message appears.
How would I do that? Sorry still learning the tips and tricks. Need professional help.
|
|
|
| Report Abuse |
|
|
|
| 02 Sep 2013 05:41 AM |
script.Parent.MouseEnter:connect(function() script.Parent.Visible = false end)
script.Parent.MouseLeave:connect(function() script.Parent.Visible = true end)
something like this. |
|
|
| Report Abuse |
|
|
|
| 02 Sep 2013 05:57 AM |
| Doesn't quite work for a brick. It works for a gui though. |
|
|
| Report Abuse |
|
|
|
| 02 Sep 2013 06:42 AM |
Oh sorry, read it wrong. Lol,
You could do something like this:
local players = game.Players:GetChildren()
while wait() do for i =1,#players do local mouse = players[i]:GetMouse() if players[i].mouse.Target ~=nil then if players[i].mouse.Target == script.Parent then -- Yay do stuff you want to do end end end end |
|
|
| Report Abuse |
|
|