Problems with moving objects

Here’s the script!
helpscript
(i want only change the position)

1 Like

You need to put:

part.Position = part.Position + Vector3.new(0,-1,0)
--instead of
part.Position = part.Position - Vector3.new(0,1,0)

You said minus, instead of plus, the minus goes next to the number inside of the brackets

You need to tell us what the problem is :slight_smile:

I tried but the Part still doesn’t move

The problem is: when i go on the part, the part doesn’t move

Put a print statement in it to see what happens.

You can subtract vectors, that isn’t the issue.

@shmigel12343 where did you place this script? And is it a Script or a LocalScript?

It’s probably a local script, use a server script instead, local scripts cannot run in the workspace.

So, put that script in a server script and it should be able to run, or, you can put the local script into StarterGui and change the part variable to this

local part = workspace.PartNameHere

@SpacialEthanRB No, both methods work, please don’t spread false info.

like this?
helpscript2

a local script inside the part

@VegetationBush is correct. LocalScripts cannot run in Workspace. Make it a Script instead.

How am I spreading false information?
@shmigel12343 Also my script worked.

I would make It a script not a local script

Thank you! It worked!

yay30chars

You are saying one way works and the other doesn’t:

Clearly, both ways work.

My bad, I am still new to scripting.