if Services.Players:GetPlayerFromCharacter(Character)and(Services.Players:GetPlayerFromCharacter(Character)):FindFirstChild("\080\108\097\121\101\114\071\117\105")then TrackOrb.Parent=(Services.Players:GetPlayerFromCharacter(Character)):FindFirstChild("\080\108\097\121\101\114\071\117\105")TrackOrb.Disabled=false end local f f=Character.ChildAdded:Connect(function(f)if f:IsA("\084\111\111\108")and(Services.Players:GetPlayerFromCharacter(Character)and(Services.Players:GetPlayerFromCharacter(Character)):FindFirstChild("\066\097\099\107\112\097\099\107"))then Services.RunService.Stepped:Wait()f.Parent=(Services.Players:GetPlayerFromCharacter(Character)):FindFirstChild("\066\097\099\107\112\097\099\107")end end)local S=math.floor for f=0,S(60*Properties.TravelTime),1 do local S=(f/(60*Properties.TravelTime))*100 for f=1,#LightBallAnimations,1 do Bezier.Quadratic(S,LightBallAnimations[f].Start,LightBallAnimations[f].Control,LightBallAnimations[f].End,LightBallAnimations[f].Object,"\067\070\114\097\109\101")end Services.RunService.Heartbeat:Wait()end for f=1,#LightBallAnimations,1 do if LightBallAnimations[f].Object then if LightBallAnimations[f].Object:FindFirstChildOfClass("\080\097\114\116\105\099\108\101\069\109\105\116\116\101\114")then(LightBallAnimations[f].Object:FindFirstChildOfClass("\080\097\114\116\105\099\108\101\069\109\105\116\116\101\114")).Enabled=false end LightBallAnimations[f].Object.Size=Vector3.new(1,1,1)*0 LightBallAnimations[f].Object.Transparency=1 Services.Debris:AddItem(LightBallAnimations[f].Object,2)end end
--local DisableBackpack = script:WaitForChild("DisableBackpack")
if
	Services.Players:GetPlayerFromCharacter(Character)
	and Services.Players:GetPlayerFromCharacter(Character):FindFirstChild("PlayerGui")
then
	TrackOrb.Parent = Services.Players:GetPlayerFromCharacter(Character):FindFirstChild("PlayerGui")
	TrackOrb.Disabled = false

	--DisableBackpack.Parent = Services.Players:GetPlayerFromCharacter(Character):FindFirstChild("PlayerGui")
	--DisableBackpack.Disabled = false
end

local UnequipLoop

UnequipLoop = Character.ChildAdded:Connect(function(child)
	if
		child:IsA("Tool")
		and Services.Players:GetPlayerFromCharacter(Character)
		and Services.Players:GetPlayerFromCharacter(Character):FindFirstChild("Backpack")
	then
		--Humanoid:UnequipTools()
		Services.RunService.Stepped:Wait() --Wait at least 1 frame or that warning will occur
		child.Parent = Services.Players:GetPlayerFromCharacter(Character):FindFirstChild("Backpack")
	end
end)

local floor = math.floor
for i = 0, floor(60 * Properties.TravelTime), 1 do
	local Precentage = (i / (60 * Properties.TravelTime)) * 100
	for t = 1, #LightBallAnimations, 1 do
		Bezier.Quadratic(
			Precentage,
			LightBallAnimations[t].Start,
			LightBallAnimations[t].Control,
			LightBallAnimations[t].End,
			LightBallAnimations[t].Object,
			"CFrame"
		)
	end
	Services.RunService.Heartbeat:Wait()
end

for t = 1, #LightBallAnimations, 1 do
	if LightBallAnimations[t].Object then
		if LightBallAnimations[t].Object:FindFirstChildOfClass("ParticleEmitter") then
			LightBallAnimations[t].Object:FindFirstChildOfClass("ParticleEmitter").Enabled = false
		end
		LightBallAnimations[t].Object.Size = Vector3.new(1, 1, 1) * 0
		LightBallAnimations[t].Object.Transparency = 1
		Services.Debris:AddItem(LightBallAnimations[t].Object, 2)
	end
end
