You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
I want to make sure the player moves exactly like in the animation -
What is the issue? Include screenshots / videos if possible!
When played it’s different,but animation track is solid -
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
Developer Hub, but my problem is a bit specific
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
-- local Open_window = script.Parent
local prox = Open_window.ProximityPrompt
local Window_frame = Open_window.Parent
local Outside_window = Window_frame.Window_frame_outside
local Anim = game.ReplicatedStorage.Animation
prox.Triggered:Connect(function(playerWhoTriggered)
local pos = CFrame.new(64.075, 5.315, -113.55)
Outside_window:PivotTo(pos * CFrame.Angles(math.rad(0),math.rad(0),math.rad(32.102)))
local Character = playerWhoTriggered.Character
local Humanoid = Character.Humanoid
local AnimationTrack = Humanoid.Animator:LoadAnimation(Anim)
AnimationTrack:Play()
end)
[Ingame.wmv|attachment](upload://kbQ98WAc6TPAZBqWB8r3ncMU9gh.wmv) (614.4 KB)
[Anim.wmv|attachment](upload://pgfcTnUo2nEVYj9Pil0ZIcyife0.wmv) (223.7 KB)