function PlayerSize(player) local SizeValue = 15

local humanoid = player.Character:FindFirstChildOfClass("Humanoid")
if humanoid then
	if humanoid:FindFirstChild("BodyHeightScale")then
		humanoid.BodyHeightScale.value = SizeValue
	end
	if humanoid:FindFirstChild("BodyWidthScale")then
		humanoid.BodyWidthScale.value = SizeValue
	end
	if humanoid:FindFirstChild("BodyDepthScale")then
		humanoid.BodyDepthScale.value = SizeValue
	end
	if humanoid:FindFirstChild("HeadScale")then
		humanoid.HeadScale.value = SizeValue
	end
end

end

if player.TeamColor = BrickColor.new("Lapis")then PlayerSize(player) end

3 comments

0

Well, you tried using SizeValue as an variable. Instead of "function PlayerSize(player) local SizeValue = 15" try "SizeValue = 15" Also, correct me if I'm wrong I believe SizeValue should be in quotation marks.

0

This script is about that if the player is on a team with color "Lapis" he changes his size, becomes bigger.

0

Any errors? Also, Rinextel, you're wrong. It shouldn't be in quotes and he's' using it correctly