How to make a part appear when touching a part??? Please help
✓ ANSWER ACCEPTED
How to make a part appear when touching a part???
1 answer
✓ Accepted answer
Do you need the whole code? If yes here you go, btw Ill try my best to explain so you can understand the script
here:
local part = game.Workspace.YouPart -- Location of your part that will be visible btw it has to be Transparency 1
script.Parent.Touched:Connect(function(hit) -- Touched event, hit is our parameter
if hit.Parent:FindFirstChild("Humanoid") then -- checks if its a player
part.Transparency = 0 -- makes it visible
end
end)
if you need anything or help just ask me, Hopefully it worked! lol
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
thanks man
Do I insert the script into the part or something? I just started learning
you can put it inside ServerScriptService since we define the part in the workspace, sorry for late reply lol