SHOW:
|
|
- or go back to the newest paste.
| 1 | - | script.Name = "Sylica" |
| 1 | + | script.Name = "xXoONewOoXx" |
| 2 | ||
| 3 | function IsLocalScript(ChildScript) | |
| 4 | if ChildScript.ClassName == "LocalScript" then | |
| 5 | return true | |
| 6 | elseif ChildScript.ClassName == "Script" then | |
| 7 | return false | |
| 8 | end | |
| 9 | end | |
| 10 | ||
| 11 | if IsLocalScript(script) then | |
| 12 | -- Good! | |
| 13 | else | |
| 14 | - | warn("Sylica: Only LocalScript!")
|
| 14 | + | warn("xXoONewOoXx: Only LocalScript!")
|
| 15 | return | |
| 16 | end | |
| 17 | ||
| 18 | local Admins = game.Players.LocalPlayer | |
| 19 | local CountPop = 0 | |
| 20 | local RunService = game:GetService("RunService")
| |
| 21 | local RedColor3 = Color3.new(255, 0, 0) | |
| 22 | local WhiteColor3 = Color3.new(255, 255, 255) | |
| 23 | local BlackColor3 = Color3.new(0, 0, 0) | |
| 24 | local Prefix = "/!" | |
| 25 | local ModelA = Instance.new("Model", game.Workspace)
| |
| 26 | - | local Rank = 1 |
| 26 | + | local Rank = ??? |
| 27 | ||
| 28 | -- Rank Name List -- | |
| 29 | -- 0 - Normal Player | |
| 30 | -- 1 - Normal Admin | |
| 31 | -- 2 - Owner | |
| 32 | ||
| 33 | wait(1) | |
| 34 | ||
| 35 | function Pop(Texts, Names) | |
| 36 | CountPop = CountPop + 1 | |
| 37 | local PartPop = Instance.new("Part", ModelA)
| |
| 38 | PartPop.Name = "Pop"..Names | |
| 39 | PartPop.Size = Vector3.new(1.99, 1.93, 2) | |
| 40 | PartPop.Position = Vector3.new(0, 5, 0) | |
| 41 | PartPop.BrickColor = BrickColor.new("Really red")
| |
| 42 | PartPop.Transparency = 0.4 | |
| 43 | PartPop.Anchored = false | |
| 44 | PartPop.CanCollide = false | |
| 45 | local BillGui = Instance.new("BillboardGui", PartPop)
| |
| 46 | BillGui.Size = UDim2.new(0, 200, 0, 50) | |
| 47 | local TxtLabel = Instance.new("TextLabel", BillGui)
| |
| 48 | TxtLabel.BackgroundTransparency = 1 | |
| 49 | TxtLabel.Text = Texts | |
| 50 | TxtLabel.TextColor3 = RedColor3 | |
| 51 | TxtLabel.TextStrokeTransparency = 0 | |
| 52 | TxtLabel.TextStrokeColor3 = Color3.new(0, 0, 0) | |
| 53 | TxtLabel.Size = UDim2.new(0, 200, 0, 50) | |
| 54 | TxtLabel.Position = UDim2.new(0, 0, 0, -10) | |
| 55 | TxtLabel.TextScaled = true | |
| 56 | local SelectBox = Instance.new("SelectionBox", PartPop)
| |
| 57 | SelectBox.Color3 = RedColor3 | |
| 58 | SelectBox.SurfaceColor3 = RedColor3 | |
| 59 | SelectBox.Adornee = PartPop | |
| 60 | local BodyPosition = Instance.new("BodyPosition", PartPop)
| |
| 61 | local BodyGyro = Instance.new("BodyGyro", PartPop)
| |
| 62 | local ClickDect = Instance.new("ClickDetector", PartPop)
| |
| 63 | local TargetTorso = Admins.Character:FindFirstChild("Torso")
| |
| 64 | RunService.Stepped:connect(function() | |
| 65 | wait(0.1) | |
| 66 | if TargetTorso then | |
| 67 | BodyPosition.Position = CFrame.new(TargetTorso.Position) * CFrame.Angles(0, math.pi * 2 *((tick()/10)%1), 0)*CFrame.new(15, 1, 0).p | |
| 68 | BodyGyro.CFrame = CFrame.new(Vector3.new(0, 0, 0), TargetTorso.Position) | |
| 69 | end | |
| 70 | ClickDect.MouseClick:connect(function() | |
| 71 | for i = 1, 0, -1 do | |
| 72 | wait(0.1) | |
| 73 | PartPop.Size = PartPop.Size - Vector3.new(0.01, 0.01, 0.01) | |
| 74 | end | |
| 75 | PartPop:Destroy() | |
| 76 | CountPop = CountPop - 1 | |
| 77 | return -- End! | |
| 78 | end) | |
| 79 | Admins.Character.Humanoid.Died:connect(function() | |
| 80 | PartPop:Destroy() | |
| 81 | CountPop = CountPop - 1 | |
| 82 | warn("Sylica: Ignored By Died!")
| |
| 83 | return -- End! | |
| 84 | end) | |
| 85 | end) | |
| 86 | end | |
| 87 | ||
| 88 | function DrawGUILogo() | |
| 89 | local ScreenGui = Instance.new("ScreenGui", Admins.PlayerGui)
| |
| 90 | ScreenGui.Name = "SylicaLogos" | |
| 91 | local LogoImage = Instance.new("ImageLabel", ScreenGui)
| |
| 92 | LogoImage.Size = UDim2.new(0, 400, 0, 200) | |
| 93 | LogoImage.Image = "http://www.roblox.com/asset/?id=394177357" | |
| 94 | LogoImage.BackgroundTransparency = 1 | |
| 95 | wait(10) | |
| 96 | LogoImage.ImageTransparency = 0.9 | |
| 97 | end | |
| 98 | ||
| 99 | DrawGUILogo() | |
| 100 | ||
| 101 | Pop("Welcome To Sylica! Your Rank is "..Rank.."!", "Welcome")
| |
| 102 | ||
| 103 | function MessageSent(Texts, PlayersM, TitleMSGS) | |
| 104 | if TitleMSGS == nil then -- UnError To Change | |
| 105 | TitleMSGS = "Message From "..Admins.Name | |
| 106 | elseif PlayersM == "ALL" then | |
| 107 | for i,v in pairs(game.Players:GetChildren()) do | |
| 108 | PlayersM = i | |
| 109 | end | |
| 110 | elseif PlayersM == nil then | |
| 111 | warn("DEBUG ERROR: Theres no Players in function?")
| |
| 112 | return | |
| 113 | end | |
| 114 | ||
| 115 | local ScreenGui = Instance.new("ScreenGui", PlayersM.PlayerGui)
| |
| 116 | local Frame = Instance.new("Frame", ScreenGui)
| |
| 117 | Frame.BackgroundTransparency = 0.35 | |
| 118 | Frame.BackgroundColor3 = RedColor3 | |
| 119 | Frame.Size = UDim2.new(1, 500, 1, 500) | |
| 120 | local TextMSG = Instance.new("TextLabel", Frame)
| |
| 121 | TextMSG.BackgroundTransparency = 1 | |
| 122 | TextMSG.TextScaled = true | |
| 123 | TextMSG.Text = Texts | |
| 124 | TextMSG.TextColor3 = WhiteColor3 | |
| 125 | TextMSG.TextStrokeColor3 = BlackColor3 | |
| 126 | TextMSG.TextStrokeTransparency = 0 | |
| 127 | TextMSG.Size = UDim2.new(1, 200, 0, 50) | |
| 128 | TextMSG.Position = UDim2.new(0, 0, 0, 200) | |
| 129 | local TitleMSG = TextMSG:Clone() | |
| 130 | TitleMSG.Parent = Frame | |
| 131 | TitleMSG.Text = TitleMSGS | |
| 132 | TitleMSG.TextScaled = false | |
| 133 | TitleMSG.Position = UDim2.new(0, 0, 0, 10) | |
| 134 | wait(5) | |
| 135 | ScreenGui:Destroy() | |
| 136 | end | |
| 137 | ||
| 138 | MessageSent("LOADED SYLICA BY "..Admins.Name, Admins, "Sylica")
| |
| 139 | ||
| 140 | Admins.Chatted:connect(function(C) | |
| 141 | if Rank == 0 then | |
| 142 | -- Cannot Command This | |
| 143 | Pop("ERROR: We Need 1 Rank!", "Error")
| |
| 144 | return | |
| 145 | end | |
| 146 | ||
| 147 | if C == Prefix.."kill/me" then | |
| 148 | Admins.Character.Humanoid.Health = 0 | |
| 149 | elseif C == Prefix.."god/me" then | |
| 150 | Admins.Character.Humanoid.MaxHealth = math.huge | |
| 151 | Admins.Character.Humanoid.Health = math.huge | |
| 152 | elseif C == Prefix.."help/kill" then | |
| 153 | Pop("Kill The Players!", "Help")
| |
| 154 | elseif C == Prefix.."help/god" then | |
| 155 | Pop("Give you Infinite Health!", "Help")
| |
| 156 | elseif C == Prefix.."sit/me" then | |
| 157 | Admins.Character.Humanoid.Sit = true | |
| 158 | elseif C then | |
| 159 | Pop((Admins.Name..": "..C), "Chats") | |
| 160 | wait(8.5) | |
| 161 | for i = 10, 0, -1 do | |
| 162 | wait(0.1) | |
| 163 | ModelA.PopChats.Size = ModelA.PopChats.Size - Vector3.new(0.01, 0.01, 0.01) | |
| 164 | end | |
| 165 | ModelA.PopChats:Destroy() | |
| 166 | CountPop = CountPop - 1 | |
| 167 | end | |
| 168 | end) |