0% found this document useful (0 votes)
24 views

main.lua 2

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)
24 views

main.lua 2

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/ 3

if game.

PlaceId == 3261957210 then


local godmode = false -- set true if u want farm without dying

--------
local executecheck = nil if executecheck == true then return print("Already
Executed")end
--------
game.Players.LocalPlayer.Character:BreakJoints()
game.Players.LocalPlayer.Character.Humanoid.Died:Connect(function()
game.Players.LocalPlayer.CharacterAdded:Connect(function()
for i, v in
pairs(game:GetService("Workspace").Spawn.Classes.Class1:GetDescendants()) do
if v:IsA("ClickDetector") then
fireclickdetector(v)
executecheck = true
end
end
end)
end)
game.StarterGui:SetCoreGuiEnabled(2, false)
wait(7)
if godmode == true then
local speaker = game.Players.LocalPlayer
local Cam = workspace.CurrentCamera
local Pos, Char = Cam.CFrame, game.Players.LocalPlayer.Character
local Human = Char:FindFirstChildWhichIsA("Humanoid")
local nHuman = Human:Clone()
nHuman.Parent, speaker.Character = Char, nil
nHuman.SetStateEnabled(nHuman, 15, false)
nHuman.SetStateEnabled(nHuman, 1, false)
nHuman.SetStateEnabled(nHuman, 0, false)
nHuman.BreakJointsOnDeath, Human = true, Human:Destroy()
speaker.Character, Cam.CameraSubject, Cam.CFrame = Char, nHuman, wait() and Pos
nHuman.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
local Script = Char:FindFirstChild("Animate")
nHuman.Health = nHuman.MaxHealth
Char.Animate.Disabled = true
wait(.05)
Char.Animate.Disabled = false
wait(.10)
end
game.Players.LocalPlayer.Backpack["Infinity Gauntlet"].Parent =
game.Players.LocalPlayer.Character
while wait() do
pcall(function()
for i, v in pairs(game:GetService("Workspace").Enemies:GetChildren()) do
repeat wait(.01)
game.Players.LocalPlayer.Character["Infinity
Gauntlet"]:Activate()
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame =
v.HumanoidRootPart.CFrame * CFrame.new(1, -1,math.random(-
2,2))
until (v:FindFirstChildWhichIsA("Humanoid").Health <= 0 or false)
end
end)
end
local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()

local Window = Rayfield:CreateWindow({


Name = "Infinity gauntlet|Thanos simulator",
LoadingTitle = "Example hub",
LoadingSubtitle = "by User Unkown",
ConfigurationSaving = {
Enabled = false,
FolderName = nil, -- Create a custom folder for your hub/game
FileName = "bighub"
},
Discord = {
Enabled = false,
Invite = "noinvitelink", -- The Discord invite code, do not include
discord.gg/. E.g. discord.gg/ABCD would be ABCD
RememberJoins = true -- Set this to false to make them join the discord every
time they load it up
},
KeySystem = false, -- Set this to true to use our key system
KeySettings = {
Title = "Untitled",
Subtitle = "Key System",
Note = "No method of obtaining the key is provided",
FileName = "Key", -- It is recommended to use something unique as other
scripts using Rayfield may overwrite your key file
SaveKey = true, -- The user's key will be saved, but if you change the key,
they will be unable to use your script
GrabKeyFromSite = false, -- If this is true, set Key below to the RAW site
you would like Rayfield to get the key from
Key = {"Hello"} -- List of keys that will be accepted by the system, can be
RAW file links (pastebin, github etc) or simple strings ("hello","key22")
}
})

local MainTab = Window:CreateTab("🏠Home", nil) -- Title, Image


local MainSection = MainTab:CreateSection("Main")

Rayfield:Notify({
Title = "You have executed the script",
Content = "loading",
Duration = 5,
Image = nil,
Actions = { -- Notification Buttons
Ignore = {
Name = "Okay!",
Callback = function()
print("The user tapped Okay!")
end
},
},
})

if game.PlaceId == 3261957210 then

local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()

local Window = Rayfield:CreateWindow({


Name = "Infinity gauntlet|Thanos simulator",
LoadingTitle = "Example hub",
LoadingSubtitle = "by User Unkown",
ConfigurationSaving = {
Enabled = false,
FolderName = nil, -- Create a custom folder for your hub/game
FileName = "bighub"
},
Discord = {
Enabled = false,
Invite = "noinvitelink", -- The Discord invite code, do not include
discord.gg/. E.g. discord.gg/ABCD would be ABCD
RememberJoins = true -- Set this to false to make them join the discord every
time they load it up
},
KeySystem = false, -- Set this to true to use our key system
KeySettings = {
Title = "Untitled",
Subtitle = "Key System",
Note = "No method of obtaining the key is provided",
FileName = "Key", -- It is recommended to use something unique as other
scripts using Rayfield may overwrite your key file
SaveKey = true, -- The user's key will be saved, but if you change the key,
they will be unable to use your script
GrabKeyFromSite = false, -- If this is true, set Key below to the RAW site
you would like Rayfield to get the key from
Key = {"Hello"} -- List of keys that will be accepted by the system, can be
RAW file links (pastebin, github etc) or simple strings ("hello","key22")
}
})

local MainTab = Window:CreateTab("🏠Home", nil) -- Title, Image


local MainSection = MainTab:CreateSection("Main")

Rayfield:Notify({
Title = "You executed the script",
Content = "Loading",
Duration = 5,
Image = nil,
Actions = { -- Notification Buttons
Ignore = {
Name = "Okay!",
Callback = function()
print("The user tapped Okay!")
end
},
},
})

local Button = Tab:CreateButton({


Name = "Button Example",
Callback = function()
-- The function that takes place when the button is
end,
})

You might also like