SHOW:
|
|
- or go back to the newest paste.
1 | --Sine Control Panel created by Vaeb 2015 (Server-Script) | |
2 | ||
3 | --Info below is for use in games/studio------------------------------------------------------------------ | |
4 | --For access to Http features you must have HttpEnabled ticked (game.HttpService) | |
5 | --For access to LoadString features you must have LoadStringEnabled ticked (game.ServerScriptService) | |
6 | --------------------------------------------------------------------------------------------------------- | |
7 | ||
8 | ---------------STUFF YOU CAN CHANGE START---------------------------------------------------------------- | |
9 | ||
10 | - | local Owner = "Supervisor_LoL" --Change name if using in an SB (Script Builder) |
10 | + | local Owner = "CallMeSplash3" --Change name if using in an SB (Script Builder) |
11 | ||
12 | local isGame = false --Dont change | |
13 | local isSB = true --Dont change | |
14 | local isTesting = false --Dont change | |
15 | ||
16 | ---------------STUFF YOU CAN CHANGE END------------------------------------------------------------------ | |
17 | ||
18 | local RemoteLink = "http//www.pastebin.com" --Remote scripting url here (Examples: Pastebin, Stypi, Dropbox) | |
19 | local BanLink = "http://pastebin.com/raw/UYs9pf3a" --Ban list url here (Seperate names with a newline) (Examples: Pastebin, Stypi, Dropbox) | |
20 | ||
21 | if isGame then | |
22 | Owner = game.CreatorId | |
23 | elseif isSB then | |
24 | if owner then | |
25 | Owner = owner.Name | |
26 | end | |
27 | end | |
28 | ||
29 | local Plrs = game:GetService("Players") | |
30 | local Light = game:GetService("Lighting") | |
31 | local HServer = game:GetService("HttpService") | |
32 | local Content = game:GetService("ContentProvider") | |
33 | local isClosed = true | |
34 | local LogNum = 1000 | |
35 | local LP; | |
36 | local Version = 5.2 | |
37 | ||
38 | warn("Made by Script_lol Admin gui / Ban List" .. tostring(Version)) | |
39 | ||
40 | local BanPage = "5" | |
41 | local RemotePage = "" | |
42 | local isBan = true | |
43 | local isRemote = false | |
44 | local Banned = {} | |
45 | local checkedData = false | |
46 | local waitTime = 0.5 | |
47 | local waitTimeBan = 2 | |
48 | ||
49 | coroutine.wrap(function() | |
50 | local Ok1, Val1 = pcall(function() return HServer:GetAsync(BanLink, true) end) | |
51 | warn(Ok1, Val1) | |
52 | if Ok1 and Val1 ~= nil and Val1 ~= "" then | |
53 | BanPage = Val1 | |
54 | end | |
55 | ||
56 | local Ok2, Val2 = pcall(function() return HServer:GetAsync(RemoteLink, true) end) | |
57 | if Ok2 and Val2 ~= nil and Val2 ~= "" then | |
58 | RemotePage = Val2 | |
59 | end | |
60 | ||
61 | for Name in BanPage:gmatch("%w+") do | |
62 | Banned[Name] = true | |
63 | end | |
64 | ||
65 | for _,v in pairs(Plrs:GetPlayers()) do | |
66 | if Banned[v.Name] then | |
67 | local Ok, Err = pcall(function() v:Kick() end) | |
68 | if not Ok then | |
69 | pcall(function() Instance.new("RemoteEvent", v):FireClient(v,{[string.rep("a",2e5+5)]="a"}) end) | |
70 | end | |
71 | warn("Ban list is on : " .. v.Name) | |
72 | end | |
73 | end | |
74 | ||
75 | isBan = BanPage ~= "" | |
76 | isRemote = RemotePage ~= "" | |
77 | checkedData = true | |
78 | warn("isBan: " .. tostring(isBan)) | |
79 | warn("isRemote: " .. tostring(isRemote)) | |
80 | end)() | |
81 | ||
82 | local Cons = {} | |
83 | local Logs = {} | |
84 | local GUIs = {} | |
85 | local GuiName = "SinePanel" | |
86 | local MsgStart = "[SINE]" | |
87 | local Commands = {} | |
88 | local Selected = {} | |
89 | local Loopkill = {} | |
90 | local isTweening = false | |
91 | local TweenTime = 0.1 | |
92 | local TweenNum = 10 | |
93 | local Grav = 196.2 | |
94 | ||
95 | local Assets = { | |
96 | Logo = 236168928; | |
97 | Menu = 236119941; | |
98 | Credit = 236170764; | |
99 | Line = 236394542; | |
100 | } | |
101 | ||
102 | local Colours = { | |
103 | {X = 0, Y = 0, Z = 0}; | |
104 | {X = 1, Y = 0, Z = 0}; | |
105 | {X = 1, Y = 1, Z = 0}; | |
106 | {X = 0, Y = 1, Z = 1}; | |
107 | {X = 0, Y = 0, Z = 1}; | |
108 | {X = 0, Y = 1, Z = 0}; | |
109 | } | |
110 | ||
111 | local Properties = { | |
112 | "Name","Parent","ClassName","Text","TextSize","TextColor3","Position","Size","Color","BrickColor","Transparency","BackgroundTransparency","BackgroundColor3","AbsolutePosition","AbsoluteSize","AccountAge","AccountAgeReplicate", | |
113 | "Active","TopSurface","BottomSurface","BackSurface","FrontSurface","LeftSurface","RightSurface","Adornee","AllowAmbientOcclusion","AllowTeamChangeOnTouch","AluminumQuality", | |
114 | "AlwaysOnTop","Ambient","AmbientReverb","Anchored","Angularvelocity","AnimationId", | |
115 | "Archivable","AreHingesDetected","AttachmentForward","AttachmentPoint","AttachmentPos", | |
116 | "AttachmentRight","AttachmentUp","AutoAssignable","AutoButtonColor","AutoColorCharacters", | |
117 | "AvailablePhysicalMemory","Axes","BackgroundColor","BackgroundColor3","BackgroundTransparency", | |
118 | "BaseTextureId","BaseUrl","Bevel","Roundness","BinType","BlastPressure","BlastRadius", | |
119 | "BodyColor","BodyPart","BorderColor","BorderColor3","BorderSizePixel","BrickColor", | |
120 | "Brightness","Browsable","BubbleChat","BubbleChatLifetime","BubbleChatMaxBubbles", | |
121 | "Bulge","Button1DownConnectionCount","Button1UpConnectionCount","Button2DownConnectionCount", | |
122 | "Button2UpConnectionCount","C0","C1","CameraMode","CameraSubject","CameraType", | |
123 | "CanBeDropped","CanCollide","HttpEnabled","CartoonFactor","CastShadows","CelestialBodiesShown", | |
124 | "CFrame","Cframe","Character","CharacterAppearance","CharacterAutoLoads","MouseSensitivity","ChatScrollLength", | |
125 | "ClassicChat","ClassName","ClearTextOnFocus","ClipsDescendants","CollisionSoundEnabled", | |
126 | "CollisionSoundVolume","Color","Bottom","Top","ConstrainedValue","Contro".."llingHumanoid", | |
127 | "ControlMode","ConversationDistance","CoordinateFrame","CorrodedMetalQuality","CPU", | |
128 | "CpuCount","CpuSpeed","CreatorId","CreatorType","CurrentAngle","CurrentCamera", | |
129 | "CycleOffset","D","DataCap","DataComplexity","DataComplexityLimit","DataCost", | |
130 | "DataReady","Deprecated","DeselectedConnectionCount","DesiredAngle","DiamondPlateQuality", | |
131 | "Disabled","DistanceFactor","DistributedGameTime","DopplerScale","Draggable","DraggingV1", | |
132 | "Duration","EditorFont","EditorFontSize","EditorTabWidth","ElapsedTime","Elasticity", | |
133 | "Enabled","ExplosionType","ExtentsOffset","F0","F1","F2","F3","Face","FaceId","Faces", | |
134 | "FieldOfView","Focus","force","FogColor","FogEnd","FogStart","Font","FontSize","Force","FormFactor", | |
135 | "Friction","From","GearGenreSetting","Genre","GeographicLatitude","GfxCard","Graphic", | |
136 | "GrassQuality","Grip","GripForward","GripPos","GripRight","GripUp","Guest","HeadsUpDisplay", | |
137 | "Health","Heat","Hit","Humanoid","IceQuality","Icon","IdleConnectionCount","Image","ImageTransparency","ImageColor3", | |
138 | "InitialPrompt","InOut","InUse","IsPaused","IsPlaying","JobId","Jump","KeyDownConnectionCount", | |
139 | "KeyUpConnectionCount","LeftLeg","LeftRight","LinkedSource","LocalPlayer","Location", | |
140 | "Locked","LODX","LODY","Looped","Material","MaxActivationDistance","MaxCollisionSounds", | |
141 | "MaxExtents","MaxForce","MaxHealth","MaxItems","MaxPlayers","Rotation","MaxSpeed","MaxThrust", | |
142 | "MaxTorque","maxTorque","MaxValue","MaxVelocity","MembershipType","MembershipTypeReplicate","MeshId", | |
143 | "MeshType","MinValue","Modal","MouseButton1ClickConnectionCount","MouseButton1DownConnectionCount", | |
144 | "MouseButton1UpConnectionCount","MouseButton2ClickConnectionCount","MouseButton2DownConnectionCount", | |
145 | "MouseButton2UpConnectionCount","MouseDelta","MouseDragConnectionCount","MouseEnterConnectionCount", | |
146 | "MouseHit","MouseLeaveConnectionCount","MouseLock","MouseMovedConnectionCount","MouseTarget", | |
147 | "MouseTargetFilter","MouseTargetSurface","MoveConnectionCount","MoveState","MultiLine", | |
148 | "NameOcclusion","NetworkOw".."ner","Neutral","NumPlayers","Offset","Opacity","Origin","OsPlatform", | |
149 | "OsVer","OverlayTextureId","P","PantsTemplate","ParamA","ParamB","Parent","Part","Part0", | |
150 | "Part1","Pitch","PixelShaderModel","PlaceId","PlasticQuality","PlatformStand","PlayCount", | |
151 | "PlayerToHideFrom","PlayOnRemove","Point","Port","Position","Preliminary","PrimaryPart", | |
152 | "PrivateWorkingSetBytes","Purpose","RAM","Reflectance","ReplicatedSelectedConnectionCount", | |
153 | "ResizeableFaces","ResizeIncrement","Resolution","ResponseDialog","RightLeg","RiseVelocity", | |
154 | "RobloxLocked","RobloxVersion","RolloffScale","RotVelocity","Scale","Score","ScriptsDisabled", | |
155 | "SecondaryColor","Selected","ShadowColor","Shape","Shiny","ShirtTemplate","ShowDeprecatedObjects", | |
156 | "ShowDevelopmentGui","ShowPreliminaryObjects","Sides","Sit","Size","SizeConstraint", | |
157 | "SizeOffset","SkinColor","SkyboxBk","SkyboxDn","SkyboxFt","SkyboxLf","SkyboxRt","SkyboxUp", | |
158 | "SlateQuality","SoundId","Source","SparkleColor","Specular","StarCount", | |
159 | "Steer","StickyWheels","StudsBetweenTextures","StudsOffset","StudsPerTileU","StudsPerTileV", | |
160 | "Style","Summary","SuperSa".."feChatReplicate","Surface","Surface0", | |
161 | "Surface1","SurfaceInput","Target","TargetFilter","TargetOffset","TargetPoint", | |
162 | "TargetRadius","TargetSurface","TeamColor","Terrain","Text","TextBounds","TextColor","TextColor3", | |
163 | "TextFits","TextScaled","TextStrokeColor3","TextStrokeTransparency","TextTransparency","Texture", | |
164 | "TextureId","TextureSize","TextWrap","TextWrapped","TextXAlignment","TextYAlignment","Throttle", | |
165 | "ThrustD","ThrustP","Ticket","Time","TimeOfDay","To","Tone","ToolTip","TopBottom","Torque","Torso", | |
166 | "Transparency","TrussDetail","TurnD","TurnP","TurnSpeed","UnitRay","UserDialog","UserId","Value", | |
167 | "Version","VertexColor","VideoCaptureEnabled","VideoMemory","VideoQuality", | |
168 | "ViewSizeX","ViewSizeY","Visible","Volume","WalkDirection","WalkSpeed","WalkToPart","WalkToPoint", | |
169 | "WheelBackwardConnectionCount","WheelForwardConnectionCount","WindowSize","WireRadius","WoodQuality", | |
170 | "X","Y" | |
171 | } | |
172 | ||
173 | function GetProperties(obj) | |
174 | local objProper = {} | |
175 | local Done = {} | |
176 | ypcall(function() | |
177 | assert(pcall(function() assert(game.IsA(obj,"Instance")) end),"Should be ROBLOX instance") | |
178 | for i,v in pairs(Properties) do | |
179 | if pcall(function() return obj[v] end) and (type(obj[v]) ~= "userdata" or not obj:FindFirstChild(v)) then | |
180 | if Done[v] == nil then | |
181 | table.insert(objProper, {property = v, value = obj[v]}) | |
182 | Done[v] = true | |
183 | end | |
184 | end | |
185 | end | |
186 | end) | |
187 | return objProper | |
188 | end | |
189 | ||
190 | for i,v in pairs(Assets) do | |
191 | local ID = tostring(Assets[i]) | |
192 | Assets[i] = "rbxassetid://" .. ID | |
193 | Content:Preload("rbxassetid://" .. ID) | |
194 | end | |
195 | ||
196 | function Hint(...) | |
197 | local Messages = {...} | |
198 | coroutine.resume(coroutine.create(function() | |
199 | local Message = "" | |
200 | for i,v in pairs(Messages) do | |
201 | v = tostring(v) | |
202 | … |