- What do you want to achieve? Keep it simple and clear!
To move the lever one stud down, relative to its position.
- What is the issue? Include screenshots / videos if possible!
As long as I don’t clone the “a leverage” object from “ReplicatedStorage”, “CFrame” works correctly.
In Workspace, not cloned:
robloxapp-20230327-1719528.wmv (817.9 KB)
In Workspace, Cloned from ReplicatedStorage:
I also noticed that the lever returns to the place where the lever came from in the first video, only in the workspace.
robloxapp-20230327-1720285.wmv (763.2 KB)
- What solutions have you tried so far? Did you look for solutions on the Developer Hub?
With the help of “TweenService and CFrame” I change the location of the lever.
local newFrame = TS:Create(inMain, tweenInfo, {CFrame = inMain.CFrame * CFrame.new(0,-1,0)})