So in my game I have moving parts, I was using parts to be c-framed on the server but i am finding that lag really affects them (causes juddering),
01 | while true do |
02 | wait() |
03 | for i = 1 , 50 do |
04 | script.Parent.CFrame = script.Parent.CFrame * CFrame.new( 0 , 0 ,- 0.3 ) |
05 | wait() |
06 | end |
07 |
08 | for i = 1 , 50 do |
09 | script.Parent.CFrame = script.Parent.CFrame * CFrame.new( 0 , 0 , 0.3 ) |
10 | wait() |
11 | end |
12 | end |
This script doesn’t work when the part is inserted locally, How can i move a local part?
Closed as Primarily Opinion-Based by User#24403
This question has been closed because it is a discussion about a topic focused on diverse opinions, which isn't a good fit for our Q&A format.
Why was this question closed?