|
| 20 Nov 2016 03:12 PM |
| Hello all, I'm trying to make a gatted barrier open however I'm not sure how to do it. I'm using a button in a different place and I don't know what to put in the button either, I tried using the roblox wiki however nothing happens when I press the button, yes I put a click detector inside. |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 20 Nov 2016 03:18 PM |
--server script
local button = script.Parent local bool = false
button.ClickDetector.MouseClick:connect(function() bool = not bool workspace.Barrier.CanCollide = not bool if bool then workspace.Barrier.Transparency = 1 else workspace.Barrier.Transparency = 0 end end)
|
|
|
| Report Abuse |
|
|
caca50
|
  |
| Joined: 10 Jul 2011 |
| Total Posts: 2037 |
|
|
| 20 Nov 2016 03:29 PM |
GATTED
Verb simple past tense and past participle of gat
----------------------
GAT noun A narrow passage extending inland from a shore; a channel.
Origin of gat Probably Dutch, from Middle Dutch.
noun Slang A pistol.
Origin of gat Short for Gat(ling gun).
verb Archaic A past tense of get.
Roblox.Forum.Scripters:1: bad argument #1 to 'intellect' (number expected, got nil) |
|
|
| Report Abuse |
|
|
|
| 20 Nov 2016 03:42 PM |
| >when you try to act smart and cool. |
|
|
| Report Abuse |
|
|
caca50
|
  |
| Joined: 10 Jul 2011 |
| Total Posts: 2037 |
|
|
| 20 Nov 2016 09:27 PM |
| If smart is being able to use google then sure. |
|
|
| Report Abuse |
|
|