Post12346
|
  |
| Joined: 21 May 2011 |
| Total Posts: 323 |
|
|
| 20 Jun 2016 03:23 PM |
Here is the full script, can someone help me revise it?
script.parent:connect(function(plr) if plr ~= nil then local char = plr.Character if char ~= nil then char["Head"].Transparency = 0 char["Head"].Size = Vector3.new(1,1,1) char["Torso"].Transparency = 0 char["Right Arm"].Transparency = 0 char["Left Arm"].Transparency = 0 char["Right Leg"].Transparency = 0 char["Left Leg"].Transparency = 0 end end end)
"Naw naw naw, you can't do that to me fam. Remember when I helped you out last week?" ~Me, my shelf, and pie |
|
|
| Report Abuse |
|
|
|
| 20 Jun 2016 03:24 PM |
changing size of head will kill your character since its already welded and all that good stuff.
do head.HeadMesh.Scale instead. |
|
|
| Report Abuse |
|
|
Post12346
|
  |
| Joined: 21 May 2011 |
| Total Posts: 323 |
|
|
| 20 Jun 2016 03:30 PM |
MeshScale won't change the size of the hit box. And that wasn't the fix I was asking for, the entire script doesn't function at all. It will return nil even if it is active. Now, can I please have some actual help? I need to know how to resize the player's head's hit box to be 1x1x1 instead of 2x1x1.
"Naw naw naw, you can't do that to me fam. Remember when I helped you out last week?" ~Me, my shelf, and pie |
|
|
| Report Abuse |
|
|
Post12346
|
  |
| Joined: 21 May 2011 |
| Total Posts: 323 |
|
|
| 20 Jun 2016 07:35 PM |
Bump.
"Naw naw naw, you can't do that to me fam. Remember when I helped you out last week?" ~Me, my shelf, and pie |
|
|
| Report Abuse |
|
|
|
| 20 Jun 2016 07:43 PM |
that dude was correct, either change the mesh or not at all. if you want to make your head that big you'd need to size the rest to fit it. |
|
|
| Report Abuse |
|
|
|
| 20 Jun 2016 07:48 PM |
| Why do you want the hotbox of the head to be shrunken? The rest of the body is still going to be available for attack. |
|
|
| Report Abuse |
|
|
|
| 20 Jun 2016 08:19 PM |
| You didn't capitalize .Parent :l |
|
|
| Report Abuse |
|
|
|
| 20 Jun 2016 08:23 PM |
This is the problem-- script.parent:connect(function(plr)
You must connect it to something, but in here, you don't connect it to anything, so the script will take no effect. |
|
|
| Report Abuse |
|
|
Post12346
|
  |
| Joined: 21 May 2011 |
| Total Posts: 323 |
|
|
| 21 Jun 2016 08:52 AM |
Bump please.
"Naw naw naw, you can't do that to me fam. Remember when I helped you out last week?" ~Me, my shelf, and pie |
|
|
| Report Abuse |
|
|
|
| 21 Jun 2016 08:57 AM |
...
Alls ya gotta do is capitalize .parent
script.Parent:connect(function(plr) if plr ~= nil then local char = plr.Character or plr.CharacterAdded:wait() if char ~= nil then char["Head"].Transparency = 0 char["Head"].Size = Vector3.new(1,1,1) char["Torso"].Transparency = 0 char["Right Arm"].Transparency = 0 char["Left Arm"].Transparency = 0 char["Right Leg"].Transparency = 0 char["Left Leg"].Transparency = 0 end end end)
|
|
|
| Report Abuse |
|
|
Post12346
|
  |
| Joined: 21 May 2011 |
| Total Posts: 323 |
|
|
| 21 Jun 2016 08:57 AM |
ninjabeast0117
that dude was correct, either change the mesh or not at all. if you want to make your head that big you'd need to size the rest to fit it.
I do not want to change the mesh size because changing the mesh size doesn't fix the invisible area around the head that can be shot at with a sniper.
sloppylego87
Why do you want the hotbox of the head to be shrunken? The rest of the body is still going to be available for attack.
Thisis true, but I want to make my game slightly more realistic so you can't shoot the invisible area next to someone's head to kill them.
ExtremeBuilder15
You didn't capitalize .Parent :l
Didn't know I hd to, that is a mistake on my part.
KingArthur147
This is the problem-- script.parent:connect(function(plr)
You must connect it to something, but in here, you don't connect it to anything, so the script will take no effect.
I connected it to Workspace.
"Naw naw naw, you can't do that to me fam. Remember when I helped you out last week?" ~Me, my shelf, and pie |
|
|
| Report Abuse |
|
|
Post12346
|
  |
| Joined: 21 May 2011 |
| Total Posts: 323 |
|
|
| 21 Jun 2016 08:59 AM |
ExtremeBuilder15
I capitalized .Parent and it didn't call the function, when I ran studio with my player, head size stayed the same.
"Naw naw naw, you can't do that to me fam. Remember when I helped you out last week?" ~Me, my shelf, and pie |
|
|
| Report Abuse |
|
|
|
| 21 Jun 2016 09:04 AM |
| Change it to 10,10,10 to see if it's even running that line. |
|
|
| Report Abuse |
|
|
Post12346
|
  |
| Joined: 21 May 2011 |
| Total Posts: 323 |
|
|
| 21 Jun 2016 04:16 PM |
I attempted changing it to 10,10,10 and that didn't work either.
"Naw naw naw, you can't do that to me fam. Remember when I helped you out last week?" ~Me, my shelf, and pie |
|
|
| Report Abuse |
|
|
Post12346
|
  |
| Joined: 21 May 2011 |
| Total Posts: 323 |
|
|
| 22 Jun 2016 08:05 AM |
Bump.
"Naw naw naw, you can't do that to me fam. Remember when I helped you out last week?" ~Me, my shelf, and pie |
|
|
| Report Abuse |
|
|
Post12346
|
  |
| Joined: 21 May 2011 |
| Total Posts: 323 |
|
|
| 09 Jul 2016 04:06 PM |
Bumpity.
"Your lack of grammar is causing me to lose brain cells." ~Anonymous |
|
|
| Report Abuse |
|
|