:c
Oh well, at least I have made a function for you guys to use.
function CreateSurfaceGui(ParentObject,Surface,ImageId,Rotation,Offset1,Offset2,Size1,Size2)
local SurfaceGui = Instance.new("SurfaceGui",ParentObject)
SurfaceGui.CanvasSize = Vector2.new(800,600)
if Rotation ~= 0 then
SurfaceGui.CanvasSize = Vector2.new(800,800)
end
SurfaceGui.Adornee = ParentObject
SurfaceGui.Face = Surface
SurfaceGui.Name = Surface
SurfaceGui.Enabled = true
local ImageLabel = Instance.new("ImageLabel",SurfaceGui)
ImageLabel.BackgroundTransparency = 1
ImageLabel.BorderSizePixel = 0
ImageLabel.Image = "http://www.roblox.com/asset/?id="..ImageId
ImageLabel.ImageRectOffset = Vector2.new(Offset1,Offset2)
ImageLabel.ImageRectSize = Vector2.new(Size1,Size2)
ImageLabel.Size = UDim2.new(1,0,1,0)
ImageLabel.Rotation = Rotation
ImageLabel.Visible = true
end
Enjoy!