--[[ replicatesignal GUI (Universal) GUI with buttons: Break Joints, Instant Respawn, No Permadeath, Permadeath. ]]-- -- rever reverup i dont uhhh have enough time -------------------------------------------------[ One-Time Run Check ]------------------------------------------------- local cloneref = cloneref or function(x) return x end local CoreGui = cloneref(game:GetService("CoreGui")) getgenv().ReplicateCommands = getgenv().ReplicateCommands or false if getgenv().ReplicateCommands then warn("Already running. One instance only.") return end getgenv().ReplicateCommands = true -------------------------------------------------[ Services & Variables ]------------------------------------------------- local TweenService = game:GetService("TweenService") local Players = game:GetService("Players") local plr = Players.LocalPlayer local MS = getgenv and getgenv() or shared or _G local isWorking, currentFunction = false, "None" -------------------------------------------------[ Notifier System ]------------------------------------------------- local notifyGui = Instance.new("ScreenGui", CoreGui) notifyGui.Name = "NotifyBuddy" notifyGui.ResetOnSpawn = false notifyGui.IgnoreGuiInset = true local notifyHolder = Instance.new("Frame", notifyGui) notifyHolder.Size = UDim2.new(0, 300, 1, -100) notifyHolder.Position = UDim2.new(1, -310, 0, 50) notifyHolder.BackgroundTransparency = 1 Instance.new("UIListLayout", notifyHolder).Padding = UDim.new(0, 6) local function createNotification(title, description, duration) duration = duration or 3 local notif = Instance.new("Frame", notifyHolder) notif.Size = UDim2.new(1, 0, 0, 70) notif.BackgroundColor3 = Color3.fromRGB(30,30,30) notif.BorderSizePixel = 0 Instance.new("UICorner", notif).CornerRadius = UDim.new(0,8) Instance.new("UIStroke", notif).Color = Color3.fromRGB(80,80,80) local titleLabel = Instance.new("TextLabel", notif) titleLabel.Size = UDim2.new(1, -20, 0, 24) titleLabel.Position = UDim2.new(0, 10, 0, 5) titleLabel.BackgroundTransparency = 1 titleLabel.Font = Enum.Font.GothamBold titleLabel.TextSize = 16 titleLabel.TextColor3 = Color3.new(1,1,1) titleLabel.TextXAlignment = Enum.TextXAlignment.Left titleLabel.Text = title local descLabel = Instance.new("TextLabel", notif) descLabel.Size = UDim2.new(1, -20, 0, 30) descLabel.Position = UDim2.new(0, 10, 0, 30) descLabel.BackgroundTransparency = 1 descLabel.Font = Enum.Font.Gotham descLabel.TextSize = 14 descLabel.TextColor3 = Color3.new(0.9,0.9,0.9) descLabel.TextXAlignment = Enum.TextXAlignment.Left descLabel.TextWrapped = true descLabel.Text = description notif.Position = UDim2.new(1,0,0,notif.Position.Y.Offset) notif.BackgroundTransparency = 1 titleLabel.TextTransparency = 1 descLabel.TextTransparency = 1 TweenService:Create(notif, TweenInfo.new(0.25), {Position = UDim2.new(0,0,0,notif.Position.Y.Offset), BackgroundTransparency = 0}):Play() TweenService:Create(titleLabel, TweenInfo.new(0.25), {TextTransparency = 0}):Play() TweenService:Create(descLabel, TweenInfo.new(0.25), {TextTransparency = 0}):Play() task.delay(duration, function() TweenService:Create(notif, TweenInfo.new(0.25), {Position = UDim2.new(1,0,0,notif.Position.Y.Offset), BackgroundTransparency = 1}):Play() TweenService:Create(titleLabel, TweenInfo.new(0.25), {TextTransparency = 1}):Play() TweenService:Create(descLabel, TweenInfo.new(0.25), {TextTransparency = 1}):Play() task.wait(0.3) notif:Destroy() end) end -------------------------------------------------[ GUI Frame Setup ]------------------------------------------------- local gui = Instance.new("ScreenGui", CoreGui) gui.Name = "replicatesignalCommands" gui.ResetOnSpawn = false local frame = Instance.new("Frame", gui) frame.Size = UDim2.new(0, 210, 0, 310) frame.Position = UDim2.new(0.5, -110, 0.5, -155) frame.BackgroundColor3 = Color3.fromRGB(25,25,25) frame.BorderSizePixel = 0 frame.Active = true frame.Draggable = true Instance.new("UICorner", frame).CornerRadius = UDim.new(0, 12) -------------------------------------------------[ Function Logic Setup ]------------------------------------------------- MS.permadeatj = function() local I = game.Players.LocalPlayer if I.Character and I.Character:FindFirstChild("Humanoid") then if I.Character.Humanoid.Health <= 0 then createNotification("Permadeath", "permadeath is already enabled.", 2) return end end createNotification("Permadeath", "Activating permadeath...", Players.RespawnTime + 0.1) replicatesignal(plr.ConnectDiedSignalBackend) task.wait(Players.RespawnTime + 0.1) replicatesignal(plr.Character.Humanoid.ServerBreakJoints) createNotification("Permadeath", "Permadeath completed.", 2) end MS.nopermadeath = function() local I = game.Players.LocalPlayer if I.Character and I.Character:FindFirstChild("Humanoid") then if I.Character.Humanoid.Health > 0 then createNotification("No Permadeath", "permadeath is not enabled.", 2) return end end createNotification("No Permadeath", "Disabling permadeath...", Players.RespawnTime + 0.1) replicatesignal(plr.ConnectDiedSignalBackend) task.wait(Players.RespawnTime + 0.1) createNotification("No Permadeath", " permadeath disabled.", 2) end MS.instantrespawn = function() local I = game.Players.LocalPlayer if I.Character and I.Character:FindFirstChild("Humanoid") then if I.Character.Humanoid.Health <= 0 then return end end createNotification("Instant Respawn", "Attempting instant respawn...", 2) local h, cam = plr.Character.HumanoidRootPart, workspace.CurrentCamera replicatesignal(plr.ConnectDiedSignalBackend) task.wait(Players.RespawnTime - 0.165) plr.Character:FindFirstChildOfClass("Humanoid"):ChangeState(15) task.wait(0.5) plr.Character.HumanoidRootPart.CFrame = h.CFrame workspace.CurrentCamera = cam createNotification("Instant Respawn", "Respawn complete.", 2) end MS.breakjoints = function() createNotification("Server Break Joints", "Breaking joints...", 2) replicatesignal(plr.Character.Humanoid.ServerBreakJoints) createNotification("Server Break Joints", "Joints broken.", 2) end -------------------------------------------------[ Button Setup ]------------------------------------------------- local buttonNames = { {Name = "Break Joints", Function = "breakjoints"}, {Name = "Instant Respawn", Function = "instantrespawn"}, {Name = "No Permadeath", Function = "nopermadeath"}, {Name = "Permadeath", Function = "permadeatj"} } for i, info in ipairs(buttonNames) do local button = Instance.new("TextButton", frame) button.Size = UDim2.new(1, -30, 0, 45) button.Position = UDim2.new(0, 10, 0, 10 + (i - 1) * 60) button.BackgroundColor3 = Color3.fromRGB(45,45,45) button.TextColor3 = Color3.new(1,1,1) button.Font = Enum.Font.GothamBold button.Text = info.Name button.TextSize = 14 Instance.new("UICorner", button).CornerRadius = UDim.new(0,8) button.MouseButton1Click:Connect(function() if isWorking then createNotification("Busy", "Already running: "..currentFunction, 2) return end isWorking = true currentFunction = info.Name local func = MS[info.Function] if func then task.spawn(function() func() task.wait(0.5) isWorking = false currentFunction = "None" end) else createNotification("Error", "Function missing: "..info.Function, 2) isWorking = false currentFunction = "None" end end) end