Skip to content

Instantly share code, notes, and snippets.

@mrsprinkler
Last active August 21, 2022 18:01
Show Gist options
  • Select an option

  • Save mrsprinkler/8db7ae4d1342699c08b8b8ac89ff7b78 to your computer and use it in GitHub Desktop.

Select an option

Save mrsprinkler/8db7ae4d1342699c08b8b8ac89ff7b78 to your computer and use it in GitHub Desktop.
loadstring(game:HttpGet("https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source"))();
local plr = game.Players.LocalPlayer
local Characters = workspace:WaitForChild("Characters to kill")
local COREGUI = game:GetService("CoreGui")
local gui = Instance.new("ScreenGui",COREGUI)
local button = Instance.new("TextButton",gui)
local deadPlayer = nil
local uis = game:GetService("UserInputService")
local frame = Instance.new("ScrollingFrame",gui)
local uis = game:GetService("UserInputService")
local Typing = false
local WaypointAmount = 0
frame.CanvasSize = UDim2.new(0,0,10,0)
frame.Position = UDim2.new(0, 0,0.371, 0)
frame.Size = UDim2.new(0, 240,0, 291)
Instance.new("UIGridLayout",frame).SortOrder = Enum.SortOrder.LayoutOrder
local WayPoints = Instance.new("TextBox",frame)
WayPoints.PlaceholderText = "New Waypoint Name"
Instance.new("UICorner",WayPoints)
WayPoints.Text = ""
WayPoints.TextScaled = true
WayPoints.LayoutOrder = -100
WayPoints.TextColor3 = Color3.new(1,1,1)
WayPoints.Font = Enum.Font.Garamond
WayPoints.BackgroundColor3 = Color3.new(0.854902, 0.6, 0)
WayPoints.FocusLost:Connect(function(enter)
wait()
if enter then
wait()
WaypointAmount += 1
local Waypoint = Instance.new("TextButton",frame)
local Location = CFrame.new()
Location = plr.Character.HumanoidRootPart.CFrame
if WayPoints.Text == "" then
Waypoint.Text = WaypointAmount
else
Waypoint.Text = WayPoints.Text
end
Instance.new("UICorner",Waypoint)
Waypoint.LayoutOrder = -10
Waypoint.TextScaled = true
Waypoint.TextColor3 = Color3.new(1,1,1)
Waypoint.Font = Enum.Font.Garamond
Waypoint.BackgroundColor3 = Color3.new(0.854902, 0.6, 0)
Waypoint.MouseButton1Up:Connect(function()
plr.Character.HumanoidRootPart.CFrame = Location
end)
end
wait()
WayPoints.Text = ""
end)--Focus Lost
local tptoP = Instance.new("TextButton",frame)
tptoP.Text = "TURN ON POWER"
Instance.new("UICorner",tptoP)
tptoP.TextScaled = true
tptoP.TextColor3 = Color3.new(1,1,1)
tptoP.Font = Enum.Font.Garamond
tptoP.BackgroundColor3 = Color3.new(0.854902, 0.6, 0)
tptoP.MouseButton1Up:Connect(function()
plr.Character.HumanoidRootPart.CFrame = workspace["AREA51"].ElectricityRoom.Generator1.Main.CFrame + Vector3.new(0,2,0)
end)
local tptoW = Instance.new("TextButton",frame)
tptoW.Text = "PACK A PUNCH"
Instance.new("UICorner",tptoW)
tptoW.TextScaled = true
tptoW.TextColor3 = Color3.new(1,1,1)
tptoW.Font = Enum.Font.Garamond
tptoW.BackgroundColor3 = Color3.new(0.854902, 0.6, 0)
tptoW.MouseButton1Up:Connect(function()
plr.Character.HumanoidRootPart.CFrame = workspace["PACKAPUNCH"].MainPart.CFrame + Vector3.new(0,5,0)
end)
for i,v in next,workspace.Weapons:GetChildren() do
local tptoW = Instance.new("TextButton",frame)
print(v.Name,v.Cost.Value)
tptoW.Text = "Weapon: "..v.Name.." Cost: "..v.Cost.Value
Instance.new("UICorner",tptoW)
tptoW.TextScaled = true
tptoW.Font = Enum.Font.Garamond
tptoW.TextColor3 = Color3.new(1,1,1)
tptoW.BackgroundColor3 = Color3.new(0.435294, 0, 0)
tptoW.MouseButton2Up:Connect(function()
if tptoW.LayoutOrder == -1 then
tptoW.LayoutOrder = 1
else
tptoW.LayoutOrder = -1
end
end)
tptoW.MouseButton1Up:Connect(function()
plr.Character.HumanoidRootPart.CFrame = v.Hitbox.CFrame
end)
end
for i,v in next,workspace.Perks:GetChildren() do
local tptoW = Instance.new("TextButton",frame)
print(v.Name,v.Cost.Value)
tptoW.Text = "Perk: "..v.Name.." Cost: "..v.Cost.Value
Instance.new("UICorner",tptoW)
tptoW.TextScaled = true
tptoW.TextColor3 = Color3.new(1,1,1)
tptoW.Font = Enum.Font.Garamond
tptoW.BackgroundColor3 = Color3.new(0, 0, 0.439216)
tptoW.MouseButton2Up:Connect(function()
if tptoW.LayoutOrder == -1 then
tptoW.LayoutOrder = 1
else
tptoW.LayoutOrder = -1
end
end)
tptoW.MouseButton1Up:Connect(function()
plr.Character.HumanoidRootPart.CFrame = v.Light.CFrame
end)
end
button.Size = UDim2.new(0,200,0,50)
button.Position = UDim2.new(0,0,0.287,0)
button.Text = "TP to Dead player"
button.TextScaled = true
Instance.new("UICorner",button)
button.MouseButton1Up:Connect(function()
if deadPlayer then
plr.Character.HumanoidRootPart.CFrame = deadPlayer.CFrame + Vector3.new(0,2,0)
end
end)
while wait() do
for i,v in next, Characters:GetChildren() do
if v:FindFirstChild("HumanoidRootPart") then
if v.HumanoidRootPart:FindFirstChild("ProximityPrompt") then
local pro = v.HumanoidRootPart:FindFirstChild("ProximityPrompt")
deadPlayer = v.HumanoidRootPart
button.Visible = true
pro.HoldDuration = 0
pro.RequiresLineOfSight = false
pro.MaxActivationDistance = 100
end
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment