How To Make A Moving Part With Moving Player!! Roblox Studio Tutorial!

10,516
0
Published 2023-12-22
In this video I am going to show you how you should create a moving part that also moves the player standing on it!!

/////////////////////////////////////
Script: pastebin.com/tBTa1MLt
Free Model: create.roblox.com/marketplace/asset/15701680691/Mo…
/////////////////////////////////////
Music: TheFatRat & Cecilia Gault - Escaping Gravity
Watch the official music video:    • TheFatRat & Cecilia Gault - Escaping ...  
Follow TheFatRat: linktr.ee/TheFatRat
/////////////////////////////////////
SCRIPT:
-- Moving Part With Moving Player by BLOXIANCODE youtube.com/c/BloxianCode
-- Tutorial:    • How To Make A Moving Part With Moving...  

local part = script.Parent

local fromPosition = part.Position + Vector3.new(-20,5,0)
local endPosition = part.Position + Vector3.new(20,5,0)

while true do
part.AlignPosition.Position = fromPosition
wait(5)
part.AlignPosition.Position = endPosition
wait(5)
end
/////////////////////////////////////
Thanks for watching!
Join my Discord here: discord.gg/RY2szMq

Buy my merch to support me!!!
👕Shirt merch: www.roblox.com/catalog/10897523705/Coder-shirt
Shirt merch: www.roblox.com/catalog/13082853500/No-Snipers-Blac…

moving platform roblox studio, roblox studio, roblox, roblox dev, development, game development, roblox development, roblox scripting, roblox moving platform, moving platform script, how to move a platform on roblox, how to move a platform

Dont forget to subscribe, like and comment. If you have ideas, questions or other things, then put them in the comments below!
My Roblox Profile: www.roblox.com/users/3814456205/profile
#RobloxStudio #HowToScript #Roblox

All Comments (21)
  • @BloxianCode
    Enjoyed the video or learned something new? Consider to Subscribe to the channel🔴🔴 Like the video👍👍 Turn on the Bell Notifications 🔔🔔 Leave a comment with a video idea, question or thought about the video!🔉🔉 Thank you so much for watching the video!🤗🤗
  • @choiternity7305
    what if my part is already moving with an on/off button, but i just wanna make it so the player can move along with it?
  • @mememan499
    how do you make it move slightly up as its going to the left at the same time?
  • @Guamvege
    was anyone able to troubleshoot players following the block when they jump on it? whenever I test it I fall if I'm not moving with the block
  • @Devlix_himself
    the script isnt working for me, the position and Alignposition is red and also parent
  • @kittycorn1068
    is there a way to let players stay on a spinning part
  • @greenmiles4553
    Quick question is there any way you can make it so it can pass through walls and make it able to stop for like 10 seconds?
  • I used it to make a solar eclipse! I will send you the link to the game soon! ;D
  • how can i make it so when the player jumps onto it, it stays upright. right now it tilts and rotates after heavy player collision
  • @ChespinisEpic
    If your trying to make a group of parts move, pretend the group of parts doesn't exist except for the part you want to add a joint to (like the centermost part in your model for example). Follow the tutorial but don't duplicate your original model, just duplicate that one core part you are adding the joint to for the HumanoidRootPart. You can keep your original core part inside the model it was already in when you are grouping together the HumanoidRootPart and your model to make a new model. So like your model in the video should be a model inside a model, while the humanoidrootpart is also inside the outermost model but not inside the innermost model though idk if that matters much. Once your at the part where your original origin part is doing the animation after hitting play, duplicate the joint in the core part, paste that joint into the other parts of the model, configure each joint's properties manually by looking for part0 in properties and changing it so that part0 is the same as the parent (row above part0) and yea that should work.
  • @frosye.
    my part just goes upwards and shifts to the right a little then properly works (not in the position i want it to be in)
  • @Ridgedus31
    Is there any way I can make the destination longer? Thanks!