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

How to resize the player when he touch a brick?

I want to know how to resize the player to normal size to a small size when he touch a brick.

1 answer

script.Parent.Touched:connect(function(hit)

	if hit.Parent:FindFirstChild("Humanoid") then
	
		for _,v in pairs(hit.Parent:GetChildren()) do
			if v.ClassName=="Part" then
				v.Size=Vector3.new(size, you, want)
				--you can also check what the name of it is and change the size of the 						 
				arms/legs/head/torso to different sizes 
			end
		end
	
	end	

end)

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