local L=10 local w={}local s,F=script:WaitForChild("\084\114\097\099\107\079\114\098"),script:WaitForChild("\070\105\120\067\097\109")local m={}local H=Character:GetDescendants()for L=1,#H,1 do if H[L]:IsA("\066\097\115\101\080\097\114\116")then m[#m+1]={Part=H[L];Transparency=H[L].Transparency,CanCollide=H[L].CanCollide;Anchored=H[L].Anchored}H[L].CanCollide=false H[L].Transparency=1 H[L].Anchored=true end end local g=Character:FindFirstChildOfClass("\070\111\114\099\101\070\105\101\108\100")local u if g then g.Visible=false end if not g then u=(Create("\070\111\114\099\101\070\105\101\108\100"))({Name="\073\110\118\105\110\099\105\098\105\108\105\116\121",Visible=false;Parent=Character})end local t=Character:FindFirstChildOfClass("\084\111\111\108")if t then Humanoid:UnequipTools()end


local Light_Segments = 10

local LightBallAnimations = {}

local TrackOrb,FixCam = script:WaitForChild("TrackOrb"),script:WaitForChild("FixCam")

local AffectedParts = {}
local Parts = Character:GetDescendants()
for i=1,#Parts do
	if Parts[i]:IsA("BasePart") then
		AffectedParts[#AffectedParts+1] = {Part = Parts[i], Transparency = Parts[i].Transparency,CanCollide = Parts[i].CanCollide,Anchored = Parts[i].Anchored}
		Parts[i].CanCollide = false
		Parts[i].Transparency = 1
		Parts[i].Anchored = true
	end
end

local ForceFieldExists = Character:FindFirstChildOfClass("ForceField")
local ForceField

if ForceFieldExists then
	ForceFieldExists.Visible = false
end

if not ForceFieldExists then -- give invincibility when travelling
	ForceField = Create("ForceField"){
		Name = "Invincibility",
		Visible = false,
		Parent = Character
	}
end

local HeldTool = Character:FindFirstChildOfClass("Tool")
if HeldTool then
	Humanoid:UnequipTools()
end
