Photos won't change

It is a bit strange, but it still works with the other end’s supported by it:

Personally I’d just remove the space between else & if, to have less of a clutter

1 Like

it has the script inside of it.
The “change photos” script

Yea but that doesn’t change anything, the problem is the script won’t even run.
I tried to put a print(“start”) at the start of the script but, it didn’t print.
I think there’s some issue in the script.

1 Like

Oh. I see. This however, is a stacked code, and reduced performance just by a teeny tiny bit. Yea I did not see all the ends.

Hm, are you getting anything at all in the Output? Not talking about just only errors, but anything in there?

1 Like

I get this when I stop testing the game.
17:05:57.256 Disconnect from ::ffff:127.0.0.1|64789 - Studio
I don’t know if that has to do anything with the script.

Ok not to be dumb here, but is the script Disabled at all?

2 Likes

Nope, it isn’t Disabled at all.

That just means you left the game it’s not important

Yes I know that but he asked for anything that is on the output.

Can you try this:
Make a new script inside the tool and put the line -
script.Parent.Activated:Connect(function() print("true") end)

This ensures that nothing is wrong with the tool.

2 Likes

please check what i was replying to

You mean this right? This post.

1 Like

Maybe I misunderstood, but if in the GiveButton script it said script.Parent.Activated, maybe move the script inside the tool.

1 Like

The GiveButton script is suppose to give the button to any player in my friends list.

Yeah it’s that one that i was replying to

Yeah it’s also the one I was talking about.

I did what you said but nothing got printed in the OutPut.

Did you try using cloning? Or if all of the pictures have the same size and everything, then did you try just changing IDs?

Try it with a LocalScript please, I believe you were doing it with a server script.