What do you want to achieve?
I want to achieve similar character dissection like shown in the example.
What is the issue?
https://cdn.discordapp.com/attachments/1150168436769558599/1168702200428634203/2023-10-30_17-04-20.mp4?ex=6552b9be&is=654044be&hm=107236c6cc26bc22afdc31065d217ed677fe4e5c812a65dbc14e1961c1290942&
Here is the example
What solutions have you tried so far?
I’ve tried using alignposition like this:
local ehrp = Enemy.HumanoidRootPart
local SpazPart = Instance.new("Part", workspace.Effects)
SpazPart.Size = Vector3.new(1,1,1)
SpazPart.CanCollide = false
SpazPart.Transparency = 0
SpazPart.Anchored = true
local r = workspace:Raycast(ehrp.Position, Vector3.new(0, 10, 0), parms)
local endPos = Vector3.new(0,0,0)
if r then
endPos = r.Position
else
endPos = ehrp.Position + Vector3.new(0, 10, 0)
end
SpazPart.Position = endPos
local alignPosition = Instance.new("AlignPosition", SpazPart)
local att0 = Instance.new("Attachment", SpazPart)
local att1 = Instance.new("Attachment", ehrp)
alignPosition.Attachment0 = att0
alignPosition.Attachment1 = att1