Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- IsLocal=true NoGhost=false che=0 local Disabled=false
- if script.ClassName=="Script"then IsLocal=false end
- local WhiteListed={}
- WhiteListed[1]="tomonaoboys"WhiteListed[2]="Guest8899776"WhiteListed[3]="ObscuredDivinity"WhiteListed[4]="hoangphat123456"WhiteListed[5]="toiladuybao03"WhiteListed[6]="FracturedDarkness"WhiteListed[7]="the_legend277"
- local Target=""--Change here if you want to use with Script.
- if tostring(game.PlaceId)=="843468296"and not IsLocal then Target=tostring(owner)end
- print("tomonaoboys command script")
- if IsLocal then warn("Running with Local(Client) mode.")else warn("Running with Script mode.")end warn("This doesn't ALLOW you to become mod or you can get banned by saying. be careful!")
- Players=game:FindFirstChildOfClass("Players")
- Lighting=game:FindFirstChildOfClass("Lighting")local Exit=false
- Soundscape=game:FindFirstChildOfClass("Soundscape")local showsname=false
- local pos=Vector3.new()local Ring={}local rot=0 local modbypass=false
- if IsLocal then
- PL=Players.LocalPlayer
- local flg=false
- if tostring(game.PlaceId)=="843468296"and not IsLocal then if owner:isMod()then flg=true modbypass=true end end
- for i=1,#WhiteListed do
- if tostring(PL)==WhiteListed[i]then flg=true end
- end
- if flg==false then error("Invalid User.")end
- else RingActived=true
- while wait()do
- if Players:FindFirstChild(Target)then
- PL=Players:FindFirstChild(Target)print("Player found.")break
- end
- end
- --local m=Instance.new("Model")script.Parent=m m:Destroy()
- end
- RingActived=true wait(.1)script.Parent=game
- MusicVolume=5
- PBSpeed=100
- name="idk"AllowShowingCommands=false
- debri=game:GetService("Debris")
- function hwait(num)
- if IsLocal then
- if num==nil then game:GetService("RunService").RenderStepped:wait(0)
- else
- for i=1,num do
- game:GetService("RunService").RenderStepped:wait(0)
- end
- end
- else
- if num==nil then game:GetService("RunService").Heartbeat:wait(0)
- else
- for i=1,num do
- game:GetService("RunService").Heartbeat:wait(0)
- end
- end
- end return true
- end
- function mute(Obj)
- if Obj~=nil then
- if Obj:IsA("Sound")then Obj:Destroy()end
- local c=Obj:GetChildren()
- for i=1,#c do
- mute(c[i])
- end
- end
- end
- function anchor(target)
- local child=target:GetChildren()
- if target:FindFirstChild("HumanoidRootPart")then local p=target:FindFirstChild("HumanoidRootPart").CFrame while wait()do target.HumanoidRootPart.CFrame=p end end
- hwait()
- end
- function ua(part)if part:IsA("Part")then part.Anchored=false end local c=part:GetChildren()for i=1,#c do ua(c[i])end end
- function FindCharacter(Text,Number)
- Text=string.sub(Text,Number+2)
- local Ret={}
- local c=Players:GetChildren()local co=1
- for i=1,#c do
- if string.find(tostring(c[i]),Text,0,true)then Ret[co]=c[i]co=co+1 end
- end
- return Ret
- end
- function FiCo(Text,Command)
- if string.find(Text,Command,0,true)~=nil then return true else return false end
- end
- function GAf(Text,Number)
- return string.sub(Text,Number+2)
- end
- function UnParticle(child,idk)
- if child:IsA("ParticleEmitter")then if idk then child:Destroy()else child.Enabled=false end end
- local gc=child:GetChildren()
- for i=1,#gc do
- UnParticle(gc[i],idk)
- end
- end
- if PL:FindFirstChildOfClass("Backpack")then PL:FindFirstChildOfClass("Backpack").Name="zzz"end
- if PL:FindFirstChildOfClass("PlayerGui")then PL:FindFirstChildOfClass("PlayerGui").Name="DED"end
- function ClearBase()
- if workspace:FindFirstChild("Base")then workspace.Base:Remove()end
- if workspace:FindFirstChild("Baseplate")then workspace.Baseplate:Remove()end
- if workspace:FindFirstChildOfClass("Terrain"):FindFirstChild("Base")then workspace:FindFirstChildOfClass("Terrain").Base:Remove()end
- if workspace:FindFirstChildOfClass("Terrain"):FindFirstChild("Baseplate")then workspace:FindFirstChildOfClass("Terrain").Baseplate:Remove()end
- end
- function unlocalsc(pt)
- if pt:IsA("LocalScript")and pt.Name~="Animate"then pt:Remove()end
- local c=pt:GetChildren()for i=1,#c do unlocalsc(c[i])end
- end
- function ShowCommands()
- RMSG("!kill (Player) / Kill Player.")RMSG("!nil (Player) / It changes player character to nil.")RMSG("!ff (Player) / Add ForceField to Player.")RMSG("!ff (Player) / Delete ForceField from Player.")
- RMSG("!anchor (Player) / Anchor Player.")RMSG("!clean (or !cl)/ Clear everything in workspace.(except Base and some things)")
- RMSG("!m / Erase all sounds.")RMSG("!hint String / Create a hint instance with text(String).")RMSG("!msg String / Create a message instance with text(String).")
- RMSG("!cmds / Show Commands.")RMSG("!np / Disable all ParticleEmitters in workspace.")RMSG("!dp / Erase all ParticleEmitters in workspace.")
- RMSG("!norev / Change AmbientReverb to NoReverb.")RMSG("!fg / Change Gravity to 196.2(Default).")RMSG("!nobase / Clear base.")
- RMSG("!base0 or !base1 / Clear base and create a base in workspace.Camera.")RMSG("!nols Player / Delete all LocalScripts(except Animate) in Player.Character.")
- RMSG("!error String / just prints error.")RMSG("!respawn Player / Load Character to Player.")RMSG("!NoGhost / Active or Deactive(toggle) NoGhost.")
- RMSG("!god (Player) / do NaN health to targeted player.")
- RMSG("!rplchr (Player) / replace character to model. (this ~= nil) ")
- end
- local Jam=true
- function CMessage(str)
- if IsLocal then
- local m=Instance.new("Message",workspace)m.Text=str debri:AddItem(m,4)
- else
- for i,p in pairs(Players:GetChildren())do
- local s=Instance.new("ScreenGui",p:FindFirstChildOfClass("PlayerGui"))
- s.DisplayOrder=10 s.Name="!Message"
- local t=Instance.new("TextLabel",s)t.BorderSizePixel=0 t.BackgroundColor3=Color3.new()t.Size=UDim2.new(1,0,.04,0)t.TextTransparency=1
- t.BackgroundTransparency=1 t.Text="From "..tostring(PL)t.Font="ArialBold"t.TextScaled=true t.TextStrokeTransparency=1 t.TextColor3=Color3.new(1,1,1)t.Position=UDim2.new(0,0,.34,0)
- t.TextColor3=Color3.new(.8,.8,.8)
- local t2=Instance.new("TextLabel",s)t2.BorderSizePixel=0 t2.BackgroundColor3=Color3.new()t2.Size=UDim2.new(1,0,.1,0)t2.TextTransparency=1
- t2.BackgroundTransparency=1 t2.Text=""t2.Font="ArialBold"t2.TextScaled=true t2.TextStrokeTransparency=1 t2.TextColor3=Color3.new(1,1,1)t2.Position=UDim2.new(0,0,.38,0)
- spawn(function()
- local function isAlive()
- if s.Parent and t.Parent and t2.Parent then return true else return false end
- end
- for i=1,0,-(1/3)/10 do
- if isAlive()then
- t.Position=t.Position+UDim2.new(0,0,.0025,0)t2.Position=t2.Position+UDim2.new(0,0,.0025,0)
- t.TextTransparency=i t.BackgroundTransparency=i/2+.7 t.TextStrokeTransparency=i/2+.5
- t2.TextTransparency=i t2.BackgroundTransparency=i/2+.5 t2.TextStrokeTransparency=i/2+.5
- hwait()end
- end
- for i=1,string.len(str)do
- if isAlive()then t2.Text=str:sub(1,i)hwait()end
- end
- debri:AddItem(s,10)for i=1,300 do if isAlive()then t2.Text=str hwait()end end
- for i=0,1,(1/3)/10 do
- if isAlive()then
- t.Position=t.Position-UDim2.new(0,0,.0025,0)t2.Position=t2.Position-UDim2.new(0,0,.0025,0)
- t.TextTransparency=i t.BackgroundTransparency=i/2+.7 t.TextStrokeTransparency=i/2+.5
- t2.TextTransparency=i t2.BackgroundTransparency=i/2+.5 t2.TextStrokeTransparency=i/2+.5
- hwait()end
- end if isAlive()then s:Destroy()end
- end)
- end
- end
- end
- function CCommand(msg)
- if msg=="!cmds"then ShowCommands()end
- if msg=="!Enable"then Disabled=false RMSG("Command has been enabled.",8)end
- if msg=="!Disable"then Disabled=true RMSG("Command has been disabled.",8)end
- if msg=="!Jam"then if Jam then Jam=false RMSG("Jamming Disabled.",8)else Jam=true RMSG("Jamming Enabled.",8) end end
- if not Disabled then
- if msg:sub(1,4)=="!exe"then RMSG("Executing : "..msg:sub(6),8,Color3.new(1,.5,0))loadstring(msg:sub(6))()end
- if msg=="!Mod"then for i,p in pairs(Players:GetChildren())do if p:isMod()then RMSG(tostring(p).." is Moderator.",10,Color3.new(.8,1,.8))else RMSG(tostring(p).." is Player.",10)end end end
- --if msg=="!chat"then if AllowShowingCommands then AllowShowingCommands=false else AllowShowingCommands=true end end
- if FiCo(msg,"!kick")then RMSG("NO KICK. NO. NO!!!",8)end
- if FiCo(msg,"!ban")then RMSG("i've been nil'd u, "..tostring(PL).." lol.",8)if PL.Character then PL.Character=nil end end
- if FiCo(msg,"!kill")then local t=GAf(msg,5)local ch=FindCharacter(msg,5)for i=1,#ch do if ch[i].Character then ch[i].Character:BreakJoints()RMSG("Killed "..tostring(ch[i].Character),8)end end end
- if FiCo(msg,"!nil")then local t=GAf(msg,4)local ch=FindCharacter(msg,4)for i=1,#ch do if ch[i].Character then ch[i].Character=nil RMSG("Nil'd "..tostring(ch[i].Character),8)end end end
- if FiCo(msg,"!ff")then local t=GAf(msg,3)local ch=FindCharacter(msg,3)for i=1,#ch do if ch[i].Character then if ch[i].Character:FindFirstChildOfClass("ForceField")==nil then Instance.new("ForceField",ch[i].Character)RMSG("Added ForceField to "..tostring(ch[i].Character),8)end end end end
- if FiCo(msg,"!bp")then local t=GAf(msg,3)local ch=FindCharacter(msg,3)for i=1,#ch do for i2,v2 in pairs(ch[i]:FindFirstChildOfClass("Backpack"):GetChildren())do print(tostring(v2))RMSG(tostring(v2),8)end end end
- if FiCo(msg,"!unff")then local t=GAf(msg,5)local ch=FindCharacter(msg,5)for i=1,#ch do if ch[i].Character then if ch[i].Character:FindFirstChildOfClass("ForceField")then ch[i].Character:FindFirstChildOfClass("ForceField"):Destroy()RMSG("Deleted ForceField to "..tostring(ch[i].Character),8)end end end end
- if FiCo(msg,"!anchor")then local t=GAf(msg,7)local ch=FindCharacter(msg,7)for i=1,#ch do if ch[i].Character then anchor(ch[i].Character)RMSG("Anchored "..tostring(ch[i].Character),8)end end end
- if FiCo(msg,"!hang")then local t=GAf(msg,5)local ch=FindCharacter(msg,5)for i=1,#ch do if ch[i].Character then Hang(ch[i])RMSG("Hang'd "..tostring(ch[i].Character),8)end end end
- if FiCo(msg,"!hopperbin")then error("Hopperbin was removed because it's good for breaking server nub")end
- if FiCo(msg,"!god")then local t=GAf(msg,5)local ch=FindCharacter(msg,4)for i=1,#ch do if ch[i].Character then if ch[i].Character:FindFirstChildOfClass("Humanoid")then local h=ch[i].Character:FindFirstChildOfClass("Humanoid")h.Health=(1/0)/(1/0)h.MaxHealth=(1/0)/(1/0)Instance.new("ForceField",ch[i].Character).Visible=false RMSG("Added Godmode to "..tostring(ch[i].Character),8)end end end end
- if string.find(msg,"!play",1,true)~=nil then mute(PL)local num=""for i in string.gmatch(msg,"%w+")do num=i end local s=Instance.new("Sound",PL)s.Volume=MusicVolume s.PlaybackSpeed=PBSpeed/100 s.SoundId="rbxassetid://"..num s.Looped=true s:Play()end
- if string.find(msg,"!vol",1,true)~=nil then local num=""for i in string.gmatch(msg,"%w+")do num=i end MusicVolume=tonumber(num)print("Volume set:"..num)end
- if string.find(msg,"!pbs",1,true)~=nil then local num=""for i in string.gmatch(msg,"%w+")do num=i end PBSpeed=tonumber(num)print("PlaybackSpeed set:"..num.."%")end
- if msg=="!clean"or msg=="!cl"then print("Command:Clean")local c=workspace:GetChildren()for i=1,#c do if c[i]:IsA("Camera")==false and c[i]:IsA("Terrain")==false and c[i].Name~="Base"and c[i].Name~="Baseplate" then c[i]:Destroy()end end end
- if msg=="!c/r"then if IsLocal then error("This command must be used on Script mode.")else local c=workspace:GetChildren()for i=1,#c do if c[i]:IsA("Camera")==false and c[i]:IsA("Terrain")==false and c[i].Name~="Base"and c[i].Name~="Baseplate" then c[i]:Destroy()end end local c=Players:GetChildren()for i=1,#c do c[i]:LoadCharacter()end end RMSG("Cleared in workspace instance")end
- if msg=="!ns"then local c=workspace:GetChildren()for i=1,#c do if c[i]:IsA("Script")then c[i]:Destroy()end end end
- if msg=="!pmstop"then mute(PL)RMSG("Muted",8)end
- if msg=="!m"then mute(workspace)mute(Players)mute(Lighting)mute(Soundscape)mute(game:GetService("SoundService"))RMSG("Muted all playing sounds",8)end
- if string.find(msg,"!hint",1,true)then local m=Instance.new("Hint",workspace)m.Text="From "..tostring(PL).." : "..string.sub(msg,6)debri:AddItem(m,4)end
- if string.find(msg,"!msg",1,true)then CMessage(string.sub(msg,6))end
- if msg=="!np"then UnParticle(workspace,false)RMSG("Disabled all particles",8)end
- if msg=="!dp"then UnParticle(workspace,true)RMSG("Erased all particles",8)end
- if msg=="!norev"then Soundscape.AmbientReverb="NoReverb"RMSG("Reverb has changed to NoReverb",8)end
- if msg=="!fg"then workspace.Gravity=196.2 RMSG("Fixed Gravity",8)end
- if msg=="!nobase"then ClearBase()RMSG("Cleared Base",8)end
- if msg=="!base0"then ClearBase()local b=Instance.new("Part")b.Name="Base"b.Anchored=true b.Locked=true b.Size=Vector3.new(600,20,600)b.BrickColor=BrickColor.new("Dark stone grey")b.Position=Vector3.new(0,-10,0)b.Parent=workspace:FindFirstChildOfClass("Terrain")RMSG("Base Replaced",8)end
- if msg=="!base1"then ClearBase()local b=Instance.new("Part")b.Name="Base"b.Material="Grass"b.Anchored=true b.BrickColor=BrickColor.new("Shamrock")b.Locked=true b.Size=Vector3.new(600,1,600)b.Position=Vector3.new(0,-.5,0)b.Parent=workspace:FindFirstChildOfClass("Terrain")RMSG("Base Replaced",8)end
- if msg=="!ts"then for i,v in pairs(Players:GetChildren())do if v.Character then ua(v.Character)end end end
- if FiCo(msg,"!nols")then local t=GAf(msg,5)local ch=FindCharacter(msg,5)for i=1,#ch do if ch[i].Character then unlocalsc(ch[i].Character)RMSG("Killed all local script:"..tostring(ch[i].Character),8)end end end
- if msg:sub(1,6)=="!error"then error(tostring(msg:sub(8)))end
- if msg:sub(1,8)=="!respawn"then if not IsLocal then local ch=FindCharacter(msg,8)for i=1,#ch do ch[i]:LoadCharacter()RMSG("Respawned "..tostring(ch[i].Character),8)end else error("Not allowed to use respawn in Local Mode.")end end
- if msg:sub(1,8)=="!NoGhost"then if NoGhost then NoGhost=false RMSG("NoGhost Disabled",8)else NoGhost=true RMSG("NoGhost Enabled",8)end end
- if msg:sub(1,11)=="!activering"then if RingActived then if IsLocal then RingActived=false end else RingActived=true end end
- if msg=="!name"then if showsname then showsname=false else showsname=true end end
- if msg=="!rplchr"then local ch=FindCharacter(msg,7)for i=1,#ch do local m=Instance.new("Model",workspace)ch[i].Character=m m.Name=ch[i].Name RMSG("Replaced "..tostring(ch[i].Character).." 's Character",8)end end
- else
- if msg:sub(1,1)=="!"then RMSG("Commands are disabled!",8,Color3.new(1,0,0))end
- end
- end
- PL.Chatted:connect(CCommand)
- if IsLocal then
- spawn(function()while wait()do if PL:FindFirstChildOfClass("PlayerGui"):FindFirstChild(name)==nil then local idk=Instance.new("ScreenGui",PL:FindFirstChildOfClass("PlayerGui"))idk.ResetOnSpawn=false local t=Instance.new("TextBox",idk)t.Size=UDim2.new(1,0,0,22)t.Position=UDim2.new(0,0,1,-23)t.BackgroundColor3=Color3.new(1,1,1)t.BackgroundTransparency=.5 t.Text="Put commands here"t.BorderSizePixel=0
- t.TextStrokeTransparency=0 t.TextColor3=Color3.new(1,1,1)t.Font="Arcade"t.TextScaled=false t.TextSize=25 idk.Name=name
- if IsLocal then PL:GetMouse().KeyDown:connect(function(b)if b=="]"then t:CaptureFocus()end end)end
- t.FocusLost:connect(function(ep)if ep then CCommand(t.Text)if AllowShowingCommands then Chat(t.Text)end t.Text="Put commands here"end end)
- end end end)end
- spawn(function()local rot2=0
- local function contain()
- if Jam then
- if PL:FindFirstChildOfClass("Backpack")then PL:FindFirstChildOfClass("Backpack").Name="zzz"end
- if PL:FindFirstChildOfClass("PlayerGui")then PL:FindFirstChildOfClass("PlayerGui").Name="DED"end
- else
- if PL:FindFirstChildOfClass("Backpack")then PL:FindFirstChildOfClass("Backpack").Name="Backpack"end
- if PL:FindFirstChildOfClass("PlayerGui")then PL:FindFirstChildOfClass("PlayerGui").Name="PlayerGui"end
- end
- rot=rot+.05
- rot2=rot2+.1
- if PL.Character then if PL.Character:FindFirstChild("HumanoidRootPart")then
- pos=pos:lerp(PL.Character.HumanoidRootPart.Position,.1)
- end
- end
- if NoGhost then local c=Players:GetChildren()
- for i=1,#c do
- if c[i].Character then
- if c[i].Character.Parent~=workspace then c[i].Character.Parent=workspace RMSG(tostring(c[i]).." tried to become Ghost",5)
- end
- end
- end
- end
- for i=1,#Ring do
- if Ring[i]then
- if tostring(Ring[i].Parent)~="nil"then
- Ring[i].CFrame=Ring[i].CFrame:lerp(CFrame.new(pos)*CFrame.Angles(0,math.rad(360/#Ring*i)+rot/40,0)*CFrame.new(0,0,10+#Ring)*CFrame.Angles(rot2/1.8,rot2*2/4,-rot2/7),.1)
- else
- Ring[i]:Destroy()
- table.remove(Ring,i)
- end
- else
- if Ring[i]then Ring[i]:Destroy()end
- table.remove(Ring,i)
- end
- end
- if not IsLocal then if workspace:FindFirstChild("! _ "..tostring(PL))~=nil then workspace["! _ "..tostring(PL)]:Destroy()end
- else if workspace.CurrentCamera:FindFirstChild("! _ "..tostring(PL))~=nil then workspace.CurrentCamera["! _ "..tostring(PL)]:Destroy()end end
- if showsname then local folder=Instance.new("Folder")folder.Name="! _ "..tostring(PL)
- if IsLocal then folder.Parent=workspace.CurrentCamera else folder.Parent=workspace end
- for i,p in pairs(Players:GetChildren())do
- if p.Character then
- if p.Character:FindFirstChild("HumanoidRootPart")then
- local pos=p.Character.HumanoidRootPart.CFrame
- local pt=Instance.new("Part",folder)pt.Anchored=true pt.CanCollide=false pt.CFrame=pos+Vector3.new(0,3,0)pt.Size=Vector3.new()pt.Transparency=1
- local bb=Instance.new("BillboardGui",pt)bb.Size=UDim2.new(1,0,1,0)bb.StudsOffset=Vector3.new(0,1.5,0)bb.AlwaysOnTop=true
- local t=Instance.new("TextLabel",bb)t.Size=UDim2.new(1,0,1,0)t.Text=tostring(p.Character).." ( "..tostring(p).." )"t.BackgroundTransparency=1 t.TextColor3=Color3.new(1,1,1)
- t.TextStrokeColor3=Color3.new()t.TextStrokeTransparency=.5
- end
- end
- end
- end
- end
- if IsLocal then
- game:GetService("RunService").RenderStepped:connect(contain)
- else
- game:GetService("RunService").Heartbeat:connect(contain)
- end
- end)
- function RMSG(Message,DeS,TextColor)if RingActived then
- local pt=Instance.new("Part")pt.Anchored=true pt.CanCollide=false pt.Color=Color3.new(1,1,1)pt.Material="Neon"pt.Transparency=.6
- pt.Size=Vector3.new(1,1,1)if DeS~=nil then debri:AddItem(pt,DeS)end pt.Name="I don't know this name."
- local bb=Instance.new("BillboardGui",pt)bb.Size=UDim2.new(1,0,1,0)bb.StudsOffset=Vector3.new(0,1.5,0)
- local t=Instance.new("TextLabel",bb)t.Size=UDim2.new(1,0,1,0)t.Text=tostring(Message)t.BackgroundTransparency=1
- t.TextColor3=Color3.new(1,1,1)t.TextStrokeTransparency=0 local r=Instance.new("SelectionBox",pt)r.Color3=Color3.new(0,0,0)r.LineThickness=.05 r.Adornee=pt
- pt.Parent=workspace local r=0 pt.CFrame=CFrame.new(pos)if TextColor~=nil then pt.Color=TextColor t.TextColor3=TextColor end
- local md=Instance.new("ClickDetector",pt)md.MaxActivationDistance=math.huge
- md.MouseHoverEnter:connect(function(pl)if pl==PL then pt.Color=Color3.new(1,1,0)t.TextColor3=Color3.new(1,1,0)bb.AlwaysOnTop=true end end)
- md.MouseHoverLeave:connect(function(pl)if pl==PL then pt.Color=Color3.new(1,1,1)t.TextColor3=Color3.new(1,1,1)bb.AlwaysOnTop=false end if TextColor~=nil then pt.Color=TextColor t.TextColor3=TextColor end end)
- md.RightMouseClick:connect(function(pl)if pl==PL then pt:Destroy()end end)
- Ring[#Ring+1]=pt
- end
- end
- function Chat(msg)if not Disabled then
- msg=game:service("Chat"):FilterStringAsync(msg,PL,PL)
- local pt=Instance.new("Part",workspace)pt.Size=Vector3.new()pt.Transparency=1 pt.Anchored=true pt.CanCollide=false
- local bb=Instance.new("BillboardGui",pt)bb.Size=UDim2.new(1,0,1,0)bb.StudsOffset=Vector3.new(0,1.5,0)bb.MaxDistance=1000
- local t=Instance.new("TextLabel",bb)t.Size=UDim2.new(1,0,1,0)t.Text=tostring(msg)t.BackgroundTransparency=1
- t.TextColor3=Color3.new(1,1,1)t.TextStrokeTransparency=.5 t.TextSize=15 t.ZIndex=2
- che=che+.5 local y=che debri:AddItem(pt,10)pt.CFrame=CFrame.new(pos)+Vector3.new(0,5,0)
- spawn(function()while pt.Parent and hwait()do
- pt.CFrame=CFrame.new(pos)+Vector3.new(0,5,0)
- bb.SizeOffset=Vector2.new(0,(che-y)*5)
- end end)end
- end
- Players.PlayerAdded:connect(function(p)if tostring(game.PlaceId)=="843468296"and not IsLocal then if p:isMod()then RMSG("SB Moderator : "..p.Name.." has joined.",8,Color3.new(.7,1,.7))else RMSG(p.Name.." has joined.",8,Color3.new(.5,.5,1))end else RMSG(p.Name.." has joined.",8)end end)Players.PlayerRemoving:connect(function(p)if p==PL then Exit=true end RMSG(p.Name.." has left.",8,Color3.new(.5,.5,1))end)
- PL.Chatted:connect(Chat)
- RMSG("Hello, "..tostring(PL).." !",8,Color3.new(.5,1,1))if not IsLocal and Disabled then RMSG("Warning : Commands are unable to use now!",8,Color3.new(1,0,0))end RMSG('Say "!cmds" to watch commands.',8)RMSG("Do not abuse this script or you can get banned!",8,Color3.new(1,.5,0))if modbypass then RMSG("Bypassed Whitelist Check : SB Mod or more than.",8,Color3.new(.6,1,.6))end
- function Hang(PL)
- local function DoRagdoll(Model)
- local function Rope(Part1,Position1,Part2,Position2,Length)
- local a1=Instance.new("Attachment",Part1)a1.Position=Position1 local a2=Instance.new("Attachment",Part2)a2.Position=Position2
- local rope=Instance.new("RopeConstraint",Part1)rope.Attachment0=a1 rope.Attachment1=a2 rope.Length=Length
- end
- if Model:FindFirstChild("HumanoidRootPart")then Model.HumanoidRootPart:Destroy()end
- if Model:FindFirstChild("Torso")then
- --if Model:FindFirstChild("Head")then Rope(Model.Torso,Vector3.new(0,1,0),Model.Head,Vector3.new(0,0,0),.25)end
- if Model:FindFirstChild("Right Arm")then Rope(Model.Torso,Vector3.new(-1.25,.5,0),Model["Right Arm"],Vector3.new(0,.5,0),.25)end
- if Model:FindFirstChild("Left Arm")then Rope(Model.Torso,Vector3.new(1.25,.5,0),Model["Left Arm"],Vector3.new(0,.5,0),.25)end
- if Model:FindFirstChild("Right Leg")then Rope(Model.Torso,Vector3.new(-.5,-1,0),Model["Right Leg"],Vector3.new(0,.5,0),.25)end
- if Model:FindFirstChild("Left Leg")then Rope(Model.Torso,Vector3.new(.5,-1,0),Model["Left Leg"],Vector3.new(0,.5,0),.25)end
- end
- end
- local function ToMesh(Part)
- local Mesh=Instance.new("SpecialMesh",Part)
- if Part.Shape==Enum.PartType.Block then Mesh.MeshType="Brick"elseif Part.Shape==Enum.PartType.Ball then Mesh.MeshType="Sphere"elseif Part.Shape==Enum.PartType.Cylinder then Mesh.MeshType="Cylinder"end
- Mesh.Scale=Part.Size*20 Part.Size=Vector3.new()
- return Mesh
- end
- local function NoiseEffectBiB(Parent,Siz,Threshold,Lifetime,V3Position,idk,TrRandomize)
- if idk==nil then idk=1 end
- local bb=Instance.new("BillboardGui",Parent)if V3Position~=nil then bb.ExtentsOffset=V3Position end bb.Size=UDim2.new(1,0,1,0)bb.AlwaysOnTop=0
- if math.random(100)>Threshold then
- local Tr=0 if TrRandomize then Tr=math.random(TrRandomize*100)/100 end
- local R=Instance.new("TextLabel",bb)R.Text=""R.Size=UDim2.new(math.random(Siz*idk/2)/idk,0,math.random(Siz*idk/2)/idk,0)
- R.Position=UDim2.new(-Siz/2+math.random(Siz),0,-Siz/2+math.random(Siz),0)
- R.BorderSizePixel=0 R.BackgroundTransparency=2/3+Tr R.BackgroundColor3=Color3.new(1)
- R.ZIndex=0
- end
- if math.random(100)>Threshold then
- local Tr=0 if TrRandomize then Tr=math.random(TrRandomize*100)/100 end
- local G=Instance.new("TextLabel",bb)G.Text=""G.Size=UDim2.new(math.random(Siz*idk/2)/idk,0,math.random(Siz*idk/2)/idk,0)
- G.Position=UDim2.new(-Siz/2+math.random(Siz),0,-Siz/2+math.random(Siz),0)
- G.BorderSizePixel=0 G.BackgroundTransparency=2/3+Tr G.BackgroundColor3=Color3.new(0,1)
- G.ZIndex=0
- end
- if math.random(100)>Threshold then
- local Tr=0 if TrRandomize then Tr=math.random(TrRandomize*100)/100 end
- local B=Instance.new("TextLabel",bb)B.Text=""B.Size=UDim2.new(math.random(Siz*idk/2)/idk,0,math.random(Siz*idk/2)/idk,0)
- B.Position=UDim2.new(-Siz/2+math.random(Siz),0,-Siz/2+math.random(Siz),0)
- B.BorderSizePixel=0 B.BackgroundTransparency=2/3+Tr B.BackgroundColor3=Color3.new(0,0,1)
- B.ZIndex=0
- end
- spawn(function()hwait(nil or Lifetime)bb:Destroy()end)
- end
- local PC=PL.Character
- local Hum=PC:FindFirstChildOfClass("Humanoid")
- local Root=PC:FindFirstChild("Torso")--actuary not root
- local Head=PC:FindFirstChild("Head")if PC:FindFirstChild("HumanoidRootPart")then PC.HumanoidRootPart:Destroy()end
- script.Parent=PC
- local function Doll_It(Part0,Part1,cf)
- local a=Instance.new("Glue",Part0)hwait()
- a.Part0=Part1 a.Part1=Part1
- --if cf then a.C0=cf end
- end
- local function ieraseurmotor(chr)
- for i,p in pairs(chr:children())do
- for i2,p2 in pairs(p:children())do
- if p2:IsA("Motor6D")and(tostring(p2)~="RootJoint"and tostring(p2)~="Neck")then
- p2:Destroy()
- end
- end
- end
- end
- ieraseurmotor(PC)
- local SOUNDEFFECT=false
- if PC:FindFirstChild("Animate")then PC.Animate:Destroy()end if Hum:FindFirstChild("Animator")then Hum.Animator:Destroy()end
- local part0=Instance.new("Part",PC)part0.Size=Vector3.new(6,1,6)local m=ToMesh(part0)part0.Anchored=true part0.Name="THIS IS THE FLOOR THATZ HIGH IDK THAT'S WHY!!!!"
- part0.CFrame=CFrame.new(Root.CFrame.p+Vector3.new(0,8,0))
- local function ua(pt)
- if pt:IsA("BasePart")and pt~=part0 then pt.Anchored=false end
- for i,v in pairs(pt:children())do ua(v)end
- end
- spawn(function()while hwait()do part0.Anchored=true part0.CanCollide=false end end)local FixV=Instance.new("BodyVelocity",part0)FixV.MaxForce=Vector3.new(1,1,1)/0
- FixV.Velocity=Vector3.new()local RopeA0=Instance.new("Attachment",part0)local RopeA1=Instance.new("Attachment",Head)
- local OMGTHEROPE=Instance.new("RopeConstraint",Head)OMGTHEROPE.Visible=true OMGTHEROPE.Length=6 OMGTHEROPE.Restitution=0 RopeA1.Position=Vector3.new(0,-.5,.5)
- OMGTHEROPE.Attachment0=RopeA0 OMGTHEROPE.Attachment1=RopeA1
- part0.Material="SmoothPlastic"
- DoRagdoll(PC)
- --if PC:FindFirstChild("Right Arm")then Doll_It(PC.Torso,PC["Right Arm"])print("d")end
- local s=Instance.new("Sound",Root)s.SoundId="rbxassetid://1286436928"s.Volume=2 s.Looped=true s:Play()
- spawn(function()
- while hwait()do
- NoiseEffectBiB(Root,30,20,math.random(60),Vector3.new(0,0,0),64,1)
- Hum.Name="ERROR"if PC:FindFirstChildOfClass("ForceField")then PC:FindFirstChildOfClass("ForceField").Visible=false else Instance.new("ForceField",PC)end
- Hum.Health=0/0 Hum.MaxHealth=1/0
- ua(PC)
- end
- end)
- --Intro? and something
- for i=0,100,.25 do
- NoiseEffectBiB(Root,50,i,math.random(10),Vector3.new(0,0,0),.5,1)hwait()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement