Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

?Player Death when there leaderstat death value is the number of the textbox someone enters

if script.Parent.Parent.Parent.Parent.Parent.TeamColor == BrickColor.new("Medium stone grey") then
		if  script.Parent.Text == script.Parent.Parent.Parent.Parent.Parent.leaderstats.Deaths.Value then
		script.Parent.Parent.Parent.Parent.Parent.Character.Humanoid.Health = 0
	end
	print("Lobby")
end

if script.Parent.Parent.Parent.Parent.Parent.TeamColor == BrickColor.new("Bright blue") then
	print("bb")
end

if script.Parent.Parent.Parent.Parent.Parent.TeamColor == BrickColor.new("Bright red") then
	if script.Parent.Parent.Parent.Parent.Parent.leaderstats.Deaths.Value == script.Parent.Text then
		script.Parent.Parent.Parent.Parent.Parent.Character.Humanoid.Health = 0
	end
	print("br")
end


There is a textbox where you can write the number of deaths they need to be dead

https://gyazo.com/56ff052d1334a3eedaf863c4fb8c8851

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.