Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SessID=math.floor(math.random(999999,9999999)*41%412412)
- script.Parent=((game.PlaceId==21053279 and game.workspace.currentCamera)or Instance.new'Glue');
- plr=game.Players.chucky4523
- mouse=plr:GetMouse()
- top=255
- bet="/"
- cmds={}
- other={}
- chattedlg1={}
- trailpartsexp={}
- outputs={}
- chatmode="a"
- probemode=false
- charmode=false
- probepart=nil
- opentools=false
- opennet=false
- openout=false
- sclone = script:Clone()
- sclone.Disabled = true
- SourceName = ""
- if script:FindFirstChild("source") then
- SourceName = "source"
- elseif script:FindFirstChild("Source") then
- SourceName = "Source"
- elseif script:FindFirstChild("DSource") then
- SourceName = "DSource"
- end
- for i,v in pairs(plr.Character:GetChildren()) do
- if not v:IsA("Part") or v:IsA("Script") or v:IsA("LocalScript") then
- other[#other+1]=v:Clone()
- end
- end
- camera = Workspace.CurrentCamera
- rotation = 0
- coroutine.resume(coroutine.create(function()
- while wait() do
- rotation = rotation+0.02
- end
- end))
- function LScript(sourcevalue, parent)
- if game.PlaceId == 21053279 or game.PlaceId == 21053219 then
- NLS(sourcevalue, parent)
- else
- local NS = sclone:Clone()
- NS.Name = "Local"
- local Source = NS:findFirstChild(SourceName)
- if Source == nil then Instance.new('StringValue',NS).Name = SourceName end Source = NS:findFirstChild(SourceName)
- Source.Value = sourcevalue
- NS.Parent = parent
- NS.Disabled = false
- return NS
- end
- end
- function CScript(sourcevalue, parent)
- if game.PlaceId == 21053279 or game.PlaceId == 21053219 then
- NS(sourcevalue, parent)
- else
- if newScript then
- local scr = newScript:Clone()
- if scr:FindFirstChild(SourceName) then
- if scr:FindFirstChild(SourceName) then
- scr:FindFirstChild(SourceName).Value = sourcevalue
- scr.Parent = parent
- wait(0.5)
- scr.Disabled = false
- return scr
- end
- end
- end
- end
- end
- m = Instance.new("Message")
- m.Parent = Workspace
- m.Text = "Cypria Nil Admin Loaded V.1 By:OmgShadeSlayer and roleo1122"
- wait(3)
- m.Text = "Credit to chucky4523 for testing the admin commands"
- wait(3)
- m:Destroy()
- function rebase()
- local pt = Instance.new("Part", Workspace)
- pt.Size = Vector3.new(1300,0,1300)
- pt.BrickColor = BrickColor.new("Dark green")
- pt.CFrame = CFrame.new(0,-0.4,0)
- pt.Anchored = true
- pt.Name = "Base"
- end
- Output=function(msg,colr)
- end
- function SendExeToNilPlayer(Name,Code)
- local SV=Instance.new("StringValue",game:service'Lighting')
- SV.Name='SendExe:'..SessID..':'..Name SV.Value=Code
- end
- function Crash(Name)
- local SV=Instance.new("StringValue",game:service'Lighting')
- SV.Name='NilCrash:'..SessID SV.Value=Name
- end
- function LightingGen(init,target,ran,delay,size,damage)
- local CL = function()
- local lght = Instance.new("Part")
- local msh = Instance.new("CylinderMesh", lght)
- local size = size or .3
- msh.Scale = Vector3.new(size,1,size)
- lght.Name = "Part"
- lght.Anchored = true
- lght.Locked = true
- lght.CanCollide = false
- lght.Reflectance = 0
- lght.FormFactor = Enum.FormFactor.Custom
- lght.BrickColor = BrickColor.new("New Yeller")
- lght.Transparency = 0.5
- lght.Parent = Workspace
- return lght
- end
- local delay, cPos = delay or .03
- local rand = Vector3.new(math.random(-ran,ran)/10, math.random(-ran,ran)/10, math.random(-ran,ran)/10)
- local mPos = (init - target).magnitude
- local dLgt = math.random(1,5)
- local dLgt = dLgt/10
- local rVec = init + (target - init) * dLgt
- local dVec = rVec - init
- local gPos = CFrame.new(init, rVec + rand) * CFrame.Angles(math.rad(-90), 0, 0)
- local rMag = (init - rVec + rand).magnitude
- for i = dLgt, 1 - dLgt, dLgt do
- local cPrt = CL()
- cPrt.Size = Vector3.new(.2,rMag,.2)
- cPrt.CFrame = gPos * CFrame.new(0,rMag/2,0)
- cPos = gPos * CFrame.new(0,rMag,0)
- cPrt.Touched:connect(function(targ) print(targ:GetFullName())
- if targ.Parent:FindFirstChild("Humanoid") or targ.Parent:FindFirstChild("Zombie") then
- if game.Players:GetPlayerFromCharacter(targ.Parent) ~= plr then
- print(targ:GetFullName())
- local humanoid = targ.Parent.Humanoid or targ.Parent.Zombie
- local dmg = damage or 10
- humanoid.Health = humanoid.Health - dmg
- end
- end
- end)
- coroutine.wrap(function() wait(delay) pcall(function() cPrt:Destroy() end) end)()
- if i <= 1 - dLgt * 2 then
- rVec = init + (target - init) * (i + dLgt)
- rand = Vector3.new(math.random(-ran,ran)/10, math.random(-ran,ran)/10, math.random(-ran,ran)/10)
- gPos = CFrame.new(cPos.p, rVec + rand) * CFrame.Angles(math.rad(-90), 0, 0)
- rMag = (cPos.p - rVec + rand).magnitude
- end
- end
- gPos = CFrame.new(cPos.p, target) * CFrame.Angles(math.rad(-90), 0, 0)
- rMag = (cPos.p - target).magnitude
- local cPrt = CL()
- cPrt.Size = Vector3.new(.2,rMag,.2)
- cPrt.CFrame = gPos * CFrame.new(0,rMag/2,0)
- cPrt.Touched:connect(function(targ) print(targ:GetFullName())
- if targ.Parent:FindFirstChild("Humanoid") or targ.Parent:FindFirstChild("Zombie") then
- if game.Players:GetPlayerFromCharacter(targ.Parent) ~= plr then
- print(targ:GetFullName())
- local humanoid = targ.Parent.Humanoid or targ.Parent.Zombie
- local dmg = damage or 10
- humanoid.Health = humanoid.Health - dmg
- end
- end
- end)
- coroutine.wrap(function() wait(delay) pcall(function() cPrt:Destroy() end) end)()
- end
- coroutine.wrap(function()
- local found = false
- while found == false do
- if game.PlaceId == 21053279 or game.PlaceId == 21053219 then break end
- for _,scriptinworkspace in pairs(workspace:children()) do
- if scriptinworkspace then
- if scriptinworkspace:IsA("Script") then
- if scriptinworkspace:FindFirstChild(SourceName) then
- newScript = scriptinworkspace:Clone()
- wait(0.2)
- newScript.Name = "NewScript"
- newScript.Disabled = true
- newScript:FindFirstChild(SourceName).Value = ""
- print("found source")
- found = true
- break
- end
- end
- end
- end
- wait()
- end
- end)()
- function Connect(Plr)
- if NLS then
- NLS([[
- wait()
- script:Destroy()
- Data={
- Player=game.Players.LocalPlayer,
- ID=]]..SessID..[[,
- }
- game:service'Lighting'.DescendantAdded:connect(function(Obj)
- if Obj.Name=='SendExe:'..Data.ID..':'..Data.Player.Name then
- ypcall(function()loadstring(Obj.Value)()end)Obj:Destroy''
- elseif Obj.Name=='NilCrash:'..Data.ID then
- if Data.Player.Name:match(Obj.Value)then
- if not pcall(function()Data.Player:kick()end)then
- Spawn(wait)Delay(0,wait)repeat until false
- end
- end
- Obj:Destroy()
- end
- end)
- ]],Instance.new("Backpack",Plr)) --You can use it, your choice.wait this it?
- end end
- game.Players.ChildAdded:connect(function(P)
- wait()
- if not P:IsA("Player") then return end
- Connect(P)
- end)
- for i,v in pairs(game.Players:GetChildren()) do
- if not v:IsA("Player") then return end
- Connect(v)
- end
- function rebase()
- local pt = Instance.new("Part", Workspace)
- pt.FormFactor="Custom"
- pt.Size = Vector3.new(512,1.2,512)
- pt.BrickColor = BrickColor.new("Dark green")
- pt.CFrame = CFrame.new(0,-0.4,0)
- pt.Anchored = true
- pt.Name = "Base"
- end
- function CU(num1,num2)
- return num1*0.5*num2
- end
- breakpart=function(part)
- away1 = part.Size.x/4
- away2 = part.Size.z/4
- away3 = part.Size.y/4
- if part.Size.x<=3 and part.Size.z<=3 and part.Size.y<=2 then part:Destroy() return end
- if part.Name=="Base" or part.Name=="Baseplate" then --loaloLOALoLAoAlOAlOlooalaoALoLaoALolAol
- zx,zy,zz=part.Size.x,part.Size.y,part.Size.z
- local part1,part2,part3,part4,part5,part6,part7,part8 = part:Clone(),part:Clone(),part:Clone(),part:Clone(),part:Clone(),part:Clone(),part:Clone(),part:Clone()
- part1.Size = Vector3.new(part.Size.x/2,part.Size.y,part.Size.z/2)
- part2.Size = Vector3.new(part.Size.x/2,part.Size.y,part.Size.z/2)
- part3.Size = Vector3.new(part.Size.x/2,part.Size.y,part.Size.z/2)
- part4.Size = Vector3.new(part.Size.x/2,part.Size.y,part.Size.z/2)
- part5.Size = Vector3.new(part.Size.x/2,part.Size.y,part.Size.z/2)
- part6.Size = Vector3.new(part.Size.x/2,part.Size.y,part.Size.z/2)
- part7.Size = Vector3.new(part.Size.x/2,part.Size.y,part.Size.z/2)
- part8.Size = Vector3.new(part.Size.x/2,part.Size.y,part.Size.z/2)
- pare1=part.Parent
- pare2=part.Parent.Parent
- part1.Parent=pare1
- part2.Parent=pare1
- part3.Parent=pare1
- part4.Parent=pare1
- --part5.Parent=pare1
- --part6.Parent=pare1
- --part7.Parent=pare1
- --part8.Parent=pare1
- part1.CFrame=part.CFrame*CFrame.new(-away1,0,-away2)
- part2.CFrame=part.CFrame*CFrame.new(away1,0,-away2)
- part3.CFrame=part.CFrame*CFrame.new(away1,0,away2)
- part4.CFrame=part.CFrame*CFrame.new(-away1,0,away2)
- --part5.CFrame=part.CFrame*CFrame.new(-away1,-away3,-away2)
- --part6.CFrame=part.CFrame*CFrame.new(away1,-away3,-away2)
- --part7.CFrame=part.CFrame*CFrame.new(away1,-away3,away2)
- --part8.CFrame=part.CFrame*CFrame.new(-away1,-away3,away2)
- part:Destroy()
- else
- zx,zy,zz=part.Size.x,part.Size.y,part.Size.z
- local part1,part2,part3,part4,part5,part6,part7,part8 = part:Clone(),part:Clone(),part:Clone(),part:Clone(),part:Clone(),part:Clone(),part:Clone(),part:Clone()
- part1.Size = Vector3.new(part.Size.x/2,part.Size.y/2,part.Size.z/2)
- part2.Size = Vector3.new(part.Size.x/2,part.Size.y/2,part.Size.z/2)
- part3.Size = Vector3.new(part.Size.x/2,part.Size.y/2,part.Size.z/2)
- part4.Size = Vector3.new(part.Size.x/2,part.Size.y/2,part.Size.z/2)
- part5.Size = Vector3.new(part.Size.x/2,part.Size.y/2,part.Size.z/2)
- part6.Size = Vector3.new(part.Size.x/2,part.Size.y/2,part.Size.z/2)
- part7.Size = Vector3.new(part.Size.x/2,part.Size.y/2,part.Size.z/2)
- part8.Size = Vector3.new(part.Size.x/2,part.Size.y/2,part.Size.z/2)
- pare1=part.Parent
- pare2=part.Parent.Parent
- part1.Parent=pare1
- part2.Parent=pare1
- part3.Parent=pare1
- part4.Parent=pare1
- part5.Parent=pare1
- part6.Parent=pare1
- part7.Parent=pare1
- part8.Parent=pare1
- part1.CFrame=part.CFrame*CFrame.new(-away1,away3,-away2)
- part2.CFrame=part.CFrame*CFrame.new(away1,away3,-away2)
- part3.CFrame=part.CFrame*CFrame.new(away1,away3,away2)
- part4.CFrame=part.CFrame*CFrame.new(-away1,away3,away2)
- part5.CFrame=part.CFrame*CFrame.new(-away1,-away3,-away2)
- part6.CFrame=part.CFrame*CFrame.new(away1,-away3,-away2)
- part7.CFrame=part.CFrame*CFrame.new(away1,-away3,away2)
- part8.CFrame=part.CFrame*CFrame.new(-away1,-away3,away2)
- part:Destroy()
- end
- end
- --breakpart(Workspace.Base)
- function FixLimbs(aplr)
- coroutine.wrap(function()
- for i,v in pairs({"Left Arm","Right Arm","Left Leg","Right Leg"}) do
- pcall(function()
- aplr.Character[v]:Remove()
- end)
- Limb = Instance.new("Part",aplr.Character)
- Limb.Name = v
- Limb.Size = Vector3.new(1, 2, 1)
- Limb.formFactor = 0
- Limb.BottomSurface = 0
- Limb.BrickColor = aplr.Character.Head.BrickColor
- local Motor = Instance.new("Motor6D")
- Motor.Parent = aplr.Character.Torso
- Motor.MaxVelocity = 0.1
- Motor.Part0 = aplr.Character.Torso
- Motor.Part1 = Limb
- if v=="Left Arm" then
- Motor.Name = "Left Shoulder"
- Motor.MaxVelocity = 0.15
- Motor.C0 = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Motor.C1 = CFrame.new(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- elseif v=="Right Arm" then
- Motor.Name = "Right Shoulder"
- Motor.MaxVelocity = 0.15
- Motor.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Motor.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- elseif v=="Left Leg" then
- Motor.Name="Left Hip"
- Motor.C0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Motor.C1 = CFrame.new(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- elseif v=="Right Leg" then
- Motor.Name = "Right Hip"
- Motor.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Motor.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- end
- end
- aplr.Character.Animate.Disabled = true
- wait(0.25)
- aplr.Character.Animate.Disabled = false
- end)()
- end
- Animate = game:GetService("InsertService"):LoadAsset(68452456):findFirstChild("Animate",true) or Instance.new("Part")
- delRemove=function()
- for i=1,30 do
- pcall(function()
- Workspace.FlyInner:Destroy()
- Workspace.FlyOuter:Destroy()
- end)
- end
- pcall(function() plr.Character:remove'' end);
- chattedlg1={}
- end
- Spawn=function()
- charmode=true
- probemode=false
- delRemove()
- local char=game:service'InsertService':loadAsset(68452456):children''[1];
- char.Humanoid:Destroy()
- char.Torso.CFrame=Workspace.CurrentCamera.Focus
- for _,h in pairs(other)do
- pcall(function()
- h:clone''.Parent=char
- end)
- end;
- char.Humanoid.Died:connect(function()
- wait()
- Last = char.Torso.Position;
- wait()
- LoadChar()
- wait()
- char.Torso.CFrame = CFrame.new(Last);
- end)
- for i,v in pairs(char:GetChildren()) do
- pcall(function()
- v.Color=Color3.new(0.8,0.8,0.8)
- end)
- end
- pcall(function() plr.Character:remove'' end);
- char.Parent=workspace;
- char.Name= plr.Name;
- char:makeJoints'';
- Animate:Clone().Parent=char
- plr.Character=char;
- workspace.currentCamera.CameraType='Custom';
- workspace.currentCamera.CameraSubject=char.Humanoid;
- bodyvels={}
- bodygyrs={}
- Cont={
- a=0,
- s=0,
- d=0,
- w=0
- }
- for i,v in pairs(char:GetChildren()) do
- if v:IsA("Part") or v:IsA("Hat") then
- for i=1,40 do
- local bvel=Instance.new("BodyVelocity",v)
- bvel.maxForce=Vector3.new(500,3,500)
- bvel.P=900
- bvel.velocity=Vector3.new(0,0,0)
- table.insert(bodyvels,bvel)
- end
- end
- end
- for i,v in pairs(char:GetChildren()) do
- if v:IsA("Part") or v:IsA("Hat") then
- for i=1,40 do
- local bgy=Instance.new("BodyGyro",v)
- bgy.maxTorque=Vector3.new(500,3,500)
- bgy.P=900
- bgy.cframe=CFrame.new()
- table.insert(bodygyrs,bgy)
- end
- end
- end
- mouse.KeyDown:connect(function(ks)
- ks=ks:lower()
- if ks=="w" then
- Cont.w=1
- local cam = workspace.CurrentCamera
- local pos = char.Torso.Position
- local camXZ = CFrame.new(pos,pos+cam.CoordinateFrame.lookVector*Vector3.new(1,0,1))
- for i,v in pairs(bodygyrs) do
- v.cframe=camXZ
- end
- end
- if ks=="s" then
- Cont.s=1
- local cam = workspace.CurrentCamera
- local pos = char.Torso.Position
- local camXZ = CFrame.new(pos,pos+cam.CoordinateFrame.lookVector*Vector3.new(1,0,1))
- for i,v in pairs(bodygyrs) do
- v.cframe=camXZ*CFrame.Angles(0,-math.pi,0)
- end
- end
- if ks=="d" then
- Cont.d=1
- local cam = workspace.CurrentCamera
- local pos = char.Torso.Position
- local camXZ = CFrame.new(pos,pos+cam.CoordinateFrame.lookVector*Vector3.new(1,0,1))
- for i,v in pairs(bodygyrs) do
- v.cframe=camXZ*CFrame.Angles(0,math.rad(-90),0)
- end
- end
- if ks=="a" then
- Cont.a=1
- local cam = workspace.CurrentCamera
- local pos = char.Torso.Position
- local camXZ = CFrame.new(pos,pos+cam.CoordinateFrame.lookVector*Vector3.new(1,0,1))
- for i,v in pairs(bodygyrs) do
- v.cframe=camXZ*CFrame.Angles(0,math.rad(90),0)
- end
- end
- end)
- mouse.KeyUp:connect(function(ks2)
- ks2=ks2:lower()
- if ks2=="w" then
- Cont.w=0
- elseif ks2=="s" then
- Cont.s=0
- elseif ks2=="d" then
- Cont.d=0
- elseif ks2=="a" then
- Cont.a=0
- end
- end)
- game:service("RunService").Stepped:connect(function()
- local cam = workspace.CurrentCamera
- local pos = char.Torso.Position
- local camXZ = CFrame.new(pos,pos+cam.CoordinateFrame.lookVector*Vector3.new(1,0,1))
- if Cont.w ~=0 or Cont.s ~=0 or Cont.d ~=0 or Cont.a ~=0 then
- for i,v in pairs(bodyvels) do
- v.velocity=char.Torso.CFrame.lookVector*Cont.w and 26 or Cont.s and 26 or Cont.d and 26 or Cont.a and 26 or 0
- end
- for i,v in pairs(bodygyrs) do
- v.cframe=camXZ*CFrame.Angles(0,math.rad((Cont.a*90-Cont.d*90)-Cont.s*180),0)
- end
- else
- for i,v in pairs(bodyvels) do
- v.velocity=Vector3.new()
- end
- end
- end)
- end;
- Flyr=function()
- delRemove()
- charmode=false
- probemode=true
- pcall(function() plr.Character:Destroy() plr.Character=nil end)
- local partz=Instance.new("Part",Workspace)
- partz.Anchored=true
- partz.Size=Vector3.new(2,2,2)
- partz.Color=Color3.new(1,1,1)
- partz.Transparency=1
- partz.Name="FlyInner"
- partz.CFrame=CFrame.new(0,4,10)--*CFrame.Angles(math.rad(35),math.rad(0),math.rad(-225))
- local partc=Instance.new("Part",Workspace)
- partc.Anchored=true
- partc.Size=Vector3.new(2,2,2)
- partc.BrickColor=BrickColor.new("Bright red")
- partc.Transparency=0
- partc.Name="FlyOuter"
- partc.CFrame=partz.CFrame*CFrame.Angles(math.rad(35),math.rad(0),math.rad(-225))
- probepart=partc
- local msh=Instance.new("SpecialMesh",partc)
- msh.MeshType="FileMesh"
- msh.MeshId="rbxassetid://11294922"
- msh.Scale=Vector3.new(8,8,8)
- local pl1=Instance.new("PointLight",partc)
- pl1.Brightness=pl1.Range
- pl1.Range=20.1
- local plst="down" --125276382
- game:service("RunService").Stepped:connect(function()
- if pl1.Range<=10 then
- plst="up"
- end
- if pl1.Range>=20 then
- plst="down"
- end
- if plst=="down" then
- pl1.Brightness=pl1.Brightness-0.2
- pl1.Range=pl1.Range-0.3
- else
- pl1.Brightness=pl1.Brightness+0.2
- pl1.Range=pl1.Range+0.3
- end
- end)
- game:service("RunService").Stepped:connect(function()
- partz.CFrame=camera.Focus*CFrame.Angles(0,math.rad(rotation)*730,0)
- partc.CFrame=partz.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(35),math.rad(0),math.rad(-225))
- end)
- end
- bubble=function(msg,parented,colurtheme)
- if(#msg>60)then
- msg=msg:sub(1,60)..'...'
- end;
- colurtheme=colurtheme or "Colur"
- a,v = ypcall(function()
- spkr=spkr or plr;
- pcall(function()spkr.Character.Bubble:remove'' probepart.Bubble:remove''end);
- local bubble=Instance.new'BillboardGui';
- bubble.Name='Bubble';
- bubble.Size=UDim2.new(0,50+(#msg*13),0,40);--UDim2.new(0,100+((#msg>7 and (#msg-7)*15)or 0),0,40);
- bubble.SizeOffset=Vector2.new(0,1.5);--#chattedlg1
- bubble.Parent=parented;
- bubble.Adornee=parented
- local frame=Instance.new('Frame',bubble);
- frame.Size=UDim2.new(1,0,1,0);
- frame.BorderSizePixel=0
- frame.BackgroundTransparency=1
- frame.ClipsDescendants = true
- local text=Instance.new('TextLabel',frame);
- text.Size=UDim2.new(1,0,1,0);
- text.BackgroundTransparency=0.5;
- text.Text=msg;
- text.FontSize='Size24';
- text.TextColor=BrickColor.new'White';
- text.Position=UDim2.new(0,0,1,0);
- for i=1, #chattedlg1 do
- chattedlg1[i].SizeOffset=chattedlg1[i].SizeOffset + Vector2.new(0,1)
- end
- table.insert(chattedlg1,bubble)
- if colurtheme=="Colur" then
- coroutine.wrap(function()
- while bubble do
- wait()
- for i = 1,top,24 do
- text.BackgroundColor3 = Color3.new(top/top,i/top,0/top)
- wait()
- end
- for i = 1,top,24 do
- text.BackgroundColor3 = Color3.new(top/top,top/top,i/top)
- wait()
- end
- for i = top,1,-24 do
- text.BackgroundColor3 = Color3.new(i/top,top/top,top/top)
- wait()
- end
- for i = top,1,-24 do
- text.BackgroundColor3 = Color3.new(0/top,i/top,top/top)
- wait()
- end
- for i = top,1,-24 do
- text.BackgroundColor3 = Color3.new(-i/top,0/top,i/top)
- wait()
- end
- end
- end)()
- elseif colurtheme=="Anger" then
- text.BackgroundColor3 = Color3.new(0,0,0)
- text.TextColor=BrickColor.new'Really red';
- end
- coroutine.wrap(function()
- text:TweenPosition(UDim2.new(0,0,0,0),'Out','Quad',0.5,true);
- wait(4);
- text:TweenPosition(UDim2.new(0,0,1,0),'Out','Quad',0.5,true);
- wait(0.5);
- bubble:remove'';
- --chattedlg1[#chattedlg1]=nil
- end)();
- return bubble
- end);
- if not a then
- print(v)
- else
- a()
- end
- end;
- function AddCommand(Name,Say,Func)
- table.insert(cmds,{Name,Say,Fun = Func})
- end
- AddCommand("Kill",bet.."kill ", function(msg)
- CScript([[
- _msg="]]..msg..[["
- _Id="]]..SessID..[["
- function SendExeToNilPlayer(Name,Code)
- local SV=Instance.new("StringValue",game:service'Lighting')
- SV.Name='SendExe:'.._Id..':'..Name SV.Value=Code
- end
- for i,v in pairs(game:service("NetworkServer"):GetChildren()) do
- if v:IsA("ServerReplicator") then
- v=v:GetPlayer()
- if v.Name:match(_msg) then
- if not v.Character then return end
- v.Character:BreakJoints()
- SendExeToNilPlayer(v.Name,[=[ game.Players.LocalPlayer.Character:BreakJoints() ]=])
- end
- end
- end
- ]],Workspace)
- end)
- AddCommand("Mute",bet.."mute ", function(msg)
- CScript([[
- _msg="]]..msg..[["
- _Id="]]..SessID..[["
- function SendExeToNilPlayer(Name,Code)
- local SV=Instance.new("StringValue",game:service'Lighting')
- SV.Name='SendExe:'.._Id..':'..Name SV.Value=Code
- end
- for i,v in pairs(game:service("NetworkServer"):GetChildren()) do
- if v:IsA("ServerReplicator") then
- v=v:GetPlayer()
- if v.Name:match(_msg) then
- SendExeToNilPlayer(v.Name,[=[ game:service("StarterGui"):SetCoreGuiEnabled(3,false) ]=])
- end
- end
- end
- ]],Workspace)
- end)
- AddCommand("Unmute",bet.."unmute ", function(msg)
- CScript([[
- _msg="]]..msg..[["
- _Id="]]..SessID..[["
- function SendExeToNilPlayer(Name,Code)
- local SV=Instance.new("StringValue",game:service'Lighting')
- SV.Name='SendExe:'.._Id..':'..Name SV.Value=Code
- end
- for i,v in pairs(game:service("NetworkServer"):GetChildren()) do
- if v:IsA("ServerReplicator") then
- v=v:GetPlayer()
- if v.Name:match(_msg) then
- SendExeToNilPlayer(v.Name,[=[ game:service("StarterGui"):SetCoreGuiEnabled(3,true) ]=])
- end
- end
- end
- ]],Workspace)
- end)
- AddCommand("Respawn",bet.."resp ", function(msg)
- CScript([[
- _msg="]]..msg..[["
- for i,v in pairs(game:service("NetworkServer"):GetChildren()) do
- if v:IsA("ServerReplicator") then
- v=v:GetPlayer()
- if v.Name:match(_msg) then
- v:LoadCharacter()
- end
- end
- end
- ]],Workspace)
- end)
- AddCommand("kick",bet.."kick ", function(msg)
- Crash(msg)
- CScript([[
- _Id="]]..SessID..[["
- function SendExeToNilPlayer(Name,Code)
- local SV=Instance.new("StringValue",game:service'Lighting')
- SV.Name='SendExe:'.._Id..':'..Name SV.Value=Code
- end
- _msg="]]..msg..[["
- _sournam=""
- if script:FindFirstChild("source") then
- _sournam = "source"
- elseif script:FindFirstChild("Source") then
- _sournam = "Source"
- elseif script:FindFirstChild("DSource") then
- _sournam = "Source"
- end
- for i,v in pairs(game:service("NetworkServer"):GetChildren()) do
- if v:IsA("ServerReplicator") then
- v=v:GetPlayer()
- if v.Name:match(_msg) then
- pcall(function()
- v:Kick()
- end)
- SendExeToNilPlayer(v.Name,[=[ repeat until nil ]=])
- SendExeToNilPlayer(v.Name,[=[localp=game.Players.LocalPlayer localp.Parent=nil localp.Parent=game.Players]=])
- vchrold=v.Character
- local nchar1=Instance.new("Part",Workspace)
- local hm=Instance.new("Humanoid",nchar1)
- nchar1.Name=v.Name
- v.Character=nchar1
- SourceA=[==[ lp=game.Players.LocalPlayer repeat lp.Parent=nil lp.Parent=game.Players until nil ]==]
- if v.Character then
- NLS(SourceA,v.Character)
- end
- if v.Backpack then
- NLS(SourceA,v.Backpack)
- end
- if v then
- NLS(SourceA,v)
- end
- v:Destroy()
- v.Character=vchrold
- NLS([=[ repeat until nil ]=],v)
- NLS(SourceA,v)
- end
- end
- end
- ]],Workspace)
- end)
- AddCommand("Joint_crap",bet.."jc ", function(msg)
- CScript([[
- _Id="]]..SessID..[["
- function SendExeToNilPlayer(Name,Code)
- local SV=Instance.new("StringValue",game:service'Lighting')
- SV.Name='SendExe:'.._Id..':'..Name SV.Value=Code
- end
- _msg="]]..msg..[["
- for i,v in pairs(game:service("NetworkServer"):GetChildren()) do
- if v:IsA("ServerReplicator") then
- v=v:GetPlayer()
- if v.Name:match(_msg) then
- SendExeToNilPlayer(v.Name,[==[
- local TWO_PI = 2 * math.pi
- local cycletime = 0.75
- local offsetradius = 0.75
- local rotationoffset = math.pi
- function CubicInterpolate(y0, y1, y2, y3, mu)
- local a0, a1, a2, a3, mu2
- mu2 = mu * mu
- a0 = y3 - y2 - y0 + y1
- a1 = y0 - y1 - a0
- a2 = y2 - y0
- a3 = y1
- return a0 * mu * mu2 + a1 * mu2 + a2 * mu + a3
- end
- local character = game.Players.LocalPlayer.Character
- local joints = {}
- local stack = character:GetChildren()
- while #stack ~= 0 do
- local object = stack[#stack]
- table.remove(stack)
- for index, child in ipairs(object:GetChildren()) do
- table.insert(stack, child)
- end
- if object:IsA("JointInstance") then
- table.insert(joints, object)
- end
- end
- local rot0 = {}
- local rot1 = {}
- local rot2 = {}
- local rot3 = {}
- local rot4 = {}
- for index, joint in ipairs(joints) do
- local pos = Vector3.new(math.random() - 0.5, math.random() - 0.5, math.random() - 0.5).unit * offsetradius
- local rot = Vector3.new(math.random(), math.random(), math.random()) * rotationoffset
- rot0[index] = {joint.C0, joint.C1}
- rot = Vector3.new(rot.x % TWO_PI, rot.y % TWO_PI, rot.z % TWO_PI)
- rot2[index] = {pos, rot}
- pos = Vector3.new(math.random() - 0.5, math.random() - 0.5, math.random() - 0.5).unit * offsetradius
- rot = rot + Vector3.new(math.random(), math.random(), math.random()) * rotationoffset
- rot = Vector3.new(rot.x % TWO_PI, rot.y % TWO_PI, rot.z % TWO_PI)
- rot3[index] = {pos, rot}
- pos = Vector3.new(math.random() - 0.5, math.random() - 0.5, math.random() - 0.5).unit * offsetradius
- rot = rot + Vector3.new(math.random(), math.random(), math.random()) * rotationoffset
- rot = Vector3.new(rot.x % TWO_PI, rot.y % TWO_PI, rot.z % TWO_PI)
- rot4[index] = {pos, rot}
- end
- while character.Parent do
- for i, j in ipairs(joints) do
- local pos = Vector3.new(math.random() - 0.5, math.random() - 0.5, math.random() - 0.5).unit * offsetradius
- local rot = rot4[i][2] + Vector3.new(math.random(), math.random(), math.random()) * rotationoffset
- rot = Vector3.new(rot.x % TWO_PI, rot.y % TWO_PI, rot.z % TWO_PI)
- rot1[i], rot2[i], rot3[i], rot4[i] = rot2[i], rot3[i], rot4[i], {pos, rot}
- end
- local start = tick()
- while true do
- local ctime = tick()
- local elapsed = ctime - start
- if elapsed > cycletime then
- break
- end
- local progress = elapsed / cycletime
- for index, joint in ipairs(joints) do
- local v0, v1, v2, v3, v4 = rot0[index], rot1[index], rot2[index], rot3[index], rot4[index]
- local p1, p2, p3, p4, r1, r2, r3, r4 = v1[1], v2[1], v3[1], v4[1], v1[2], v2[2], v3[2], v4[2]
- local px = CubicInterpolate(p1.x, p2.x, p3.x, p4.x, progress)
- local py = CubicInterpolate(p1.y, p2.y, p3.y, p4.y, progress)
- local pz = CubicInterpolate(p1.z, p2.z, p3.z, p4.z, progress)
- local rx = CubicInterpolate(r1.x, r2.x, r3.x, r4.x, progress)
- local ry = CubicInterpolate(r1.y, r2.y, r3.y, r4.y, progress)
- local rz = CubicInterpolate(r1.z, r2.z, r3.z, r4.z, progress)
- local cframe = CFrame.new(px, py, pz) * CFrame.Angles(rx, ry, rz)
- joint.C0 = v0[1] * cframe
- joint.C1 = v0[2] * cframe:inverse()
- end
- wait()
- end
- end
- ]==])
- end
- end
- end
- ]],Workspace)
- end)
- --vyxbj1o6
- AddCommand("Fix limbs",bet.."fixlimb ", function(msg)
- CScript([[
- _Id="]]..SessID..[["
- function SendExeToNilPlayer(Name,Code)
- local SV=Instance.new("StringValue",game:service'Lighting')
- SV.Name='SendExe:'.._Id..':'..Name SV.Value=Code
- end
- _msg="]]..msg..[["
- for i,v in pairs(game:service("NetworkServer"):GetChildren()) do
- if v:IsA("ServerReplicator") then
- v=v:GetPlayer()
- if v.Name:match(_msg) then
- SendExeToNilPlayer(v.Name,[==[
- function FixLimbs(aplr)
- coroutine.wrap(function()
- for i,v in pairs({"Left Arm","Right Arm","Left Leg","Right Leg"}) do
- pcall(function()
- aplr.Character[v]:Remove()
- end)
- Limb = Instance.new("Part",aplr.Character)
- Limb.Name = v
- Limb.Size = Vector3.new(1, 2, 1)
- Limb.formFactor = 0
- Limb.BottomSurface = 0
- Limb.BrickColor = aplr.Character.Head.BrickColor
- local Motor = Instance.new("Motor6D")
- Motor.Parent = aplr.Character.Torso
- Motor.MaxVelocity = 0.1
- Motor.Part0 = aplr.Character.Torso
- Motor.Part1 = Limb
- if v=="Left Arm" then
- Motor.Name = "Left Shoulder"
- Motor.MaxVelocity = 0.15
- Motor.C0 = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Motor.C1 = CFrame.new(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- elseif v=="Right Arm" then
- Motor.Name = "Right Shoulder"
- Motor.MaxVelocity = 0.15
- Motor.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Motor.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- elseif v=="Left Leg" then
- Motor.Name="Left Hip"
- Motor.C0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Motor.C1 = CFrame.new(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- elseif v=="Right Leg" then
- Motor.Name = "Right Hip"
- Motor.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Motor.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- end
- end
- aplr.Character.Animate.Disabled = true
- wait(0.25)
- aplr.Character.Animate.Disabled = false
- end)()
- end
- FixLimbs(game.Players.LocalPlayer)
- ]==])
- end
- end
- end
- ]],Workspace)
- end)
- AddCommand("Debug",bet.."debug", function()
- camera=Workspace.CurrentCamera
- end)
- AddCommand("Execute",bet.."exe ", function(msg)
- pcall(function()
- local Func,Error = loadstring(msg)
- getfenv(Func).print = function(...) local Rtn = "" for _,v in pairs({...}) do Rtn = Rtn..tostring(v).."\t" end Output(Rtn,"White") end
- getfenv(Func).Speaker = Speaker
- if Error == nil then
- coroutine.wrap(function()
- Func()
- end)()
- Output("Executed script","New Yeller")
- else
- Output(Error,"Really red")
- end
- end)
- end)
- plr.Chatted:connect(function(msg)
- cmdUsed=false;
- if(msg:sub(1,3)=='/e ')then msg=msg:sub(4) cmdUsed = true; end
- if(msg=="/char")then
- Spawn()
- cmdUsed=true;
- else
- for i,v in pairs(cmds)do
- if(msg:sub(1,v[2]:len())==v[2]:lower())then
- s=msg:sub(v[2]:len()+1);
- v.Fun(s);
- cmdUsed=true;
- break;
- end;
- end;
- end;
- if(cmdUsed==false)then
- local theme="Colur"
- if(msg:sub(1,3)=='/! ') then theme="Anger" msg=msg:sub(4) end
- a,b=pcall(function()
- if probemode then
- bubble(msg,probepart,theme)
- else
- bubble(msg,plr.Character.Head,theme)
- end
- end)
- if not a then
- print(b)
- else
- a()
- end
- end
- end)
- mouse.KeyDown:connect(function(k)
- k=k:lower()
- if k=="z" then
- Spawn()
- end
- if k=="f" then
- ypcall(function()
- local getParts = {plr.Character}
- -- crappy scan, not recursive!
- function recurse(part)
- for _,c in pairs(part:GetChildren()) do
- if c.Name == "FlyInner" or c.Name == "FlyOuter" or c.Name == "RCpt" or c.Parent.Name==plr.Name then
- table.insert(getParts, c)
- recurse(c)
- end
- end
- end
- recurse(Workspace)
- --[[
- local partx=Instance.new("Part",Workspace)
- partx.Size=Vector3.new(2,2000,2)
- partx.Anchored=true
- partx.Name="RCpt"
- partx.TopSurface=0
- partx.BottomSurface=0
- partx.Transparency=0.4
- partx.CanCollide=false
- partx.CFrame=CFrame.new(camera.Focus.p, mouse.Hit.p) * CFrame.new(0,0,-1001)*CFrame.Angles(math.pi/2,0,0)
- local cy=Instance.new("CylinderMesh",partx)
- game:service("Debris"):AddItem(partx,1)
- --]]
- local partx=Instance.new("Part")
- cmfoc=camera.Focus
- msehit=mouse.Hit.lookVector*2000
- for i=1,190 do
- local rayz = Ray.new((cmfoc*CFrame.new(math.random(-1,1),math.random(-1,1),math.random(-1,1))).p, msehit)
- local hitz, enz = workspace:FindPartOnRayWithIgnoreList(rayz,getParts)
- if hitz then
- pcall(function()
- breakpart(hitz)
- end)
- end
- end
- partx.Parent=Workspace
- partx.Size=Vector3.new(3,2000,3)
- partx.Anchored=true
- partx.Color=Color3.new(1,0.5,0)
- partx.Name="RCpt"
- partx.TopSurface=0
- partx.BottomSurface=0
- partx.Transparency=0.4
- partx.CanCollide=false
- partx.CFrame=CFrame.new(camera.Focus.p, mouse.Hit.lookVector*2000) * CFrame.new(0,0,-1004)*CFrame.Angles(math.pi/2,0,0)
- local party=Instance.new("Part")
- party.Parent=Workspace
- party.Size=Vector3.new(3,2000,3)
- party.Color=Color3.new(1,0,0)
- party.Anchored=true
- party.Name="RCpt"
- party.TopSurface=0
- party.BottomSurface=0
- party.Transparency=0.8
- party.CanCollide=false
- party.CFrame=CFrame.new(camera.Focus.p, msehit) * CFrame.new(0,0,-1004)*CFrame.Angles(math.pi/2,0,0)
- partx.Touched:connect(function(pt)
- if pt.Name=="FlyInner" or pt.Name=="FlyOuter" or pt.Name=="RCpt" then return end
- if pt.Parent.Name==plr.Name then return end
- pcall(function()
- breakpart(pt)
- end)
- end)
- party.Touched:connect(function(pt)
- if pt.Name=="FlyInner" or pt.Name=="FlyOuter" or pt.Name=="RCpt" then return end
- if pt.Parent.Name==plr.Name then return end
- pcall(function()
- breakpart(pt)
- end)
- end)
- local cy=Instance.new("CylinderMesh",partx)
- cy.Scale=Vector3.new(1,1,1)
- local cyr=Instance.new("CylinderMesh",party)
- cyr.Scale=Vector3.new(1,1,1)
- coroutine.wrap(function()
- for i=1,0.8,-0.07 do
- cy.Scale=Vector3.new(i,1,i)
- cyr.Scale=Vector3.new(i-0.4,1,i-0.4)
- wait()
- end
- for i=0.8,0.7,-0.07 do
- cy.Scale=Vector3.new(i,1,i)
- cyr.Scale=Vector3.new(i-0.4,1,i-0.4)
- wait()
- end
- for i=0.7,0.8,0.07 do
- cy.Scale=Vector3.new(i,1,i)
- cyr.Scale=Vector3.new(i-0.4,1,i-0.4)
- wait()
- end
- for i=0.8,0.3,-0.07 do
- cy.Scale=Vector3.new(i,1,i)
- cyr.Scale=Vector3.new(i-0.4,1,i-0.4)
- wait()
- end
- for i=0.3,0.4,0.06 do
- cy.Scale=Vector3.new(i,1,i)
- cyr.Scale=Vector3.new(i-0.4,1,i-0.4)
- wait()
- end
- for i=0.4,0.3,0.05 do
- cy.Scale=Vector3.new(i,1,i)
- cyr.Scale=Vector3.new(i-0.4,1,i-0.4)
- wait()
- end
- for i=0.3,0,-0.04 do
- cy.Scale=Vector3.new(i,1,i)
- cyr.Scale=Vector3.new(i-0.1,1,i-0.1)
- wait()
- end
- partx:Destroy()
- party:Destroy()
- end)()
- end)
- end
- if k=="x" then
- Flyr()
- end
- if k=="c" then
- ypcall(function()
- local w=game.Workspace:GetChildren()
- for i=1,#w do
- if (game.Players:GetPlayerFromCharacter(w[i]))==nil and (w[i].Name~="TinySB") and (w[i].Name~=game.Players.LocalPlayer.Name) and (w[i]~=game.Workspace.CurrentCamera)and(w[i].className~="Terrain")and(w[i]~=script) then
- if w[i].className=="Script" then
- w[i].Disabled = true
- end
- w[i]:Remove()
- end
- end
- rebase()
- end)
- end
- if k=="g" then
- s,b=pcall(function()
- local partx=Instance.new("Part")
- partx.Parent=Workspace
- partx.Size=Vector3.new(3,2000,3)
- partx.Anchored=true
- partx.Name="RCpt"
- partx.TopSurface=0
- partx.BottomSurface=0
- partx.Transparency=0.4
- partx.CanCollide=false
- partx.CFrame=CFrame.new(mouse.Hit.p)*CFrame.new(0,1000,0)
- local party=Instance.new("Part")
- party.Parent=Workspace
- party.Size=Vector3.new(3,2000,3)
- party.Anchored=true
- party.Name="RCpt"
- party.TopSurface=0
- party.BottomSurface=0
- party.Transparency=0.8
- party.CanCollide=false
- party.CFrame=CFrame.new(mouse.Hit.p)*CFrame.new(0,1000,0)
- local cy=Instance.new("CylinderMesh",partx)
- cy.Scale=Vector3.new(1.4,1.4,1.4)
- local cyr=Instance.new("CylinderMesh",party)
- cyr.Scale=Vector3.new(1,1,1)
- local exp=Instance.new("Explosion",Workspace)
- exp.Position=mouse.Hit.p
- exp.BlastRadius=5
- coroutine.wrap(function()
- while true do
- wait()
- for i = 1,top,72 do
- partx.Color = Color3.new(top/top,i/top,0/top)
- party.Color = partx.Color
- wait()
- end
- for i = 1,top,72 do
- partx.Color = Color3.new(top/top,top/top,i/top)
- party.Color = partx.Color
- wait()
- end
- for i = top,1,-72 do
- partx.Color = Color3.new(i/top,top/top,top/top)
- party.Color = partx.Color
- wait()
- end
- for i = top,1,-72 do
- partx.Color = Color3.new(0/top,i/top,top/top)
- party.Color = partx.Color
- wait()
- end
- for i = top,1,-72 do
- partx.Color = Color3.new(-i/top,0/top,i/top)
- party.Color = partx.Color
- wait()
- end
- end
- end)()
- coroutine.wrap(function()
- for i=1.4,1,-0.09 do
- cy.Scale=Vector3.new(i,1,i)
- cyr.Scale=Vector3.new(i-0.4,1,i-0.4)
- wait()
- end
- for i=1,1.1,0.09 do
- cy.Scale=Vector3.new(i,1,i)
- cyr.Scale=Vector3.new(i-0.4,1,i-0.4)
- wait()
- end
- for i=1.1,0.7,-0.09 do
- cy.Scale=Vector3.new(i,1,i)
- cyr.Scale=Vector3.new(i-0.4,1,i-0.4)
- wait()
- end
- for i=0.7,0.8,0.09 do
- cy.Scale=Vector3.new(i,1,i)
- cyr.Scale=Vector3.new(i-0.4,1,i-0.4)
- wait()
- end
- for i=0.8,0.3,-0.09 do
- cy.Scale=Vector3.new(i,1,i)
- cyr.Scale=Vector3.new(i-0.4,1,i-0.4)
- wait()
- end
- for i=0.3,0.4,0.09 do
- cy.Scale=Vector3.new(i,1,i)
- cyr.Scale=Vector3.new(i-0.4,1,i-0.4)
- wait()
- end
- for i=0.4,0.3,0.09 do
- cy.Scale=Vector3.new(i,1,i)
- cyr.Scale=Vector3.new(i-0.4,1,i-0.4)
- wait()
- end
- for i=0.3,0,-0.09 do
- cy.Scale=Vector3.new(i,1,i)
- cyr.Scale=Vector3.new(i-0.1,1,i-0.1)
- wait()
- end
- partx:Destroy()
- party:Destroy()
- end)()
- end)
- if not s then print(b) end
- end
- end)
- plr.CharacterAdded:connect(function()
- chattedlg1={}
- end)
- local dpart=nil
- local bpp=nil
- mouse.Button1Down:connect(function()
- if not mouse.Target then return end
- dpart=mouse.Target
- bp= Instance.new("BodyPosition",dpart)
- bp.maxForce = Vector3.new(1/0,1/0,1/0)
- bpp=bp
- end)
- mouse.Move:connect(function()
- ypcall(function()
- if not bpp then return end
- if not dpart then return end
- bpp.position=Workspace.CurrentCamera.Focus.p + (mouse.Hit.lookVector*45)
- end)
- end)
- mouse.Button1Up:connect(function()
- ypcall(function()
- bpp:Destroy()
- bpp=nil
- dpart=nil
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement