I made this but now im in need of help for making it work for a specific team. Like how do i start with making a script for the event to fire so the death gui would appear?
game.ReplicatedStorage.DeadTribute.OnClientEvent:connect(function(playername)
script.Parent.Frame.Image.ImageLabel.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=420&y=420&Format=Png&username=" .. playername
script.Parent.Frame:TweenSize(UDim2.new(0, 120, 0, 150), "In", "Quart", 0.5, true)
wait(3)
if script.Parent.Frame.Image.ImageLabel.Image == "http://www.roblox.com/Thumbs/Avatar.ashx?x=420&y=420&Format=Png&username=" .. playername then
script.Parent.Frame:TweenSize(UDim2.new(0, 120, 0, 0), "In", "Quart", 0.5, true)
end
end
)

2 comments
I have no idea what you're asking.
I'm trying to make it so that when a person on a specific team dies, The death GUI would appear.