Does AlignPosition Work in Local Scripts?

So I’m trying to make a platform move after you talk to a NPC. I want the platform to only move for the player that talked to the NPC. I designed the platform movement using Align Position before putting the script in a local script in the StarterPlayerScripts and it was working as intended. But once I put the script into StarterPlayerScripts nothing happens. So I was wondering if what I want to do is possible? Can I use Align Position to achieve this? Thanks!

Align does work for local scripts, but only for the player. Otherwise you need to do it the server, because you are manipulating a part that is in the server.

ok so then whats wrong with my script that makes it not work locally?

local dialog = workspace.AxoStage.Ride.BabySky.Dialog


dialog.DialogChoiceSelected:Connect(function(player,choice)
	local Players = game:GetService("Players")
	local player = Players.LocalPlayer or Players:GetPropertyChangedSignal("LocalPlayer"):wait()
	local pVars = player:WaitForChild("PlayerVars")
	local axo = workspace.AxoStage.Ride.SkyAxolotl
	local text1 = axo.Anchor.BillboardGui1.TextLabel1.Text
	local text2 = axo.Anchor.BillboardGui2.TextLabel2.Text
	if choice.Name == "Ride" then
		
		axo.Anchor.BillboardGui1.Enabled = true
		wait(5)
		axo.Anchor.BillboardGui2.Enabled = true
		axo.Anchor.Anchored = false
		axo.Anchor.AlignPosition1.Enabled = true
end)

It works when placed in the server. I was thinking, do I have to clone the platform?

you could clone the platform locally, then apply movers to it, the physics should replicate on the client for you. Then when you have it return, you can delete it.