|
| 27 Nov 2015 11:51 AM |
Hi, I currently made a script where you click it and it displays a hint but how do you add the part where you know someone clicked if you know what I mean. Here is the script.
function onclicked() local h = Instance.new("Hint") h.Parent = game.Workspace h.Text = "Assistance at check in please." wait(4) h:Remove() end
script.Parent.ClickDetector.MouseClick:connect(onclicked) |
|
|
| Report Abuse |
|
Bebee2
|
  |
| Joined: 17 May 2009 |
| Total Posts: 3985 |
|
|
| 27 Nov 2015 11:55 AM |
-- http://wiki.roblox.com/index.php?title=API:Class/ClickDetector/MouseClick
function onclicked(DUDEWHOCLICKED) print(DUDEWHOCLICKED.Name, 'has clicked this button!') local h = Instance.new("Hint") h.Parent = game.Workspace h.Text = "Assistance at check in please." wait(4) h:Remove() end
script.Parent.ClickDetector.MouseClick:connect(onclicked)
|
|
|
| Report Abuse |
|