Horizontally Moving Platform with Player | Roblox Studio

preview_player
Показать описание
In this Roblox Studio scripting scripts tutorial, we will learn how to make a moving platform that moves horizontally with the player. The platform will move and take the player with it... Horizontally!

Related materials:

Recommended Playlists for Beginners:

Topic Related Playlists:

Playlists for All Levels:

Help support our channel, so we can continue to provide great Roblox Studio Tutorials to everyone...
Like, Subscribe, Donate (Thanks), Channel Membership

#roblox #robloxdev #robloxtutorial #Script #Scripting
Рекомендации по теме
Комментарии
Автор

Script:

local part = game.Workspace.Part
local fromPosition = part.Position + Vector3.new(-30, 5, 0)
local toPosition = part.Position + Vector3.new(-30, 5, 0)

while true do
part.AlignPosition.Position = fromPosition
task.wait(5)
part.AlignPosition.Position = toPosition
task.wait(5)
end

NexuStuff
Автор

I have created a similar platform object with the components you included. The only difference in my setup is that I attached a modular script that tweens the platform horizontally. The platform moves but when the player jumps on it, the platform slides underneath him. How did you get your player to move with the platform? Thank you.

kahunastudios
Автор

i tried this with my crabmeat model. NOW ITS JUST GLIDING TO ME THE PLAYER DOSENT EVEN GET A CHANGE TO DESTROY MY CRABMEAT

Tano
Автор

I'm I missing something here, I copied everything you did but the part doesn't move at all... I tried to anchor the part, move it to different positions, different sizes, still nothing!? 🤔

DavidWinstead
Автор

do you have to mess around with setting the network owner?

jso
Автор

It didn’t work :( can you post a new tutorial

Rowie-Pro
Автор

how can i do elevator with rope constraint?

Mrfleedy
Автор

the guide in this video deosnt work in Studio Version 0.640.1.6400735 (64bit

JaXuun
Автор

local part = game.Workspace.Part
local fromPosition = part.position + Vector3.new(389.449, 59, 248)
local toPosition = part.position + Vector3.new(402.449, 59, 248)

while true do
part.AlignPosition.Position = fromPosition
task.wait(5)
part.AlignPosition.Position = toPosition
task.wait(5)
end
this is my code and it doesnt work
please help

sweetorangemonkey
Автор

local part = game.Workspace.roatate
local fromPosition = Vector3.new(23.5, 0.5, -262)
local toPosition = Vector3.new(23.5, 27.5, -311)

while true do
part.AlignPosition.Position = fromPosition
task.wait(5)
part.AlignPosition.Position = toPosition
task.wait(5)
end
this is way better, my part kept going on the x axes and i had hard time trying to get it to work
(im not saying that your script is trash i mean that it didnt work as it needed)

aureliagoila