local kill_gui = game.ServerStorage.Killed
workspace.ChildAdded:connect(function(char)
if char:FindFirstChild("Humanoid") then
char.Humanoid.Died:connect(function()
if char.Humanoid:FindFirstChild("creator") then
a = kill_gui:clone().Parent = char.Humanoid.creator.Value.PlayerGui
wait(3)
a:Destroy()
end
end)
end
end)
COMMUNITY QUESTION
Unexpected Symbol near '=' Help?
1 answer
local kill_gui = game.ServerStorage.Killed
workspace.ChildAdded:connect(function(char)
if char:FindFirstChild("Humanoid") then
char.Humanoid.Died:connect(function()
if char.Humanoid:FindFirstChild("creator") then
a = kill_gui:clone().Parent == char.Humanoid.creator.Value.PlayerGui
wait(3)
a:Destroy()
end
end)
end
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
but wen cloning, u dont Compare, u Assaign :/
Well, you said "unexpected symbol near =" so, I thought you meant to fix that.