teleportpositon = CFrame.new(241.999, 43,607, 318)
script.Parent.ClickDetector.MouseClick:Connect(function(player)
wait (5)
script.Parent.Parent.Model.PART1.CanCollide = true
	script.Parent.Parent.Model.Part.CanCollide = true
	print ("elevator going up")
	    if game.Workspace[player.Name]:FindFirstChild("Humanoid") then 
		playerWhoClicked.parent.HumanoidRootPart.CFrame = teleportpositon
	    end
end)

I am trying to make an elevator please help me!

2 comments

0

How do you are a player teleport?

0

what I was gonna say ^