Eyo,
About two years ago, I coded a script that’d create a “wedge” shaped GUI. Here’s the code (I edited it so it’d run slightly a bit faster), This is how it’d look: http://gyazo.com/2f216fdf8bfb27d680f477c8a9e26f80
NOTE: THIS is all GUI generated. So it’s not some image (even though, that’d be faster)
V Code
local Point = 1
–[[
What side do you want the point to be?
1: Point will be facing left and down
2: Point will be facing right and down
3: Point will be facing right and up
4: Point will be facing left and up
–]]
local Transparency = 0 – What transparency do you want to set the frames on?
local c3 = Color3.new
local UD2 = UDim2.new
local IN = Instance.new
local Color = c3(0,0,0)
local TotalFrames = 30 – How many frames do you want there to be created?
local function frame()
local sg = IN("ScreenGui",game.Workspace)
local MainFrame = IN("Frame",sg)
MainFrame.Size = UD2(0,TotalFrames,0,TotalFrames)
MainFrame.BackgroundTransparency = 1
for i = 0,TotalFrames do
local frame = IN("Frame",MainFrame)
frame.Name = "Frame"..i..""
frame.BackgroundTransparency = Transparency
frame.BackgroundColor3 = Color
frame.BorderSizePixel = 0
if Point == 1 then
frame.Size = UD2(0,1,0,i)
frame.Position = UD2(0,i,0,0)
elseif Point == 2 then
frame.Size = UD2(0,1,0,i)
frame.Position = UD2(0,TotalFrames-i,0,0)
elseif Point == 3 then
frame.Size = UD2(0,1,0,i-TotalFrames)
frame.Position = UD2(0,i,0,TotalFrames)
elseif Point == 4 then
frame.Size = UD2(0,1,0,i-TotalFrames)
frame.Position = UD2(0,TotalFrames-i,0,TotalFrames)
else
return
end
end
end
frame()