#Car wont move

42 messages · Page 1 of 1 (latest)

outer shore
#

Hello,
I tried to move a car but it did not work can anyone help me

patent minnowBOT
#

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

opaque pawn
#

hum

#

more explanation, script?

opaque escarp
outer shore
#

so

#

Using this car

#

i took the ui and controls out

#

i made a script

#

keep the car moving

opaque escarp
#

so...

outer shore
#

local OrigCF = script.Parent.CFrame
while true do
while true do
wait()
for i = 1,1000 do
script.Parent.CFrame = script.Parent.CFrame + Vector3.new(0,0,5) --car goes forward
wait()
end

    script.Parent.CFrame = OrigCF
    
end

end

#

Totally not stolen

opaque escarp
#

you're trying to move the car forward?

outer shore
#

Yes

opaque escarp
#

like driving it?

outer shore
opaque escarp
#

oh my gd

outer shore
#
Roblox

Check out late night drive. It’s one of the millions of unique, user-generated 3D experiences created on Roblox. relax with your friends on a rainy late night drive.

In the driver seat, you are given the Aux.

[Headphones] Mutes the aux and lets you play your own music.

[R] doze off (Gamepass)
[Q] switch seats
[F] Enable/Disable Mouse

#

Like this smooth

opaque escarp
#

how is it not smooth

#

probably because you're moving it 5 studs at a time

#

if you want it smoother, use task.wait() instead

outer shore
#

But it doesnt move

opaque escarp
#

any errors?

#

you're adding a vector3 onto a CFrame

#

you also have a loop in a loop

outer shore
#

Is that good?

outer shore
opaque escarp
#

no its not good

#

why would you need that

outer shore
#

I "loaned" it from a diffrent thing

opaque escarp
#

do you know how to script at all

outer shore
opaque escarp
#

then i'm not helping you

outer shore
#

Best discord server ever

opaque escarp
#

why would you ask for help in a scripting channel if you don't know scripting

outer shore
#

Because i need help

#

with a script