|
| 15 Jul 2016 04:48 PM |
in-game log says that "hair" isn't a member of the script but the script works in studio
plr = game.Players.LocalPlayer.Character g = script.hair:clone() g.Parent = plr Y = Instance.new("Weld") Y.Part0 = plr.Head Y.Part1 = g Y.C0 = CFrame.new(0, .5, 0) Y.Parent = Y.Part0 g.Anchored = false g.CanCollide = false s = script.Shirt:clone() p = script.Pants:clone() s.Parent = plr p.Parent = plr
Tartarus, the Prophets have betrayed us. |
|
|
| Report Abuse |
|
|
|
| 15 Jul 2016 04:51 PM |
| I think 'hair' would be case-sensitive-- is the part named "Hair" or "hair"? |
|
|
| Report Abuse |
|
|
|
| 15 Jul 2016 04:51 PM |
named "hair", no caps
Tartarus, the Prophets have betrayed us. |
|
|
| Report Abuse |
|
|
|
| 15 Jul 2016 05:00 PM |
bump
Tartarus, the Prophets have betrayed us. |
|
|
| Report Abuse |
|
|
|
| 15 Jul 2016 05:14 PM |
| Do you have FilteringEnabled active? |
|
|
| Report Abuse |
|
|
|
| 15 Jul 2016 07:09 PM |
no, but when i turned it on and tried it, it still didn't work
Tartarus, the Prophets have betrayed us. |
|
|
| Report Abuse |
|
|
|
| 15 Jul 2016 07:12 PM |
i did a little editing to it and now im getting a different error saying how line 7 is attempting to index global 'plr' (a nil value)
plr = game.Players.LocalPlayer.Character li = script.Parent.morph wait(1) g = li.hair:clone() g.Parent = plr Y = Instance.new("Weld") Y.Part0 = plr.Head --line 7 Y.Part1 = g Y.C0 = CFrame.new(0, .5, 0) Y.Parent = Y.Part0 g.Anchored = false g.CanCollide = false s = li.Shirt:clone() p = li.Pants:clone() s.Parent = plr p.Parent = plr
Tartarus, the Prophets have betrayed us. |
|
|
| Report Abuse |
|
|