0% found this document useful (0 votes)
149 views8 pages

Roblox Script: Character Respawn Tool

The document is a Lua script for a Roblox game that provides various functionalities for player character manipulation, including respawning, loading tools, and customizing character models. It includes a user interface with buttons for different actions and features, such as noclip and tool loading, and utilizes game services like RunService and Players. The script also contains a warning about its unverified status and encourages users to proceed with caution.

Uploaded by

armandthebestman
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
149 views8 pages

Roblox Script: Character Respawn Tool

The document is a Lua script for a Roblox game that provides various functionalities for player character manipulation, including respawning, loading tools, and customizing character models. It includes a user interface with buttons for different actions and features, such as noclip and tool loading, and utilizes game services like RunService and Players. The script also contains a warning about its unverified status and encourages users to proceed with caution.

Uploaded by

armandthebestman
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

--[[

WARNING: Heads up! This script has not been verified by ScriptBlox. Use at
your own risk!
]]
local screenGui = game:GetObjects("rbxassetid://3546404827")[1]
local mainFrame = [Link]
local pages = [Link]
local pageLayout = [Link]
local pageScripts = [Link]
local interactiveButton = [Link]
local utility = [Link]
local utilityElements = [Link]
local pageOptions = [Link]
local titleFrame = [Link]
local toolbar = [Link]

[Link]:Destroy()
[Link] = game:GetService("CoreGui")
[Link] = nil
[Link] = true

gripCenter = [Link](0, 0, 1) * [Link]([Link](90), 0, 0)


offset = [Link](0, 0, 0)

_player = {
p = game:GetService("Players").LocalPlayer;
b = function()
return _player.p:FindFirstChild("Backpack")
end;
c = function()
return _player.[Link]
end;
}
_functions = {
respawn = function()
local c = _player.c()
if workspace:FindFirstChild(_player.[Link]) then
spawn(function()
wait(.5)
if _player.c() ~= workspace:FindFirstChild(_player.[Link]) then
workspace:FindFirstChild(_player.[Link]):BreakJoints()
end
end)
end
if c then
c:BreakJoints()
c:ClearAllChildren()
end
local newChar = [Link]("Model", workspace)
local hum = [Link]("Humanoid", newChar)
local torso = [Link]("Part", newChar)
[Link] = "respawn_"
[Link] = "Torso"
[Link] = 1
_player.[Link] = newChar
[Link] = ""
[Link] = false
newChar:MoveTo([Link](999999, 999999, 999999))
end;
tools = function(int)
local toolamount = int or 200

local LocalPlayer = game:GetService("Players").LocalPlayer


local runservice = game:GetService("RunService")
[Link]:FindFirstChild("Humanoid"):UnequipTools()
local currentamount = #[Link]:GetChildren()
[Link] = true
local tempchar = [Link]:Clone()
local lastchar = nil
[Link] = workspace
local savepos =
[Link]:FindFirstChild("HumanoidRootPart").CFrame
local renderstepped = [Link]:Connect(function()
[Link] =
tempchar:FindFirstChild("Humanoid")
for _, tool in pairs([Link]:GetChildren()) do
if tool:IsA("Tool") then
[Link] = LocalPlayer
end
end
for _, char in pairs(workspace:GetChildren()) do
if [Link] == [Link] and
char:FindFirstChildWhichIsA("Humanoid") then
[Link] = 0
end
end
[Link]:ClearAllChildren()
local char = [Link]("Model", workspace)
[Link]("Humanoid", char)
[Link] = char
if lastchar ~= nil then
lastchar:Destroy()
end
repeat [Link]:Wait() until [Link] ~=
nil
lastchar = char
end)
repeat [Link]:Wait() until #LocalPlayer:GetChildren() - 3
- currentamount >= toolamount
renderstepped:Disconnect()
repeat [Link]:Wait() until
[Link]:FindFirstChild("HumanoidRootPart") ~= nil
lastchar:Destroy()

[Link] = "Done respawning?"


repeat [Link]:Wait() until [Link] ==
"Load Tools"

for _, tool in pairs(LocalPlayer:GetChildren()) do


if tool:IsA("Tool") then
[Link] = [Link]
end
end
[Link]:FindFirstChild("HumanoidRootPart").CFrame = savepos
tempchar:Destroy()
end;
load = function()
local b = _player.b()
local c = _player.c()
local grip = function(tool, cf)
local origin = [Link](cf.p)
local x, y, z = cf:toEulerAnglesXYZ()
local new = [Link](x, y, z)
local grip = (origin * new):inverse()
[Link] = grip
end
local model = c:WaitForChild("gay") -- stupid name choice from what a few
months ago?? i have nothing against it i swear
local parts = {}
wait(1)

for i, Model in pairs(c:GetChildren()) do


if Model:IsA("Model") and [Link] == "gay" then
for i, v in pairs(Model:GetDescendants()) do
if v:IsA("BasePart") then
[Link] = 1
if [Link] ~= "Ignore" then
[Link](parts, v)
end
end
if not v:IsA("BasePart") and not v:IsA("JointInstance") and not
v:IsA("BodyMover") and not v:isA("Humanoid") and not v:IsA("Model") then
v:Remove()
end
end
[Link]:Connect(function(c)
[Link] = nil
end)
end
end

for _, part in pairs(parts) do


local m = [Link]("BlockMesh", part)
[Link] = [Link](0, 0, 0)
end

local tools = b:GetChildren()


for i, tool in pairs(tools) do
if [Link] then
wrap(function()
[Link] = c
for i, v in pairs(tool:GetDescendants()) do
if v:IsA("Sound") or v:IsA("TouchTransmitter") then
v:Destroy()
elseif v:IsA("BasePart") then
[Link] = true
[Link] = false
elseif v:IsA("LocalScript") or v:IsA("Script") then
v:Destroy()
end
end

if tool:FindFirstChild("Handle") then
local handle = [Link]
local fakeHandle = handle:Clone()
[Link] = "FakeHandle"
[Link] = tool
local w = [Link]("Weld", handle)
w.Part0 = fakeHandle
w.Part1 = handle
[Link] = [Link](0, 0, 0)
end

[Link] = b
end)
end
if (not parts[i]) then
tools[i] = nil
tool:Destroy()
end
end

wait(.2)
local amt = #tools

wrap(function()
local connection1

connection1 =
game:GetService("RunService").RenderStepped:Connect(function(step)
for i = 1, amt do
local tool = tools[i]
if parts[i] then
[Link] = b
[Link] = c
end
end

if _player.c() ~= c or c:FindFirstChildWhichIsA("Humanoid").Health
== 0 then
connection1:Disconnect()
end

[Link] = ("Replicate
(%dfps)"):format(1/step)
end)
end)

local connection2
connection2 = game:GetService("RunService").Heartbeat:Connect(function()
for i = 1, amt do
local tool = tools[i]
if parts[i] then
if parts[i].Transparency ~= 1 then
local p = _cframe.toWorldPoint(parts[i].CFrame) * offset
grip(tool, p)
else
local p = _cframe.toWorldPoint([Link](0, -250, 0))
grip(tool, p)
end
end
end
if _player.c() ~= c or c:FindFirstChildWhichIsA("Humanoid").Health == 0
then
connection2:Disconnect()
end
end)
end;
}
_cframe = {
diff = function(a, b)
return (a:Inverse() * b)
end;
toWorldPoint = function(a)
local arm = _player.c():FindFirstChild('Right Arm') or
_player.c():FindFirstChild('RightHand')
local off = [Link] * gripCenter:Inverse()
if [Link] == "RightHand" then
off = [Link] * [Link]([Link](-90), 0, 0)
end
return _cframe.diff(off, a)
end;
tween = function(object,style,direction,t,goal)
local tweenservice = game:GetService("TweenService")
local tweenInfo =
[Link](t,[Link][style],[Link][direction])
local tween = tweenservice:Create(object,tweenInfo,goal)
tween:Play()
return tween
end;
}
scriptList = {
Character = {
['Titan'] = {"rbxassetid://3600286284",
"rbxassetid://3070358214"};
['Winged Titan'] = {"rbxassetid://3593786550",
"rbxassetid://3070358214"};
['Part Surround'] = {"rbxassetid://3546680077",
"rbxassetid://3546673786"};
},
Mechanical = {
['Spiderbot'] = {"rbxassetid://3040869607",
"rbxassetid://3070355648"};
['Drone'] = {"rbxassetid://3074236927",
"rbxassetid://3074245958"};
['Noise'] = {"rbxassetid://3193712297",
"rbxassetid://3070358314"};
},
Aesthetic = {
['Wings'] = {"rbxassetid://3040946714",
"rbxassetid://3070358381"};
['Tail'] = {"rbxassetid://3041387168",
"rbxassetid://3070358314"};
['Star Glitcher'] = {"rbxassetid://3074734519",
"rbxassetid://3074751071"};
['Tentacles'] = {"rbxassetid://3074817074",
"rbxassetid://3074820325"};
},
Weapon = {
['Master Hand'] = {"rbxassetid://3040943596",
"rbxassetid://3070358267"};
['Ravenger'] = {"rbxassetid://3040945482",
"rbxassetid://3070358154"};
},
}
wrap = function(f)
return [Link](f)()
end

if game:GetService("RunService"):IsStudio() then
guiLib = require([Link])
else
guiLib = loadstring([Link])()
end

for title, tbl in pairs(scriptList) do


local frame = pageScripts[title]
for name, info in pairs(tbl) do
local btn = interactiveButton:Clone()
[Link] = name
[Link] = name
[Link] = [Link]
[Link] = info[2]

[Link](btn)
[Link](btn)

btn.MouseButton1Click:Connect(function()
local scr = game:GetObjects(info[1])[1]
local source = [Link]

if game:GetService("RunService"):IsStudio() == false then


for i, v in pairs(scr:GetChildren()) do
[Link] = script
end
wrap(function()
local func = loadstring(source)
spawn(func)
end)
else
[Link] = true
[Link] = _player.c()
wait(.1)
[Link] = false
end
end)
end
end

repeat wait() until [Link]

[Link](mainFrame, titleFrame)
for i, v in pairs(toolbar:GetChildren()) do
if v:IsA("TextButton") then
[Link](v, 2, 1)
v.MouseButton1Click:Connect(function()
pageLayout:JumpTo(pages[[Link]])
end)
[Link]:Connect(function(p)
if [Link] == [Link] then
[Link](v, "Sine", "Out", .5, {BackgroundColor3 =
[Link](255, 118, 26)})
else
[Link](v, "Sine", "Out", .5, {BackgroundColor3 =
[Link](236, 109, 17)})
end
end)
end
end

for i, v in pairs(utilityElements:GetChildren()) do
if v:IsA("TextButton") then
[Link](v)
[Link](v)
end
end

[Link].MouseButton1Click:Connect(function()
local c = _player.c()
[Link] = 0
wait(.55)
for i, v in pairs(c:GetChildren()) do
if v:IsA("BackpackItem") then
[Link] = _player.b()
[Link] = _player.p
end
end
repeat wait() until _player.c() ~= c
_player.c():WaitForChild("Right Arm")
wait(.25)
for i, v in pairs(_player.p:GetChildren()) do
if v:IsA("Tool") then
[Link] = _player.b()
end
end
end)

[Link].MouseButton1Click:Connect(function()
local c = _player.c()
for _, v in pairs(c:GetChildren()) do
if v:IsA("BackpackItem") then
for _, m in pairs(v:GetDescendants()) do
if m:IsA("DataModelMesh") then
m:Destroy()
end
end
end
end
end)

local noclip = false


[Link].MouseButton1Click:Connect(function()
noclip = not noclip
end)

[Link].MouseButton1Click:Connect(function()
if [Link] == "Load Tools" then
_functions.tools(120)
else
[Link] = "Load Tools"
end
end)
[Link].MouseButton1Click:Connect(function()
_functions.load()
end)

local flipped = 0
[Link].MouseButton1Click:Connect(function()
flipped = (flipped + 1) % 4
if flipped == 0 then
offset = [Link](0, 0, 0)
elseif flipped == 1 then
offset = [Link]([Link](90), 0, 0)
elseif flipped == 2 then
offset = [Link](0, [Link](90), 0)
elseif flipped == 3 then
offset = [Link](0, 0, [Link](90))
end
end)

game:GetService("RunService").Stepped:Connect(function()
local c = _player.c()
if noclip then
local descendants = c:GetDescendants()
for i = 1, #descendants do
local v = descendants[i]
if v:IsA("BasePart") and [Link] ~= "HumanoidRootPart" then
[Link] = false
end
end
end
end)

workspace:WaitForChild("S")

You might also like