Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-2

How do You Use Cframe to make a part move? [closed]

Asked by 4 years ago

0
At least try JesseSong 3916 — 4y
0
he did, do you see that one line of nothingness greatneil80 2647 — 4y

Closed as Non-Descriptive by JesseSong, User#23252, and WideSteal321

This question has been closed because its title or content does not adequately describe the problem you are trying to solve.
Please ensure that your question pertains to your actual problem, rather than your attempted solution. That is, you were trying to solve problem X, and you thought solution Y would work, but instead of asking about X when you ran into trouble, you asked about Y.

Why was this question closed?

3 answers

Log in to vote
0
Answered by 4 years ago

If you want to move in continuously, for example a moving car. You would do something like this: Make a part in Workspace and put a script inside the part.

while wait(0.01) do
    script.Parent.CFrame = script.Parent.CFrame + Vector3.new(0,0,-1)
end
Ad
Log in to vote
4
Answered by 4 years ago

I'd suggest doing at least a quick google search before asking here, but to answer your question you would use something like this

Part.CFrame = CFrame.New(89,34,13)
Log in to vote
0
Answered by 4 years ago

https://developer.roblox.com/en-us/learn-roblox/all-tutorials