wait(3)
local Atk 
print("Hmmmmm")

game.Players.PlayerAdded:Connect(function(Plr)
	print("Donut's")
	print(Plr:WaitForChild("Backpack"):GetChildren())
	
	 
	local Leadesrats = Plr:WaitForChild("Leaderstats")
	local AtkV = Leadesrats:WaitForChild("Attack")
	print("A")
	for i,v in pairs(Plr:WaitForChild("Backpack"):GetChildren()) do
		print("B")
		if v:GetAttribute("Type") == "Sword" then
			print("C")
			Atk = v.SwordScript.Atk.Value
			Atk = AtkV.Value
			print("I Eat "..Atk.." of Them")
		else
			print("I like D") 
		end		
	end
	
end)
print("No Donut Idiot")

Pwease Help :/

2 comments

0

right, um fix the code block next time but is there any errors?

0

no error