I have a script in a GUI that locates an object in the server storage. It couldn't find it so I placed the object in the replicated storage and redid everything. Still couldn't find the object. Can a local script access objects from the replicated and server storage?
script.Parent.MouseButton1Click:Connect(function()
local Money = script.Parent.Parent.Parent.Parent.Parent.Parent.leaderstats["Fish Flakes"].Value
if Money >= game:GetService("ReplicatedStorage").Skins.DefaultFish.Cost.Value then
script.Parent.Owned = true
end
end)
