Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Editing this will result in breaking the script, any questions PM Anacallagon
- make = script.Parent
- head = make:findFirstChild("HeadWeld")
- leftarm = make:findFirstChild("LeftArmWeld")
- rightarm = make:findFirstChild("RightArmWeld")
- leftleg = make:findFirstChild("LeftLegWeld")
- rightleg = make:findFirstChild("RightLegWeld")
- torso = make:findFirstChild("TorsoWeld")
- p = script.Parent.Parent.Parent
- char = p.Character
- names = script.Parent:findFirstChild("Allowance")
- local adminTable = {}
- local adminList = script.Parent.Allowance.Value
- function loadAdminTable()
- for a in string.gmatch(adminList, "[^,]+") do
- adminTable[a:lower()] = true
- end
- end
- loadAdminTable()
- part = script.Parent:FindFirstChild("Activate")
- --touch = false
- --[[if part == nil then
- repeat wait() until char -- waits until player actually exists
- touch.Value = true
- elseif part ~= nil then
- part.Touched:connect(function(hit)
- h = hit.Parent:findFirstChild("Humanoid")
- if h ~= nil then
- touch.Value = true
- end
- end)
- end]]--
- repeat wait() until char
- if (adminTable[p.Name:lower()]) then
- if head ~= nil then
- head2 = head:Clone()
- head2.Parent = p.Character
- weld1 = Instance.new("Weld", head2:findFirstChild("Handle"))
- weld1.Part0 = head2:findFirstChild("Handle")
- weld1.Part1 = p.Character:findFirstChild("Head")
- -- header = head:GetChildren()
- --[[ for c = 1, #header do
- if header[c].ClassName == "Part" then
- header[c].Anchored = false
- header[c].CanCollide = false
- end
- end]]--
- end
- if leftarm ~= nil then
- leftarm2 = leftarm:Clone()
- leftarm2.Parent = p.Character
- weld2 = Instance.new("Weld", leftarm2:findFirstChild("Handle"))
- weld2.Part0 = leftarm2:findFirstChild("Handle")
- weld2.Part1 = p.Character:findFirstChild("Left Arm")
- -- la = leftarm:GetChildren()
- --[[ for c = 1, #la do
- if la[c].ClassName == "Part" then
- la[c].Anchored = false
- la[c].CanCollide = false
- end
- end]]--
- end
- if rightarm ~= nil then
- rightarm2 = rightarm:Clone()
- rightarm2.Parent = p.Character
- weld3 = Instance.new("Weld", rightarm2:findFirstChild("Handle"))
- weld3.Part0 = rightarm2:findFirstChild("Handle")
- weld3.Part1 = p.Character:findFirstChild("Right Arm")
- -- ra = rightarm:GetChildren()
- --[[ for c = 1, #ra do
- if ra[c].ClassName == "Part" then
- ra[c].Anchored = false
- ra[c].CanCollide = false
- end
- end]]--
- end
- if leftleg ~= nil then
- leftleg2 = leftleg:Clone()
- leftleg2.Parent = p.Character
- weld4 = Instance.new("Weld", leftleg2:findFirstChild("Handle"))
- weld4.Part0 = leftleg2:findFirstChild("Handle")
- weld4.Part1 = p.Character:findFirstChild("Left Leg")
- -- ll = rightarm:GetChildren()
- --[[ for c = 1, #ll do
- if ll[c].ClassName == "Part" then
- ll[c].Anchored = false
- ll[c].CanCollide = false
- end
- end]]--
- end
- if rightleg ~= nil then
- rightleg2 = rightleg:Clone()
- rightleg2.Parent = p.Character
- weld5 = Instance.new("Weld", rightleg2:findFirstChild("Handle"))
- weld5.Part0 = rightleg2:findFirstChild("Handle")
- weld5.Part1 = p.Character:findFirstChild("Right Leg")
- -- rl = rightarm:GetChildren()
- --[[ for c = 1, #rl do
- if rl[c].ClassName == "Part" then
- rl[c].Anchored = false
- rl[c].CanCollide = false
- end
- end]]--
- end
- if torso ~= nil then
- torso2 = torso:Clone()
- torso2.Parent = p.Character
- weld6 = Instance.new("Weld", torso2:findFirstChild("Handle"))
- weld6.Part0 = torso2:findFirstChild("Handle")
- weld6.Part1 = p.Character:findFirstChild("Torso")
- -- t = rightarm:GetChildren()
- --[[ for c = 1, #t do
- if t[c].ClassName == "Part" then
- t[c].Anchored = false
- t[c].CanCollide = false
- end
- end--]]
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement