I am trying to make a script when a player touched a certain "part" it will clone then destroy but when I end the script it says I need to correct it.
SCRIPT:
if game.Players.Player1.Humanoid.onTouched then game.Workspace.Part:Clone end then wait(10) game.Workspace.Part:Remove() end
