Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local nilvalue = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local TextButton = Instance.new("TextButton")
- local TextButton_2 = Instance.new("TextButton")
- nilvalue.Name = "nilvalue"
- nilvalue.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- nilvalue.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- nilvalue.ResetOnSpawn = false
- Frame.Parent = nilvalue
- Frame.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame.BackgroundTransparency = 1
- Frame.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- Frame.Size = UDim2.new(0.154559508, 0, 0.131752312, 0)
- TextButton.Parent = Frame
- TextButton.BackgroundColor3 = Color3.new(0.784314, 0.784314, 0.784314)
- TextButton.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- TextButton.BorderSizePixel = 5
- TextButton.Position = UDim2.new(4.83380604, 0, 4.91989517, 0)
- TextButton.Size = UDim2.new(0.590000033, 0, 0.715593398, 0)
- TextButton.Font = Enum.Font.SciFi
- TextButton.Text = "Freeze Anims and Anchor is disabled"
- TextButton.TextColor3 = Color3.new(0, 0, 0)
- TextButton.TextScaled = true
- TextButton.TextSize = 25
- TextButton.TextWrapped = true
- TextButton_2.Parent = Frame
- TextButton_2.BackgroundColor3 = Color3.new(0.784314, 0.784314, 0.784314)
- TextButton_2.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- TextButton_2.BorderSizePixel = 5
- TextButton_2.Position = UDim2.new(4.83380604, 0, 5.79671812, 0)
- TextButton_2.Size = UDim2.new(0.590000033, 0, 0.715593398, 0)
- TextButton_2.Font = Enum.Font.SciFi
- TextButton_2.Text = "Unanchored"
- TextButton_2.TextColor3 = Color3.new(0, 0, 0)
- TextButton_2.TextScaled = true
- TextButton_2.TextSize = 25
- TextButton_2.TextWrapped = true
- -- Scripts
- local function RRVJENG_fake_script() -- TextButton.LocalScript
- local script = Instance.new('LocalScript', TextButton)
- script.Parent.Activated:Connect(function()
- if script.Parent.Text == "Freeze Anims and Anchor is enabled" then
- script.Parent.Text = "Freeze Anims and Anchor is disabled"
- for i, v in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
- if v:IsA("BasePart") or v:IsA("MeshPart") then
- v.Anchored = false
- end
- end
- else
- script.Parent.Text = "Freeze Anims and Anchor is enabled"
- for i, v in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
- if v:IsA("BasePart") or v:IsA("MeshPart") then
- v.Anchored = true
- end
- end
- end
- end)
- end
- coroutine.wrap(RRVJENG_fake_script)()
- local function AAIOGIJ_fake_script() -- TextButton_2.LocalScript
- local script = Instance.new('LocalScript', TextButton_2)
- script.Parent.Activated:Connect(function()
- if script.Parent.Text == "Anchored" then
- script.Parent.Text = "Unanchored"
- game.Players.LocalPlayer.Character.HumanoidRootPart.Anchored = false
- else
- script.Parent.Text = "Anchored"
- game.Players.LocalPlayer.Character.HumanoidRootPart.Anchored = true
- end
- end)
- end
- coroutine.wrap(AAIOGIJ_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement