So I have an animation and in order for it to work I need a model to be exactly this amount in front of the left hand
0.46673583984375, -0.3466287851333618, -0.3310546875
however whenever I join the game it somehow gets moved to be
0.578066349029541, -0.21280145645141602, -0.4786362648010254
And I don’t why. Any help would be really great
This is my code:
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAppearanceLoaded:Connect(function(char)
task.wait(0.1)
local Humanoid = char:WaitForChild('Humanoid')
local Animator = Humanoid:WaitForChild('Animator')
local Hand = char:WaitForChild('LeftHand')
local Bomb = game:GetService('ServerStorage').Bomb:Clone()
Bomb.Parent = char
Bomb:PivotTo(CFrame.new(Hand.Position + Vector3.new(0.46673583984375, -0.3466287851333618, -0.3310546875)) * CFrame.Angles(math.rad(-50),0,math.rad(-30)))
--Bomb.Connection.Part1 = Hand
--Bomb.Circle.Anchored = false
--Bomb.Sphere.Anchored = false
--Animator:LoadAnimation(script.Animation):Play()
end)
end)
Thanks