Run it
Copy the script and paste it into your executor.
lol = {}
(uiObject, radius)
corner = .()
corner.CornerRadius = .(, radius)
corner.Parent = uiObject
(uiObject, padding)
pad = .()
pad.PaddingTop = .(, padding)
pad.PaddingBottom = .(, padding)
pad.PaddingLeft = .(, padding)
pad.PaddingRight = .(, padding)
pad.Parent = uiObject
(()
_, v (())
(() (v, ) )
((v, )) ==
(v, )[] ==
v.tvk = {, () .Workspace:() }
)
gui = .()
gui.Name = (.(, ))
gui.ResetOnSpawn =
gui.Parent = .CoreGui
().trdshowvotesgui = gui
mainframe = .()
mainframe.Size = .(, , , )
mainframe.Position = .(, , )
mainframe.Active =
mainframe.Draggable =
mainframe.BackgroundColor3 = .(, , )
mainframe.BorderColor3 = .(, , )
mainframe.Parent = gui
(mainframe, )
title = .()
title.Size = .(, , , )
title.BackgroundTransparency =
title.TextColor3 = .(, , )
title.TextScaled =
title.Text =
title.Font = .Font.SourceSansBold
title.Parent = mainframe
credits = .()
credits.Position = .(, , , )
credits.Size = .(, , , )
credits.BackgroundTransparency =
credits.TextColor3 = .(, , )
credits.TextScaled =
credits.Text =
credits.Font = .Font.SourceSans
credits.Parent = mainframe
constraint = .()
constraint.AspectType = .AspectType.ScaleWithParentSize
constraint.AspectRatio =
constraint.Parent = mainframe
voteframe = .()
voteframe.Position = .(, , , )
voteframe.Size = .(, , , )
voteframe.BackgroundColor3 = .(, , )
voteframe.BorderColor3 = .(, , )
voteframe.CanvasSize = .(, , , )
voteframe.ScrollBarThickness =
voteframe.Parent = mainframe
(voteframe, )
(voteframe, )
votelogframe = .()
votelogframe.Position = .(, , , )
votelogframe.Size = .(, , , )
votelogframe.BackgroundColor3 = .(, , )
votelogframe.BorderColor3 = .(, , )
votelogframe.CanvasSize = .(, , , )
votelogframe.ScrollBarThickness =
votelogframe.Parent = mainframe
(votelogframe, )
(votelogframe, )
voteframedestroybutton = .()
voteframedestroybutton.BackgroundColor3 = .(,,)
voteframedestroybutton.BorderColor3 = .(, , )
voteframedestroybutton.TextColor3 = .(, , )
voteframedestroybutton.Size = .(, , , )
voteframedestroybutton.Position = .(, , , )
voteframedestroybutton.TextScaled =
voteframedestroybutton.Text =
voteframedestroybutton.Font = .Font.SourceSansBold
voteframedestroybutton.Parent = mainframe
(voteframedestroybutton, )
.(lol, voteframedestroybutton.MouseButton1Click:(()
_, v (voteframe:())
v:() v:()
))
votelogframedestroybutton = .()
votelogframedestroybutton.BackgroundColor3 = .(,,)
votelogframedestroybutton.BorderColor3 = .(, , )
votelogframedestroybutton.TextColor3 = .(, , )
votelogframedestroybutton.Size = .(, , , )
votelogframedestroybutton.Position = .(, , , )
votelogframedestroybutton.Text =
votelogframedestroybutton.TextScaled =
votelogframedestroybutton.Font = .Font.SourceSansBold
votelogframedestroybutton.Parent = mainframe
(votelogframedestroybutton, )
.(lol, votelogframedestroybutton.MouseButton1Click:(()
_, v (votelogframe:())
v:() v:()
))
voteframesort = .()
voteframesort.CellSize = .(, , , )
voteframesort.CellPadding = .(, , , )
voteframesort.Parent = voteframe
votelogframesort = .()
votelogframesort.Parent = votelogframe
playerFrames = {}
()
maxVotes = -
topPlayer =
name, data (playerFrames)
votes = (data.voteLabel.Text)
votes > maxVotes
maxVotes = votes
topPlayer = name
name, data (playerFrames)
name == topPlayer
data.nameLabel.TextColor3 = .(, , )
data.nameLabel.TextColor3 = .(, , )
votingfolder = .ReplicatedStorage.Season.Voting
.(lol, votingfolder.Players.ChildAdded:((plr)
plrname = plr.Name
.ReplicatedStorage.Season:() .ReplicatedStorage.Season.Players:(plrname)
plrname = .ReplicatedStorage.Season.Players[plrname].Value
votes = plr:(, .huge)
frame = .()
frame.BackgroundColor3 = .(, , )
frame.BackgroundTransparency =
(frame, )
plrnametext = .()
plrnametext.BackgroundTransparency =
plrnametext.TextColor3 = .(, , )
plrnametext.TextScaled =
plrnametext.Size = .(, , , )
plrnametext.Position = .(, , , )
plrnametext.Text = plrname
(plrnametext, )
votetext = .()
votetext.BackgroundTransparency =
votetext.TextColor3 = .(, , )
votetext.TextStrokeTransparency =
votetext.TextScaled =
votetext.Size = .(, , , )
votetext.Text = (votes.Value)
plrnametext.Parent = frame
votetext.Parent = frame
frame.Name = plrname
frame.Parent = voteframe
playerFrames[plrname] = {
frame = frame,
nameLabel = plrnametext,
voteLabel = votetext
}
.(lol, votes:():(()
votetext.Text = (votes.Value)
()
))
()
))
.(lol, votingfolder.Votes.ChildAdded:((vote)
whovoted = vote.Value
votedfor = vote.Name
.ReplicatedStorage.Season.Players:(whovoted)
whovoted = .ReplicatedStorage.Season.Players[whovoted].Value
.ReplicatedStorage.Season.Players:(votedfor)
votedfor = .ReplicatedStorage.Season.Players[votedfor].Value
text = .()
text.Name = whovoted
text.Size = .(, , )
text.BackgroundTransparency =
text.TextScaled =
text.TextColor3 = .(, , )
text.TextStrokeTransparency =
text.Text = whovoted .. .. votedfor
text.Parent = votelogframe
))
()
gui:()
_, v (lol)
v:()
().trdshowvotesdeletefunc = deletegui
:():(, {
Title = ,
Text =
})
vote count Trd
Universal