Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- game.Players.PlayerAdded:connect(function(Player)
- Player.CharacterAdded:connect(function(Character)
- wait()
- Character.Humanoid.Died:connect(function()
- local Tag = Character.Humanoid:FindFirstChild("creator")
- if Tag ~= nil then
- if Tag.Value ~= nil then
- if Tag.Value.Parent ~= nil then
- if Tag.Value.Character ~= nil then
- local Gui = script.KillGui:Clone()
- Gui.TopFrame.TextLabel.Text = "KILLED BY " .. string.upper(Tag.Value.Name)
- Gui.Parent = Player.PlayerGui
- workspace.CurrentCamera.CameraSubject = Tag.Value.Character.Humanoid
- end
- end
- end
- end
- end)
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment