Ad
Still have questions? Join our Discord server and get real time help.
Log in to vote
0

how can i use part.color?

Asked by
322ita 11
4 days ago

how can i use Part.color?

local Sound = script.Parent.button

script.Parent.ClickDetector.MouseClick:Connect(function(click)
    Sound:Play()
    game.Workspace.cazzo.Canco.CanCollide = true
    game.Workspace.cazzo.Canco.Transparency = 0
    game.Workspace.Touch01.Material = 288
    game.Workspace.Touch01.Color = 
    wait(3) 
        game.Workspace.cazzo.Canco.CanCollide = false
        game.Workspace.cazzo.Canco.Transparency = 0.5
        game.Workspace.Touch01.Material = 256
        game.Workspace.Touch01.Color = 
end)


1 answer

Log in to vote
1
Answered by 4 days ago
local Sound = script.Parent.button

script.Parent.ClickDetector.MouseClick:Connect(function(click)
    Sound:Play()
    game.Workspace.cazzo.Canco.CanCollide = true
    game.Workspace.cazzo.Canco.Transparency = 0
    game.Workspace.Touch01.Material = 288
    game.Workspace.Touch01.BrickColor = BrickColor.new("your color")
    wait(3) 
        game.Workspace.cazzo.Canco.CanCollide = false
        game.Workspace.cazzo.Canco.Transparency = 0.5
        game.Workspace.Touch01.Material = 256
        game.Workspace.Touch01.BrickColor = BrickColor.new("your color")
end)


0
thanks 322ita 11 — 4d
Ad

Answer this question