Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- script.Name = "xXoONewOoXx"
- function IsLocalScript(ChildScript)
- if ChildScript.ClassName == "LocalScript" then
- return true
- elseif ChildScript.ClassName == "Script" then
- return false
- end
- end
- if IsLocalScript(script) then
- -- Good!
- else
- warn("xXoONewOoXx: Only LocalScript!")
- return
- end
- local Admins = game.Players.LocalPlayer
- local CountPop = 0
- local RunService = game:GetService("RunService")
- local RedColor3 = Color3.new(255, 0, 0)
- local WhiteColor3 = Color3.new(255, 255, 255)
- local BlackColor3 = Color3.new(0, 0, 0)
- local Prefix = "/!"
- local ModelA = Instance.new("Model", game.Workspace)
- local Rank = ???
- -- Rank Name List --
- -- 0 - Normal Player
- -- 1 - Normal Admin
- -- 2 - Owner
- wait(1)
- function Pop(Texts, Names)
- CountPop = CountPop + 1
- local PartPop = Instance.new("Part", ModelA)
- PartPop.Name = "Pop"..Names
- PartPop.Size = Vector3.new(1.99, 1.93, 2)
- PartPop.Position = Vector3.new(0, 5, 0)
- PartPop.BrickColor = BrickColor.new("Really red")
- PartPop.Transparency = 0.4
- PartPop.Anchored = false
- PartPop.CanCollide = false
- local BillGui = Instance.new("BillboardGui", PartPop)
- BillGui.Size = UDim2.new(0, 200, 0, 50)
- local TxtLabel = Instance.new("TextLabel", BillGui)
- TxtLabel.BackgroundTransparency = 1
- TxtLabel.Text = Texts
- TxtLabel.TextColor3 = RedColor3
- TxtLabel.TextStrokeTransparency = 0
- TxtLabel.TextStrokeColor3 = Color3.new(0, 0, 0)
- TxtLabel.Size = UDim2.new(0, 200, 0, 50)
- TxtLabel.Position = UDim2.new(0, 0, 0, -10)
- TxtLabel.TextScaled = true
- local SelectBox = Instance.new("SelectionBox", PartPop)
- SelectBox.Color3 = RedColor3
- SelectBox.SurfaceColor3 = RedColor3
- SelectBox.Adornee = PartPop
- local BodyPosition = Instance.new("BodyPosition", PartPop)
- local BodyGyro = Instance.new("BodyGyro", PartPop)
- local ClickDect = Instance.new("ClickDetector", PartPop)
- local TargetTorso = Admins.Character:FindFirstChild("Torso")
- RunService.Stepped:connect(function()
- wait(0.1)
- if TargetTorso then
- BodyPosition.Position = CFrame.new(TargetTorso.Position) * CFrame.Angles(0, math.pi * 2 *((tick()/10)%1), 0)*CFrame.new(15, 1, 0).p
- BodyGyro.CFrame = CFrame.new(Vector3.new(0, 0, 0), TargetTorso.Position)
- end
- ClickDect.MouseClick:connect(function()
- for i = 1, 0, -1 do
- wait(0.1)
- PartPop.Size = PartPop.Size - Vector3.new(0.01, 0.01, 0.01)
- end
- PartPop:Destroy()
- CountPop = CountPop - 1
- return -- End!
- end)
- Admins.Character.Humanoid.Died:connect(function()
- PartPop:Destroy()
- CountPop = CountPop - 1
- warn("Sylica: Ignored By Died!")
- return -- End!
- end)
- end)
- end
- function DrawGUILogo()
- local ScreenGui = Instance.new("ScreenGui", Admins.PlayerGui)
- ScreenGui.Name = "SylicaLogos"
- local LogoImage = Instance.new("ImageLabel", ScreenGui)
- LogoImage.Size = UDim2.new(0, 400, 0, 200)
- LogoImage.Image = "http://www.roblox.com/asset/?id=394177357"
- LogoImage.BackgroundTransparency = 1
- wait(10)
- LogoImage.ImageTransparency = 0.9
- end
- DrawGUILogo()
- Pop("Welcome To Sylica! Your Rank is "..Rank.."!", "Welcome")
- function MessageSent(Texts, PlayersM, TitleMSGS)
- if TitleMSGS == nil then -- UnError To Change
- TitleMSGS = "Message From "..Admins.Name
- elseif PlayersM == "ALL" then
- for i,v in pairs(game.Players:GetChildren()) do
- PlayersM = i
- end
- elseif PlayersM == nil then
- warn("DEBUG ERROR: Theres no Players in function?")
- return
- end
- local ScreenGui = Instance.new("ScreenGui", PlayersM.PlayerGui)
- local Frame = Instance.new("Frame", ScreenGui)
- Frame.BackgroundTransparency = 0.35
- Frame.BackgroundColor3 = RedColor3
- Frame.Size = UDim2.new(1, 500, 1, 500)
- local TextMSG = Instance.new("TextLabel", Frame)
- TextMSG.BackgroundTransparency = 1
- TextMSG.TextScaled = true
- TextMSG.Text = Texts
- TextMSG.TextColor3 = WhiteColor3
- TextMSG.TextStrokeColor3 = BlackColor3
- TextMSG.TextStrokeTransparency = 0
- TextMSG.Size = UDim2.new(1, 200, 0, 50)
- TextMSG.Position = UDim2.new(0, 0, 0, 200)
- local TitleMSG = TextMSG:Clone()
- TitleMSG.Parent = Frame
- TitleMSG.Text = TitleMSGS
- TitleMSG.TextScaled = false
- TitleMSG.Position = UDim2.new(0, 0, 0, 10)
- wait(5)
- ScreenGui:Destroy()
- end
- MessageSent("LOADED SYLICA BY "..Admins.Name, Admins, "Sylica")
- Admins.Chatted:connect(function(C)
- if Rank == 0 then
- -- Cannot Command This
- Pop("ERROR: We Need 1 Rank!", "Error")
- return
- end
- if C == Prefix.."kill/me" then
- Admins.Character.Humanoid.Health = 0
- elseif C == Prefix.."god/me" then
- Admins.Character.Humanoid.MaxHealth = math.huge
- Admins.Character.Humanoid.Health = math.huge
- elseif C == Prefix.."help/kill" then
- Pop("Kill The Players!", "Help")
- elseif C == Prefix.."help/god" then
- Pop("Give you Infinite Health!", "Help")
- elseif C == Prefix.."sit/me" then
- Admins.Character.Humanoid.Sit = true
- elseif C then
- Pop((Admins.Name..": "..C), "Chats")
- wait(8.5)
- for i = 10, 0, -1 do
- wait(0.1)
- ModelA.PopChats.Size = ModelA.PopChats.Size - Vector3.new(0.01, 0.01, 0.01)
- end
- ModelA.PopChats:Destroy()
- CountPop = CountPop - 1
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement