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

Can I move a part backwards?

I have a module that handles buttons being clicked, all of these buttons handled by the module are in different scattered places. I want to move the button in the direction of the back face half a stud so the button would actually look clicked, how could I do this?

1 comment

0

LOL

2 answers

If you're trying to rotate the part just press ctrl+r

local button = game.Workspace.Button local cd = button.ClickDetector cd.MouseClick:Connect(function() button.CFrame = button.CFrameCFrame.new(-1, 0, 0) wait(1) button.CFrame = button.CFrameCFrame.new(1, 0, 0) end)

Play around with what I said here and I'm sure you'll get it, this is just an example of what you might be doing.

1 comment

0

No, I'm trying to move the part backwards relative to it's faces using one modulescript.

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