I am making a game where a character ( not a player its a stand from “Jojos bizarre adventure”) hovers behind you and it works fine but when I teleport my character to a position it flings the part.
I tried setting the parts cframe back to where its supposed to be with the character but it still flings and I also tried RigidityEnabled but then it wouldn’t even move to the character.
(yes its not my model)
The align position is connected to an attachment (its parent) in the parts hrp and the characters hrp attachment
Attachment0:
Attachment1:
Align position Properties:
Teleport Script:
module.TimeSkip = function(plr : Player, state, stand, moves, mouseCF)
if stand == nil then return end
local char = plr.Character or plr.CharacterAdded:Wait()
if not cooldowns.CheckCooldown(char,"Time Skip", true, false) or not state == Enum.UserInputState.End or not char then return end
local standHrp = stand:WaitForChild("HumanoidRootPart")
local hrp = char:WaitForChild("HumanoidRootPart")
local pos = CFrame.new(mouseCF.Position, hrp.CFrame.LookVector)
cooldowns.StartCooldown(char, "Time Skip")
remotes:WaitForChild("EpitaphEffect"):FireAllClients(char)
_G.wait(0.35)
hrp.CFrame = pos
standHrp = char.HumanoidRootPart.StandAttach.CFrame
end
How would I prevent the flinging?