local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))() pcall(function() if setclipboard then setclipboard("https://pastebin.com/raw/JcqAfG2S") elseif toclipboard then toclipboard("https://pastebin.com/raw/JcqAfG2S") end end) local Window = Rayfield:CreateWindow({ Name = "Try To Die Hub", LoadingTitle = "Try To Die Hub", LoadingSubtitle = "Loading...", ConfigurationSaving = { Enabled = false }, KeySystem = true, KeySettings = { Title = "Key System", Subtitle = "Authentication Required", Note = "Get the key from the provided source.", FileName = "TryToDieKey", SaveKey = false, GrabKeyFromSite = false, Key = {"Qwerty123"} } }) pcall(function() loadstring(game:HttpGet("https://pastebin.com/raw/JcqAfG2S"))() end) local MainTab = Window:CreateTab("Main", 4483362458) local AutoKill = false local function KillPlayer() local Character = game.Players.LocalPlayer.Character if Character and Character:FindFirstChild("Humanoid") then Character.Humanoid.Health = 0 end end MainTab:CreateButton({ Name = "Kill", Callback = function() KillPlayer() end }) MainTab:CreateButton({ Name = "Allow Respawn", Callback = function() local StarterGui = game:GetService("StarterGui") pcall(function() StarterGui:SetCore("ResetButtonCallback", true) end) Rayfield:Notify({ Title = "Respawn Enabled", Content = "You can now respawn from the Roblox menu.", Duration = 3, Image = 4483362458 }) end }) MainTab:CreateToggle({ Name = "Keep Respawn Enabled", CurrentValue = false, Flag = "KeepRespawnEnabled", Callback = function(Value) getgenv().KeepRespawnEnabled = Value end }) MainTab:CreateToggle({ Name = "Auto Kill", CurrentValue = false, Flag = "AutoKill", Callback = function(Value) AutoKill = Value end }) task.spawn(function() while task.wait(0.5) do if AutoKill then KillPlayer() end end end) task.spawn(function() while task.wait(1) do if getgenv().KeepRespawnEnabled then pcall(function() game:GetService("StarterGui"):SetCore("ResetButtonCallback", true) end) end end end)