Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plr = game.Players.LocalPlayer
- chr = plr.Character
- mouse = plr:GetMouse()
- chr.Humanoid.WalkSpeed = 30
- flying = false;
- tor = chr.Torso;
- purge = false;
- teams = game:GetService('Teams');
- typing = false;
- bg = Instance.new("BodyGyro",tor);
- speed = Instance.new("Vector3Value",chr);
- speed.Value = Vector3.new(0,.1,0);
- --[[ESPBEGIN]]
- function esp()
- while true do
- plrs = game.Players;
- for _, v in pairs(plrs:GetChildren()) do
- if v.TeamColor ~= plrs.LocalPlayer.TeamColor and not v.Character.Head:FindFirstChild("SurfaceGui") then -- ~=
- for x = 0,5 do
- i = Instance.new("SurfaceGui",v.Character.Head)
- i.CanvasSize = Vector2.new(800,600)
- i.Adornee = v.Character.Head
- i.Face = x
- i.Enabled = true
- i.Active = true
- i.AlwaysOnTop = true
- h = Instance.new("Frame",i)
- h.Size = UDim2.new(1,0,1,0)
- h.AnchorPoint = Vector2.new(0, 0)
- h.BackgroundColor3 = Color3.new(0,0,1)
- h.BorderSizePixel = 0
- h.BackgroundTransparency = .25
- end
- end
- end
- wait(10);
- end
- end
- spawn(esp);
- --[[ESP END]]
- function magnet(v)--enemy telelport function
- while purge == true do
- wait(1);
- v.Character.HumanoidRootPart.Transparency = 0
- v.Character.HumanoidRootPart.Anchored = true
- v.Character.HumanoidRootPart.CFrame = plr.Character.HumanoidRootPart.CFrame*CFrame.new(2,0,0)
- end
- end
- mouse.KeyDown:connect(function(key)--flying
- if key == 'w' and flying then
- speed.Value = mouse.Hit.lookVector*50
- mouse.KeyUp:connect(function(key)
- if key == 'w' then
- tor.BodyVelocity:Destroy();
- end
- end)
- end
- end)
- function booberbole()--flying
- while flying == true do
- bv = Instance.new('BodyVelocity',tor);
- bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge);
- bv.Velocity = Vector3.new(0,0,0);
- game:GetService('RunService').RenderStepped:wait()
- bv.Velocity = speed.Value
- bg.CFrame = CFrame.new(chr.Torso.Position,mouse.Hit.p) * CFrame.Angles(0,math.rad(-90),0)
- end
- end
- mouse.KeyDown:connect(function(key)
- if key == 'q' and not flying then--flying
- flying = true;
- spawn(booberbole)
- elseif key == 'q' and flying then
- flying = false;
- elseif key == 'z' and mouse.Target then
- local t = mouse.Target;
- local h = t.Parent:FindFirstChild('Humanoid')
- if h then
- h.Changed:connect(function()
- if h.Health == 0 then
- workspace.CurrentCamera.CameraSubject = chr.Torso;
- end
- end)
- workspace.CurrentCamera.CameraSubject = h.Parent.Torso;
- end
- elseif key == 'x' then
- workspace.CurrentCamera.CameraSubject = chr.Torso;
- elseif key == 'm' and not purge then
- purge = true;
- for _,v in pairs(game.Players:GetChildren()) do
- if v.Name ~= plr.Name and v.Team ~= teams.Americans and v.Team ~= teams.Visitors and v.Team ~= teams.Prisoners and purge == true then
- spawn(magnet(v));
- end
- end
- elseif key == 'm' and purge then
- purge = false;
- elseif key == 'e' and mouse.Target~=nil then
- local t = mouse.Target;
- t:Destroy();
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement