-- Objects
plr = [Link]
ControlGui = [Link]("ScreenGui")
Frame = [Link]("Frame")
TextButton = [Link]("TextButton")
TextBox = [Link]("TextBox")
-- Properties
[Link] = "ControlGui"
[Link] = [Link]
[Link] = ControlGui
Frame.BackgroundColor3 = [Link](1, 1, 1)
[Link] = [Link](0, 300, 0, 200)
[Link] = [Link](0, 300, 0, 150)
[Link] = true
[Link] = true
[Link] = Frame
TextButton.BackgroundColor3 = [Link](1, 1, 1)
[Link] = [Link](0, 50, 0, 90)
[Link] = [Link](0, 200, 0, 50)
[Link] = [Link]
[Link] = [Link].Size32
[Link] = "Control"
[Link] = 30
TextButton.MouseButton1Down:connect(function()
if [Link] == "Control" then
[Link] = "UnControl"
workspace[[Link]].[Link] = true
W1 = [Link]("Weld",workspace)
[Link] = "Weld1"
W1.Part0 = [Link]
W1.Part1 = workspace[[Link]].Torso
W2 = [Link]("Weld",workspace)
[Link] = "Weld2"
W2.Part0 = [Link]
W2.Part1 = workspace[[Link]].Head
W3 = [Link]("Weld",workspace)
[Link] = "Weld3"
W3.Part0 = [Link]
W3.Part1 = workspace[[Link]].HumanoidRootPart
W4 = [Link]("Weld",workspace)
[Link] = "Weld4"
W4.Part0 = [Link]["Left Arm"]
W4.Part1 = workspace[[Link]]["Left Arm"]
W5 = [Link]("Weld",workspace)
[Link] = "Weld5"
W5.Part0 = [Link]["Left Leg"]
W5.Part1 = workspace[[Link]]["Left Leg"]
W6 = [Link]("Weld",workspace)
[Link] = "Weld6"
W6.Part0 = [Link]["Right Arm"]
W6.Part1 = workspace[[Link]]["Right Arm"]
W7 = [Link]("Weld",workspace)
[Link] = "Weld7"
W7.Part0 = [Link]["Right Leg"]
W7.Part1 = workspace[[Link]]["Right Leg"]
for i,v in pairs([Link]:GetChildren()) do
if [Link] == "Part" then
[Link] = 1
end
[Link] = 1
if [Link] == "Accessory" then
[Link] = 1
end
[Link] = "NoOcclusion"
end
elseif [Link] == "UnControl" then
[Link] = "Control"
workspace[[Link]].[Link] = false
workspace.Weld1:Remove()
workspace.Weld2:Remove()
workspace.Weld3:Remove()
workspace.Weld4:Remove()
workspace.Weld5:Remove()
workspace.Weld6:Remove()
workspace.Weld7:Remove()
for i,v in pairs([Link]:GetChildren()) do
if [Link] == "Part" then
[Link] = 0
end
[Link] = 1
if [Link] == "Accessory" then
[Link] = 0
end
[Link] = "OccludeAll"
end
end
end)
[Link] = Frame
TextBox.BackgroundColor3 = [Link](1, 1, 1)
[Link] = [Link](0, 50, 0, 20)
[Link] = [Link](0, 200, 0, 30)
[Link] = [Link]
[Link] = [Link].Size28
[Link] = "Name"
[Link] = 25