Hello, I've already read the guide as to why things don't work in-game but work in-studio. This is a normal script ( I've already tried a local script ) inside a surfacegui. Please Help, Thanks.
This is the script:
script.Parent.MouseButton1Click:connect(function()
local player = game.Players.LocalPlayer
local newframething = script.Parent.Parent.Parent.Parent.BidNowFrame:clone()
newframething.Parent = player.PlayerGui.PlayerScreenGui
end)

1 comment
Scripts don't have access to game.Players.LocalPlayer, only LocalScripts do