i tried using this but i didnt work

local topCenter = script.parent local clickdetector = game.Workspace.Wedge.ClickDetector

clickdetector.MouseClick:Connect(function() topCenter.Orientation = Vector3.new(-90,0,0) end)

2 comments

0

I'm really sure you gotta use math.rad(-90)

0

PATHTOPART.Orientation = Vector3.new(90,0,0) wait(1) PATHTOPART.Orientation = Vector3.new(0,0,0) ??