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

My simple platform script won't work.. Did I make a mistake? (SOLVED)

Asked by
AmVolt 60
9 years ago

Hello, I am a very new Scripter and I tried to make a script that has a "Mover" move back and fourth from brick to brick but it doesn't seem to do anything.. Help?

local Platform = game.Workspace.Model
local Finish = Platform.finish
local Mover = Platform.mover
local Start = Platform.start
local bodyPosition = Platform.mover.BodyPosition

while true do
    bodyPosition.position = Start.Position
    wait(1)
    bodyPosition.position = Finish.Position
    wait(1)
end

0
Hmm, it seems that the Properties of the Mover is saying that it's like teleporting every second but the brick still looks to be in the same place... AmVolt 60 — 9y
0
Is the brick anchored, or otherwise being held in place? (Surfaces/other joints, bodyvelocities?) BlueTaslem 18071 — 9y
0
Nope! But I found the problem, I guess the grouped model has to be above the ground in order to work. AmVolt 60 — 9y

Answer this question