By typing a command in the chat, the door would open. It's a slide-able door so... what things do I have to do? Such as making it slide-able and script to make.
You can use the Chatted event to determine when the command is said, and then use a for loop to move the door over with CFrame. For example:
game.Players.PlayerAdded:connect(function(player)--finds the new player player.Chatted:connect(function(msg)--gets the message if msg=="Open"then for i=1,10 do--for loop door.CFrame=door.CFrame + Vector3.new(0, 0, 1)--Editing CFrame wait(0.1) end end end) end)
you need to learn the chatted event and basic math to do this.
Thats a sliding door but if its a just a cancollide door it would be.
Game.Players.PlayerAdded:connect(function(player) plater.Chatted:connect(function(msg) if msg =="Open" then for i= 1,10 do door.transparency = "0.5" door.cancollide = "true" Wait(3) end
So I got -1 on my question? Troll or something? That ain't funny... Putting negative vote w/o a reason? Why not make some improvements... That would prevent such troll things away.