Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --==Made by LuisPambid, edited by raulib. Based off tf2's Spy Cicle==--
- wait(.01)
- --[[
- // Created by Peyton
- // Idk why I made this. I was bored and its pretty funny to watch people react.
- // And this thing is not as glitchy as it used to be.
- // Sorry the UI looks so bad. I'll fix it sometime.
- --]]
- local LeaveCollar = true -- Leaves the collar on the people you capture after releasing them.
- -- I will add more functionality for this in the UI later.
- -- Thats all the settings for now. --
- -- Don't touch anything below for the best experience. -- (plus im a sloppy c0der xd) --
- local Captured = false
- function leash(plr)
- if Captured then
- Release()
- end
- Char = game.Players[plr].Character
- Master = game.Players.LocalPlayer.Character
- Neck = Instance.new("Part")
- Pole = Instance.new("Part")
- Pole.Name = "Pole"
- Pole.Size = Vector3.new(0.1,0.1,0.1)
- Pole.Transparency = 1
- Weld4 = Instance.new("Weld")
- Weld4.Parent = Pole
- Weld4.Part0 = Pole
- Weld4.Part1 = Master["Left Arm"]
- Weld4.C0 = CFrame.new(0,0.5,0)
- Pole.Parent = Master["Left Arm"]
- Attachment = Instance.new("Attachment", Neck)
- Attachment1 = Instance.new("Attachment", Pole)
- Neck.Size = Vector3.new(0.1,0.1,0.1)
- Neck.CanCollide = false
- Neck.Transparency = 1
- Weld3 = Instance.new("Weld")
- Weld3.Parent = Neck
- Weld3.Part0 = Neck
- Weld3.Part1 = Char.Head
- Weld3.C0 = CFrame.new(0,0.5,0.55)
- Instance.new("BodyGyro", Char.Torso)
- Instance.new("BodyGyro", Master.Torso)
- Neck.Parent = Char.Head
- Collar = Instance.new("Part")
- Collar.Size = Vector3.new(1,0.2,1)
- Collar.CanCollide = false
- Collar.Transparency = 0
- Collar.BrickColor = BrickColor.Black()
- local CollarMesh = Instance.new("CylinderMesh", Collar)
- CollarMesh.Scale = Vector3.new(1.2,0.8,1.2)
- local Weld6 = Instance.new("Weld")
- Weld6.Parent = Collar
- Weld6.Part0 = Collar
- Weld6.Part1 = Char.Head
- Weld6.C0 = CFrame.new(0,0.5,0)
- Collar.Parent = Char.Head
- Leash = Instance.new("RopeConstraint", Master["Left Arm"])
- Leash.Color = BrickColor.Black()
- Leash.Thickness = 0.1
- Leash.Visible = true
- Leash.Restitution = 1
- Leash.Length = 5
- Leash.Attachment0 = Attachment
- Leash.Attachment1 = Master["Left Arm"].Pole.Attachment
- Char.Humanoid.WalkSpeed = 0
- Char.Humanoid.PlatformStand = true
- Char.Humanoid.Sit = true
- Clone = Char.HumanoidRootPart:Clone()
- Char.HumanoidRootPart:Destroy()
- Char.Humanoid.Died:connect(function()
- Release()
- end)
- Master.Humanoid.Died:connect(function()
- Release()
- end)
- end
- local selecteduser = nil
- local NewGuiPart1 = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
- local NewGuiPart2 = Instance.new("TextLabel")
- NewGuiPart2.Size = UDim2.new(0, 300, 0, 20)
- NewGuiPart2.Position = UDim2.new(0.5, -150, 0.4, -10)
- NewGuiPart2.Font = Enum.Font.Bodoni
- NewGuiPart2.FontSize = Enum.FontSize.Size14
- NewGuiPart2.Text = "Slave Gui"
- NewGuiPart2.TextScaled = true
- NewGuiPart2.TextWrapped = true
- NewGuiPart2.Draggable = true
- NewGuiPart2.Active = true
- NewGuiPart2.Parent = NewGuiPart1
- local NewGuiPart3 = Instance.new("Frame")
- NewGuiPart3.Name = "Main"
- NewGuiPart3.Position = UDim2.new(0, 0, 1, 0)
- NewGuiPart3.Size = UDim2.new(1, 0, 0, 150)
- NewGuiPart3.Parent = NewGuiPart2
- local NewGuiPart4 = Instance.new("TextButton")
- NewGuiPart4.Active = true
- NewGuiPart4.Name = "Slave Them"
- NewGuiPart4.Position = UDim2.new(0, 0, 1, -30)
- NewGuiPart4.Selectable = true
- NewGuiPart4.Size = UDim2.new(1, 0, 0, 30)
- NewGuiPart4.Style = Enum.ButtonStyle.Custom
- NewGuiPart4.Font = Enum.Font.Antique
- NewGuiPart4.FontSize = Enum.FontSize.Size14
- NewGuiPart4.Text = "Slave Them"
- NewGuiPart4.TextScaled = true
- NewGuiPart4.TextWrapped = true
- NewGuiPart4.Parent = NewGuiPart3
- local NewGuiPart5 = Instance.new("ScrollingFrame")
- NewGuiPart5.Name = "Players"
- NewGuiPart5.Selectable = true
- NewGuiPart5.Size = UDim2.new(1, 0, 0, 100)
- NewGuiPart5.ClipsDescendants = true
- NewGuiPart5.Parent = NewGuiPart3
- local ListUI = Instance.new("UIListLayout", NewGuiPart5)
- local Selected = Instance.new("TextLabel", NewGuiPart4)
- Selected.Position = UDim2.new(0,0,0,-20)
- Selected.Size = UDim2.new(1,0,0,20)
- Selected.Text = "Selected: none"
- NewGuiPart4.MouseButton1Down:connect(function()
- if Captured then
- Release()
- else
- if selecteduser ~= nil then
- if game.Players:FindFirstChild(selecteduser) then
- leash(selecteduser)
- wait()
- Capture()
- end
- end
- end
- end)
- function Capture()
- NewGuiPart4.Text = "Free"
- Captured = true
- NewGuiPart5.Visible = false
- NewGuiPart4.Position = UDim2.new(0, 0, 0, 20)
- NewGuiPart4.Size = UDim2.new(1, 0, 0, 130)
- TP()
- end
- function TP()
- local prt = Instance.new("Part", game.Players.LocalPlayer.Character)
- prt.Transparency = 1
- prt.CanCollide = false
- prt.Anchored = true
- prt.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame * CFrame.new(Vector3.new(0, 5, -5))
- Char.Torso.CFrame = prt.CFrame * CFrame.new(0, 0, -4) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(180), math.rad(0))
- prt:Destroy()
- end
- function Release()
- Neck:Destroy()
- Pole:Destroy()
- Weld4:Destroy()
- Attachment:Destroy()
- Attachment1:Destroy()
- Weld3:Destroy()
- Char.Torso.BodyGyro:Destroy()
- Master.Torso.BodyGyro:Destroy()
- Leash:Destroy()
- Clone.Parent = Char
- Char.Humanoid.WalkSpeed = 16
- Char.Humanoid.PlatformStand = false
- Char.Humanoid.Sit = false
- if not LeaveCollar then
- Collar:Destroy()
- end
- NewGuiPart4.Text = "Slave Them"
- NewGuiPart4.Position = UDim2.new(0, 0, 1, -30)
- NewGuiPart4.Size = UDim2.new(1, 0, 0, 30)
- NewGuiPart5.Visible = true
- Captured = false
- wait()
- TP()
- end
- function playerbuttons(name)
- local button = Instance.new("TextButton", NewGuiPart5)
- button.Size = UDim2.new(1, 0, 0, 25)
- button.TextScaled = true
- button.Text = name
- button.Name = name
- button.MouseButton1Down:connect(function()
- Selected.Text = "Selected: "..name
- selecteduser = name
- end)
- NewGuiPart5.CanvasSize = UDim2.new(0,0,0, NewGuiPart5.CanvasSize.Y.Offset + 25)
- end
- game.Players.ChildAdded:connect(function(thing)
- UpdateList()
- end)
- game.Players.ChildRemoved:connect(function(thing)
- UpdateList()
- end)
- function UpdateList()
- NewGuiPart5.CanvasSize = UDim2.new(0,0,0,0)
- for i,v in pairs(NewGuiPart5:GetChildren()) do
- if v.ClassName == "TextButton" then
- v:Destroy()
- end
- end
- for i,v in pairs(game.Players:GetChildren()) do
- if v.Name ~= game.Players.LocalPlayer.Name then
- playerbuttons(v.Name)
- end
- end
- end
- UpdateList()
- local player=game.Players.LocalPlayer
- local char=player.Character
- repeat wait() until player and char
- local torso=char.Torso
- local head=char.Head
- local human=char.Humanoid
- local arm={Left=char["Left Arm"], Right=char["Right Arm"]}
- local leg={Left=char["Left Leg"], Right=char["Right Leg"]}
- local c=function(f) coroutine.resume(coroutine.create(f)) end
- local p=function(f) pcall(f) end
- local add={
- Part=function(par, a, c, col, t, s, cf, ms)
- local p=Instance.new("Part", par) pcall(function() p.TopSurface="Smooth" p.BottomSurface="Smooth" p.formFactor="Custom" p.Anchored=a p.CanCollide=c p.BrickColor=BrickColor.new(col) p.Transparency=t p.Size=s p.CFrame=cf or CFrame.new() end)
- local m=Instance.new("BlockMesh", p) pcall(function() m.Scale=ms or Vector3.new(1, 1, 1) end)
- return p
- end,
- Wedge=function(par, a, c, col, t, s, cf, ms)
- local p=Instance.new("WedgePart", par) pcall(function() p.TopSurface="Smooth" p.BottomSurface="Smooth" p.formFactor="Custom" p.Anchored=a p.CanCollide=c p.BrickColor=BrickColor.new(col) p.Transparency=t p.Size=s p.CFrame=cf or CFrame.new() end)
- local m=Instance.new("SpecialMesh", p) pcall(function() m.Scale=ms or Vector3.new(1, 1, 1) m.MeshType="Wedge" end)
- return p
- end,
- Gui=function(ins, par, bc, bg, tc, fs, text, t, s, pos)
- local g=Instance.new(ins, par) pcall(function() g.BorderColor=BrickColor.new(bc) g.BackgroundColor=BrickColor.new(bg) g.TextColor=BrickColor.new(tc) g.FontSize=fs g.Font="ArialBold" g.Text=text g.Transparency=t g.Size=s g.Position=pos end)
- return g
- end,
- Weld=function(par, p1, cf)
- local w=Instance.new("Weld", par) pcall(function() w.Part0=w.Parent or par w.Part1=p1 w.C1=cf or CFrame.new() end)
- return w
- end,
- Mesh=function(ins, par, s, of, t)
- local m=Instance.new(ins, par) pcall(function() m.Scale=s or Vector3.new() m.Offset=of or Vector3.new() m.MeshType=t end)
- return m
- end,
- Sound=function(parent, id, volume, pitch)
- local s=Instance.new("Sound", parent) pcall(function() s.SoundId=id s.Volume=volume s.Pitch=pitch end)
- return s
- end,
- }
- local scriptname="Spy Cicle" --Name here
- pcall(function() player.Backpack[scriptname]:remove() char[scriptname]:remove() char["Objects"]:remove() player.PlayerGui[scriptname]:remove() end)
- local model=Instance.new("Model", char) model.Name="Objects"
- local modelB=Instance.new("Model", char) modelB.Name=scriptname
- local gui=Instance.new("ScreenGui", player.PlayerGui) gui.Name=scriptname
- local bin=Instance.new("HopperBin", player.Backpack) bin.Name=scriptname
- Feign = false
- local skincolor="Cyan"
- local body={}
- local animate={}
- local obj={}
- function createParts()
- --==PARTS==--
- body.Torso=add.Part(model, false, false, skincolor, 1, Vector3.new(2, 2, 1), nil)
- body.ArmLeft, body.ArmRight=add.Part(model, false, false, skincolor, 1, Vector3.new(1, 1, 1), nil), add.Part(model, false, false, skincolor, 1, Vector3.new(1, 1, 1), nil)
- body.LegLeft, body.LegRight=add.Part(model, false, false, skincolor, 1, Vector3.new(1, 1, 1), nil), add.Part(model, false, false, skincolor, 1, Vector3.new(1, 1, 1), nil)
- --==WELDS==--
- body.TorsoW=add.Weld(body.Torso, torso, nil)
- body.ArmLeftW, body.ArmRightW=add.Weld(body.ArmLeft, body.Torso, CFrame.new(-1.5, .5, 0)), add.Weld(body.ArmRight, body.Torso, CFrame.new(1.5, .5, 0))
- body.LegLeftW, body.LegRightW=add.Weld(body.LegLeft, body.Torso, CFrame.new(-.5, -1.5, 0)), add.Weld(body.LegRight, body.Torso, CFrame.new(.5, -1.5, 0))
- --==MESHES==--
- add.Weld(arm.Left, body.ArmLeft, CFrame.new(0, -.5, 0))
- add.Weld(arm.Right, body.ArmRight, CFrame.new(0, -.5, 0))
- torso["Left Hip"].Part0=body.Torso
- torso["Right Hip"].Part0=body.Torso
- ---------------------------------------------------------------------------------------
- animate={
- ["Torso"]=function(cf) body.Torso.Transparency=0 torso.Transparency=1
- body.TorsoW.C1=cf
- end;
- ["ArmLeft"]=function(cf)
- body.ArmLeftW.C1=CFrame.new(-1.5, .5, 0)*cf
- end;
- ["ArmRight"]=function(cf)
- body.ArmRightW.C1=CFrame.new(1.5, .5, 0)*cf
- end;
- ["LegLeft"]=function(cf)
- body.LegLeftW.C1=CFrame.new(-.5, -1.5, 0)*cf
- end;
- ["LegRight"]=function(cf)
- body.LegRightW.C1=CFrame.new(.5, -1.5, 0)*cf
- end;
- }
- --==Objects==--
- obj.HandleBack=add.Part(modelB, false, false, "Really black", 0, Vector3.new(.2, 1, .2), nil)
- obj.HandleBackW=add.Weld(obj.HandleBack, body.ArmRight, CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), 0, 0))
- obj.EdgeBot=add.Part(modelB, false, false, "Really black", 0, Vector3.new(.2, .2, .2), nil)
- obj.EdgeBotM=add.Mesh("CylinderMesh", obj.EdgeBot, Vector3.new(1, 1, 1), nil, nil)
- obj.EdgeBotW=add.Weld(obj.EdgeBot, obj.HandleBack, CFrame.new(0, -.5, 0)*CFrame.Angles(math.rad(90), 0, math.rad(90)))
- obj.EdgeTopR=add.Part(modelB, false, false, "Really black", 0, Vector3.new(.2, .2, .2), nil)
- obj.EdgeTopRM=add.Mesh("CylinderMesh", obj.EdgeTopR, Vector3.new(1, 1, 1), nil, nil)
- obj.EdgeTopRW=add.Weld(obj.EdgeTopR, obj.HandleBack, CFrame.new(0, .5, 0)*CFrame.Angles(math.rad(90), 0, math.rad(90)))
- obj.Blade=add.Part(modelB, false, false, "Cyan", 0, Vector3.new(.2, .8, .2), nil)
- obj.BladeM=add.Mesh("BlockMesh", obj.Blade, Vector3.new(.5, 1, 1), nil, nil)
- obj.BladeW=add.Weld(obj.Blade, obj.EdgeTopR, CFrame.new(-.1, 0, -.4)*CFrame.Angles(-math.rad(90), math.rad(90), 0))
- obj.Point=add.Part(modelB, false, false, "Cyan", 0, Vector3.new(.2, .4, .2), nil)
- obj.PointM=add.Mesh("SpecialMesh", obj.Point, Vector3.new(.5, 1, .5), nil, "Wedge")
- obj.PointW=add.Weld(obj.Point, obj.Blade, CFrame.new(0, .6, .05)*CFrame.Angles(0, math.rad(180), 0))
- obj.Point2=add.Part(modelB, false, false, "Cyan", 0, Vector3.new(.2, .4, .2), nil)
- obj.Point2M=add.Mesh("SpecialMesh", obj.Point2, Vector3.new(.5, 1, .5), nil, "Wedge")
- obj.Point2W=add.Weld(obj.Point2, obj.Blade, CFrame.new(0, .6, -.05))
- obj.Joints=add.Part(modelB, false, false, "Cyan", 0, Vector3.new(.2, .25, .2), nil)
- obj.JointsM=add.Mesh("CylinderMesh", obj.Joints, Vector3.new(.5, 1, .5), nil, nil)
- obj.JointsW=add.Weld(obj.Joints, obj.EdgeBot, nil)
- obj.Joints=add.Part(modelB, false, false, "Cyan", 0, Vector3.new(.2, .25, .2), nil)
- obj.JointsM=add.Mesh("CylinderMesh", obj.Joints, Vector3.new(.5, 1, .5), nil, nil)
- obj.JointsW=add.Weld(obj.Joints, obj.EdgeTopR, nil)
- obj.EdgeTopR2=add.Part(modelB, false, false, "Really black", 0, Vector3.new(.2, .2, .2), nil)
- obj.EdgeTopR2M=add.Mesh("CylinderMesh", obj.EdgeTopR2, Vector3.new(1, 1, 1), nil, nil)
- obj.EdgeTopR2W=add.Weld(obj.EdgeTopR2, obj.Blade, CFrame.new(0, -.4, -.1)*CFrame.Angles(math.rad(90), 0, math.rad(90)))
- obj.HandleFor=add.Part(modelB, false, false, "Really black", 0, Vector3.new(.2, 1, .2), nil)
- obj.HandleForW=add.Weld(obj.HandleFor, obj.EdgeTopR2, CFrame.new(0, 0, .5)*CFrame.Angles(-math.rad(90), -math.rad(90), 0))
- obj.EdgeBot=add.Part(modelB, false, false, "Really black", 0, Vector3.new(.2, .2, .2), nil)
- obj.EdgeBotM=add.Mesh("CylinderMesh", obj.EdgeBot, Vector3.new(1, 1, 1), nil, nil)
- obj.EdgeBotW=add.Weld(obj.EdgeBot, obj.HandleFor, CFrame.new(0, -.5, 0)*CFrame.Angles(math.rad(90), 0, math.rad(90)))
- obj.Joints=add.Part(modelB, false, false, "Cyan", 0, Vector3.new(.2, .25, .2), nil)
- obj.JointsM=add.Mesh("CylinderMesh", obj.Joints, Vector3.new(.5, 1, .5), nil, nil)
- obj.JointsW=add.Weld(obj.Joints, obj.EdgeBot, nil)
- obj.Joints=add.Part(modelB, false, false, "Cyan", 0, Vector3.new(.2, .25, .2), nil)
- obj.JointsM=add.Mesh("CylinderMesh", obj.Joints, Vector3.new(.5, 1, .5), nil, nil)
- obj.JointsW=add.Weld(obj.Joints, obj.EdgeTopR2, nil)
- end
- function removeParts()
- p(function()
- if torso then
- torso["Left Hip"].Part0=torso
- torso["Right Hip"].Part0=torso
- end
- for i, v in pairs(model:children()) do v:remove() end for i, v in pairs(modelB:children()) do v:remove() end for i, v in pairs(char:children()) do v.Transparency=0 end
- end)
- end
- --Variables--
- local trailDeb=false
- local using=false
- local combo=1
- local onStab=false
- local keyDeb=false
- local switch=false
- local switch2=false
- local keyDeb2=false
- local hitDeb=false
- local dmg=math.random(-50, 50)
- local speed=18
- local pitch=.8
- local Slash=add.Sound(torso, "rbxasset://sounds//swordslash.wav", 1, pitch)
- local Hit=add.Sound(torso, "http://www.roblox.com/asset/?id=30715280", 1, 1)
- local Abscond=add.Sound(torso, "http://www.roblox.com/asset/?id=2767090", 1, 1)
- local Equip=add.Sound(torso, "http://www.roblox.com/asset/?id=13510737", 1, 1)
- local attackLabel=add.Gui("TextLabel", gui, "Really black", "Really black", "White", "Size18", "Invisible(Q)", 0, UDim2.new(0, 150, 0, 50), UDim2.new(0, 0, 0, 150))
- local attackLabel2=add.Gui("TextLabel", attackLabel, "Really black", "Really black", "White", "Size18", "Disguise(E)", 0, UDim2.new(1, 0, 1, 0), UDim2.new(0, 0, 1, 0))
- game.Players.LocalPlayer.Character.HumanoidRootPart.Transparency = 1
- function lightningGen(startPos, endPos)
- local magnitude=(startPos-endPos).magnitude
- local distance=(startPos+endPos)/2
- local pattern=add.Part(workspace, true, false, "White", 1, Vector3.new(.2, .2, magnitude), CFrame.new(distance, startPos))
- local startPosProx=startPos
- for i=1, 9 do
- local startPosProx2=startPosProx
- local random=Vector3.new(math.random(-1, 1), math.random(-1, 1), math.random(-1, 1))
- local findSize=pattern.Size.z/10
- local findOffSet=pattern.CFrame.lookVector*-1
- local compute=i*findSize*findOffSet
- local newStartPos=startPos
- local newEndPos=CFrame.new(random+compute+newStartPos).p
- local magnitude=(startPosProx2-newEndPos).magnitude
- local distance=(startPosProx2+newEndPos)/2
- local lightning=add.Part(workspace, true, false, "Bright yellow", 0, Vector3.new(.2, .2, magnitude), CFrame.new(distance, startPosProx2))
- c(function()
- for i=0, 1, .1 do wait()
- lightning.Transparency=i
- end
- lightning:remove()
- end)
- startPosProx=newEndPos
- end
- pattern:remove()
- end
- function computePos(pos, pos2)
- local pos3=Vector3.new(pos2.x, pos.y, pos2.z)
- torso.CFrame=CFrame.new(pos, pos3)
- return pos3
- end
- function nearTorso(pos, dis)
- local temp
- local distance=dis
- for i, v in pairs(workspace:children()) do
- if v:isA("Model") then
- temp=v:findFirstChild("Torso")
- local humanoid=v:findFirstChild("Humanoid")
- if temp and humanoid and v~=char and (temp.CFrame.p-pos).magnitude<distance then
- distance=(temp.CFrame.p-pos).magnitude
- return temp
- end
- end
- end
- end
- function trail(pos, cf, col)
- c(function()
- local old=(pos.CFrame*cf).p
- while trailDeb==true do
- wait()
- local new=(pos.CFrame*cf).p
- local mag=(old-new).magnitude
- local dis=(old+new)/2
- local trail=add.Part(workspace, true, false, col, 0, Vector3.new(.2, mag, .2), CFrame.new(dis, new)*CFrame.Angles(math.pi/2, 0, 0)) trail.Name="Trail"
- local tMesh=add.Mesh("CylinderMesh", trail, Vector3.new(.5, 1, .5), nil, nil)
- old=new
- c(function()
- for i=1, 0, -.1 do
- wait()
- tMesh.Scale=tMesh.Scale*Vector3.new(i, 1, i)
- end
- trail:remove()
- end)
- c(function()
- for i=0, 1, .1 do
- wait()
- trail.Transparency=i
- end
- end)
- end
- end)
- end
- function running()
- animate.ArmLeft(CFrame.Angles(-math.rad(45), 0, -math.rad(15)))
- animate.ArmRight(CFrame.Angles(math.rad(45), 0, math.rad(15)))
- obj.HandleBackW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), 0, 0)
- end
- function hit(h)
- if using==true then
- if switch==false then
- if onStab==false and h.Parent:findFirstChild("Humanoid") and h.Parent~=char and hitDeb==false then hitDeb=true print("NormalStab") Hit:play()
- local hHuman=h.Parent:findFirstChild("Humanoid")
- hHuman.Health=hHuman.Health-dmg
- local fakeM=Instance.new("Model", workspace) fakeM.Name=-dmg
- local fakeH=Instance.new("Humanoid", fakeM) fakeH.MaxHealth=0 fakeH.Health=0
- local effect=add.Part(fakeM, false, false, "Cyan", 0, Vector3.new(1, 1, 1), h.CFrame) effect.Name="Head"
- local fakeMesh=add.Mesh("CylinderMesh", effect, Vector3.new(1, .5, 1), nil, nil)
- local bp=Instance.new("BodyPosition", effect) bp.maxForce=Vector3.new(math.huge, math.huge, math.huge) bp.position=h.Position+Vector3.new(0, 4, 0)
- game.Debris:addItem(fakeM, 2)
- wait(1)
- hitDeb=false
- end
- if onStab==true and h.Parent~=char and h.Parent:findFirstChild("Humanoid") and hitDeb==false then hitDeb=true print("NormalStab") Hit:play()
- local blocname = h.Parent.Name
- local sechhhhhh = game.Players:FindFirstChild(blocname)
- local fakeM=Instance.new("Model", workspace) fakeM.Name="U R FROZEN"
- local fakeH=Instance.new("Humanoid", fakeM) fakeH.MaxHealth=0 fakeH.Health=0
- local effect=add.Part(fakeM, false, false, "Cyan", 0, Vector3.new(1, 1, 1), h.CFrame) effect.Name="Head"
- local fakeMesh=add.Mesh("CylinderMesh", effect, Vector3.new(1, .5, 1), nil, nil)
- local bp=Instance.new("BodyPosition", effect) bp.maxForce=Vector3.new(math.huge, math.huge, math.huge) bp.position=h.Position+Vector3.new(0, 4, 0)
- game.Debris:addItem(fakeM, 2)
- local namiiio = h.Parent.name
- local searciihh = game.Players:FindFirstChild(namiiio)
- local o1 = Instance.new("ParticleEmitter")
- local Rleg = h.Parent:FindFirstChild("Left Leg")
- local Lleg = h.Parent:FindFirstChild("Right Leg")
- local Rarm = h.Parent:FindFirstChild("Right Arm")
- local Larm = h.Parent:FindFirstChild("Left Arm")
- local Head = h.Parent:FindFirstChild("Head")
- local Tors = h.Parent.Torso
- local LeftHip = Tors:FindFirstChild("Left Hip")
- local RightHip = Tors:FindFirstChild("Right Hip")
- local LeftShoulder = Tors:FindFirstChild("Left Shoulder")
- local RightShoulder = Tors:FindFirstChild("Right Shoulder")
- local Neck = Tors:FindFirstChild("Neck")
- local Root = Tors.Parent.HumanoidRootPart:FindFirstChild("Root Hip")
- if
- sechhhhhh == nil
- then
- print("backstabbed a bot")
- elseif
- sechhhhhh ==nil ==false
- then
- print("backstabbed a player")
- end
- if
- Root == nil
- then
- Root = Tors.Parent.HumanoidRootPart:FindFirstChild("RootJoint")
- elseif
- Root ==nil ==false
- then
- end
- local d = h.Parent:GetChildren()
- for i=1, #d do
- if (d[i].className == "Accessory") then
- d[i].Handle.Transparency = 0.8
- d[i].Handle.Mesh.TextureId = "rbxassetid://0"
- end
- end
- for i=1, #d do
- if (d[i].className == "Tool") then
- d[i]:destroy()
- end
- end
- for i=1, #d do
- if (d[i].className == "Hat") then
- d[i].Handle.Transparency = 0.8
- d[i].Handle.Mesh.TextureId = "rbxassetid://0"
- end
- end
- for i=1, #d do
- if (d[i].className == "Shirt") then
- d[i]:destroy()
- end
- end
- for i=1, #d do
- if (d[i].className == "Pants") then
- d[i]:destroy()
- end
- end
- for i=1, #d do
- if (d[i].className == "Model") then
- d[i]:destroy()
- end
- end
- for i=1, #d do
- if (d[i].className == "Union") then
- d[i].Handle.Transparency = 0.8
- end
- end
- for i=1, #d do
- if (d[i].className == "MeshPart") then
- d[i].Handle.Transparency = 0.8
- d[i].Handle.Mesh.TextureID = "rbxassetid://0"
- end
- end
- for i=1, #d do
- if (d[i].className == "LocalScript") then
- d[i]:destroy()
- end
- end
- for i=1, #d do
- if (d[i].className == "Script") then
- d[i]:destroy()
- end
- end
- Root.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Root.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0.343775958, 0.939051688, 0, 0.939051688, -0.343775958)
- LeftHip.C0 = CFrame.new(-1, -1, 0, -4.37113883e-008, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-008)
- LeftHip.C1 = CFrame.new(-0.5, 1.11712551, 2.98023224e-008, -4.37113883e-008, 0, -1, -0.386194557, 0.922417343, 1.6881101e-008, 0.922417343, 0.386194557, -4.03201419e-008)
- RightHip.C0 = CFrame.new(1, -1, 0, -4.37113883e-008, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-008)
- RightHip.C1 = CFrame.new(0.5, 1.12921178, 0, -4.37113883e-008, 0, 1, 0.367360502, 0.930078626, 1.60578377e-008, -0.930078626, 0.367360502, -4.06550278e-008)
- LeftShoulder.C0 = CFrame.new(-1, 0.5, 0, -4.37113883e-008, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-008)
- LeftShoulder.C1 = CFrame.new(0.5, 0.5, 0, -0.530520082, 0.305324525, -0.79077518, -0.685374141, 0.394446015, 0.61210674, 0.498809308, 0.866711736, -2.18036469e-008)
- RightShoulder.C0 = CFrame.new(1, 0.5, 0, -4.37113883e-008, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-008)
- RightShoulder.C1 = CFrame.new(-0.50000006, 0.49999997, 0, -4.37113883e-008, 0, 0.99999994, -0.453891754, -0.891056836, -1.98402379e-008, 0.891056836, -0.453891754, 3.89493344e-008)
- Neck.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Neck.C1 = CFrame.new(0, -0.49999997, -1.49011612e-008, -1, 0, 0, 0, 0.442968428, 0.896537244, 0, 0.896537244, -0.442968428)
- o1.Name = "Ice"
- o1.Parent = Tors
- o1.Name = "Ice"
- o1.Parent = Tors
- o1.Rotation = NumberRange.new(0.10000000149012,0.10000000149012)
- o1.Size = NumberSequence.new(0.10000000149012,0.10000000149012)
- o1.Color = ColorSequence.new(Color3.new(0.560784, 0.560784, 0.560784),Color3.new(0.741176, 0.741176, 0.741176))
- o1.LightEmission = 1
- o1.Texture = "http://www.roblox.com/asset/?id=137831468"
- o1.ZOffset = 1
- o1.Lifetime = NumberRange.new(10,100)
- o1.Rate = 100
- o1.Speed = NumberRange.new(1,1)
- o1.VelocitySpread = 10000
- local o2 = Instance.new("Sound")
- o2.Parent = Head
- o2.Name = "Uh Oh"
- o2.SoundId = "rbxassetid://626807593"
- o2.Volume = 10
- local o3 = Instance.new("Sound")
- o3.Parent = Head
- o3.Name = "Sung"
- o3.SoundId = "rbxassetid://177775134"
- local o4 = Instance.new("Decal")
- o4.Name = "Proof"
- o4.Face = "Back"
- o4.Parent = Tors
- o4.Texture = "http://www.roblox.com/asset/?id=303980911"
- local o5 = Instance.new("Sound")
- o5.Name = "SHIT"
- o5.Parent = Head
- o5.SoundId = "rbxassetid://147758618"
- o5.Volume = 10
- wait(.1)
- Tors.Anchored = true
- Rleg.Anchored = true
- Lleg.Anchored = true
- Rarm.Anchored = true
- Larm.Anchored = true
- Head.Anchored = true
- Tors.Color= Color3.new(120, 244, 255)
- Rleg.Color= Color3.new(120, 244, 255)
- Lleg.Color= Color3.new(120, 244, 255)
- Rarm.Color= Color3.new(120, 244, 255)
- Larm.Color= Color3.new(120, 244, 255)
- Head.Color= Color3.new(120, 244, 255)
- Tors.Transparency = 0.5
- Rleg.Transparency = 0.5
- Lleg.Transparency = 0.5
- Rarm.Transparency = 0.5
- Larm.Transparency = 0.5
- Head.Transparency = 0.5
- Tors.CanCollide = true
- Rleg.CanCollide = true
- Lleg.CanCollide = true
- Rarm.CanCollide = true
- Larm.CanCollide = true
- Head.CanCollide = true
- local he = Tors.Parent.Head:GetChildren()
- for i= 1, #he do
- if (he[i].className == "Decal") then
- he[i].Name = "SCAAARD"
- he[i].Texture = "http://www.roblox.com/asset/?id=476085972"
- end
- end
- local humannoid = h.Parent:findFirstChild("Humanoid")
- humannoid.Name = "UCANT RESET U NUB"
- humannoid.Health = 0.01
- humannoid.PlatformStand = true
- Tors.Parent.HumanoidRootPart.Transparency = 1
- Tors.Parent.HumanoidRootPart.Anchored = true
- o2:Play()
- wait(1)
- o5:Play()
- o3:Play()
- hitDeb=false
- end
- end
- end
- end
- function findStab()
- while using==false do wait()
- --pcall(function()
- local nTorso=nearTorso(torso.CFrame.p, 3)
- if nTorso then
- local offSet=nTorso.CFrame:toObjectSpace(torso.CFrame)
- if offSet.z>0 then
- onStab=true
- animate.ArmRight(CFrame.Angles(math.rad(135), 0, 0))
- obj.HandleBackW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(math.rad(90), 0, 0)
- else
- onStab=false
- running()
- end
- else
- onStab=false
- running()
- end
- --end)
- end
- end
- function attack() combo=combo+1
- if using==false then using=true for i, v in pairs(modelB:children()) do v.Touched:connect(hit) end
- if combo==1 and onStab==false then Slash:play()
- --[[trailDeb=true
- trail(obj.Blade, CFrame.new(0, 1, 0), "White")]]
- for i=0, 1, .2 do wait()
- animate.Torso(CFrame.Angles(0, math.rad(45)*i, 0))
- animate.ArmRight(CFrame.Angles(math.rad(90)*i, 0, 0))
- obj.HandleBackW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), 0, math.rad(45)*i)
- end
- for i=1, 0, -.2 do wait()
- animate.Torso(CFrame.Angles(0, math.rad(45)*i, 0))
- animate.ArmRight(CFrame.Angles(math.rad(90)*i, 0, 0))
- obj.HandleBackW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), 0, math.rad(45)*i)
- end
- if combo>1 and onStab==false then combo=2 Slash:play()
- for i=0, 1, .2 do wait()
- animate.Torso(CFrame.Angles(0, math.rad(45)*i, 0))
- animate.ArmRight(CFrame.Angles(math.rad(90)*i, 0, math.rad(45)*i))
- obj.HandleBackW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90+(90*i)), 0, 0)
- end
- for i=1, 0, -.2 do wait()
- animate.Torso(CFrame.Angles(0, math.rad(45)*i, 0))
- animate.ArmRight(CFrame.Angles(math.rad(90)*i, 0, math.rad(45)*i))
- obj.HandleBackW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90+(90*i)), 0, 0)
- end
- end
- end
- if onStab==true then
- for i=0, 1, .2 do wait()
- animate.ArmRight(CFrame.Angles(math.rad(135-(45*i)), 0, 0))
- obj.HandleBackW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(math.rad(90), 0, 0)
- end
- onStab=false
- end
- using=false
- --trailDeb=false
- combo=0
- body.Torso.Transparency=1 torso.Transparency=0
- running()
- findStab()
- end
- end
- bin.Selected:connect(function(mouse) createParts()
- human.WalkSpeed=speed
- running()
- using=true
- Equip:play()
- for i=1, 0, -.1 do wait()
- obj.HandleBackW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), math.rad(180)*i, 0)
- obj.EdgeTopRW.C1=CFrame.new(0, .5, 0)*CFrame.Angles(math.rad(90)+math.rad(180)*i, 0, math.rad(90))
- obj.EdgeTopR2W.C1=CFrame.new(0, -.4, -.1)*CFrame.Angles(math.rad(90)+math.rad(180)*i, 0, math.rad(90))
- end
- using=false
- mouse.Button1Down:connect(attack)
- mouse.KeyDown:connect(function(key)
- local key=key:lower()
- if key=="q" and keyDeb==false and switch==false and using==false then keyDeb=true switch=true using=true
- attackLabel.Text="Visible(Q)" print("1") Abscond:play()
- pcall(function() char.Sound.Disabled=true end)
- for i, v in pairs(char:children()) do
- c(function()
- for i=0, 1, .2 do wait()
- pcall(function()
- c(function() if v.Head~=nil then head.Transparency=1 end end)
- v.Transparency=i
- end)
- pcall(function() v.Handle.Transparency=i end)
- pcall(function() v.face.Transparency=i end)
- pcall(function() v.roblox.Transparency=i end)
- pcall(function() v.Head.Transparency=i end)
- pcall(function() char.HumanoidRootPart.Transparency=1 end)
- end
- end)
- end
- for i, v in pairs(modelB:children()) do
- c(function()
- for i=0, 1, .2 do wait()
- pcall(function()
- v.Transparency=i
- end)
- pcall(function() v.Handle.Transparency=i end)
- pcall(function() v.face.Transparency=i end)
- pcall(function() char.HumanoidRootPart.Transparency=1 end)
- end
- end)
- end
- wait(.5)
- local NAEMMMMMMMMMM = game.Players.LocalPlayer.Name
- local fakeModel=Instance.new("Model", workspace.CurrentCamera) fakeModel.Name=NAEMMMMMMMMMM
- local fakeHumanoid=Instance.new("Humanoid", fakeModel) fakeHumanoid.Health=0 fakeHumanoid.MaxHealth=0
- local fakeHead=add.Part(fakeModel, false, false, "Cyan", 0, Vector3.new(1, 1, 1), nil) fakeHead.Name="Head"
- local fakeHeadM=add.Mesh("SpecialMesh", fakeHead, Vector3.new(1, 1.5, 1), nil, "File")
- fakeHeadM.MeshId="http://www.roblox.com/Asset/?id=9756362"
- local fakeHeadW=add.Weld(fakeHead, torso, CFrame.new(0, 1.5, 0))
- modelB.Parent=workspace.CurrentCamera
- for i, v in pairs(modelB:children()) do
- c(function()
- for i=0, 1, .2 do wait()
- pcall(function()
- v.Transparency=.5
- end)
- pcall(function() v.Handle.Transparency=.5 end)
- pcall(function() v.face.Transparency=.5 end)
- end
- end)
- end
- keyDeb=false
- elseif key=="q" and keyDeb==false and switch==true and using==true then keyDeb=true switch=false using=false
- attackLabel.Text="Invisible(Q)" print("2") Abscond:play()
- pcall(function() char.Sound.Disabled=false end)
- modelB.Parent=char
- for i, v in pairs(char:children()) do
- c(function()
- for i=1, 0, -.2 do wait()
- pcall(function()
- c(function() if v.Head~=nil then head.Transparency=1 end end)
- v.Transparency=i
- end)
- pcall(function() v.Handle.Transparency=i end)
- pcall(function() v.face.Transparency=i end)
- pcall(function() v.roblox.Transparency=i end)
- pcall(function() v.Head.Transparency=i end)
- pcall(function() char.HumanoidRootPart.Transparency=1 end)
- end
- end)
- end
- for i, v in pairs(modelB:children()) do
- c(function()
- for i=1, 0, -.2 do wait()
- pcall(function()
- v.Transparency=i
- end)
- pcall(function() v.Handle.Transparency=i end)
- pcall(function() v.face.Transparency=i end)
- pcall(function() char.HumanoidRootPart.Transparency=1 end)
- end
- end)
- end
- for i, v in pairs(workspace.CurrentCamera:children()) do pcall(function() v:remove() end) end
- wait(.5)
- keyDeb=false
- findStab()
- end
- --DISGUISE MENU--
- local xSpace=0
- if key=="e" and keyDeb2==false and switch2==false then keyDeb2=true switch2=true
- attackLabel2.Text="Menu:"
- for i, v in pairs(game.Players:children()) do
- if v~=player then xSpace=xSpace+1
- local playersLabel=add.Gui("TextButton", attackLabel2, "Really black", "Really black", "Bright red", "Size18", v.Name, 0, UDim2.new(1, 0, 1, 0), UDim2.new(xSpace, 0, 0, 0))
- playersLabel.MouseButton1Click:connect(function() Abscond:play()
- pcall(function()
- for i, v in pairs(char:children()) do
- pcall(function() v.face:remove() end)
- pcall(function() v.roblox:remove() end)
- pcall(function() v.Head:remove() end)
- if v:IsA("BodyColors") then v:remove() end
- if v:IsA("Accessory")then v:remove() end
- if v:IsA("ShirtGraphic") then v:remove() end
- if v:IsA("Pants") then v:remove() end
- if v:IsA("Shirt") then v:remove() end
- if v:IsA("CharacterMesh") then v:remove() end
- if v:IsA("BodyColors") then v:remove() end
- if v:IsA("Hat") then v:clone().Parent=char end
- if v:IsA("Model") then v:clone().Parent=char end
- end
- for i, v in pairs(game.Players[playersLabel.Text].Character:children()) do
- pcall(function() local cloned=v.face:clone() cloned.Parent=head if switch==true then pcall(function() cloned.Transparency=1 end) end end)
- pcall(function() v.roblox:clone().Parent=torso end)
- if v:IsA("BodyColors") then v:clone().Parent=char end
- if v:IsA("Accessory")then local cloned=v:clone() cloned.Parent=char if switch==true then pcall(function() cloned.Handle.Transparency=1 end) end end
- if v:IsA("ShirtGraphic") then v:clone().Parent=char end
- if v:IsA("Pants") then v:clone().Parent=char end
- if v:IsA("Shirt") then v:clone().Parent=char end
- if v:IsA("CharacterMesh") then v:clone().Parent=char end
- if v:IsA("BodyColors") then v:clone().Parent=char end
- if v:IsA("Hat") then v:clone().Parent=char end
- if v:IsA("Humanoid") then v.Name = "U CANT RESET U FKIN FAGOT U SUKER DIKSSSZZZ11!!!1!1!" end
- if v:IsA("Humanoid") then v.Parent.HumanoidRootPart:destroy() end
- if v:IsA("Humanoid") then local wald = Instance.new("Weld") wald.Parent = v.Parent.Torso wald.Part0 = v.Parent.Torso wald.Part1 = char.Torso end
- if v:IsA("Humanoid") then v.PlatformStand = true end
- end
- head.Transparency=1
- local fakeModel=Instance.new("Model", char) fakeModel.Name=playersLabel.Text
- local fakeHumanoid=Instance.new("Humanoid", fakeModel) fakeHumanoid.Health=100 fakeHumanoid.MaxHealth=100
- local fakeHead=add.Part(fakeModel, false, false, game.Players[playersLabel.Text].Character.Head.Color, 0, Vector3.new(1, 1, 1), nil) fakeHead.Name="Head"
- if switch==true then fakeHead.Transparency=1 end
- if switch==true then char.HumanoidRootPart.Transparency=1 end
- local fakeHeadM=add.Mesh("SpecialMesh", fakeHead, Vector3.new(1.25, 1.25, 1.25), nil, "Head")
- local fakeHeadW=add.Weld(fakeHead, head, CFrame.new(0, 0, 0))
- head.face.Parent = fakeHead
- head.Transparency=1
- fakeHead.face.Transparency=0
- end)
- end)
- end
- end
- keyDeb2=false
- elseif key=="e" and keyDeb2==false and switch2==true then keyDeb2=true switch2=false
- attackLabel2.Text="Posess(E)"
- for i, v in pairs(attackLabel2:children()) do
- pcall(function()v:remove()end)
- end
- keyDeb2=false
- end
- end)
- findStab()
- end)
- bin.Deselected:connect(function()
- Equip:play()
- for i=0, 1, .1 do wait()
- obj.HandleBackW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), math.rad(180)*i, 0)
- obj.EdgeTopRW.C1=CFrame.new(0, .5, 0)*CFrame.Angles(math.rad(90)+math.rad(180)*i, 0, math.rad(90))
- obj.EdgeTopR2W.C1=CFrame.new(0, -.4, -.1)*CFrame.Angles(math.rad(90)+math.rad(180)*i, 0, math.rad(90))
- end
- switch2=false using=false for i, v in pairs(attackLabel2:children()) do pcall(function()v:remove()end) end removeParts() char.HumanoidRootPart.Transparency = 1 end)--mediafire
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement