local Keycarddoor1 = workspace.Keycarddoor1
Keycarddoor1.BrickColor = BrickColor.new("Lime green")

local Keycarddoor2 = workspace.Keycarddoor2
Keycarddoor2.BrickColor = BrickColor.new("Lime green")

local Keycarddoor3 = workspace.Keycarddoor3
Keycarddoor3.BrickColor = BrickColor.new("Lime green")

local function Keycarddooropen1()
    workspace.Keycarddooropen1.CanCollide = true
    workspace.Keycarddooropen1.Transparency = 1
end

local Keycarddoorscript = {Keycarddoor1, Keycarddoor2, Keycarddoor3}

if Keycarddoorscript[1] and Keycarddoorscript[2] and Keycarddoorscript[3] then
    Keycarddooropen1()
end

-- I don't want this script to make the three blocks automaticlly green when u run, I want to make it so u'll need to click the blocks to turn them green which will active the script and make the part CanCollide = true and transparency = 1

-- I've already made the click the blocks/parts to turn them green script, I just want the parts to not automaticlly turn green when u run the server in the roblox studio for example.

3 comments

0

This question should be closed as you didn't understood to format your code, and you also just asking one person.. It's a forum, to ask only one person use the community chat..

0

Do not direct questions at particular person. Looks like serpentineking is rep manipping getting his friends to ask questions for him to answer lol

1

Either way i'm closing this horrible question because you're just requesting.