R

godmode lollypop myzaza

public
rrixh Jan 20, 2024 Never 135
Clone
Plaintext myzaza-godmode_lulaslollipop 33 lines (28 loc) | 1022 Bytes
This code appears to be a script for a game that loads a library from a GitHub repository and uses it to create notifications in the game. It also includes functionality for toggling a game feature based on the player pressing the 'Z' key. Here is a breakdown of the code: 1. The code loads a library from a GitHub repository using the `loadstring` function and sets a default color for the library. 2. It then creates a notification using the library with the text "NIGGAMODE! jk godmode" that lasts for 5 seconds. 3. It loads the same library again (unnecessary redundancy). 4. It creates another notification using the library with the text "press Z to toggle" that lasts for 6 seconds. 5. It sets up an event handler that listens for player input using the `UserInputService`, specifically checking for the 'Z' key. When the 'Z' key is pressed, it toggles the `lollypop` variable. 6. Finally, the code enters a loop using `task.wait()` (requires further details of `task` to determine functionality) that repeatedly checks for parts within a radius of 10 units around the player's position. It sets the `CanTouch` property of these parts based on the value of the `lollypop` variable, allowing the player to toggle whether the parts can be interacted with. Overall, the code combines loading an external library, creating notifications, and implementing a player-controlled toggle functionality. However, the redundancy in loading the library could be optimized, and the script lacks information about the 'task' function which may affect its functionality.
1
local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/bloodball/-back-ups-for-libs/main/Revenant", true))()
2
Library.DefaultColor = Color3.fromRGB(50,205,50)
3
4
Library:Notification({
5
Text = "NIGGAMODE! jk godmode",
6
Duration = 5
7
})
8
local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/bloodball/-back-ups-for-libs/main/Revenant", true))()
9
Library.DefaultColor = Color3.fromRGB(50,205,50)
10
11
Library:Notification({
12
Text = "press Z to toggle",
13
Duration = 6
14
})
15
16
-- Z to Toggle
17
local player = game:GetService("Players").LocalPlayer
18
local UIS = game:GetService("UserInputService")
19
local lollypop = false
20
21
UIS.InputBegan:Connect(function(input, GPE)
22
if GPE then return end
23
if input.KeyCode == Enum.KeyCode.Z then
24
lollypop = not lollypop
25
end
26
end)
27
28
while task.wait() do
29
local parts = workspace:GetPartBoundsInRadius(player.Character:WaitForChild("HumanoidRootPart").Position, 10)
30
for _, part in ipairs(parts) do
31
part.CanTouch = lollypop
32
end
33
end