0% found this document useful (0 votes)
44 views16 pages

Roblox Triggerbot GUI Script

The document is a Lua script for a game that manages a triggerbot feature, allowing certain authorized players to use it. It includes user authentication, configuration saving/loading, and GUI creation for user interaction. The script also provides functionality for draggable GUI elements and visual enhancements like corners, strokes, and gradients.

Uploaded by

8bxnk2gcs8
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)
44 views16 pages

Roblox Triggerbot GUI Script

The document is a Lua script for a game that manages a triggerbot feature, allowing certain authorized players to use it. It includes user authentication, configuration saving/loading, and GUI creation for user interaction. The script also provides functionality for draggable GUI elements and visual enhancements like corners, strokes, and gradients.

Uploaded by

8bxnk2gcs8
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

local Players = game:GetService("Players")

local player = [Link]


local camera = [Link]
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local VirtualUser = game:GetService("VirtualUser")
local HttpService = game:GetService("HttpService")

local authorizedUsers = {
["hxuntedyua"] = true,
["foundpeaceinmusic"] = true,
["971lk"] = true,
["jamarrocknm"] = true,
["nv15yo"] = true,
["haz_nt7"] = true,
["dahoodianprololss"] = true,
["claxifu"] = true,
["fortnitepro123yu"] = true,
["geuchsibsjcjjc"] = true,
["realestthug0"] = true,
["uhhhhhhhssjsoiehrfosf"] = true,
["itzmejeyden"] = true,
["xxic3pow3rblad3xx"] = true,
["greatyosif"] = true,
["xavi123123123"] = true,
["kaiontopong"] = true,
["divinexelias"] = true,
["vamp_x10"] = true,
["mm2_ho12"] = true,
["silly_haya00"] = true,
["imy_yourworst"] = true,
["scarsxgrave"] = true,
["azuer11112"] = true,
["60kftstez"] = true,
["rizz_king116"] = true,
["qw24rtyuis"] = true,
["xavi123123123"] = true,
["leo918288"] = true,
["yksvinebh"] = true,
["laisam1197"] = true,
["dahoodianproLOLSS"] = true,
["lilr0nni3"] = true,
["hangehavxn"] = true,
["fatamrao"] = true,
["babyjdubanddee"] = true,
["vammmpeeedddkizzz"] = true,
["007jsn"] = true,
["007jsnn"] = true,
["yakikrunsu"] = true,
["user41"] = true,
["user42"] = true,
["user43"] = true,
["user44"] = true,
["user45"] = true,
["user46"] = true,
["user47"] = true,
["user48"] = true,
["user49"] = true,
["user50"] = true,
["user51"] = true,
["user52"] = true,
["user53"] = true,
["user54"] = true,
["user55"] = true,
["user56"] = true,
["user57"] = true,
["user58"] = true,
["user59"] = true,
["user60"] = true,
["user61"] = true,
["user62"] = true,
["user63"] = true,
["user64"] = true,
["user65"] = true,
["user66"] = true,
["user67"] = true,
["user68"] = true,
["user69"] = true,
["user70"] = true,
["user71"] = true,
["user72"] = true,
["user73"] = true,
["user74"] = true,
["user75"] = true,
["user76"] = true,
["user77"] = true,
["user78"] = true,
["user79"] = true,
["user80"] = true,
["user81"] = true,
["user82"] = true,
["user83"] = true,
["user84"] = true,
["user85"] = true,
["user86"] = true,
["user87"] = true,
["user88"] = true,
["user89"] = true,
["user90"] = true,
["user91"] = true,
["user92"] = true,
["user93"] = true,
["user94"] = true,
["user95"] = true,
["user96"] = true,
["user97"] = true,
["user98"] = true,
["user99"] = true,
["user100"] = true
}

if not authorizedUsers[[Link]([Link])] then


warn("Unauthorized user: " .. [Link])
player:Kick("You are not authorized to use this script.")
return
end

local dataFolder = player:WaitForChild("PlayerGui",


30):FindFirstChild("TriggerbotData")
if not dataFolder then
dataFolder = [Link]("Folder")
[Link] = "TriggerbotData"
[Link] = [Link]
end

local function saveConfig(config)


local success, json = pcall([Link], HttpService, config)
if success then
local savedValue = dataFolder:FindFirstChild("ConfigJson") or
[Link]("StringValue")
[Link] = "ConfigJson"
[Link] = dataFolder
[Link] = json
else
warn("Failed to encode config: " .. tostring(json))
end
end

local function loadConfig()


local savedValue = dataFolder:FindFirstChild("ConfigJson")
if savedValue and [Link] ~= "" then
local success, decoded = pcall([Link], HttpService,
[Link])
if success and type(decoded) == "table" then
return decoded
else
warn("Failed to decode config: " .. tostring(decoded))
end
end
return nil
end

local TriggerbotConfig = {
Enabled = false,
Delay = 0.03,
Prediction = 0,
Keybind = "T",
HitboxEnabled = false,
HitboxSize = 15,
HitboxTransparency = 0.9
}

local savedConfig = loadConfig()


if savedConfig then
for k, v in pairs(savedConfig) do
if TriggerbotConfig[k] ~= nil and typeof(v) == typeof(TriggerbotConfig[k])
then
TriggerbotConfig[k] = v
end
end
end

local function makeDraggable(guiObject)


local dragging, dragInput, dragStart, startPos
[Link]:Connect(function(input)
if [Link] == [Link].MouseButton1 or
[Link] == [Link] then
dragging = true
dragStart = [Link]
startPos = [Link]
[Link]:Connect(function()
if [Link] == [Link] then
dragging = false
end
end)
end
end)
[Link]:Connect(function(input)
if [Link] == [Link] or
[Link] == [Link] then
dragInput = input
end
end)
[Link]:Connect(function(input)
if input == dragInput and dragging then
local delta = [Link] - dragStart
[Link] = [Link](
[Link],
[Link] + delta.X,
[Link],
[Link] + delta.Y
)
end
end)
end

local function addCorner(instance, radius)


local success, corner = pcall(function()
local c = [Link]("UICorner")
[Link] = [Link](0, radius)
[Link] = instance
return c
end)
if not success then
warn("Failed to add UICorner to " .. [Link])
end
end

local function addStroke(instance, color, thickness)


local success, stroke = pcall(function()
local s = [Link]("UIStroke")
[Link] = color
[Link] = thickness or 2
[Link] = 0.3
[Link] = instance
return s
end)
if not success then
warn("Failed to add UIStroke to " .. [Link])
end
end

local function addGradient(instance)


local success, gradient = pcall(function()
local g = [Link]("UIGradient")
[Link] = [Link]({
[Link](0, [Link](30, 30, 30)),
[Link](1, [Link](0, 100, 200))
})
[Link] = 45
[Link] = instance
return g
end)
if not success then
warn("Failed to add UIGradient to " .. [Link])
end
end

local gui = [Link]("ScreenGui")


[Link] = "TriggerbotGUI"
[Link] = false
local success, err = pcall(function()
[Link] = player:WaitForChild("PlayerGui", 30)
print("ScreenGui parented to PlayerGui")
end)
if not success then
warn("Failed to parent ScreenGui: " .. tostring(err))
return
end

local toggleBtn
local success, err = pcall(function()
toggleBtn = [Link]("ImageButton", gui)
[Link] = [Link](0, 200, 0, 200)
[Link] = [Link](0.05, 0, 0.4, 0)
[Link] = 1
[Link] = "rbxthumb://type=Asset&id=111603509355959&w=420&h=420"
[Link] = true
game:GetService("ContentProvider"):PreloadAsync({[Link]})
print("Preloaded XShot logo")
addCorner(toggleBtn, 12)
makeDraggable(toggleBtn)
local hitboxFrame = [Link]("Frame", toggleBtn)
[Link] = [Link](0.8, 0, 0.8, 0)
[Link] = [Link](0.1, 0, 0.1, 0)
[Link] = 1
[Link] = true
print("ImageButton with XShot logo created")
end)
if not success then
warn("Failed to create ImageButton: " .. tostring(err))
return
end

local settingsFrame = [Link]("Frame", gui)


[Link] = [Link](0, 400, 0, 220)
[Link] = [Link](0.05, 0, 0.55, 0)
settingsFrame.BackgroundColor3 = [Link](30, 30, 30)
[Link] = 0.2
[Link] = false
[Link] = 1
addCorner(settingsFrame, 10)
addGradient(settingsFrame)
addStroke(settingsFrame, [Link](0, 170, 255), 3)
makeDraggable(settingsFrame)
local row1Frame = [Link]("Frame", settingsFrame)
[Link] = [Link](0, 190, 0, 183)
[Link] = [Link](0, 5, 0, 5)
[Link] = 1
[Link] = 2
local row1Layout = [Link]("UIListLayout", row1Frame)
[Link] = [Link]
[Link] = [Link](0, 2.5)

local row2Frame = [Link]("Frame", settingsFrame)


[Link] = [Link](0, 190, 0, 159)
[Link] = [Link](0, 205, 0, 5)
[Link] = 1
[Link] = 2
local row2Layout = [Link]("UIListLayout", row2Frame)
[Link] = [Link]
[Link] = [Link](0, 2.5)

local enableToggle = [Link]("TextButton", row1Frame)


[Link] = [Link](0, 190, 0, 31)
enableToggle.BackgroundColor3 = [Link](0, 170, 255)
enableToggle.TextColor3 = [Link](1, 1, 1)
[Link] = [Link] and "Enabled" or "Disabled"
[Link] = [Link]
[Link] = 17
[Link] = 1
addCorner(enableToggle, 8)
addStroke(enableToggle, [Link](0, 170, 255), 2)

[Link]:Connect(function()
pcall(function()
enableToggle.BackgroundColor3 = [Link](0, 200, 255)
end)
end)
[Link]:Connect(function()
pcall(function()
enableToggle.BackgroundColor3 = [Link](0, 170, 255)
end)
end)

local delayLabel = [Link]("TextLabel", row1Frame)


[Link] = [Link](0, 190, 0, 17)
[Link] = 1
[Link] = "Delay:"
delayLabel.TextColor3 = [Link](0, 170, 255)
[Link] = [Link]
[Link] = 17
[Link] = [Link]
[Link] = 2

local delayBox = [Link]("TextBox", row1Frame)


[Link] = [Link](0, 190, 0, 31)
delayBox.BackgroundColor3 = [Link](40, 40, 40)
delayBox.TextColor3 = [Link](1, 1, 1)
[Link] = "Enter Delay"
delayBox.PlaceholderColor3 = [Link](100, 200, 255)
[Link] = savedConfig and [Link] and tostring([Link])
or ""
[Link] = [Link]
[Link] = 17
[Link] = false
[Link] = 3
addCorner(delayBox, 8)
addStroke(delayBox, [Link](0, 170, 255), 2)

[Link]:Connect(function()
pcall(function()
delayBox.BackgroundColor3 = [Link](50, 50, 50)
end)
end)
[Link]:Connect(function()
pcall(function()
delayBox.BackgroundColor3 = [Link](40, 40, 40)
end)
end)

local predLabel = [Link]("TextLabel", row1Frame)


[Link] = [Link](0, 190, 0, 17)
[Link] = 1
[Link] = "Prediction:"
predLabel.TextColor3 = [Link](0, 170, 255)
[Link] = [Link]
[Link] = 17
[Link] = [Link]
[Link] = 4

local predBox = [Link]("TextBox", row1Frame)


[Link] = [Link](0, 190, 0, 31)
predBox.BackgroundColor3 = [Link](40, 40, 40)
predBox.TextColor3 = [Link](1, 1, 1)
[Link] = "Enter Prediction"
predBox.PlaceholderColor3 = [Link](100, 200, 255)
[Link] = savedConfig and [Link] and
tostring([Link]) or ""
[Link] = [Link]
[Link] = 17
[Link] = false
[Link] = 5
addCorner(predBox, 8)
addStroke(predBox, [Link](0, 170, 255), 2)

[Link]:Connect(function()
pcall(function()
predBox.BackgroundColor3 = [Link](50, 50, 50)
end)
end)
[Link]:Connect(function()
pcall(function()
predBox.BackgroundColor3 = [Link](40, 40, 40)
end)
end)

local keybindLabel = [Link]("TextLabel", row1Frame)


[Link] = [Link](0, 190, 0, 17)
[Link] = 1
[Link] = "Keybind:"
keybindLabel.TextColor3 = [Link](0, 170, 255)
[Link] = [Link]
[Link] = 17
[Link] = [Link]
[Link] = 6

local keybindBox = [Link]("TextBox", row1Frame)


[Link] = [Link](0, 190, 0, 31)
keybindBox.BackgroundColor3 = [Link](40, 40, 40)
keybindBox.TextColor3 = [Link](1, 1, 1)
[Link] = "Enter Keybind"
keybindBox.PlaceholderColor3 = [Link](100, 200, 255)
[Link] = savedConfig and [Link] or "T"
[Link] = [Link]
[Link] = 17
[Link] = false
[Link] = 7
addCorner(keybindBox, 8)
addStroke(keybindBox, [Link](0, 170, 255), 2)

[Link]:Connect(function()
pcall(function()
keybindBox.BackgroundColor3 = [Link](50, 50, 50)
end)
end)
[Link]:Connect(function()
pcall(function()
keybindBox.BackgroundColor3 = [Link](40, 40, 40)
end)
end)

local noteLabel = [Link]("TextLabel", row1Frame)


[Link] = [Link](0, 190, 0, 13)
[Link] = 1
[Link] = "Note: Hitbox Expander Works In Some Games."
noteLabel.TextColor3 = [Link](0, 170, 255)
[Link] = [Link]
[Link] = 17
[Link] = [Link]
[Link] = 8
[Link] = [Link](0, 0, 0.85, 0)

local hitboxToggle = [Link]("TextButton", row2Frame)


[Link] = [Link](0, 190, 0, 31)
hitboxToggle.BackgroundColor3 = [Link](0, 170, 255)
hitboxToggle.TextColor3 = [Link](1, 1, 1)
[Link] = [Link] and "Hitbox: ON" or "Hitbox:
OFF"
[Link] = [Link]
[Link] = 17
[Link] = 1
addCorner(hitboxToggle, 8)
addStroke(hitboxToggle, [Link](0, 170, 255), 2)

[Link]:Connect(function()
pcall(function()
hitboxToggle.BackgroundColor3 = [Link](0, 200, 255)
end)
end)
[Link]:Connect(function()
pcall(function()
hitboxToggle.BackgroundColor3 = [Link](0, 170, 255)
end)
end)

local hitboxSizeLabel = [Link]("TextLabel", row2Frame)


[Link] = [Link](0, 190, 0, 17)
[Link] = 1
[Link] = "Hitbox Size:"
hitboxSizeLabel.TextColor3 = [Link](0, 170, 255)
[Link] = [Link]
[Link] = 17
[Link] = [Link]
[Link] = 2

local hitboxSizeBox = [Link]("TextBox", row2Frame)


[Link] = [Link](0, 190, 0, 31)
hitboxSizeBox.BackgroundColor3 = [Link](40, 40, 40)
hitboxSizeBox.TextColor3 = [Link](1, 1, 1)
[Link] = "Enter Delay"
hitboxSizeBox.PlaceholderColor3 = [Link](100, 200, 255)
[Link] = savedConfig and [Link] and
tostring([Link]) or "15"
[Link] = [Link]
[Link] = 17
[Link] = false
[Link] = 3
addCorner(hitboxSizeBox, 8)
addStroke(hitboxSizeBox, [Link](0, 170, 255), 2)

[Link]:Connect(function()
pcall(function()
hitboxSizeBox.BackgroundColor3 = [Link](50, 50, 50)
end)
end)
[Link]:Connect(function()
pcall(function()
hitboxSizeBox.BackgroundColor3 = [Link](40, 40, 40)
end)
end)

local hitboxTransLabel = [Link]("TextLabel", row2Frame)


[Link] = [Link](0, 190, 0, 17)
[Link] = 1
[Link] = "Hitbox Trans:"
hitboxTransLabel.TextColor3 = [Link](0, 170, 255)
[Link] = [Link]
[Link] = 17
[Link] = [Link]
[Link] = 4

local hitboxTransBox = [Link]("TextBox", row2Frame)


[Link] = [Link](0, 190, 0, 31)
hitboxTransBox.BackgroundColor3 = [Link](40, 40, 40)
hitboxTransBox.TextColor3 = [Link](1, 1, 1)
[Link] = "Enter Prediction"
hitboxTransBox.PlaceholderColor3 = [Link](100, 200, 255)
[Link] = savedConfig and [Link] and
tostring([Link]) or "0.9"
[Link] = [Link]
[Link] = 17
[Link] = false
[Link] = 5
addCorner(hitboxTransBox, 8)
addStroke(hitboxTransBox, [Link](0, 170, 255), 2)

[Link]:Connect(function()
pcall(function()
hitboxTransBox.BackgroundColor3 = [Link](50, 50, 50)
end)
end)
[Link]:Connect(function()
pcall(function()
hitboxTransBox.BackgroundColor3 = [Link](40, 40, 40)
end)
end)

local function toggleTriggerbot()


local success, err = pcall(function()
[Link] = not [Link]
[Link] = [Link] and "Enabled" or "Disabled"
saveConfig({
Delay = [Link],
Prediction = [Link],
Enabled = [Link],
Keybind = [Link],
HitboxEnabled = [Link],
HitboxSize = [Link],
HitboxTransparency = [Link]
})
end)
if not success then
warn("Failed to toggle triggerbot: " .. tostring(err))
end
end

toggleBtn.MouseButton1Click:Connect(function()
local success, err = pcall(function()
[Link] = not [Link]
end)
if not success then
warn("Failed to toggle menu: " .. tostring(err))
end
end)

enableToggle.MouseButton1Click:Connect(toggleTriggerbot)

[Link]:Connect(function(enter)
if enter then
local success, err = pcall(function()
local key = [Link]:upper()
if #key == 1 and key:match("%a") then
[Link] = key
[Link] = key
saveConfig({
Delay = [Link],
Prediction = [Link],
Enabled = [Link],
Keybind = [Link],
HitboxEnabled = [Link],
HitboxSize = [Link],
HitboxTransparency = [Link]
})
else
[Link] = [Link]
end
end)
if not success then
warn("Failed to update keybind: " .. tostring(err))
[Link] = [Link]
end
end
end)

[Link]:Connect(function(input, gameProcessed)
if gameProcessed then return end
local success, err = pcall(function()
if [Link] == [Link] then
local key = [Link]:upper()
if key == [Link] then
toggleTriggerbot()
end
end
end)
if not success then
warn("Failed to process keybind: " .. tostring(err))
end
end)

local function trySave()


local success, err = pcall(function()
saveConfig({
Delay = [Link],
Prediction = [Link],
Enabled = [Link],
Keybind = [Link],
HitboxEnabled = [Link],
HitboxSize = [Link],
HitboxTransparency = [Link]
})
end)
if not success then
warn("Failed to save config: " .. tostring(err))
end
end

[Link]:Connect(function(enter)
if enter then
local success, err = pcall(function()
local v = tonumber([Link])
if v and v >= 0 then
[Link] = v
[Link] = tostring(v)
trySave()
else
[Link] = ""
[Link] = "Enter Delay"
end
end)
if not success then
warn("Failed to update delay: " .. tostring(err))
[Link] = ""
[Link] = "Enter Delay"
end
end
end)

[Link]:Connect(function(enter)
if enter then
local success, err = pcall(function()
local v = tonumber([Link])
if v and v >= 0 then
[Link] = v
[Link] = tostring(v)
trySave()
else
[Link] = ""
[Link] = "Enter Prediction"
end
end)
if not success then
warn("Failed to update prediction: " .. tostring(err))
[Link] = ""
[Link] = "Enter Prediction"
end
end
end)

hitboxToggle.MouseButton1Click:Connect(function()
local success, err = pcall(function()
[Link] = not [Link]
[Link] = [Link] and "Hitbox: ON" or
"Hitbox: OFF"
trySave()
end)
if not success then
warn("Failed to toggle hitbox: " .. tostring(err))
end
end)

[Link]:Connect(function(enter)
if enter then
local success, err = pcall(function()
local v = tonumber([Link])
if v and v >= 0 then
[Link] = v
[Link] = tostring(v)
trySave()
else
[Link] = ""
[Link] = "Enter Delay"
end
end)
if not success then
warn("Failed to update hitbox size: " .. tostring(err))
[Link] = ""
[Link] = "Enter Delay"
end
end
end)

[Link]:Connect(function(enter)
if enter then
local success, err = pcall(function()
local v = tonumber([Link])
if v and v >= 0 and v <= 1 then
[Link] = v
[Link] = tostring(v)
trySave()
else
[Link] = ""
[Link] = "Enter Prediction"
end
end)
if not success then
warn("Failed to update hitbox transparency: " .. tostring(err))
[Link] = ""
[Link] = "Enter Prediction"
end
end
end)

local specialGames = {
[93579217841822] = true
}

local raycastParams = [Link]()


[Link] = [Link]
[Link] = true
local lastShot = 0

local function isEnemy(character)


print("isEnemy called for:", character and [Link] or "nil")
if not character then
print("isEnemy: No character provided")
return false
end
local humanoid = character:FindFirstChildOfClass("Humanoid")
if not humanoid or [Link] <= 0 or
Players:GetPlayerFromCharacter(character) == player then
print("isEnemy: Invalid humanoid, health <= 0, or local player")
return false
end

local localTool = [Link] and


[Link]:FindFirstChildOfClass("Tool")
if localTool and ([Link]:lower():find("knife") or
[Link]:lower():find("blade") or [Link]:lower():find("dagger") or
[Link]:lower():find("combat") or [Link]:lower():find("melee") or
[Link]:lower():find("sword") or [Link]:lower():find("knife")
or [Link]:lower():find("blade")) then
print('[[Link]] isEnemy: Local player has knife, ignoring:',
[Link])
return false
end
print("isEnemy: Valid enemy:", [Link])
return true
end

local function doShoot()


local success, err = pcall(function()
local tool = [Link] and
[Link]:FindFirstChildOfClass("Tool")
if tool then
tool:Activate()
print("doShoot: Tool activated")
else
print("doShoot: No tool found")
end
end)
if not success then
warn("Failed to activate tool: " .. tostring(err))
end
end

[Link]:Connect(function()
print("RenderStepped: Triggerbot enabled check:", [Link])
if not [Link] then
print("RenderStepped: Triggerbot disabled")
return
end

local success, err = pcall(function()


[Link] = { [Link] }
local cx, cy = [Link].X / 2, [Link].Y / 2
local ray = camera:ViewportPointToRay(cx, cy)
local origin = [Link]
local direction = [Link]
local centerResult = workspace:Raycast(origin, direction * 1000,
raycastParams)
if centerResult and [Link] then
local targetChar =
[Link]:FindFirstAncestorOfClass("Model")
print("Raycast hit:", targetChar and [Link] or "None")
if isEnemy(targetChar) then
local targetPos = [Link]
if [Link] > 0 then
local rootPart = targetChar:FindFirstChild("HumanoidRootPart")
or targetChar:FindFirstChild("Torso") or targetChar:FindFirstChild("UpperTorso")
if rootPart then
targetPos = [Link] + [Link] *
[Link]
end
end
local toAim = (targetPos - origin).Unit
local predictedResult = workspace:Raycast(origin, toAim * 1000,
raycastParams)
if predictedResult and [Link] and
[Link]:IsDescendantOf(targetChar) then
print("Valid target confirmed:", [Link])
if tick() - lastShot >= [Link] then
if specialGames[[Link]] then
local tool =
[Link]:FindFirstChildOfClass("Tool")
if tool then
pcall(function()
tool:Activate()
print("Special game tool activated")
end)
else
print("Special game: No tool found")
end
else
doShoot()
end
lastShot = tick()
end
else
print("Predicted raycast failed or not descendant of target")
end
else
print("Target not an enemy")
end
else
print("No raycast hit")
end
end)
if not success then
warn("Error in triggerbot: " .. tostring(err))
end

if [Link] then
for _, v in pairs(Players:GetPlayers()) do
if v ~= player then
pcall(function()
local hrp = [Link] and
[Link]:FindFirstChild("HumanoidRootPart")
if hrp then
[Link] = [Link]([Link],
[Link], [Link])
[Link] = [Link]
[Link] = [Link]("Really black")
[Link] = [Link]
[Link] = false
end
end)
end
end
else
for _, v in pairs(Players:GetPlayers()) do
if v ~= player then
pcall(function()
local hrp = [Link] and
[Link]:FindFirstChild("HumanoidRootPart")
if hrp then
[Link] = [Link](2, 2, 1)
[Link] = 1
[Link] = [Link]("Medium stone grey")
[Link] = [Link]
[Link] = false
end
end)
end
end
end
end)

You might also like