i have no clue. the game has terrain. tried in and out of water. it worked before. could this be a steaming issue?
script 1:
local IsAllHoles = false
print(".")
for _, child in ipairs(game.Workspace.Technical:GetChildren()) do
child.Touched:Connect(function(hit)
if game.Players:GetPlayerFromCharacter(hit.Parent) then
print(".")
child:Destroy()
if #game.Workspace.Technical:GetChildren() == 0 then
IsAllHoles = false
game.SoundService.Water.Playing = false
game.SoundService.VoidNoises.Playing = true
hit.Parent.Humanoid.Health = 0
game.Workspace.LakeParts:Destroy()
else
hit.Parent.Humanoid.Health = 0
game.SoundService.Water.Volume += 0.3
end
end
end)
end
script 2:
local ts = game:GetService("TweenService")
local lighting = game.Lighting
local ti = TweenInfo.new(5,
Enum.EasingStyle.Sine,
Enum.EasingDirection.Out
)
print(".")
local tg = {Ambient = Color3.new(0)}
local tc = ts:Create(lighting, ti, tg)
for _, v in ipairs (game.Workspace.Teleport:GetChildren()) do
v.Touched:Connect(function(hit)
if game.Players:GetPlayerFromCharacter(hit.Parent) then
print(".")
tc:Play()
task.wait(5)
game:GetService("TeleportService"):Teleport(13567760719)
end
end)
end