My script is
Player = script.Parent.Parent.Parent.Parent function onClicked() script.Disabled = true if Player.Character:FindFirstChild("Natsu Dragneel(FDS)") == nil then if Player.Backpack:FindFirstChild("Natsu Dragneel(FDS)") == nil then Natsu = game.ReplicatedStorage["Natsu Dragneel(FDS)"]:Clone() Natsu.Parent = Player.Backpack end end wait() script.Disabled = false end script.Parent.MouseButton1Click:connect(onClicked)
I need help because I want to clone the hopper bin to the players backpack. The script won't work with a Image button but it will work with a text button. What am I doing wrong?
Also my explorer say this in the order Starter Gui Screen Gui Frame Image Button Script
Try this, spaces don't work without quoting them.
Natsu = game.ReplicatedStorage["Natsu Dragneel(FDS)"]:Clone()