DailyTime
|
  |
| Joined: 09 Nov 2013 |
| Total Posts: 285 |
|
|
| 29 Nov 2013 03:17 PM |
It is suposed to make a decal and put it in the tool but it is not putting it in the part and the decal shows on the Tool Handle...
Here is what i have
function touch(hit) local pizza = game.Players.LocalPlayer.Backpack("Pizza Dough") if hit.Name == "Pizza Dough" then local decal = Instance.new("Decal") decal.Parent = game.Players.LocalPlayer.Backpack:findFirstChild("Pizza Dough").Handle decal.Texture = "http://www.roblox.com/asset/?id=6868077" end pizza.Name = "Saucy Pizza" end
script.Parent.Touched:connect(touch) |
|
|
| Report Abuse |
|
|
N8X
|
  |
| Joined: 15 Nov 2013 |
| Total Posts: 1665 |
|
|
| 29 Nov 2013 03:20 PM |
| If it's localscript in the part then it will think the server is the client and it will error, |
|
|
| Report Abuse |
|
|
DailyTime
|
  |
| Joined: 09 Nov 2013 |
| Total Posts: 285 |
|
| |
|
DailyTime
|
  |
| Joined: 09 Nov 2013 |
| Total Posts: 285 |
|
| |
|
DailyTime
|
  |
| Joined: 09 Nov 2013 |
| Total Posts: 285 |
|
| |
|