I’m making a windows Xp game remake and I’m having issues with creating a new account so a player will click and it will appear with another account and lower the plus sign (both of them have images in them contains a button for it to work)
Script:
local player = game.Players.LocalPlayer
local button = script.Parent
button.MouseButton1Up:Connect(function()
player.PlayerGui.LoadingScreen2.Account2Add.Visible = true
end)
1 Like
Try this script instead. Instead of using MouseButton1Up
you can use MouseButton1Click
.
local player = game.Players.LocalPlayer
local button = script.Parent
button.MouseButton1Click:Connect(function()
player.PlayerGui.LoadingScreen2.Account2Add.Visible = true
end)
If you need anymore help just ask. Hope this solution helps.
I tried your script and its in a local script if i did it wrong please say what script i need if i did it right i can send a picture of my messy explorer
Sure, send a picture of your explorer.
At this part, you didn’t path isn’t correct. It should be player.PlayerGui.LoadingScreen2.Frame.Account2Add.Visible = true
Try this script.
local player = game.Players.LocalPlayer
local button = script.Parent
button.MouseButton1Click:Connect(function()
player.PlayerGui.LoadingScreen2.Frame.Account2Add.Visible = true
end)
1 Like
this half worked it did make the image appear but not the text inside the image
In the script, did you also make a line that made the text appear? It seems that you only made the Image appear. Make sure there’s a line that also make the text appear.
Yes I believe. Try it out. It should work if Account2AddButton
is the text.
1 Like
I tried the script and still only the image appeard
Wait hold on, you need to change the path for player.PlayerGui.LoadingScreen2.Frame.Account2AddButton.Visible = true
. It should be player.PlayerGui.LoadingScreen2.Frame.Image.Account2AddButton.Visible = true
but there are multiple Image
. Change the Parent’s name of Account2AddButton
I did try this and still the same only image appears
Hmm, can you show me your explorer again?

So you see ImageLabel
? Change that name to something like ImageLabel2
1 Like
Replace “MouseButton1Up” with “MouseButton1Click”.
1 Like
Wait try this script. This might work.
local player = game.Players.LocalPlayer
local button = script.Parent
button.MouseButton1Click:Connect(function()
player.PlayerGui.LoadingScreen2.Frame.Account2Add.Visible = true
end)
script.Parent.Account2AddButton.Visible = true
1 Like
Like this?

because if so it just appear with the image