Run it
Copy the script and paste it into your executor.
player = .Players.LocalPlayer
UIS = :()
RunService = :()
TweenService = :()
gui = .()
gui.ResetOnSpawn =
gui.DisplayOrder =
gui.IgnoreGuiInset =
gui.Parent = player:()
introFrame = .()
introFrame.Size = .(, , , )
introFrame.Position = .(, , , )
introFrame.BackgroundColor3 = .(, , )
introFrame.BackgroundTransparency =
introFrame.BorderSizePixel =
introFrame.ZIndex =
introFrame.Parent = gui
bgGrad = .(, introFrame)
bgGrad.Color = ColorSequence.({
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , )),
})
bgGrad.Rotation =
bgGrad.Enabled =
sound = .()
sound.SoundId =
sound.Volume =
sound.Parent = gui
(size, color, zindex)
p = .()
p.Size = .(, size, , size)
p.Position = .(.(, ) / , , .(, ) / , )
p.BackgroundColor3 = color
p.BackgroundTransparency =
p.BorderSizePixel =
p.ZIndex = zindex
p.Parent = introFrame
.(, p).CornerRadius = .(, )
p
particles = {}
i = ,
colors = {
.(, , ),
.(, , ),
.(, , ),
.(, , ),
}
p = (.(, ), colors[.(, #colors)], )
.(particles, p)
glowOuter = .()
glowOuter.Size = .(, , , )
glowOuter.Position = .(, , , )
glowOuter.BackgroundColor3 = .(, , )
glowOuter.BackgroundTransparency =
glowOuter.BorderSizePixel =
glowOuter.ZIndex =
glowOuter.Parent = introFrame
.(, glowOuter).CornerRadius = .(, )
glowMid = .()
glowMid.Size = .(, , , )
glowMid.Position = .(, , , )
glowMid.BackgroundColor3 = .(, , )
glowMid.BackgroundTransparency =
glowMid.BorderSizePixel =
glowMid.ZIndex =
glowMid.Parent = introFrame
.(, glowMid).CornerRadius = .(, )
glowInner = .()
glowInner.Size = .(, , , )
glowInner.Position = .(, , , )
glowInner.BackgroundColor3 = .(, , )
glowInner.BackgroundTransparency =
glowInner.BorderSizePixel =
glowInner.ZIndex =
glowInner.Parent = introFrame
.(, glowInner).CornerRadius = .(, )
lineTop = .()
lineTop.Size = .(, , , )
lineTop.Position = .(, , , )
lineTop.BackgroundColor3 = .(, , )
lineTop.BorderSizePixel =
lineTop.ZIndex =
lineTop.Parent = introFrame
lineBottom = .()
lineBottom.Size = .(, , , )
lineBottom.Position = .(, , , )
lineBottom.BackgroundColor3 = .(, , )
lineBottom.BorderSizePixel =
lineBottom.ZIndex =
lineBottom.Parent = introFrame
titleLabel = .()
titleLabel.Size = .(, , , )
titleLabel.Position = .(, , , -)
titleLabel.BackgroundTransparency =
titleLabel.Text =
titleLabel.TextColor3 = .(, , )
titleLabel.TextScaled =
titleLabel.Font = .Font.GothamBold
titleLabel.TextTransparency =
titleLabel.ZIndex =
titleLabel.Parent = introFrame
titleStroke = .(, titleLabel)
titleStroke.Thickness =
titleStroke.Color = .(, , )
titleStroke.Transparency =
subLabel = .()
subLabel.Size = .(, , , )
subLabel.Position = .(, , , )
subLabel.BackgroundTransparency =
subLabel.Text =
subLabel.TextColor3 = .(, , )
subLabel.TextScaled =
subLabel.Font = .Font.GothamBold
subLabel.TextTransparency =
subLabel.ZIndex =
subLabel.Parent = introFrame
subStroke = .(, subLabel)
subStroke.Thickness =
subStroke.Color = .(, , )
subStroke.Transparency =
byLabel = .()
byLabel.Size = .(, , , )
byLabel.Position = .(, , , )
byLabel.BackgroundTransparency =
byLabel.Text =
byLabel.TextColor3 = .(, , )
byLabel.TextScaled =
byLabel.Font = .Font.GothamBold
byLabel.TextTransparency =
byLabel.ZIndex =
byLabel.Parent = introFrame
byStroke = .(, byLabel)
byStroke.Thickness =
byStroke.Color = .(, , )
byStroke.Transparency =
scanLine = .()
scanLine.Size = .(, , , )
scanLine.Position = .(, , , )
scanLine.BackgroundColor3 = .(, , )
scanLine.BackgroundTransparency =
scanLine.BorderSizePixel =
scanLine.ZIndex =
scanLine.Parent = introFrame
cornerTL = .()
cornerTL.Size = .(, , , )
cornerTL.Position = .(, , , )
cornerTL.BackgroundTransparency =
cornerTL.BorderSizePixel =
cornerTL.ZIndex =
cornerTL.Parent = introFrame
cornerBR = .()
cornerBR.Size = .(, , , )
cornerBR.Position = .(, -, , -)
cornerBR.BackgroundTransparency =
cornerBR.BorderSizePixel =
cornerBR.ZIndex =
cornerBR.Parent = introFrame
(parent, isHoriz, color)
l = .()
l.BackgroundColor3 = color
l.BorderSizePixel =
l.ZIndex =
l.Parent = parent
isHoriz
l.Size = .(, , , )
l.Position = .(, , , )
l.Size = .(, , , )
l.Position = .(, , , )
l
(cornerTL, , .(, , ))
(cornerTL, , .(, , ))
(cornerBR, , .(, , ))
(cornerBR, , .(, , ))
frame = .()
frame.Size = .(, , , )
frame.Position = .(, , , )
frame.BackgroundColor3 = .(, , )
frame.BackgroundTransparency =
frame.BorderSizePixel =
frame.Parent = gui
.(, frame).CornerRadius = .(, )
frameStroke = .(, frame)
frameStroke.Thickness =
frameStroke.Color = .(, , )
frameStroke.Transparency =
button = .()
button.Size = .(, -, , -)
button.Position = .(, , , )
button.BackgroundColor3 = .(, , )
button.BackgroundTransparency =
button.Text =
button.TextColor3 = .(, , )
button.TextTransparency =
button.TextScaled =
button.Font = .Font.GothamBold
button.BorderSizePixel =
button.Parent = frame
.(, button).CornerRadius = .(, )
btnGrad = .(, button)
btnGrad.Color = ColorSequence.({
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , )),
})
btnGrad.Rotation =
btnStroke = .(, button)
btnStroke.Thickness =
btnStroke.Color = .(, , )
btnStroke.Transparency =
dragCircle = .()
dragCircle.Size = .(, , , )
dragCircle.Position = .(, -, , -)
dragCircle.BackgroundColor3 = .(, , )
dragCircle.BackgroundTransparency =
dragCircle.Text =
dragCircle.TextColor3 = .(, , )
dragCircle.TextTransparency =
dragCircle.TextScaled =
dragCircle.Font = .Font.GothamBold
dragCircle.BorderSizePixel =
dragCircle.ZIndex =
dragCircle.Parent = frame
.(, dragCircle).CornerRadius = .(, )
circleStroke = .(, dragCircle)
circleStroke.Thickness =
circleStroke.Color = .(, , )
circleStroke.Transparency =
.(()
TweenService:(circleStroke,
TweenInfo.(, .EasingStyle.Sine, .EasingDirection.InOut, , ),
{Transparency = }
):()
.()
)
()
sound:()
.(()
_, p (particles)
.(()
p.Parent
tx = .(, ) /
ty = .(, ) /
TweenService:(p, TweenInfo.(.(, ) / , .EasingStyle.Sine), {
Position = .(tx, , ty, ),
BackgroundTransparency = .(, ) /
}):()
.(.(, ) / )
)
)
.()
bgGrad.Enabled =
introFrame.BackgroundColor3 = .(, , )
.(()
introFrame.Parent
TweenService:(bgGrad, TweenInfo.(, .EasingStyle.Sine, .EasingDirection.InOut, , ), {
Rotation = bgGrad.Rotation +
}):()
.()
)
.(()
introFrame.Parent
t = TweenService:(scanLine, TweenInfo.(, .EasingStyle.Linear), {
Position = .(, , , )
})
t:()
t.Completed:()
scanLine.Position = .(, , , )
)
.()
TweenService:(glowOuter, TweenInfo.(, .EasingStyle.Back), {
Size = .(, , , ),
Position = .(, -, , -),
BackgroundTransparency =
}):()
TweenService:(glowMid, TweenInfo.(, .EasingStyle.Back), {
Size = .(, , , ),
Position = .(, -, , -),
BackgroundTransparency =
}):()
TweenService:(glowInner, TweenInfo.(, .EasingStyle.Back), {
Size = .(, , , ),
Position = .(, -, , -),
BackgroundTransparency =
}):()
.()
TweenService:(lineTop, TweenInfo.(, .EasingStyle.Quint), {
Size = .(, , , ),
Position = .(, , , )
}):()
TweenService:(lineBottom, TweenInfo.(, .EasingStyle.Quint), {
Size = .(, , , ),
Position = .(, , , )
}):()
.()
TweenService:(titleLabel, TweenInfo.(, .EasingStyle.Quint), {TextTransparency = }):()
TweenService:(titleStroke, TweenInfo.(), {Transparency = }):()
.()
TweenService:(subLabel, TweenInfo.(, .EasingStyle.Quint), {TextTransparency = }):()
TweenService:(subStroke, TweenInfo.(), {Transparency = }):()
.()
TweenService:(byLabel, TweenInfo.(, .EasingStyle.Quint), {TextTransparency = }):()
TweenService:(byStroke, TweenInfo.(), {Transparency = }):()
.(()
byLabel.TextTransparency <
TweenService:(byLabel, TweenInfo.(, .EasingStyle.Sine, .EasingDirection.InOut, , ), {
TextColor3 = .(, , )
}):()
.()
)
.()
_ = ,
TweenService:(titleLabel, TweenInfo.(), {TextTransparency = }):()
.()
TweenService:(titleLabel, TweenInfo.(), {TextTransparency = }):()
.()
.()
TweenService:(titleLabel, TweenInfo.(), {TextTransparency = }):()
TweenService:(subLabel, TweenInfo.(), {TextTransparency = }):()
TweenService:(byLabel, TweenInfo.(), {TextTransparency = }):()
TweenService:(titleStroke, TweenInfo.(), {Transparency = }):()
TweenService:(subStroke, TweenInfo.(), {Transparency = }):()
TweenService:(byStroke, TweenInfo.(), {Transparency = }):()
TweenService:(lineTop, TweenInfo.(, .EasingStyle.Quint), {
Size = .(, , , ),
Position = .(, , , )
}):()
TweenService:(lineBottom, TweenInfo.(, .EasingStyle.Quint), {
Size = .(, , , ),
Position = .(, , , )
}):()
TweenService:(glowOuter, TweenInfo.(), {BackgroundTransparency = }):()
TweenService:(glowMid, TweenInfo.(), {BackgroundTransparency = }):()
TweenService:(glowInner, TweenInfo.(), {BackgroundTransparency = }):()
_, p (particles)
TweenService:(p, TweenInfo.(), {BackgroundTransparency = }):()
.()
TweenService:(introFrame, TweenInfo.(, .EasingStyle.Quint), {
BackgroundTransparency =
}):()
.()
TweenService:(frame, TweenInfo.(, .EasingStyle.Back), {BackgroundTransparency = }):()
TweenService:(frameStroke, TweenInfo.(), {Transparency = }):()
TweenService:(button, TweenInfo.(), {BackgroundTransparency = , TextTransparency = }):()
TweenService:(btnStroke, TweenInfo.(), {Transparency = }):()
TweenService:(dragCircle, TweenInfo.(), {BackgroundTransparency = , TextTransparency = }):()
TweenService:(circleStroke, TweenInfo.(), {Transparency = }):()
.()
introFrame:()
.(playIntro)
dragging =
dragInput, dragStart, startPos
dragCircle.InputBegan:((input)
input.UserInputType == .UserInputType.Touch
input.UserInputType == .UserInputType.MouseButton1
dragging =
dragInput = input
dragStart = input.Position
startPos = frame.Position
TweenService:(dragCircle, TweenInfo.(), {
Size = .(, , , ),
Position = .(, -, , -)
}):()
)
dragCircle.InputEnded:((input)
input == dragInput
dragging =
dragInput =
TweenService:(dragCircle, TweenInfo.(), {
Size = .(, , , ),
Position = .(, -, , -)
}):()
)
UIS.InputChanged:((input)
dragging input == dragInput
delta = input.Position - dragStart
frame.Position = .(
startPos.X.Scale, startPos.X.Offset + delta.X,
startPos.Y.Scale, startPos.Y.Offset + delta.Y
)
)
enabled =
(state)
enabled = state
enabled
button.Text =
TweenService:(button, TweenInfo.(), {BackgroundColor3 = .(, , )}):()
TweenService:(button, TweenInfo.(), {TextColor3 = .(, , )}):()
TweenService:(btnStroke, TweenInfo.(), {Color = .(, , )}):()
TweenService:(frameStroke, TweenInfo.(), {Color = .(, , )}):()
TweenService:(dragCircle, TweenInfo.(), {TextColor3 = .(, , )}):()
btnGrad.Color = ColorSequence.({
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , )),
})
button.Text =
TweenService:(button, TweenInfo.(), {BackgroundColor3 = .(, , )}):()
TweenService:(button, TweenInfo.(), {TextColor3 = .(, , )}):()
TweenService:(btnStroke, TweenInfo.(), {Color = .(, , )}):()
TweenService:(frameStroke, TweenInfo.(), {Color = .(, , )}):()
TweenService:(dragCircle, TweenInfo.(), {TextColor3 = .(, , )}):()
btnGrad.Color = ColorSequence.({
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , )),
})
button.MouseButton1Click:(()
button.Size = .(, -, , -)
.()
button.Size = .(, -, , -)
( enabled)
)
currentTarget =
.(()
.()
enabled
currentTarget =
char = player.Character
char
root = char:()
root
tool = char:()
tool
myPos = root.Position
bestTarget =
bestDist = .huge
_, v (.Players:())
v == player
v.Character
tr = v.Character:()
hum = v.Character:()
tr
hum
hum.Health <=
d = (myPos - tr.Position).Magnitude
d < bestDist
bestDist = d
bestTarget = v
currentTarget = bestTarget
)
RunService.RenderStepped:(()
enabled
char = player.Character
char
hum = char:()
root = char:()
hum root
tool = char:()
tool
currentTarget currentTarget.Character
targetRoot = currentTarget.Character:()
targetHum = currentTarget.Character:()
targetRoot targetHum targetHum.Health >
targetPos = targetRoot.Position
hum:(targetPos)
(root.Position - targetPos).Magnitude <
hum:(targetPos + targetRoot.CFrame.LookVector * )
)The TBT2 script is a Timebomb Duels [Alpha] script. When you catch the bomb, your player will go to the nearest player and give them the bomb. The TBT2 version is more advanced than before
Timebomb Duels [Alpha]