CEs.AnimateT.OnClientEvent:connect(function(G,v,d,l)if G:IsDescendantOf(plr.Character)then return end if l then(TweenService:Create(G,TweenInfo.new(d),l)):Play()else(TweenService:Create(G,TweenInfo.new(d),{C1=v})):Play()end end)CEs.AnimateFE.OnClientEvent:connect(function(G,v,d,l,C,N,O)if N==plr.Character then return end;(TweenService:Create(N.Torso.Neck,TweenInfo.new(v),{C0=OriginalC0*CFrame.Angles(d,l,C)})):Play();(TweenService:Create(N.Torso.Mweld1,TweenInfo.new(v),{C1=G[1]*CFrame.new(0,O,0)})):Play();(TweenService:Create(N.Torso.Mweld2,TweenInfo.new(v),{C1=G[2]*CFrame.new(0,O,0)})):Play()if G[3]then(TweenService:Create(N["\082\105\103\104\116 \065\114\109"].Mweld3,TweenInfo.new(v),{C1=G[3]*CFrame.new(0,O,0)})):Play()end;(TweenService:Create(N.HumanoidRootPart.Mtweld,TweenInfo.new(v),{C1=G[4]*CFrame.new(0,O,0)})):Play()end)function checktoolsupdatemouse()local G=game.Players.LocalPlayer.Character for G,v in pairs(G:GetChildren())do if v:IsA("\084\111\111\108")then gui.FakeC.Visible=true;(game:GetService("\085\115\101\114\073\110\112\117\116\083\101\114\118\105\099\101")).MouseIconEnabled=false return end end gui.FakeC.Visible=false;(game:GetService("\085\115\101\114\073\110\112\117\116\083\101\114\118\105\099\101")).MouseIconEnabled=true end game.Players.LocalPlayer.Character.ChildAdded:Connect(checktoolsupdatemouse)game.Players.LocalPlayer.Character.ChildRemoved:Connect(checktoolsupdatemouse)checktoolsupdatemouse()

CEs.AnimateT.OnClientEvent:connect(function(Part,NCF,Time,O)
	if Part:IsDescendantOf(plr.Character) then return end
	
	if O then
		TweenService:Create(Part,TweenInfo.new(Time),O):Play()	
	else
		TweenService:Create(Part,TweenInfo.new(Time),{C1=NCF}):Play()
	end
end)

CEs.AnimateFE.OnClientEvent:connect(function(w,Time,Ans,NAngle,NRotation,Rchr,HigV)
	if Rchr == plr.Character then return end
	
	TweenService:Create(Rchr.Torso.Neck,TweenInfo.new(Time),{C0=OriginalC0*CFrame.Angles(Ans,NAngle,NRotation)}):Play()
	
	TweenService:Create(Rchr.Torso.Mweld1,TweenInfo.new(Time),
		{C1=w[1]*CFrame.new(0,HigV,0)}):Play()
	
	TweenService:Create(Rchr.Torso.Mweld2,TweenInfo.new(Time),
		{C1=w[2]*CFrame.new(0,HigV,0)}):Play()
	
	if w[3] then -- Check if there is an extra weld
		TweenService:Create(Rchr["Right Arm"].Mweld3,TweenInfo.new(Time),
		    {C1=w[3]*CFrame.new(0,HigV,0)}):Play()	
	end
				
	TweenService:Create(Rchr.HumanoidRootPart.Mtweld,TweenInfo.new(Time),
		{C1=w[4]*CFrame.new(0,HigV,0)}):Play()
end)





function checktoolsupdatemouse()
	local char = game.Players.LocalPlayer.Character
	for i,v in pairs(char:GetChildren()) do
		if v:IsA("Tool") then
			gui.FakeC.Visible = true
			game:GetService("UserInputService").MouseIconEnabled = false
			return
		end
	end
	
	gui.FakeC.Visible = false
	game:GetService("UserInputService").MouseIconEnabled = true
end

game.Players.LocalPlayer.Character.ChildAdded:Connect(checktoolsupdatemouse)
game.Players.LocalPlayer.Character.ChildRemoved:Connect(checktoolsupdatemouse)

checktoolsupdatemouse()
