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

how do I change model position with it in a script in a differant location?

I have this in a remote event and here's the script it's not moving when I fire the event either I'm not firing the event or there's something wrong with the code there is no error though AT ALL here is the code

local pully = game.Workspace.pully
game.Workspace.RemoteEvent.OnServerEvent:Connect(function()



pully.PrimaryPart = pully.primary_part



pully:SetPrimaryPartCFrame(CFrame.new (Vector3.new(-23.536, 10.517, -23.911)))
end)

1 comment

0

try pully:MoveTo(Vector3.new())

1 answer

local pully = game.Workspace.pully
game.Workspace.RemoteEvent.OnServerEvent:Connect(function()



pully.PrimaryPart = pully.primary_part



pully:SetPrimaryPartCFrame(Vector3.new(-23.536, 10.517, -23.911))
end)

2 comments

0

do i put this inside of the function

0

im sorry i didn't see you already did it

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