Infocus
|
  |
| Joined: 28 Apr 2011 |
| Total Posts: 8022 |
|
|
| 24 May 2016 08:06 PM |
Im running this to rescale the mesh inside of the handle, but the positioning is off.
scale = 2
for _, v in pairs (char:GetChildren()) do -- Char = Character if v:IsA("Hat") then v.Handle.Mesh.Scale = Vector3.new(1*scale, 1*scale, 1*scale) end end |
|
|
| Report Abuse |
|
|
Briicks
|
  |
| Joined: 03 Apr 2015 |
| Total Posts: 1796 |
|
|
| 24 May 2016 08:24 PM |
localscript
local scale = 2 for _, v in pairs (game.Players.LocalPlayer.Character:GetChildren()) do -- Char = Character if v:IsA("Hat") then v.Handle.Mesh.Scale = Vector3.new(scale*1, scale*1, scale*1) end end
--Briicks |
|
|
| Report Abuse |
|
|
Infocus
|
  |
| Joined: 28 Apr 2011 |
| Total Posts: 8022 |
|
|
| 24 May 2016 08:29 PM |
I just mentioned that char = Character. local plyr = game:GetService("Players").LocalPlayer local char = plyr.Character
You didnt change anything but that. Im saying that the offsets are off |
|
|
| Report Abuse |
|
|
Briicks
|
  |
| Joined: 03 Apr 2015 |
| Total Posts: 1796 |
|
|
| 24 May 2016 08:30 PM |
Good for you, the script works so don't complain.
--Briicks |
|
|
| Report Abuse |
|
|
Infocus
|
  |
| Joined: 28 Apr 2011 |
| Total Posts: 8022 |
|
| |
|
Infocus
|
  |
| Joined: 28 Apr 2011 |
| Total Posts: 8022 |
|
| |
|
arthas045
|
  |
| Joined: 07 May 2014 |
| Total Posts: 296 |
|
| |
|
Infocus
|
  |
| Joined: 28 Apr 2011 |
| Total Posts: 8022 |
|
|
| 25 May 2016 12:39 AM |
| The result of scripting helpers and scripter a combined |
|
|
| Report Abuse |
|
|
Casualist
|
  |
| Joined: 26 Jun 2014 |
| Total Posts: 4443 |
|
|
| 25 May 2016 03:27 AM |
scale = 2
for _, v in pairs (char:GetChildren()) do -- Char = Character if v:IsA("Hat") then v.Handle.Mesh.Scale = v.Handle.Mesh.Scale*scale end end |
|
|
| Report Abuse |
|
|
Mr_OT
|
  |
| Joined: 05 Feb 2012 |
| Total Posts: 11315 |
|
|
| 25 May 2016 04:26 AM |
| You guys don't get it, he wants to know how to offset it right. |
|
|
| Report Abuse |
|
|
Infocus
|
  |
| Joined: 28 Apr 2011 |
| Total Posts: 8022 |
|
|
| 25 May 2016 09:32 AM |
^^
Because theyre all just bunched up together atm |
|
|
| Report Abuse |
|
|