I was trying to make a require, i tested it require(4275089582).Arcticfox("ROBLOXBrotherzx",arcticfox) (my alt is robloxbrotherzx) and then this popped up https://gyazo.com/16bc4be219e05c5dd51838e6bd269a19 i cant post screenshot so
any problem the script i made?
local wow = script script=Instance.new'ScreenGui' local script = wow local module = {} function module.Arcticfox(player,key) if not key == "arcticfox" then game:GetService('Players'):FindFirstChild(player):Kick'lol what a skid' return end script.ArcticFoxGui:Clone().Parent = game:GetService('Players'):FindFirstChild(player).PlayerGui _G.test = player end return module
plz help
On line 1, a new ScreenGui
instance is assigned to the global variable script
:
script=Instance.new'ScreenGui'
On line 9 is where things go wrong:
script.ArcticFoxGui:Clone().Parent = game:GetService('Players'):FindFirstChild(player).PlayerGui
The new ScreenGui instance doesn't have a descendant named "ArcticFoxGui", so script.ArcticFoxGui
throws an error.
To fix this, you will need to parent ArcticFoxGui
to the ScreenGui instance before line 9 (assuming ArcticFoxGui exists already). Please note that you are overwriting a built-in global variable script
on line 1. Consider using a local variable or changing the variable name to something more recognizable (like "screenGui").