So, I have a local script in a button for a verify command for this anti-exploit group I work for, yet the verify command is not working, I have it set on a else after the function to print it is having a error, here'es the lines.
local LP = game.Players.LocalPlayer
toggled = false
script.Parent.MouseButton1Click:connect(function(Verification)
wait(1)
if toggled == false then
toggled = true
local Billboard=Instance.new("BillboardGui")
Billboard.Parent=game.Workspace:FindFirstChild(LP).head
Billboard.Adornee=game.Workspace:FindFirstChild(LP).head
Billboard.Size=UDim2.new(3,0,2,0)
Billboard.StudsOffset=Vector3.new(0,2,0)
local ImageLabel=Instance.new("ImageLabel")
ImageLabel.Image = "rbxassetid://579224135"
ImageLabel.Size=UDim2.new(.6,0,0.9,0)
ImageLabel.Position=UDim2.new(0,25,-.25,0)
ImageLabel.BackgroundTransparency = .5
ImageLabel.Parent=Billboard
wait(.05)
print("Verified")
else
print("Error to verify, please contact High Command or a Developer ERROR: 113")
return
end
--DO NOT STEALPLEASE
end)

3 comments
Please edit your answer to let the asker know what you did change!
Thanks!!
Im preatty sure I did in the code section