#how can i rotate an entire modle using a script and not have to go part by part

39 messages · Page 1 of 1 (latest)

craggy crypt
#

yes

rough coyote
#

just set the models primary part

#

and rotate that

#

or change the world pivot

toxic flameBOT
#

studio** You are now Level 2! **studio

thorny bobcat
#

Primary Part hollow

craggy crypt
#

whats wrong with this code

#
emily.HumanoidRootPart.Orientation = CFrame.new(0,180,0)
#

this is my error message

#

Unable to assign property Orientation. Vector3 expected, got CFrame

serene umbra
craggy crypt
#

when i do that

#

it just roatates the roof part

#

and nothing else

serene umbra
# craggy crypt when i do that

local newOrientation = CFrame.Angles(math.rad(0), math.rad(180), math.rad(0))
local newPosition = emily.HumanoidRootPart.Position
local newCFrame = CFrame.new(newPosition, newPosition + newOrientation.LookVector)
emily.HumanoidRootPart.CFrame = newCFrame

craggy crypt
#

that dident work]

#

she still aint rotating

#

i give it

#

up

#

ima just go to something else

serene umbra
#

Stop

#

wth

#

hold up

#

Send me a video

craggy crypt
#

ok

serene umbra
#

of what its doing

craggy crypt
#

one sec

serene umbra
#

or like i need more context rq.

craggy crypt
#

alr

#

its gonna be to big for discord where should i uplode it

serene umbra
#

Anywhere

#

i can see it

craggy crypt
#

yes

#

im just quickly cutting up some stuff that dosent matter cuz i had to playtest entire map

#

alr up uplodeing it

#

there u go

#

@serene umbra