#button
1 messages · Page 1 of 1 (latest)
You can add a click detector to your Button on the explorer
it needs to js make something dissapear and reappear
click detectors are already on
add a script on it
yes
you can use a mouse Button clicked event to it
done
1 sec
Core
and all of its parts that are under i
t*
1 sec
lemme send u the updated file again
its changing still srry
ill dm u it
sent
cant hop on pc rn but
what is the patg
path
for the core?
like workspace and what
is it a model?
yo this can't be this hard 😭
lol
** You are now Level 3! **
okay just refer to the part
local part = path to part
local Clicker = part.ClickDetector
Clicker.MouseClick:Connect(function()
part.Transparency = 1
Wait hold on do a gui instead
local button = Pathtobutton
local targetPart = workspace.YourPartName
local clickDetector = button.ClickDetector
local isVisible = true
clickDetector.MouseClick:Connect(function(player)
isVisible = not isVisible
targetPart.Transparency = isVisible and 0 or 1
targetPart.CanCollide = isVisible
end)