#tweenservice cframe

84 messages · Page 1 of 1 (latest)

dim fog
#

im trying to make a smooth transition of a model moving up by 10 studs.

idk what im doing

vivid kayak
#

What is even going on there?

dim fog
#

idk, im lost but ill try explain

vivid kayak
#

Maybe you meant local goal = {["CFrame"] = ...}

#

You need to write what you're assigning that value to.

dim fog
#

im trying to make a model go up

#

y + 10 when the player interacts

#

im using tweenservice to make the transition smooth

#

do you mean like this?

vivid kayak
#

Nice.

#

No.

#

Exactly what I've written.

#

Although you might even do like that.

#

local goal = {["Position"]= part.Position + Vector3.new(0,10,0)}

#

Use this.

dim fog
#

new error

umbral plover
#
goal.CFrame = door.CFrame * CFrame.new(0,10,0)```
#

oh my bad ur doing cframe

dim fog
#

cframe is for models right?

#

vector 3 for parts?

umbral plover
#

you can use both

balmy laurel
#

hey

umbral plover
#

there's a difference tho

vivid kayak
#

You can use both, but in this case it's easier to use Position imo.

dim fog
#

oh okay

vivid kayak
#

Oh it's a model?

dim fog
#

yeah its a model

vivid kayak
#

You're moving a model?

dim fog
#

door model

vivid kayak
#

Then use CFrame.

umbral plover
#

you still need to get the primary part of that model tho

#

so either way its the same thing, as long as all the parts are welded

dim fog
umbral plover
#

do door.PrimaryPart.CFrame

#

make sure u have it set to a part inside of the model

dim fog
#

this the new script

#

new error

#

its confusing man

umbral plover
#

just do what i did before

#

vector3

#
goal.Position = door.PrimaryPart.Position + Vector3.new(0, 10, 0)```
#

are u setting the model's primarypart?

dim fog
#

yes

#

i set it

umbral plover
#

ok try that

dim fog
umbral plover
#

oh

#

line 2

#

add .PrimaryPart

dim fog
#

it worked.... but weirdly

lone frostBOT
#

studio** You are now Level 5! **studio

dim fog
#

i am beyond confused

umbral plover
#

with what

#

and how is it working

dim fog
#

ill clip it and send it here

umbral plover
#

are they anchored?

dim fog
#

yes

#

its a model so it has to be

umbral plover
#

no

#

you need to weld them

#

unanchor

#

also change the 10

#

to the z value

#

and make y value 0

dim fog
#

how do i weld?

#

sorry

#

im new

umbral plover
#

anchor the outside part of the door, and unanchor the rest and weld them all

#

you can use a plugin

#

or just do it yourself

#

ill send a vid

dim fog
#

okay

umbral plover
#

✅❤️‍🔥Consider subscribing, it means a lot to me!

💰 Support me and my work here https://buymeacoffee.com/sir8baller

Are you tired of your accessories falling off your R6 rig in Roblox Studio? Look no further! In this comprehensive 2024 edition tutorial, we'll show you the ultimate techniques to master welding in Roblox Studio.
Greetings and a...

▶ Play video
dim fog
#

but now its just weird

#

i think i should try something else

tacit sandal
#

anchor only the primarypart