Advertisement
Guest User

Untitled

a guest
Aug 18th, 2019
2,532
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 11.45 KB | None | 0 0
  1. local tool3 = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
  2. tool3.BinType = "Hammer"
  3. local LocalPlayer = game:GetService("Players").LocalPlayer
  4.  
  5. LocalPlayer.CharacterAdded:Connect(function()
  6.     local tool3 = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
  7.     tool3.BinType = "Hammer"
  8. end)
  9.  
  10. local stop = false
  11.  
  12. --[[ FE Kill V5 | No tools needed!
  13.     Script made by Cyclically
  14. ]]
  15. local flingplr = nil
  16. function getMouseTarget()
  17.     local cursorPosition = game:GetService("UserInputService"):GetMouseLocation()
  18.     local oray = game.workspace.CurrentCamera:ViewportPointToRay(cursorPosition.x, cursorPosition.y, 0)
  19.     local ray = Ray.new(game.Workspace.CurrentCamera.CFrame.p,(oray.Direction * 1000))
  20.     local part = workspace:FindPartOnRay(ray)
  21.     return part
  22. end
  23.  
  24.  
  25.  
  26. local UserInputService = game:GetService("UserInputService")
  27. UserInputService.InputBegan:Connect(function(input, gameProcessed)
  28.     if input.UserInputType == Enum.UserInputType.MouseButton1 then
  29.         local part = getMouseTarget()
  30.         if part and part.Parent:FindFirstChild('Humanoid') == nil then
  31.             part.Transparency = .5
  32.         end
  33.         print(part:GetFullName())
  34.     if part and part.Parent:FindFirstChild("Humanoid") and part.Parent.Name ~= game:GetService('Players').LocalPlayer.Name then
  35.         -- If you wanna add this into a script, please give credits and message me on discord that you added it in a script at Cyclically#4905
  36.         local targetname = part.Parent.Name
  37.         local target = game:GetService("Players")[targetname]
  38.         local torsoname = "Torso"
  39.         if LocalPlayer.Character:FindFirstChild("Humanoid").RigType == Enum.HumanoidRigType.R15 then
  40.             torsoname = "UpperTorso"
  41.         end
  42.         if target.Character ~= nil then
  43.             local savepos = LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
  44.             LocalPlayer.Character:FindFirstChild(torsoname).Anchored = true
  45.             local tool = Instance.new("Tool", LocalPlayer.Backpack)
  46.             local hat = LocalPlayer.Character:FindFirstChildOfClass("Accessory")
  47.             local hathandle = hat.Handle
  48.             hathandle.Parent = tool
  49.             hathandle.Massless = true
  50.             tool.GripPos = Vector3.new(0, 9e99, 0)
  51.             tool.Parent = LocalPlayer.Character
  52.             repeat wait() until LocalPlayer.Character:FindFirstChildOfClass("Tool") ~= nil
  53.             tool.Grip = CFrame.new(Vector3.new(0, 0, 0))
  54.             LocalPlayer.Character:FindFirstChild(torsoname).Anchored = false
  55.             flingplr = target.Name
  56.            
  57.            
  58.             print('gay')
  59.             print('stop = ' .. tostring(stop))
  60.             pos = game:GetService('Players')[flingplr].Character:FindFirstChild('HumanoidRootPart').CFrame.p
  61.             repeat
  62.                 wait()
  63.                 print('waiting')
  64.                 if game:GetService('Players'):FindFirstChild(flingplr) ~= nil then
  65.                     if game:GetService('Players')[flingplr].Character:FindFirstChild('HumanoidRootPart') ~= nil then
  66.                         pos2 = game:GetService('Players')[flingplr].Character:FindFirstChild('HumanoidRootPart').CFrame.p
  67.                     else
  68.                         flingplr = nil
  69.                     end
  70.                 else
  71.                     flingplr = nil
  72.                 end
  73.                 print((pos - pos2).Magnitude, "magnitude1")
  74.                 print(flingplr == nil, stop == true)
  75.             until ((pos - pos2).Magnitude > 20) == true or flingplr == nil or target.Character == nil or target.Character:FindFirstChild("Humanoid") == nil or target.Character:FindFirstChild("Humanoid").Health <= 0 or LocalPlayer.Character == nil or LocalPlayer.Character:FindFirstChild("Humanoid").Health <= 0 or stop == true
  76.             print("script off")
  77.             flingplr = nil
  78.             LocalPlayer.Character:FindFirstChild("Humanoid"):UnequipTools()
  79.             hathandle.Parent = hat
  80.             hathandle.Massless = false
  81.             tool:Destroy()
  82.             LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = savepos
  83.            
  84.         end
  85.     end
  86.     end
  87. end)
  88.  
  89. local noclip = true
  90. local char = game.Players.LocalPlayer.Character
  91. game:GetService('RunService').Stepped:connect(function()
  92.     if flingplr ~= nil and stop == false then
  93.             if game:GetService('Players'):FindFirstChild(flingplr) ~= nil then
  94.         --local returned, data = pcall(function()
  95.         if game:GetService('Players')[flingplr].Character:FindFirstChild('HumanoidRootPart') ~= nil then
  96.             if pos ~= nil and pos2 ~= nil then
  97.                 print((pos - pos2).Magnitude, "magnitude2")
  98.             end
  99.             print("teleporting")
  100.             game:GetService('Players').LocalPlayer.Character:FindFirstChild('HumanoidRootPart').CFrame = game:GetService('Players')[flingplr].Character:FindFirstChild('HumanoidRootPart').CFrame
  101.         end
  102.             end
  103.         --  return "Ran without error!"
  104.         --end)
  105.         --if not returned then
  106.         --  print(returned , data .. " | ")
  107.             --  flingplr = nil
  108.         --end
  109.     end
  110.     if noclip == true then
  111.         for _,v in pairs(char:children()) do
  112.             pcall(function()
  113.                 if v.className == "Part" then
  114.                     v.CanCollide = false
  115.                 elseif v.ClassName == "Model" then
  116.                     v.Head.CanCollide = false
  117.                 end
  118.             end)
  119.         end
  120.     end
  121. end)
  122.  
  123. function createTarget()
  124.     print("gui created")
  125.     local UserInputService = game:GetService("UserInputService")
  126.    
  127.     local TargetGUI = Instance.new("ScreenGui")
  128.     local Target = Instance.new("TextBox")
  129.     local Background = Instance.new("ImageLabel")
  130.    
  131.     TargetGUI.Name = "TargetGUI"
  132.     TargetGUI.Parent = game.Players.LocalPlayer.PlayerGui
  133.    
  134.     Target.Name = "Target"
  135.     Target.Parent = TargetGUI
  136.     Target.BackgroundColor3 = Color3.new(0.12, 0.12, 0.12)
  137.     Target.BackgroundTransparency = 0.3
  138.     Target.ClipsDescendants = true
  139.     Target.AnchorPoint = Vector2.new(0.5,0.5)
  140.     Target.Position = UDim2.new(0.2, 0, 0.8, 0)
  141.     Target.Size = UDim2.new(0, 150, 0, 20)
  142.     Target.Font = Enum.Font.SciFi
  143.     Target.PlaceholderText = "[TARGET]"
  144.     Target.Text = ""
  145.     Target.TextColor3 = Color3.new(1, 1, 1)
  146.     Target.TextSize = 12
  147.     Target.TextWrapped = true
  148.     Target.Draggable = true
  149.    
  150.     local LP = game.Players.LocalPlayer
  151.    
  152.     function findplayer(namey)
  153.         local name = string.lower(namey)
  154.         local player = nil
  155.                        
  156.         local names = game.Players:GetChildren()                      
  157.         for i,v in pairs(names) do
  158.             local strlower = string.lower(v.Name)
  159.             local sub = string.sub(strlower,1,#name)                                    
  160.             if name == sub then
  161.                 player = v
  162.                 if player.Name ~= game.Players.LocalPlayer.Name then
  163.                  
  164.                 end
  165.             end
  166.         end
  167.         if player then
  168.             return player
  169.         else
  170.             return false
  171.         end
  172.     end
  173.    
  174.     Target.FocusLost:Connect(function(enterPressed, inputThatCausedFocusLost)
  175.         if enterPressed then
  176.             local lower = string.lower(Target.Text)
  177.         if string.find(lower,":view ") then
  178.             local playername = string.gsub(lower,":view ","")
  179.             local tarplayer = findplayer(playername)
  180.             if tarplayer ~= false then
  181.             workspace.CurrentCamera.CameraSubject = tarplayer.Character
  182.             end
  183.         elseif string.find(lower,":unview") then
  184.             workspace.CurrentCamera.CameraSubject = LocalPlayer.Character
  185.         end
  186.             local playername = lower
  187.             print(playername)
  188.             local player = findplayer(playername)
  189.             if player ~= false then
  190.                 if player.Character then
  191.                     print(player.Name .. " FOUND!")
  192.             local targetname = player.Name
  193.             local target = game:GetService("Players")[targetname]
  194.             local torsoname = "Torso"
  195.             if LocalPlayer.Character:FindFirstChild("Humanoid").RigType == Enum.HumanoidRigType.R15 then
  196.                 torsoname = "UpperTorso"
  197.             end
  198.             if target.Character ~= nil then
  199.                 local savepos = LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
  200.                 LocalPlayer.Character:FindFirstChild(torsoname).Anchored = true
  201.                 local tool = Instance.new("Tool", LocalPlayer.Backpack)
  202.                 local hat = LocalPlayer.Character:FindFirstChildOfClass("Accessory")
  203.                 local hathandle = hat.Handle
  204.                 hathandle.Parent = tool
  205.                 hathandle.Massless = true
  206.                 tool.GripPos = Vector3.new(0, 9e99, 0)
  207.                 tool.Parent = LocalPlayer.Character
  208.                 repeat wait() until LocalPlayer.Character:FindFirstChildOfClass("Tool") ~= nil
  209.                 tool.Grip = CFrame.new(Vector3.new(0, 0, 0))
  210.                 LocalPlayer.Character:FindFirstChild(torsoname).Anchored = false
  211.                 flingplr = target.Name
  212.  
  213.  
  214.                 print('gay')
  215.                 pos = game:GetService('Players')[flingplr].Character:FindFirstChild('HumanoidRootPart').CFrame.p
  216.                 repeat
  217.                     wait()
  218.                     if game:GetService('Players'):FindFirstChild(flingplr) ~= nil then
  219.                         if game:GetService('Players')[flingplr].Character:FindFirstChild('HumanoidRootPart') ~= nil then
  220.                             pos2 = game:GetService('Players')[flingplr].Character:FindFirstChild('HumanoidRootPart').CFrame.p
  221.                         else
  222.                             flingplr = nil
  223.                         end
  224.                     else
  225.                         flingplr = nil
  226.                     end
  227.                     print((pos - pos2).Magnitude, "magnitude1")
  228.                 until ((pos - pos2).Magnitude > 20) == true or flingplr == nil or target.Character == nil or target.Character:FindFirstChild("Humanoid") == nil or target.Character:FindFirstChild("Humanoid").Health <= 0 or LocalPlayer.Character == nil or LocalPlayer.Character:FindFirstChild("Humanoid").Health <= 0 or stop == true
  229.                 print("script off")
  230.                 flingplr = nil
  231.                 LocalPlayer.Character:FindFirstChild("Humanoid"):UnequipTools()
  232.                 hathandle.Parent = hat
  233.                 hathandle.Massless = false
  234.                 tool:Destroy()
  235.                 LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = savepos
  236.  
  237.             end
  238.                 end
  239.             end
  240.         end
  241.            
  242.     end)
  243. end
  244.  
  245. createTarget()
  246.  
  247. local function createStopTeleButton()
  248.     local stopTeleGUI = Instance.new("ScreenGui")
  249.     local Target = Instance.new("TextButton")
  250.    
  251.     stopTeleGUI.Name = "stopTeleGUI"
  252.     stopTeleGUI.Parent = game.Players.LocalPlayer.PlayerGui
  253.    
  254.     Target.Name = "StopButton"
  255.     Target.Parent = stopTeleGUI
  256.     Target.BackgroundColor3 = Color3.new(0.12, 0.12, 0.12)
  257.     Target.BackgroundTransparency = 0.3
  258.     Target.ClipsDescendants = true
  259.     Target.AnchorPoint = Vector2.new(0.5,0.5)
  260.     Target.Position = UDim2.new(0.2, 0, 0.7, 0)
  261.     Target.Size = UDim2.new(0, 150, 0, 20)
  262.     Target.Font = Enum.Font.SciFi
  263.     Target.Text = "STOP TELEPORTING"
  264.     Target.TextColor3 = Color3.fromRGB(120, 50, 0)
  265.     Target.TextSize = 12
  266.     Target.TextWrapped = true
  267.     Target.Draggable = true
  268.     Target.MouseButton1Click:Connect(function()
  269.         stop = not stop
  270.         Target.Text = ("STOPPED " .. ((stop and "ON") or "OFF"))
  271.     end)
  272. end
  273.  
  274. createStopTeleButton()
  275.  
  276. local bra; local system = false
  277. game.Players.LocalPlayer.Chatted:Connect(function(msg)
  278.     if string.lower(msg) == ",systemtoggle" then
  279.         if system == false then
  280.             system = true
  281.             bra = game.Players.PlayerRemoving:Connect(function(plr)
  282.                 game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer(plr.Name .. " has left the game!", "All")
  283.             end)
  284.         elseif system == true then
  285.             system = false
  286.             bra:Disconnect()
  287.         end
  288.     end
  289. end)
  290. warn('FUCK SOME KIDS UP')
  291.  
  292. for i,v in pairs(workspace.Camera:GetDescendants()) do
  293.     if v:IsA('BasePart') then
  294.         v.Position = Vector3.new(0,0,0)
  295.     else
  296.         v:Destroy()
  297.     end
  298. end
  299.  
  300. for i,v in pairs(workspace.Barrier:GetDescendants()) do
  301.     v:Destroy()
  302. end
  303.  
  304. for i,v in pairs(workspace.CounterRestriction:GetDescendants()) do
  305.     v:Destroy()
  306. end
  307.  
  308. for i,v in pairs(workspace.Doors:GetDescendants()) do
  309.     v:Destroy()
  310. end
  311.  
  312. for i,v in pairs(workspace:GetDescendants()) do
  313.     if (v.Name == 'Union' or v.Name == 'Part' ) and math.floor(v.Size.Z + .5) == 2 and v.Material == Enum.Material.Cobblestone then
  314.         v:Destroy()
  315.     end
  316. end
  317.  
  318. workspace.Uniform:Destroy()
  319. workspace.Inactivity:Destroy()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement