Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---MrFoofty: If some parts modeled isnt anchored it has a unanchor script so ill make a remove for that
- ---if there is a bug send me a message
- local UnAnchoGUI = Instance.new("ScreenGui")
- local GUI = Instance.new("Frame")
- local NotAnchor = Instance.new("TextButton")
- local Anchor = Instance.new("TextButton")
- local Title = Instance.new("TextLabel")
- UnAnchoGUI.Name = "UnAncho GUI"
- UnAnchoGUI.Parent = game.CoreGui
- GUI.Name = "GUI"
- GUI.Parent = UnAnchoGUI
- GUI.BackgroundColor3 = Color3.new(0, 0, 0)
- GUI.BackgroundTransparency = 0.40000000596046
- GUI.BorderSizePixel = 0
- GUI.Position = UDim2.new(0, 0, 0.37931034, 0)
- GUI.Size = UDim2.new(0, 217, 0, 230)
- NotAnchor.Name = "NotAnchor"
- NotAnchor.Parent = GUI
- NotAnchor.BackgroundColor3 = Color3.new(0.235294, 0.137255, 1)
- NotAnchor.Position = UDim2.new(0, 0, 0.313043445, 0)
- NotAnchor.Size = UDim2.new(0, 104, 0, 50)
- NotAnchor.Font = Enum.Font.SourceSansLight
- NotAnchor.Text = "UnAnchor All"
- NotAnchor.TextColor3 = Color3.new(0, 0.0117647, 0.207843)
- NotAnchor.TextScaled = true
- NotAnchor.TextSize = 14
- NotAnchor.TextWrapped = true
- Anchor.Name = "Anchor"
- Anchor.Parent = GUI
- Anchor.BackgroundColor3 = Color3.new(0.235294, 0.137255, 1)
- Anchor.Position = UDim2.new(0.52073735, 0, 0.313043445, 0)
- Anchor.Size = UDim2.new(0, 104, 0, 50)
- Anchor.Font = Enum.Font.SourceSansLight
- Anchor.Text = "Anchor all"
- Anchor.TextColor3 = Color3.new(0, 0.0117647, 0.207843)
- Anchor.TextScaled = true
- Anchor.TextSize = 14
- Anchor.TextWrapped = true
- Title.Name = "Title"
- Title.Parent = GUI
- Title.BackgroundColor3 = Color3.new(1, 1, 1)
- Title.BackgroundTransparency = 1
- Title.Position = UDim2.new(0.0391705073, 0, 0, 0)
- Title.Size = UDim2.new(0, 200, 0, 50)
- Title.Font = Enum.Font.ArialBold
- Title.Text = "UnAnchor GUI"
- Title.TextColor3 = Color3.new(0.0235294, 0.0588235, 0.207843)
- Title.TextScaled = true
- Title.TextSize = 14
- Title.TextWrapped = true
- Anchor.MouseButton1Click:connect(function()
- mytable = game.Workspace:GetChildren()
- for i, v in pairs(mytable) do
- if v.ClassName == 'Part' then
- v.Anchored = true
- end
- end
- end)
- NotAnchor.MouseButton1Click:connect(function()
- mytable = game.Workspace:GetChildren()
- for i, v in pairs(mytable) do
- if v.ClassName == 'Part' then
- v.Anchored = false
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement