Run it
Copy the script and paste it into your executor.
GUI = .()
AnnGUI = .()
background = .()
TextBox = .()
shadow = .()
PopupText = .()
Exit = .()
ExitImage = .()
GUI.Parent = :()
AnnGUI.Name =
AnnGUI.Parent = GUI
AnnGUI.Active =
AnnGUI.BackgroundTransparency =
AnnGUI.Position = .(, -, , -)
AnnGUI.Size = .(, , , )
AnnGUI.ZIndex =
background.Name =
background.Parent = AnnGUI
background.Active =
background.BackgroundColor3 = .(, , )
background.BorderSizePixel =
background.Position = .(, , , )
background.Size = .(, , , )
background.ZIndex =
TextBox.Parent = background
TextBox.BackgroundTransparency =
TextBox.Position = .(, , , )
TextBox.Size = .(, , , )
TextBox.Font = .Font.SourceSans
TextBox.TextSize =
TextBox.TextWrapped =
TextBox.Text =
TextBox.TextColor3 = .(, , )
TextBox.TextXAlignment = .TextXAlignment.Left
TextBox.TextYAlignment = .TextYAlignment.Top
TextBox.ZIndex =
shadow.Name =
shadow.Parent = AnnGUI
shadow.BackgroundColor3 = .(, , )
shadow.BorderSizePixel =
shadow.Size = .(, , , )
shadow.ZIndex =
PopupText.Name =
PopupText.Parent = shadow
PopupText.BackgroundTransparency =
PopupText.Size = .(, , , )
PopupText.ZIndex =
PopupText.Font = .Font.SourceSans
PopupText.TextSize =
PopupText.Text =
PopupText.TextColor3 = .(, , )
PopupText.TextWrapped =
Exit.Name =
Exit.Parent = shadow
Exit.BackgroundTransparency =
Exit.Position = .(, -, , )
Exit.Size = .(, , , )
Exit.Text =
Exit.ZIndex =
ExitImage.Parent = Exit
ExitImage.BackgroundColor3 = .(, , )
ExitImage.BackgroundTransparency =
ExitImage.Position = .(, , , )
ExitImage.Size = .(, , , )
ExitImage.Image =
ExitImage.ZIndex =
()
AnnGUI:(.(, -, , ), , , , , )
Exit.MouseButton1Click:(()
AnnGUI:(.(, -, , -), , , , , )
()
AnnGUI:()
()
)
()
Version =
HttpService = :()
SAVEFILE = {
colorR = ;
colorG = ;
colorB = ;
cmdprefix = ;
suggestionstoggle = ;
allowfriends = ;
JLnotify = ;
Mseconds = ;
Nfriends = ;
cmdbarbind = ;
chatsV = ;
whispersV = ;
commandsV = ;
aliasSave = {}
}
defaults = HttpService:(SAVEFILE)
() is_protosmasher_caller ~= elysianexecute ~= Synapse ~=
loaded =
()
()
(, defaults)
()
newjson = ()
CREATEFILE = HttpService:(newjson)
colorR = CREATEFILE.colorR
colorG = CREATEFILE.colorG
colorB = CREATEFILE.colorB
cmdprefix = CREATEFILE.cmdprefix
suggestionstoggle = CREATEFILE.suggestionstoggle
allowfriends = CREATEFILE.allowfriends
JLnotify = CREATEFILE.JLnotify
Mseconds = CREATEFILE.Mseconds
Nfriends = CREATEFILE.Nfriends
cmdbarbind = CREATEFILE.cmdbarbind
chatsV = CREATEFILE.chatsV
whispersV = CREATEFILE.whispersV
commandsV = CREATEFILE.commandsV
aliasSave = CREATEFILE.aliasSave
loaded =
()
file, err = (writeF)
file
(..err)
R_W = :()[] R_W.Parent = .CoreGui
(mouse) R_W:()
_, child (.CoreGui:())
child.Name ==
child:()
R_W.drag.PromptDialog.shadow.Exit.MouseButton1Down:(Click)
()
()
checktxt = ()
checktxt == () ()
success, message2 = (sfile)
success
json = ()
LOADFILE = HttpService:(json)
colorR = LOADFILE.colorR
colorG = LOADFILE.colorG
colorB = LOADFILE.colorB
cmdprefix = LOADFILE.cmdprefix
suggestionstoggle = LOADFILE.suggestionstoggle
allowfriends = LOADFILE.allowfriends
JLnotify = LOADFILE.JLnotify
Mseconds = LOADFILE.Mseconds
Nfriends = LOADFILE.Nfriends
cmdbarbind = LOADFILE.cmdbarbind
chatsV = LOADFILE.chatsV
whispersV = LOADFILE.whispersV
commandsV = LOADFILE.commandsV
aliasSave = LOADFILE.aliasSave
loaded =
() ()
colorR =
colorG =
colorB =
cmdprefix =
suggestionstoggle =
allowfriends =
JLnotify =
Mseconds =
Nfriends =
cmdbarbind =
chatsV =
whispersV =
commandsV =
aliasSave = {}
loaded =
() loaded ==
gCoreGui = :() gPlayers = :() gLighting = :() Player = gPlayers.LocalPlayer
Mouse = Player:() char = Player.Character LP = gPlayers.LocalPlayer gPlayers = :() _players = :() MSGhook = services={} cmds={}
std={} loopkillT = {} rainbowT = {} disabletoolsT = {} banT = {} adminT = {} (PATH, NAME) PATH:(NAME)
services.events = {} user = gPlayers.LocalPlayer bringT = {} agelock = isagelocked = scriptprefix=
split= slock =
()
()
update = {
colorR = colorR;
colorG = colorG;
colorB = colorB;
cmdprefix = cmdprefix;
suggestionstoggle = suggestionstoggle;
allowfriends = allowfriends;
JLnotify = JLnotify;
Mseconds = Mseconds;
Nfriends = Nfriends;
cmdbarbind = cmdbarbind;
chatsV = chatsV;
whispersV = whispersV;
commandsV = commandsV;
aliasSave = aliasSave
}
updated = HttpService:(update)
()
(, updated)
(str)
(str) ~=
()
_, child ( :())
MSGhook == child.ClassName == child.Name ~=
child.Name = child.Text = MSGhook =
:() MSGhook =
MSGhook =
:().RenderStepped:(()
:():(,,,)
r15noclip
LP.Character:() LP.Character.Humanoid:()
LP.Character LP.Character:()
LP.Character.Humanoid.Died:(() FLYING = )
MSGhook == :()
.IYmessage.Text ==
_, child ( LightingService:())
child.Name ==
child:()
MSGhook =
i,v (_players:())
(loopkillT, v.Name)
v.Character:()
(disabletoolsT, v.Name) v:()
v.Backpack:()
i,n (v.Character:())
n:() n:()
n:()
(rainbowT, v.Name)
v.Neutral =
v.TeamColor = BrickColor.()
)
LightingService = :()
origsettings = {abt = LightingService.Ambient, oabt = LightingService.OutdoorAmbient, brt = LightingService.Brightness, time =
LightingService.TimeOfDay, fclr = LightingService.FogColor, fe = LightingService.FogEnd, fs = LightingService.FogStart}
(player) :():(player.Character, , )
(Table, Name)
i,v (Table)
v == Name
(Table, Name)
i = , #Table
Table[i] == Name
i
_players.PlayerRemoving:((player)
a,b (injail) b == player.Name .(injail, a) [ .. player.Name]:()
a,b (hastab) b == player.Name .(hastab, a) [player.Name .. ]:()
JLnotify == Nfriends == player:(user.userId)
:():(, {
Title = player.Name,
Text = ..player.AccountAge.. ,
Icon = ..player.Name.. .. .(,),
Duration = ,
})
JLnotify == Nfriends ==
:():(, {
Title = player.Name,
Text = ..player.AccountAge.. ,
Icon = ..player.Name.. .. .(,),
Duration = ,
})
)
FLYING =
iyflyspeed =
()
() LP LP.Character LP.Character:() LP.Character:()
() Mouse
T = LP.Character.HumanoidRootPart
CONTROL = {F = , B = , L = , R = }
lCONTROL = {F = , B = , L = , R = }
SPEED =
()
FLYING =
BG = .(, T)
BV = .(, T)
BG.P =
BG.maxTorque = .(, , )
BG.cframe = T.CFrame
BV.velocity = .(, , )
BV.maxForce = .(, , )
(()
()
LP.Character.Humanoid.PlatformStand =
CONTROL.L + CONTROL.R ~= CONTROL.F + CONTROL.B ~=
SPEED =
(CONTROL.L + CONTROL.R ~= CONTROL.F + CONTROL.B ~= ) SPEED ~=
SPEED =
(CONTROL.L + CONTROL.R) ~= (CONTROL.F + CONTROL.B) ~=
BV.velocity = ((.CurrentCamera.CoordinateFrame.lookVector * (CONTROL.F + CONTROL.B)) + ((.CurrentCamera.CoordinateFrame * .(CONTROL.L + CONTROL.R, (CONTROL.F + CONTROL.B) * , ).p) - .CurrentCamera.CoordinateFrame.p)) * SPEED
lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
(CONTROL.L + CONTROL.R) == (CONTROL.F + CONTROL.B) == SPEED ~=
BV.velocity = ((.CurrentCamera.CoordinateFrame.lookVector * (lCONTROL.F + lCONTROL.B)) + ((.CurrentCamera.CoordinateFrame * .(lCONTROL.L + lCONTROL.R, (lCONTROL.F + lCONTROL.B) * , ).p) - .CurrentCamera.CoordinateFrame.p)) * SPEED
BV.velocity = .(, , )
BG.cframe = .CurrentCamera.CoordinateFrame
FLYING
CONTROL = {F = , B = , L = , R = }
lCONTROL = {F = , B = , L = , R = }
SPEED =
BG:()
BV:()
LP.Character.Humanoid.PlatformStand =
)
Mouse.KeyDown:((KEY)
KEY:() ==
CONTROL.F = iyflyspeed
KEY:() ==
CONTROL.B = -iyflyspeed
KEY:() ==
CONTROL.L = -iyflyspeed
KEY:() ==
CONTROL.R = iyflyspeed
)
Mouse.KeyUp:((KEY)
KEY:() ==
CONTROL.F =
KEY:() ==
CONTROL.B =
KEY:() ==
CONTROL.L =
KEY:() ==
CONTROL.R =
)
()
()
FLYING =
LP.Character.Humanoid.PlatformStand =
HK = {
,
,
,
,
}
CMDs = {
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
}
(player) C = player.Chatted:((M) (player) (M, player) ) .(services.events, C)
std.inTable=(tbl,val)
tbl==
_,v (tbl)
v==val
std.out=(str)
(str)
std.list=(tbl)
str=
i,v (tbl)
str=str..(v)
i~=#tbl str=str..
str
std.endat=(str,val)
z=str:(val)
z
str:(,z-.(val)),
str,
std.first=(str) str:(,)
(name) (adminT, name.userId) name.userId == LP.userId
exec=(str)
(()
, loaderr = (str)
(loaderr)
()
)
findCmd=(cmd_name)
i,v (cmds)
v.NAME:()==cmd_name:() std.(v.ALIAS,cmd_name:())
v
getCmd=(msg)
cmd,hassplit=std.(msg:(),split)
hassplit
{cmd,}
{cmd,}
getprfx=(strn)
strn:(,.(cmdprefix))==cmdprefix {,.(cmdprefix)+}
strn:(,.(scriptprefix))==scriptprefix {,.(scriptprefix)+}
(gui)
(()
UserInputService = :()
dragging
dragInput
dragStart
startPos
(input)
delta = input.Position - dragStart
gui:(.(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y), , , , , )
gui.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
dragging =
dragStart = input.Position
startPos = gui.Position
input.Changed:(()
input.UserInputState == .UserInputState.End
dragging =
)
)
gui.InputChanged:((input)
input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch
dragInput = input
)
UserInputService.InputChanged:((input)
input == dragInput dragging
(input)
)
)
maincolor = .(colorR, colorG, colorB)
(color)
colorR = maincolor.r colorG = maincolor.g colorB = maincolor.b
maincolor = color
_, child ( .CoreGui.RobloxGui:())
child.Name ==
child.BackgroundColor3 = color
FeedbackMain.BackgroundColor3 = maincolor
MAIN.BackgroundColor3 = maincolor
bar.BackgroundColor3 = maincolor
.CoreGui.sugg.suggestions.BackgroundColor3 = color
.CoreGui:()
.CoreGui.Updates.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color
.CoreGui.Updates.drag.PromptDialog.shadow.BackgroundColor3 = color
.CoreGui:()
.CoreGui.Sinfo.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color
.CoreGui.Sinfo.drag.PromptDialog.shadow.BackgroundColor3 = color
.CoreGui:()
.CoreGui.cp.Frame.holder.bar.BackgroundColor3 = color
.CoreGui.cp.Frame.holder.FeedbackMain.BackgroundColor3 = color
.CoreGui.cp.Frame.holder.size.MAIN.BackgroundColor3 = color
.CoreGui:()
.CoreGui.Bans.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color
.CoreGui.Bans.drag.PromptDialog.shadow.BackgroundColor3 = color
.CoreGui:()
.CoreGui.Pos.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color
.CoreGui.Pos.drag.PromptDialog.shadow.BackgroundColor3 = color
.CoreGui:()
.CoreGui.Admins.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color
.CoreGui.Admins.drag.PromptDialog.shadow.BackgroundColor3 = color
.CoreGui:()
.CoreGui.Logs.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color
.CoreGui.Logs.drag.PromptDialog.shadow.BackgroundColor3 = color
.CoreGui:()
.CoreGui.Aliases.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color
.CoreGui.Aliases.drag.PromptDialog.shadow.BackgroundColor3 = color
_, child ( .CoreGui:())
child.Name ==
.CoreGui.Models.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color
.CoreGui.Models.drag.PromptDialog.shadow.BackgroundColor3 = color
_, child ( .CoreGui:())
child.Name ==
.CoreGui.Audios.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color
.CoreGui.Audios.drag.PromptDialog.shadow.BackgroundColor3 = color
(plr)
M = .(, ) M.Name =
H = .(, M)
T = .(, M) T.Name = T.CanCollide = T.Transparency =
plr.Character = M
dummy = :():()
WL = {,,,,,,,LP.Name}
(plr)
(()
plr.Parent ~=
(WL, plr.Name) (..plr.Name..)
newChar = dummy:() newChar.Parent =
newChar.HumanoidRootPart.Position = .(.(, ), , )
i = ,
Plat = .(, newChar)
Plat.Position = newChar.HumanoidRootPart.Position
Plat.Name =
Plat.Size = .(, , )
Plat.Transparency =
plr.Character = newChar
PART = .(, newChar)
PART.CFrame = newChar.HumanoidRootPart.CFrame - .(, , )
PART.Size = .(, , )
PART.Anchored =
PART.Transparency =
newChar:()
newChar.SkateboardPlatform.CFrame = newChar.HumanoidRootPart.CFrame
()
newChar newChar:()
(plr)
)
(plr)
(()
rpos = plr.Character.HumanoidRootPart.Position
() plr.Character:() (plr) ()
() plr.Character ~= plr.Character:()
plr.Character:(rpos) )
(str) A = {} NA = HS = S = str NA, HS = std.(S:(), split) NA ~= .(A, NA) S = S:(.(NA) + .(split) + ) HS A
(str) A = {} NA = HS = S = str NA, HS = std.(S, split) NA ~= .(A, NA) S = S:(.(NA) + .(split) + ) HS A
_players.PlayerAdded:((player)
JLnotify == Nfriends == player:(user.userId)
:():(, {
Title = player.Name,
Text = ..player.AccountAge.. ,
Icon = ..player.Name.. .. .(,),
Duration = ,
})
JLnotify == Nfriends ==
:():(, {
Title = player.Name,
Text = ..player.AccountAge.. ,
Icon = ..player.Name.. .. .(,),
Duration = ,
})
slock == allowfriends == player.CharacterAdded:(()
(()
() player.Character
(player)
)
)
slock == allowfriends == player:(user.userId)
(()
() player.Character
(player)
)
(banT, player.userId)
(()
() player.Character
( .. player.Name .. )
(player)
)
isagelocked == allowfriends == player.AccountAge <= agelock
(()
() player.Character
(player)
)
isagelocked == allowfriends == player:(user.userId) player.AccountAge <= agelock
(()
() player.Character
(player)
)
)
customAlias = {}
findCmd=(cmd_name)
i,v (cmds)
v.NAME:()==cmd_name:() std.(v.ALIAS,cmd_name:())
v
customAlias[cmd_name:()]
(str,delim)
broken = {}
delim == delim =
w .(str,..delim..)
.(broken,w)
broken
historyCount =
cmdHistory = {}
lastBreakTime =
(cmdStr,speaker)
rawCmdStr = cmdStr
cmdStr = .(cmdStr,,)
commandsToRun = (cmdStr,)
i,v (commandsToRun)
v = .(v,,)
x,y,num = v:()
cmdDelay =
num
v = v:(y+)
x,y,del = v:()
del
v = v:(y+)
cmdDelay = (del)
num = (num )
args = (v,split)
cmd = (args[])
cmd
.(args,)
cargs = args
speaker == gPlayers.LocalPlayer
cmdHistory[] ~= rawCmdStr .(cmdHistory,,rawCmdStr)
#cmdHistory > .(cmdHistory)
cmdStartTime = ()
rep = ,num
lastBreakTime > cmdStartTime
(()
cmd.(args, speaker)
)
cmdDelay ~= (cmdDelay)
logsloaded =
ChatLog = (plr)
plr.Chatted:((Message)
logsloaded ==
whispersV == Message:():(,) ==
(plr.Name,Message)
commandsV == (plr) Message:():(,) == cmdprefix
(plr.Name,Message)
commandsV == (plr) Message:():(,) == ..cmdprefix
(plr.Name,Message)
chatsV == Message:():(,) ~= Message:():(,) ~= Message:():(,) ~= cmdprefix
(plr.Name,Message)
)
(str, plr) (plr) str = str:(, ) t = (str) t str = str:(t[]) t[]== (str) t[]== (str, plr)
_, plr (gPlayers:())
plr.ClassName ==
(plr) (plr)
_players.PlayerAdded:((player)
(player) (player)
)
.exec_cmd = execCmd
(lower, start) AA = i,v (cargs) i > start AA ~= AA = AA .. .. v AA = AA .. v lower AA .(AA)
_char=(plr_name)
i,v (gPlayers:())
v:
v.Name==plr_name v.Character
_plr=(plr_name)
i,v (gPlayers:())
v:
v.Name==plr_name v
(name,desc,alias,func)
cmds[#cmds+]=
{
NAME=name;
DESC=desc;
ALIAS=alias;
FUNC=func;
}
SPC = {, , , , , , , , , , ,}
SpecialPlayerCases = {
[] = (speaker) :():() ,
[] = (speaker)
plrs = {}
i,v (:():())
v ~= speaker
.(plrs,v)
plrs
,
[] = (speaker) {speaker} ,
[] = (speaker,args,currentList)
returns = {}
randAmount = (args[])
players = {(currentList)}
i = ,randAmount
#players ==
randIndex = .(,#players)
.(returns,players[randIndex])
.(players,randIndex)
returns
,
[] = (speaker,args,currentList)
players = currentList
{players[.(,#players)]}
,
[] = (speaker,args)
returns = {}
team = args[]
_,plr (:():())
plr.Team .(.(plr.Team.Name),,#team) == .(team)
.(returns,plr)
returns
,
[] = (speaker)
returns = {}
team = speaker.Team
_,plr (:():())
plr.Team == team
.(returns,plr)
returns
,
[] = (speaker)
returns = {}
team = speaker.Team
_,plr (:():())
plr.Team ~= team
.(returns,plr)
returns
,
[] = (speaker)
returns = {}
team = speaker.Team
_,plr (:():())
plr.Team == team
.(returns,plr)
returns
,
[] = (speaker)
returns = {}
team = speaker.Team
_,plr (:():())
plr.Team ~= team
.(returns,plr)
returns
,
[] = (speaker,args)
returns = {}
_,plr (:():())
plr:(speaker.UserId) plr ~= speaker
.(returns,plr)
returns
,
[] = (speaker,args)
returns = {}
_,plr (:():())
plr:(speaker.UserId) plr ~= speaker
.(returns,plr)
returns
,
[] = (speaker,args)
returns = {}
_,plr (:():())
plr.Guest
.(returns,plr)
returns
,
[] = (speaker,args)
returns = {}
_,plr (:():())
plr.Character:() plr.Character:()
.(returns,plr)
returns
,
[] = (speaker)
returns = {}
_,plr (:():())
(plr)
.(returns,plr)
returns
,
[] = (speaker)
returns = {}
_,plr (:():())
(plr)
.(returns,plr)
returns
,
[] = (speaker,args)
returns = {}
age = (args[])
age ==
_,plr (:():())
plr.AccountAge <= age
.(returns,plr)
returns
,
[] = (speaker,args)
returns = {}
radius = (args[])
speakerChar = speaker.Character
speakerChar speakerChar:()
_,plr (:():())
plr.Character plr.Character:()
magnitude = (plr.Character:().Position-speakerChar.HumanoidRootPart.Position).magnitude
magnitude <= radius .(returns,plr)
returns
}
(str)
tokens = {}
op,name .(str,)
.(tokens,{Operator = op,Name = name})
tokens
(tab,matches)
matchTable = {}
resultTable = {}
i,v (matches) matchTable[v.Name] =
i,v (tab) matchTable[v.Name] .(resultTable,v)
resultTable
(tab,matches)
matchTable = {}
resultTable = {}
i,v (matches) matchTable[v.Name] =
i,v (tab) matchTable[v.Name] .(resultTable,v)
resultTable
(name)
found = {}
i,v (:():())
.(.(v.Name),,#name) == .(name)
.(found,v)
found
(list,speaker)
list == {speaker.Name}
nameList = (list,)
foundList = {}
_,name (nameList)
.(name,,) ~= .(name,,) ~= name = ..name
tokens = (name)
initialPlayers = :():()
i,v (tokens)
v.Operator ==
tokenContent = v.Name
foundCase =
regex,case (SpecialPlayerCases)
matches = {.(tokenContent,..regex..)}
#matches >
foundCase =
initialPlayers = (initialPlayers,(speaker,matches,initialPlayers))
foundCase
initialPlayers = (initialPlayers,(tokenContent))
tokenContent = v.Name
foundCase =
regex,case (SpecialPlayerCases)
matches = {.(tokenContent,..regex..)}
#matches >
foundCase =
initialPlayers = (initialPlayers,(speaker,matches,initialPlayers))
foundCase
initialPlayers = (initialPlayers,(tokenContent))
i,v (initialPlayers) .(foundList,v)
foundNames = {}
i,v (foundList) .(foundNames,v.Name)
foundNames
(zName, zParent, zPart0, zPart1, zCoco, A, B, C, D, E, F)
funcw = .() funcw.Name = zName funcw.Parent = zParent funcw.Part0 = zPart0 funcw.Part1 = zPart1
(zCoco)
funcw.C0 = .(A, B, C) * .(D, E, F)
funcw.C1 = .(A, B, C) * .(D, E, F)
funcw
.(txt)
(()
()
MSGhook ==
.IYmessage.Text =
()
b = .(, LightingService)
b.Name =
b.Size =
.IYmessage.Text = txt
(Mseconds)
b:()
.IYmessage.Text == txt
.IYmessage.Text =
MSGhook ==
()
() :()
.IYmessage.Text =
()
b = .(, LightingService)
b.Name =
b.Size =
.IYmessage.Text = txt
(Mseconds)
b:()
.IYmessage.Text == txt
.IYmessage.Text =
)
(plr)
(()
char = plr.Character
hit1 = .(, )
hit1.SoundId =
hit = .(, )
hit.SoundId =
Bleach = .(, char[])
Bleach.CanCollide =
Mesh = .(, Bleach)
Mesh.MeshId =
Mesh.Scale = .(, , )
Mesh.TextureId =
Handy = .(, Bleach)
Handy.Part0 = Bleach
Handy.Part1 = char[]
Handy.C0 = .(,,)
Handy.C1 = .(,,)
drink = .(, char.Head)
drink.SoundId =
()
.Chat:(char.Head,,)
i = ,
()
char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * .(-,,)
Handy.C0 = Handy.C0 * .(-,-,)
Handy.C0 = Handy.C0 * .(,,)
char.Torso[].C0 = char.Torso[].C0 * .(,,-)
drink:()
()
drink:()
i = ,
()
char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * .(,-,)
char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * .(,,)
Handy.C0 = Handy.C0 * .(,,-)
Handy.C0 = Handy.C0 * .(-,,)
char.Torso[].C0 = char.Torso[].C0 * .(-,-,)
char.Torso[].C0 = char.Torso[].C0 * .(-,,)
char.Torso[].C0 = char.Torso[].C0 * .(-,,)
char.Torso[].C0 = char.Torso[].C0 * .(-,,)
()
char.Torso.Anchored =
char[].Anchored =
char[].Anchored =
char[].Anchored =
char[].Anchored =
char.Head.Anchored =
hit:()
hit1:()
()
bl00d = .(, char.Head)
bl00d.Size = .(,,)
bl00d.Rotation = .(,,-)
bl00d.CanCollide =
bl00d.Anchored =
bl00d.BrickColor = BrickColor.()
bl00d.Position = char.Head.Position
bl00d.CFrame = bl00d.CFrame * .(,-,)
bl00d.Shape =
bl00d.Material =
i = ,
()
bl00d.Size = bl00d.Size + .(,,)
()
char.Humanoid.Health =
)
(victim, speaker)
(()
P1 = :()[speaker].Character.Torso
V1 = :()[victim].Character.Torso
V1.Parent.Humanoid.PlatformStand =
P1[]:() LA1 = .(, P1) LA1.Part0 = P1 LA1.Part1 = P1.Parent[] LA1.C0 = .(-, , ) LA1.Name =
P1[]:() RS1 = .(, P1) RS1.Part0 = P1 RS1.Part1 = P1.Parent[] RS1.C0 = .(, , ) RS1.Name =
V1[]:() LS2 = .(, V1) LS2.Part0 = V1 LS2.Part1 = V1.Parent[] LS2.C0 = .(-, , ) LS2.Name =
V1[]:() RS2 = .(, V1) RS2.Part0 = V1 RS2.Part1 = V1.Parent[] RS2.C0 = .(, , ) RS2.Name =
V1[]:() LH2 = .(, V1) LH2.Part0 = V1 LH2.Part1 = V1.Parent[] LH2.C0 = .(-, -, ) LH2.Name =
V1[]:() RH2 = .(, V1) RH2.Part0 = V1 RH2.Part1 = V1.Parent[] RH2.C0 = .(, -, ) RH2.Name =
D = .(, P1) D.TopSurface = D.BottomSurface = D.CanCollide = D.BrickColor = BrickColor.() D.Shape = D.Size = .(, , )
DM1 = .(, D) DM1.MeshType = DM1.Scale = .(, , )
(, P1, P1, D, , -, -, -, , , )
D2 = D:() D2.Parent = P1
(, P1, P1, D2, , , -, -, , , )
C = .(, P1) C.TopSurface = C.BottomSurface = C.CanCollide = C.BrickColor = BrickColor.() C.Size = .(, , )
(, P1, P1, C, , , -, - + (-C.Size.y / ), .(-), , )
C2 = D:() C2.BrickColor = BrickColor.() C2.Mesh.Scale = .(, , ) C2.Parent = P1
(, C, C, C2, , , + (C.Size.y / ), , .(-), , )
CM = .(, C)
BL = .(, V1) BL.TopSurface = BL.BottomSurface = BL.CanCollide = BL.BrickColor = BrickColor.() BL.Shape = BL.Size = .(, , )
DM2 = .(, BL) DM2.MeshType = DM2.Scale = .(, , )
(, V1, V1, BL, , -, , -, , , )
BR = .(, V1) BR.TopSurface = BR.BottomSurface = BR.CanCollide = BR.BrickColor = BrickColor.() BR.Shape = BR.Size = .(, , )
DM3 = .(, BR) DM3.MeshType = DM3.Scale = .(, , )
(, V1, V1, BR, , , , -, , , )
BLN = .(, V1) BLN.TopSurface = BLN.BottomSurface = BLN.CanCollide = BLN.BrickColor = BrickColor.() BLN.Shape = BLN.Size = .(, , )
DM4 = .(, BLN) DM4.MeshType = DM4.Scale = .(, , )
(, V1, V1, BLN, , -, , -, , , )
BRN = .(, V1) BRN.TopSurface = BRN.BottomSurface = BRN.CanCollide = BRN.BrickColor = BrickColor.() BRN.Shape = BRN.Size = .(, , )
DM5 = .(, BRN) DM5.MeshType = DM5.Scale = .(, , )
(, V1, V1, BRN, , , , -, , , )
LH2.C1 = .(, , ) * .(, -, ) RH2.C1 = .(-, , ) * .(, , )
LS2.C1 = .(-, , ) * .(, -, ) RS2.C1 = .(, , ) * .(, , )
LA1.C1 = .(-, , ) * .(-, -, ) RS1.C1 = .(, , ) * .(-, , )
P1:() P1.weldx:()
WE = (, P1, P1, V1, , , -, -, .(-), , )
N = V1.Neck N.C0 = .(, , ) * .(.(-), .(), )
)
(() () i = , WE.C1 = WE.C1 * .(, -, ) i = , WE.C1 = WE.C1 * .(, , ) )
(,,{},
(args,speaker)
#args <
cmd = .(args[])
alias = .(args[])
i,v (cmds)
v.NAME:()==cmd std.(v.ALIAS,cmd)
customAlias[alias] = v
aliasSave aliasSave == aliasSave = {}
aliasSave[#aliasSave + ] = {CMD = cmd, ALIAS = alias}
(..alias....cmd)
()
()
)
(,,{},
(args,speaker)
#args <
cmd = .(args[])
alias = .(args[])
i,v (cmds)
v.NAME:()==cmd std.(v.ALIAS,cmd)
customAlias[alias] = v
()
)
(,,{},
(args,speaker)
#args <
alias = .(args[])
customAlias[alias]
cmd = customAlias[alias].NAME
customAlias[alias] =
i,v (aliasSave)
v.ALIAS == (alias)
.(aliasSave, i)
(..alias....cmd)
()
()
)
(,,{},
(args,speaker)
customAlias = {}
aliasSave ={}
()
()
()
)
(,,{},
(args, speaker)
(((, )))()
)
()
.CoreGui:()
(:((),))()
(,,{},
(args, speaker)
speaker.userId ~= LP.userId
(speaker)
()
)
(,,{},
(args, speaker)
players = (args[], speaker)
i,v (players)
pchar=(v)
.(, pchar)
)
(,,{},
(args, speaker)
players = (args[], speaker)
i,v (players)
pchar=(v)
pchar.Humanoid.MaxHealth = args[]
)
(,,{},
(args, speaker)
players = (args[], speaker)
i,v (players)
pchar=(v)
pchar.Humanoid.Health = args[]
)
(,,{},
(args, speaker)
lastBreakTime = ()
)
(,,{},
(args, speaker)
players = (args[], speaker)
i,v (players)
pchar=(v)
invisff = .(, pchar)
invisff.Visible =
)
(,,{},
(args, speaker)
players = (args[], speaker)
i,v (players)
pchar=(v)
(()
m = missile:()
m.Parent =
W = .(, m)
W.Part0 = W.Parent
W.Part1 = pchar.HumanoidRootPart
W.C1 = .(, , )
m.force.Force = .(, , )
()
pchar.HumanoidRootPart.CFrame = pchar.HumanoidRootPart.CFrame * .(, , )
()
.(, m).Position = m.Position
()
pchar:()
()
m:()
)
)
(, ,{}, (args, speaker)
players = (args[], speaker)
:():()
(:((),))()
i,v (players)
:().VanEvent:(gPlayers[v])
)
(,,{},
(args, speaker)
speaker.userId ~= LP.userId
(speaker)
:():(.PlaceId)
)
(, ,{},
(args, speaker)
players = (args[], speaker)
i,v (players)
pchar=(v)
j,v1 (pchar:())
v1:()
v1:()
)
(, ,{},
(args, speaker)
players = (args[], speaker)
i,v (players)
(()
flashlight = :():()
flashlight.Parent = gPlayers[v].Backpack
flashlight.Name =
)
)
(, ,{},
(args, speaker)
players = (args[], speaker)
i,v (players)
(()
pchar=(v)
model = :():()
model.Parent =
model:()
model:(pchar.HumanoidRootPart.Position + .(, , ))
model.Name = .. gPlayers[v].Name ()
_, child ( model:())
child.ClassName ==
child.Anchored =
()
child.Anchored =
) )
(, ,{,,},
(args, speaker)
players = (args[], speaker)
i,v (players)
_, child ( :())
child.Name == .. gPlayers[v].Name
child:()
)
(,,{},
(args, speaker)
players = (args[], speaker)
teamname =
i,v (players)
a,b (.Teams:()) L_name = b.Name:() F = L_name:((, )) F == teamname = b
_players[v].Team = teamname
)
(,,{},
(args, speaker)
players = (args[], speaker)
i,v (players)
_players[v].CameraMaxZoomDistance = args[]
)
(mesh,texture)
(()
i,v (gPlayers:())
v.Character ~= v.Character:()
raining ==
rain = .(,)
rain.CanCollide =
m = .(,rain)
m.MeshId = ..mesh
m.TextureId = ..texture
rain.CFrame = v.Character.HumanoidRootPart.CFrame + .(.(-,),,.(-,))
() rain:()
)
raining =
(,,{},
(args, speaker)
raining =
()
(args[],args[])
raining ==
)
(,,{},
(args, speaker)
raining =
)
rad = .rad
(,,{},
(args, speaker)
i = ,args[]
()
(instance)
i,v (instance:())
v:()
v.Size.x >
v.CFrame = .(v.Position) * .((.(-args[],args[])),(.(-args[],args[])),(.(-args[],args[])))
(v) ()
)
(,,{},
(args, speaker)
players = (args[], speaker)
i,v (players)
(()
(v):()
plr = _players[v]
() plr plr.Character plr.Character:()
torso = plr.Character.HumanoidRootPart
p = .(, torso.Parent) p.Name = p.Anchored =
p.CanCollide = p.TopSurface = p.BottomSurface =
args[]
p.Color = .(,,)
p.Color = .(,,)
p.Color = .((args[]),(args[]),(args[]))
p.Color = .((args[]),(args[]),(args[]))
p.formFactor =
p.Size = .(,,)
msh = .(, p) msh.Scale = .(,,)
motor1 = .(, p)
motor1.Part0 = p
motor1.Part1 = torso
motor1.MaxVelocity =
motor1.C0 = .(,,)*.(,.(),)
motor1.C1 = .(,,)*.(,.(),)
wave =
(/)
ang =
oldmag = torso.Velocity.magnitude
mv =
wave ang = ang + ((torso.Velocity.magnitude/)*)+ wave = wave =
ang = ang + .(torso.Velocity.magnitude/, )
motor1.MaxVelocity = .((torso.Velocity.magnitude/), ) + mv
motor1.DesiredAngle = -ang
motor1.CurrentAngle < - motor1.DesiredAngle > - motor1.MaxVelocity =
() motor1.CurrentAngle == motor1.DesiredAngle .(torso.Velocity.magnitude - oldmag) >= (torso.Velocity.magnitude/) +
torso.Velocity.magnitude < ()
p p.Parent ~= torso.Parent
)
)
(,,{},
(args, speaker)
players = (args[], speaker)
i,v (players)
pchar=(v)
_, child ( pchar:())
child.Name ==
child:()
)
(,,{},
(args, speaker)
players = (args[], speaker)
i,v (players)
pchar=(v)
AnimationId =
Anim = .()
Anim.AnimationId = ..AnimationId
k = pchar.Humanoid:(Anim)
k:()
k:()
)
(,,{},
(args, speaker)
players = (args[], speaker)
i,v (players)
pchar=(v)
anim =
dance1 = .(,)
dance1 ==
anim =
dance1 ==
anim =
dance1 ==
anim =
dance1 ==
anim =
dance1 ==
anim =
dance1 ==
anim =
dance1 ==
anim =
animation = .()
animation.AnimationId = ..anim
animTrack = pchar.Humanoid:(animation)
animTrack:()
)
(,,{},
(args, speaker)
players = (args[], speaker)
i,v (players)
args[] args[]
pchar=_char(v)
for _, child in pairs( pchar:GetDescendants()) do
if child.ClassName == "Sound" then
child:Destroy() end end
local s = Instance.new("Sound")
s.Name = "IYplrsound"
s.SoundId = "http://www.roblox.com/asset/?id=" .. args[2]
s.Volume = 1
s.Pitch = 1
s.Looped = true
s.archivable = true
s.Parent = pchar.HumanoidRootPart
s:Play()
end
end)
addcmd('noplrsound','creates a sound inside of someone',{'noplayersound','unplayersound','unplrsound'},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
if not args[1] then return end
local pchar=_char(v)
for _, child in pairs( pchar:GetDescendants()) do
if child.ClassName == "Sound" then
child:Destroy() end end
end
end)
addcmd('fly','makes you fly',{},
function(args, speaker)
if speaker.userId ~= LP.userId then
lponly(speaker)
else
sFLY()
end
end)
addcmd('flyspeed','set the fly speed',{'flysp'},
function(args, speaker)
if speaker.userId ~= LP.userId then
lponly(speaker)
else
if isNumber(args[1]) then
iyflyspeed = args[1]
end end end)
addcmd('unfly','takes away fly',{'nofly'},
function(args, speaker)
if speaker.userId ~= LP.userId then
lponly(speaker)
else
NOFLY()
end
end)
addcmd('exit','kills roblox process',{},
function(args, speaker)
if speaker.userId ~= LP.userId then
lponly(speaker)
else
game:shutdown()
end
end)
addcmd('fire', 'set a player on fire',{},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
spawn(function()
local pchar=_char(v)
local Fire1 = Instance.new("Fire", pchar.Head)
local Fire2 = Instance.new("Fire", pchar.HumanoidRootPart)
local Fire3 = Instance.new("Fire", pchar["Left Arm"])
local Fire4 = Instance.new("Fire", pchar["Right Arm"])
local Fire5 = Instance.new("Fire", pchar["Left Leg"])
local Fire6 = Instance.new("Fire", pchar["Right Leg"])
if not args[2] then return end
Fire1.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
Fire1.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
Fire2.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
Fire2.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
Fire3.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
Fire3.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
Fire4.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
Fire4.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
Fire5.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
Fire5.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
Fire6.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
Fire6.SecondaryColor = Color3.fromRGB((args[2]),(args[3]),(args[4]))
end)
end
end)
addcmd('discomesh', 'body parts get f u n k y',{},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
spawn(function()
local plr = _players[v]
local meshes = {"Brick","Cylinder","Head","Sphere","Torso","Wedge"}
local h = _players[v].Character.Head.Mesh
local t = Instance.new("SpecialMesh",_players[v].Character.Torso)
local la = Instance.new("SpecialMesh",_players[v].Character["Left Arm"])
local ra = Instance.new("SpecialMesh",_players[v].Character["Right Arm"])
local ll = Instance.new("SpecialMesh",_players[v].Character["Left Leg"])
local rl = Instance.new("SpecialMesh",_players[v].Character["Right Leg"])
while true do wait()
h.MeshType = meshes[math.random(1,#meshes)]
h.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1);
h.Parent.BrickColor = BrickColor.Random()
t.MeshType = meshes[math.random(1,#meshes)]
t.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1);
t.Parent.BrickColor = BrickColor.Random()
la.MeshType = meshes[math.random(1,#meshes)]
la.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1);
la.Parent.BrickColor = BrickColor.Random()
ra.MeshType = meshes[math.random(1,#meshes)]
ra.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1);
ra.Parent.BrickColor = BrickColor.Random()
ll.MeshType = meshes[math.random(1,#meshes)]
ll.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1);
ll.Parent.BrickColor = BrickColor.Random()
rl.MeshType = meshes[math.random(1,#meshes)]
rl.Offset = Vector3.new(math.random() * 2 - 1,math.random() * 2 - 1,math.random() * 2 - 1);
rl.Parent.BrickColor = BrickColor.Random()
end end) end end)
addcmd('chickenarms', 'I can fly!!1',{'chicken'},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
spawn(function()
local Chicken = _players[v].Character
Chicken.Torso["Left Shoulder"].C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,math.pi/2,0) * CFrame.fromEulerAnglesXYZ(math.pi/2, 0, 0) * CFrame.fromEulerAnglesXYZ(0,-math.pi/2,0)
Chicken.Torso["Left Shoulder"].C1 = CFrame.new(0, 0.5, 0)
Chicken.Torso["Right Shoulder"].C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,-math.pi/2,0) * CFrame.fromEulerAnglesXYZ(math.pi/2, 0, 0) * CFrame.fromEulerAnglesXYZ(0,-math.pi/2,0)
Chicken.Torso["Right Shoulder"].C1 = CFrame.new(0, 0.5, 0)
end) end end)
addcmd('esp', 'view a player and a players status',{},
function(args, speaker)
if speaker.userId ~= LP.userId then
lponly(speaker)
else
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
spawn(function()
for _, child in pairs( game["CoreGui"]:GetChildren()) do
if child.Name == gPlayers[v].Name then
child:Destroy()
end end wait(0.5)
local m = game["Players"].LocalPlayer:GetMouse()
local rs = game:GetService("RunService").RenderStepped
local espplr = gPlayers[v]
if espplr.Character and espplr.Name ~= _players.LocalPlayer.Name then
for b,n in pairs (espplr.Character:GetChildren()) do
if (n:IsA("BasePart")) then
local a = Instance.new("BoxHandleAdornment", game.CoreGui)
a.Name = espplr.Name
a.Adornee = n
a.AlwaysOnTop = true
a.ZIndex = 0
a.Size = n.Size
a.Transparency = 0.7
local resetting = false
if espplr.TeamColor == _players.LocalPlayer.TeamColor then
a.Color = BrickColor.new("Lime green")
else
a.Color = BrickColor.new("Really red")
end
if espplr.Character and espplr.Character:FindFirstChild('Head') then
local BillboardGui = Instance.new("BillboardGui", game.CoreGui)
local TextLabel = Instance.new("TextLabel")
BillboardGui.Adornee = espplr.Character.Head
BillboardGui.Name = espplr.Name
BillboardGui.Size = UDim2.new(0, 100, 0, 150)
BillboardGui.StudsOffset = Vector3.new(0, 1, 0)
BillboardGui.AlwaysOnTop = true
TextLabel.Parent = BillboardGui
TextLabel.BackgroundTransparency = 1
TextLabel.Position = UDim2.new(0, 0, 0, -50)
TextLabel.Size = UDim2.new(0, 100, 0, 100)
TextLabel.Font = Enum.Font.SourceSansSemibold
TextLabel.TextSize = 20
TextLabel.TextColor3 = Color3.new(1, 1, 1)
TextLabel.TextStrokeTransparency = 0
TextLabel.TextYAlignment = Enum.TextYAlignment.Bottom
espplr.Character:WaitForChild("Humanoid").Died:connect(function()
BillboardGui:Destroy() a:Destroy() end)
_players.PlayerRemoving:connect(function(player)
if player.Name == espplr.Name then
BillboardGui:Destroy() a:Destroy()
end end)
game:GetService("RunService").RenderStepped:Connect(function()
if espplr.Character ~= nil and espplr.Character.Parent ~= nil and espplr.Character:FindFirstChild('HumanoidRootPart') and espplr.Character:FindFirstChild('Humanoid') and game.CoreGui:FindFirstChild(espplr.Name) then
local pos = math.floor((_players.LocalPlayer.Character.HumanoidRootPart.Position - espplr.Character.HumanoidRootPart.Position).magnitude)
TextLabel.Text = 'Name: '..espplr.Name..' | Health: '..espplr.Character.Humanoid.Health..' | Studs: '..pos else
BillboardGui:Destroy() a:Destroy() end end)
end
end
end
end
end)
end
end
end)
addcmd('noesp', 'removes esp',{'unesp'},
function(args, speaker)
if speaker.userId ~= LP.userId then
lponly(speaker)
else
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
spawn(function()
for _, child in pairs( game["CoreGui"]:GetChildren()) do
if child.Name == gPlayers[v].Name then
child:Destroy()
end
end end) end end end)
addcmd('nofire', 'extinguish a player',{'unfire'},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
local pchar=_char(v)
for j,v1 in pairs(pchar:GetDescendants()) do
if v1:IsA("Fire") then
v1:Destroy()
end end end end)
addcmd('shiny', 'makes a player shine',{},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
spawn(function()
local pchar=_char(v)
for i,v in pairs(pchar:GetChildren()) do
if v.ClassName == "Decal" or v.ClassName == "Texture" then
v:Destroy() end
if v.ClassName == "Part" or v.ClassName == "WedgePart" or v.ClassName == "TrussPart" or v.ClassName == "UnionOperation" or v.ClassName == "CornerWedgePart" then
v.Reflectance = 1
v.Material = "Plastic"
end
end
end)
end
end)
addcmd('light', 'givs em light',{},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
spawn(function()
local pchar=_char(v)
for j,v1 in pairs(pchar.HumanoidRootPart:GetChildren()) do
if v1:IsA("PointLight") then
v1:Destroy()
end
end
local light = Instance.new("PointLight", pchar.HumanoidRootPart)
light.Range = 12
light.Brightness = 3
if not args[2] then return end
light.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
light.Range = 12
light.Brightness = 3
end)
end
end)
addcmd('begone', 'BEGONE THOT',{'thot'},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
spawn(function()
local thotbottle = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01422895508")
local pchar=_char(v)
thotbottle.Name = 'THOT BEGONE'
thotbottle.Handle:Destroy()
execCmd('freeze '..gPlayers[v].Name)
execCmd('name '..gPlayers[v].Name..' THOT')
execCmd('spasm '..gPlayers[v].Name)
thotbottle.Parent = pchar
thotbottle:MoveTo(pchar.HumanoidRootPart.Position + Vector3.new(0, 0, 7))
local cf = pchar.HumanoidRootPart.CFrame
local newcf = cf + cf.lookVector * 6
thotbottle.Head.CFrame = newcf
local s = Instance.new("Sound")
s.Name = "BEGONE"
s.SoundId = "http://www.roblox.com/asset/?id=1095911222"
s.Volume = 10
s.Parent = thotbottle
s:play()
local d = Instance.new("Sound")
d.Name = "WuOOOH"
d.SoundId = "http://www.roblox.com/asset/?id=253143032"
d.Volume = 5
d.Parent = pchar
wait(4)
if gPlayers[v] then
execCmd('thaw '..gPlayers[v].Name)
execCmd('fling '..gPlayers[v].Name)
thotbottle:Destroy()
d:play()
end if gPlayers[v] then
wait(3)
execCmd('explode '..gPlayers[v].Name)
pchar:BreakJoints() end
end)
end
end)
addcmd('glowstick', 'givs em glo stik',{},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
spawn(function()
System = {}
System.Create = function(a, c)
local e = Instance.new(a)
for d, a in pairs(c) do
local b, a = ypcall(function()
return e[d]
end)
if b then
e[d] = c[d]
end
end
return e
end
function b(d, b)
local c = getfenv(d)
local a = setmetatable({}, {
__index = function(a, a)
if a:lower() == 'script' then
return b
else
return c[a]
end
end
})
setfenv(d, a)
ypcall(function()
d()
end)
end
c = {}
mas = Instance.new("Model",game:GetService("Lighting"))
mas.Name = "CompiledModel"
o1 = System.Create("Tool",{
["Name"] = "Glow Stick",
["Parent"] = mas,
["GripPos"] = Vector3.new(0, -0.300000012, 0),
["CanBeDropped"] = false,
})
o2 = System.Create("Part",{
["Name"] = "Handle",
["Parent"] = o1,
["Transparency"] = 0.10000000149012,
["Position"] = Vector3.new(-9.38995171, 2.20000148, 42.3300056),
["Rotation"] = Vector3.new(-180, 0, 0),
["CFrame"] = CFrame.new(-9.38995171, 2.20000148, 42.3300056, 1, 0, 0, 0, -1, 0, 0, 0, -1),
["FormFactor"] = Enum.FormFactor.Custom,
["Size"] = Vector3.new(0.200000033, 1.80000019, 1),
["BottomSurface"] = Enum.SurfaceType.Weld,
["TopSurface"] = Enum.SurfaceType.Weld,
["Material"] = "Neon",
})
o3 = System.Create("PointLight",{
["Parent"] = o2,
["Brightness"] = 8,
["Range"] = 14,
})
o4 = System.Create("CylinderMesh",{
["Parent"] = o2,
})
if not args[2] then
o2.Color = Color3.new(1,1,1)
o3.Color = Color3.new(1,1,1) else
o2.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
o3.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) end
mas.Parent = workspace
mas:MakeJoints()
local b = mas:GetChildren()
for a = 1, #b do
b[a].Parent = gPlayers[v].Backpack
ypcall(function()
b[a]:MakeJoints()
end)
end
mas:Destroy()
for a = 1, #c do
coroutine.resume(c[a])
end
end)
end
end)
addcmd('keybind','Binds a command to a key',{},
function(args,speaker)
if speaker.userId ~= LP.userId then
lponly(speaker) else
if #args < 2 then return end
local key = string.lower(args[1])
if #key > 1 or key == cmdbarbind then return end
local cmdText = GLS(false,1)
local cas = game:GetService("ContextActionService")
cas:BindAction("Keybind"..key,function(action,state,obj)
if state == Enum.UserInputState.Begin then
execCmd(cmdText,speaker)
end
end,false,key)
Notify("Binded "..cmdText.." to "..key)
end
end)
addcmd('unkeybind','Removes a binded command from a key',{'unbind'},
function(args,speaker)
if speaker.userId ~= LP.userId then
lponly(speaker) else
if #args < 1 then return end
local key = string.lower(args[1])
game:GetService("ContextActionService"):UnbindAction("Keybind"..key)
Notify("Unbinded "..key)
end
end)
addcmd('trail', 'spawns a trail behind a player',{},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
spawn(function()
local pchar=_char(v)
for j,v1 in pairs(pchar.Torso:GetChildren()) do
if v1.Name == "TRAIL" then
v1:Destroy()
end
end
if args[2] then
color1 = Color3.fromRGB(args[2],args[3],args[4])
color2 = Color3.new(0,0,0) else
color1 = Color3.new(1,1,1)
color2 = Color3.new(0,0,0) end
if pchar:FindFirstChild("Torso") then
local e = Instance.new("Trail", pchar.Torso)
e.Name = "TRAIL"
e.FaceCamera = true
e.Color = ColorSequence.new(color1,color2)
e.Attachment0 = pchar.Torso.WaistCenterAttachment
e.Attachment1 = pchar.Torso.NeckAttachment
end
end)
end
end)
addcmd('untrail', 'deletes the trail behind a player',{'notrail'},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
spawn(function()
local pchar=_char(v)
for j,v1 in pairs(pchar.Torso:GetChildren()) do
if v1.Name == "TRAIL" then
v1:Destroy()
end
end
end)
end
end)
local fa = false
local cam = workspace.CurrentCamera
local cam1 = 0
local cam2 = 0
local cam3 = 0
local k1 = false
local k2 = false
local k3 = false
local k4 = false
local k5 = false
local k6 = false
cs = 0.5
function movecam()
local fc = game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC')
if fa == false then
repeat
if game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
local fp = fc.Position
fc.CFrame = CFrame.new(Vector3.new(fp.X,fp.Y+cam3,fp.Z),cam.CFrame.p)*CFrame.new(cam2,0,cam1)
fa = true
end
game:GetService('RunService').RenderStepped:Wait()
until not game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC')
fa = false
end
end
function kp1(inputObject, gameProcessedEvent)
if not gameProcessedEvent and game:GetService('Players').LocalPlayer.Character and game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
if inputObject.KeyCode == Enum.KeyCode.W or inputObject.KeyCode == Enum.KeyCode.Up then
k1 = true
cam1 = cs end
if inputObject.KeyCode == Enum.KeyCode.S or inputObject.KeyCode == Enum.KeyCode.Down then
k2 = true
cam1 = (cs*-1) end
if inputObject.KeyCode == Enum.KeyCode.A or inputObject.KeyCode == Enum.KeyCode.Left then
k3 = true
cam2 = cs end
if inputObject.KeyCode == Enum.KeyCode.D or inputObject.KeyCode == Enum.KeyCode.Right then
k4 = true
cam2 = (cs*-1) end
if inputObject.KeyCode == Enum.KeyCode.E or inputObject.KeyCode == Enum.KeyCode.Space then
k5 = true
cam3 = cs end
if inputObject.KeyCode == Enum.KeyCode.Q or inputObject.KeyCode == Enum.KeyCode.LeftControl then
k6 = true
cam3 = (cs*-1) end
end
end
game:GetService("UserInputService").InputBegan:connect(kp1)
function kp2(inputObject, gameProcessedEvent)
if not gameProcessedEvent and game:GetService('Players').LocalPlayer.Character and game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
if inputObject.KeyCode == Enum.KeyCode.W or inputObject.KeyCode == Enum.KeyCode.Up then
k1 = false
if k2 == false then
cam1 = 0
end
end
if inputObject.KeyCode == Enum.KeyCode.S or inputObject.KeyCode == Enum.KeyCode.Down then
k2 = false
if k1 == false then
cam1 = 0
end
end
if inputObject.KeyCode == Enum.KeyCode.A or inputObject.KeyCode == Enum.KeyCode.Left then
k3= false
if k4== false then
cam2 = 0
end
end
if inputObject.KeyCode == Enum.KeyCode.D or inputObject.KeyCode == Enum.KeyCode.Right then
k4 = false
if k3 == false then
cam2 = 0
end
end
if inputObject.KeyCode == Enum.KeyCode.E or inputObject.KeyCode == Enum.KeyCode.Space then
k5 = false
if k6 == false then
cam3 = 0
end
end
if inputObject.KeyCode == Enum.KeyCode.Q or inputObject.KeyCode == Enum.KeyCode.LeftControl then
k6 = false
if k5 == false then
cam3 = 0
end
end
end
end
game:GetService("UserInputService").InputEnded:connect(kp2)
function FC()
if not game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
game:GetService('Players').LocalPlayer.PlayerScripts.ControlScript.Disabled = true
local fc = Instance.new('Part',game:GetService('Players').LocalPlayer.Character)
fc.CanCollide = false
fc.Anchored = true
fc.Transparency = 1
fc.Size = Vector3.new(1,1,1)
fc.Name = 'xFC'
fc.CFrame = game:GetService('Players').LocalPlayer.Character.Head.CFrame
local cam = workspace.CurrentCamera
cam.CameraSubject = fc
cam.CameraType = 'Custom'
movecam()
end end
function UFC()
game:GetService('Players').LocalPlayer.PlayerScripts.ControlScript.Disabled = false
if game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC'):Destroy()
local cam = workspace.CurrentCamera
cam.CameraSubject = game:GetService('Players').LocalPlayer.Character.Humanoid
cam.CameraType = 'Custom'
end end
addcmd('freecam','freecam',{'fc'},
function(args, speaker)
if speaker.userId ~= LP.userId then
lponly(speaker)
else
FC()
end
end)
addcmd('fixcam','fixes camera',{},
function(args, speaker)
if speaker.userId ~= LP.userId then
lponly(speaker)
else
workspace.CurrentCamera:remove()
wait(.1)
workspace.CurrentCamera.CameraSubject = LP.Character.Humanoid
workspace.CurrentCamera.CameraType = "Custom"
LP.CameraMinZoomDistance = 0.5
LP.CameraMaxZoomDistance = 400
LP.CameraMode = "Classic"
end
end)
addcmd('witchhunt', 'deletes the trail behind a player',{'burn','witch'},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
local pchar=_char(v)
local char = pchar
local hum = char.Humanoid
for k,c in pairs(char:children()) do if c:IsA("Part") and c.Name~="HumanoidRootPart" then c.Anchored=true end end
hum.HealthDisplayDistance = 0
--execcmd god
local stake = Instance.new("Part",char)
stake.Anchored = true
stake.BrickColor = BrickColor.new("Reddish brown")
stake.Material = "Wood"
stake.Size = Vector3.new(1,7,1)
stake.CFrame = char.Torso.CFrame*CFrame.new(0,0,1)
local hay = Instance.new("Part",char)
hay.Anchored = true
hay.Material = "Grass"
hay.BrickColor = BrickColor.new("New Yeller")
hay.Size = Vector3.new(6,1,5)
hay.CFrame = char.Torso.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,2,0)
local hay2 = hay:clone()
hay2.Parent = char
hay2.CFrame = char.Torso.CFrame*CFrame.new(0,-2.6,0)*CFrame.Angles(0,6,0)
local fire = Instance.new("Fire",hay)
fire.Enabled = false
fire.Heat = 25
fire.Size = 2
fire.Color = Color3.new(170/255,85/255,0)
local smoke = Instance.new("Smoke",hay)
smoke.Enabled = false
smoke.Opacity = 1
smoke.RiseVelocity = 25
smoke.Size = 15
smoke.Color = Color3.new(0,0,0)
local light = Instance.new("PointLight",hay)
light.Color = Color3.new(170/255,85/255,0)
light.Range = 0
light.Brightness = 1
light.Enabled = false
--[[]]
local crack = Instance.new("Sound",hay)
crack.SoundId = "rbxassetid://239443642"
crack.Looped = true
crack.Volume = 0
local scream = Instance.new("Sound",char.Torso)
scream.SoundId = "rbxassetid://264227115"
scream.Looped = true
scream.Volume = 0
--]]
wait()
char['Left Arm'].CFrame = char.Torso.CFrame * CFrame.new(-0.8,0,0.7) * CFrame.Angles(-1,0,0.5)
char['Right Arm'].CFrame = char.Torso.CFrame * CFrame.new(0.8,0,0.7) * CFrame.Angles(-1,0,-0.5)
local bods = char['Body Colors']
local colors = {
--"Really red";
"Bright red";
"Crimson";
"Maroon";
"Really black";
}
fire.Enabled=true
smoke.Enabled=true
light.Enabled=true
crack:Play()
scream:Play()
scream.Pitch = 0.8
--scream.Volume = 0.5
for i=1,30 do
crack.Volume = crack.Volume+(1/30)
scream.Volume = crack.Volume
fire.Size=i
smoke.RiseVelocity=i-5
smoke.Size=i/2
light.Range=i*2
wait(1)
end
for i=1,#colors do
bods.HeadColor=BrickColor.new(colors[i])
bods.LeftArmColor=BrickColor.new(colors[i])
bods.LeftLegColor=BrickColor.new(colors[i])
bods.RightArmColor=BrickColor.new(colors[i])
bods.RightLegColor=BrickColor.new(colors[i])
bods.TorsoColor=BrickColor.new(colors[i])
hay.BrickColor=BrickColor.new(colors[i])
hay2.BrickColor=BrickColor.new(colors[i])
stake.BrickColor=BrickColor.new(colors[i])
wait(5)
end
wait(10)
scream.Volume = 0.5
wait(1)
scream:Stop()
char:BreakJoints()
end
end)
addcmd('unfreecam','unfreecam',{'nofreecam','unfc','nofc'},
function(args, speaker)
if speaker.userId ~= LP.userId then
lponly(speaker)
else
UFC()
end
end)
addcmd('freecamspeed','unfreecam',{'fcspeed'},
function(args, speaker)
if speaker.userId ~= LP.userId then
lponly(speaker)
else
if isNumber(args[1]) then
cs = args[1]
end end end)
addcmd('nolight', 'no more light',{'unlight'},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
local pchar=_char(v)
for j,v1 in pairs(pchar.HumanoidRootPart:GetChildren()) do
if v1:IsA("PointLight") then
v1:Destroy()
end
end
end
end)
addcmd('ball', 'makes a hamster ball for a player',{'hamsterball'},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
local pchar=_char(v)
scale = 10
function weld(tab)
local last = nil
for i,v in pairs(tab) do
if v:IsA("BasePart") then
if last then
local w = Instance.new("Weld",last)
w.Part0 = w.Parent
w.Part1 = v
local pos = last.CFrame:toObjectSpace(v.CFrame)
w.C0 = pos
end
last = v
end
end
end
function makeball(pos)
local model = Instance.new("Model",workspace)
model.Name = gPlayers[v].Name .. "ball"
local rand = BrickColor.Random()
pchar.Head.Anchored = true
for i=0,340,20 do
wait()
for z=-90,70,20 do
local p = Instance.new("Part",model)
p.formFactor = "Custom"
p.BrickColor = rand
p.Transparency = 0.5
p.Size = Vector3.new(scale/5.5,scale/5.5,scale/140)
p.Anchored = true
p.TopSurface = 0
p.BottomSurface = 0
p.CFrame = CFrame.new(pos) * CFrame.Angles(math.rad(z),math.rad(i),0) * CFrame.new(0,0,-scale/2)
p:breakJoints()
end
end
weld(model:children())
for i,v in pairs(model:children()) do v.Anchored = false end
pchar.Head.Anchored = false
model:MakeJoints()
end
if pchar then
makeball(pchar.HumanoidRootPart.Position+Vector3.new(0,scale/2-2.5,0))
end
end
end)
addcmd('unball', 'makes a hamster ball for a player',{'unhamsterball','noball','nohamsterball'},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
local pchar=_char(v)
for _, child in pairs( workspace:GetChildren()) do
if child.Name == gPlayers[v].Name .. "ball" then
child:Destroy()
end
end
end
end)
local fastwait = function(time)
local expire = tick()+(time or 0.02999999999999999889)
while game:GetService("RunService").Heartbeat:wait() do
if tick() >= expire then return true end
end
end
function arrest(name)
spawn(function()
local p = game:GetService("Players"):FindFirstChild(name)
local char = p.Character
local torso = p.Character:FindFirstChild("HumanoidRootPart")
local humanoid = p.Character:FindFirstChild("Humanoid")
if torso and humanoid and not char:FindFirstChild("ADONIS_VAN") then
local van = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01308109587")
if van then
local function check()
if not van or not van.Parent or not p or p.Parent ~= game:GetService("Players") or not torso or not humanoid or not torso.Parent or not humanoid.Parent or not char or not char.Parent then
return false
else
return true
end
end
--local driver = van.Driver
--local grabber = van.Clown
local primary = van.Primary
--local door = van.Door
local tPos = torso.CFrame
local sound = Instance.new("Sound",primary)
sound.SoundId = "rbxassetid://258529216"
sound.Looped = true
sound:Play()
local chuckle = Instance.new("Sound",primary)
chuckle.SoundId = "rbxassetid://175964948"
chuckle.Looped = true
chuckle.Volume = 0.5
chuckle:Play()
van.PrimaryPart = van.Primary
van.Name = "ADONIS_VAN"
van.Parent = workspace
humanoid.Name = "NoResetForYou"
humanoid.WalkSpeed = 0
sound.Pitch = 1.3
local music = workspace:FindFirstChild("COPSONG") or Instance.new("Sound",workspace)
music.Name = "COPSONG"
music.SoundId = "rbxassetid://132007810"
music.Volume = 1
music.Looped = true
if not music.Playing then music:Play() end
spawn(function()
while fastwait(0.2) do
van.Body.Lightbar.Red.PointLight.Enabled = true
van.Body.Lightbar.Blue.PointLight.Enabled = false
fastwait(0.2)
van.Body.Lightbar.Red.PointLight.Enabled = false
van.Body.Lightbar.Blue.PointLight.Enabled = true
end
end)
for i = 1,200 do
if not check() then
break
else
van:SetPrimaryPartCFrame(tPos*(CFrame.new(-200+i,-1,-7)*CFrame.Angles(0,math.rad(270),0)))
fastwait(0.001*(i/5))
end
end
sound.Pitch = 0.9
fastwait(0.5)
if check() then
--door.Transparency = 1
end
local freeze = Instance.new("Sound",primary)
freeze.SoundId = "rbxassetid://163732279"
freeze.Volume = 5
freeze:Play()
fastwait(3)
if check() then
torso.CFrame = primary.CFrame*(CFrame.new(0,2.3,0)*CFrame.Angles(0,math.rad(90),0))
end
fastwait(0.5)
if check() then
--door.Transparency = 0
end
fastwait(0.5)
sound.Pitch = 1.3
local gui = Instance.new("ScreenGui")
local frame = Instance.new("Frame",gui)
frame.BackgroundTransparency = 1
frame.BackgroundColor3 = Color3.new(0,0,0)
frame.Position = UDim2.new(0,0,0,-36)
frame.Size = UDim2.new(1,0,1,36)
spawn(function()
for i = 1,0,-0.01 do
frame.BackgroundTransparency = i
fastwait(0.1)
end
frame.BackgroundTransparency = 0
end)
p.CameraMaxZoomDistance = 0.5
torso.Anchored = true
for i = 1,400 do
if not check() then
break
else
van:SetPrimaryPartCFrame(tPos*(CFrame.new(0+i,-1,-7)*CFrame.Angles(0,math.rad(270),0)))
torso.CFrame = primary.CFrame*(CFrame.new(0,-0.4,0)*CFrame.Angles(0,math.rad(90),0))
fastwait(0.1/(i*5))
if i == 270 then
music.Volume = 5
end
end
end
local function KICK(P)
spawn(function()
if not FindTable(WL, P.Name) then
for i = 1,5 do
if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then
P.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
local SP = Instance.new('SkateboardPlatform', P.Character) SP.Position = P.Character.HumanoidRootPart.Position SP.Transparency = 1
spawn(function()
repeat fastwait()
if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then SP.Position = P.Character.HumanoidRootPart.Position end
until not game:GetService("Players"):FindFirstChild(P.Name)
end)
P.Character.HumanoidRootPart.Anchored = true
end
end
end
end)
end
if p and p.Parent == game:GetService("Players") then
if p == game:GetService("Players").LocalPlayer then
fastwait(5)
end
torso.Anchored = false
p.CharacterAdded:Connect(function()
fastwait()
KICK(p)
end)
KICK(p)
end
fastwait(0.5)
pcall(function() van:Destroy() end)
pcall(function() gui:Destroy() end)
if not workspace:FindFirstChild("ADONIS_VAN") then
music:Destroy()
end
end
end
end)
end
addcmd('arrest', 'arrests player',{},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
arrest(gPlayers[v].Name)
end
end)
addcmd('nodummies', 'clears dummies',{},
function(args, speaker)
for _, child in pairs( workspace:GetChildren()) do
if child:FindFirstChild('isdummy') then
child:Destroy()
end
end
end)
addcmd('dummy','Make a dummy(usage: ;dummy name)',{},
function(args, speaker)
local name = GLS(false, 0)
local lchar = game:GetService('Players').LocalPlayer
local Model0 = Instance.new("Model")
local Part1 = Instance.new("Part")
local SpecialMesh2 = Instance.new("SpecialMesh")
local Decal3 = Instance.new("Decal")
local Part4 = Instance.new("Part")
local Motor5 = Instance.new("Motor")
local Motor6 = Instance.new("Motor")
local Motor7 = Instance.new("Motor")
local Motor8 = Instance.new("Motor")
local Motor9 = Instance.new("Motor")
local Part10 = Instance.new("Part")
local Part11 = Instance.new("Part")
local Part12 = Instance.new("Part")
local Part13 = Instance.new("Part")
local dum = Instance.new("BoolValue")
dum.Name = "isdummy"
dum.Parent = Model0
local Humanoid14 = Instance.new("Humanoid")
Model0.Name = name
Model0.Parent = workspace
Model0.PrimaryPart = Part1
Part1.Name = "Head"
Part1.Parent = Model0
Part1.BrickColor = BrickColor.new("Bright yellow")
Part1.CanCollide = false
Part1.FormFactor = Enum.FormFactor.Symmetric
Part1.Friction = 0
Part1.Size = Vector3.new(2, 1, 1)
Part1.CFrame = CFrame.new(3.49000192, 4.49999905, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
Part1.TopSurface = Enum.SurfaceType.Smooth
Part1.Color = Color3.new(0.960784, 0.803922, 0.188235)
Part1.Position = Vector3.new(3.49000192, 4.49999905, 7.75)
Part1.Color = Color3.new(0.960784, 0.803922, 0.188235)
SpecialMesh2.Parent = Part1
SpecialMesh2.Scale = Vector3.new(1.25, 1.25, 1.25)
SpecialMesh2.Scale = Vector3.new(1.25, 1.25, 1.25)
Decal3.Name = "face"
Decal3.Parent = Part1
Decal3.Texture = "rbxasset://textures/face.png"
Part4.Name = "Torso"
Part4.Parent = Model0
Part4.BrickColor = BrickColor.new("Bright blue")
Part4.CanCollide = false
Part4.FormFactor = Enum.FormFactor.Symmetric
Part4.Friction = 0
Part4.Size = Vector3.new(2, 2, 1)
Part4.CFrame = CFrame.new(3.49000192, 2.99999905, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
Part4.LeftSurface = Enum.SurfaceType.Weld
Part4.RightSurface = Enum.SurfaceType.Weld
Part4.Color = Color3.new(0.0509804, 0.411765, 0.67451)
Part4.Position = Vector3.new(3.49000192, 2.99999905, 7.75)
Part4.Color = Color3.new(0.0509804, 0.411765, 0.67451)
Motor5.Name = "Right Shoulder"
Motor5.Parent = Part4
Motor5.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
Motor5.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
Motor5.Part0 = Part4
Motor5.Part1 = Part11
Motor5.DesiredAngle = 0.083800852298737
Motor5.MaxVelocity = 0.15000000596046
Motor6.Name = "Left Shoulder"
Motor6.Parent = Part4
Motor6.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
Motor6.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
Motor6.Part0 = Part4
Motor6.Part1 = Part10
Motor6.DesiredAngle = 0.083800852298737
Motor6.MaxVelocity = 0.15000000596046
Motor7.Name = "Left Hip"
Motor7.Parent = Part4
Motor7.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
Motor7.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
Motor7.Part0 = Part4
Motor7.Part1 = Part12
Motor7.DesiredAngle = -0.083800852298737
Motor7.MaxVelocity = 0.10000000149012
Motor8.Name = "Neck"
Motor8.Parent = Part4
Motor8.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
Motor8.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
Motor8.Part0 = Part4
Motor8.Part1 = Part1
Motor8.MaxVelocity = 0.10000000149012
Motor9.Name = "Right Hip"
Motor9.Parent = Part4
Motor9.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
Motor9.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
Motor9.Part0 = Part4
Motor9.Part1 = Part13
Motor9.DesiredAngle = -0.083800852298737
Motor9.MaxVelocity = 0.10000000149012
Part10.Name = "Left Arm"
Part10.Parent = Model0
Part10.BrickColor = BrickColor.new("Bright yellow")
Part10.CanCollide = false
Part10.FormFactor = Enum.FormFactor.Symmetric
Part10.Size = Vector3.new(1, 2, 1)
Part10.CFrame = CFrame.new(1.99000192, 2.99999905, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
Part10.Color = Color3.new(0.960784, 0.803922, 0.188235)
Part10.Position = Vector3.new(1.99000192, 2.99999905, 7.75)
Part10.Color = Color3.new(0.960784, 0.803922, 0.188235)
Part11.Name = "Right Arm"
Part11.Parent = Model0
Part11.BrickColor = BrickColor.new("Bright yellow")
Part11.CanCollide = false
Part11.FormFactor = Enum.FormFactor.Symmetric
Part11.Size = Vector3.new(1, 2, 1)
Part11.CFrame = CFrame.new(4.99000168, 2.99999905, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
Part11.Color = Color3.new(0.960784, 0.803922, 0.188235)
Part11.Position = Vector3.new(4.99000168, 2.99999905, 7.75)
Part11.Color = Color3.new(0.960784, 0.803922, 0.188235)
Part12.Name = "Left Leg"
Part12.Parent = Model0
Part12.BrickColor = BrickColor.new("Br. yellowish green")
Part12.CanCollide = false
Part12.FormFactor = Enum.FormFactor.Symmetric
Part12.Size = Vector3.new(1, 2, 1)
Part12.CFrame = CFrame.new(2.99000192, 0.999999046, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
Part12.BottomSurface = Enum.SurfaceType.Smooth
Part12.Color = Color3.new(0.643137, 0.741176, 0.278431)
Part12.Position = Vector3.new(2.99000192, 0.999999046, 7.75)
Part12.Color = Color3.new(0.643137, 0.741176, 0.278431)
Part13.Name = "Right Leg"
Part13.Parent = Model0
Part13.BrickColor = BrickColor.new("Br. yellowish green")
Part13.CanCollide = false
Part13.FormFactor = Enum.FormFactor.Symmetric
Part13.Size = Vector3.new(1, 2, 1)
Part13.CFrame = CFrame.new(3.99000192, 0.999999046, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
Part13.BottomSurface = Enum.SurfaceType.Smooth
Part13.Color = Color3.new(0.643137, 0.741176, 0.278431)
Part13.Position = Vector3.new(3.99000192, 0.999999046, 7.75)
Part13.Color = Color3.new(0.643137, 0.741176, 0.278431)
Humanoid14.Parent = Model0
Humanoid14.RightLeg = Part13
Humanoid14.LeftLeg = Part12
Humanoid14.Torso = Part4
Model0:MoveTo(game:GetService('Players').LocalPlayer.Character:GetModelCFrame().p)
Model0.Parent = game:GetService('Workspace')
end)
addcmd('loopkill', 'rip person',{'lkill'},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
if not FindTable(loopkillT, _players[v].Name) then
table.insert(loopkillT, _players[v].Name)
if FindTable(SPC, args[1]) then Notify('Loopkilling ' .. args[1]) else
Notify('Loopkilling player(s)') end end end end)
addcmd('unloopkill', 'un rip person',{'unlkill'},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
if FindTable(loopkillT, _players[v].Name) then
table.remove(loopkillT, GetInTable(loopkillT, _players[v].Name))
if FindTable(SPC, args[1]) then Notify('No longer loopkilling ' .. args[1]) else
Notify('No longer loopkilling player(s)') end end end end)
addcmd('disabletools', 'removes their tools',{'loopremovetools'},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
if not FindTable(disabletoolsT, _players[v].Name) then
table.insert(disabletoolsT, _players[v].Name)
if FindTable(SPC, args[1]) then Notify('Disabled tools for ' .. args[1]) else
Notify('Disabled tools for player(s)') end end end end)
addcmd('enabletools', 'lets them have tools',{},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
if FindTable(disabletoolsT, _players[v].Name) then
table.remove(disabletoolsT, GetInTable(disabletoolsT, _players[v].Name)) wait(0.1) refresh(_players[v])
if FindTable(SPC, args[1]) then Notify('Enabled tools for ' ..args[1]) else
Notify('Enabled tools for player(s)') end end end end)
addcmd('refresh', 'refresh their player model',{'re'},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
refresh(_players[v])
end end)
local fastwait = function(time)
local expire = tick()+(time or 0.02999999999999999889)
while game:GetService("RunService").Heartbeat:wait() do
if tick() >= expire then return true end
end
end
function gull(name)
spawn(function()
local char = game:GetService("Players")[name].Character
char.PrimaryPart = char.HumanoidRootPart
local tors = game:GetService("Players")[name].Character.HumanoidRootPart
local initCFrame = tors.CFrame
if char:FindFirstChild("Torso") then
char.Torso.Anchored = true
else
char.UpperTorso.Anchored = true
end
char:FindFirstChildOfClass("Humanoid").Name = "Sad"
local gull = Instance.new("Part")
gull.Anchored = true
gull.CanCollide = false
gull.Position = Vector3.new(0,100000,0)
local mesh = Instance.new("SpecialMesh",gull)
mesh.MeshId = "http://www.roblox.com/asset/?id=272501436"
mesh.TextureId = "http://www.roblox.com/asset/?id=267684509"
mesh.Scale = Vector3.new(10,10,10)
local leftWing = Instance.new("Part",gull)
leftWing.CanCollide = false
local lmesh = Instance.new("SpecialMesh",leftWing)
lmesh.MeshId = "http://www.roblox.com/asset/?id=267684584"
lmesh.TextureId = "http://www.roblox.com/asset/?id=267684509"
lmesh.Scale = Vector3.new(10,10,10)
local leftMotor = Instance.new("Motor6D",gull)
leftMotor.MaxVelocity = 1
leftMotor.Part0 = gull
leftMotor.Part1 = leftWing
leftMotor.C0 = CFrame.new(-50.2919998, -0.0920021087, 0.280000001)
local rightWing = Instance.new("Part",gull)
rightWing.CanCollide = false
local rmesh = Instance.new("SpecialMesh",rightWing)
rmesh.MeshId = "http://www.roblox.com/asset/?id=267684651"
rmesh.TextureId = "http://www.roblox.com/asset/?id=267684509"
rmesh.Scale = Vector3.new(10,10,10)
local rightMotor = Instance.new("Motor6D",gull)
rightMotor.MaxVelocity = 1
rightMotor.Part0 = gull
rightMotor.Part1 = rightWing
rightMotor.C0 = CFrame.new(47.1930008, -0.0670021027, 0.280000001)
local sound = Instance.new("Sound",gull)
sound.SoundId = "rbxassetid://160877039"
sound.Volume = 10
gull.Parent = workspace
for i = 400,-1000,-2 do
local der = 0.02*i
local angle = math.atan(der/1)
gull.CFrame = initCFrame*CFrame.Angles(angle,math.pi,0) + initCFrame.lookVector * (i+5) + Vector3.new(0,0.01*i^2+7,0)
if i == 0 then sound:Play() end
if i <= 0 then
char:SetPrimaryPartCFrame(gull.CFrame)
local nextAngle = -0.2*math.sin(0.05*math.pi*(i))
leftMotor.DesiredAngle = -nextAngle
leftMotor.C0 = CFrame.new(-50.2919998, 47.193*math.tan(nextAngle), 0.280000001)
rightMotor.DesiredAngle = nextAngle
rightMotor.C0 = CFrame.new(47.1930008, 47.193*math.tan(nextAngle), 0.280000001)
end
game:GetService("RunService").RenderStepped:wait()
end
local function KICK(P)
spawn(function()
if not FindTable(WL, P.Name) then
for i = 1,5 do
if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then
P.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
local SP = Instance.new('SkateboardPlatform', P.Character) SP.Position = P.Character.HumanoidRootPart.Position SP.Transparency = 1
spawn(function()
repeat wait()
if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then SP.Position = P.Character.HumanoidRootPart.Position end
until not game:GetService("Players"):FindFirstChild(P.Name)
end)
P.Character.HumanoidRootPart.Anchored = true
end
end
end
end)
end
if char:FindFirstChild("Torso") then
char.Torso.Anchored = false
else
char.UpperTorso.Anchored = false
end
spawn(function()
if game:GetService("Players")[name] == game:GetService("Players").LocalPlayer then wait(5) end
game:GetService("Players")[name].CharacterAdded:Connect(function()
wait()
KICK(game:GetService("Players")[name])
end)
KICK(game:GetService("Players")[name])
end)
local go = Instance.new("BodyVelocity",gull)
go.Velocity = Vector3.new(0,1000,0)
go.MaxForce = Vector3.new(1000000,1000000,1000000)
gull.Anchored = false
end)
end
addcmd('seagull', 'seagulls player',{'gull'},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
gull(gPlayers[v].Name)
end
end)
local song = nil
function zinniaKick(name)
spawn(function()
if song == nil or song.Parent == nil then
song = Instance.new("Sound",workspace)
song.SoundId = "rbxassetid://190423831"
song.Volume = 1
song.Looped = true
song:Play()
end
local zin = Instance.new("Part")
zin.Name = "CuteZinnia"
zin.Anchored = true
zin.CanCollide = false
zin.Locked = true
local mesh = Instance.new("SpecialMesh")
mesh.MeshId = "rbxassetid://1175670539"
mesh.TextureId = "rbxassetid://1175670558"
mesh.Scale = Vector3.new(0.05,0.05,0.05)
mesh.Offset = Vector3.new(0,0.88,0)
mesh.Parent = zin
local char = game:GetService("Players")[name].Character
char.PrimaryPart = char.HumanoidRootPart
if char:FindFirstChild("Torso") then
char.Torso.Anchored = true
else
char.UpperTorso.Anchored = true
end
zin.CFrame = (char.HumanoidRootPart.CFrame + char.HumanoidRootPart.CFrame.lookVector*50) * CFrame.Angles(0,math.pi,0) + Vector3.new(0,500,0) + (char:FindFirstChild("UpperTorso") and Vector3.new(0,0.9,0) or Vector3.new(0,0,0))
zin.Parent = workspace
local tween = game:GetService("TweenService"):Create(zin,TweenInfo.new(3,Enum.EasingStyle.Quart,Enum.EasingDirection.Out,0,false,0),{CFrame = zin.CFrame - Vector3.new(0,500,0)})
tween:Play()
fastwait(3)
for i = 50,1,-1 do
zin.CFrame = (char.HumanoidRootPart.CFrame + char.HumanoidRootPart.CFrame.lookVector*i) * CFrame.Angles(0,math.pi,0) + (char:FindFirstChild("UpperTorso") and Vector3.new(0,0.9,0) or Vector3.new(0,0,0))
fastwait()
end
char:SetPrimaryPartCFrame(zin.CFrame + CFrame.Angles(0,math.pi/2,0)*zin.CFrame.lookVector*3.5 + Vector3.new(0,3,0))
fastwait(1)
local turns = 0
while turns < 200 do
zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0)
char:SetPrimaryPartCFrame(zin.CFrame + CFrame.Angles(0,math.pi/2,0)*zin.CFrame.lookVector*3.5 + Vector3.new(0,3,0))
turns = turns + 1
fastwait()
end
for i = 1,10 do
zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0)
char:SetPrimaryPartCFrame(zin.CFrame + CFrame.Angles(0,math.pi/2,0)*zin.CFrame.lookVector*3.5 + Vector3.new(0,3,0))
fastwait()
end
local rX,rZ = 0,0
repeat rX = math.random(-10000,10000) until math.abs(rX) > 5000
repeat rZ = math.random(-10000,10000) until math.abs(rZ) > 5000
local bv = Instance.new("BodyForce",char.HumanoidRootPart)
bv.Force = Vector3.new(rX,10000,rZ)
if char:FindFirstChild("Torso") then
char.Torso.Anchored = false
else
char.UpperTorso.Anchored = false
end
function KICK(P)
spawn(function()
if not FindTable(WL, P.Name) then
for i = 1,5 do
if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then
P.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
local SP = Instance.new('SkateboardPlatform', P.Character) SP.Position = P.Character.HumanoidRootPart.Position SP.Transparency = 1
spawn(function()
repeat fastwait()
if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then SP.Position = P.Character.HumanoidRootPart.Position end
until not game:GetService("Players"):FindFirstChild(P.Name)
end)
P.Character.HumanoidRootPart.Anchored = true
end
end
end
end)
end
spawn(function()
if game:GetService("Players")[name] == game:GetService("Players").LocalPlayer then fastwait(10) else fastwait(5) end
game:GetService("Players")[name].CharacterAdded:Connect(function()
fastwait()
KICK(game:GetService("Players")[name])
end)
KICK(game:GetService("Players")[name])
end)
for i = 1,20 do
zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0)
fastwait()
end
while turns > 0 do
zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0)
turns = turns - 5
fastwait()
end
fastwait(1)
zin.Name = "GoneZinnia"
local go = Instance.new("BodyVelocity",zin)
go.Velocity = zin.CFrame.lookVector * 100
go.MaxForce = Vector3.new(1000000,1000000,1000000)
zin.Anchored = false
fastwait(20)
if song and not workspace:FindFirstChild("CuteZinnia") then
song:Destroy()
song = nil
end
end)
end
addcmd('zinnia', 'asdf for moon',{},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
zinniaKick(gPlayers[v].Name)
end
end)
addcmd('rainbowname', 'color spam their name tag',{'rname'},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
if not FindTable(rainbowT, _players[v].Name) then
table.insert(rainbowT, _players[v].Name)
if FindTable(SPC, args[1]) then Notify('Gave ' ..args[1].. ' rainbow name') else
Notify('Gave player(s) rainbow name') end end end end)
addcmd('unrainbowname', 'removes their colorful name',{'unrname'},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
if FindTable(rainbowT, _players[v].Name) then
table.remove(rainbowT, GetInTable(rainbowT, _players[v].Name))
_players[v].Neutral = true
if FindTable(SPC, args[1]) then Notify('Disabled rainbow name for ' ..args[1]) else
Notify('Disabled rainbow name for player(s)') end end end end)
addcmd('terrain', 'gives you terrain tools',{'tt'},
function(args, speaker)
if speaker.userId ~= LP.userId then
lponly(speaker)
else
--Terrain Script
--Edge/IoIman616
for _, child in pairs( gPlayers.LocalPlayer.PlayerGui:GetChildren()) do
if child.Name == "MaterialGui" then
child:Destroy()
end
end
function sandbox(var,func)
local env = getfenv(func)
local newenv = setmetatable({},{
__index = function(self,k)
if k=="script" then
return var
else
return env[k]
end
end,
})
setfenv(func,newenv)
return func
end
cors = {}
mas = Instance.new("Model",game:GetService("Lighting"))
HopperBin0 = Instance.new("HopperBin")
HopperBin0.Name = "Terrain Build"
HopperBin0.Parent = mas
for i,v in pairs(mas:GetChildren()) do
v.Parent = game:GetService("Players").LocalPlayer.Backpack
pcall(function() v:MakeJoints() end)
end
mas:Destroy()
for i,v in pairs(cors) do
spawn(function()
pcall(v)
end)
end
wait(0.01)
function sandbox(var,func)
local env = getfenv(func)
local newenv = setmetatable({},{
__index = function(self,k)
if k=="script" then
return var
else
return env[k]
end
end,
})
setfenv(func,newenv)
return func
end
cors = {}
mas = Instance.new("Model",game:GetService("Lighting"))
ScreenGui0 = Instance.new("ScreenGui")
ImageLabel1 = Instance.new("ImageLabel")
ImageButton2 = Instance.new("ImageButton")
Frame3 = Instance.new("Frame")
NumberValue4 = Instance.new("NumberValue")
ImageButton5 = Instance.new("ImageButton")
Frame6 = Instance.new("Frame")
NumberValue7 = Instance.new("NumberValue")
ImageButton8 = Instance.new("ImageButton")
Frame9 = Instance.new("Frame")
NumberValue10 = Instance.new("NumberValue")
ImageButton11 = Instance.new("ImageButton")
Frame12 = Instance.new("Frame")
NumberValue13 = Instance.new("NumberValue")
ImageButton14 = Instance.new("ImageButton")
Frame15 = Instance.new("Frame")
NumberValue16 = Instance.new("NumberValue")
ImageButton17 = Instance.new("ImageButton")
Frame18 = Instance.new("Frame")
NumberValue19 = Instance.new("NumberValue")
ImageButton20 = Instance.new("ImageButton")
Frame21 = Instance.new("Frame")
NumberValue22 = Instance.new("NumberValue")
ImageButton23 = Instance.new("ImageButton")
Frame24 = Instance.new("Frame")
NumberValue25 = Instance.new("NumberValue")
ImageButton26 = Instance.new("ImageButton")
Frame27 = Instance.new("Frame")
NumberValue28 = Instance.new("NumberValue")
ImageButton29 = Instance.new("ImageButton")
Frame30 = Instance.new("Frame")
NumberValue31 = Instance.new("NumberValue")
ImageButton32 = Instance.new("ImageButton")
Frame33 = Instance.new("Frame")
NumberValue34 = Instance.new("NumberValue")
ImageButton35 = Instance.new("ImageButton")
Frame36 = Instance.new("Frame")
NumberValue37 = Instance.new("NumberValue")
ImageButton38 = Instance.new("ImageButton")
Frame39 = Instance.new("Frame")
NumberValue40 = Instance.new("NumberValue")
ImageButton41 = Instance.new("ImageButton")
Frame42 = Instance.new("Frame")
NumberValue43 = Instance.new("NumberValue")
ImageButton44 = Instance.new("ImageButton")
Frame45 = Instance.new("Frame")
NumberValue46 = Instance.new("NumberValue")
ImageButton47 = Instance.new("ImageButton")
Frame48 = Instance.new("Frame")
NumberValue49 = Instance.new("NumberValue")
ImageButton50 = Instance.new("ImageButton")
Frame51 = Instance.new("Frame")
NumberValue52 = Instance.new("NumberValue")
ImageButton53 = Instance.new("ImageButton")
Frame54 = Instance.new("Frame")
ScreenGui0.Name = "MaterialGui"
ScreenGui0.Parent = mas
ImageLabel1.Name = "MaterialMenu"
ImageLabel1.Parent = ScreenGui0
ImageLabel1.Transparency = 1
ImageLabel1.Size = UDim2.new(0, 100, 0, 450)
ImageLabel1.Position = UDim2.new(0, 0, 1, -550)
ImageLabel1.BackgroundTransparency = 1
ImageLabel1.ZIndex = 2
ImageLabel1.Image = "rbxasset://textures/ui/MaterialMenu.png"
ImageButton2.Name = "Grass"
ImageButton2.Parent = ImageLabel1
ImageButton2.Transparency = 1
ImageButton2.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
ImageButton2.Position = UDim2.new(0.0700000003, 0, 0.0599999987, 0)
ImageButton2.BackgroundTransparency = 1
ImageButton2.ZIndex = 4
ImageButton2.Image = "http://www.roblox.com/asset/?id=56563112"
Frame3.Name = "Selection"
Frame3.Parent = ImageButton2
Frame3.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
Frame3.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
Frame3.BackgroundColor3 = Color3.new(1, 1, 1)
Frame3.BorderSizePixel = 0
Frame3.ZIndex = 3
NumberValue4.Name = "num"
NumberValue4.Parent = ImageButton2
NumberValue4.Value = 1
ImageButton5.Name = "Sand"
ImageButton5.Parent = ImageLabel1
ImageButton5.Transparency = 1
ImageButton5.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
ImageButton5.Position = UDim2.new(0.524545431, 0, 0.0599999987, 0)
ImageButton5.BackgroundTransparency = 1
ImageButton5.ZIndex = 4
ImageButton5.Image = "http://www.roblox.com/asset/?id=62356652"
Frame6.Name = "Selection"
Frame6.Parent = ImageButton5
Frame6.Transparency = 1
Frame6.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
Frame6.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
Frame6.BackgroundColor3 = Color3.new(1, 1, 1)
Frame6.BackgroundTransparency = 1
Frame6.BorderSizePixel = 0
Frame6.ZIndex = 3
NumberValue7.Name = "num"
NumberValue7.Parent = ImageButton5
NumberValue7.Value = 2
ImageButton8.Name = "Brick"
ImageButton8.Parent = ImageLabel1
ImageButton8.Transparency = 1
ImageButton8.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
ImageButton8.Position = UDim2.new(0.0700000003, 0, 0.161010101, 0)
ImageButton8.BackgroundTransparency = 1
ImageButton8.ZIndex = 4
ImageButton8.Image = "http://www.roblox.com/asset/?id=65961537"
Frame9.Name = "Selection"
Frame9.Parent = ImageButton8
Frame9.Transparency = 1
Frame9.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
Frame9.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
Frame9.BackgroundColor3 = Color3.new(1, 1, 1)
Frame9.BackgroundTransparency = 1
Frame9.BorderSizePixel = 0
Frame9.ZIndex = 3
NumberValue10.Name = "num"
NumberValue10.Parent = ImageButton8
NumberValue10.Value = 3
ImageButton11.Name = "Granite"
ImageButton11.Parent = ImageLabel1
ImageButton11.Transparency = 1
ImageButton11.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
ImageButton11.Position = UDim2.new(0.524545431, 0, 0.161010101, 0)
ImageButton11.BackgroundTransparency = 1
ImageButton11.ZIndex = 4
ImageButton11.Image = "http://www.roblox.com/asset/?id=67532153"
Frame12.Name = "Selection"
Frame12.Parent = ImageButton11
Frame12.Transparency = 1
Frame12.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
Frame12.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
Frame12.BackgroundColor3 = Color3.new(1, 1, 1)
Frame12.BackgroundTransparency = 1
Frame12.BorderSizePixel = 0
Frame12.ZIndex = 3
NumberValue13.Name = "num"
NumberValue13.Parent = ImageButton11
NumberValue13.Value = 4
ImageButton14.Name = "Asphalt"
ImageButton14.Parent = ImageLabel1
ImageButton14.Transparency = 1
ImageButton14.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
ImageButton14.Position = UDim2.new(0.0700000003, 0, 0.2620202, 0)
ImageButton14.BackgroundTransparency = 1
ImageButton14.ZIndex = 4
ImageButton14.Image = "http://www.roblox.com/asset/?id=67532038"
Frame15.Name = "Selection"
Frame15.Parent = ImageButton14
Frame15.Transparency = 1
Frame15.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
Frame15.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
Frame15.BackgroundColor3 = Color3.new(1, 1, 1)
Frame15.BackgroundTransparency = 1
Frame15.BorderSizePixel = 0
Frame15.ZIndex = 3
NumberValue16.Name = "num"
NumberValue16.Parent = ImageButton14
NumberValue16.Value = 5
ImageButton17.Name = "Iron"
ImageButton17.Parent = ImageLabel1
ImageButton17.Transparency = 1
ImageButton17.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
ImageButton17.Position = UDim2.new(0.524545431, 0, 0.2620202, 0)
ImageButton17.BackgroundTransparency = 1
ImageButton17.ZIndex = 4
ImageButton17.Image = "http://www.roblox.com/asset/?id=67532093"
Frame18.Name = "Selection"
Frame18.Parent = ImageButton17
Frame18.Transparency = 1
Frame18.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
Frame18.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
Frame18.BackgroundColor3 = Color3.new(1, 1, 1)
Frame18.BackgroundTransparency = 1
Frame18.BorderSizePixel = 0
Frame18.ZIndex = 3
NumberValue19.Name = "num"
NumberValue19.Parent = ImageButton17
NumberValue19.Value = 6
ImageButton20.Name = "Aluminum"
ImageButton20.Parent = ImageLabel1
ImageButton20.Transparency = 1
ImageButton20.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
ImageButton20.Position = UDim2.new(0.0700000003, 0, 0.363030314, 0)
ImageButton20.BackgroundTransparency = 1
ImageButton20.ZIndex = 4
ImageButton20.Image = "http://www.roblox.com/asset/?id=67531995"
Frame21.Name = "Selection"
Frame21.Parent = ImageButton20
Frame21.Transparency = 1
Frame21.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
Frame21.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
Frame21.BackgroundColor3 = Color3.new(1, 1, 1)
Frame21.BackgroundTransparency = 1
Frame21.BorderSizePixel = 0
Frame21.ZIndex = 3
NumberValue22.Name = "num"
NumberValue22.Parent = ImageButton20
NumberValue22.Value = 7
ImageButton23.Name = "Gold"
ImageButton23.Parent = ImageLabel1
ImageButton23.Transparency = 1
ImageButton23.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
ImageButton23.Position = UDim2.new(0.524545431, 0, 0.363030314, 0)
ImageButton23.BackgroundTransparency = 1
ImageButton23.ZIndex = 4
ImageButton23.Image = "http://www.roblox.com/asset/?id=67532118"
Frame24.Name = "Selection"
Frame24.Parent = ImageButton23
Frame24.Transparency = 1
Frame24.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
Frame24.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
Frame24.BackgroundColor3 = Color3.new(1, 1, 1)
Frame24.BackgroundTransparency = 1
Frame24.BorderSizePixel = 0
Frame24.ZIndex = 3
NumberValue25.Name = "num"
NumberValue25.Parent = ImageButton23
NumberValue25.Value = 8
ImageButton26.Name = "Plank"
ImageButton26.Parent = ImageLabel1
ImageButton26.Transparency = 1
ImageButton26.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
ImageButton26.Position = UDim2.new(0.0700000003, 0, 0.464040399, 0)
ImageButton26.BackgroundTransparency = 1
ImageButton26.ZIndex = 4
ImageButton26.Image = "http://www.roblox.com/asset/?id=67532015"
Frame27.Name = "Selection"
Frame27.Parent = ImageButton26
Frame27.Transparency = 1
Frame27.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
Frame27.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
Frame27.BackgroundColor3 = Color3.new(1, 1, 1)
Frame27.BackgroundTransparency = 1
Frame27.BorderSizePixel = 0
Frame27.ZIndex = 3
NumberValue28.Name = "num"
NumberValue28.Parent = ImageButton26
NumberValue28.Value = 9
ImageButton29.Name = "Log"
ImageButton29.Parent = ImageLabel1
ImageButton29.Transparency = 1
ImageButton29.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
ImageButton29.Position = UDim2.new(0.524545431, 0, 0.464040399, 0)
ImageButton29.BackgroundTransparency = 1
ImageButton29.ZIndex = 4
ImageButton29.Image = "http://www.roblox.com/asset/?id=67532051"
Frame30.Name = "Selection"
Frame30.Parent = ImageButton29
Frame30.Transparency = 1
Frame30.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
Frame30.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
Frame30.BackgroundColor3 = Color3.new(1, 1, 1)
Frame30.BackgroundTransparency = 1
Frame30.BorderSizePixel = 0
Frame30.ZIndex = 3
NumberValue31.Name = "num"
NumberValue31.Parent = ImageButton29
NumberValue31.Value = 10
ImageButton32.Name = "Gravel"
ImageButton32.Parent = ImageLabel1
ImageButton32.Transparency = 1
ImageButton32.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
ImageButton32.Position = UDim2.new(0.0700000003, 0, 0.565050483, 0)
ImageButton32.BackgroundTransparency = 1
ImageButton32.ZIndex = 4
ImageButton32.Image = "http://www.roblox.com/asset/?id=67532206"
Frame33.Name = "Selection"
Frame33.Parent = ImageButton32
Frame33.Transparency = 1
Frame33.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
Frame33.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
Frame33.BackgroundColor3 = Color3.new(1, 1, 1)
Frame33.BackgroundTransparency = 1
Frame33.BorderSizePixel = 0
Frame33.ZIndex = 3
NumberValue34.Name = "num"
NumberValue34.Parent = ImageButton32
NumberValue34.Value = 11
ImageButton35.Name = "Cinder"
ImageButton35.Parent = ImageLabel1
ImageButton35.Transparency = 1
ImageButton35.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
ImageButton35.Position = UDim2.new(0.524545431, 0, 0.565050483, 0)
ImageButton35.BackgroundTransparency = 1
ImageButton35.ZIndex = 4
ImageButton35.Image = "http://www.roblox.com/asset/?id=67532103"
Frame36.Name = "Selection"
Frame36.Parent = ImageButton35
Frame36.Transparency = 1
Frame36.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
Frame36.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
Frame36.BackgroundColor3 = Color3.new(1, 1, 1)
Frame36.BackgroundTransparency = 1
Frame36.BorderSizePixel = 0
Frame36.ZIndex = 3
NumberValue37.Name = "num"
NumberValue37.Parent = ImageButton35
NumberValue37.Value = 12
ImageButton38.Name = "Stone"
ImageButton38.Parent = ImageLabel1
ImageButton38.Transparency = 1
ImageButton38.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
ImageButton38.Position = UDim2.new(0.0700000003, 0, 0.666060627, 0)
ImageButton38.BackgroundTransparency = 1
ImageButton38.ZIndex = 4
ImageButton38.Image = "http://www.roblox.com/asset/?id=67531804"
Frame39.Name = "Selection"
Frame39.Parent = ImageButton38
Frame39.Transparency = 1
Frame39.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
Frame39.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
Frame39.BackgroundColor3 = Color3.new(1, 1, 1)
Frame39.BackgroundTransparency = 1
Frame39.BorderSizePixel = 0
Frame39.ZIndex = 3
NumberValue40.Name = "num"
NumberValue40.Parent = ImageButton38
NumberValue40.Value = 13
ImageButton41.Name = "Cement"
ImageButton41.Parent = ImageLabel1
ImageButton41.Transparency = 1
ImageButton41.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
ImageButton41.Position = UDim2.new(0.524545431, 0, 0.666060627, 0)
ImageButton41.BackgroundTransparency = 1
ImageButton41.ZIndex = 4
ImageButton41.Image = "http://www.roblox.com/asset/?id=67532059"
Frame42.Name = "Selection"
Frame42.Parent = ImageButton41
Frame42.Transparency = 1
Frame42.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
Frame42.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
Frame42.BackgroundColor3 = Color3.new(1, 1, 1)
Frame42.BackgroundTransparency = 1
Frame42.BorderSizePixel = 0
Frame42.ZIndex = 3
NumberValue43.Name = "num"
NumberValue43.Parent = ImageButton41
NumberValue43.Value = 14
ImageButton44.Name = "Red Plastic"
ImageButton44.Parent = ImageLabel1
ImageButton44.Transparency = 1
ImageButton44.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
ImageButton44.Position = UDim2.new(0.0700000003, 0, 0.767070711, 0)
ImageButton44.BackgroundTransparency = 1
ImageButton44.ZIndex = 4
ImageButton44.Image = "http://www.roblox.com/asset/?id=67531848"
Frame45.Name = "Selection"
Frame45.Parent = ImageButton44
Frame45.Transparency = 1
Frame45.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
Frame45.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
Frame45.BackgroundColor3 = Color3.new(1, 1, 1)
Frame45.BackgroundTransparency = 1
Frame45.BorderSizePixel = 0
Frame45.ZIndex = 3
NumberValue46.Name = "num"
NumberValue46.Parent = ImageButton44
NumberValue46.Value = 15
ImageButton47.Name = "Blue Plastic"
ImageButton47.Parent = ImageLabel1
ImageButton47.Transparency = 1
ImageButton47.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
ImageButton47.Position = UDim2.new(0.524545431, 0, 0.767070711, 0)
ImageButton47.BackgroundTransparency = 1
ImageButton47.ZIndex = 4
ImageButton47.Image = "http://www.roblox.com/asset/?id=67531924"
Frame48.Name = "Selection"
Frame48.Parent = ImageButton47
Frame48.Transparency = 1
Frame48.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
Frame48.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
Frame48.BackgroundColor3 = Color3.new(1, 1, 1)
Frame48.BackgroundTransparency = 1
Frame48.BorderSizePixel = 0
Frame48.ZIndex = 3
NumberValue49.Name = "num"
NumberValue49.Parent = ImageButton47
NumberValue49.Value = 16
ImageButton50.Name = "Water"
ImageButton50.Parent = ImageLabel1
ImageButton50.Transparency = 1
ImageButton50.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
ImageButton50.Position = UDim2.new(0.0700000003, 0, 0.867999971, 0)
ImageButton50.BackgroundTransparency = 1
ImageButton50.ZIndex = 4
ImageButton50.Image = "https://www.roblox.com/Game/Tools/ThumbnailAsset.ashx?fmt=png&wd=75&ht=75&aid=82717697"
Frame51.Name = "Selection"
Frame51.Parent = ImageButton50
Frame51.Transparency = 1
Frame51.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
Frame51.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
Frame51.BackgroundColor3 = Color3.new(1, 1, 1)
Frame51.BackgroundTransparency = 1
Frame51.BorderSizePixel = 0
Frame51.ZIndex = 3
NumberValue52.Name = "num"
NumberValue52.Parent = ImageButton50
NumberValue52.Value = 17
ImageButton53.Name = "Dig"
ImageButton53.Parent = ImageLabel1
ImageButton53.Transparency = 1
ImageButton53.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
ImageButton53.Position = UDim2.new(0.524999976, 0, 0.867999971, 0)
ImageButton53.BackgroundTransparency = 1
ImageButton53.ZIndex = 4
ImageButton53.Image = "http://www.roblox.com/asset/?id=7814201"
Frame54.Name = "Selection"
Frame54.Parent = ImageButton53
Frame54.Transparency = 1
Frame54.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
Frame54.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
Frame54.BackgroundColor3 = Color3.new(1, 1, 1)
Frame54.BackgroundTransparency = 1
Frame54.BorderSizePixel = 0
Frame54.ZIndex = 3
for i,v in pairs(mas:GetChildren()) do
v.Parent = gPlayers.LocalPlayer.PlayerGui
pcall(function() v:MakeJoints() end)
end
mas:Destroy()
for i,v in pairs(cors) do
spawn(function()
pcall(v)
end)
end
wait(0.01)
gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Visible = false
material = 1
local Terrain = workspace.Terrain
local CC = workspace.CurrentCamera
local SelB = Instance.new("SelectionBox")
SelB.Color = BrickColor.new("Bright green")
local SelP = Instance.new("Part")
SelP.Anchored = true
SelP.formFactor = Enum.FormFactor.Custom
HopperBin0.Selected:connect(function(M)
SelB.Parent = gPlayers.LocalPlayer.PlayerGui
gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Visible = true
SelB.Adornee = nil
local ClickState = "None"
local ClickType = 1
local TerrainClick = 1
local P1 = nil
M.KeyDown:connect(function(K)
if K == "q" then
ClickType = 1
elseif K == "e" then
ClickType = 2
elseif K == "z" then
TerrainClick = 0
elseif K == "x" then
TerrainClick = 1
elseif K == "c" then
TerrainClick = 2
elseif K == "v" then
TerrainClick = 3
elseif K == "b" then
TerrainClick = 4
end
end)
M.Button1Down:connect(function()
if not M.Target then return end
local Hit = M.Hit
local cellPos
if ClickType == 1 then
cellPos = Terrain:WorldToCellPreferEmpty(Vector3.new(Hit.x, Hit.y, Hit.z))
else
cellPos = Terrain:WorldToCellPreferSolid(Vector3.new(Hit.x, Hit.y, Hit.z))
end
if ClickState == "None" then
ClickState = "Click1"
P1 = cellPos
end
end)
M.Button1Up:connect(function()
if not M.Target then return end
local Hit = M.Hit
local cellPos
if ClickType == 1 then
cellPos = Terrain:WorldToCellPreferEmpty(Vector3.new(Hit.x, Hit.y, Hit.z))
else
cellPos = Terrain:WorldToCellPreferSolid(Vector3.new(Hit.x, Hit.y, Hit.z))
end
if ClickState == "Click1" then
ClickState = "None"
local MinX = math.min(P1.x,cellPos.x)
local MaxX = math.max(P1.x,cellPos.x)
local MinY = math.min(P1.y,cellPos.y)
local MaxY = math.max(P1.y,cellPos.y)
local MinZ = math.min(P1.z,cellPos.z)
local MaxZ = math.max(P1.z,cellPos.z)
for y=MinY,MaxY do
for x=MinX,MaxX do
for z=MinZ,MaxZ do
Terrain:SetCell(x, y, z, material, 0, 0)
end
end
wait()
end
SelB.Adornee = nil
end
end)
M.Move:connect(function()
if not M.Target then return end
local Hit = M.Hit
local cellPos
if ClickType == 1 then
cellPos = Terrain:WorldToCellPreferEmpty(Vector3.new(Hit.x, Hit.y, Hit.z))
else
cellPos = Terrain:WorldToCellPreferSolid(Vector3.new(Hit.x, Hit.y, Hit.z))
end
if ClickState == "Click1" then
SelB.Adornee = SelP
local W1 = Terrain:CellCenterToWorld(P1.x,P1.y,P1.z)
local W2 = Terrain:CellCenterToWorld(cellPos.x,cellPos.y,cellPos.z)
local Size = W1-W2
Size = Vector3.new(math.abs(Size.x),math.abs(Size.y),math.abs(Size.z))+Vector3.new(4,4,4)
local Pos = (W1+W2)/2
SelP.Size = Size
SelP.CFrame = CFrame.new(Pos)
end
end)
end)
HopperBin0.Deselected:connect(function()
SelB.Parent = nil
SelB.Adornee = nil
gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Visible = false
end)
game:GetService('RunService').Stepped:connect(function()
if gPlayers.LocalPlayer.PlayerGui:FindFirstChild("MaterialGui") then
for _, child in pairs( gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu:GetChildren()) do
if child:FindFirstChild("num") and material ~= child.num.Value then
child.Selection.BackgroundTransparency = 1
end
end
end
end)
for _, child in pairs( gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu:GetChildren()) do
local enterCon = child.MouseButton1Click:connect(function()
if child.ClassName == "ImageButton" and child:FindFirstChild("num") then
material = child.num.Value
if child:FindFirstChild("Selection") then
child.Selection.BackgroundTransparency = 0
end
end
end)
end
local clr = gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Dig.MouseButton1Click:connect(function()
workspace.Terrain:Clear()
end)
function sandbox(var,func)
local env = getfenv(func)
local newenv = setmetatable({},{
__index = function(self,k)
if k=="script" then
return var
else
return env[k]
end
end,
})
setfenv(func,newenv)
return func
end
cors = {}
mas = Instance.new("Model",game:GetService("Lighting"))
HopperBin0 = Instance.new("HopperBin")
HopperBin0.Name = "Terrain Delete"
HopperBin0.Parent = mas
for i,v in pairs(mas:GetChildren()) do
v.Parent = game:GetService("Players").LocalPlayer.Backpack
pcall(function() v:MakeJoints() end)
end
mas:Destroy()
for i,v in pairs(cors) do
spawn(function()
pcall(v)
end)
end
function onClick(mouse)
p = gPlayers.LocalPlayer
if (p == nil) then return end
if (p.Character == nil) then return end
if (mouse.Hit.p - p.Character.HumanoidRootPart.Position).magnitude > 500 then return end
c = workspace.Terrain
local cellPos = c:WorldToCellPreferSolid(Vector3.new(mouse.Hit.x, mouse.Hit.y, mouse.Hit.z))
local x = cellPos.x
local y = cellPos.y
local z = cellPos.z
c:SetCell(x, y, z, 0, 0, 0)
end
function onSelect(mouse)
mouse.Button1Down:connect(function () onClick(mouse) end)
end
HopperBin0.Selected:connect(onSelect)
end
end)
addcmd('knife', 'tm knife',{},
function(args, speaker)
if speaker.userId ~= LP.userId then
lponly(speaker) else
if not game.CoreGui:FindFirstChild('CorePart') then
local data = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01318477872")
local script = data.LocalScript
local player = gPlayers.LocalPlayer
if not player:FindFirstChild("TMDATA") then
script.Parent.TMDATA:Clone().Parent = player
end
if not game.ReplicatedStorage:FindFirstChild("GameInProgress") then
script.Parent.GameInProgress:Clone().Parent = game.ReplicatedStorage
end
if game.CoreGui:FindFirstChild("CorePart") then
game.CoreGui.CorePart:Destroy()
end
if not game.ReplicatedStorage:FindFirstChild('Drone') then script.Parent.Drone:Clone().Parent = game.ReplicatedStorage end
local knife = script.Parent["Knife"]:Clone()
local gun = script.Parent["Gun"]:Clone()
local fastgun = script.Parent["Fast Gun"]:Clone()
local lasergun = script.Parent["Laser Gun"]:Clone()
script.Parent.CorePart:Clone().Parent = game.CoreGui
local newKnife = knife:Clone()
newKnife.Parent = player.Backpack
_G.tool = newKnife
local barActive = false
local activeOptions = {}
function createDDown(callback,but,...)
if barActive then
for i,v in pairs(activeOptions) do
v:Destroy()
end
activeOptions = {}
barActive = false
return
else
barActive = true
end
local slots = {...}
local base = but
for i,v in pairs(slots) do
local newOption = base:Clone()
newOption.ZIndex = 5
newOption.Name = "Option "..tostring(i)
newOption.Parent = base.Parent
table.insert(activeOptions,newOption)
newOption.Position = UDim2.new(but.Position.X.Scale, but.Position.X.Offset, but.Position.Y.Scale, but.Position.Y.Offset + (#activeOptions * but.Size.Y.Offset))
newOption.Text = slots[i]
newOption.MouseButton1Down:connect(function()
but.Text = slots[i]
callback(slots[i])
for i,v in pairs(activeOptions) do
v:Destroy()
end
activeOptions = {}
barActive = false
end)
end
end
local butA = game.CoreGui.CorePart.Frame.ability
butA.MouseButton1Down:connect(function()
createDDown(function(sel)
gPlayers.LocalPlayer.TMDATA.Ability.Value = sel -- Rushed scripting, sorry for not being neat!
end,butA,"Normal","Laser Knife","Boom Blade","MLG Money","Midas Touch","HOT! Knife","Ghost Knife","Tesla Knife","Quickscoper","Rainbow Laser","Spider Knife","Warp Knife","Brainwasher", "Bolting Knife")
end)
local butG = game.CoreGui.CorePart.Frame.gamemode
butG.MouseButton1Down:connect(function()
createDDown(function(sel)
game.ReplicatedStorage.GameInProgress.Mode.Value = sel
end,butG,"Classic","Cold Killer")
end)
local butM = game.CoreGui.CorePart.Frame.mode
butM.MouseButton1Down:connect(function()
createDDown(function(sel)
_G.knifemode = sel
end,butM,"PlayersOnly","Players+Npcs")
end)
_G.Scripters = {}
function _G.loadScripts(obj,runall)
for i,v in pairs(obj:GetDescendants()) do
if v:IsA("LocalScript") and (not v.Disabled or runall) then
table.insert(_G.Scripters,v)
local i = #_G.Scripters
local loadfunc = loadstring("local script = _G.Scripters["..i.."]\n"..v.Source)
spawn(loadfunc)
print("LOADED",v:GetFullName())
end
end
end
player.CharacterAdded:Connect(function()
newKnife = knife:Clone()
newKnife.Parent = player.Backpack
_G.loadScripts(newKnife)
end)
_G.knifemode = "PlayersOnly"
_G.loadScripts(newKnife)
--_G.loadScripts(gun)
--_G.loadScripts(fastgun)
--_G.loadScripts(lasergun)
end
end
end)
addcmd('devuzi', 'op af',{'uzi'},
function(args, speaker)
if speaker.userId ~= LP.userId then
lponly(speaker)
else
wait(0.25);
_clear=function()
local c={char;bag;gui;};
for i=1,#c do
local c=c[i]:children();
for i=1,#c do
if(c[i].Name==name)then
c[i].Parent=nil;
end;
end;
end;
local n=name..user.Name;
local c=workspace:children();
for i=1,#c do
if(c[i].Name==n)then
c[i].Parent=nil;
end;
end;
end;
_valid_key=function(object,key)
return object[key],key;
end;
_new=function(class)
return function(props)
if(type(list_base_props)=='table')then
for i,v in next,list_base_props do
if(props[i]==nil)then
props[i]=v;
end;
end;
end;
local object=class;
if(type(class)=='string')then
object=Instance.new(class:sub(1,1):upper()..class:sub(2));
end;
local parent=props[1];
props[1]=nil;
for i,v in next,props do
local load,res,key=pcall(_valid_key,object,i:sub(1,1):upper()..i:sub(2));
if(not load)then
load,res,key=pcall(_valid_key,object,i);
end;
if(key)then
t=type(res);
s=tostring(res);
if(t=='userdata'and s=='Signal '..key)then
if(type(v)=='table')then
for i=1,#v do
res:connect(v[i]);
end;
else
res:connect(v);
end;
else
object[key]=v;
end;
end;
end;
if(parent)then
object.Parent=parent;
end;
return object;
end;
end;
_RGB=function(r,g,b)
return Color3.new(r/255,g/255,b/255);
end;
_copy=function(o)
local def=o.archivable;
o.archivable=true;
local c=o:clone();
o.archivable=def;
return c;
end;
_hum=function(char)
local hum=char:findFirstChild'Humanoid';
if(not hum or hum.className~='Humanoid')then
local c=char:children();
for i=1,#c do
if(c[i].className=='Humanoid')then
return c[i];
end;
end;
else
return hum;
end;
end;
_hum_tag=function(hum)
local c=hum:findFirstChild'creator'or Instance.new('ObjectValue',hum);
c.Name='creator';
c.Value=user;
if(hum.Health==0 and not hum:findFirstChild'killed')then
Instance.new('BoolValue',hum).Name='killed';
bullets.clip=bullets.clip+10;
end;
end;
_hum_dam=function(hum,dam,percent)
hum.Health=hum.Health-(percent and hum.MaxHealth*(dam*0.01)or dam);
if(hum.Health<=hum.MaxHealth*0.1)then
_hum_tag(hum);
end;
end;
_ray=function(v0,v1,i)
local mag=(v0-v1).magnitude;
local ray=Ray.new(v0,(v1-v0).unit*(mag>999 and 999 or mag));
return(type(i)=='table'and workspace.FindPartOnRayWithIgnoreList or workspace.FindPartOnRay)(workspace,ray,i);
end;
_must=function(v0,v1,i)
local hit,pos=_ray(v0,v1,i);
return not hit and mouse.target or hit,pos;
end;
_cframe=function(x,y,z,r0,r1,r2)
return CFrame.Angles(
math.rad(r0 or 0),
math.rad(r1 or 0),
math.rad(r2 or 0)
)*CFrame.new(x,y,z);
end;
_update=function()
if(bool_active and not screen.Parent)then
screen.Parent=gui;
elseif(not bool_active and screen.Parent)then
screen.Parent=nil;
end;
end;
_light=function(v0,v1)
local mag=(v0-v1).magnitude;
local len=math.random(2,7);
len=len>mag/2 and mag/2 or len;
--local light=_new'part'{
-- cFrame=CFrame.new(v0,v1);
-- size=Vector3.new(1,1,1);
-- color=_RGB(255,255,0);
-- anchored=true;
-- inv;
--};
_new'blockMesh'{
scale=Vector3.new(0.2,0.2,len);
offset=Vector3.new(0,0,-len/2);
light;
};
local bb=_new'billboardGui'{
size=UDim2.new(2,0,2,0);
adornee=light;
light;
};
_new'imageLabel'{
image=url:format(109101526);
backgroundTransparency=1;
size=UDim2.new(1,0,1,0);
bb;
};
-- _rem(light,0.15);
end;
_rem=function(object,del)
if(del)then
delay(del,function()
if(object.Parent)then
object.Parent=nil;
end;
end);
else
pcall(function()
if(object.Parent)then
object.Parent=nil;
end;
end);
end;
end;
_blood=function(pos,count)
for i=1,count do
local p=_new'part'{
rotVelocity=Vector3.new(math.random(),math.random(),math.random())*50;
position=pos+Vector3.new(math.random(),math.random(),math.random());
velocity=Vector3.new(math.random(),math.random(),math.random())*50;
size=Vector3.new(math.random(),math.random(),math.random())/3;
color=_RGB(255,0,0);
transparency=0.5;
canCollide=true;
bottomSurface=0;
topSurface=0;
formFactor=3;
locked=true;
inv;
};
delay(5,function()
p.Parent=nil;
end);
end;
end;
_make_hue=function()
h_hue=_new'part'{
size=Vector3.new(0.25,1.8,0.35);
color=_RGB(100,100,100);
formFactor=3;
name='hue';
handle;
};
hh_weld=_new'weld'{
c1=_cframe(0,0.5,0);
part0=handle;
part1=h_hue;
handle;
};
end;
_shot=function(v0,v1)
if(not time_left)then
time_left=0;
end;
if(time_left>time())then
return nil;
else
time_left=time()+math.random(1,10)/100;
end;
if(bullets.current<1)then
local tick_sound=head:findFirstChild'tick_sound'or _new'sound'{
soundId='rbxasset://sounds/SWITCH3.wav';
name='tick_sound';
volume=0.2;
pitch=2;
head;
};
tick_sound:play();
if(bullets.clip>0)then
time_left=time()+2;
h_hue:breakJoints();
h_hue.CanCollide=true;
h_hue.Velocity=(h_hue.CFrame*CFrame.new(0,5,0)).lookVector*10;
_rem(h_hue,10);
delay(1.9,function()
_make_hue();
local got=(bullets.clip>bullets.maximum and
bullets.maximum or
bullets.clip)-bullets.current;
bullets.clip=bullets.clip-got;
bullets.current=bullets.current+got;
end);
end;
return nil;
else
bullets.current=bullets.current-1;
h_weld.C1=_cframe(0,0.75,0,
-math.random(1000,1100)/10,180,0);
d_weld.C1=_cframe(0,-0.25,0.3);
lightstuff.Visible=true;
delay(0.1,function()
lightstuff.Visible=false;
end);
_rem(_new'part'{
velocity=CFrame.new(drag.Position,(drag.CFrame*CFrame.new(-4,-5,0)).p).lookVector*10;
cFrame=drag.CFrame*CFrame.new(-0.5,0,0);
size=Vector3.new(0.1,0.1,0.4);
color=_RGB(200,200,0);
material='Slate';
canCollide=true;
formFactor=3;
inv;
},5);
delay(0.1,function()
d_weld.C1=_cframe(0,-0.25,0);
if(bool_active)then
h_weld.C1=h_weld_cf_active;
end;
end)
end;
local hit,pos=_must(v0,v1,char);
shot_sound:play();
_rem(_new'part'{
cFrame=CFrame.new(v0,pos)*CFrame.new(0,0,-(v0-pos).magnitude*0.5);
size=Vector3.new(0.1,0.1,(v0-pos).magnitude);
color=_RGB(255,255,0);
transparency=0.6;
reflectance=0.5;
canCollide=false;
bottomSurface=0;
anchored=true;
formFactor=3;
topSurface=0;
inv;
},.15);
_light(v0,v1);
if(not hit)then return nil;end;
if(hit.Parent.className=='Hat')then
hit:breakJoints();
hit.CanCollide=true;
hit.Velocity=CFrame.new(v0,pos).lookVector*math.random(30,50);
hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90));
else
local hum=_hum(hit.Parent);
if(not hum)then
if(hit.Anchored==false and hit.Size.magnitude<4)then
hit:breakJoints();
hit.CanCollide=true;
end;
else
_hum_dam(hum,math.random(4,6));
_blood(pos,math.random(3,6));
hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90))/6;
if(hit.Name=='Head')then
hum.Health=0;
_blood(pos,math.random(3,6));
delay(0.001,function()
_new(workspace:FindFirstChild'head_shot'or'sound'){
pitch=math.random(70,100)*0.01;
soundId=url:format(1876552);
name='head_shot';
workspace;
}:play();
end);
_hum_tag(hum);
_rem(_new'part'{
cFrame=CFrame.new(v0,pos)*CFrame.new(0,0,-(v0-pos).magnitude*0.5);
size=Vector3.new(0.1,0.1,(v0-pos).magnitude);
color=torso.Color;
transparency=0.5;
canCollide=false;
bottomSurface=0;
anchored=true;
formFactor=3;
topSurface=0;
inv;
},30);
hit.Parent=nil;
for b=0,1 do
for a=0,1 do
for i=0,1 do
_rem(_new'part'{
velocity=CFrame.new(v0,pos).lookVector*20;
cFrame=hit.CFrame*CFrame.new(i,-b,a);
size=Vector3.new(0.5,0.5,0.5);
color=_RGB(255,255,255);
bottomSurface=0;
canCollide=true;
transparency=0;
formFactor=3;
topSurface=0;
hum;
},30);
end;
end;
end;
end;
end;
end;
end;
_cf_select=function(mouse)
mouse.Icon=url:format(109111387);--108999296
bool_active=true;
local arm=char:findFirstChild'Right Arm';
local weld=torso:findFirstChild'Right Shoulder';
if(arm and weld)then
h_weld.Part0=arm;
h_weld.C1=h_weld_cf_active;
weld.Part1=nil;
weld.Part0=nil;
weld=_new(torso:findFirstChild'right_arml'or'weld'){
name='right_arml';
part0=torso;
part1=arm;
torso;
};
arml=(arml or 0)+1;
local alv=arml;
local gyro=torso:findFirstChild'p_gyro'or Instance.new('BodyGyro',torso);
gyro.maxTorque=Vector3.new(5e5,5e5,5e5);
gyro.P=30000;
gyro.D=1000;
gyro.Name='p_gyro';
repeat
local pos=mouse.hit.p;
local val,valp,p0,p1,p2,hitpos,cj,c0,c1;
val=-math.pi*0.5;
valp=val*-1;
p0=torso.CFrame;
p0=p0+((p0*CFrame.Angles(valp,0,0)).lookVector*0.5)+(p0*CFrame.Angles(0,val,0)).lookVector;
p1=p0+((p0.p-pos).unit*-2);
p2=CFrame.new((p0.p+p1.p)/2,p0.p)*CFrame.Angles(val,val,0);
hitpos=torso.Position;
cj=CFrame.new(hitpos);
c0=torso.CFrame:inverse()*cj;
c1=p2:inverse()*cj;
weld.C0=c0;
weld.C1=c1;
gyro.cframe=CFrame.new(torso.Position,Vector3.new(pos.X,torso.Position.Y,pos.Z));
wait(0.001);
until arml~=alv;
gyro.Parent=nil;
end;
end;
_cf_deselect=function()
bool_active=false;
arml=(arml or 0)+1;
loop_shot=(loop_shot or 0)+1;
h_weld.Part0=torso;
h_weld.C1=h_weld_cf_inactive;
local weld=torso:findFirstChild'right_arml';
if(weld)then
weld.Part1=nil;
weld.Part0=nil;
end;
local arm=char:findFirstChild'Right Arm';
local weld=torso:findFirstChild'Right Shoulder';
if(arm and weld)then
weld.Part0=torso;
weld.Part1=arm;
end;
end;
_cf_mouse=function(event,fun)
mouse[event:sub(1,1):upper()..event:sub(2)]:connect(function(...)
if(bool_active)then
fun(...);
end;
end);
end;
do
local main=getfenv(0);
local c=game:children();
local check=function(v)
if(v.className~=''and v.className~='Instance'and game:service(v.className))then
main[v.className:sub(1,1):lower()..v.className:sub(2)]=v;
end;
end;
for i=1,#c do
pcall(check,c[i]);
end;
end;
bullets={
maximum=51111111111111111111111111110;
current=511111111111111111111111111111110;
clip=501111111111111111111111111111111*4;
};
list_base_props={
backgroundColor3=_RGB(0,0,0);
textColor3=_RGB(200,200,200);
borderSizePixel=0;
color=_RGB(0,0,0);
archivable=false;
canCollide=false;
bottomSurface=0;
topSurface=0;
formFactor=0;
locked=true;
};
user=players.localPlayer;
mouse=user:getMouse();
char=user.Character;
gui=user.PlayerGui;
bag=user.Backpack;
torso=char.Torso;
head=char.Head;
hum=_hum(char);
url='rbxassetid://%d';
name='dev-uzi';
h_weld_cf_inactive=_cframe(0.35,0.5,0.5,
0,90,-70);
h_weld_cf_active=_cframe(0,0.75,0,
-110,180,0);
assert(hum,'humanoid is not found');
_clear();
_cf_mouse('button1Down',function()
loop_shot=(loop_shot or 0)+1;
local vers=loop_shot;
local step=runService.Stepped;
repeat
_shot((tube.CFrame*CFrame.new(0,0,tube.Size.Z*0.5)).p,mouse.hit.p);
step:wait();--wait(0.001);
until vers~=loop_shot;
end);
_cf_mouse('button1Up',function()
loop_shot=(loop_shot or 0)+1;
end);
_cf_mouse('move',function()
cross_f.Position=UDim2.new(0,mouse.X-11,0,mouse.Y-11);
end);
_cf_mouse('keyDown',function(k)
if(k=='r')then
if(bullets.clip>0 and time_left<=time())then
local got=(bullets.clip>bullets.maximum and
bullets.maximum or
bullets.clip)-bullets.current;
bullets.clip=bullets.clip-got;
bullets.current=bullets.current+got;
if(got~=0)then
time_left=time()+2;
end;
end;
end;
end);
screen=_new'screenGui'{
name=name;
};
cross_f=_new'frame'{
size=UDim2.new(0,21,0,21);
backgroundTransparency=1;
screen;
};
for i=0,1 do
_new'frame'{
position=UDim2.new(0,13*i,0,11);
size=UDim2.new(0,10,0,1);
cross_f;
};
end;
for i=0,1 do
_new'frame'{
position=UDim2.new(0,11,0,13*i);
size=UDim2.new(0,1,0,10);
cross_f;
};
end;
shot_sound=_new(head:findFirstChild'2920959'or'sound'){
soundId=url:format(2920959);
pitch=1.4;
head;
};
if(shot_sound.Name~='2920959')then
shot_sound.Name='2920959';
shot_sound:play();
end;
bin=_new'hopperBin'{
deselected=_cf_deselect;
selected=_cf_select;
name=name;
bag;
};
inv=_new'model'{
name=name;
char;
};
handle=_new'part'{
size=Vector3.new(0.3,1.3,0.4);
color=_RGB(140,140,140);
name='handle';
formFactor=3;
inv;
touched=function(hit)
if(hit.Parent.className=='Model')then
local hum=_hum(hit.Parent);
if(hum~=nil)then
_hum_dam(hum,handle.Velocity.magnitude);
end;
end;
end;
};
h_weld=_new'weld'{
c1=h_weld_cf_inactive;
part1=handle;
part0=torso;
handle;
};
_make_hue();
h_part=_new'part'{
size=Vector3.new(0.4,0.4,1.4);
color=_RGB(140,140,140);
name='handle';
formFactor=3;
handle;
};
hp_weld=_new'weld'{
c1=_cframe(0,-1.3/2,-0.3,
20,0,0);
part0=handle;
part1=h_part;
handle;
};
drag=_new'part'{
size=Vector3.new(0.5,0.45,1.5);
color=_RGB(100,100,100);
name='handle';
formFactor=3;
handle;
};
d_weld=_new'weld'{
c1=_cframe(0,-0.25,0);
part0=h_part;
part1=drag;
handle;
};
tube=_new'part'{
size=Vector3.new(0.2,0.2,1.5);
color=_RGB(0,0,0);
name='handle';
formFactor=3;
handle;
};
t_weld=_new'weld'{
c1=_cframe(0,-0.3,-0.1);
part0=h_part;
part1=tube;
handle;
};
bullets_label=_new'textLabel'{
textStrokeColor3=_RGB(0,0,0);
textColor3=_RGB(200,200,200);
textStrokeTransparency=0;
backgroundTransparency=1;
fontSize=5;
screen;
};
lightstuff=_new'frame'{
backgroundColor3=_RGB(255,255,255);
position=UDim2.new(0,0,0,-1);
backgroundTransparency=0.5;
size=UDim2.new(1,0,1,1);
borderSizePixel=0;
visible=false;
screen;
};
coroutine.wrap(function()
local red,white,green;
repeat
if(screen.Parent)then
if(not green and bullets.current==bullets.maximum)then
green=true;
bullets_label.TextColor3=_RGB(0,200,0);
elseif(not red and bullets.current==0)then
red=true;
bullets_label.TextColor3=_RGB(200,0,0);
elseif((red or green)and bullets.current~=0 and bullets.current~=bullets.maximum)then
bullets_label.TextColor3=_RGB(200,200,200);
green=false;
red=false;
end;
bullets_label.Text=('Bullets: %d/%d'):format(bullets.current,bullets.clip);
bullets_label.Size=UDim2.new(0,bullets_label.TextBounds.X,0,bullets_label.TextBounds.Y);
bullets_label.Position=UDim2.new(1,-bullets_label.TextBounds.X-6,1,-bullets_label.TextBounds.Y-6);
end;
wait(0.001);
until nil;
end)();
_G.dev_pistol_version=(_G.dev_pistol_version or 0)+1;
local vers=_G.dev_pistol_version;
repeat _update();wait(0.001);until _G.dev_pistol_version~=vers or hum.Health==0;
if(hum.Health==0)then
_clear();
end;
end
end)
addcmd('nil', 'removes the player',{},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
pcall(function() gPlayers[v].Character:Remove() end)
gPlayers[v].Character = nil
if FindTable(SPC, args[1]) then Notify('Made ' ..args[1].. ' nil') else
Notify('Made player(s) nil') end end end)
addcmd('addban', 'Adds a ban to the banlist if the player is offline.', {},
function(args, speaker)
local player = args[1]
local playerid = game:GetService("Players"):GetUserIdFromNameAsync(args[1])
if player ~= nil then
if FindTable(WL, player) then Notify('Error: '..player..' is whitelisted') elseif not FindTable(banname, player) then
table.insert(banT, playerid)
banname[#banname + 1] = {NAME = tostring(player), ID = tonumber(playerid), AGE = "-"}
updatebans()
Notify("Added ban for: "..player)
end
end
end)
addcmd('ban', 'goodbye ;)',{},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
if FindTable(SPC, args[1]) then Notify('Banned ' ..args[1]) else
Notify('Banned player(s)') end
spawn(function()
if FindTable(WL, gPlayers[v].Name) then Notify('Error: '..gPlayers[v].Name..' is whitelisted') else
if not FindTable(banname, gPlayers[v].Name) then
table.insert(banT, _players[v].userId)
banname[#banname + 1] = {NAME = tostring(gPlayers[v].Name), ID = tonumber(gPlayers[v].userId), AGE = tonumber(gPlayers[v].AccountAge)}
updatebans()
kickF(gPlayers[v])
end
end
end)
end
end)
addcmd('clearbans', 'welcome back!',{'clrbans'},
function(args, speaker)
banT = {}
banname = {}
Notify('Removed all bans')
updatebans()
end)
addcmd('unban','unbans a player',{},
function(args, speaker)
if FindTable(banT, gPlayers:GetUserIdFromNameAsync(args[1])) then
table.remove(banT, GetInTable(banT, gPlayers:GetUserIdFromNameAsync(args[1])))
for i,v in pairs(banname) do
if v.NAME == tostring(args[1]) then
table.remove(banname, i)
updatebans()
end end
Notify('Unbanned ' .. args[1])
end
end)
addcmd('dismiss', 'dismiss',{'verify'},
function(args, speaker)
for _, child in pairs( workspace:GetChildren()) do
if child.Name == speaker.Name .. "TAB" then
child:Destroy() end end
for a,b in pairs(hastab) do if b == speaker.Name then table.remove(hastab, a) end end
end)
addcmd('admin', 'ur an admin now ;o',{},
function(args, speaker)
if speaker.userId ~= LP.userId then
lponly(speaker) else
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
spawn(function()
if _players[v].userId ~= LP.userId and not isAdmin(_players[v]) then
table.insert(adminT, _players[v].userId)
adminname[#adminname + 1] = {NAME = tostring(gPlayers[v].Name)}
updateadmins()
if FindTable(SPC, args[1]) then Notify('Gave ' ..args[1].. ' admin') else
Notify('Gave player(s) admin') end
game:GetService('Chat'):Chat(gPlayers[v].Character, 'You are now an admin! The prefix is ' .. cmdprefix, 1)
end end) end end end)
addcmd('unadmin', 'removes the admin',{'noadmin'},
function(args, speaker)
if speaker.userId ~= LP.userId then
lponly(speaker) else
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
local radmin = tostring(_players[v].Name)
if isAdmin(_players[v]) and _players[v].userId ~= LP.userId then
table.remove(adminT, GetInTable(adminT, _players[v].userId))
for a,b in pairs(adminname) do
if b.NAME == radmin then
table.remove(adminname, a)
updateadmins()
end end
game:GetService('Chat'):Chat(gPlayers[v].Character, 'You are no longer an admin', 2)
if FindTable(SPC, args[1]) then Notify('Removed admin from ' .. args[1]) else
Notify('Removed admin from player(s)') end
end
end
end
end)
addcmd('bang', 'owo',{'rape'},
function(args, speaker)
local players = getPlayer(args[1], speaker)
local target = getPlayer(args[2], speaker)[1]
for i,v in pairs(players)do
if args[2] then
rape(target, v)
else
rape(v, speaker.Name)
end
end
end)
addcmd('bgui', 'gives player billboard gui presenting text',{},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
if gPlayers[v].Character.Head:FindFirstChild("BillboardGui") then
gPlayers[v].Character.Head:FindFirstChild("BillboardGui"):Destroy()
end
y = Instance.new("BillboardGui")
y.Size = UDim2.new(0,100,0,150)
y.StudsOffset = Vector3.new(0,1,0)
y.Parent = gPlayers[v].Character.Head
y.Adornee = gPlayers[v].Character.Head
f = Instance.new("TextLabel")
f.Parent = y
f.BackgroundTransparency = 1
f.Position = UDim2.new(0,0,0,-50)
f.Size = UDim2.new(0,100,0,100)
f.Font = "Highway"
f.FontSize = "Size48"
f.Text = GLS(false, 1)
f.TextStrokeColor3 = Color3.new(0,0,0)
f.TextColor3 = Color3.new(255/255,255/255,255/255)
f.TextStrokeTransparency = 0
f.TextYAlignment = "Bottom"
end
end)
addcmd('unbgui', 'gives player billboard gui presenting text',{'nobgui'},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
if gPlayers[v].Character.Head:FindFirstChild("BillboardGui") then
gPlayers[v].Character.Head:FindFirstChild("BillboardGui"):Destroy()
end
end
end)
function pipeTp(name,target)
spawn(function()
local pipe = Instance.new("Part")
pipe.Name = "Pipe"
pipe.Color = Color3.new(52/255,142/255,64/255)
pipe.Size = Vector3.new(8,8,8)
pipe.Anchored = true
local mesh = Instance.new("SpecialMesh",pipe)
mesh.MeshId = "rbxassetid://856736661"
mesh.Scale = Vector3.new(0.15, 0.15, 0.15)
local sound = Instance.new("Sound",pipe)
sound.SoundId = "rbxassetid://864352897"
sound.Volume = 1
local targetpos = game:GetService("Players")[target].Character.HumanoidRootPart.CFrame
local char = game:GetService("Players")[name].Character
char.PrimaryPart = char.HumanoidRootPart
if char:FindFirstChild("Torso") then
char.Torso.Anchored = true
else
char.UpperTorso.Anchored = true
end
local torso = char.HumanoidRootPart
local initPos = torso.CFrame
pipe.Parent = workspace
pipe.CFrame = initPos - Vector3.new(0,8,0)
for i = 0,8,0.2 do
pipe.CFrame = initPos - Vector3.new(0,8-i,0)
if i >= 1 then char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,7,0)) end
game:GetService("RunService").RenderStepped:wait()
end
sound:Play()
for i = 7,-8,-0.2 do
char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,i,0))
game:GetService("RunService").RenderStepped:wait()
end
char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,-8,0))
for i = 8,0,-0.2 do
pipe.CFrame = initPos - Vector3.new(0,8-i,0)
game:GetService("RunService").RenderStepped:wait()
end
pipe.CFrame = targetpos - Vector3.new(0,8,0)
char:SetPrimaryPartCFrame(pipe.CFrame)
for i = 0,8,0.2 do
pipe.CFrame = targetpos - Vector3.new(0,8-i,0)
game:GetService("RunService").RenderStepped:wait()
end
local played = false
for i = -8,7,0.2 do
if i >= 0 and not played then played = true sound:Play() end
char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,i,0))
game:GetService("RunService").RenderStepped:wait()
end
char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,7,0))
for i = 8,0,-0.2 do
pipe.CFrame = targetpos - Vector3.new(0,8-i,0)
if i >= 1 then char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,7,0)) end
game:GetService("RunService").RenderStepped:wait()
end
pipe:Destroy()
if char:FindFirstChild("Torso") then
char.Torso.Anchored = false
else
char.UpperTorso.Anchored = false
end
end)
end
addcmd('pipetp', 'uses pipe to tp plr to plr',{},
function(args, speaker)
local players = getPlayer(args[1], speaker)
local target = getPlayer(args[2], speaker)[1]
for i,v in pairs(players)do
pipeTp(v,target)
end
end)
addcmd('rhats', 'no more hats',{'removehats'},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players) do
for i,v in pairs(gPlayers[v].Character:GetChildren()) do
if v:IsA('Accessory') then
v:destroy()
end
end
end
end)
addcmd('naked', 'no more clothing',{},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players) do
for i,v in pairs(gPlayers[v].Character:GetChildren()) do
if v:IsA('Shirt') or v:IsA('Pants') or v:IsA('ShirtGraphic') then
v:destroy()
end
end
end
end)
addcmd('rainbow', 'makes a players parts change colors',{},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players) do
local Parts={}
local function GetDiscoColor(hue)
local section = hue % 1 * 3
local secondary = 0.5 * math.pi * (section % 1)
if section < 1 then
return Vector3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary))
elseif section < 2 then
return Vector3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary))
else
return Vector3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1)
end
end
local Part = function(x,y,z,color,tr,cc,an,parent)
local p = Instance.new('Part',parent)
p.formFactor = 'Custom'
p.Size = Vector3.new(x,y,z)
p.BrickColor = BrickColor.new(color)
p.CanCollide = cc
p.Transparency = tr
p.Anchored = an
p.TopSurface,p.BottomSurface = 0,0
p:BreakJoints''
table.insert(Parts,p)
return p
end
local Weld = function(p0,p1)
local w = Instance.new('Motor',p0)
w.Part0 = p0
w.Part1 = p1
return w
end
local Mesh = function(par,num,x,y,z)
local msh = 0
if num == 1 then
msh = Instance.new("SpecialMesh",par)
msh.MeshId='rbxasset://fonts/torso.mesh'
msh.TextureId='rbxasset://25701026'
end
if num == 2 then
msh = Instance.new("SpecialMesh",par)
msh.MeshId='rbxasset://fonts/head.mesh'
msh.TextureId='rbxassetid://25701026'
end
msh.Scale = Vector3.new(x,y,z)
return msh
end
local char=gPlayers[v].Character
for _,v in pairs(char:GetChildren()) do
if v.ClassName=="Part" then
v.Transparency=1
elseif v.ClassName=="Hat" then
v.Handle.Mesh.TextureId='rbxassetid://25701026'
table.insert(Parts,v.Handle)
end
end
local t=Part(1,1,1,'',0,false,false,char)
Mesh(t,1,1,1,1)
Weld(char.Torso,t)
local a=Part(1,1,1,'',0,false,false,char)
Mesh(a,1,.5,1,1)
Weld(char['Right Arm'],a)
local a=Part(1,1,1,'',0,false,false,char)
Mesh(a,1,.5,1,1)
Weld(char['Left Arm'],a)
local l=Part(1,1,1,'',0,false,false,char)
Mesh(l,1,.5,1,1)
Weld(char['Right Leg'],l)
local l=Part(1,1,1,'',0,false,false,char)
Mesh(l,1,.5,1,1)
Weld(char['Left Leg'],l)
local h=Part(1,1,1,'',0,false,false,char)
Mesh(h,2,1,1,1)
Weld(char.Head,h)
spawn(function()
while(coroutine.yield())do
for i=1,#Parts do
Parts[i].Mesh.VertexColor=GetDiscoColor(tick()*.5)
end
end;
end);
end
end)
addcmd('notools', 'no more tools',{'rtools','clrtools','removetools'},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players) do
for i,v in pairs(gPlayers[v].Backpack:GetDescendants()) do
if v:IsA('Tool') or v:IsA('HopperBin') then
v:destroy() end
for i,v in pairs(players) do
for i,v in pairs(gPlayers[v].Character:GetDescendants()) do
if v:IsA('Tool') or v:IsA('HopperBin') then
v:destroy() end end end
end
end
end)
addcmd('keeptools', 'saves tools in starterpack',{'startertools','stools','ktools'},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
local function copy(instance)
for i,c in pairs(instance:GetChildren())do
if c:IsA('Tool') or c:IsA('HopperBin') then
c:Clone().Parent = gPlayers[v].StarterGear end
copy(c)
end
end
copy(gPlayers[v].Backpack)
end
for i,v in pairs(players)do
local function copy(instance)
for i,c in pairs(instance:GetChildren())do
if c:IsA('Tool') or c:IsA('HopperBin') then
c:Clone().Parent = gPlayers[v].StarterGear end
copy(c)
end
end
copy(gPlayers[v].Character)
end
Notify('Copied tools to StarterGear')
end)
addcmd('nokeeptools', 'deletes tools in starterpack',{'unkeeptools','nokeeptools','nostartertools','unstartertools','nostools','unstools','noktools','unktools'},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
for i,c in pairs(gPlayers[v].StarterGear:GetChildren())do
if c:IsA('Tool') or c:IsA('HopperBin') then c:destroy()
end end end
Notify('Cleared tools from StarterGear')
end)
addcmd('tools', 'steals tools from serverstorage and lighting',{'gears'},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
local function copy(instance)
for i,c in pairs(instance:GetChildren())do
if c:IsA('Tool') or c:IsA('HopperBin') then
c:Clone().Parent = gPlayers[v].Backpack end
copy(c)
end
end
copy(LightingService)
end
for i,v in pairs(players)do
local function copy(instance)
for i,c in pairs(instance:GetChildren())do
if c:IsA('Tool') or c:IsA('HopperBin') then
c:Clone().Parent = gPlayers[v].Backpack end
copy(c)
end
end
copy(game.ReplicatedStorage)
end
end)
wdisco = false
addcmd('partdisco', 'color spams the workspace',{'pdisco'},
function(args, speaker)
if wdisco == false then
wdisco = true
presets = {"Bright red","Bright yellow","Bright orange","Bright violet","Bright blue","Bright bluish green","Bright green"}
repeat wait(1)
if wdisco == true then
local function color(instance)
for i,v in pairs(instance:GetChildren())do
if v.className == "Part" then
v.BrickColor = BrickColor.new(presets[math.random(1,#presets)]) end
color(v)
end
end
color(workspace)
end
until wdisco == false
end
end)
addcmd('unpartdisco', 'stops workspacedisco',{'unpdisco','nopartdisco','nopdisco'},
function(args, speaker)
wdisco = false
end)
addcmd('gravity', 'workspace gravity',{''},
function(args, speaker)
workspace.Gravity = args[1]
Notify('Gravity set to ' .. args[1])
end)
SINFOGUIopen = false
function serverinfogui()
if SINFOGUIopen == false then
local Sinfo = Instance.new("ScreenGui")
local drag = Instance.new("Frame")
local PromptDialog = Instance.new("Frame")
local shadow = Instance.new("Frame")
local PopupText = Instance.new("TextLabel")
local Exit = Instance.new("TextButton")
local ContainerFrame = Instance.new("Frame")
local TextLabel = Instance.new("TextLabel")
local TextLabel2 = Instance.new("TextLabel")
local TextLabel3 = Instance.new("TextLabel")
local Time = Instance.new("TextLabel")
local appearance = Instance.new("TextLabel")
local fe = Instance.new("TextLabel")
local maxplayers = Instance.new("TextLabel")
local name = Instance.new("TextLabel")
local placeid = Instance.new("TextLabel")
local playerid = Instance.new("TextLabel")
local players = Instance.new("TextLabel")
Sinfo.Name = "Sinfo"
Sinfo.Parent = game.CoreGui
drag.Name = "drag"
drag.Parent = Sinfo
drag.Active = true
drag.BackgroundColor3 = Color3.new(1, 1, 1)
drag.BackgroundTransparency = 1
dragGUI(drag)
drag.Position = UDim2.new(0.5, -150, 0, -400)
drag.Size = UDim2.new(0, 290, 0, 30)
PromptDialog.Name = "PromptDialog"
PromptDialog.Parent = drag
PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0)
PromptDialog.BackgroundTransparency = 1
PromptDialog.BorderSizePixel = 0
PromptDialog.Position = UDim2.new(0, -10, 0, 0)
PromptDialog.Size = UDim2.new(0, 310, 0, 300)
PromptDialog.ZIndex = 8
shadow.Name = "shadow"
shadow.Parent = PromptDialog
shadow.BackgroundColor3 = maincolor
shadow.BackgroundTransparency = 0.30000001192093
shadow.BorderColor3 = Color3.new(0, 0, 0)
shadow.BorderSizePixel = 0
shadow.Position = UDim2.new(0.0322580636, 0, 0.00999999978, 0)
shadow.Size = UDim2.new(0, 290, 0, 26)
PopupText.Name = "PopupText"
PopupText.Parent = shadow
PopupText.BackgroundTransparency = 1
PopupText.Position = UDim2.new(0, 8, 0, -3)
PopupText.Size = UDim2.new(1, -16, 0.538461566, 0)
PopupText.ZIndex = 110
PopupText.Font = Enum.Font.SourceSansBold
PopupText.FontSize = Enum.FontSize.Size28
PopupText.Text = "Server"
PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97)
PopupText.TextStrokeTransparency = 0
PopupText.TextWrapped = true
PopupText.TextYAlignment = Enum.TextYAlignment.Top
Exit.Name = "Exit"
Exit.Parent = shadow
Exit.BackgroundColor3 = Color3.new(1, 0, 0)
Exit.BackgroundTransparency = 0.30000001192093
Exit.BorderColor3 = Color3.new(1, 0, 0)
Exit.BorderSizePixel = 0
Exit.Position = UDim2.new(0, 267, 0, 3)
Exit.Size = UDim2.new(0, 20, 0, 20)
Exit.FontSize = Enum.FontSize.Size14
Exit.Text = ""
ContainerFrame.Name = "ContainerFrame"
ContainerFrame.Parent = PromptDialog
ContainerFrame.BackgroundColor3 = maincolor
ContainerFrame.BackgroundTransparency = 0.5
ContainerFrame.BorderColor3 = Color3.new(0, 0, 0)
ContainerFrame.BorderSizePixel = 0
ContainerFrame.Position = UDim2.new(0, 10, 0, 29)
ContainerFrame.Size = UDim2.new(0.935483873, 0, 0.806666672, 0)
ContainerFrame.ZIndex = 5
TextLabel.Name = "Text Label"
TextLabel.Parent = ContainerFrame
TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
TextLabel.BackgroundTransparency = 1
TextLabel.BorderColor3 = Color3.new(0, 0, 0)
TextLabel.Position = UDim2.new(0, 10, 0, 70)
TextLabel.Size = UDim2.new(0, 100, 0, 20)
TextLabel.ZIndex = 10
TextLabel.Font = Enum.Font.SourceSans
TextLabel.FontSize = Enum.FontSize.Size24
TextLabel.Text = "Run Time:"
TextLabel.TextColor3 = Color3.new(1, 1, 1)
TextLabel.TextStrokeTransparency = 0
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
TextLabel2.Name = "Text Label2"
TextLabel2.Parent = ContainerFrame
TextLabel2.BackgroundColor3 = Color3.new(1, 1, 1)
TextLabel2.BackgroundTransparency = 1
TextLabel2.BorderColor3 = Color3.new(0, 0, 0)
TextLabel2.Position = UDim2.new(0, 10, 0, 120)
TextLabel2.Size = UDim2.new(0, 100, 0, 20)
TextLabel2.ZIndex = 10
TextLabel2.Font = Enum.Font.SourceSans
TextLabel2.FontSize = Enum.FontSize.Size24
TextLabel2.Text = "Statistics:"
TextLabel2.TextColor3 = Color3.new(1, 1, 1)
TextLabel2.TextStrokeTransparency = 0
TextLabel2.TextXAlignment = Enum.TextXAlignment.Left
TextLabel3.Name = "Text Label3"
TextLabel3.Parent = ContainerFrame
TextLabel3.BackgroundColor3 = Color3.new(1, 1, 1)
TextLabel3.BackgroundTransparency = 1
TextLabel3.BorderColor3 = Color3.new(0, 0, 0)
TextLabel3.Position = UDim2.new(0, 10, 0, 0)
TextLabel3.Size = UDim2.new(0, 100, 0, 20)
TextLabel3.ZIndex = 10
TextLabel3.Font = Enum.Font.SourceSans
TextLabel3.FontSize = Enum.FontSize.Size24
TextLabel3.Text = "Local Player:"
TextLabel3.TextColor3 = Color3.new(1, 1, 1)
TextLabel3.TextStrokeTransparency = 0
TextLabel3.TextXAlignment = Enum.TextXAlignment.Left
Time.Name = "Time"
Time.Parent = ContainerFrame
Time.BackgroundColor3 = Color3.new(0, 0.8, 1)
Time.BackgroundTransparency = 1
Time.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
Time.Position = UDim2.new(0, 10, 0, 90)
Time.Size = UDim2.new(0, 100, 0, 20)
Time.ZIndex = 100
Time.Font = Enum.Font.ArialBold
Time.FontSize = Enum.FontSize.Size14
Time.Text = "Loading..."
Time.TextColor3 = Color3.new(1, 1, 1)
Time.TextStrokeTransparency = 0
Time.TextXAlignment = Enum.TextXAlignment.Left
appearance.Name = "appearance"
appearance.Parent = ContainerFrame
appearance.BackgroundColor3 = Color3.new(0, 0.8, 1)
appearance.BackgroundTransparency = 1
appearance.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
appearance.Position = UDim2.new(0, 10, 0, 40)
appearance.Size = UDim2.new(0, 100, 0, 20)
appearance.ZIndex = 10
appearance.Font = Enum.Font.ArialBold
appearance.FontSize = Enum.FontSize.Size14
appearance.Text = "Appearance: Loading..."
appearance.TextColor3 = Color3.new(1, 1, 1)
appearance.TextStrokeTransparency = 0
appearance.TextXAlignment = Enum.TextXAlignment.Left
fe.Name = "fe"
fe.Parent = ContainerFrame
fe.BackgroundColor3 = Color3.new(0, 0.8, 1)
fe.BackgroundTransparency = 1
fe.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
fe.Position = UDim2.new(0, 10, 0, 200)
fe.Size = UDim2.new(0, 100, 0, 20)
fe.ZIndex = 10
fe.Font = Enum.Font.ArialBold
fe.FontSize = Enum.FontSize.Size14
fe.Text = "Loading..."
fe.TextColor3 = Color3.new(1, 1, 1)
fe.TextStrokeTransparency = 0
fe.TextXAlignment = Enum.TextXAlignment.Left
maxplayers.Name = "maxplayers"
maxplayers.Parent = ContainerFrame
maxplayers.BackgroundColor3 = Color3.new(0, 0.8, 1)
maxplayers.BackgroundTransparency = 1
maxplayers.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
maxplayers.Position = UDim2.new(0, 10, 0, 160)
maxplayers.Size = UDim2.new(0, 100, 0, 20)
maxplayers.ZIndex = 10
maxplayers.Font = Enum.Font.ArialBold
maxplayers.FontSize = Enum.FontSize.Size14
maxplayers.Text = "Loading..."
maxplayers.TextColor3 = Color3.new(1, 1, 1)
maxplayers.TextStrokeTransparency = 0
maxplayers.TextXAlignment = Enum.TextXAlignment.Left
name.Name = "name"
name.Parent = ContainerFrame
name.BackgroundColor3 = Color3.new(0, 0.8, 1)
name.BackgroundTransparency = 1
name.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
name.Position = UDim2.new(0, 10, 0, 180)
name.Size = UDim2.new(0, 100, 0, 20)
name.ZIndex = 10
name.Font = Enum.Font.ArialBold
name.FontSize = Enum.FontSize.Size14
name.Text = "Place: Loading..."
name.TextColor3 = Color3.new(1, 1, 1)
name.TextStrokeTransparency = 0
name.TextXAlignment = Enum.TextXAlignment.Left
placeid.Name = "placeid"
placeid.Parent = ContainerFrame
placeid.BackgroundColor3 = Color3.new(0, 0.8, 1)
placeid.BackgroundTransparency = 1
placeid.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
placeid.Position = UDim2.new(0, 10, 0, 220)
placeid.Size = UDim2.new(0, 100, 0, 20)
placeid.ZIndex = 10
placeid.Font = Enum.Font.ArialBold
placeid.FontSize = Enum.FontSize.Size14
placeid.Text = "Place ID: Loading..."
placeid.TextColor3 = Color3.new(1, 1, 1)
placeid.TextStrokeTransparency = 0
placeid.TextXAlignment = Enum.TextXAlignment.Left
playerid.Name = "playerid"
playerid.Parent = ContainerFrame
playerid.BackgroundColor3 = Color3.new(0, 0.8, 1)
playerid.BackgroundTransparency = 1
playerid.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
playerid.Position = UDim2.new(0, 10, 0, 20)
playerid.Size = UDim2.new(0, 100, 0, 20)
playerid.ZIndex = 10
playerid.Font = Enum.Font.ArialBold
playerid.FontSize = Enum.FontSize.Size14
playerid.Text = "Player ID: Loading..."
playerid.TextColor3 = Color3.new(1, 1, 1)
playerid.TextStrokeTransparency = 0
playerid.TextXAlignment = Enum.TextXAlignment.Left
players.Name = "players"
players.Parent = ContainerFrame
players.BackgroundColor3 = Color3.new(0, 0.8, 1)
players.BackgroundTransparency = 1
players.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
players.Position = UDim2.new(0, 10, 0, 140)
players.Size = UDim2.new(0, 100, 0, 20)
players.ZIndex = 100
players.Font = Enum.Font.ArialBold
players.FontSize = Enum.FontSize.Size14
players.Text = "Loading..."
players.TextColor3 = Color3.new(1, 1, 1)
players.TextStrokeTransparency = 0
players.TextXAlignment = Enum.TextXAlignment.Left
local SINFOGUI = ContainerFrame
drag:TweenPosition(UDim2.new(0.5, -150, 0, 100), "InOut", "Quart", 0.5, true, nil)
SINFOGUIopen = true wait(0.5)
local Asset = game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId)
SINFOGUI.name.Text = "Place: " .. Asset.Name
Exit.MouseButton1Click:Connect(function()
drag:TweenPosition(UDim2.new(0.5, -150, 0, -400), "InOut", "Quart", 0.5, true, nil)
wait(0.6) SINFOGUIopen = false Sinfo:Destroy() end)
SINFOGUI.playerid.Text = "Player ID: " ..gPlayers.LocalPlayer.UserId
if workspace.FilteringEnabled == true then
SINFOGUI.fe.Text = "Filtering Enabled"
elseif workspace.FilteringEnabled == false then
SINFOGUI.fe.Text = "Filtering Disabled" end
SINFOGUI.maxplayers.Text = gPlayers.MaxPlayers.. " Players Max"
SINFOGUI.placeid.Text = "Place ID: " ..game.PlaceId repeat
players = gPlayers:getPlayers()
SINFOGUI.players.Text = #players.. " Player(s)"
SINFOGUI.appearance.Text = "Appearance: " ..gPlayers.LocalPlayer.CharacterAppearanceId
local seconds = math.floor(workspace.DistributedGameTime)
local minutes = math.floor(workspace.DistributedGameTime / 60)
local hours = math.floor(workspace.DistributedGameTime / 60 / 60)
local seconds = seconds - (minutes * 60)
local minutes = minutes - (hours * 60)
if hours < 1 then if minutes < 1 then
SINFOGUI.Time.Text = seconds .. " Second(s)" else
SINFOGUI.Time.Text = minutes .. " Minute(s), " .. seconds .. " Second(s)" end else
SINFOGUI.Time.Text = hours .. " Hour(s), " .. minutes .. " Minute(s), " .. seconds .. " Second(s)"
end wait(1) until SINFOGUIopen == false end end
addcmd('serverinfo', 'gives you info about the server',{'info','sinfo'},
function(args, speaker)
if speaker.userId ~= LP.userId then
lponly(speaker)
else
serverinfogui()
end
end)
addcmd('sparkles', 'give a player sparkles',{'sp'},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
spawn(function()
local pchar=_char(v)
local Sparkles1 = Instance.new("Sparkles", pchar.Head)
local Sparkles2 = Instance.new("Sparkles", pchar.HumanoidRootPart)
local Sparkles3 = Instance.new("Sparkles", pchar["Left Arm"])
local Sparkles4 = Instance.new("Sparkles", pchar["Right Arm"])
local Sparkles5 = Instance.new("Sparkles", pchar["Left Leg"])
local Sparkles6 = Instance.new("Sparkles", pchar["Right Leg"])
if not args[2] then return end
Sparkles1.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
Sparkles2.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
Sparkles3.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
Sparkles4.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
Sparkles5.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
Sparkles6.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
end)
end
end)
addcmd('nosparkles', 'remove sparkles from a player',{'unsparkles','unsp','nosp'},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
local pchar=_char(v)
for j,v1 in pairs(pchar:GetDescendants()) do
if v1:IsA("Sparkles") then
v1:Destroy()
end end end
end)
addcmd('smoke', 'give a player smoke',{},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
local pchar=_char(v)
Instance.new("Smoke", pchar.HumanoidRootPart)
end
end)
addcmd('addstat', 'give a player a stat',{},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
spawn(function()
if gPlayers[v]:FindFirstChild("leaderstats") then
for _, child in pairs(gPlayers[v].leaderstats:GetChildren()) do
if child.Name == "STAT" then
child:Destroy()
end
end
local score = Instance.new("StringValue")
score.Name = "STAT"
score.Value = GLS(false, 1)
score.Parent = gPlayers[v].leaderstats
else
local stats = Instance.new("IntValue")
stats.Name = "leaderstats"
stats.Parent = gPlayers[v]
for _, child in pairs(gPlayers[v].leaderstats:GetChildren()) do
if child.Name == "STAT" then
child:Destroy()
end
end
local score = Instance.new("StringValue")
score.Name = "STAT"
score.Value = GLS(false, 1)
score.Parent = gPlayers[v].leaderstats
end
end)
end
end)
addcmd('unsmoke', 'remove smoke from a player',{'nosmoke'},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
local pchar=_char(v)
for j,v1 in pairs(pchar:GetDescendants()) do
if v1:IsA("Smoke") then
v1:Destroy()
end
end
end
end)
addcmd('longneck', 'makes a player have a really long neck',{'giraffe'},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
local pchar=_char(v)
for i,v in pairs(pchar:GetChildren()) do
if pchar.Torso:FindFirstChild("Neck") then
pchar.Torso.Neck.C0 = CFrame.new(0,3,0) * CFrame.Angles(-math.rad(90),0,math.rad(180))
local Neck = pchar:FindFirstChild("Neck") if Neck then Neck:Destroy() end
Neck = Instance.new("Part", pchar) Neck.Name = "Neck" Neck.Size = Vector3.new(1,3,1)
Neck.Position = Vector3.new(0,100,0) Neck.BrickColor = BrickColor.new(tostring(pchar.Head.BrickColor)) Neck.Locked = true
local Mesh = Instance.new("CylinderMesh", Neck) Mesh.Scale = Vector3.new(0.7,1,0.7)
local Weld = Instance.new("Weld", Neck) Weld.Part0 = Neck Weld.Part1 = pchar.Torso Weld.C0 = CFrame.new(0,-2,0)
end
end
end
end)
addcmd('unlongneck', 'makes a player have a really long neck',{'nolongneck', 'ungiraffe', 'nogiraffe'},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
local pchar=_char(v)
for i,v in pairs(pchar:GetChildren()) do
pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(-math.rad(90),0,math.rad(180))
local Neck = pchar:FindFirstChild("Neck") if Neck then Neck:Destroy() end
end
end
end)
addcmd('removeterrain', 'rip terrain',{'noterrain','clrterrain'},
function(args, speaker)
workspace.Terrain:Clear()
end)
addcmd('smite','get hit by lightning',{},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
local pchar=_char(v)
spawn(function()
local char = pchar
local zeus = Instance.new("Model",char)
local cloud = Instance.new("Part",zeus)
cloud.Anchored = true
cloud.CanCollide = false
cloud.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,25,0)
local sound = Instance.new("Sound",cloud)
sound.SoundId = "rbxassetid://133426162"
local mesh = Instance.new("SpecialMesh",cloud)
mesh.MeshId = "http://www.roblox.com/asset/?id=1095708"
mesh.TextureId = "http://www.roblox.com/asset/?id=1095709"
mesh.Scale = Vector3.new(30,30,40)
mesh.VertexColor = Vector3.new(0.3,0.3,0.3)
local light = Instance.new("PointLight",cloud)
light.Color = Color3.new(0,85/255,1)
light.Brightness = 10
light.Range = 30
light.Enabled = false
wait(0.2)
sound.Volume = 0.5
sound.Pitch = 0.8
sound:Play()
light.Enabled = true
wait(1/100)
light.Enabled = false
wait(0.2)
light.Enabled = true
light.Brightness = 1
wait(0.05)
light.Brightness = 3
wait(0.02)
light.Brightness = 1
wait(0.07)
light.Brightness = 10
wait(0.09)
light.Brightness = 0
wait(0.01)
light.Brightness = 7
light.Enabled = false
wait(1.5)
local part1 = Instance.new("Part",zeus)
part1.Anchored = true
part1.CanCollide = false
part1.Size = Vector3.new(2, 9.2, 1)
part1.BrickColor = BrickColor.new("New Yeller")
part1.Transparency = 0.6
part1.BottomSurface = "Smooth"
part1.TopSurface = "Smooth"
part1.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,15,0)
part1.Rotation = Vector3.new(0.359, 1.4, -14.361)
wait()
local part2 = part1:clone()
part2.Parent = zeus
part2.Size = Vector3.new(1, 7.48, 2)
part2.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,7.5,0)
part2.Rotation = Vector3.new(77.514, -75.232, 78.051)
wait()
local part3 = part1:clone()
part3.Parent = zeus
part3.Size = Vector3.new(1.86, 7.56, 1)
part3.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,1,0)
part3.Rotation = Vector3.new(0, 0, -11.128)
sound.SoundId = "rbxassetid://130818250"
sound.Volume = 1
sound.Pitch = 1
sound:Play()
wait()
part1.Transparency = 1
part2.Transparency = 1
part3.Transparency = 1
Instance.new("Smoke",char.HumanoidRootPart).Color = Color3.new(0,0,0)
char:BreakJoints()
end)
end
end)
addcmd('asteroid','get hit by an asteroid',{'meteor', 'meteorite'},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
spawn(function()
local pchar=_char(v)
local Ast = Instance.new("Part", workspace) Ast.Name = "Asteroid" Ast.Position = pchar.HumanoidRootPart.Position + Vector3.new(0,500,0) Ast.Size = Vector3.new(12,12,12)
local Mesh = Instance.new("SpecialMesh", Ast) Mesh.MeshId = "rbxassetid://1290033" Mesh.Scale = Vector3.new(6.2,6.2,6.2) Mesh.TextureId = "rbxassetid://1290030"
local Fire = Instance.new("Fire", Ast) Fire.Heat = 25 Fire.Size = 30
local Smoke = Instance.new("Smoke", Ast) Smoke.RiseVelocity = 10 Smoke.Size = 10
local f = Instance.new("Sound")
f.Name = "fly"
f.SoundId = "rbxassetid://179438534"
f.Volume = 3
f.Pitch = 1
f.Looped = true
f.archivable = true
f.Parent = Ast
f:play()
local Touched = false
coroutine.wrap(function()
repeat wait(0.1)
Ast.Position = Vector3.new(pchar.HumanoidRootPart.Position.X, Ast.Position.Y, pchar.HumanoidRootPart.Position.Z)
until not Ast or Ast.Parent == nil or Touched == true
end)()
Ast.Touched:connect(function(Part)
if Touched == false then
Touched = true
Part:BreakJoints()
local Boom = Instance.new("Explosion", workspace)
Boom.Position = Ast.Position
Boom.BlastPressure = 1000000
Boom.BlastRadius = 30
Fire.Heat = 0
Smoke.RiseVelocity = 0
f:Destroy()
local s = Instance.new("Sound")
s.Name = "boom"
s.SoundId = "rbxassetid://188590169"
s.Volume = 3
s.Pitch = 1
s.Looped = true
s.archivable = true
s.Parent = Ast
s:play()
coroutine.wrap(function()
wait(10)
s:Destroy()
if Ast and Ast.Parent ~= nil then
Ast:Destroy()
end
end)()
end
end)
end)
end
end)
addcmd('bomb','gives you a bomb vest',{'terrorist'},
function(args, speaker)
local players = getPlayer(args[1], speaker)
for i,v in pairs(players)do
spawn(function()
local Char=_char(v)
local HumanoidRootPart = Char.HumanoidRootPart
local TickWait = 1
local Dead = false
local Position = Vector3.new(0,100,0)
function NewPart(Parent)
local Part = Instance.new("Part", Parent)
Part.CanCollide = false
Part.Position = Position
Part.TopSurface = "Smooth"
Part.BottomSurface = "Smooth"
Position = Position + Vector3.new(0,10,0)
return Part
end
local Model = Char:FindFirstChild("Bomb")
if Model then Model:Destroy() end
local Model = Instance.new("Model", Char)
Model.Name = "Bomb"
local Belt = NewPart(Model)
Belt.Size = Vector3.new(2.2,0.5,1.2)
local Weld = Instance.new("Weld", Belt)
Weld.Part0 = Belt
Weld.Part1 = HumanoidRootPart
Weld.C0 = CFrame.new(0,1.1,0)
local Light = Instance.new("PointLight", Belt)
Light.Range = 15
Light.Brightness = 5
Light.Color = Color3.new(1,0,0)
local Beep = Instance.new("Sound", Belt)
Beep.SoundId = "http://www.roblox.com/asset/?id=188588790"
local ExplodeSound = Instance.new("Sound", Belt)
ExplodeSound.SoundId = "http://www.roblox.com/asset/?id="..(tonumber((math.ceil(1776.66^2)+17).."."..string.rep("36",3))*77)+0.00003
ExplodeSound.Pitch = 2.8
ExplodeSound.Volume = 3
local Back = NewPart(Model)
Back.Size = Vector3.new(1.5,1.5,0.5)
local Weld = Instance.new("Weld", Back)
Weld.Part0 = Back
Weld.Part1 = HumanoidRootPart
Weld.C0 = CFrame.new(0,0.1,-0.75)
local StrapLeft = NewPart(Model)
StrapLeft.Size = Vector3.new(0.2,0.5,1.6)
local Weld = Instance.new("Weld", StrapLeft)
Weld.Part0 = StrapLeft
Weld.Part1 = HumanoidRootPart
Weld.C0 = CFrame.new(0.65,-0.9,-0.2)
local BuckleLeft = NewPart(Model)
BuckleLeft.Size = Vector3.new(0.2,1.5,0.2)
local Weld = Instance.new("Weld", BuckleLeft)
Weld.Part0 = BuckleLeft
Weld.Part1 = HumanoidRootPart
Weld.C0 = CFrame.new(0.65,0.1,0.5)
local StrapRight = NewPart(Model)
StrapRight.Size = Vector3.new(0.2,0.5,1.6)
local Weld = Instance.new("Weld", StrapRight)
Weld.Part0 = StrapRight
Weld.Part1 = HumanoidRootPart
Weld.C0 = CFrame.new(-0.65,-0.9,-0.2)
local BuckleRight = NewPart(Model)
BuckleRight.Size = Vector3.new(0.2,1.5,0.2)
local Weld = Instance.new("Weld", BuckleRight)
Weld.Part0 = BuckleRight
Weld.Part1 = HumanoidRootPart
Weld.C0 = CFrame.new(-0.65,0.1,0.5)
LightEnabled = true
coroutine.wrap(function()
repeat
wait(TickWait)
LightEnabled = not LightEnabled
Light.Enabled = LightEnabled
Beep:Play()
until Dead == true or Char:FindFirstChild("Bomb") == nil
end)()
wait(10)
if Dead == false then
Dead = true
ExplodeSound:Play(); wait(1.4)
local Explosion = Instance.new("Explosion")
Explosion.Position = Belt.Position
Explosion.BlastPressure = 100000
Explosion.DestroyJointRadiusPercent = 0.7
Explosion.ExplosionType = "CratersAndDebris"
Explosion.BlastRadius = 50
Explosion.Parent = workspace
end
end)
end
end)
addcmd('btools', 'gives a player btools',{},
function(args, speaker)
local players = getPlayer(args[1], speaker)
if players ~= nil then
for i, v in pairs(players) do
Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 1 -- Model Grab Tool
Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 2 -- Part Grab Tool
Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 3 -- Clone Tool
Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 4 -- Hammer Tool
if FindTable(SPC, args[1]) then Notify('Gave building tools to ' ..args[1]) else
Notify('Gave btools to player(s)') end end end end)
addcmd('sword', 'gives a player a sword',{},
function(args, speaker)
local players = getPlayer(args[1], speaker)
if players ~= nil then
for i, v in pairs(players) do
coroutine.resume(coroutine.create(function()
if gPlayers[v] and gPlayers[v]:findFirstChild("Backpack") then
local sword = Instance.new("Tool", gPlayers[v].Backpack) sword.Name = "Sword" sword.TextureId = "rbxasset://Textures/Sword128.png"
sword.GripForward = Vector3.new(-1,0,0)
sword.GripPos = Vector3.new(0,0,-1.5)
sword.GripRight = Vector3.new(0,1,0)
sword.GripUp = Vector3.new(0,0,1)
local handle = Instance.new("Part", sword) handle.Name = "Handle" handle.FormFactor = "Plate" handle.Size = Vector3.new(1,.8,4) handle.TopSurface = 0 handle.BottomSurface = 0
local msh = Instance.new("SpecialMesh", handle) msh.MeshId = "rbxLoads code from the internet. It downloads more code when it runs (loadstring + HttpGet), which can change after it was posted. From: www.roblox.com, roblox.com, pastebin.com.
ssss

Universal