Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local renderstepped = game:GetService("RunService").RenderStepped
- local uis = game:GetService("UserInputService")
- local plr = game.Players.LocalPlayer
- local function check()
- local portafab = plr.Backpack:FindFirstChild("Portafab") or plr.Character:FindFirstChild("Portafab")
- while
- not plr.Character or
- not plr.Character.Parent or
- not plr.Character:FindFirstChild("Humanoid") or
- not portafab or
- not portafab:FindFirstChild("Remote") or
- not plr.Character:FindFirstChild("FallDamageScript") or
- not plr.Character:FindFirstChild("IridiumTank") or
- not plr.Character.IridiumTank:FindFirstChild("IridiumUsed")
- do renderstepped:Wait() end
- end
- local function hack()
- check()
- local char = plr.Character
- plr.Backpack.ChildAdded:connect(function(child)
- if child:IsA("Tool") and child.Name ~= "Portafab" then
- child:WaitForChild("Remote"):FireServer("IridiumConsumed", -10000000000)
- end
- end)
- char.FallDamageScript:Destroy()
- char.IridiumTank.IridiumUsed:Destroy()
- Instance.new("RemoteEvent", char.IridiumTank).Name = "IridiumUsed"
- local portafab = plr.Backpack:FindFirstChild("Portafab") or char:FindFirstChild("Portafab")
- if portafab then
- local remote = portafab:FindFirstChild("Remote")
- if remote then
- local function fire()
- while renderstepped:Wait() do
- if char.Humanoid.Health == 0 or portafab.Parent == plr.Backpack then break end
- if uis:IsKeyDown(Enum.KeyCode.E) or uis:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) then
- remote:FireServer("Activated", plr:GetMouse().Hit.p, plr:GetMouse().Target)
- remote:FireServer("TargetUpdated", plr:GetMouse().Hit.p, plr:GetMouse().Target)
- elseif uis:IsKeyDown(Enum.KeyCode.G) then
- while uis:IsKeyDown(Enum.KeyCode.G) do
- remote:FireServer("DestroyActivated",plr:GetMouse().Hit.p,plr:GetMouse().Target)
- renderstepped:Wait()
- end
- remote:FireServer("DestroyDeactivated")
- end
- end
- end
- if portafab.Parent == char then
- fire()
- end
- portafab.Equipped:connect(function()
- fire()
- end)
- end
- end
- end
- local screengui = Instance.new("ScreenGui")
- screengui.ResetOnSpawn = false
- screengui.Parent = game.CoreGui
- local frame = Instance.new("Frame")
- frame.BorderSizePixel = 0
- frame.BackgroundColor3 = Color3.fromRGB(0, 150, 117)
- frame.Position = UDim2.new(0.5, - 100, 0, 0)
- frame.Size = UDim2.new(0, 210, 0, 50)
- frame.Draggable = true
- frame.Active = true
- frame.Parent = screengui
- local textbox = Instance.new("TextBox")
- textbox.BackgroundColor3 = Color3.fromRGB(0, 170, 127)
- textbox.BorderSizePixel = 0
- textbox.ClearTextOnFocus = false
- textbox.Position = UDim2.new(0, 0, 0, 0)
- textbox.Size = UDim2.new(0, 200, 0, 50)
- textbox.TextSize = 15
- textbox.Font = Enum.Font.SourceSansBold
- textbox.Text = ""
- textbox.TextWrap = true
- textbox.PlaceholderColor3 = Color3.new(1, 1, 1)
- textbox.PlaceholderText = "Type a player name and press enter"
- textbox.TextColor3 = Color3.new(1, 1, 1)
- textbox.TextTransparency = 0.35
- textbox.Parent = frame
- textbox.FocusLost:connect(function(enter)
- if enter and textbox.Text ~= "" then
- local text = textbox.Text
- for _, v in next, game.Players:GetPlayers() do
- local len = string.len(text)
- if string.match(string.lower(string.sub(v.Name,1,len)), string.lower(text)) then
- game.ReplicatedStorage.Remotes.FallDamageDamageTaken:FireServer(v.Character.Humanoid, 100)
- end
- end
- end
- end)
- hack()
- plr.CharacterAdded:connect(function(char)
- hack()
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement