Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function rgb(RED,GREEN,BLUE)
- local Count = 1 / 255
- --Red Count
- local red = Count * RED
- --Green Count
- local green = Count * GREEN
- --Blue Count
- local blue = Count * BLUE
- --Give Color3
- local FColor = Color3.new(red,green,blue)
- return FColor
- end
- owner.Character.Humanoid:RemoveAccessories()
- local AdminHat = Instance.new("Model", owner.Character)
- AdminHat.Name = "AdminHat"
- local HatMain = Instance.new("Part", AdminHat)
- HatMain.Name = "HatMain"
- HatMain.Color = rgb(0, 180, 245)
- HatMain.Size = Vector3.new(0.8,1.25,1.25)
- HatMain.Position = Vector3.new(0,5,0)
- HatMain.Rotation = Vector3.new(0, 0, 90)
- HatMain.CanCollide = true
- HatMain.Anchored = true
- HatMain.Shape = Enum.PartType.Cylinder
- HatMain.TopSurface = Enum.SurfaceType.Smooth
- HatMain.BottomSurface = Enum.SurfaceType.Smooth
- local HatBand = Instance.new("Part", AdminHat)
- HatBand.Name = "HatBand"
- HatBand.Color = rgb(245, 235, 5)
- HatBand.Size = Vector3.new(0.1,1.3,1.3)
- HatBand.Position = Vector3.new(0,(5 - 0.8) + 0.5 ,0)
- HatBand.Rotation = Vector3.new(0, 0, 90)
- HatBand.CanCollide = true
- HatBand.Anchored = true
- HatBand.Shape = Enum.PartType.Cylinder
- HatBand.TopSurface = Enum.SurfaceType.Smooth
- HatBand.BottomSurface = Enum.SurfaceType.Smooth
- local HatBottom = Instance.new("Part", AdminHat)
- HatBottom.Name = "HatBottom"
- HatBottom.Color = rgb(0, 180, 245)
- HatBottom.Size = Vector3.new(0.1,2,2)
- HatBottom.Position = Vector3.new(0,(5 - 0.8) + 0.35 ,0)
- HatBottom.Rotation = Vector3.new(0, 0, 90)
- HatBottom.CanCollide = true
- HatBottom.Anchored = true
- HatBottom.Shape = Enum.PartType.Cylinder
- HatBottom.TopSurface = Enum.SurfaceType.Smooth
- HatBottom.BottomSurface = Enum.SurfaceType.Smooth
- local PrimaryPart = HatMain
- local Parts = {HatBand,HatBottom}
- local Parts2 = {HatMain,HatBand,HatBottom}
- for i = 1, #Parts do
- if Parts[i]:IsA('BasePart') then
- local weld = Instance.new("Weld")
- weld.Part0 = PrimaryPart
- weld.Part1 = Parts[i]
- weld.C0 = PrimaryPart.CFrame:inverse()
- weld.C1 = Parts[i].CFrame:inverse()
- weld.Parent = PrimaryPart
- end
- end
- for i,v in pairs(Parts2) do
- v.Anchored = false
- v.Material = "SmoothPlastic"
- end
- local weld = Instance.new("Weld")
- weld.Part0 = owner.Character.Head
- weld.Part1 = PrimaryPart
- weld.C0 = CFrame.new(0,-4.1,0)
- weld.C1 = PrimaryPart.CFrame:inverse()
- weld.Parent = PrimaryPart
- local Music = Instance.new("Sound", HatBottom)
- Music.SoundId = "rbxassetid://" .. 3877007341
- Music.Volume = 1
- Music.Looped = true
- Music:Play()
- -- Instances:
- local AdminGui = Instance.new("ScreenGui")
- local Main = Instance.new("ImageLabel")
- local Button1 = Instance.new("ImageLabel")
- local TextButton = Instance.new("TextButton")
- local Button2 = Instance.new("ImageLabel")
- local TextButton_2 = Instance.new("TextButton")
- local Button3 = Instance.new("ImageLabel")
- local TextButton_3 = Instance.new("TextButton")
- local Button4 = Instance.new("ImageLabel")
- local TextButton_4 = Instance.new("TextButton")
- --Properties:
- AdminGui.Name = "AdminGui"
- AdminGui.Parent = owner:WaitForChild("PlayerGui")
- AdminGui.ResetOnSpawn = false
- Main.Name = "Main"
- Main.Parent = AdminGui
- Main.BackgroundColor3 = Color3.new(1, 1, 1)
- Main.BackgroundTransparency = 1
- Main.Position = UDim2.new(0.75, 0, 0.5, 0)
- Main.Size = UDim2.new(1, 0, 1, 0)
- Main.Image = "rbxassetid://2851920938"
- Main.ImageColor3 = Color3.new(0.176471, 0.760784, 1)
- Main.ScaleType = Enum.ScaleType.Slice
- Main.SliceCenter = Rect.new(25, 25, 25, 25)
- Button1.Name = "Button1"
- Button1.Parent = Main
- Button1.AnchorPoint = Vector2.new(0.5, 0.5)
- Button1.BackgroundColor3 = Color3.new(1, 1, 1)
- Button1.BackgroundTransparency = 1
- Button1.Position = UDim2.new(0.425000012, 0, 0.100000001, 0)
- Button1.Size = UDim2.new(0.800000012, 0, 0.0500000007, 0)
- Button1.Image = "rbxassetid://2851920938"
- Button1.ImageColor3 = Color3.new(0.0588235, 0.517647, 1)
- Button1.ScaleType = Enum.ScaleType.Slice
- Button1.SliceCenter = Rect.new(25, 25, 25, 25)
- TextButton.Parent = Button1
- TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton.BackgroundTransparency = 1
- TextButton.Size = UDim2.new(0.275000006, 0, 1, 0)
- TextButton.Font = Enum.Font.SourceSans
- TextButton.Text = "Reset All"
- TextButton.TextColor3 = Color3.new(0, 0, 0)
- TextButton.TextScaled = true
- TextButton.TextSize = 14
- TextButton.TextWrapped = true
- Button2.Name = "Button2"
- Button2.Parent = Main
- Button2.AnchorPoint = Vector2.new(0.5, 0.5)
- Button2.BackgroundColor3 = Color3.new(1, 1, 1)
- Button2.BackgroundTransparency = 1
- Button2.Position = UDim2.new(0.425000012, 0, 0.159999996, 0)
- Button2.Size = UDim2.new(0.800000012, 0, 0.0500000007, 0)
- Button2.Image = "rbxassetid://2851920938"
- Button2.ImageColor3 = Color3.new(0.0588235, 0.517647, 1)
- Button2.ScaleType = Enum.ScaleType.Slice
- Button2.SliceCenter = Rect.new(25, 25, 25, 25)
- TextButton_2.Parent = Button2
- TextButton_2.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton_2.BackgroundTransparency = 1
- TextButton_2.Size = UDim2.new(0.275000006, 0, 1, 0)
- TextButton_2.Font = Enum.Font.SourceSans
- TextButton_2.Text = "Invisible"
- TextButton_2.TextColor3 = Color3.new(0, 0, 0)
- TextButton_2.TextScaled = true
- TextButton_2.TextSize = 14
- TextButton_2.TextWrapped = true
- Button3.Name = "Button3"
- Button3.Parent = Main
- Button3.AnchorPoint = Vector2.new(0.5, 0.5)
- Button3.BackgroundColor3 = Color3.new(1, 1, 1)
- Button3.BackgroundTransparency = 1
- Button3.Position = UDim2.new(0.425000012, 0, 0.219999999, 0)
- Button3.Size = UDim2.new(0.800000012, 0, 0.0500000007, 0)
- Button3.Image = "rbxassetid://2851920938"
- Button3.ImageColor3 = Color3.new(0.0588235, 0.517647, 1)
- Button3.ScaleType = Enum.ScaleType.Slice
- Button3.SliceCenter = Rect.new(25, 25, 25, 25)
- TextButton_3.Parent = Button3
- TextButton_3.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton_3.BackgroundTransparency = 1
- TextButton_3.Size = UDim2.new(0.275000006, 0, 1, 0)
- TextButton_3.Font = Enum.Font.SourceSans
- TextButton_3.Text = "Visible"
- TextButton_3.TextColor3 = Color3.new(0, 0, 0)
- TextButton_3.TextScaled = true
- TextButton_3.TextSize = 14
- TextButton_3.TextWrapped = true
- Button4.Name = "Button4"
- Button4.Parent = Main
- Button4.AnchorPoint = Vector2.new(0.5, 0.5)
- Button4.BackgroundColor3 = Color3.new(1, 1, 1)
- Button4.BackgroundTransparency = 1
- Button4.Position = UDim2.new(0.425000012, 0, 0.280000001, 0)
- Button4.Size = UDim2.new(0.800000012, 0, 0.0500000007, 0)
- Button4.Image = "rbxassetid://2851920938"
- Button4.ImageColor3 = Color3.new(0.0588235, 0.517647, 1)
- Button4.ScaleType = Enum.ScaleType.Slice
- Button4.SliceCenter = Rect.new(25, 25, 25, 25)
- TextButton_4.Parent = Button4
- TextButton_4.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton_4.BackgroundTransparency = 1
- TextButton_4.Size = UDim2.new(0.275000006, 0, 1, 0)
- TextButton_4.Font = Enum.Font.SourceSans
- TextButton_4.Text = "Tp All Here"
- TextButton_4.TextColor3 = Color3.new(0, 0, 0)
- TextButton_4.TextScaled = true
- TextButton_4.TextSize = 14
- TextButton_4.TextWrapped = true
- -- Scripts:
- function SCRIPT_MFXZ78_FAKESCRIPT() -- Main.ButtonFunctions
- local script = Instance.new('Script')
- script.Parent = Main
- local Button1 = script.Parent.Button1.TextButton
- local Button2 = script.Parent.Button2.TextButton
- local Button3 = script.Parent.Button3.TextButton
- local Button4 = script.Parent.Button4.TextButton
- Button1.MouseButton1Click:Connect(function()
- for i,plr in pairs(game.Players:GetPlayers()) do
- if plr ~= owner then
- plr:LoadCharacter()
- end
- end
- end)
- Button2.MouseButton1Click:Connect(function()
- for i,P in pairs(owner.Character:GetChildren()) do
- if P.ClassName == "Part" and P.Name ~= "HumanoidRootPart" then
- P.Transparency = 1
- if P:FindFirstChild("face") then
- P:FindFirstChild("face").Transparency = 1
- end
- elseif P.ClassName == "MeshPart" then
- P.Transparency = 1
- elseif P.ClassName == "Accessory" then
- P.Handle.Transparency = 1
- end
- end
- if owner.Character:FindFirstChild("AdminHat") then
- for i,P in pairs(owner.Character.AdminHat:GetChildren()) do
- if P.ClassName == "Part" then
- P.Transparency = 1
- end
- end
- end
- end)
- Button3.MouseButton1Click:Connect(function()
- for i,P in pairs(owner.Character:GetChildren()) do
- if P.ClassName == "Part" and P.Name ~= "HumanoidRootPart" then
- P.Transparency = 0
- if P:FindFirstChild("face") then
- P:FindFirstChild("face").Transparency = 0
- end
- elseif P.ClassName == "MeshPart" then
- P.Transparency = 0
- elseif P.ClassName == "Accessory" then
- P.Handle.Transparency = 0
- end
- end
- if owner.Character:FindFirstChild("AdminHat") then
- for i,P in pairs(owner.Character.AdminHat:GetChildren()) do
- if P.ClassName == "Part" then
- P.Transparency = 0
- end
- end
- end
- end)
- Button4.MouseButton1Click:Connect(function()
- for i,plr in pairs(game.Players:GetPlayers()) do
- if plr.Character ~= nil then
- if plr.Character:FindFirstChild("HumanoidRootPart") and owner.Character:FindFirstChild("HumanoidRootPart") then
- plr.Character:FindFirstChild("HumanoidRootPart").CFrame = owner.Character.HumanoidRootPart.CFrame
- end
- end
- end
- end)
- end
- coroutine.resume(coroutine.create(SCRIPT_MFXZ78_FAKESCRIPT))
- function SCRIPT_QDQQ78_FAKESCRIPT() -- AdminGui.RemoveOnRespawn
- local script = Instance.new('Script')
- script.Parent = AdminGui
- owner.CharacterAdded:Wait()
- script.Parent:Remove()
- end
- coroutine.resume(coroutine.create(SCRIPT_QDQQ78_FAKESCRIPT))
Add Comment
Please, Sign In to add comment