im tryna make a jojo game i made a summon but when i tried to take it back i failed so i modified a script and i got the error "Tansparency is not a valid member of Part "Workspace.swordlegend32.Dummy.Torso" when i tried removing torso it went on an another body part heres the script: errors coming from line:40,41,42,43 help
local rp = game:GetService("ReplicatedStorage")
local Stand = rp:WaitForChild("Stand")
local Tweenservice = game:GetService("TweenService")
local Debris = game:GetService("Debris")
Stand.OnServerEvent:Connect(function(player,active)
local Character = player.Character
local Humanoid = Character.Humanoid
local HumanoidRP = Character.HumanoidRootPart
if active then
local Mystand = script:WaitForChild("Dummy"):Clone()
for _, part in pairs(Mystand:GetChildren()) do
if part:IsA("BasePart") then
part.Transparency = 1
end
end
Mystand.Parent = Character
Mystand.PrimaryPart.CFrame = HumanoidRP.CFrame
local weld = Instance.new("ManualWeld")
weld.Name = "Standweld"
weld.Part0 = Mystand.PrimaryPart
weld.Part1 = HumanoidRP
weld.C0 = weld.Part0.CFrame:ToObjectSpace(weld.Part1.CFrame)
weld.Parent = weld.Part0
local AnimControl = Mystand:FindFirstChild("AnimControl")
local standhumrp = Mystand:FindFirstChild("HumanoidRootPart")
local Idle = AnimControl:LoadAnimation(script.Idle)
Idle:Play()
for _, part in pairs(Mystand:GetChildren()) do
if part:IsA("BasePart") and part ~= standhumrp then
local goal = {}
goal.Tansparency = 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()
else
local stand = Character:FindFirstChild("Dummy")
if stand then
local Controller = stand.PrimaryPart:FindFirstChild("Controller")
if Controller then
local standhumrp = stand:FindFirstChild("HumanoidRootPart")
end
local standhumrp = stand:FindFirstChild("HumanoidRootPart")
for _, part in pairs(stand:GetChildren()) do
if part:IsA("BasePart") and part ~= standhumrp then
local goal = {}
part.Tansparency = 1
local info = TweenInfo.new(.5)
local tween = Tweenservice:Create(part,info,goal)
tween:Play()
local goal = {}
goal.C0 = Controller.Part0.CFrame:ToObjectSpace(Controller.Part1.CFrame)
goal.C1 = Controller.Part0.CFrame:ToObjectSpace(Controller.Part1.CFrame * CFrame.new(0,0,0))
local info = TweenInfo.new(.5)
local tween = Tweenservice:Create(Controller,info,goal)
tween:Play()
tween.Completed:Connect(function()
Debris:AddItem(Stand,.05)
end)
end
end
end
end
end)

2 comments
You mispelled "Transparency"
im sitting here and tryna make new type of scripts to cure my depression and what is happening here is i missspelled 'Transparency'? lol