generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: How to make a gatted barrier open?

Previous Thread :: Next Thread 
kubakoles is not online. kubakoles
Joined: 13 Jun 2015
Total Posts: 5
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 is not online. 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 is not online. 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
kubakoles is not online. kubakoles
Joined: 13 Jun 2015
Total Posts: 5
20 Nov 2016 03:42 PM
>when you try to act smart and cool.
Report Abuse
caca50 is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image