Copy salient and essential scripts and models from Plane Building Roblox

This commit is contained in:
2026-06-10 02:53:40 +01:00
commit 891781366d
76 changed files with 10904 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
function init(this,mode)
if mode == "Survival" then
this.Parent.Triggered:Connect(function(player)
for _,tool in pairs(player.Character:GetChildren()) do
if tool:IsA("Tool") then
tool:Destroy()
end
end
for _,tool in pairs(player.Backpack:GetChildren()) do
if tool:IsA("Tool") then
tool:Destroy()
end
end
for _,tool in pairs(_G.Storage.Tools:GetChildren()) do
tool:Clone().Parent = player.Backpack
end
player.Character:SetPrimaryPartCFrame(game.Workspace.Heaven.AngelSpawn.CFrame+Vector3.new(0,4,0))
end)
end
if mode == "Heaven" then
this.Parent.Triggered:Connect(function(player)
for _,tool in pairs(player.Character:GetChildren()) do
if tool:IsA("Tool") then
tool:Destroy()
end
end
for _,tool in pairs(player.Backpack:GetChildren()) do
if tool:IsA("Tool") then
tool:Destroy()
end
end
player.Character:SetPrimaryPartCFrame(game.Workspace.GoonSpawn.CFrame+Vector3.new(0,4,0))
end)
end
end
return getfenv()