My script is pretty much fully broken, everything is mostly placeholders right now
local textButton = game.Players.LocalPlayer.PlayerGui.ScreenGui.TextButton
local warp1 = game.Workspace.Group1
local warp2 = game.Workspace.Group2
local warpTunnel = game.Workspace.tunnel
local targetFOV = 200
local Frame = game.Players.LocalPlayer.PlayerGui.White.Frame
local BackgroundTransparency = Frame.BackgroundTransparency
local easingDuration = 4
local easingStyle = Enum.EasingStyle.Sine
local easingDirection = Enum.EasingDirection.Out
textButton.MouseButton1Click:Connect(function()
for I, V in pairs (warp1:GetDescendants()) do
if V:IsA("ParticleEmitter") then
V.Enabled = true
wait()
for I, V in pairs (warp2:GetDescendants()) do
if V:IsA("ParticleEmitter") then
V.Enabled = true
task.wait(2)
local tween = game.TweenService:Create(workspace.CurrentCamera, TweenInfo.new(easingDuration, easingStyle, easingDirection), {
FieldOfView = targetFOV
})
tween:Play()
task.wait(3)
for i = 1,100 do
Frame.BackgroundTransparency = Frame.BackgroundTransparency - 0.01
end
for I, V in pairs(warpTunnel:GetDescendants()) do
if V:IsA("Beam") then
V.Enabled = true
for i = 1,100 do
Frame.BackgroundTransparency = Frame.BackgroundTransparency + 0.01
end
end
end
end
end
end
end
end)
So, only two random particles will activate
Should be more like that but that version of the script would run without me pressing the button
Also the white GUI doesn’t fade in or out or even appear at all and I always get an error of textButton not being apart of ScreenGui