Answered by
3wdo 198
4 years ago
With my experience im sure that you should write transparency
as Transparency
01 | local rp = game:GetService( "ReplicatedStorage" ) |
02 | local summon = rp:WaitForChild( "Summon" ) |
04 | local tweenservice = game:service( "TweenService" ) |
06 | summon.OnServerEvent:connect( function (player,isactive) |
07 | local character = player.character |
08 | local humanoid = character.Humanoid |
09 | local Humrp = character.HumanoidRootPart |
12 | local Humrp = character.HumanoidRootPart |
13 | local stand = script:WaitForChild( "Stand" ):Clone() |
15 | for _, part in pairs (stand:GetChildren()) do |
16 | if part:IsA ( "BasePart" ) then |
21 | stand.Parent = character |
23 | local weld = Instance.new( "ManualWeld" ) |
24 | weld.Part 0 = stand.PrimaryPart |
26 | weld.C 0 = weld.Part 0. CFrame.ToObjectSpace(weld.Part 1. CFrame) |
27 | weld.Parent = weld.Part 0 |
29 | local AnimControl = stand:FindFirstChild( "AnimControl" ) |
30 | local standhumrp = stand:FindFirstChild( "HumanoidRootPart" ) |
32 | local Idle = AnimControl:LoadAnimation(script.Idle) |
35 | for _, part in pairs (stand:GetChildren()) do |
36 | if part:IsA ( "BasePart" ) and part ~ = standhumrp then |
39 | local info = TweenInfo.new(. 5 ) |
40 | local tween = tweenservice:create(part,info,goal) |
47 | goal.C 0 = weld.Part 0. CFrame:ToObjectSpace(weld.Part 1. CFrame) |
48 | goal.C 1 = weld.Part 0. CFrame:ToObjectSpace(weld.Part 1. CFrame * CFrame.new(- 3 , 1 , 2 )) |
49 | local info = TweenInfo.new(. 5 ) |
50 | local tween = tweenservice:create(weld,info,goal) |
Try this