Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do i make the brick smooth?

Hey I was trying to make game so i wanted a moving brick so i wrote this } while true do mover.Position = mover.Position + Vecter3.new(1,0,0) end } but thats not fast enough so i wrote (5,0,0) but thats smooth so wrote (0.25,0,0) but thats too slow so what do i do please help i am really stuck i want the brick to mover fast and smooth and also how do you clone it and then move because if you write clone() and then move it would move both or it would do nothing so i am really stuck.

1 comment

0

"not fast enough so i wrote (5,0,0) but thats smooth" What? Don't you want it to move smoothly?

2 answers

✓ Accepted answer

You should implement wait() times in your loop. I assume the part is moving infinitely based on your code/example. Wait times will allow you to change how fast the loop repeats based on your vector increments.

while true do
	wait(0.1)
	mover.Position = mover.Position + Vecter3.new(0.3,0,0)
end

I haven't test in studio as I am at work but you can tweak the wait() value and the vector3 value until you smooth it out. But that should be what you're looking for

5 comments

0

Dont you think i tried this already!!!! And also how do you make it even more faster.

0

You lower the wait time. wait() defaults to wait(0.033) as that is the lowest it will yield. You just need to play with the values until it smooths out. Trial and error

0

still not fast i want it to be super fast

0

I just tested myself and it goes fast. I don't think you're setting good values

0

But i want even more faster lol

**You Do Not Need a Script Just Use The MATERIAL Plastic **

3 comments

0

What do you mean WideSteal321

0

I think he misread your question and thought you wanted the part’s surfaces to look smooth.

0

please excuse the fact i existed in 2018

This discussion is preserved as it was. New answers, comments, and votes are closed.