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

Elevators BodyPosition wont make my platform move Suggestions? *Updated With ScreenShots*

local elevator = game.Workspace.Elevator
local platform = elevator.Platform
local start = elevator.Start
local finish = elevator.Finish
local bodyPosition = platform.BodyPosition

while true do
	bodyPosition.position = start.Position
	wait(3)
	bodyPosition.position = finish.Position
	wait(3)
end

s1031.photobucket.com/user/galvixcod/media/RobloxScreenShot08222015_094946759_zpsw6awiznn.png.html?sort=3&o=0

3 comments

0

unanchore your platform

0

i tried this

0

it didnt work, all it did was stay on the ground

2 answers

What exactly is "elevator.Start" and "elevator.Finish"?

I assume these are Vector3Value's or something? if that is the case, then you need to put

bodyPosition.position = start.Position.Value

Instead of

bodyPosition.position = start.Position

I just re-read this, and I guess they're actually parts? You may want to change the D, P, maxForce values of your elevator to something higher.

1 comment

0

Value is not a valid member of position

if you're standing on it and it isn't moving, put a bodygyro in it and make the D very high so it can hold the player up.

alternate: might want to get the middle of the elevator and make it a transparent, noncollide brick and group them all then click model, primary part, then find the small brick and click it. then you can just say

model:SetPrimaryPartCFrame(CFrame.new(...))

i think that'll work but yea.

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