Run it
Copy the script and paste it into your executor.
cloneref = cloneref (a) a
coreGui = (:())
players = (:())
localPlayer = players.LocalPlayer
()
s, r = (()
coreGui:()
)
s
gethui = gethui ()
folder
()
coreGui:():()
folder = coreGui:():()
folder = .()
folder.Name =
folder.Parent = coreGui:()
folder = localPlayer:
folder
quirkycmd = .(, ())
quirkycmd.Name =
quirkycmd.IgnoreGuiInset =
quirkycmd.ScreenInsets = .ScreenInsets.DeviceSafeInsets
quirkycmd.ResetOnSpawn =
quirkycmd.ZIndexBehavior = .ZIndexBehavior.Sibling
remotepath = .()
remotepath.Name =
remotepath.Text =
remotepath.TextColor3 = .(, , )
remotepath.TextScaled =
remotepath.TextSize =
remotepath.TextTransparency =
remotepath.TextWrapped =
remotepath.BackgroundColor3 = .(, , )
remotepath.BackgroundTransparency =
remotepath.BorderColor3 = .(, , )
remotepath.BorderSizePixel =
remotepath.Position = .(, )
remotepath.Size = .(, )
uicorner = .()
uicorner.Name =
uicorner.CornerRadius = .(, )
uicorner.Parent = remotepath
remotepath.Parent = quirkycmd
cmdbox = .()
cmdbox.Name =
cmdbox.FontFace = Font.()
cmdbox.PlaceholderText =
cmdbox.Text =
cmdbox.TextColor3 = .(, , )
cmdbox.TextScaled =
cmdbox.TextSize =
cmdbox.TextTruncate = .TextTruncate.AtEnd
cmdbox.TextWrapped =
cmdbox.BackgroundColor3 = .(, , )
cmdbox.BorderColor3 = .(, , )
cmdbox.BorderSizePixel =
cmdbox.Position = .(, )
cmdbox.Size = .(, )
uitextsizeconstraint = .()
uitextsizeconstraint.Name =
uitextsizeconstraint.MaxTextSize =
uitextsizeconstraint.Parent = cmdbox
cmdbox.Parent = quirkycmd
mobileopen = .()
mobileopen.Name =
mobileopen.FontFace = Font.()
mobileopen.Text =
mobileopen.TextColor3 = .(, , )
mobileopen.TextScaled =
mobileopen.TextSize =
mobileopen.TextWrapped =
mobileopen.AnchorPoint = .(, )
mobileopen.BackgroundColor3 = .(, , )
mobileopen.BorderColor3 = .(, , )
mobileopen.BorderSizePixel =
mobileopen.Position = .(, )
mobileopen.Size = .(, )
uicorner1 = .()
uicorner1.Name =
uicorner1.CornerRadius = .(, )
uicorner1.Parent = mobileopen
mobileopen.Parent = quirkycmd
cmds = .()
cmds.Name =
cmds.Active =
cmds.BackgroundColor3 = .(, , )
cmds.BorderColor3 = .(, , )
cmds.BorderSizePixel =
cmds.Position = .(, )
cmds.Size = .(, )
cmds.Parent = quirkycmd
cmdlist = .()
cmdlist.Name =
cmdlist.AutomaticCanvasSize = .AutomaticSize.Y
cmdlist.CanvasSize = .()
cmdlist.ScrollBarThickness =
cmdlist.ScrollingDirection = .ScrollingDirection.Y
cmdlist.BackgroundColor3 = .(, , )
cmdlist.BorderColor3 = .(, , )
cmdlist.BorderSizePixel =
cmdlist.Position = .(, )
cmdlist.Size = .(, )
template = .()
template.Name =
template.FontFace = Font.()
template.Text =
template.TextColor3 = .(, , )
template.TextScaled =
template.TextSize =
template.TextWrapped =
template.BackgroundColor3 = .(, , )
template.BackgroundTransparency =
template.BorderColor3 = .(, , )
template.BorderSizePixel =
template.Size = .(, )
template.Parent = cmdlist
uilistlayout = .()
uilistlayout.Name =
uilistlayout.Padding = .(, )
uilistlayout.SortOrder = .SortOrder.LayoutOrder
uilistlayout.Parent = cmdlist
cmdlist.Parent = cmds
closebutton = .()
closebutton.Name =
closebutton.FontFace = Font.()
closebutton.Text =
closebutton.TextColor3 = .(, , )
closebutton.TextScaled =
closebutton.TextSize =
closebutton.TextWrapped =
closebutton.Active =
closebutton.BackgroundColor3 = .(, , )
closebutton.BorderColor3 = .(, , )
closebutton.BorderSizePixel =
closebutton.Size = .(, )
closebutton.Parent = cmds
:() .Loaded:()
debugOutput =
checkTime =
flySpeed =
UGCVS = :()
uis = :()
sgui = :()
rs = :()
rStorage = :()
players = :()
localPlayer = players.LocalPlayer
gui = quirkycmd localPlayer:():()
gethui = gethui () localPlayer:()
box = gui:()
mobileButton = gui:()
cmdsFrame = gui:()
cmdsList = cmdsFrame:()
cmdTemplate = cmdsList:()
closeButton = cmdsFrame:()
remotePath = gui:()
genv = ( (() ~= ()) ())
gethiddenproperty
(() (localPlayer,) )
gethiddenproperty = gethiddenproperty
gethiddenproperty = (i, v) UGCVS:(i, v)
sethiddenproperty = sethiddenproperty (inst,i,v) (() inst[i] = v )
isnetworkowner = isnetworkowner (part) part.ReceiveAge ==
isMobile = uis.TouchEnabled
isTesting = .PlaceId ==
modernChat = :().ChatVersion == .ChatVersion.TextChatService
chatEvents = ( modernChat) rStorage:()
mobileOffset = isMobile
prefix =
prefixEnum = .KeyCode.Semicolon
wordList = {, , , , ,, , , , , , , , , , , }
camera = .CurrentCamera
mouse = localPlayer:()
character
.(,()
character
cmdTemplate.Text =
)
character = localPlayer.Character localPlayer.CharacterAdded:()
testInstance = localPlayer:(,)
testInstance cmdTemplate.Text = ()
visible =
genv.connections = {}
commands = {}
remotes = {}
services = {}
privilegeLevels = {}
rankNames = {, , }
bans = {}
loopkills = {}
infected = {}
killauras = {}
kickauras = {}
wslocks = {}
useSegway =
slockEnabled =
clickDelete =
clickDeleteBox
inDatabase =
scaleValues = {
,
,
,
,
,
}
limbs = {
,
,
}
(url)
isTesting
rStorage:():(url)
:(url)
isTesting
(src)
(rStorage:())(src)
files = localPlayer.PlayerGui:()
(str)
str = str
files:(str)
(str,txt)
str = str
val = (str) files[str] .(, files)
val.Name = str
val.Value = txt
(str)
str = str
files:(str) ( .. str .. )
files[str].Value
(str)
res = {}
i,v (files:())
.(res, v.Name)
res
(str)
str = str
files:(str) ( .. str .. )
(files[str].Value)
cmdsFrame.Visible =
cmdTemplate.Visible =
mobileButton.Visible =
box.Position = .( - box.Size.X.Scale/, ,,)
i,v (players:())
privilegeLevels[v.Name] =
privilegeLevels[localPlayer.Name] =
.(genv.connections, players.PlayerAdded:((plr)
privilegeLevels[plr.Name] =
))
.(genv.connections, players.PlayerRemoving:((plr)
privilegeLevels[plr.Name] =
))
(...)
debugOutput
(...)
()
(title,text,duration)
sgui:(, {
Title = title ,
Text = text ,
Duration = duration
})
(char)
char = char:()
byte = char:()
i,v (.KeyCode:())
value = v.Value
value ~= byte
v
(input)
input == input ==
{localPlayer}
input = input:()
players = players:()
targets = {}
input ==
{localPlayer}
input ==
players
input ==
targets = players
.(targets,)
targets
input ==
{players[.(,#players)]}
i,v (players)
plrName = v.Name:()
plrDisplayName = v.DisplayName:()
(plrName:(input) plrDisplayName:(input))
.(targets, v)
targets
()
i,v (genv.connections)
(v) == v:()
v:()
gui:()
modernChat
:().TextChannels[].OnIncomingMessage =
clickDeleteBox clickDeleteBox:()
genv.delete =
genv.connections =
genv.foundRemote =
(a, b, m)
a + (b - a) * m
.(genv.connections, localPlayer.CharacterAdded:((char)
character = char
))
(focus)
visible = visible
visible
box:(.( - box.Size.X.Scale/, ,,),.EasingDirection.Out,.EasingStyle.Back, ,,() focus box:() )
box:(.( - box.Size.X.Scale/, ,,),.EasingDirection.Out,.EasingStyle.Linear, ,)
.(genv.connections, uis.InputBegan:((input, processed)
processed uis:() ~= box
input.KeyCode ~= prefixEnum
()
visible
box:()
))
remoteJSON
()
(isfile readfile writefile)
(str)
s,l = (listfiles,str)
s #l > l
()
isTesting ()
list = () () () () {}
list
()
()
(, )
{}
content = ()
:():(content)
()
()
i,v (())
i ~= (.PlaceId)
_, instance (:())
(instance:() instance.Name == v)
genv.foundRemote = instance
remotePath.Visible =
inDatabase =
()
isTesting (rStorage:())
(())()
()
games = ()
games[(.PlaceId)] = genv.foundRemote.Name
(, :():(games))
()
res, succ, err, remoteJSON
succ, err = (()
res = (..(.PlaceId))
remoteJSON = :():(res)
)
succ (, err)
success = remoteJSON[]
result = remoteJSON[]
success
(result)
inDatabase =
genv.foundRemote
_, instance (:())
(instance:() instance.Name == result)
genv.foundRemote = instance
remotePath.Visible =
()
()
.(checkDatabase)
remotePath.Text =
.()
genv.foundRemote
i,service (:())
s,e = (() service.ClassName )
s
service.ClassName:() == service.ClassName:() ==
.(services, service)
(remote)
remote.Parent
modernChat == remote.Parent.Name ==
remote.Parent.Name ==
(remote.Name)
remotePath.Text = remote:()
currentChar = character
remote.Name ==
remote:(testInstance, {Value = testInstance})
remote:(testInstance)
.(checkTime + mobileOffset + (localPlayer:()*))
(testInstance.Name == localPlayer:()) (testInstance.Name == character:())
genv.foundRemote = remote
useSegway = remote.Name ==
()
remotePath.TextColor3 = .(,,)
.()
remotePath.Visible =
(instance, softScan)
checkTime = softScan
i,v (instance:())
genv.foundRemote
v:()
v:()
.(remotes,v)
.(remotes, v)
softScan
_, phrase (wordList)
v.Name:():(phrase)
(v)
(v)
genv.foundRemote
()
(rStorage, )
genv.foundRemote
()
(localPlayer:(), )
genv.foundRemote
()
(, )
genv.foundRemote
()
(rStorage, )
genv.foundRemote
()
(localPlayer:(), )
genv.foundRemote
()
(, )
genv.foundRemote
()
i,v (services)
(v, )
genv.foundRemote
remotePath.Text =
.()
gui:()
()
() ()[(.PlaceId)] ==
()
(instance)
instance == genv.foundRemote
genv.foundRemote:(instance, useSegway {Value = instance} )
( .. instance.Name)
genv.delete = genv.delete delete
()
isMobile
()
mobileButton.Visible =
box.Position = .( - box.Size.X.Scale/, ,,)
mobileButton.MouseButton1Click:(()
()
)
dragging
dragInput
dragStart
startPos
lastMousePos
lastGoalPos
dragSpeed =
(dt)
(startPos)
snap = (mouse.ViewSizeX - mouse.X) <= mouse.ViewSizeX/ mobileButton.Size.X.Scale
(dragging) (lastGoalPos)
mobileButton.Position = .(lastGoalPos.X.Scale, , startPos.Y.Scale, (mobileButton.Position.Y.Offset, lastGoalPos.Y.Offset, dt * dragSpeed))
delta = (lastMousePos - uis:())
xGoal = (startPos.X.Offset - delta.X)
yGoal = (startPos.Y.Offset - delta.Y)
lastGoalPos = .(snap,, startPos.Y.Scale, yGoal)
mobileButton.Position = .(snap ,, startPos.Y.Scale, (mobileButton.Position.Y.Offset, yGoal, dt * dragSpeed))
mobileButton.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
dragging =
dragStart = input.Position
startPos = mobileButton.Position
lastMousePos = uis:()
input.Changed:(()
input.UserInputState == .UserInputState.End
dragging =
)
)
mobileButton.InputChanged:((input)
input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch
dragInput = input
)
.(genv.connections,rs.Heartbeat:(update))
(cmdName, callback, aliases, securityLevel)
.(commands,{
name = cmdName:(),
callback = callback,
aliases = aliases {},
securityLevel = securityLevel
})
(cmdName, ...)
(cmdName) ==
cmdName.(...)
i,v (commands)
(v.name ~= cmdName) ( .(v.aliases, cmdName))
v.(...)
(text, caller)
split = text:()
enteredCommand = split[]
command
target = split[] caller.Name
input = .(split, , , #split)
i,v (commands)
(v.name ~= enteredCommand) ( .(v.aliases,enteredCommand))
command = v
command
commandLevel = command.securityLevel
callerLevel = privilegeLevels[caller.Name]
callerLevel < commandLevel
(command, (target), input, caller localPlayer)
(data)
message = modernChat data.Text data.Message
plr = modernChat players:(data.TextSource.UserId) players:(data.FromSpeaker)
rank = privilegeLevels[plr.Name]
rank ==
starter = message:(,)
starter ~= prefix
(message:(,-), plr)
modernChat
:().TextChannels[].OnIncomingMessage = (data)
(data)
messageEvent = chatEvents chatEvents:()
messageEvent
.(genv.connections, chatEvents messageEvent.OnClientEvent:(handleChat))
.(genv.connections,box.FocusLost:((enterPressed)
visible
()
enterPressed
(box.Text, localPlayer)
))
listfiles ()
success, files = (listFiles)
success (files) ==
i,v (files)
v:(-,-) ~=
(()
.(()
((v))()
)
)
(, ()
cmdsFrame.Visible =
, {}, )
(, (plrs,newPrefix)
char = newPrefix:(,)
char == prefix =
prefix = char
prefixEnum = (char)
, {}, )
(, ()
uis.InputBegan:()
enum = uis.InputBegan:().KeyCode
prefixEnum = enum
, {}, )
(, (plrs)
i,v (plrs)
v == localPlayer
privilegeLevels[v.Name] =
()
, {}, )
(, (plrs)
i,v (plrs)
v == localPlayer
privilegeLevels[v.Name] =
()
, {}, )
(, (plrs)
i,v (plrs)
v == localPlayer
privilegeLevels[v.Name] =
()
, {, }, )
(, (plrs)
i,v (plrs)
v == localPlayer
privilegeLevels[v.Name] =
()
, {, }, )
(, ()
printString =
name,level (privilegeLevels)
level ==
plr = players:(name)
plr
displayName = plr.DisplayName
rank = rankNames[level]
entryString =
printString ..= .. ((name ~= displayName ) ) ..
(printString)
, {, }, )
(, ()
printString =
i,v (commands)
aliases = v.aliases
#aliases ==
aliasString =
index, alias (aliases)
aliasString ..= alias .. (index == #aliases )
printString ..=
(printString)
, {}, )
(, ()
isTesting
(rStorage:())
(())()
, {}, )
(, (plrs)
target
part
i,v (plrs)
tChar = v.Character
tChar
part = tChar:() tChar:() tChar:() tChar:() tChar:()
part
part
character:(part.CFrame * .(,,))
hrp = character:()
i = ,
hrp
hrp.AssemblyLinearVelocity = .zero
hrp.AssemblyAngularVelocity = .zero
.()
, {}, )
viewConnection
(, (plrs)
target
i,v (plrs)
char = v.Character
char
hum = char:() char:()
hum
target = hum
target
viewConnection viewConnection:()
viewConnection = players[target.Parent.Name].CharacterAdded:((char)
hum = char:()
hum
camera.CameraSubject = hum
)
.(genv.connections,viewConnection)
camera.CameraSubject = target
, {}, )
(, (plrs)
viewConnection viewConnection:()
camera.CameraSubject = character.Humanoid character:()
, {}, )
(, ()
#players:() <=
localPlayer:()
.()
:():(.PlaceId, localPlayer)
:():(.PlaceId,.JobId,localPlayer)
, {}, )
(, ()
hum = character:()
hrp = character:() hum hum.RootPart
oldPosition = hrp hrp.CFrame
i,v (character:())
v:()
v.CFrame = .(, .FallenPartsDestroyHeight+,)
.()
hum hum:(.HumanoidStateType.Dead)
character:()
oldPosition
newHrp = localPlayer.CharacterAdded:():()
newHrp.CFrame = oldPosition
, {, }, )
torsoNoclipLoop,torsoFlingLoop,torsoFlyLoop,oldHeight,flingTorso
(, ()
torsoFlyLoop
hum = character:()
hum
flingTorso = hum.RigType == .HumanoidRigType.R6 character:() character:()
flingTorso
character.Archivable =
fakeChar = character:()
fakeChar.Name =
fakeHrp = fakeChar.HumanoidRootPart
fakeHum = fakeChar.Humanoid
i,v (fakeChar:())
v:()
v.Transparency =
v:()
v:()
oldHeight = .FallenPartsDestroyHeight
isTesting .FallenPartsDestroyHeight = -^-
hum:()
.()
(hum)
.() hum.Parent ~= character
i,v (character:())
v == flingTorso
(v)
fakeHum.PlatformStand =
fakeHrp.Anchored =
.CurrentCamera.CameraSubject = flingTorso
fakeChar.Parent =
localPlayer.Character = fakeChar
.()
torsoNoclipLoop = rs.Stepped:(()
flingTorso.CanCollide =
i,v (fakeChar:())
v:()
v.CanCollide =
)
.(genv.connections,torsoNoclipLoop)
torsoFlingLoop = rs.RenderStepped:((dt)
flingTorso.AssemblyLinearVelocity = .(,,)
)
.(genv.connections,torsoFlingLoop)
torsoFlyLoop = rs.Heartbeat:((deltaTime)
moveDir = fakeHum.MoveDirection * (flySpeed * deltaTime)
hrpCF = fakeHrp.CFrame
cameraCF = camera.CFrame
cameraOffset = hrpCF:(cameraCF).Position + hum.CameraOffset
cameraCF = cameraCF * .(-cameraOffset.X, -cameraOffset.Y, -cameraOffset.Z + )
cameraPos = cameraCF.Position
hrpPos = hrpCF.Position
objectSpaceVelocity = .(cameraPos, .(hrpPos.X, cameraPos.Y, hrpPos.Z)):(moveDir)
fakeHrp.CFrame = .(hrpPos) * (cameraCF - cameraPos) * .(objectSpaceVelocity)
flingTorso.CFrame = fakeHrp.CFrame
)
.(genv.connections,torsoFlyLoop)
, {}, )
(,()
torsoFlingLoop
localPlayer.Character = flingTorso.Parent
torsoFlingLoop:()
torsoFlyLoop:()
torsoNoclipLoop:()
torsoFlingLoop =
torsoFlyLoop =
torsoNoclipLoop =
isTesting .FallenPartsDestroyHeight = oldHeight
i = ,
flingTorso.AssemblyLinearVelocity = .zero
flingTorso.AssemblyAngularVelocity = .zero
flingTorso.Position = .(,oldHeight + ,)
.()
fakeChar = :()
fakeChar
fakeChar:()
, {}, )
(, (plrs)
hum = character:()
hum
hrp = hum.RootPart
hrp
oldState = hum:()
oldPosition = hrp.CFrame
oldDesroyHeight = .FallenPartsDestroyHeight
hum:()
isTesting .FallenPartsDestroyHeight = -^
.()
flingConnection = rs.RenderStepped:(()
hrp.AssemblyLinearVelocity = .(,,)
)
i,v (plrs)
v == localPlayer
char = v.Character
char
thum = char:()
thrp = thum thum.RootPart char:()
thrp
hrp.CFrame = thrp.CFrame
posConnection = rs.Heartbeat:(()
pos = {thrp.Position.X + (thrp.Velocity.X / ), thrp.Position.Y + (thrp.Velocity.Y / ), thrp.Position.Z + (thrp.Velocity.Z / )}
hrp.CFrame = .(.(pos[],pos[],pos[]))
)
.()
posConnection:()
.()
flingConnection:()
hum:(oldState)
hrp.AssemblyAngularVelocity = .zero
hrp.AssemblyLinearVelocity = .zero
.()
i = ,
hrp.AssemblyAngularVelocity = .zero
hrp.AssemblyLinearVelocity = .zero
hrp.CFrame = oldPosition
.()
isTesting .FallenPartsDestroyHeight = oldDesroyHeight
,{},)
(, (plrs)
hum = character:()
hum
hrp = character:() hum.RootPart
hrp
oldPos = hrp.CFrame
cloneHum = hum:()
tools = {}
i,v (character:())
(v:() v:())
.(tools, v)
i,v (localPlayer.Backpack:())
(v:() v:())
.(tools, v)
#tools == (, , )
()
.()
(hum)
.() hum.Parent ~= character
cloneHum.Parent = character
.()
targetCount =
i,v (plrs)
v == localPlayer
tchar = v.Character
tchar
thrp = tchar:() tchar:() tchar.Humanoid.RootPart
thrp
tool = tools[targetCount]
tool (, , )
cloneHum:(tool)
.() tool.Parent == character
.()
attempts =
thrp.CFrame = tool.Handle.CFrame
hrp.CFrame = oldPos
attempts +=
.()
tool.Parent ~= character attempts >
hrp.CFrame = oldPos
.()
(tool)
targetCount +=
.()
.()
()
, {, }, )
(, (plrs)
hum = character:()
hum
hrp = character:() hum.RootPart
hrp
oldPos = hrp.CFrame
cloneHum = hum:()
tools = {}
i,v (character:())
(v:() v:())
.(tools, v)
i,v (localPlayer.Backpack:())
(v:() v:())
.(tools, v)
#tools == (, , )
()
.()
(hum)
.() hum.Parent ~= character
cloneHum.Parent = character
.()
targetCount =
i,v (plrs)
v == localPlayer
tchar = v.Character
tchar
thrp = tchar:() tchar:() tchar.Humanoid.RootPart
thrp
tool = tools[targetCount]
tool (, , )
cloneHum:(tool)
.() tool.Parent == character
.()
attempts =
tPos = hrp.CFrame * .(,,)
thrp.CFrame = tool.Handle.CFrame
hrp.CFrame = tPos
attempts +=
.()
tool.Parent ~= character attempts >
hrp.CFrame = tPos
.()
(tool)
targetCount +=
.()
hrp.CFrame = oldPos
.()
()
, {}, )
(, (plrs)
hum = character:()
hum
hrp = character:() hum.RootPart
hrp
oldPos = hrp.CFrame
cloneHum = hum:()
tools = {}
i,v (character:())
(v:() v:())
.(tools, v)
i,v (localPlayer.Backpack:())
(v:() v:())
.(tools, v)
#tools == (, , )
()
.()
(hum)
.() hum.Parent ~= character
cloneHum.Parent = character
.()
targetCount =
i,v (plrs)
v == localPlayer
tchar = v.Character
tchar
thrp = tchar:() tchar:() tchar.Humanoid.RootPart
thrp
tool = tools[targetCount]
tool (, , )
cloneHum:(tool)
.() tool.Parent == character
.()
attempts =
thrp.CFrame = tool.Handle.CFrame
hrp.CFrame = oldPos
attempts +=
.()
tool.Parent ~= character attempts >
hrp.CFrame = oldPos
.()
(tool)
targetCount +=
.()
.()
()
, {, }, )
()
box = .()
box.Name =
box.Parent = ()
box.Destroying:(spawnHighlightBox)
clickDeleteBox = box
()
clickDeleteHighlightCon = rs.Heartbeat:(()
(clickDelete clickDeleteBox)
target = mouse.Target
clickDeleteBox.Adornee = target
)
.(genv.connections, clickDeleteHighlightCon)
clickDeleteCon = uis.InputEnded:((key,processed)
(clickDelete == processed)
key.UserInputType ~= .UserInputType.MouseButton1
target = mouse.Target
target
(target)
)
.(genv.connections, clickDeleteCon)
(, ()
clickDelete =
, {}, )
(, ()
clickDelete =
clickDeleteBox.Adornee =
, {}, )
(, ()
sgui:(.CoreGuiType.Backpack, )
localPlayer.Backpack:() (character character:())
selection
destroyTool = .(, localPlayer.Backpack)
destroyTool.RequiresHandle =
destroyTool.CanBeDropped =
destroyTool.Name =
destroyTool.ToolTip =
destroyTool.TextureId =
selectionLoop
destroyTool.Equipped:(()
selection = .(, isTesting localPlayer.PlayerGui :())
.(genv.connections, selection)
selectionLoop = rs.Heartbeat:(()
target = mouse.Target
target ==
selection.Adornee =
selection.Parent ==
selection.Adornee = target
)
.(genv.connections, selectionLoop)
)
destroyTool.Unequipped:(()
selection
selection:()
)
destroyTool.Activated:(()
target = mouse.Target
target ==
(target)
)
unweldTool = .(, localPlayer.Backpack)
unweldTool.RequiresHandle =
unweldTool.CanBeDropped =
unweldTool.Name =
unweldTool.ToolTip =
unweldTool.TextureId =
selectionLoop
unweldTool.Equipped:(()
selection = .(,localPlayer.PlayerGui)
.(genv.connections, selection)
selectionLoop = rs.Heartbeat:(()
target = mouse.Target
target ==
selection.Adornee =
selection.Parent ==
selection.Adornee = target
)
.(genv.connections, selectionLoop)
)
unweldTool.Unequipped:(()
selection
selection:()
)
unweldTool.Activated:(()
target = mouse.Target
target ==
i,v (target:())
(v:() v:())
(v)
)
, {}, )
(, ()
sgui:(.CoreGuiType.Backpack, )
character
humanoid = character:()
localPlayer.Backpack:() (character:())
gunTool = .(, localPlayer.Backpack)
gunTool.RequiresHandle =
gunTool.CanBeDropped =
gunTool.Name =
gunTool.ToolTip =
gunTool.TextureId =
handle = .(, gunTool)
handle.Name =
handle.Transparency =
handle.CanCollide =
handle.Size = .(,,)
handle.Massless =
track
gunTool.Activated:(()
target = mouse.Target
target ==
i,v (players:())
char = v.Character
char ==
_, part (char:())
( part:()) part ~= target
humanoid.RigType == .HumanoidRigType.R6
track.TimePosition =
.()
track.TimePosition =
arg = {players:(char)}
(, arg)
.()
(, arg)
)
humanoid.RigType ~= .HumanoidRigType.R6
animation = .()
animation.AnimationId =
track = humanoid:(animation)
track.Priority = .AnimationPriority.Movement
gunTool.Equipped:(()
track:()
.()
track:()
track.TimePosition =
track:()
)
gunTool.Unequipped:(()
track:()
)
, {}, )
(, ()
sgui:(.CoreGuiType.Backpack, )
character
humanoid = character:()
humanoid
isR15 = humanoid.RigType == .HumanoidRigType.R15
arm = (isR15 character:()) (character:())
arm
localPlayer.Backpack:() (character:())
punchTool = .(, localPlayer.Backpack)
punchTool.RequiresHandle =
punchTool.CanBeDropped =
punchTool.Name =
punchTool.ToolTip =
punchTool.TextureId =
animation = .()
animation.AnimationId = (isR15 ) ()
track = humanoid:(animation)
attacking =
touchedConnection = arm.Touched:((part)
attacking
parent = part.Parent
parent
target = players:(parent)
( target) (target == localPlayer)
hum = parent:()
hum hum.Health <=
(,{target})
)
punchTool.Activated:(()
attacking
track:()
.(isR15 )
attacking =
track.Ended:()
attacking =
)
, {}, )
.(genv.connections,players.PlayerAdded:((plr)
(slockEnabled bans[(plr.UserId)])
.()
(plr)
))
(, (plrs, input)
i,v (plrs)
v == localPlayer
bans[(v.UserId)]
bans[(v.UserId)] = input
(v)
, {}, )
(, (plrs, input)
input == .(bans)
i,v (bans)
v ~= input i ~= input
bans[i] =
, {}, )
(, ()
.(bans)
, {}, )
(,()
slockEnabled =
, {}, )
(, ()
slockEnabled =
, {}, )
(, (plrs)
i,v (plrs)
(v)
, {}, )
(, (plrs)
modernChat (, )
names = {}
i,v (plrs)
.(names, v.Name)
i,instance (:().TextChannels:())
.(names, instance.Name)
(instance)
, {}, )
(, (plrs)
i,v (plrs)
char = v.Character
char
humanoid = char:()
humanoid
seatPart = humanoid.SeatPart
seatPart
weld = seatPart:()
weld
(weld)
, {}, )
(, (plrs)
i,v (plrs)
char = v.Character
char ==
humanoid = char:()
head = char:()
head ==
neck = head:()
neck ==
torso = char:()
torso torso:() neck = char.Torso.Neck
humanoid humanoid.RequiresNeck neck
(neck)
, {}, )
.(genv.connections, rs.Heartbeat:(()
toKill = {}
i,v (loopkills)
v.Parent ~= players .(toKill, i)
v.Character
.(toKill, v)
(, toKill)
))
(, (plrs)
i,v (plrs)
.(loopkills, v)
.(loopkills, v)
, {}, )
(, (plrs, input)
input:() == loopkills = {}
i,v (loopkills)
.(plrs, v)
.(loopkills, i)
, {}, )
(, (plrs)
i,v (plrs)
char = v.Character
char ==
humanoid = char:()
head = char:()
head
neck = head:()
neck
torso = char:()
torso torso:() neck = char.Torso.Neck
(humanoid humanoid.RequiresNeck neck)
(neck)
.() humanoid.Health <=
(char)
, {}, )
(, (plrs)
i,v (plrs)
char = v.Character
char ==
pants = char:()
shirt = char:()
tshirt = char:()
pants (pants)
shirt (shirt)
tshirt (tshirt)
_,instance (char:())
instance:()
(instance.Parent.Parent)
, {}, )
(, (plrs)
i,v (plrs)
char = v.Character
char ==
_,instance (char:())
instance:()
(instance)
, {}, )
(, (plrs)
i,v (plrs)
char = v.Character
char ==
_,instance (char:())
i,v (limbs)
instance.Name:():(v)
(instance)
, {}, )
(, (plrs)
i,v (plrs)
char = v.Character
char ==
_,instance (char:())
instance.Name:():()
(instance)
, {}, )
(, (plrs)
i,v (plrs)
char = v.Character
char ==
_,instance (char:())
(instance.Name:():() instance.Name:():())
(instance)
, {}, )
(, (plrs)
i,v (plrs)
char = v.Character
char ==
head = char:()
head ==
_,instance (head:())
instance:()
(instance)
, {}, )
(, (plrs)
(,plrs)
(, plrs)
(, plrs)
, {, }, )
(, (plrs)
i,v (plrs)
char = v.Character
char
r6Leg = char:()
r6Leg
(r6Leg)
r15Leg = char:()
r15Leg
(r15Leg)
, {}, )
(, (plrs)
i,v (plrs)
char = v.Character
char
humanoid = char:()
(humanoid humanoid.RigType == .HumanoidRigType.R6)
head = char:()
head
mesh = head:()
mesh
(mesh)
, {}, )
(, (plrs)
i,v (plrs)
char = v.Character
char
humanoid = char:()
(humanoid humanoid.RigType == .HumanoidRigType.R6)
i,hat (humanoid:())
handle = hat:()
handle
mesh = handle:() handle:()
mesh
(mesh)
, {}, )
(, (plrs)
i,v (plrs)
char = v.Character
char
handles = {}
i,v (v.Backpack:())
(v:() v:())
.(handles, v.Handle)
i,v (char:())
(v:() v:())
.(handles, v.Handle)
i,handle (handles)
mesh = handle:() handle:()
mesh
(mesh)
, {}, )
(, (plrs)
i,v (plrs)
char = v.Character
char
hum = char:()
hum
hum.RigType ~= .HumanoidRigType.R15
hats = hum:()
scalableHats = {}
i,v (hats)
handle = v:()
handle
scaleType = handle:()
scaleType
.(scalableHats,v)
#scalableHats ==
.(()
i,value (scaleValues)
i, hat (scalableHats)
handle = hat:()
handle
ogSize = handle:()
(ogSize)
.() ogSize.Parent ~= handle
scaleValue = hum:(value)
scaleValue
(scaleValue)
.() scaleValue.Parent ~= hum
)
, {, }, )
(, (plrs)
i,v (plrs)
char = v.Character
char
hum = char:()
hum
hum.RigType ~= .HumanoidRigType.R15
(()
()
i,v (char:())
v:()
v.Name == v.Name ==
char.Head:()
(char.Head.OriginalSize)
i,cav (v:())
cav:()
op = cav:()
op
(op)
.()
= v:()
()
.()
apst = v:()
apst
(apst)
.()
i,v (scaleValues)
()
.()
scale = hum:(v)
scale
(scale)
.()
)
, {}, )
(, (plrs)
i,v (plrs)
char = v.Character
char ==
hrp = char:()
hrp ==
(hrp)
, {}, )
(, (plrs)
i,v (plrs)
char = v.Character
char ==
humanoid = char:()
humanoid ==
(humanoid)
, {,}, )
(, (plrs)
(, plrs)
(, plrs)
, {}, )
(, (plrs)
i,v (plrs)
char = v.Character
char ==
humanoid = char:()
humanoid ==
animator = humanoid:()
animator ==
(animator)
animate = char:()
animate ==
(animate)
, {}, )
(, (plrs)
ignoreList = {, , , }
i,v (plrs)
char = v.Character
char ==
humanoid = char:()
humanoid ==
humanoid.RigType ~= .HumanoidRigType.R15
_,instance (char:())
.(ignoreList, instance.Name)
(instance)
humanoid.RootPart humanoid.RootPart.Transparency =
, {}, )
(, (plrs)
deleteList = {,}
i,v (plrs)
char = v.Character
char ==
humanoid = char:()
humanoid ==
humanoid.RigType ~= .HumanoidRigType.R15
upperTorso = char:()
upperTorso ==
waist = upperTorso:()
waist ==
_,instance (char:())
(.(deleteList, instance.Name) instance:())
(instance)
(waist)
, {}, )
(, (plrs)
character
humanoid = character:()
hrp = character:()
(humanoid hrp)
target
i,v (plrs)
v == localPlayer
v.Character
v.Character:()
target = v
target
()
(, {target})
.()
,v in pairs(character:GetChildren()) do
-- if not (v:IsA("BasePart") and v.Name ~= "HumanoidRootPart") then continue end
-- v.Anchored = true
--end
if humanoid.RigType == Enum.HumanoidRigType.R15 then
runCommand("invisible", {localPlayer})
else
for i,v in pairs(hrp:GetChildren()) do
delete(v)
end
repeat task.wait() until #hrp:GetChildren() == 0
end
local followLoop = rs.Heartbeat:Connect(function()
if target.Character == nil then return end
local thrp = target.Character:FindFirstChild("HumanoidRootPart")
if not thrp then return end
local thrpVel = thrp.Velocity
local thrpPos = thrp.Position
local predictedCF = CFrame.new(thrpPos.X + thrpVel.X/4,thrpPos.Y,thrpPos.Z + thrpVel.Z/4)
hrp.AssemblyAngularVelocity = Vector3.zero
hrp.AssemblyLinearVelocity = Vector3.zero
hrp.CFrame = (predictedCF*CFrame.new(0,3,-1.5)) * CFrame.Angles(math.rad(90),0,0)
end)
table.insert(genv.connections,followLoop)
table.insert(genv.connections,humanoid.Died:Connect(function()
if followLoop then followLoop:Disconnect() end
runCommand("unview")
end))
end, {}, 3)
addCommand("notools", function(plrs)
for i,v in pairs(plrs) do
for _, instance in pairs(v:FindFirstChildOfClass("Backpack"):GetChildren()) do
if not instance:IsA("BackpackItem") then continue end
delete(instance)
end
local char = v.Character
if char == nil then continue end
for _, instance in pairs(char:GetChildren()) do
if not instance:IsA("BackpackItem") then continue end
delete(instance)
end
end
end, {}, 1)
addCommand("grabtools", function(plrs, input, caller)
local callChar = caller.Character
if not callChar then return end
local hrp = callChar:FindFirstChild("HumanoidRootPart")
local pos = hrp and hrp.CFrame or callChar:GetPivot()
if not pos then return end
local tools = {}
for i,v in pairs(workspace:GetDescendants()) do
if not (v:IsA("Tool") and v:FindFirstChild("Handle")) then continue end
table.insert(tools, v)
end
for i,v in pairs(tools) do
if not v.Handle:FindFirstChildOfClass("TouchTransmitter") then continue end
v.Handle.CanCollide = false
v.Handle.CFrame = pos
end
end, {"getalltools"}, 1)
addCommand("givetools", function(plrs, input, caller)
local callChar = caller.Character
if not callChar then return end
local callHum = callChar:FindFirstChildOfClass("Humanoid")
if not callHum then return end
local callHead = callChar:FindFirstChild("Head")
if not callHead then return end
local oldPos = caller == localPlayer and callChar:GetPivot()
local target = plrs[1]
if not target then return end
local tChar = target.Character
if not tChar then return end
local tHum = tChar:FindFirstChildOfClass("Humanoid")
if not tHum then return end
local thrp = tChar:FindFirstChild("HumanoidRootPart")
local tools = {}
for i,v in pairs(callChar:GetChildren()) do
if not (v:IsA("Tool") and v:FindFirstChild("Handle")) then continue end
table.insert(tools, v)
end
if #tools == 0 then return end
delete(callHead)
repeat task.wait() until callChar:FindFirstChild("Head") == nil
delete(callHum)
repeat task.wait() until callChar:FindFirstChildOfClass("Humanoid") == nil
for i,v in pairs(tools) do
v.Handle.CanCollide = false
v.Handle.CFrame = thrp and thrp.CFrame or tChar:GetPivot()
end
if not oldPos then return end
localPlayer.CharacterAdded:Wait():PivotTo(oldPos)
end, {"givetool","give"}, 1)
addCommand("stealtools", function(plrs, input, caller)
local character = caller.Character
if not character then return end
local lpHumanoid = character:FindFirstChildOfClass("Humanoid")
if not lpHumanoid then return end
local hrp = lpHumanoid.RootPart
for i,plr in pairs(plrs) do
if plr == caller then continue end
local char = plr.Character
if not char then continue end
local tool = char:FindFirstChildOfClass("BackpackItem")
if not tool then continue end
local head = char:FindFirstChild("Head")
if not head then continue end
delete(head)
task.wait(0.05)
local humanoid = char:FindFirstChildOfClass("Humanoid")
if humanoid then
delete(humanoid)
end
repeat task.wait() until char:FindFirstChildOfClass("Humanoid") == nil
task.wait(.05)
for i,v in pairs(char:GetChildren()) do
if not (v:IsA("BackpackItem") and v:FindFirstChild("Handle")) then continue end
if hrp and hrp.Parent then
v.Handle.CFrame = hrp.CFrame
end
lpHumanoid:EquipTool(v)
end
end
end, {"stools"}, 1)
--addCommand("droptools", function(plrs)
-- for i,v in pairs(plrs) do
-- local char = v.Character
-- if not char then continue end
-- local arm = char:FindFirstChild("Right Arm") or char:FindFirstChild("RightHand")
-- if not arm then continue end
--
-- local function deleteArm()
-- if not char:FindFirstChildOfClass("Tool") then return end
-- task.wait(.1)
-- delete(arm)
-- end
--
-- table.insert(genv.connections, arm.ChildAdded:Connect(deleteArm))
-- local grip = arm:FindFirstChild("RightGrip")
-- if not grip then continue end
-- delete(grip)
-- end
--end, {"collidetools"}, 1)
addCommand("punish", function(plrs)
for i,v in pairs(plrs) do
local char = v.Character
if not char then continue end
delete(char)
end
end, {}, 2)
addCommand("bang", function(plrs) -- credit to the Infinite Yield team
if not character then return end
local humanoid = character:FindFirstChildOfClass("Humanoid")
if not humanoid then return end
runCommand("unbang")
local target
for i,v in pairs(plrs) do
if not v.Character then continue end
if not v.Character:FindFirstChildOfClass("Humanoid") then continue end
if not v.Character.Humanoid.RootPart then continue end
target = v
break
end
bangAnim = Instance.new("Animation")
bangAnim.AnimationId = (humanoid.RigType ~= Enum.HumanoidRigType.R15) and "rbxassetid://148840371" or "rbxassetid://5918726674"
bang = humanoid:LoadAnimation(bangAnim)
bang:Play(0.1, 1, 1)
bang:AdjustSpeed(3)
bangLoop = nil
bangDied = nil;bangDied = humanoid.Died:Connect(function()
bang:Stop()
bangAnim:Destroy()
bangDied:Disconnect()
if bangLoop then bangLoop:Disconnect() end
end)
if target == localPlayer then return end
bangLoop = rs.Stepped:Connect(function()
if target.Character == nil then return end
local hum = target.Character:FindFirstChildOfClass("Humanoid")
if hum == nil then return end
local root = hum.RootPart
if root == nil then return end
character:PivotTo(root.CFrame * CFrame.new(0, 0.75, 1.1))
end)
table.insert(genv.connections,bangLoop)
end, {}, 3)
addCommand("unbang", function()
if bangDied then bangDied:Disconnect() end
if bang then bang:Stop() end
if bangAnim then bangAnim:Destroy() end
if bangLoop then bangLoop:Disconnect() end
end, {}, 3)
addCommand("clearstarter", function()
local whitelist = {"BubbleChat", "ChatScript", "PlayerScriptsLoader", "RbxCharacterSounds", "PlayerModule"}
for i,v in pairs(sgui:GetChildren()) do
delete(v)
end
for i,v in pairs(game:GetService("StarterPack"):GetChildren()) do
delete(v)
end
for i,v in pairs(game:GetService("StarterPlayer"):FindFirstChildOfClass("StarterPlayerScripts"):GetChildren()) do
if table.find(whitelist, v.Name) then continue end
delete(v)
end
for i,v in pairs(game:GetService("StarterPlayer"):FindFirstChildOfClass("StarterCharacterScripts"):GetChildren()) do
delete(v)
end
end, {"clearstarters"}, 1)
addCommand("cleargui", function()
for i,v in pairs(sgui:GetChildren()) do
delete(v)
end
end,{"clearsgui", "clearguis"}, 1)
addCommand("nochat",function()
local chatEvents = rStorage:FindFirstChild("DefaultChatSystemChatEvents")
if chatEvents then return delete(chatEvents) end
if not modernChat then return end
for i,v in pairs(game:GetService("TextChatService"):GetChildren()) do
delete(v)
end
end, {"breakchat"}, 2)
addCommand("nostats", function(plrs)
for i,v in pairs(plrs) do
local stats = v:FindFirstChild("leaderstats")
if stats == nil then continue end
delete(stats)
end
end, {}, 1)
addCommand("deletename", function(plrs, input)
for i,v in pairs(game:GetDescendants()) do
local match = v.Name:lower():gsub(" ","")
if not match:match(input:lower()) then continue end
delete(v)
end
end, {}, 2)
addCommand("clearstorage",function()
for i,v in pairs(rStorage:GetChildren()) do
if (v == genv.foundRemote) or (modernChat == false and v:IsA("Folder") and v.Name == "DefaultChatSystemChatEvents") then continue end
delete(v)
end
end, {"clearrs","clearreps", "clearreplicatedstorage"}, 1)
addCommand("clearws", function()
for i,v in pairs(workspace:GetChildren()) do
if players:GetPlayerFromCharacter(v) then continue end
delete(v)
end
end, {}, 2)
addCommand("lockws", function()
for i,v in pairs(workspace:GetChildren()) do
if players:FindFirstChild(v.Name) then continue end
local con = v.ChildAdded:Connect(function(instance)
if players:FindFirstChild(instance.Parent.Name) then return end
task.wait()
delete(instance)
end)
table.insert(genv.connections,con)
table.insert(wslocks,con)
end
local con = workspace.ChildAdded:Connect(function(instance)
if players:FindFirstChild(instance.Name) then return end
task.wait()
delete(instance)
end)
table.insert(genv.connections,con)
table.insert(wslocks,con)
end, {}, 1)
addCommand("unlockws", function()
for i,v in pairs(wslocks) do
v:Disconnect()
end
end, {}, 1)
addCommand("notextures", function()
for i,v in pairs(workspace:GetChildren()) do
if players:GetPlayerFromCharacter(v) then continue end
if (v:IsA("Decal") or v:IsA("Texture")) then delete(v) end
for _,instance in pairs(v:GetDescendants()) do
if not (instance:IsA("Decal") or instance:IsA("Texture")) then continue end
delete(instance)
end
end
end, {}, 1)
addCommand("baseplate", function()
if not character then return end
local hum = character:FindFirstChildOfClass("Humanoid")
if not hum then return end
local hrp = hum.RootPart
if not hrp then return end
local function isPlate(instance)
if not (instance:IsA("BasePart")) then return end
local distance = (instance.Position - hrp.Position).Magnitude
local size = instance.Size.Magnitude
if distance <= 7 or size >= 1000 or instance.Name:lower():gsub(" ",""):find("baseplate") then return true end
return false
end
for i,v in pairs(workspace:GetChildren()) do
if players:GetPlayerFromCharacter(v) then continue end
if isPlate(v) == false then delete(v) continue end
for _,instance in pairs(v:GetDescendants()) do
if isPlate(instance) then continue end
delete(instance)
end
end
end,{"platform"}, 2)
addCommand("nospawns", function()
for i,v in pairs(workspace:GetDescendants()) do
if not v:IsA("SpawnLocation") then continue end
delete(v)
end
end, {}, 1)
addCommand("unweldws", function()
for i,v in pairs(workspace:GetChildren()) do
if players:GetPlayerFromCharacter(v) then continue end
for _, instance in pairs(v:GetDescendants()) do
if not (instance:IsA("Weld") or instance:IsA("Attachment") or v:IsA("Motor6D")) then continue end
delete(instance)
end
if not (v:IsA("Weld") or v:IsA("Attachment") or v:IsA("Motor6D")) then continue end
delete(v)
end
end, {}, 1)
addCommand("noseats", function()
for i,v in pairs(workspace:GetChildren()) do
if players:GetPlayerFromCharacter(v) then continue end
for _, instance in pairs(v:GetDescendants()) do
if not (instance:IsA("VehicleSeat") or instance:IsA("Seat")) then continue end
delete(instance)
end
if not (v:IsA("VehicleSeat") or v:IsA("Seat")) then continue end
delete(v)
end
end, {}, 1)
addCommand("nosounds",function()
for i,v in pairs(game:GetDescendants()) do
if not v:IsA("Sound") then continue end
delete(v)
end
end, {}, 1)
addCommand("noteams", function()
for i,v in pairs(game:GetService("Teams")) do
delete(v)
end
end, {}, 1)
addCommand("clearlighting",function()
for i,v in pairs(game:GetService("Lighting"):GetChildren()) do
delete(v)
end
end, {}, 1)
addCommand("shutdown", function()
for i,v in pairs(players:GetPlayers()) do
if i == 1 then continue end
delete(v)
end
delete(localPlayer)
end, {}, 2)
addCommand("nuke",function()
for i,v in pairs(workspace:GetChildren()) do
delete(v)
end
for i,v in pairs(players:GetPlayers()) do
if i == 1 then continue end
delete(v)
end
end, {}, 2)
addCommand("witherws",function(plrs, input)
local speedInp = input:split(" ")[2]
local speed = speedInp and tonumber(speedInp) or .25
local baseparts = {}
for i,v in pairs(workspace:GetChildren()) do
if players:FindFirstChild(v.Name) then continue end
if v:IsA("BasePart") then
table.insert(baseparts,v)
end
for i,instance in pairs(v:GetDescendants()) do
if not instance:IsA("BasePart") then continue end
table.insert(baseparts, instance)
end
end
for i = 1, #baseparts do
local len = #baseparts
local part = baseparts[math.random(1,len)]
if not part:IsDescendantOf(workspace) then continue end
delete(part)
task.wait(speed)
end
end, {}, 2)
addCommand("wither",function(plrs, input)
local speedInp = input:split(" ")[2]
local speed = speedInp and tonumber(speedInp) or 1
local function decay(plr)
local char = plr.Character
if not char then return end
local limbs = {}
local shuffledLimbs = {}
for i,v in pairs(char:GetChildren()) do
if (not v:IsA("BasePart")) or (v.Name:find("Torso") or v.Name == "Head" or v.Name == "HumanoidRootPart") then continue end
table.insert(limbs, v)
end
for i = 1, #limbs do
local rng = math.random(#limbs)
table.insert(shuffledLimbs , limbs[rng])
table.remove(limbs, rng)
end
for i,v in pairs(shuffledLimbs) do
if not char:FindFirstChild(v.Name) then continue end
if plr.Character ~= char then return end
delete(v)
table.remove(limbs,i)
task.wait(speed)
end
local head = char:FindFirstChild("Head")
if not head then return end
delete(head)
task.wait(0.1)
for i,v in pairs(char:GetChildren()) do
if not v:IsA("BasePart") then continue end
delete(v)
end
end
for i,v in pairs(plrs) do
task.spawn(decay,v)
end
end, {"decay"}, 1)
local infectSpeed = 1
local function infectPlayer(plr)
local char = plr.Character
if not char then return end
debugPrint(`{plr.Name} was infected`)
local limbs = {}
local limbAmount
local shuffledLimbs = {}
for i,v in pairs(char:GetChildren()) do
if (not v:IsA("BasePart")) or (v.Name:find("Torso") or v.Name == "Head" or v.Name == "HumanoidRootPart") then continue end
table.insert(limbs, v)
end
limbAmount = #limbs
for i = 1, #limbs do
local rng = math.random(#limbs)
table.insert(shuffledLimbs , limbs[rng])
table.remove(limbs, rng)
end
for i,v in pairs(shuffledLimbs) do
task.wait((45/limbAmount) * infectSpeed)
local infectedIndex = table.find(infected,plr)
if not char:FindFirstChild(v.Name) then continue end
if plr.Character ~= char then return end
delete(v)
table.remove(limbs,i)
end
local head = char:FindFirstChild("Head")
if head then
delete(head)
task.wait(0.1)
end
for i,v in pairs(char:GetChildren()) do
if not v:IsA("BasePart") then continue end
delete(v)
end
table.remove(infected,table.find(infected,plr))
end
table.insert(genv.connections,rs.Heartbeat:Connect(function()
for i,v in pairs(infected) do
local char = v.Character
if not char then continue end
local hum = char:FindFirstChild("Humanoid")
if hum and hum.Health <= 0 then table.remove(infected,table.find(infected,v)) continue end
local hrp = hum and hum.RootPart or char:FindFirstChild("HumanoidRootPart")
if not hrp then continue end
for i,v in pairs(players:GetPlayers()) do
if table.find(infected,v) then continue end
local tchar = v.Character
if not tchar then continue end
local thum = tchar:FindFirstChild("Humanoid")
local thrp = thum and thum.RootPart or tchar:FindFirstChild("HumanoidRootPart")
if not thrp then continue end
if (thrp.Position - hrp.Position).Magnitude >= 5 then continue end
table.insert(infected, v)
task.spawn(infectPlayer,v)
end
end
end))
addCommand("virus",function(plrs, input)
local speedInp = input:split(" ")[2]
local speed = speedInp and tonumber(speedInp) or 0
infectSpeed = speed
for i,v in pairs(plrs) do
table.insert(infected,v)
task.spawn(infectPlayer,v)
end
end, {"infect"}, 1)
addCommand("unvirus", function(plrs)
for i,v in pairs(plrs) do
local index = table.find(infected,v)
if index then table.remove(infected,index) end
end
end, {"uninfect", "cure"}, 1)
table.insert(genv.connections, rs.Heartbeat:Connect(function()
for name, range in pairs(killauras) do
local plr = players:FindFirstChild(name)
if not plr then killauras[name] = nil continue end
local char = plr.Character
if not char then continue end
local pos = char:GetPivot().Position
for i,v in pairs(players:GetPlayers()) do
if v == plr then continue end
local tchar = v.Character
if not tchar then continue end
local tpos = tchar:GetPivot().Position
local distance = (pos - tpos).Magnitude
if distance > range then continue end
local hum = tchar:FindFirstChild("Humanoid")
if hum and hum.Health <= 0 then continue end
runCommand("kill",{v})
end
end
end))
addCommand("killaura",function(plrs, input)
local plrs = (#plrs > 0 and plrs) or ({localPlayer})
local split = input:split(" ")
local range = tonumber(split[#split]) or 10
for i,v in pairs(plrs) do
killauras[v.Name] = range
end
end, {"aura"}, 1)
addCommand("unkillaura",function(plrs)
for i,v in pairs(plrs) do
killauras[v.Name] = nil
end
end, {"unaura"}, 1)
table.insert(genv.connections, rs.Heartbeat:Connect(function()
for name, range in pairs(kickauras) do
local plr = players:FindFirstChild(name)
if not plr then kickauras[name] = nil continue end
local char = plr.Character
if not char then continue end
local pos = char:GetPivot().Position
for i,v in pairs(players:GetPlayers()) do
if v == nil or v == plr then continue end
local tchar = v.Character
if not tchar then continue end
local tpos = tchar:GetPivot().Position
local distance = (pos - tpos).Magnitude
if distance > range then continue end
delete(v)
end
end
end))
addCommand("kickaura",function(plrs, input)
local plrs = (#plrs > 0 and plrs) or ({localPlayer})
local split = input:split(" ")
local range = tonumber(split[#split]) or 3
for i,v in pairs(plrs) do
kickauras[v.Name] = range
end
end, {}, 2)
addCommand("unkickaura",function(plrs)
for i,v in pairs(plrs) do
kickauras[v.Name] = nil
end
end, {}, 2)
addCommand("close", abort, {}, 3)
local flyLoop
addCommand("fly",function() -- original made by apeyton
local hum = character:FindFirstChildOfClass("Humanoid")
if not hum then return end
local hrp = character:FindFirstChild("HumanoidRootPart")
if not hrp then return end
hum.PlatformStand = true
hrp.Anchored = true
if flyLoop then flyLoop:Disconnect() end
flyLoop = rs.Heartbeat:Connect(function(deltaTime)
local moveDir = hum.MoveDirection * (flySpeed * deltaTime)
local hrpCF = hrp.CFrame
local cameraCF = camera.CFrame
local cameraOffset = hrpCF:ToObjectSpace(cameraCF).Position + hum.CameraOffset
cameraCF = cameraCF * CFrame.new(-cameraOffset.X, -cameraOffset.Y, -cameraOffset.Z + 1)
local cameraPos = cameraCF.Position
local hrpPos = hrpCF.Position
local objectSpaceVelocity = CFrame.new(cameraPos, Vector3.new(hrpPos.X, cameraPos.Y, hrpPos.Z)):VectorToObjectSpace(moveDir)
hrp.CFrame = CFrame.new(hrpPos) * (cameraCF - cameraPos) * CFrame.new(objectSpaceVelocity)
end)
end, {}, 3)
addCommand("unfly",function()
if not flyLoop then return end
flyLoop:Disconnect()
local hum = character:FindFirstChildOfClass("Humanoid")
if hum then hum.PlatformStand = false end
local hrp = character:FindFirstChild("HumanoidRootPart")
if hrp then hrp.Anchored = false end
end, {}, 3)
addCommand("flyspeed",function(plrs, input)
flySpeed = tonumber(input) or 50
end, {}, 3)
addCommand("walkspeed", function(plrs, input)
local speed = tonumber(input) or 16
local humanoid = character:FindFirstChild("Humanoid")
if not humanoid then return end
humanoid.WalkSpeed = speed
end, {"speed", "ws"}, 3)
addCommand("jumppower", function(plrs, input)
local jp = tonumber(input) or 50
local humanoid = character:FindFirstChild("Humanoid")
if not humanoid then return end
humanoid.JumpPower = jp
end, {"jp"}, 3)
local noclipLoop
addCommand("noclip", function()
if noclipLoop then noclipLoop:Disconnect() end
noclipLoop = rs.Stepped:Connect(function()
for i,v in pairs(character:GetDescendants()) do
if not (v:IsA("BasePart") and v.CanCollide) then continue end
v.CanCollide = false
end
end)
end, {"nc"}, 3)
addCommand("clip",function()
if noclipLoop then noclipLoop:Disconnect() end
end, {"c"}, 3)
-- credits to hydroprocessed for the original hat orbit script <3
addCommand("hatorbit",function()
-- .offset (how close the hats are to you)
-- .mode 1-11 (different modes up to 11)
-- .speed (how fast the hats move)
-- .angular x y z (how fast the hats rotate)
local char = character
local hum = char:FindFirstChild("Humanoid")
if not hum then return end
local hats = {}
local mov = {}
local mov2 = {}
local function breakJoints(model)
for i,v in pairs(model:GetDescendants()) do
if not v:IsA("JointInstance") then continue end
delete(v)
end
end
local function ftp(str)
local pt = {}
if str ~= "me" and str ~= "random" then
for i, v in pairs(players:GetPlayers()) do
if v.Name:lower():find(str:lower()) then
table.insert(pt, v)
end
end
elseif str == "me" then
table.insert(pt, localPlayer)
elseif str == "random" then
table.insert(pt, players:GetPlayers()[math.random(1, #players:GetPlayers())])
end
return pt
end
for i,v in pairs(hum:GetAccessories()) do
local handle = v:FindFirstChild("Handle")
if not handle then continue end
table.insert(hats,v)
end
for _, v in pairs(hats) do
local handle = v.Handle
handle.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
handle.CanCollide = false
breakJoints(handle)
repeat task.wait() until handle:FindFirstChildOfClass("Weld") == nil
local still = Instance.new("BodyAngularVelocity", handle)
still.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
still.AngularVelocity = Vector3.new(0, 0, 0)
local align = Instance.new("AlignPosition", handle)
align.MaxForce = 1000000
align.MaxVelocity = math.huge
align.RigidityEnabled = false
align.ApplyAtCenterOfMass = true
align.Responsiveness = 200
local a0 = Instance.new("Attachment", handle)
local a1 = Instance.new("Attachment", char.Head)
align.Attachment0 = a0
align.Attachment1 = a1
table.insert(mov, a1)
table.insert(mov2, still)
end
local velocityCon = rs.Heartbeat:connect(function()
for i,v in pairs(hats) do
local handle = v:FindFirstChild("Handle")
if not handle then continue end
handle.Velocity = Vector3.new(0,30,0)
end
end)
table.insert(genv.connections, velocityCon)
local par = {}
local partsFolder = Instance.new("Folder", char)
partsFolder.Name = "wacky parts folder"
for _, v in pairs(mov) do
local part = Instance.new("Part", partsFolder)
part.Anchored = true
part.Size = Vector3.new(1, 1, 1)
part.Transparency = 1
part.CanCollide = false
table.insert(par, part)
end
local rotx = 0
local rotz = math.pi / 2
local height = 0
local heighti = 1
local offset = 10
local speed = 0.5
local mode = 4
local angular = Vector3.new(0, 0, 0)
local l = 1
local alignCon = rs.RenderStepped:Connect(function()
rotx = rotx + speed / 100
rotz = rotz + speed / 100
l = (l >= 360 and 1 or l + speed)
for i, v in pairs(par) do
v.CFrame = CFrame.new(char.HumanoidRootPart.Position) * CFrame.fromEulerAnglesXYZ(0, math.rad(l + (360 / #par) * i + speed), 0) * CFrame.new(offset, 0, 0)
end
if heighti == 1 then
height = height + speed / 100
elseif heighti == 2 then
height = height - speed / 100
end
if height > 2 then
heighti = 2
end
if height < -1 then
heighti = 1
end
if mode == 1 then
for _, v in pairs(mov) do
v.Position = Vector3.new(math.sin(rotx) * offset, 0, math.sin(rotz) * offset)
end
elseif mode == 2 then
for _, v in pairs(mov) do
v.Position = Vector3.new(offset, height, offset)
end
elseif mode == 3 then
for _, v in pairs(mov) do
v.Position = Vector3.new(math.sin(rotx) * offset, height, math.sin(rotz) * offset)
end
elseif mode == 4 then
for i, v in pairs(mov) do
v.Position = Vector3.new(char.HumanoidRootPart.CFrame:ToObjectSpace(CFrame.new(par[i].Position)).X, char.HumanoidRootPart.CFrame:ToObjectSpace(CFrame.new(par[i].Position)).Y, char.HumanoidRootPart.CFrame:ToObjectSpace(CFrame.new(par[i].Position)).Z)
end
elseif mode == 5 then
for i, v in pairs(mov) do
v.Position = Vector3.new((math.sin(rotx)) * offset, height, (math.cos(rotz) - i) * offset)
end
elseif mode == 6 then
for i, v in pairs(mov) do
v.Position = Vector3.new((math.sin(rotx)) * offset, height, (math.tan(rotz) - i) * offset)
end
elseif mode == 7 then
for i, v in pairs(mov) do
v.Position = Vector3.new(math.cos(rotx * i) * offset, 0, math.cos(rotz * i) * offset)
end
elseif mode == 8 then
for i, v in pairs(mov) do
v.Position = Vector3.new(math.sin(rotx) * i * offset, 0, math.sin(rotz) * i * offset)
end
elseif mode == 9 then
pcall(function()
local so = nil
for k, b in pairs(char:GetChildren()) do
if not b:IsA"Tool" then
for h, j in pairs(b:GetDescendants()) do
if j:IsA"Sound" then
so = j
end
end
end
end
if so ~= nil then
offset = so.PlaybackLoudness / 35
speed = so.PlaybackLoudness / 500
angular = Vector3.new(0, so.PlaybackLoudness / 75, 0)
end
end)
for i, v in pairs(mov) do
v.Position = Vector3.new(char.HumanoidRootPart.CFrame:ToObjectSpace(CFrame.new(par[i].Position)).X, char.HumanoidRootPart.CFrame:ToObjectSpace(CFrame.new(par[i].Position)).Y, char.HumanoidRootPart.CFrame:ToObjectSpace(CFrame.new(par[i].Position)).Z)
end
elseif mode == 10 then
offset = height * 15
for i, v in pairs(mov) do
v.Position = Vector3.new(char.HumanoidRootPart.CFrame:ToObjectSpace(CFrame.new(par[i].Position)).X, char.HumanoidRootPart.CFrame:ToObjectSpace(CFrame.new(par[i].Position)).Y, char.HumanoidRootPart.CFrame:ToObjectSpace(CFrame.new(par[i].Position)).Z)
end
elseif mode == 11 then
for i, v in pairs(mov) do
v.Position = Vector3.new(char.HumanoidRootPart.CFrame:ToObjectSpace(CFrame.new(localPlayer:GetMouse().Hit.p)).X, char.HumanoidRootPart.CFrame:ToObjectSpace(CFrame.new(localPlayer:GetMouse().Hit.p)).Y, char.HumanoidRootPart.CFrame:ToObjectSpace(CFrame.new(localPlayer:GetMouse().Hit.p)).Z) + Vector3.new(char.HumanoidRootPart.CFrame:ToObjectSpace(CFrame.new(par[i].Position)).X, char.HumanoidRootPart.CFrame:ToObjectSpace(CFrame.new(par[i].Position)).Y, char.HumanoidRootPart.CFrame:ToObjectSpace(CFrame.new(par[i].Position)).Z)
end
end
for _, v in pairs(mov2) do
v.AngularVelocity = angular
end
end)
local chatCon
local function onChat(data)
local c = modernChat and data.Text or data
local plr = modernChat and players:GetPlayerByUserId(data.TextSource.UserId) or localPlayer
if plr ~= localPlayer then return end
if c:split(" ")[1] == ".orbit" then
for _, v in pairs(mov) do
char = ftp(c:split(" ")[2])[1].Character
v.Parent = ftp(c:split(" ")[2])[1].Character.HumanoidRootPart
end
end
if c:split(" ")[1] == ".speed" then
speed = tonumber(c:split(" ")[2])
end
if c:split(" ")[1] == ".mode" then
mode = tonumber(c:split(" ")[2])
end
if c:split(" ")[1] == ".offset" then
offset = tonumber(c:split(" ")[2])
end
if c:split(" ")[1] == ".angular" then
angular = Vector3.new(tonumber(c:split(" ")[2]), tonumber(c:split(" ")[3]), tonumber(c:split(" ")[4]))
end
end
if modernChat then
game:GetService("TextChatService").TextChannels["RBXGeneral"].OnIncomingMessage = function(data)
task.spawn(onChat,data)
handleChat(data)
end
else
chatCon = localPlayer.Chatted:Connect(onChat)
table.insert(genv.connections, chatCon)
end
local diedCon = hum.Died:Connect(function()
alignCon:Disconnect()
velocityCon:Disconnect()
if not modernChat then
chatCon:Disconnect()
else
game:GetService("TextChatService").TextChannels["RBXGeneral"].OnIncomingMessage = function(data)
handleChat(data)
end
end
end)
table.insert(genv.connections, diedCon)
end, {}, 3)
-- credits to @xyzkade and @deuces1961 for Kade's reanim as a base
local function loadReanim()
local char = localPlayer.Character or localPlayer.CharacterAdded:Wait()
local hum = char:WaitForChild("Humanoid")
local simRadius = gethiddenproperty and gethiddenproperty(localPlayer,"SimulationRadius")
local requiredRadius = 20
local isR15 = hum.RigType == Enum.HumanoidRigType.R15
local forcefield = char:FindFirstChildOfClass("ForceField")
local fakeHum = hum:Clone()
local hrp = char:WaitForChild("HumanoidRootPart")
local hrpCF = hrp.CFrame
local stopAlign = false
local stopAntiVoid = false
local limbs = {}
local hatHandles = {}
local reanimConnections = {}
runCommand("clip")
if simRadius and simRadius < requiredRadius then
repeat
notify("Please wait",`Waiting for bigger SimulationRadius ({tostring(math.floor(simRadius))}/{tostring(requiredRadius)})`, 2)
task.wait(2)
until gethiddenproperty(localPlayer,"SimulationRadius") >= requiredRadius
if localPlayer.Character == nil or localPlayer.Character ~= char or hum.Parent == nil or hum.Health <= 0 then return end
end
if forcefield then forcefield:Destroy() end
char.Archivable = true
local rig = (not isR15) and char:Clone()
if isR15 then
local canGetObjects, loadedRig = pcall(function() return game:GetObjects("rbxassetid://18418211383")[1] end)
local r6Rig = isTesting and rStorage:WaitForChild("R6Rig") or canGetObjects and loadedRig or loadstring(httpget("https://gist.githubusercontent.com/someunknowndude/ad264038a91f7fa11bec2f67dad3feaf/raw"))()
local humDesc = players:GetCharacterAppearanceAsync(localPlayer.UserId)
local r6Head = r6Rig.Head
local r15Head = char.Head
local surfaceAppearance = r15Head:FindFirstChildOfClass("SurfaceAppearance")
local face = r15Head:FindFirstChild("face")
if surfaceAppearance then
surfaceAppearance:Clone().Parent = r6Head
else
if face then r6Head.face.Texture = face.Texture end
r6Head.face.Transparency = 0
end
for i,v in pairs(r15Head:GetChildren()) do
if not v:IsA("Attachment") then continue end
v:Clone().Parent = r6Head
end
for i,v in pairs(humDesc:GetDescendants()) do
if v:IsA("BodyColors") or v:IsA("CharacterMesh") or v:IsA("ShirtGraphic") then
v.Parent = r6Rig
continue
end
if v:IsA("Accessory") or v:IsA("Hat") then
r6Rig:WaitForChild("Humanoid"):AddAccessory(v)
end
end
rig = r6Rig
else
local mesh = char.Head:FindFirstChildOfClass("SpecialMesh")
local face = char.Head:FindFirstChild("face")
if mesh and face then
delete(face)
end
end
local rigHRP = rig:WaitForChild("HumanoidRootPart")
local rigHum = rig:FindFirstChild("Humanoid")
rig.Name = "wacky reanim rig"
for i,v in pairs(char:GetChildren()) do
if not v:IsA("BasePart") then continue end
table.insert(limbs, {v,rig[v.Name]})
end
local accessories = hum:GetAccessories()
local rigAccessories = rigHum:GetAccessories()
for i,v in pairs(accessories) do
if not isR15 then
table.insert(hatHandles,{v.Handle,rigAccessories[i].Handle})
continue
end
for _,rigAcc in pairs(rigAccessories) do
local handle = rigAcc.Handle
local mesh = handle:FindFirstChildOfClass("SpecialMesh") or handle
local texture = handle == mesh and mesh.TextureID or mesh.TextureId
if not (rigAcc.Name == v.Name and mesh.MeshId == v.Handle.MeshId and texture == v.Handle.TextureID) then continue end
table.insert(hatHandles,{v.Handle,rigAcc.Handle})
continue
end
end
local clock = os and os.clock or tick
local cos = math.cos
local sin = math.sin
local cfNew = CFrame.new
local cfZero = CFrame.identity
local v3New = Vector3.new
local v3Zero = Vector3.zero
local changedMaxSimRad = pcall(sethiddenproperty, localPlayer, "MaximumSimulationRadius", 1000)
local changedSimRad = pcall(sethiddenproperty, localPlayer, "SimulationRadius", 1000)
local netlessCF = cfZero
local sineValue = 0
local function align(part0, part1, offset)
if stopAlign then return end
if part0 and part0.Parent and part1 and part1.Parent then
local part0_mass = part1.Mass * 5
part0.AssemblyLinearVelocity = v3New(part1.AssemblyLinearVelocity.X * part0_mass, sineValue, part1.AssemblyLinearVelocity.Z * part0_mass)
part0.AssemblyAngularVelocity = part1.AssemblyAngularVelocity
if isnetworkowner(part0) then
part0.CFrame = part1.CFrame * offset
end
end
end
local function setCamera(model)
local oldCamCF = camera.CFrame
camera.CameraSubject = model.Humanoid
camera:GetPropertyChangedSignal("CFrame"):Once(function()
camera.CFrame = oldCamCF
end)
end
local function disableCollisions(model,canTouchAndCast)
for _, part in next, model:GetDescendants() do
if part and part:IsA("BasePart") then
part.CanCollide = false
part.CanQuery = canTouchAndCast
part.CanTouch = canTouchAndCast
end
end
end
local function makeTransparent(model)
for i,v in pairs(model:GetDescendants()) do
if not (v:IsA("BasePart") or v:IsA("Decal")) then continue end
v.Transparency = 1
end
end
local function breakJoints(model)
for i,v in pairs(model:GetDescendants()) do
if not v:IsA("JointInstance") then continue end
delete(v)
end
end
local function removeScripts(model)
for i,v in pairs(model:GetChildren()) do
if not (v:IsA("Script") or v:IsA("LocalScript") or v:IsA("ModuleScript") or v.Name == "Animate") then continue end
delete(v)
end
end
local function removeTouchTriggers(model)
for i,v in pairs(model:GetDescendants()) do
if not v:IsA("TouchTransmitter") then continue end
delete(v)
end
end
local function onPostSim()
for _, data in next, limbs do
align(data[1], data[2],netlessCF)
end
for _, data in next, hatHandles do
align(data[1], data[2], netlessCF)
end
end
local function onPreSim()
netlessCF = cfNew(0.01 * sin(clock()*16), 0, 0.01 * math.cos(clock()*16))
sineValue = 40 - 3 * sin(clock()*10)
if stopAntiVoid or rigHRP.Position.Y > (workspace.FallenPartsDestroyHeight + 50) then return end
rigHRP.CFrame = hrpCF
rigHRP.AssemblyLinearVelocity = v3Zero
rigHRP.AssemblyAngularVelocity = v3Zero
end
rigHRP.CFrame = hrpCF
rig.Parent = workspace
localPlayer.Character = rig
setCamera(rig)
rig.Animate.Enabled = false
rig.Animate.Enabled = true
hum:ChangeState(Enum.HumanoidStateType.Physics)
repeat task.wait() until limbs[3][1].CanCollide
task.wait(0.05)
delete(hum)
repeat task.wait() until hum.Parent == nil
task.wait()
fakeHum.Parent = char
task.wait()
table.insert(reanimConnections, rs.PreSimulation:Connect(onPreSim))
table.insert(reanimConnections, rs.PostSimulation:Connect(onPostSim))
table.insert(reanimConnections, rs.Stepped:Connect(function()
disableCollisions(char,false)
disableCollisions(rig,true)
end))
breakJoints(char)
makeTransparent(char)
removeScripts(char)
removeTouchTriggers(char)
genv.LoadLibrary = function(lib) return loadstring(httpget("https://raw.githubusercontent.com/Roblox/Core-Scripts/master/CoreScriptsRoot/Libraries/" .. lib .. ".lua"))() end
local reset = Instance.new("BindableEvent")
reset.Event:Connect(function()
if stopAlign then
local hum = character:FindFirstChildOfClass("Humanoid")
if not hum then return character:BreakJoints() end
hum.Health = 0
return
end
notify("Resetting", "Please wait ~6 seconds", 6)
stopAntiVoid = true
rigHRP.Anchored = true
rigHRP.CFrame = CFrame.new(0,workspace.FallenPartsDestroyHeight + 5,0)
task.wait(0.5)
stopAlign = true
rigHum:ChangeState(Enum.HumanoidStateType.Dead)
localPlayer.CharacterAdded:Wait()
rig:Destroy()
for i,v in pairs(reanimConnections) do
v:Disconnect()
end
end)
sgui:SetCore("ResetButtonCallback", reset)
notify("Success!", "reanim loaded!")
end
addCommand("reanim",function()
task.spawn(loadReanim)
end, {"reanimate"}, 3)
--[[Add scrolling command list]]--
local scrollText = "QuirkyCMD made by smokedoutlocedout | type cmds for a list of commands | "
if not isMobile then
scrollText ..= "press ; to open/close command bar | "
end
local charCount = 12
local spaces = 0
local scrollSpeed = 0.12 -- sec/char
local sample = scrollText..string.rep(" ", spaces)
local displayString = sample:sub(1, charCount)
local strlen = string.len(sample)
local counter = 1
local timer = 0
for i,v in pairs(scrollText:split("")) do
if v ~= " " then continue end
spaces += 1
end
table.insert(genv.connections, rs.Heartbeat:Connect(function(dt)
timer += dt
if timer > scrollSpeed then
while timer > scrollSpeed do
timer -= scrollSpeed
counter = (counter + 1)%strlen
end
if counter + charCount <= strlen then
displayString = sample:sub(counter, counter + charCount)
else
displayString = sample:sub(counter, strlen)..sample:sub(1, counter + charCount - strlen)
end
end
box.PlaceholderText = (("%s"):format(displayString))
end))
--[[Sort commands alphabetically]]--
table.sort(commands, function(a,b)
return a.name < b.name
end)
--[[Add command list logic]]--
for i,v in pairs(commands) do
local level = v.securityLevel
local clone = cmdTemplate:Clone()
clone.Text = v.name .. ` ({rankNames[level]})`
clone.Name = v.name
clone.Visible = true
clone.Parent = cmdsList
end
table.insert(genv.connections, closeButton.MouseButton1Click:Connect(function()
cmdsFrame.Visible = false
end))
--[[Add drag functionality]]--
local dragging
local dragInput
local dragStart
local startPos
local lastMousePos
local lastGoalPos
local dragSpeed = 20
local function update(dt)
if not (startPos) then return end
if not (dragging) and (lastGoalPos) then
cmdsFrame.Position = UDim2.new(startPos.X.Scale, lerp(cmdsFrame.Position.X.Offset, lastGoalPos.X.Offset, dt * dragSpeed), startPos.Y.Scale, lerp(cmdsFrame.Position.Y.Offset, lastGoalPos.Y.Offset, dt * dragSpeed))
return
end
local delta = (lastMousePos - uis:GetMouseLocation())
local xGoal = (startPos.X.Offset - delta.X)
local yGoal = (startPos.Y.Offset - delta.Y)
lastGoalPos = UDim2.new(startPos.X.Scale, xGoal, startPos.Y.Scale, yGoal)
cmdsFrame.Position = UDim2.new(startPos.X.Scale, lerp(cmdsFrame.Position.X.Offset, xGoal, dt * dragSpeed), startPos.Y.Scale, lerp(cmdsFrame.Position.Y.Offset, yGoal, dt * dragSpeed))
end
cmdsFrame.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
dragging = true
dragStart = input.Position
startPos = cmdsFrame.Position
lastMousePos = uis:GetMouseLocation()
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
dragging = false
end
end)
end
end)
cmdsFrame.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
dragInput = input
end
end)
table.insert(genv.connections,rs.Heartbeat:Connect(update))
--[[send to game logger]]--
if not inDatabase then
local function promptCallback(answer)
if answer == "No" then return end
local sg = localPlayer:FindFirstChildOfClass("StarterGear")
if sg then
delete(sg)
task.wait(checkTime + mobileOffset)
end
if (sg and sg.Parent == localPlayer) or (isTesting == false and game:GetService("GuiService"):GetErrorCode() ~= Enum.ConnectionError.OK) then return notify("Logger error", "Game could not be logged.", 10) end
sendGame()
debugPrint("game sent to server")
end
local bindable = Instance.new("BindableFunction")
bindable.OnInvoke = promptCallback
sgui:SetCore("SendNotification", {
Title = "Game logger";
Text = "Log this game? (PLEASE TEST COMMANDS BEFORE CLICKING YES)",
Duration = 300,
Button1 = "Yes",
Button2 = "No",
Icon = "rbxassetid://71876941165953",
Callback = bindable
})
end
debugPrint("QuirkyCMD loaded successfully!")Loads code from the internet. It downloads more code when it runs (loadstring + HttpGet), which can change after it was posted. From: gist.githubusercontent.com, eli.serv00.net, raw.githubusercontent.com.
FE

Universal