|
| 27 May 2015 01:39 PM |
Is there a way to change the size of a players torso without killing them? I am trying to make a button where when you click it you double in size. I got the dimensions right; however, it always kills the player.
script.Parent.ClickDetector.MouseClick:connect(function() players = game.Players:GetChildren()
for i, v in pairs(players) do
v.Character["Torso"].Size = Vector3.new(10,10,10) wait(.5) v.Character["Head"].Size = Vector3.new(10,10,10) end end)
|
|
|
| Report Abuse |
|
|
hdtv13
|
  |
| Joined: 18 Sep 2012 |
| Total Posts: 1628 |
|
|
| 27 May 2015 01:41 PM |
I use meshes when resizing body parts ;3
I have skin, potatoes have skin, therefore I'm a potato. |
|
|
| Report Abuse |
|
|
ganger800
|
  |
| Joined: 06 Dec 2012 |
| Total Posts: 427 |
|
|
| 27 May 2015 01:42 PM |
recreate the weld/motor part after you resize because when you resize they break |
|
|
| Report Abuse |
|
|
Intern33t
|
  |
| Joined: 19 Nov 2010 |
| Total Posts: 1530 |
|
|
| 27 May 2015 01:43 PM |
If you just want it to LOOK bigger, this might work:
script.Parent.ClickDetector.MouseClick:connect(function()
players = game.Players:GetChildren()
for i, v in pairs(players) do
local g = Instance.new("BlockMesh") local j = Instance.new("BlockMesh") g.Parent = v.Character["Torso"] j.Parent = v.Character["Head"] g.Scale = Vector3.new(10, 10, 10) wait(.5) j.Scale = Vector3.new(10, 10, 10)
end end)
~ᵂʰᵒ ᵃʳᵉ ʸᵒᵘ ᵗᵒᵈᵃʸ﹖~ |
|
|
| Report Abuse |
|
|
|
| 27 May 2015 01:45 PM |
@Intern
I will work on it after work. Just so you know your script only works for torso for some reason |
|
|
| Report Abuse |
|
|
Intern33t
|
  |
| Joined: 19 Nov 2010 |
| Total Posts: 1530 |
|
|
| 27 May 2015 01:47 PM |
Of course, im sorry.
The head already contains a mesh. Making the head bigger is another deal. Might do it in 1 sec..
~ᵂʰᵒ ᵃʳᵉ ʸᵒᵘ ᵗᵒᵈᵃʸ﹖~ |
|
|
| Report Abuse |
|
|
Intern33t
|
  |
| Joined: 19 Nov 2010 |
| Total Posts: 1530 |
|
|
| 27 May 2015 01:48 PM |
script.Parent.ClickDetector.MouseClick:connect(function()
players = game.Players:GetChildren()
for i, v in pairs(players) do
local g = Instance.new("BlockMesh") g.Parent = v.Character["Torso"] g.Scale = Vector3.new(10, 10, 10) wait(.5) v.Character["Head"].Mesh.Scale = Vector3.new(10, 10, 10) v.Character["Head"].Mesh.Offset = Vector3.new(0, 10, 0)
end end)
~ᵂʰᵒ ᵃʳᵉ ʸᵒᵘ ᵗᵒᵈᵃʸ﹖~ |
|
|
| Report Abuse |
|
|
|
| 27 May 2015 02:17 PM |
| I already made a scale for human script on my game-making alt, but I won't release it until the game is out of beta |
|
|
| Report Abuse |
|
|
|
| 15 Aug 2016 02:20 AM |
| I am also making a place with such button. If you have the script done, can you send it please? |
|
|
| Report Abuse |
|
|