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

Billboard GUI problem?

Asked by 10 years ago

Script:

local gui = script.Parent.Parent.Parent.night_GUI:Clone()
function click()
    gui.Parent = game.Players.LocalPlayer.PlayerGui
end
script.Parent.MouseButton1Down:connect(click)

This script is inside a LocalScript. I know this is similar to my last question, but I really need help on this.

1 answer

Log in to vote
1
Answered by 10 years ago

LocalPlayer = game:GetService("Players").LocalPlayer --finds localplayer with out a function ONCE AGAIN.... what are you clicking for the function() to run? if you want a good answer message me at Roblox.

0
I suggest putting some of this into an inline code. DevWork 80 — 10y
Ad

Answer this question