|
| 01 Oct 2014 09:05 PM |
function onClicked() script.Disabled = true msg = Instance.new("Message", Workspace) msg.Text = "Message Here" wait(5) msg:remove() wait(1) script.Disabled = false end
script.Parent.MouseButton1Down:connect(onClicked)
Uh it displays it to the whole server
how do I fix this? |
|
|
| Report Abuse |
|
|
drager980
|
  |
| Joined: 25 May 2009 |
| Total Posts: 13385 |
|
|
| 01 Oct 2014 09:06 PM |
local player = game.Players.LocalPlayer function onClicked() script.Disabled = true msg = Instance.new("Message", player.PlayerGui) -- was displaying publicly on workspace msg.Text = "Message Here" wait(5) msg:remove() wait(1) script.Disabled = false end
script.Parent.MouseButton1Down:connect(onClicked) test that out if the script this is in is a local script get rid of local at the top |
|
|
| Report Abuse |
|
|
| |
|
|
| 01 Oct 2014 09:11 PM |
The message doesn't even pop up...
Can you try something else I am all out of ideas... |
|
|
| Report Abuse |
|
|
drager980
|
  |
| Joined: 25 May 2009 |
| Total Posts: 13385 |
|
|
| 01 Oct 2014 09:18 PM |
| ok is the script that its in have a little dude in the icon (localscript or normal script) |
|
|
| Report Abuse |
|
|
iiEssence
|
  |
| Joined: 18 Jun 2014 |
| Total Posts: 3467 |
|
|
| 01 Oct 2014 09:20 PM |
| This only works online btw, try if you tried solo instead. |
|
|
| Report Abuse |
|
|
|
| 01 Oct 2014 09:28 PM |
| Drager script requires it to be a local script |
|
|
| Report Abuse |
|
|