So I want to make my character's size bigger with a script which is in a hopper bin.I don't get any error and it makes it bigger, but I die when it does that.
wait(3)
Player = script.Parent.Parent.Parent
c = Player.Character
n = script.Parent
local debounce = false
mouse = Player:GetMouse()
function pizza(mouse)
if debounce == false then
debounce = true
c.Head.Size = Vector3.new(20, 10, 10)
c.Torso.Size = Vector3.new(20, 20, 10)
c["Right Arm"].Size = Vector3.new(10, 20, 10)
c["Left Arm"].Size = Vector3.new(10, 20, 10)
c["Right Leg"].Size = Vector3.new(10, 20, 10)
c["Left Leg"].Size = Vector3.new(10, 20, 10)
end
wait(10)
debounce = false
end
function onSelected(mouse)
mouse.Button1Down:connect(function() pizza(mouse) end)
end
n.Selected:connect(onSelected)

3 comments
Causing the change in size of the torso or head will break the weld between them, killing the character. To fix this, you may want to copy the character, and then set the player's character to the copy after welding the parts together.
i disagree
http://www.roblox.com/games/146316823/Character-Scaling-Testing-Made-By-Sharksie