
2.3k Views
1.5k Executions
Return By Death script
Universal Script 📌
prideSubaruFirst script
11 months ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
when u die u go back to the same place where u died.
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")
local isTeleportEnabled = true
local lastPosition = nil
local toggleButton = nil
local function updateButtonDisplay()
if not toggleButton then return end
if isTeleportEnabled then
toggleButton.Text = "RETURN BY DEATH: ON"
toggleButton.BackgroundColor3 = Color3.fromRGB(0, 170, 0)
toggleButton.TextColor3 = Color3.fromRGB(255, 255, 255)
else
toggleButton.Text = "RETURN BY DEATH: OFF"
toggleButton.BackgroundColor3 = Color3.fromRGB(170, 0, 0)
toggleButton.TextColor3 = Color3.fromRGB(255, 255, 255)
end
end
local function toggleTeleport()
isTeleportEnabled = not isTeleportEnabled
updateButtonDisplay()
print("Teleport Toggled. Enabled: " .. tostring(isTeleportEnabled))
end
local function setupGUI()
local gui = Instance.new("ScreenGui")
gui.Name = "RespawnToggleGui"
gui.ResetOnSpawn = false
gui.Parent = LocalPlayer:WaitForChild("PlayerGui")
toggleButton = Instance.new("TextButton")
toggleButton.Name = "ToggleTeleport"









Your inspiration is Subaru, right?
@i_love_script yes
@i_love_script yes
Does it work in rivals Roblox
can you make it play THAT sound once u die?
Love the return by death script, It works on alot of games.
is working ?
@atrix yea on lots of games