Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 10 years ago

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

0
Is it in a local script? Orlando777 315 — 10y

1 answer

Log in to vote
0
Answered by
Muoshuu 580 Moderation Voter
10 years ago

Try placing this in a LocalScript

0
it is, and i tried making it regular script yogipanda123 120 — 10y
Ad

Answer this question