Hello, I am working on a stand system. My main issue is that the stand seems to make the player turn weirdly with shiftlock. Another problem is that the stand collides with the player, any way to fix that as well?
Here is a script that welds the stand to a player:
local Stand = game.ServerStorage.Stands[Other]:Clone()
Stand.Parent = Character
for _, part in pairs(Stand:GetChildren()) do
if part:IsA("BasePart") or part:IsA("MeshPart") then
if part.Name ~= "HumanoidRootPart" then
coroutine.wrap(function()
repeat
wait()
part.Transparency -= 0.1
until part.Transparency == 0
end)()
end
end
end
local Weld = Instance.new("Weld")
Weld.Part0 = Character.HumanoidRootPart
Weld.Part1 = Stand.HumanoidRootPart
Weld.C0 = CFrame.new(-1,1,2.5)
Weld.Parent = Weld.Part0
Stand.Humanoid:LoadAnimation(Animations.StandOut):Play()```