0% found this document useful (0 votes)
139 views2 pages

Delta R6 & R15 Accessory Loader Script

This document is a Lua script for Roblox that allows players to load multiple accessories onto their character without collision. It includes functionality for notifications, accessory management, and automatic application upon character respawn. The script is designed by Vanels07 and supports configuration of accessory IDs for various slots.

Uploaded by

arlindelsa14
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)
139 views2 pages

Delta R6 & R15 Accessory Loader Script

This document is a Lua script for Roblox that allows players to load multiple accessories onto their character without collision. It includes functionality for notifications, accessory management, and automatic application upon character respawn. The script is designed by Vanels07 and supports configuration of accessory IDs for various slots.

Uploaded by

arlindelsa14
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

-- Delta | R6 & R15 Local Accessories Multi-Slot No Collision (Working)

-- Made by Vanels07
local Players = game:GetService("Players")
local StarterGui = game:GetService("StarterGui")
local player = [Link]

-- Visual Credit Notifications


print("------------------------------")
print("Script made by Vanels07")
print("------------------------------")

StarterGui:SetCore("SendNotification", {
Title = "Accessory Loader",
Text = "Made by Vanels07",
Duration = 5
})

game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage", {
Text = "[SYSTEM]: Script made by Vanels07 loaded successfully.",
Color = [Link](0, 255, 255),
Font = [Link]
})

getgenv().Time = 1 -- Wait time before applying

-- CONFIG: 4 accessory IDs per slot


getgenv().Accessories = {
Head = {"15426249989","00000000","00000000","00000000"},
Face = {"00000000","00000000","00000000","00000000"},
Neck = {"00000000","00000000","00000000","00000000"},
Shoulder = {"00000000","00000000","00000000","00000000"},
Back = {"00000000","00000000","00000000","00000000"},
Waist = {"00000000","00000000","00000000","00000000"}
}

-- Helper to find attachment


local function findAttachment(rootPart, name)
for _, descendant in pairs(rootPart:GetDescendants()) do
if descendant:IsA("Attachment") and [Link] == name then
return descendant
end
end
end

-- Weld the accessory


local function weldParts(part0, part1, c0, c1)
local weld = [Link]("Weld")
weld.Part0 = part0
weld.Part1 = part1
weld.C0 = c0
weld.C1 = c1
[Link] = part0
end

-- Add accessory to character


local function addAccessoryToCharacter(accessoryId, parentPart)
local success, accessory = pcall(function()
return game:GetObjects("rbxassetid://" .. accessoryId)[1]
end)
if not success or not accessory then return end

local character = [Link]


if not character then return end
[Link] = character

local handle = accessory:FindFirstChild("Handle")


if handle then
[Link] = false
[Link] = true

local attachment = handle:FindFirstChildOfClass("Attachment")


if attachment then
local parentAttachment = findAttachment(parentPart, [Link])
if parentAttachment then
weldParts(parentPart, handle, [Link],
[Link])
end
end
end
end

-- Equip all accessories


local function equipAccessories(character)
[Link](getgenv().Time)

for slot, ids in pairs(getgenv().Accessories) do


local parentPart
if slot == "Head" or slot == "Face" then
parentPart = character:FindFirstChild("Head")
elseif slot == "Torso" or slot == "Neck" or slot == "Shoulder" or slot ==
"Back" or slot == "Waist" then
parentPart = character:FindFirstChild("UpperTorso") or
character:FindFirstChild("Torso")
end
if parentPart then
for _, id in pairs(ids) do
if id ~= "00000000" then
addAccessoryToCharacter(id, parentPart)
end
end
end
end
end

-- Apply on respawn
[Link]:Connect(equipAccessories)

-- Apply on current character


if [Link] then
equipAccessories([Link])
end

You might also like