wait(1)
LoadCoins = game.ReplicatedStorage.Coins:Clone()
LoadCoins.Parent = game.Workspace
local player = game.Players.LocalPlayer
h = game.ReplicatedStorage.ScreenGui:Clone()
h.Parent = player.PlayerGui
local CoinAmount = h.Frame.TextLabel
while true do
wait()
CoinAmount.Text = _G.Coins
end
It fails at line 11 for the reason stated in the title, the script is located in starterplayerscripts and the game has filteringenabled. _G.Coins is a value that is at default set to 0. It works just fine in studio.
