0% found this document useful (0 votes)
686 views4 pages

Kat by JN

The document contains code for a GUI created in Roblox Studio using Lua. It displays a frame containing text and a button. The button activates infinite jump and speed when clicked by connecting functions to the player. It also makes the player invisible by moving them inside a box above the map.

Uploaded by

Despe JM
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
686 views4 pages

Kat by JN

The document contains code for a GUI created in Roblox Studio using Lua. It displays a frame containing text and a button. The button activates infinite jump and speed when clicked by connecting functions to the player. It also makes the player invisible by moving them inside a box above the map.

Uploaded by

Despe JM
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 4

game.

StarterGui:SetCore("SendNotification", {
Title = "Enjoy";
Text = "Made by JN HH Gaming"; -- what the text says (ofc)
Duration = 60;
})
wait(1)
game.StarterGui:SetCore("SendNotification", {
Title = "Subscribe To Him";
Text = "Now!"; -- what the text says (ofc)
Duration = 60;
})

-- Gui to Lua
-- Version: 3.
-- Instances:

local ScreenGui = Instance.new("ScreenGui")


local Main = Instance.new("Frame")
local TextLabel = Instance.new("TextLabel")
local TextButton = Instance.new("TextButton")

--Properties:

ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")

Main.Name = "Main"
Main.Parent = ScreenGui
Main.BackgroundColor3 = Color3.fromRGB(39, 15, 245)
Main.Position = UDim2.new(0.363293529, 0, 0.28638497, 0)
Main.Size = UDim2.new(0, 300, 0, 154)
Main.Style = Enum.FrameStyle.ChatRed

TextLabel.Parent = Main
TextLabel.BackgroundColor3 = Color3.fromRGB(17, 1, 1)
TextLabel.BackgroundTransparency = 1.000
TextLabel.Position = UDim2.new(-0.025588274, 0, -0.0890700519, 0)
TextLabel.Size = UDim2.new(0, 250, 0, 30)
TextLabel.Font = Enum.Font.SciFi
TextLabel.Text = "JN HH Gaming Speed"
TextLabel.TextColor3 = Color3.fromRGB(245, 16, 16)
TextLabel.TextScaled = true
TextLabel.TextSize = 12.000
TextLabel.TextWrapped = true

TextButton.Parent = Main
TextButton.BackgroundColor3 = Color3.fromRGB(17, 1, 1)
TextButton.Position = UDim2.new(0.136470661, 0, 0.458670378, 0)
TextButton.Size = UDim2.new(0, 200, 0, 58)
TextButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
TextButton.Font = Enum.Font.SciFi
TextButton.Text = "Click To Activate"
TextButton.TextColor3 = Color3.fromRGB(21, 235, 78)
TextButton.TextScaled = true
TextButton.TextSize = 14.000
TextButton.TextWrapped = true
TextButton.MouseButton1Down:connect(function()
while true do wait() game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 60
end
Walkspeed()
end)
-- Scripts:

local function LASGYB_fake_script() -- ScreenGui.Script


local script = Instance.new('Script', ScreenGui)

frame = script.Parent.Main -- Take out {}s, and put name of frame


frame.Draggable = true
frame.Active = true
frame.Selectable = true
end
coroutine.wrap(LASGYB_fake_script)()

local InfiniteJumpEnabled = true


game:GetService("UserInputService").JumpRequest:connect(function()
if InfiniteJumpEnabled then

game:GetService"Players".LocalPlayer.Character:FindFirstChildOfClass'Humanoid':Chan
geState("Jumping")
end
end)

shared.enabled = w
game:GetService("RunService").heartbeat:connect(function()
if not shared.enabled then return end
game:GetService("ReplicatedStorage").rbxts_include.node_modules.net.out._NetManaged
.GroundHit:FireServer(workspace.Map.Blocks,1645488277.345853)
wait()
end)

-- FE Invisible

Local = game:GetService('Players').LocalPlayer
Char = Local.Character
touched,tpdback = false, false
Local.CharacterAdded:connect(function(char)
if script.Disabled ~= true then
wait(.25)
loc = Char.HumanoidRootPart.Position
Char:MoveTo(box.Position + Vector3.new(0,.5,0))
end
end)
game:GetService('UserInputService').InputBegan:connect(function(key)
if key.KeyCode == Enum.KeyCode.Equals then
if script.Disabled ~= true then
script.Disabled = true
print'you may re-execute'
end
end
end)
box = Instance.new('Part',workspace)
box.Anchored = true
box.CanCollide = true
box.Size = Vector3.new(10,1,10)
box.Position = Vector3.new(0,10000,0)
box.Touched:connect(function(part)
if (part.Parent.Name == Local.Name) then
if touched == false then
touched = true
function apply()
if script.Disabled ~= true then
no = Char.HumanoidRootPart:Clone()
wait(.25)
Char.HumanoidRootPart:Destroy()
no.Parent = Char
Char:MoveTo(loc)
touched = false
end end
if Char then
apply()
end
end
end
end)
repeat wait() until Char
loc = Char.HumanoidRootPart.Position
Char:MoveTo(box.Position + Vector3.new(0,.5,0))

local Camera = game:GetService("Workspace").CurrentCamera


local Players = game:GetService("Players")
local LocalPlayer = game:GetService("Players").LocalPlayer

local function GetClosestPlayer()


local ClosestPlayer = nil
local FarthestDistance = math.huge

for i, v in pairs(Players.GetPlayers(Players)) do
if v ~= LocalPlayer and v.Character and
v.Character.FindFirstChild(v.Character, "HumanoidRootPart") then
local DistanceFromPlayer =
(LocalPlayer.Character.HumanoidRootPart.Position -
v.Character.HumanoidRootPart.Position).Magnitude

if DistanceFromPlayer < FarthestDistance then


FarthestDistance = DistanceFromPlayer
ClosestPlayer = v
end
end
end

if ClosestPlayer then
return ClosestPlayer
end
end

local Camera = game:GetService("Workspace").CurrentCamera


local Players = game:GetService("Players")
local LocalPlayer = game:GetService("Players").LocalPlayer

local function GetClosestPlayer()


local ClosestPlayer = nil
local FarthestDistance = math.huge

for i, v in pairs(Players.GetPlayers(Players)) do
if v ~= LocalPlayer and v.Character and
v.Character.FindFirstChild(v.Character, "HumanoidRootPart") then
local DistanceFromPlayer =
(LocalPlayer.Character.HumanoidRootPart.Position -
v.Character.HumanoidRootPart.Position).Magnitude

if DistanceFromPlayer < FarthestDistance then


FarthestDistance = DistanceFromPlayer
ClosestPlayer = v
end
end
end

if ClosestPlayer then
return ClosestPlayer
end
end

local GameMetaTable = getrawmetatable(game)


local OldGameMetaTableNamecall = GameMetaTable.__namecall
setreadonly(GameMetaTable, false)

GameMetaTable.__namecall = newcclosure(function(object, ...)


local NamecallMethod = getnamecallmethod()
local Arguments = {...}

if tostring(NamecallMethod) == "FindPartOnRayWithIgnoreList" then


local ClosestPlayer = GetClosestPlayer()

if ClosestPlayer and ClosestPlayer.Character then


Arguments[1] = Ray.new(Camera.CFrame.Position,
(ClosestPlayer.Character.Head.Position - Camera.CFrame.Position).Unit *
(Camera.CFrame.Position - ClosestPlayer.Character.Head.Position).Magnitude)
end
end

return OldGameMetaTableNamecall(object, unpack(Arguments))


end)

setreadonly(GameMetaTable, true)

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy