Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

When I click my food it does not show it? How can I fix this? [closed]

Asked by
dog6779 25
7 years ago
Edited by Goulstem 7 years ago

When I try to like script my own food when I build it. like this wait a minute

function hi(x)
    y = x.Backpack
    z = game.Lighting["Strawberry Donuts"] --Change "Tool1" --Change "Tool1" to the name of the item.
    z:Clone().Parent = y
end

script.Parent.ClickDetector.MouseClick:connect(hi)

What do I do? And what the script to fix it?

And what's the script to make your own food?

What do I need change?

When I click my food Its does not show it. When I build it.

Edited for formatting 00:30 11/6/17

Closed as Non-Descriptive by Goulstem

This question has been closed because its title or content does not adequately describe the problem you are trying to solve.
Please ensure that your question pertains to your actual problem, rather than your attempted solution. That is, you were trying to solve problem X, and you thought solution Y would work, but instead of asking about X when you ran into trouble, you asked about Y.

Why was this question closed?