
Key RequiredUniversal

--Made by Phaiznz, Edit the controls and sounds if you want.
local Players = game:GetService("Players")
local UIS = game:GetService("UserInputService")
local player = Players.LocalPlayer
local savedCFrame = nil
local deathSound = Instance.new("Sound")
deathSound.SoundId = "rbxassetid://134815520229822"
deathSound.Parent = workspace
local RandomSound = Instance.new("Sound")
RandomSound.SoundId = "rbxassetid://114423456603152"
RandomSound.Parent = workspace
local RARE_CHANCE = 0.2
UIS.InputBegan:Connect(function(input, gpe)
if gpe then return end
if input.KeyCode == Enum.KeyCode.G then
local char = player.Character
if not char then return end
local root = char:FindFirstChild("HumanoidRootPart")
if not root then return end
savedCFrame = root.CFrame
end
if input.KeyCode == Enum.KeyCode.H then
local char = player.Character
if not char then return end
local hum = char:FindFirstChildOfClass("Humanoid")
if hum then
hum.Health = 0
end
end
if input.KeyCode == Enum.KeyCode.J then
savedCFrame = nil
end
end)
player.CharacterAdded:Connect(function(character)
task.wait(0.1)
local root = character:WaitForChild("HumanoidRootPart", 5)
if not root then return end
if savedCFrame then
for i = 1, 6 do
pcall(function()
root.CFrame = savedCFrame
end)
task.wait(0.05)
end
if math.random() < RARE_CHANCE then
RandomSound:Play()
else
deathSound:Play()
end
end
end)



Hahaha ts is funny i got ptsd lol.
Nothing happens using delta
@RobinsonF it's pc only bcuz there's keybinds
@phaiznz what are the key binds I have a keyboard script
@Scriptgooner thank you!!
Thank you!😊
welcome