Hello, I can't script at all, but my friend made a door that was supposed to be opened when clicked. Can you please, please fix it for me dear helpers?
team = game.Teams.OfficeStaff -- Put team name here player = "Player1" door = script.Parent function onClicked() if script.Parent.ClickDetector.MouseClick == player then door.CFrame = door.CFrame * CFrame.new(0, 0, 1)
end end
script.Parent.ClickDetector.MouseClick:connect(onClicked)
--[Made by AgentL3r]--
Can you please fix it for me/him?

2 comments
You are going to need to make this have Lua formatting for the code and to space out the lines because I can barely read that
This would fall into the category of a request, since you admitted to not knowing a thing about coding. It's basically asking for free scripts. This site is for improving one's coding skill.