Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Why does this appear in SOLO but not in the actual game?

Ok, so this script is not actually mine, it is builderman's, but i edited it, and made my own attachments to it, but for some reason it only works in SOLO play in studio, Why is that!!! here is the script

--Basics of this script was taken from Builderman's ROBLOXtablet --yogipanda123

local gui = script.Parent.ScreenGUI:Clone()

function Equip()
	gui.Parent = game.Players.LocalPlayer.PlayerGui
end

function Unequip()
	gui.Parent = nil
end

script.Parent.Equipped:connect(Equip)
script.Parent.Unequipped:connect(Unequip)

Thanks

1 comment

0

Is it in a local script?

1 answer

✓ Accepted answer

Try placing this in a LocalScript

1 comment

0

it is, and i tried making it regular script

This discussion is preserved as it was. New answers, comments, and votes are closed.