Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Sub to me if you liked the script! https://www.youtube.com/channel/UCSxUojftyb0LD-y9qJb9NUw
- --[[
- RED = DOOR TO SECOND FLOOR
- GREEN = DOOR TO THIRD FLOOR
- BLUE = DOOR TO BOSS
- ]]
- function createGui(parent,color)
- local billBoard = Instance.new("BillboardGui", parent)
- local gui = Instance.new("Frame", billBoard)
- gui.Size = UDim2.new(1,0,1,0)
- gui.BackgroundColor3 = color
- billBoard.AlwaysOnTop = true
- billBoard.Size = UDim2.new(10,0,10,0)
- end
- createGui(game.Workspace.Doors, Color3.new(1,0,0))
- createGui(game.Workspace["Second Door"], Color3.new(0,1,0))
- createGui(game.Workspace["Third Door"], Color3.new(0,0,1))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement