script.Parent.TimeStop2:Play()
wait(2)
local TsEffect = game.Workspace.Effects.TS:Clone()
TsEffect.Parent = game.Workspace
TsEffect.Position = plr.Character.HumanoidRootPart.Position
game.Lighting.TimeStopEffect.TsWave:FireAllClients(TsEffect)
local TweenService = game:GetService("TweenService")
local Info = TweenInfo.new(
1,
Enum.EasingStyle.Linear
)
local propities = {
Size = Vector3.new(100, 100, 100)
}
local tween = TweenService:Create(TsEffect, Info, propities)
game.Lighting.TimeStopEffect.Enabled = true
local children = game.Players:GetChildren()
for i = 1, #children do
local child = children[i]
if child:IsA("Player") then
local children = child.Character:GetDescendants()
for i = 1, #children do
local child2 = children[i]
if child2:IsA("Part") then
child2.Anchored = true
end
end
end
end
wait(0.2)
local children = plr.Character:GetDescendants()
for i = 1, #children do
local child = children[i]
if child:IsA("Part") then
child.Anchored = false
end
end
wait(5)
local propities = {
Size = Vector3.new(0.7, 0.7, 0.7)
}
game.Lighting.TimeStopEffect.TsWaveEnd:FireAllClients(TsEffect)
local tween = TweenService:Create(TsEffect, Info, propities)
script.Parent.ResumeTime:Play()
wait(1)
TsEffect:Destroy()
game.Lighting.TimeStopEffect.Enabled = false
local children = game.Players:GetChildren()
for i = 1, #children do
local child = children[i]
if child:IsA("Player") then
local children = child.Character:GetDescendants()
for i = 1, #children do
local child2 = children[i]
if child2:IsA("Part") then
child2.Anchored = false
end
end
end
end
game.Lighting.TimeStopEffect.Enabled = false
game.Workspace.TimeStopped.Value = false
plr.tsbyplr.Value = false