Pics: https://gyazo.com/faab1b7663ed76b581e7f1d94ef712a1

When I made a Door, Unioned, I made code to move the door:(Gif for it in link)

local Door = script.Parent

hum = script.Parent.Parent:FindFirstChild("Humanoid")

if hum then
	
	local RotationAngle = Vector3.new(-768.667, 1683.29, 365.36)
	Door = RotationAngle
end

When run, nothing happens.

What Happend?

1 comment

0

Door.Rotation = RotationAngle