Anti_Void_Script
Anti_Void_Script
character:PivotTo(CFrame.new(piv.Position.X,destroyheight+dhto+character:GetExtents
Size().Y,piv.Position.Z))
end
if part then
part.Velocity = Vector3.new(0,0,0)
if character then
for i,v in pairs(character:GetChildren()) do
if v:IsA("BasePart") then
v.Velocity = Vector3.new(0,0,0)
end
end
end
end
if tpcframe ~= nil and sentnotif == false then
sentnotif = true
prompt("Teleport back to last touched (buggy)",true,function()
if character then
character:PivotTo(tpcframe)
end
if part then
part.Velocity = Vector3.new(0,0,0)
end
end)
end
end
local stepped = game:GetService("RunService").Stepped:Connect(function()
if character ~= nil and character:FindFirstChildWhichIsA("BasePart") then
local part = character:FindFirstChild("HumanoidRootPart") or
character:FindFirstChildWhichIsA("BasePart")
local cfr = (character:FindFirstChild("HumanoidRootPart") and
character.HumanoidRootPart.CFrame) or character:GetPivot()
charcframe = cfr
if cfr.Position.Y < destroyheightnew then
fixchar(part)
end
local partvel = part.Velocity
if (partvel.Y/fpsdiv) + part.Position.Y < destroyheightnew then
fixchar(part)
end
end
end)
prompt("Anti-Void Loaded!")
getgenv().deletescript123456lol69 = function()
workspace.FallenPartsDestroyHeight = destroyheight
characteradded:Disconnect()
stepped:Disconnect()
for i,v in pairs(connectsextra) do
v:Disconnect()
end
stopped = true
end