Ok so i was making a kinda tycoon game and i cant get it to activate when it touches Drop
help pleez
script.Parent.Touched:Connect(function(yum)
if yum and yum.Parent:FindFirstChild(game.Workspace.Drop.Drop) then
print(yum.Parent)
print("Hooraw")
else
print(yum.Parent)
end
end)
Closed as Non-Descriptive by User#19524
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?