main.lua (1)
main.lua (1)
menu/rayfield'))()
Rayfield:Notify({
Title = "You have successfully executed the script!",
Content = "The script was successfully executed, and you are ready to go!",
Duration = 5,
Image = nil,
Actions = { -- Notification Buttons
Ignore = {
Name = "Okay!",
Callback = function()
print("The user tapped Okay!")
end
},
},
})
--Properties:
KillGui.Name = "KillGui"
KillGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
KillGui.ResetOnSpawn = false
Opener.Name = "Opener"
Opener.Parent = KillGui
Opener.BackgroundColor3 = Color3.fromRGB(80, 255, 116)
Opener.BackgroundTransparency = 1.000
Opener.BorderSizePixel = 0
Opener.Position = UDim2.new(0.890184641, 0, 0.665688097, 0)
Opener.Size = UDim2.new(0, 113, 0, 50)
Opener.ZIndex = 2
Opener.Font = Enum.Font.SourceSans
Opener.Text = "Open"
Opener.TextColor3 = Color3.fromRGB(255, 255, 255)
Opener.TextScaled = true
Opener.TextSize = 14.000
Opener.TextWrapped = true
UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00,
Color3.fromRGB(255, 0, 0)), ColorSequenceKeypoint.new(0.23, Color3.fromRGB(238, 0,
255)), ColorSequenceKeypoint.new(0.48, Color3.fromRGB(0, 0, 255)),
ColorSequenceKeypoint.new(0.63, Color3.fromRGB(32, 244, 255)),
ColorSequenceKeypoint.new(0.78, Color3.fromRGB(4, 255, 0)),
ColorSequenceKeypoint.new(0.89, Color3.fromRGB(255, 255, 0)),
ColorSequenceKeypoint.new(1.00, Color3.fromRGB(255, 0, 0))}
UIGradient.Parent = Opener
Frame.Name = "Frame"
Frame.Parent = KillGui
Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Frame.BackgroundTransparency = 1.000
Frame.Position = UDim2.new(0.753321111, 0, 0.741761386, 0)
Frame.Size = UDim2.new(0, 253, 0, 170)
Frame.Visible = false
Frame.Image = "rbxassetid://2851926732"
Frame.ImageColor3 = Color3.fromRGB(72, 255, 96)
Frame.ScaleType = Enum.ScaleType.Slice
Frame.SliceCenter = Rect.new(12, 12, 12, 12)
Player.Name = "Player"
Player.Parent = Frame
Player.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Player.BackgroundTransparency = 0.750
Player.BorderSizePixel = 0
Player.Position = UDim2.new(0.0967741907, 0, 0.152100846, 0)
Player.Size = UDim2.new(0, 200, 0, 50)
Player.ZIndex = 2
Player.Font = Enum.Font.FredokaOne
Player.PlaceholderText = "Player To Kill"
Player.Text = ""
Player.TextColor3 = Color3.fromRGB(255, 255, 255)
Player.TextScaled = true
Player.TextSize = 14.000
Player.TextWrapped = true
UIGradient_2.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00,
Color3.fromRGB(255, 0, 0)), ColorSequenceKeypoint.new(0.23, Color3.fromRGB(238, 0,
255)), ColorSequenceKeypoint.new(0.48, Color3.fromRGB(0, 0, 255)),
ColorSequenceKeypoint.new(0.63, Color3.fromRGB(32, 244, 255)),
ColorSequenceKeypoint.new(0.78, Color3.fromRGB(4, 255, 0)),
ColorSequenceKeypoint.new(0.89, Color3.fromRGB(255, 255, 0)),
ColorSequenceKeypoint.new(1.00, Color3.fromRGB(255, 0, 0))}
UIGradient_2.Parent = Player
Kill.Name = "Kill"
Kill.Parent = Frame
Kill.BackgroundColor3 = Color3.fromRGB(141, 255, 142)
Kill.BackgroundTransparency = 1.000
Kill.BorderSizePixel = 0
Kill.Position = UDim2.new(0, 0, 0.700840294, 0)
Kill.Size = UDim2.new(0, 73, 0, 50)
Kill.ZIndex = 2
Kill.Font = Enum.Font.SourceSans
Kill.Text = "Kill"
Kill.TextColor3 = Color3.fromRGB(255, 255, 255)
Kill.TextScaled = true
Kill.TextSize = 14.000
Kill.TextWrapped = true
Cancel.Name = "Cancel"
Cancel.Parent = Frame
Cancel.BackgroundColor3 = Color3.fromRGB(141, 255, 142)
Cancel.BackgroundTransparency = 1.000
Cancel.BorderSizePixel = 0
Cancel.Position = UDim2.new(0.705645204, 0, 0.700840294, 0)
Cancel.Size = UDim2.new(0, 73, 0, 50)
Cancel.ZIndex = 2
Cancel.Font = Enum.Font.SourceSans
Cancel.Text = "Cancel"
Cancel.TextColor3 = Color3.fromRGB(255, 255, 255)
Cancel.TextScaled = true
Cancel.TextSize = 14.000
Cancel.TextWrapped = true
LKill.Name = "LKill"
LKill.Parent = Frame
LKill.BackgroundColor3 = Color3.fromRGB(141, 255, 142)
LKill.BackgroundTransparency = 1.000
LKill.BorderSizePixel = 0
LKill.Position = UDim2.new(0.342741907, 0, 0.700840294, 0)
LKill.Size = UDim2.new(0, 73, 0, 50)
LKill.ZIndex = 2
LKill.Font = Enum.Font.SourceSans
LKill.Text = "Loopkill"
LKill.TextColor3 = Color3.fromRGB(255, 255, 255)
LKill.TextScaled = true
LKill.TextSize = 14.000
LKill.TextWrapped = true
UIGradient_3.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00,
Color3.fromRGB(255, 0, 0)), ColorSequenceKeypoint.new(0.23, Color3.fromRGB(238, 0,
255)), ColorSequenceKeypoint.new(0.48, Color3.fromRGB(0, 0, 255)),
ColorSequenceKeypoint.new(0.63, Color3.fromRGB(32, 244, 255)),
ColorSequenceKeypoint.new(0.78, Color3.fromRGB(4, 255, 0)),
ColorSequenceKeypoint.new(0.89, Color3.fromRGB(255, 255, 0)),
ColorSequenceKeypoint.new(1.00, Color3.fromRGB(255, 0, 0))}
UIGradient_3.Parent = Frame
-- Scripts:
script.Parent.Opener.MouseButton1Click:Connect(function()
script.Parent.Frame.Visible = true
end)
script.Parent.Frame.Cancel.MouseButton1Click:Connect(function()
script.Parent.Frame.Visible = false
end)
script.Parent.Frame.Kill.MouseButton1Click:Connect(function()
game.Players:FindFirstChild(script.Parent.Frame.Player.Text).Character.Humanoid.Hea
lth = 0
script.Parent.Frame.Visible = false
end)
script.Parent.Frame.LKill.MouseButton1Click:Connect(function()
while true do
game.Players:WaitForChild(script.Parent.Frame.Player.Text).Character.Humanoid.Healt
h = 0
wait(1)
end
script.Parent.Frame.Visible = false
end)
end
coroutine.wrap(HJEL_fake_script)()
end,
})