Run it
Copy the script and paste it into your executor.
HttpService = :()
Players = :()
RunService = :()
MarketplaceService = :()
Lighting = :()
SoundService = :()
UserInputService = :()
TweenService = :()
Debris = :()
LocalPlayer = Players.LocalPlayer
GROQ_API_KEY =
FISH_API_KEY =
FISH_VOICE_ID =
RAPIDAPI_KEY =
RAPIDAPI_HOST =
NORMAL_FACE =
TALKING_FACE =
COLOR_VERITY = .(, , )
MEMORY_FILE =
MUSIC_FOLDER =
FAR_DISTANCE =
NORMAL_REVERB = .ReverbType.NoReverb
FAR_REVERB = .ReverbType.NoReverb
VOICE_VOLUME_CLOSE =
VOICE_VOLUME_FAR =
SONG_VOLUME_CLOSE =
SONG_VOLUME_FAR =
()
( .request) ( .request)
(fluxus fluxus.request) (Krnl Krnl.request) (Delta Delta.request)
(codex codex.request) (hydrogen hydrogen.request) (arceus arceus.request)
hasFileSystem, hasCustomAsset = ,
(() writefile readfile isfile hasFileSystem = )
(() getcustomasset hasCustomAsset = )
()
writefile readfile isfile isfolder makefolder listfiles delfile
()
getcustomasset ~=
(name, data) hasFileSystem (() (name, data) )
(name)
hasFileSystem
ok, data = (() (name) (name) )
ok data
(name) hasFileSystem delfile (() (name) )
(name)
hasCustomAsset
ok, id = (() (name) )
ok id
(data)
(base64decode) ==
ok, res = (base64decode, data)
ok res res
(crypt) == (crypt.base64decode) ==
ok, res = (crypt.base64decode, data)
ok res res
b =
lookup = {}
i = , #b lookup[b:(i, i)] = i -
lookup[] =
data = data:(..b.., )
chunks = {}
len = #data
pos =
pos <= len
c1 = lookup[data:(pos, pos)] ; pos = pos +
c2 = lookup[data:(pos, pos)] ; pos = pos +
c3 = lookup[data:(pos, pos)] ; pos = pos +
c4 = lookup[data:(pos, pos)] ; pos = pos +
n = c1 * + c2 * + c3 * + c4
b1 = .(n / ) %
b2 = .(n / ) %
b3 = n %
c4 == c3 ==
.(chunks, .(b1))
c4 ==
.(chunks, .(b1, b2))
.(chunks, .(b1, b2, b3))
.(chunks)
(player)
player
.(, .() - (player.AccountAge * ))
success, gameInfo = (() MarketplaceService:(.PlaceId) )
gameName = (success (gameInfo) == ) gameInfo.Name
gameDesc = (success (gameInfo) == gameInfo.Description)
gameDesc = .(gameDesc, , ):(, )
pName = LocalPlayer.Name
pDisplayName = LocalPlayer.DisplayName
pJoinDate = (LocalPlayer)
micInput, audioAnalyzer, speechToText
isMicOn =
lastSpokenText =
isProcessingSpeech =
(()
micInput = .()
micInput.Player = LocalPlayer
micInput.Muted =
micInput.Parent = SoundService
audioAnalyzer = .()
audioAnalyzer.Parent = SoundService
wire = .()
wire.SourceInstance = micInput
wire.TargetInstance = audioAnalyzer
wire.Parent = SoundService
speechToText = .()
speechToText.Name =
speechToText.Enabled =
speechToText.Parent = SoundService
sttWire = .()
sttWire.SourceInstance = micInput
sttWire.TargetInstance = speechToText
sttWire.Parent = SoundService
)
isSprinting =
isCrouching =
isJumping =
UserInputService.InputBegan:((input, gameProcessed)
gameProcessed
input.KeyCode == .KeyCode.LeftShift
isSprinting =
isCrouching =
input.KeyCode == .KeyCode.LeftControl input.KeyCode == .KeyCode.C
isCrouching = isCrouching
isCrouching isSprinting =
input.KeyCode == .KeyCode.Space
isJumping =
.(, () isJumping = )
)
UserInputService.InputEnded:((input)
input.KeyCode == .KeyCode.LeftShift
isSprinting =
)
()
char = LocalPlayer.Character
hrp = char char:()
velMag = hrp .(hrp.Velocity.X, , hrp.Velocity.Z).Magnitude
micRms =
isMicOn audioAnalyzer
(()
micRms = audioAnalyzer.RmsLevel
)
actionBaseNoise =
isCrouching
actionBaseNoise =
isJumping
actionBaseNoise =
isSprinting velMag >
actionBaseNoise =
velMag >
actionBaseNoise =
voiceContribution = micRms *
totalNoise = .(actionBaseNoise, voiceContribution)
.(totalNoise, , )
verityPart, verityMesh, verityGui, verityFace, verityGuiText
isHeld, hasIntroduced = ,
lastYVelocity =
holdAnimTrack =
sizeSpring = {current = .(,,), velocity = .(,,), target = .(,,), stiffness = , damping = }
isRespawning =
isAutoChatEnabled =
isVerityBusy =
isPlayingMusic =
currentSongSound =
isFlying =
isFollowing =
currentMusicSound =
currentMusicTrack =
loopEnabled =
playlist = {}
playlistIndex =
tempPlayCounter =
isDownloadingMusic =
longTermMemory = {}
()
hasFileSystem
data = (MEMORY_FILE)
data
ok, decoded = (() HttpService:(data) )
ok (decoded) == longTermMemory = decoded
()
hasFileSystem
(() (MEMORY_FILE, HttpService:(longTermMemory)) )
(role, text)
.(longTermMemory, {role = role, text = text, time = .(), date = .()})
#longTermMemory > .(longTermMemory, )
()
()
()
verityPart
_, obj (verityPart:())
obj:() obj:()
(character)
character
_, part (character:())
part:()
nc = .()
nc.Part0 = verityPart
nc.Part1 = part
nc.Parent = verityPart
_, plr (Players:())
plr.Character (plr.Character)
Players.PlayerAdded:((player)
player.CharacterAdded:(() .() () )
)
LocalPlayer.CharacterAdded:(() .() () )
memorySummary =
#longTermMemory >
memorySummary =
i = .(, #longTermMemory - ), #longTermMemory
mem = longTermMemory[i]
memorySummary = memorySummary .. .(, mem.date , mem.role, mem.text)
systemPrompt = .(
..
..
..
..
..
..
..
,
gameName, pName, pDisplayName, memorySummary
)
conversationHistory = {
{role = , content = systemPrompt}
}
playerGui = LocalPlayer:()
screenGui = .(, playerGui)
screenGui.Name =
screenGui.ResetOnSpawn =
dialogueScreen = .(, screenGui)
dialogueScreen.Size = .(, , , )
dialogueScreen.Position = .(, , , )
dialogueScreen.BackgroundTransparency =
dialogueScreen.TextScaled =
dialogueScreen.TextColor3 = .(,,)
dialogueScreen.TextStrokeTransparency =
dialogueScreen.Text =
dropButton = .(, screenGui)
dropButton.Size = .(, , , )
dropButton.Position = .(, , , )
dropButton.Text =
dropButton.BackgroundColor3 = .(, , )
dropButton.TextColor3 = .(,,)
dropButton.Visible =
dropButton.TextScaled =
.(, dropButton)
throwButton = .(, screenGui)
throwButton.Size = .(, , , )
throwButton.Position = .(, , , )
throwButton.Text =
throwButton.BackgroundColor3 = .(, , )
throwButton.TextColor3 = .(,,)
throwButton.Visible =
throwButton.TextScaled =
.(, throwButton)
chatFrame = .(, screenGui)
chatFrame.Size = .(, , , )
chatFrame.Position = .(, , , )
chatFrame.BackgroundColor3 = .(, , )
chatFrame.BackgroundTransparency =
.(, chatFrame)
chatInput = .(, chatFrame)
chatInput.Size = .(, , , )
chatInput.Position = .(, , , )
chatInput.BackgroundTransparency =
chatInput.PlaceholderText =
chatInput.TextColor3 = .(,,)
chatInput.TextScaled =
sendButton = .(, chatFrame)
sendButton.Size = .(, , , )
sendButton.Position = .(, , , )
sendButton.BackgroundColor3 = .(, , )
sendButton.TextColor3 = .(,,)
sendButton.Text =
sendButton.TextScaled =
.(, sendButton)
historyButton = .(, chatFrame)
historyButton.Size = .(, , , )
historyButton.Position = .(, , , )
historyButton.BackgroundColor3 = .(, , )
historyButton.TextColor3 = .(,,)
historyButton.Text =
historyButton.TextScaled =
.(, historyButton)
autoChatBtn = .(, chatFrame)
autoChatBtn.Size = .(, , , )
autoChatBtn.Position = .(, , , )
autoChatBtn.BackgroundColor3 = .(, , )
autoChatBtn.TextColor3 = .(,,)
autoChatBtn.Text =
autoChatBtn.TextScaled =
.(, autoChatBtn)
noisePanel = .(, screenGui)
noisePanel.Name =
noisePanel.Size = .(, , , )
noisePanel.Position = .(, -, , )
noisePanel.BackgroundColor3 = .(, , )
noisePanel.BackgroundTransparency =
noisePanel.BorderSizePixel =
.(, noisePanel).CornerRadius = .(, )
micButton = .(, noisePanel)
micButton.Size = .(, , , )
micButton.Position = .(, , , )
micButton.BackgroundColor3 = .(, , )
micButton.TextColor3 = .(,,)
micButton.Text =
micButton.TextScaled =
micButton.Font = .Font.GothamBold
.(, micButton).CornerRadius = .(, )
recDot = .(, noisePanel)
recDot.Size = .(, , , )
recDot.Position = .(, , , )
recDot.BackgroundColor3 = .(, , )
recDot.BorderSizePixel =
recDot.Visible =
.(, recDot).CornerRadius = .(, )
recLabel = .(, noisePanel)
recLabel.Size = .(, , , )
recLabel.Position = .(, , , )
recLabel.BackgroundTransparency =
recLabel.Text =
recLabel.TextColor3 = .(, , )
recLabel.TextScaled =
recLabel.Font = .Font.GothamBold
recLabel.Visible =
barBg = .(, noisePanel)
barBg.Size = .(, , , )
barBg.Position = .(, , , )
barBg.BackgroundColor3 = .(, , )
barBg.BorderSizePixel =
.(, barBg).CornerRadius = .(, )
barFill = .(, barBg)
barFill.Size = .(, , , )
barFill.BackgroundColor3 = .(, , )
barFill.BorderSizePixel =
.(, barFill).CornerRadius = .(, )
micButton.MouseButton1Click:(()
micInput speechToText
dialogueScreen.Text =
.(, () dialogueScreen.Text = )
isMicOn = isMicOn
micInput.Muted = isMicOn
speechToText.Enabled = isMicOn
isMicOn
micButton.Text =
micButton.BackgroundColor3 = .(, , )
recDot.Visible =
recLabel.Visible =
micButton.Text =
micButton.BackgroundColor3 = .(, , )
recDot.Visible =
recLabel.Visible =
barFill.Size = .(, , , )
speechToText.Text =
lastSpokenText =
)
.(()
isMicOn recDot.Visible
i = ,
recDot.BackgroundTransparency = i /
.()
i = , , -
recDot.BackgroundTransparency = i /
.()
.()
)
historyFrame = .(, screenGui)
historyFrame.Size = .(, , , )
historyFrame.Position = .(, , , )
historyFrame.BackgroundColor3 = .(, , )
historyFrame.BackgroundTransparency =
historyFrame.Visible =
historyFrame.CanvasSize = .(,,,)
historyFrame.AutomaticCanvasSize = .AutomaticSize.Y
historyFrame.ScrollBarThickness =
.(, historyFrame)
historyLayout = .(, historyFrame)
historyLayout.Padding = .(, )
historyLayout.SortOrder = .SortOrder.LayoutOrder
.(, historyFrame).PaddingLeft = .(, )
()
_, child (historyFrame:())
child:() child:()
(role, text, isOld)
msgLabel = .(, historyFrame)
msgLabel.Size = .(, , , )
msgLabel.AutomaticSize = .AutomaticSize.Y
msgLabel.BackgroundTransparency =
msgLabel.TextWrapped =
msgLabel.TextSize =
msgLabel.TextXAlignment = .TextXAlignment.Left
role == role == LocalPlayer.Name
msgLabel.TextColor3 = .(, , )
msgLabel.Text = (isOld ) .. .. text
role ==
msgLabel.TextColor3 = COLOR_VERITY
msgLabel.Text = (isOld ) .. .. text
msgLabel.TextColor3 = .(, , )
msgLabel.Text = (isOld ) .. role .. .. text
()
()
startIdx = .(, #longTermMemory - )
i = startIdx, #longTermMemory
mem = longTermMemory[i]
(mem.role, mem.text .. .. (mem.date ) .. , )
historyButton.MouseButton1Click:(()
historyFrame.Visible = historyFrame.Visible
historyFrame.Visible ()
)
autoChatBtn.MouseButton1Click:(()
isAutoChatEnabled = isAutoChatEnabled
autoChatBtn.Text = isAutoChatEnabled
autoChatBtn.BackgroundColor3 = isAutoChatEnabled .(, , ) .(, , )
)
musicBar = .(, screenGui)
musicBar.Name =
musicBar.Size = .(, , , )
musicBar.Position = .(, -, , )
musicBar.BackgroundColor3 = .(, , )
musicBar.BackgroundTransparency =
musicBar.BorderSizePixel =
musicBar.Visible =
.(, musicBar).CornerRadius = .(, )
musicTitle = .(, musicBar)
musicTitle.Size = .(, -, , )
musicTitle.Position = .(, , , )
musicTitle.BackgroundTransparency =
musicTitle.Text =
musicTitle.TextColor3 = .(, , )
musicTitle.TextSize =
musicTitle.Font = .Font.GothamBold
musicTitle.TextXAlignment = .TextXAlignment.Left
musicTitle.TextTruncate = .TextTruncate.AtEnd
musicStopBtn = .(, musicBar)
musicStopBtn.Size = .(, , , )
musicStopBtn.Position = .(, -, , )
musicStopBtn.BackgroundColor3 = .(, , )
musicStopBtn.Text =
musicStopBtn.TextColor3 = .(,,)
musicStopBtn.TextSize =
musicStopBtn.Font = .Font.GothamBold
musicStopBtn.AutoButtonColor =
.(, musicStopBtn).CornerRadius = .(, )
musicProgBg = .(, musicBar)
musicProgBg.Size = .(, -, , )
musicProgBg.Position = .(, , , )
musicProgBg.BackgroundColor3 = .(, , )
musicProgBg.BorderSizePixel =
.(, musicProgBg).CornerRadius = .(, )
musicProgFill = .(, musicProgBg)
musicProgFill.Size = .(, , , )
musicProgFill.BackgroundColor3 = .(, , )
musicProgFill.BorderSizePixel =
.(, musicProgFill).CornerRadius = .(, )
musicTimeLabel = .(, musicBar)
musicTimeLabel.Size = .(, -, , )
musicTimeLabel.Position = .(, , , )
musicTimeLabel.BackgroundTransparency =
musicTimeLabel.Text =
musicTimeLabel.TextColor3 = .(, , )
musicTimeLabel.TextSize =
musicTimeLabel.Font = .Font.Code
musicTimeLabel.TextXAlignment = .TextXAlignment.Left
(sec)
sec = .(, .(sec ))
.(, .(sec / ), sec % )
(title)
musicTitle.Text = title
musicProgFill.Size = .(, , , )
musicTimeLabel.Text =
musicBar.Visible =
()
musicBar.Visible =
musicProgFill.Size = .(, , , )
musicTimeLabel.Text =
musicTitle.Text =
()
snd = currentMusicSound currentSongSound
snd snd.Parent snd.IsPlaying snd.TimeLength >
pos = snd.TimePosition
len = snd.TimeLength
musicProgFill.Size = .(.(pos / len, , ), , , )
musicTimeLabel.Text = (pos) .. .. (len)
musicBar.Visible
(currentMusicTrack )
musicBar.Visible ( snd snd.IsPlaying)
()
()
(() SoundService.AmbientReverb = NORMAL_REVERB )
()
(() SoundService.AmbientReverb = FAR_REVERB )
()
verityPart verityPart.Parent
()
char = LocalPlayer.Character
root = char char:()
dist =
root
dist = (verityPart.Position - root.Position).Magnitude
isFar = dist > FAR_DISTANCE
isPlayingMusic (currentMusicSound currentMusicSound.IsPlaying)
()
isFar isVerityBusy
()
()
_, s (verityPart:())
s:()
s == currentSongSound s == currentMusicSound
s.Volume = isFar SONG_VOLUME_FAR SONG_VOLUME_CLOSE
s.Volume = isFar VOICE_VOLUME_FAR VOICE_VOLUME_CLOSE
(text, targetPart)
targetPart hasFileSystem hasCustomAsset
requestFunc = ()
requestFunc
success, response = (()
({
Url = ,
Method = ,
Headers = {
[] = .. FISH_API_KEY,
[] = ,
[] =
},
Body = HttpService:({
text = text,
reference_id = FISH_VOICE_ID,
format =
})
})
)
success response response.Body
fileName = .. .(,) ..
(fileName, response.Body)
soundId = (fileName)
soundId
sound = .()
sound.SoundId = soundId
sound.Volume = VOICE_VOLUME_CLOSE
sound.Parent = targetPart
sound.Ended:(()
sound:()
(fileName)
)
sound
()
()
(MUSIC_FOLDER)
(makefolder, MUSIC_FOLDER)
(MUSIC_FOLDER)
(name)
name = (name )
name = name:(, )
name = name:(, )
#name == name =
#name > name = name:(, )
name
()
currentMusicSound
(() currentMusicSound:() )
currentMusicSound:()
currentMusicSound =
currentSongSound
(() currentSongSound:() )
currentSongSound:()
currentSongSound =
isPlayingMusic =
isVerityBusy =
currentMusicTrack =
()
()
musicStopBtn.MouseButton1Click:(()
()
dialogueScreen.Text =
verityGuiText verityGuiText.Text =
.(, ()
dialogueScreen.Text =
verityGuiText verityGuiText.Text =
)
)
(path, displayName)
()
()
,
()
okExist, exists = (isfile, path)
okExist exists
,
usePath = path
()
tempPlayCounter = tempPlayCounter +
uniqueName = MUSIC_FOLDER .. .. (.(() * )) .. .. tempPlayCounter ..
okCopy = (()
data = (path)
(uniqueName, data)
)
okCopy
usePath = uniqueName
ok, asset = (getcustomasset, usePath)
ok asset
,
sound = .()
sound.SoundId = asset
sound.Volume = SONG_VOLUME_CLOSE
sound.Looped = loopEnabled
sound.Parent = verityPart SoundService
sound:()
currentMusicSound = sound
currentMusicTrack = displayName path
isPlayingMusic =
isVerityBusy =
(currentMusicTrack)
.(, ()
() delfile
(delfile, usePath)
)
sound.Ended:(()
loopEnabled
isPlayingMusic =
isVerityBusy =
currentMusicSound =
currentMusicTrack =
()
()
)
()
(query)
requestFunc = ()
requestFunc ,
encodedQuery = HttpService:(query)
searchUrl = .. encodedQuery
ok, resp = (requestFunc, {
Url = searchUrl,
Method = ,
Headers = {
[] = ,
[] =
}
})
ok resp resp.StatusCode ~= resp.Body
,
body = resp.Body
videoId = body:()
videoId
videoId = body:()
videoId
,
videoId,
(url)
(url) ~=
id = url:()
url:()
url:()
url:()
id
(videoUrl)
requestFunc = ()
requestFunc , ,
vid = (videoUrl)
vid , ,
endpoint = .. RAPIDAPI_HOST .. .. vid
ok, resp = (requestFunc, {
Url = endpoint,
Method = ,
Headers = {
[] = RAPIDAPI_KEY,
[] = RAPIDAPI_HOST,
[] = ,
[] =
}
})
ok , , .. (resp)
resp resp.StatusCode ~= resp.Body
, , .. (resp resp.StatusCode )
okDecode, decoded = (HttpService.JSONDecode, HttpService, resp.Body)
okDecode (decoded) ~= , ,
decoded.status ~= , , .. (decoded.msg decoded.status )
decoded.link , ,
title = decoded.title vid
link = decoded.link
link:(, ) == link = .. link
link, title,
(url, path)
requestFunc = ()
requestFunc ,
url = (url):(, ):(, )
url:(, ) == url = .. url
ok, resp = (requestFunc, {
Url = url,
Method = ,
Headers = {
[] = ,
[] = ,
[] =
}
})
ok resp ,
resp.StatusCode ~= , .. (resp.StatusCode)
resp.Body #resp.Body == ,
contentType =
(resp.Headers) ==
k, v (resp.Headers)
(k) == k:() ==
contentType = .((v))
contentType:() contentType:()
,
body = resp.Body
#body % == body:() #body >
decoded = (body)
decoded #decoded >
body = decoded
okWrite = (writefile, path, body)
okWrite ,
(rawQuery)
isDownloadingMusic
,
()
,
()
,
()
,
rawQuery = (rawQuery):()
rawQuery ==
,
isDownloadingMusic =
()
.(()
finalUrl = rawQuery
title = rawQuery
(rawQuery:() rawQuery:())
dialogueScreen.Text = .. rawQuery ..
verityGuiText verityGuiText.Text =
videoId, searchErr = (rawQuery)
videoId
dialogueScreen.Text =
verityGuiText verityGuiText.Text =
.(, ()
dialogueScreen.Text =
verityGuiText verityGuiText.Text =
)
isDownloadingMusic =
finalUrl = .. videoId
dialogueScreen.Text =
verityGuiText verityGuiText.Text =
assetUrl, resolvedTitle, err = (finalUrl)
assetUrl
dialogueScreen.Text =
verityGuiText verityGuiText.Text =
.(, ()
dialogueScreen.Text =
verityGuiText verityGuiText.Text =
)
isDownloadingMusic =
fileName = MUSIC_FOLDER .. .. (resolvedTitle) ..
ok, dlErr = ,
attempt = ,
ok, dlErr = (assetUrl, fileName)
ok
.()
newLink, newTitle = (finalUrl)
newLink
assetUrl = newLink
resolvedTitle = newTitle resolvedTitle
ok
dialogueScreen.Text =
verityGuiText verityGuiText.Text =
.(, ()
dialogueScreen.Text =
verityGuiText verityGuiText.Text =
)
isDownloadingMusic =
playOk = (fileName, resolvedTitle)
playOk
dialogueScreen.Text = .. resolvedTitle
verityGuiText verityGuiText.Text = .. resolvedTitle
(, .. resolvedTitle)
(, .. resolvedTitle)
.(, ()
dialogueScreen.Text:()
dialogueScreen.Text =
verityGuiText verityGuiText.Text:()
verityGuiText.Text =
)
dialogueScreen.Text =
.(, () dialogueScreen.Text = )
isDownloadingMusic =
)
()
isPlayingMusic (currentMusicSound currentMusicSound.IsPlaying)
isPlayingMusic =
isVerityBusy =
(, )
(, )
verityGuiText verityGuiText.Text =
dialogueScreen.Text =
verityFace verityFace.Texture = NORMAL_FACE
()
currentMusicTrack =
.(()
success, songData = (()
:()
)
success songData hasFileSystem hasCustomAsset
fileName = .. .(,) ..
(fileName, songData)
soundId = (fileName)
soundId
songSound = .()
songSound.SoundId = soundId
songSound.Volume = SONG_VOLUME_CLOSE
songSound.Parent = verityPart
songSound:()
currentSongSound = songSound
()
songSound.Ended:(()
currentSongSound == songSound
isPlayingMusic =
isVerityBusy =
currentSongSound =
()
()
verityPart
verityGuiText verityGuiText.Text =
dialogueScreen.Text =
songSound:()
(fileName)
)
isPlayingMusic =
isVerityBusy =
()
()
isPlayingMusic =
isVerityBusy =
()
()
)
(promptContext)
(, promptContext)
promptContext = promptContext:(, ):(, )
.(conversationHistory, {role = , content = promptContext})
#conversationHistory >
#conversationHistory >
.(conversationHistory, )
requestFunc = ()
requestFunc
.(conversationHistory)
success, response = (()
({
Url = ,
Method = ,
Headers = {
[] = ,
[] = .. GROQ_API_KEY
},
Body = HttpService:({
model = ,
messages = conversationHistory,
max_tokens = ,
temperature =
})
})
)
success response response.Body
.(conversationHistory)
()
ok, data = (()
HttpService:(response.Body)
)
ok (data) ~=
.(conversationHistory)
(, response.Body)
data.error
.(conversationHistory)
(, data.error.message HttpService:(data.error))
data.choices data.choices[] data.choices[].message
content = data.choices[].message.content
content #content >
reply = content:(, ):(, )
lowerReply = reply:()
(lowerReply:() lowerReply:() lowerReply:())
lowerReply:() lowerReply:()
reply =
.(conversationHistory, {role = , content = reply})
(, reply)
reply
.(conversationHistory)
()
(model)
model
name = model.Name:()
name:() name:() name:() name:()
name:() name:() name:() name:()
name:() name:() name:() name:()
_, child (model:())
n = child.Name:()
child:() child:() child:()
n:() n:() n:() n:()
n:() n:() n:() n:()
(maxDistance)
maxDistance = maxDistance
char = LocalPlayer.Character
root = char char:()
root , , .huge
playerChars = {}
_, plr (Players:())
plr.Character playerChars[plr.Character] =
closestModel, closestRoot, closestDist = , , maxDistance
closestHostileModel, closestHostileRoot, closestHostileDist = , , maxDistance
_, obj (:())
obj:() obj.Parent obj.Health > playerChars[obj.Parent]
model = obj.Parent
hrp = model:() model:() model:()
hrp hrp:()
dist = (hrp.Position - root.Position).Magnitude
dist < closestDist
closestDist = dist
closestModel = model
closestRoot = hrp
(model) dist < closestHostileDist
closestHostileDist = dist
closestHostileModel = model
closestHostileRoot = hrp
closestHostileModel
closestHostileModel, closestHostileRoot, closestHostileDist
closestModel, closestRoot, closestDist
()
model, hrp, dist = ()
model hrp
,
char = LocalPlayer.Character
root = char char:()
root ,
offset = (root.Position - hrp.Position).Unit *
offset.Magnitude < offset = .(, , )
targetPos = hrp.Position + offset + .(, , )
root.CFrame = .(targetPos)
verityPart verityPart.Parent
verityPart.CFrame = .(targetPos + .(, , -))
verityPart.AssemblyLinearVelocity = .zero
, model.Name, dist
()
verityPart
char = LocalPlayer.Character
char
root = char:()
root
isFlying =
isFollowing =
isHeld =
dropButton.Visible =
throwButton.Visible =
verityPart.Anchored =
verityPart.AssemblyLinearVelocity = .zero
verityPart.AssemblyAngularVelocity = .zero
verityPart.CFrame = root.CFrame * .(, , -)
(msg, isVoice)
lower = msg:():(, ):(, )
playQuery =
lower:(, ) ==
playQuery = msg:()
lower:(, ) ==
playQuery = msg:()
lower:()
playQuery = msg:()
playQuery playQuery:()
(, (isVoice ) .. msg)
(, (isVoice ) .. msg)
reply =
(, reply)
(, reply)
dialogueScreen.Text = .. msg
verityGuiText verityGuiText.Text = reply
dialogueScreen.Text = .. reply
verityFace verityFace.Texture = TALKING_FACE
sound = (reply, verityPart)
sound sound:()
.(()
.()
(playQuery)
verityFace verityFace.Texture = NORMAL_FACE
)
lower == lower:() lower:() lower:()
isPlayingMusic (currentMusicSound currentMusicSound.IsPlaying) currentSongSound
()
dialogueScreen.Text =
verityGuiText verityGuiText.Text =
.(, ()
dialogueScreen.Text =
verityGuiText verityGuiText.Text =
)
isFollowing
isFollowing =
reply =
(, (isVoice ) .. msg)
(, reply)
(, (isVoice ) .. msg)
(, reply)
sound = (reply, verityPart)
verityGuiText verityGuiText.Text = reply
dialogueScreen.Text = .. reply
verityFace verityFace.Texture = TALKING_FACE
sound sound:()
.(, ()
verityPart
verityGuiText verityGuiText.Text =
dialogueScreen.Text =
verityFace verityFace.Texture = NORMAL_FACE
)
lower:() lower:() lower:() lower:()
reply =
(, (isVoice ) .. msg)
(, reply)
(, (isVoice ) .. msg)
(, reply)
dialogueScreen.Text = .. msg
verityGuiText verityGuiText.Text = reply
dialogueScreen.Text = .. reply
verityFace verityFace.Texture = TALKING_FACE
sound = (reply, verityPart)
sound sound:()
.(()
.()
(()
(:((),))()
)
verityPart
verityGuiText verityGuiText.Text =
dialogueScreen.Text =
verityFace verityFace.Texture = NORMAL_FACE
)
lower:() lower:() lower:()
isFollowing =
isFlying =
isHeld =
dropButton.Visible =
throwButton.Visible =
reply =
(, (isVoice ) .. msg)
(, reply)
(, (isVoice ) .. msg)
(, reply)
sound = (reply, verityPart)
verityGuiText verityGuiText.Text = reply
dialogueScreen.Text = .. reply
verityFace verityFace.Texture = TALKING_FACE
sound sound:()
.(, ()
verityPart
verityGuiText verityGuiText.Text =
dialogueScreen.Text =
verityFace verityFace.Texture = NORMAL_FACE
)
isNpcCommand = (lower:() lower:())
(lower:() lower:() lower:() lower:() lower:())
isNpcCommand
success, nameOrMsg, dist = ()
reply = success .(, nameOrMsg, dist)
(, (isVoice ) .. msg)
(, reply)
(, (isVoice ) .. msg)
(, reply)
sound = (reply, verityPart)
verityGuiText verityGuiText.Text = reply
dialogueScreen.Text = .. reply
verityFace verityFace.Texture = TALKING_FACE
sound sound:()
.(, ()
verityPart
verityGuiText verityGuiText.Text =
dialogueScreen.Text =
verityFace verityFace.Texture = NORMAL_FACE
)
lower:() lower:() lower:()
lower:() lower:() lower:()
()
reply =
(, (isVoice ) .. msg)
(, reply)
(, (isVoice ) .. msg)
(, reply)
sound = (reply, verityPart)
verityGuiText verityGuiText.Text = reply
dialogueScreen.Text = .. reply
verityFace verityFace.Texture = TALKING_FACE
sound sound:()
.(, ()
verityPart
verityGuiText verityGuiText.Text =
dialogueScreen.Text =
verityFace verityFace.Texture = NORMAL_FACE
)
lower:() lower:() lower:()
(, (isVoice ) .. msg)
()
(spokenText)
(, spokenText)
isProcessingSpeech isVerityBusy isPlayingMusic isDownloadingMusic
()
spokenText = spokenText:(, ):(, )
spokenText == #spokenText <
isProcessingSpeech =
isVerityBusy =
dialogueScreen.Text = .. spokenText
(, .. spokenText)
wasCommand = (spokenText, )
wasCommand
isProcessingSpeech =
isVerityBusy =
note =
.(()
reply = (note .. spokenText)
(, reply)
(, .. spokenText)
(, reply)
sound = (reply, verityPart)
verityGuiText verityGuiText.Text = reply
dialogueScreen.Text = .. reply
verityFace verityFace.Texture = TALKING_FACE
sound sound:()
.(.(, #reply / ))
verityPart
verityGuiText verityGuiText.Text =
dialogueScreen.Text =
verityFace verityFace.Texture = NORMAL_FACE
isVerityBusy =
isProcessingSpeech =
)
speechToText
speechToText:():(()
text = speechToText.Text
text text ~= text ~= lastSpokenText isMicOn
lastSpokenText = text
speechToText.Text =
(text)
)
()
isRespawning
isRespawning =
isHeld =
isFlying =
isFollowing =
dropButton.Visible =
throwButton.Visible =
holdAnimTrack (() holdAnimTrack:() ) holdAnimTrack =
()
.(()
madText =
sound = (madText, verityPart)
verityGuiText verityGuiText.Text = madText
dialogueScreen.Text = .. madText
verityFace verityFace.Texture = TALKING_FACE
sound sound:()
(, madText)
.()
verityPart
verityFace verityFace.Texture = NORMAL_FACE
verityGuiText verityGuiText.Text =
dialogueScreen.Text =
isRespawning =
)
(pos, isRespawnCall)
verityPart verityPart.Parent verityPart:()
verityPart = .()
verityPart.Name =
verityPart.Shape = .PartType.Ball
verityPart.Size = .(, , )
verityPart.Color = COLOR_VERITY
verityPart.Position = pos + .(, , )
verityPart.Material = .Material.SmoothPlastic
verityPart.CanCollide =
verityPart.Parent =
verityPart.AssemblyLinearVelocity = .(, , )
verityPart.AssemblyAngularVelocity = .(.(-,), .(-,), .(-,))
verityMesh = .(, verityPart)
verityMesh.MeshType = .MeshType.Sphere
verityFace = .(, verityPart)
verityFace.Texture = NORMAL_FACE
verityGui = .(, verityPart)
verityGui.Size = .(, , , )
verityGui.AlwaysOnTop =
verityGuiText = .(, verityGui)
verityGuiText.Size = .(, , , )
verityGuiText.BackgroundTransparency =
verityGuiText.TextScaled =
verityGuiText.TextColor3 = .(, , )
.(removeCollisionWithCharacters)
verityPart.Touched:((hit)
name = hit.Name:()
name:() name:() name:() name:()
()
)
cd = .(, verityPart)
cd.MaxActivationDistance =
cd.MouseClick:(()
isHeld
isHeld =
isFlying =
isFollowing =
dropButton.Visible =
throwButton.Visible =
char = LocalPlayer.Character
hum = char char:()
hum
animator = hum:() .(, hum)
anim = .()
anim.AnimationId = hum.RigType == .HumanoidRigType.R15
holdAnimTrack = animator:(anim)
holdAnimTrack.Priority = .AnimationPriority.Action
holdAnimTrack:()
)
isRespawnCall
hasIntroduced =
.(, ()
hasIntroduced verityPart verityPart.Parent
hasIntroduced =
isVerityBusy =
intro =
sound = (intro, verityPart)
verityFace verityFace.Texture = TALKING_FACE
verityGuiText verityGuiText.Text = intro
dialogueScreen.Text = intro
sound sound:()
(, intro)
(, intro)
.(.(, #intro / ))
verityPart verityPart.Parent
verityFace verityFace.Texture = NORMAL_FACE
verityGuiText verityGuiText.Text =
dialogueScreen.Text =
isVerityBusy =
)
RunService.RenderStepped:((dt)
()
isMicOn
level = ()
barFill.Size = .(level, , , )
level <
barFill.BackgroundColor3 = .(, , )
level <
barFill.BackgroundColor3 = .(, , )
barFill.BackgroundColor3 = .(, , )
verityPart verityPart.Parent
verityPart.Position.Y < (.FallenPartsDestroyHeight + ) verityPart.Position.Y < -
()
char = LocalPlayer.Character
root = char char:()
isHeld
hand = char:() char:()
head = char:()
hand head
grip = hand:()
holdPos = grip grip.WorldPosition (hand.Position + .(, -, ))
verityPart.CFrame = .(holdPos, head.Position)
isFollowing root
direction = .(root.Position.X - verityPart.Position.X, , root.Position.Z - verityPart.Position.Z)
distance = direction.Magnitude
playerSpeed = .(root.AssemblyLinearVelocity.X, , root.AssemblyLinearVelocity.Z).Magnitude
minSpeed = distance > (distance > )
targetSpeed = .(.(playerSpeed * , minSpeed), , )
distance >
moveDir = direction.Unit
currentVel = verityPart.AssemblyLinearVelocity
desired = moveDir * targetSpeed
verityPart.AssemblyLinearVelocity = .(
currentVel.X + (desired.X - currentVel.X) * ,
currentVel.Y,
currentVel.Z + (desired.Z - currentVel.Z) *
)
spin = .(targetSpeed * , , )
verityPart.AssemblyAngularVelocity = .(-moveDir.Z * spin, , moveDir.X * spin)
distance >
verityPart.AssemblyLinearVelocity = verityPart.AssemblyLinearVelocity *
verityPart.AssemblyAngularVelocity = verityPart.AssemblyAngularVelocity *
verityPart.AssemblyLinearVelocity = .(, verityPart.AssemblyLinearVelocity.Y * , )
verityPart.AssemblyAngularVelocity = .zero
lookPos = .(root.Position.X, verityPart.Position.Y, root.Position.Z)
verityPart.CFrame = .(verityPart.Position, lookPos)
isFlying
vel = verityPart.AssemblyLinearVelocity
vel.Magnitude >
drag = .(vel.Magnitude * , , )
verityPart.AssemblyLinearVelocity = vel * ( - drag)
verityPart.AssemblyAngularVelocity = verityPart.AssemblyAngularVelocity *
isFlying =
verityPart.AssemblyLinearVelocity = .(, vel.Y * , )
verityPart.AssemblyAngularVelocity = .zero
isFlying isFollowing root
lookPos = .(root.Position.X, verityPart.Position.Y, root.Position.Z)
verityPart.CFrame = .(verityPart.Position, lookPos)
currentY = verityPart.AssemblyLinearVelocity.Y
lastYVelocity < - currentY >= -
force = .(-lastYVelocity * , , )
sizeSpring.velocity = .(force * , -force, force * 0.7)
verityPart.AssemblyLinearVelocity = Vector3.new(verityPart.AssemblyLinearVelocity.X, -lastYVelocity * 0.5, verityPart.AssemblyLinearVelocity.Z)
end
lastYVelocity = currentY
end
if verityFace and verityFace.Texture == TALKING_FACE then
local s = 1 + math.sin(tick() * 14) * 0.12
sizeSpring.target = Vector3.new(1.2 / s, 1.2 * s, 1.2 / s)
else
sizeSpring.target = Vector3.new(1.2, 1.2, 1.2)
end
local force = (sizeSpring.target - sizeSpring.current) * sizeSpring.stiffness
sizeSpring.velocity = sizeSpring.velocity + (force - sizeSpring.velocity * sizeSpring.damping) * dt
sizeSpring.current = sizeSpring.current + sizeSpring.velocity * dt
if verityMesh then
verityMesh.Scale = Vector3.new(
math.max(sizeSpring.current.X, 0.4) / 1.2,
math.max(sizeSpring.current.Y, 0.7) / 1.2,
math.max(sizeSpring.current.Z, 0.4) / 1.2
)
end
updateDistanceAudio()
end)
LocalPlayer.CharacterAdded:Connect(function(newChar)
isHeld = false
isFlying = false
isFollowing = false
dropButton.Visible = false
throwButton.Visible = false
holdAnimTrack = nil
local root = newChar:WaitForChild("HumanoidRootPart", 6)
if root and verityPart then
verityPart.CFrame = root.CFrame * CFrame.new(0, 4, 5)
end
task.wait(0.7)
removeCollisionWithCharacters()
end)
-- =========================================================
-- TYPED CHAT
-- =========================================================
sendButton.MouseButton1Click:Connect(function()
if chatInput.Text == "" then return end
local msg = chatInput.Text
chatInput.Text = ""
if isPlayingMusic or isVerityBusy or isDownloadingMusic then return end
local wasCommand = processCommand(msg, false)
if wasCommand then return end
isVerityBusy = true
addHistory("User", msg)
local note = "[System: Your master is talking casually.]\n"
if verityGuiText then verityGuiText.Text = "..." end
dialogueScreen.Text = "Verity: Thinking..."
if verityFace then verityFace.Texture = NORMAL_FACE end
task.spawn(function()
local reply = askVerity(note .. msg)
addHistory("Verity", reply)
addToLongTermMemory("User", msg)
addToLongTermMemory("Verity", reply)
local sound = getFishAudioSound(reply, verityPart)
if verityGuiText then verityGuiText.Text = reply end
dialogueScreen.Text = "Verity: " .. reply
if verityFace then verityFace.Texture = TALKING_FACE end
if sound then sound:Play() end
task.wait(math.max(2.5, #reply / 14))
if verityPart then
if verityGuiText then verityGuiText.Text = "" end
dialogueScreen.Text = ""
if verityFace then verityFace.Texture = NORMAL_FACE end
end
isVerityBusy = false
end)
end)
dropButton.MouseButton1Click:Connect(function()
isHeld = false
isFlying = false
isFollowing = false
dropButton.Visible = false
throwButton.Visible = false
if holdAnimTrack then pcall(function() holdAnimTrack:Stop() end) holdAnimTrack = nil end
local char = LocalPlayer.Character
if char and char:FindFirstChild("HumanoidRootPart") then
local root = char.HumanoidRootPart
verityPart.CFrame = CFrame.new(root.Position + root.CFrame.LookVector * 4)
verityPart.AssemblyLinearVelocity = Vector3.new(0, 4, 0)
end
end)
throwButton.MouseButton1Click:Connect(function()
isHeld = false
isFlying = true
isFollowing = false
dropButton.Visible = false
throwButton.Visible = false
if holdAnimTrack then pcall(function() holdAnimTrack:Stop() end) holdAnimTrack = nil end
local char = LocalPlayer.Character
if char and char:FindFirstChild("HumanoidRootPart") then
local root = char.HumanoidRootPart
local cam = workspace.CurrentCamera
local dir = cam.CFrame.LookVector
verityPart.CFrame = CFrame.new(root.Position + dir * 3 + Vector3.new(0, 1.5, 0))
verityPart.AssemblyLinearVelocity = dir * 85 + Vector3.new(0, 22, 0)
verityPart.AssemblyAngularVelocity = Vector3.new(math.random(-20,20), math.random(-20,20), math.random(-20,20))
task.spawn(function()
local lines = {"Ow!", "Ouch!", "Ahh!", "Hey that hurt!", "Oof!", "Owchie!", "That was mean!"}
local line = lines[math.random(1, #lines)]
local sound = getFishAudioSound(line, verityPart)
if verityGuiText then verityGuiText.Text = line end
dialogueScreen.Text = "Verity: " .. line
if verityFace then verityFace.Texture = TALKING_FACE end
if sound then sound:Play() end
addToLongTermMemory("Verity", line .. " (thrown)")
task.wait(1.8)
if verityPart then
if verityGuiText then verityGuiText.Text = "" end
dialogueScreen.Text = ""
if verityFace then verityFace.Texture = NORMAL_FACE end
end
end)
end
end)
-- =========================================================
-- AUTO CHAT
-- =========================================================
local lastAutoComment = 0
local AUTO_COOLDOWN = 18
task.spawn(function()
while true do
task.wait(3)
if not isAutoChatEnabled or isVerityBusy or isPlayingMusic or isDownloadingMusic or not verityPart or not verityPart.Parent then
continue
end
local now = tick()
if now - lastAutoComment < AUTO_COOLDOWN then continue end
local env = ""
local char = LocalPlayer.Character
local hum = char and char:FindFirstChildOfClass("Humanoid")
if hum and hum.Health < 40 then
env = "Master's health is low!"
end
local npcModel = select(1, getClosestNPC(80))
if npcModel then
env = env .. " There is an NPC nearby named " .. npcModel.Name
end
if env == "" and math.random() > 0.3 then continue end
isVerityBusy = true
lastAutoComment = now
local context = string.format(
"[System: Auto observation. Make a short casual comment.]\n%s",
env ~= "" and env or "Just checking on you."
)
local reply = askVerity(context)
if reply and reply ~= "" then
addHistory("Verity", reply)
addToLongTermMemory("Verity", "[Auto] " .. reply)
local sound = getFishAudioSound(reply, verityPart)
if verityGuiText then verityGuiText.Text = reply end
dialogueScreen.Text = "Verity: " .. reply
if verityFace then verityFace.Texture = TALKING_FACE end
if sound then sound:Play() end
task.wait(math.max(2.3, #reply / 14))
if verityPart and verityPart.Parent then
if verityGuiText then verityGuiText.Text = "" end
dialogueScreen.Text = ""
if verityFace then verityFace.Texture = NORMAL_FACE end
end
end
isVerityBusy = false
end
end)
-- =========================================================
-- SPAWN ANIMATION
-- =========================================================
local function createGreySmoke(position)
for i = 1, 32 do
local smoke = Instance.new("Part")
smoke.Shape = Enum.PartType.Ball
smoke.Size = Vector3.new(0.4 + math.random() * 0.5, 0.4 + math.random() * 0.5, 0.4 + math.random() * 0.5)
smoke.Material = Enum.Material.SmoothPlastic
smoke.Color = Color3.fromRGB(math.random(110,150), math.random(110,150), math.random(110,150))
smoke.Transparency = 0.2 + math.random() * 0.25
smoke.Anchored = true
smoke.CanCollide = false
smoke.CastShadow = false
smoke.Position = position + Vector3.new(math.random(-12,12)/10, math.random(-4,6)/10, math.random(-12,12)/10)
smoke.Parent = workspace
local rise = Vector3.new(math.random(-35,35)/10, math.random(12,48)/10, math.random(-35,35)/10)
local targetSize = 2.2 + math.random() * 1.8
local tween = TweenService:Create(smoke, TweenInfo.new(1.35 + math.random()*0.6, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {
Position = smoke.Position + rise,
Size = Vector3.new(targetSize, targetSize, targetSize),
Transparency = 1
})
tween:Play()
Debris:AddItem(smoke, 2.3)
end
end
local function createYellowSparkles(position)
for i = 1, 16 do
local spark = Instance.new("Part")
spark.Shape = Enum.PartType.Ball
spark.Size = Vector3.new(0.16, 0.16, 0.16)
spark.Material = Enum.Material.Neon
spark.Color = COLOR_VERITY
spark.Anchored = true
spark.CanCollide = false
spark.CastShadow = false
spark.Position = position
spark.Parent = workspace
local tween = TweenService:Create(spark, TweenInfo.new(0.75 + math.random()*0.4, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {
Position = position + Vector3.new(math.random(-30,30)/10, math.random(6,38)/10, math.random(-30,30)/10),
Size = Vector3.new(0.03, 0.03, 0.03),
Transparency = 1
})
tween:Play()
Debris:AddItem(spark, 1.3)
end
end
local function playSpawnAnimation(startPos)
local box = Instance.new("Part")
box.Name = "SpawnBox"
box.Size = Vector3.new(3.0, 3.0, 3.0)
box.Position = startPos
box.Anchored = true
box.CanCollide = false
box.Color = Color3.fromRGB(130, 80, 45)
box.Material = Enum.Material.SmoothPlastic
box.CastShadow = false
box.Parent = workspace
local sel = Instance.new("SelectionBox")
sel.Adornee = box
sel.Color3 = Color3.fromRGB(180, 120, 60)
sel.LineThickness = 0.06
sel.Parent = box
local riseTween = TweenService:Create(box, TweenInfo.new(0.85, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {
Position = startPos + Vector3.new(0, 5.2, 0)
})
riseTween:Play()
riseTween.Completed:Wait()
for i = 1, 4 do
box.CFrame = box.CFrame * CFrame.Angles(math.rad(math.random(-6,6)), math.rad(math.random(-6,6)), 0)
task.wait(0.03)
end
box.CFrame = CFrame.new(startPos + Vector3.new(0, 5.2, 0))
local shrinkTween = TweenService:Create(box, TweenInfo.new(0.55, Enum.EasingStyle.Back, Enum.EasingDirection.In), {
Size = Vector3.new(0.15, 0.15, 0.15),
Transparency = 1
})
shrinkTween:Play()
shrinkTween.Completed:Wait()
box:Destroy()
task.wait(0.18)
local smokePos = startPos + Vector3.new(0, 3.8, 0)
createGreySmoke(smokePos)
createYellowSparkles(smokePos)
task.wait(0.12)
spawnVerity(startPos + Vector3.new(0, 2.8, 0), false)
end
task.spawn(function()
local char = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
local root = char:WaitForChild("HumanoidRootPart", 5)
local spawnPos = root and (root.Position + root.CFrame.LookVector * 7) or Vector3.new(0, 5, 0)
local box = Instance.new("Part")
box.Name = "SpawnBox"
box.Size = Vector3.new(2.8, 2.8, 2.8)
box.Position = spawnPos
box.Anchored = true
box.CanCollide = false
box.Color = Color3.fromRGB(130, 80, 45)
box.Material = Enum.Material.SmoothPlastic
box.Parent = workspace
local sel = Instance.new("SelectionBox")
sel.Adornee = box
sel.Color3 = Color3.fromRGB(180, 120, 60)
sel.LineThickness = 0.06
sel.Parent = box
local boxCd = Instance.new("ClickDetector", box)
boxCd.MaxActivationDistance = 40
local clicks = 0
local originalCFrame = box.CFrame
local isAnimating = false
boxCd.MouseClick:Connect(function()
if isAnimating then return end
clicks = clicks + 1
task.spawn(function()
for i = 1, 6 do
if box and box.Parent then
box.CFrame = originalCFrame * CFrame.Angles(
math.rad(math.random(-12,12)),
math.rad(math.random(-12,12)),
math.rad(math.random(-8,8))
)
task.wait(0.04)
end
end
if box and box.Parent then
box.CFrame = originalCFrame
end
end)
if clicks >= 3 then
isAnimating = true
local pos = box.Position
box:Destroy()
playSpawnAnimation(pos)
end
end)
end)
-- =========================================================
-- INIT
-- =========================================================
setNormalAudio()
ensureMusicFolder()
if hasFileAPI() and listfiles and delfile then
pcall(function()
local files = listfiles(MUSIC_FOLDER)
if files then
for _, f in ipairs(files) do
if type(f) == "string" and f:match("__play_") then
pcall(delfile, f)
end
end
end
end)
end
print("[Verity] Loaded with integrated music system + progress bar (no echo)")
print("[Verity] Talking face ID: 103727585196678")
print("[Verity] Use chat: play <song name> or /play <song name>")
print("[Verity] Click the box 3 times to spawn")Loads code from the internet. It downloads more code when it runs (loadstring + HttpGet), which can change after it was posted. From: api.fish.audio, www.youtube.com, youtube-mp36.p.rapidapi.com, raw.githubusercontent.com, api.groq.com.
Idk

Universal