local rp = game:GetService("ReplicatedStorage") local summon = rp:WaitForChild("Summon") local tweenservice = game:service("TweenService") summon.OnServerEvent:connect(function(player,isactive) local character = player.character local humanoid = character.Humanoid local Humrp = character.HumanoidRootPart if isactive then local Humrp = character.HumanoidRootPart local stand = script:WaitForChild("Stand"):Clone() for _, part in pairs(stand:GetChildren()) do if part:IsA ("BasePart") then part.Transparency = 1 end end stand.Parent = character local weld = Instance.new("ManualWeld") 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("HumanoidRootPart") 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 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 end end)
ERROR: TweenService:Create no property named 'transparency' for object 'LeftHand'
Line: Line 40
With my experience im sure that you should write transparency
as Transparency
local rp = game:GetService("ReplicatedStorage") local summon = rp:WaitForChild("Summon") local tweenservice = game:service("TweenService") summon.OnServerEvent:connect(function(player,isactive) local character = player.character local humanoid = character.Humanoid local Humrp = character.HumanoidRootPart if isactive then local Humrp = character.HumanoidRootPart local stand = script:WaitForChild("Stand"):Clone() for _, part in pairs(stand:GetChildren()) do if part:IsA ("BasePart") then part.Transparency = 1 end end stand.Parent = character local weld = Instance.new("ManualWeld") 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("HumanoidRootPart") 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 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 end end)
Try this