|
| 21 Jul 2015 07:54 AM |
building = player.PlayerGui.Properties.Frame.Build.MouseButton1Down:connect(function()
"connect is not a valid member"
I have similar functions in my script (:connect(function())), and they all work.
I also tried ...Build.Mouse.Button1Down:connect(function() but that doesn't seem to work ("Mouse is not a valid member of TextButton") |
|
|
| Report Abuse |
|
|
| |
|
AlgyLacey
|
  |
| Joined: 14 Jun 2013 |
| Total Posts: 3736 |
|
|
| 21 Jul 2015 08:07 AM |
Are you sure it's a textbutton or an imagebutton?
{-[ Check this out! http://www.roblox.com/games/217210581/Farmulator ]-} |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 21 Jul 2015 08:20 AM |
| player.PlayerGui.Properties.Frame.Build = player.PlayerGui.ScreenGui.Frame.TextButton |
|
|
| Report Abuse |
|
|
| |
|
AlgyLacey
|
  |
| Joined: 14 Jun 2013 |
| Total Posts: 3736 |
|
|
| 21 Jul 2015 08:53 AM |
player.PlayerGui.ScreenGui.Frame.TextButton.MouseButton1Click:connect(function()
end
Try that
{-[ Check this out! http://www.roblox.com/games/217210581/Farmulator ]-} |
|
|
| Report Abuse |
|
|
|
| 21 Jul 2015 09:17 AM |
| frame is not a valid member of ScreenGui :/ |
|
|
| Report Abuse |
|
|
| |
|
| |
|
soved
|
  |
| Joined: 04 Jan 2013 |
| Total Posts: 216 |
|
| |
|