How do you script a click open door? The door I am asking how to script is an Individual Part that you can manually open and close by clicking it. When the door opens CanColide is disabled and Transparency is enabled.
What you're asking for is very simple. This isn't a request site, but first you should read up on the following.
-ClickDetectors. ClickDetectors
-Parts and properties (Transparency and CanColide)
It isn't hard to look things up for once.
local IsOpen = false local Part = Instance.new("Part", Workspace) local ClickDetector = Instance.new("ClickDetector", Part) clickDetector.MouseClick:connect(function(Player)) Part.Transparency = IsOpen and 1 or 0 Part.CanColide = not IsOpen end)
Accept and thumb up please :)