I have no clue why my script isn't working. For some reason it just doesn't show the BillBoardGui?
Asked by
2 years ago Edited 2 years ago
local ServerStorage = game:GetService("ServerStorage")
local Overhead2 = ServerStorage.Folder:WaitForChild("Overhead1")
local Players = game:GetService("Players")
local gamePassID = 76436382
local mps = game:GetService("MarketplaceService")
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
wait()
if mps:PlayerOwnsAsset(player,gamePassID) then
local clone = Overhead2:Clone()
clone.Parent = character.Head
clone.Owner.Text = "Jamal Saver"
character.Humanoid.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
end
end)
end)