I am making a script for VSB (Void script builder) And The overhead GUI isn't loading in It just has an error along the lines of Attempt to index nil Character
if game:GetService("RunService"):IsClient() then error("Please run as a server script. Use h/ instead of hl/.") end
s = Instance.new("Sound")
s.Parent = game.Workspace
s.Looped = true
s.SoundId = "rbxassetid://2877819274"
s.Volume = 100
wait(0.1)
s:play()
p = game.Players.LocalPlayer
char = p.Character
local txt = Instance.new("BillboardGui", char)
txt.Adornee = char .Head
txt.Name = "_status"
txt.Size = UDim2.new(2, 0, 1.2, 0)
txt.StudsOffset = Vector3.new(-9, 8, 0)
local text = Instance.new("TextLabel", txt)
text.Size = UDim2.new(10, 0, 7, 0)
text.FontSize = "Size24"
text.TextScaled = true
text.TextTransparency = 0
text.BackgroundTransparency = 1
text.TextTransparency = 0
text.TextStrokeTransparency = 1
text.Font = "Fantasy"
text.TextStrokeColor3 = Color3.fromRGB(255,0,0)
v=Instance.new("Part")
v.Name = "ColorBrick"
v.Parent=p.Character
v.FormFactor="Symmetric"
v.Anchored=true
v.CanCollide=false
v.BottomSurface="Smooth"
v.TopSurface="Smooth"
v.Size=Vector3.new(10,5,3)
v.Transparency=1
v.CFrame=char.Torso.CFrame
v.BrickColor=BrickColor.new(CV)
v.Transparency=1
text.TextColor3 = Color3.fromRGB(128, 128, 128)
v.Shape="Block"
text.Text = "Pyramid Head"
char = game:service'Players'.LocalPlayer.Character
m = game:service'Players'.LocalPlayer:GetMouse()
I would also like to know how I can add shirts and pants and a hat to It, Thanks!
