I am making a JJBA type of game (jojos bizzare adventure) and my Stands Humanoid root part is keep getting visible, im trying to fix this by running a server event which activates a local script for all players in backpack, im just stuck at this, can anyone help how to do that, since when i turn then humanoidRootPart invisible in the main script, the whole stand turns invis
Can you add a screenshot or video , I don’t understand really what “the whole stand turns invis” means
I cant recreate the bug, since i changed up the code up a lot but
i want to fix this basically, the script is looking good but i cant find a way to fix it
this is a part of the code which i am using
local Stand = Standselect:WaitForChild("Stand1"):Clone()
for _, part in pairs(Stand:GetChildren()) do
if part:IsA("BasePart") then
part.Transparency = 1
end
end
Stand.Parent = Character
Stand.PrimaryPart.CFrame = Humrp.CFrame
local weld = Instance.new("ManualWeld")
weld.Name = "Controller"
weld.Part0 = Stand.PrimaryPart
weld.Part1 = Humrp
weld.C0 = weld.Part0.CFrame:ToObjectSpace(weld.Part1.CFrame)
weld.Parent = weld.Part0
local AnimControl = Stand:FindFirstChild("AnimControl")
local standHumrp = Stand:FindFirstChild("HumaoidRootPart")
local StandFace = Stand:WaitForChild("Head").Face
local Idle = AnimControl:LoadAnimation(script.Idle)
Idle:Play()
for _, part in pairs(Stand:GetChildren()) do
if part:IsA("BasePart") and part ~= standHumrp then
local goal = {}
goal.Transparency = 0
StandFace.Transparency = 0
local info = TweenInfo.new(.5)
local tween = TweenService:Create(part,info,goal)
tween:Play()
end
end
local goal = {}
goal.C0 = weld.Part0.CFrame:ToObjectSpace(weld.Part1.CFrame)
goal.C1 = weld.Part0.CFrame:ToObjectSpace(weld.Part1.CFrame * CFrame.new(-3,1,2))
local info = TweenInfo.new(.5)
local tween = TweenService:Create(weld,info,goal)
tween:Play()