I am making a banner like this one with the characters displayed on the screen
I made a script for the banner in local when you want to summon, it works well, now I have to make the script for the screen like the image shown
I made this script, it clone the characters BUUUT the characters are not shown on the viewport frame
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local EventBanner = ReplicatedStorage:WaitForChild("Events"):WaitForChild("BannerRefresh")
local MainFrameViewport = script.Parent.MainFrame.BackgroundFrame.StrokeEffect.SummonFrame.ViewportFramesHolder
local Unit1Frame = MainFrameViewport.Unit1
local Unit2Frame = MainFrameViewport.Unit2
local Unit3Frame = MainFrameViewport.Unit3
local banner = "Normal"
EventBanner.Event:Connect(function()
local UnitsReplicatedStorage = ReplicatedStorage:WaitForChild("Units")
local UnitNormalBanner = workspace.SummonSettings.NormalBanner
local unit1 = UnitsReplicatedStorage:FindFirstChild(UnitNormalBanner.Unit1.Value)
local unit2 = UnitsReplicatedStorage:FindFirstChild(UnitNormalBanner.Unit2.Value)
local unit3 = UnitsReplicatedStorage:FindFirstChild(UnitNormalBanner.Unit3.Value)
if banner == "Normal" then
Unit1Frame.WorldModel:ClearAllChildren()
Unit2Frame.WorldModel:ClearAllChildren()
Unit3Frame.WorldModel:ClearAllChildren()
local Unit1Cloned = unit1:Clone()
Unit1Cloned.Parent = Unit1Frame.WorldModel
local Unit1Model = Unit1Cloned.Model:FindFirstChild(Unit1Cloned.Name)
local humanoid1 = Unit1Model:FindFirstChild("Humanoid")
local animator1 = humanoid1:FindFirstChild("Animator")
local Animations1 = Unit1Model:FindFirstChild("Animations")
local Animation1 = animator1:LoadAnimation(Animations1.Idle)
local Unit2Cloned = unit2:Clone()
Unit2Cloned.Parent = Unit2Frame.WorldModel
local Unit2Model = Unit2Cloned.Model:FindFirstChild(Unit2Cloned.Name)
local humanoid2 = Unit2Model:FindFirstChild("Humanoid")
local animator2 = humanoid2:FindFirstChild("Animator")
local Animations2 = Unit2Model:FindFirstChild("Animations")
local Animation2 = animator2:LoadAnimation(Animations2.Idle)
local Unit3Cloned = unit3:Clone()
Unit3Cloned.Parent = Unit3Frame.WorldModel
local Unit3Model = Unit3Cloned.Model:FindFirstChild(Unit3Cloned.Name)
local humanoid3 = Unit3Model:FindFirstChild("Humanoid")
local animator3 = humanoid3:FindFirstChild("Animator")
local Animations3 = Unit3Model:FindFirstChild("Animations")
local Animation3 = animator3:LoadAnimation(Animations3.Idle)
Animation1:Play()
Animation2:Play()
Animation3:Play()
Animation1.Looped = true
Animation2.Looped = true
Animation3.Looped = true
end
end)
![image](/secure-uploads/uploads/original/5X/e/9/8/4/e984502e9c7d2acd31818f1094fcfc6fd8d61ef4.png)
If u guys can help me I’ll really appreciate it !