SHOW:
|
|
- or go back to the newest paste.
| 1 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 2 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
| 3 | local RealPlayer = Player | |
| 4 | do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end --https://github.com/Mokiros/roblox-FE-compatibility
| |
| 5 | ||
| 6 | ||
| 7 | local ScreenGui = Instance.new("ScreenGui")
| |
| 8 | ||
| 9 | local Base = Instance.new("Frame")
| |
| 10 | ||
| 11 | local Top = Instance.new("Frame")
| |
| 12 | ||
| 13 | local First = Instance.new("TextLabel")
| |
| 14 | ||
| 15 | local Second = Instance.new("TextLabel")
| |
| 16 | ||
| 17 | local Location = Instance.new("TextLabel")
| |
| 18 | ||
| 19 | local Exit = Instance.new("TextButton")
| |
| 20 | ||
| 21 | local HomeContainer = Instance.new("Frame")
| |
| 22 | ||
| 23 | local Players = Instance.new("Frame")
| |
| 24 | ||
| 25 | local ImageLabel = Instance.new("ImageLabel")
| |
| 26 | ||
| 27 | local TextLabel = Instance.new("TextLabel")
| |
| 28 | ||
| 29 | local Mask = Instance.new("TextButton")
| |
| 30 | ||
| 31 | local Server = Instance.new("Frame")
| |
| 32 | ||
| 33 | local ImageLabel_2 = Instance.new("ImageLabel")
| |
| 34 | ||
| 35 | local TextLabel_2 = Instance.new("TextLabel")
| |
| 36 | ||
| 37 | local Mask_2 = Instance.new("TextButton")
| |
| 38 | ||
| 39 | local LocalPlayer = Instance.new("Frame")
| |
| 40 | ||
| 41 | local ImageLabel_3 = Instance.new("ImageLabel")
| |
| 42 | ||
| 43 | local TextLabel_3 = Instance.new("TextLabel")
| |
| 44 | ||
| 45 | local Mask_3 = Instance.new("TextButton")
| |
| 46 | ||
| 47 | local Scripts = Instance.new("Frame")
| |
| 48 | ||
| 49 | local ImageLabel_4 = Instance.new("ImageLabel")
| |
| 50 | ||
| 51 | local TextLabel_4 = Instance.new("TextLabel")
| |
| 52 | ||
| 53 | local Mask_4 = Instance.new("TextButton")
| |
| 54 | ||
| 55 | local Miscellaneous = Instance.new("Frame")
| |
| 56 | ||
| 57 | local ImageLabel_5 = Instance.new("ImageLabel")
| |
| 58 | ||
| 59 | local TextLabel_5 = Instance.new("TextLabel")
| |
| 60 | ||
| 61 | local Mask_5 = Instance.new("TextButton")
| |
| 62 | ||
| 63 | local Settings = Instance.new("Frame")
| |
| 64 | ||
| 65 | local ImageLabel_6 = Instance.new("ImageLabel")
| |
| 66 | ||
| 67 | local TextLabel_6 = Instance.new("TextLabel")
| |
| 68 | ||
| 69 | local Mask_6 = Instance.new("TextButton")
| |
| 70 | ||
| 71 | local Navigator = Instance.new("ScrollingFrame")
| |
| 72 | ||
| 73 | local Item = Instance.new("TextButton")
| |
| 74 | ||
| 75 | local ServerContainer = Instance.new("ScrollingFrame")
| |
| 76 | ||
| 77 | local dd = Instance.new("TextButton")
| |
| 78 | ||
| 79 | local ImageLabel_7 = Instance.new("ImageLabel")
| |
| 80 | ||
| 81 | local LocalPlayerContainer = Instance.new("ScrollingFrame")
| |
| 82 | ||
| 83 | - | local hist = game:GetService("LogService"):GetLogHistory()
|
| 83 | + | |
| 84 | ||
| 85 | ||
| 86 | ||
| 87 | -- Properties | |
| 88 | ||
| 89 | ||
| 90 | ||
| 91 | local eiss = false | |
| 92 | ||
| 93 | for i,v in pairs(hist) do | |
| 94 | ||
| 95 | if string.find(v["message"]:lower(), "eiss") then | |
| 96 | ||
| 97 | eiss = true | |
| 98 | ||
| 99 | warn("Detected EISS, Parenting to PlayerGui")
| |
| 100 | ||
| 101 | end | |
| 102 | ||
| 103 | end | |
| 104 | ||
| 105 | if eiss then | |
| 106 | ||
| 107 | ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui | |
| 108 | ||
| 109 | game.StarterGui.ResetPlayerGuiOnSpawn = false | |
| 110 | ||
| 111 | else | |
| 112 | ||
| 113 | ScreenGui.Parent = game.CoreGui | |
| 114 | ||
| 115 | end | |
| 116 | ||
| 117 | ||
| 118 | ||
| 119 | Base.Name = "Base" | |
| 120 | ||
| 121 | Base.Parent = ScreenGui | |
| 122 | ||
| 123 | Base.Active = true | |
| 124 | ||
| 125 | Base.BackgroundColor3 = Color3.new(0.054902, 0.0901961, 0.113725) | |
| 126 | ||
| 127 | Base.BorderColor3 = Color3.new(0.0156863, 0.027451, 0.0352941) | |
| 128 | ||
| 129 | Base.BorderSizePixel = 2 | |
| 130 | ||
| 131 | Base.Draggable = true | |
| 132 | ||
| 133 | Base.Position = UDim2.new(0, 50, 0, 250) | |
| 134 | ||
| 135 | Base.Selectable = true | |
| 136 | ||
| 137 | Base.Size = UDim2.new(0, 450, 0, 250) | |
| 138 | ||
| 139 | ||
| 140 | ||
| 141 | Top.Name = "Top" | |
| 142 | ||
| 143 | Top.Parent = Base | |
| 144 | ||
| 145 | Top.BackgroundColor3 = Color3.new(0.027451, 0.0431373, 0.0588235) | |
| 146 | ||
| 147 | Top.BackgroundTransparency = 0.5 | |
| 148 | ||
| 149 | Top.BorderColor3 = Color3.new(0.243137, 0.243137, 0.243137) | |
| 150 | ||
| 151 | Top.Position = UDim2.new(0, 10, 0, 7) | |
| 152 | ||
| 153 | Top.Size = UDim2.new(1, -20, 0, 20) | |
| 154 | ||
| 155 | ||
| 156 | ||
| 157 | First.Name = "First" | |
| 158 | ||
| 159 | First.Parent = Top | |
| 160 | ||
| 161 | First.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 162 | ||
| 163 | First.BackgroundTransparency = 1 | |
| 164 | ||
| 165 | First.BorderColor3 = Color3.new(0.32549, 0.313726, 0.313726) | |
| 166 | ||
| 167 | First.Size = UDim2.new(1, 0, 1, 0) | |
| 168 | ||
| 169 | First.Font = Enum.Font.SourceSans | |
| 170 | ||
| 171 | First.FontSize = Enum.FontSize.Size18 | |
| 172 | ||
| 173 | First.Text = " T0PK3K 3.0" | |
| 174 | ||
| 175 | First.TextColor3 = Color3.new(0.721569, 0.027451, 0.211765) | |
| 176 | ||
| 177 | First.TextStrokeTransparency = 0 | |
| 178 | ||
| 179 | First.TextXAlignment = Enum.TextXAlignment.Left | |
| 180 | ||
| 181 | ||
| 182 | ||
| 183 | Second.Name = "Second" | |
| 184 | ||
| 185 | Second.Parent = Top | |
| 186 | ||
| 187 | Second.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 188 | ||
| 189 | Second.BackgroundTransparency = 1 | |
| 190 | ||
| 191 | Second.BorderColor3 = Color3.new(0.32549, 0.313726, 0.313726) | |
| 192 | ||
| 193 | Second.Position = UDim2.new(1, -125, 0, 0) | |
| 194 | ||
| 195 | Second.Size = UDim2.new(0, 100, 1, 0) | |
| 196 | ||
| 197 | Second.Font = Enum.Font.SourceSans | |
| 198 | ||
| 199 | Second.FontSize = Enum.FontSize.Size18 | |
| 200 | ||
| 201 | Second.Text = "Cerberus Edition" | |
| 202 | ||
| 203 | Second.TextColor3 = Color3.new(0.721569, 0.027451, 0.211765) | |
| 204 | ||
| 205 | Second.TextStrokeTransparency = 0 | |
| 206 | ||
| 207 | Second.TextXAlignment = Enum.TextXAlignment.Left | |
| 208 | ||
| 209 | ||
| 210 | ||
| 211 | Location.Name = "Location" | |
| 212 | ||
| 213 | Location.Parent = Top | |
| 214 | ||
| 215 | Location.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 216 | ||
| 217 | Location.BackgroundTransparency = 1 | |
| 218 | ||
| 219 | Location.BorderColor3 = Color3.new(0.32549, 0.313726, 0.313726) | |
| 220 | ||
| 221 | Location.Position = UDim2.new(0, 90, 0, 0) | |
| 222 | ||
| 223 | Location.Size = UDim2.new(1, -200, 1, 0) | |
| 224 | ||
| 225 | Location.Font = Enum.Font.SourceSansBold | |
| 226 | ||
| 227 | Location.FontSize = Enum.FontSize.Size18 | |
| 228 | ||
| 229 | Location.Text = "Home" | |
| 230 | ||
| 231 | Location.TextColor3 = Color3.new(0.588235, 0.0196078, 0.172549) | |
| 232 | ||
| 233 | Location.TextStrokeTransparency = 0 | |
| 234 | ||
| 235 | ||
| 236 | ||
| 237 | Exit.Name = "Exit" | |
| 238 | ||
| 239 | Exit.Parent = Top | |
| 240 | ||
| 241 | Exit.BackgroundColor3 = Color3.new(0.588235, 0.0196078, 0.172549) | |
| 242 | ||
| 243 | Exit.BorderSizePixel = 0 | |
| 244 | ||
| 245 | Exit.Position = UDim2.new(1, -18, 0, 2) | |
| 246 | ||
| 247 | Exit.Size = UDim2.new(0, 16, 0, 16) | |
| 248 | ||
| 249 | Exit.Font = Enum.Font.SourceSansBold | |
| 250 | ||
| 251 | Exit.FontSize = Enum.FontSize.Size14 | |
| 252 | ||
| 253 | Exit.Text = "X" | |
| 254 | ||
| 255 | Exit.TextColor3 = Color3.new(1, 1, 1) | |
| 256 | ||
| 257 | Exit.MouseButton1Down:connect(function() | |
| 258 | ||
| 259 | Base.Parent = nil | |
| 260 | ||
| 261 | end) | |
| 262 | ||
| 263 | ||
| 264 | ||
| 265 | HomeContainer.Name = "HomeContainer" | |
| 266 | ||
| 267 | HomeContainer.Parent = Base | |
| 268 | ||
| 269 | HomeContainer.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 270 | ||
| 271 | HomeContainer.BackgroundTransparency = 1 | |
| 272 | ||
| 273 | HomeContainer.Position = UDim2.new(0, 10, 0, 50) | |
| 274 | ||
| 275 | HomeContainer.Size = UDim2.new(1, -20, 1, -65) | |
| 276 | ||
| 277 | ||
| 278 | ||
| 279 | Players.Name = "Players" | |
| 280 | ||
| 281 | Players.Parent = HomeContainer | |
| 282 | ||
| 283 | Players.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 284 | ||
| 285 | Players.BackgroundTransparency = 1 | |
| 286 | ||
| 287 | Players.Position = UDim2.new(0.666000009, 10, 0, 0) | |
| 288 | ||
| 289 | Players.Size = UDim2.new(0.333000004, -10, 0.5, -10) | |
| 290 | ||
| 291 | ||
| 292 | ||
| 293 | ImageLabel.Parent = Players | |
| 294 | ||
| 295 | ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 296 | ||
| 297 | ImageLabel.BackgroundTransparency = 1 | |
| 298 | ||
| 299 | ImageLabel.Position = UDim2.new(0.5, -25, 0, 0) | |
| 300 | ||
| 301 | ImageLabel.Size = UDim2.new(0, 50, 0, 50) | |
| 302 | ||
| 303 | ImageLabel.Image = "rbxassetid://573066980" | |
| 304 | ||
| 305 | ImageLabel.ImageColor3 = Color3.new(0.615686, 0.0352941, 0.129412) | |
| 306 | ||
| 307 | ||
| 308 | ||
| 309 | TextLabel.Parent = Players | |
| 310 | ||
| 311 | TextLabel.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 312 | ||
| 313 | TextLabel.BackgroundTransparency = 1 | |
| 314 | ||
| 315 | TextLabel.Position = UDim2.new(0, 10, 1, -40) | |
| 316 | ||
| 317 | TextLabel.Size = UDim2.new(1, -20, 0, 20) | |
| 318 | ||
| 319 | TextLabel.Font = Enum.Font.SourceSansBold | |
| 320 | ||
| 321 | TextLabel.FontSize = Enum.FontSize.Size24 | |
| 322 | ||
| 323 | TextLabel.Text = "Players" | |
| 324 | ||
| 325 | TextLabel.TextColor3 = Color3.new(0.776471, 0.0235294, 0.137255) | |
| 326 | ||
| 327 | ||
| 328 | ||
| 329 | Mask.Name = "Mask" | |
| 330 | ||
| 331 | Mask.Parent = Players | |
| 332 | ||
| 333 | Mask.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 334 | ||
| 335 | Mask.BackgroundTransparency = 1 | |
| 336 | ||
| 337 | Mask.Position = UDim2.new(0, 27, 0, 0) | |
| 338 | ||
| 339 | Mask.Size = UDim2.new(1, -56, 0, 65) | |
| 340 | ||
| 341 | Mask.Font = Enum.Font.SourceSans | |
| 342 | ||
| 343 | Mask.FontSize = Enum.FontSize.Size14 | |
| 344 | ||
| 345 | Mask.Text = "" | |
| 346 | ||
| 347 | ||
| 348 | ||
| 349 | Server.Name = "Server" | |
| 350 | ||
| 351 | Server.Parent = HomeContainer | |
| 352 | ||
| 353 | Server.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 354 | ||
| 355 | Server.BackgroundTransparency = 1 | |
| 356 | ||
| 357 | Server.Size = UDim2.new(0.333000004, -10, 0.5, -10) | |
| 358 | ||
| 359 | ||
| 360 | ||
| 361 | ImageLabel_2.Parent = Server | |
| 362 | ||
| 363 | ImageLabel_2.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 364 | ||
| 365 | ImageLabel_2.BackgroundTransparency = 1 | |
| 366 | ||
| 367 | ImageLabel_2.Position = UDim2.new(0.5, -23, 0, 0) | |
| 368 | ||
| 369 | ImageLabel_2.Size = UDim2.new(0, 46, 0, 46) | |
| 370 | ||
| 371 | ImageLabel_2.Image = "rbxassetid://573084509" | |
| 372 | ||
| 373 | ImageLabel_2.ImageColor3 = Color3.new(0.615686, 0.0352941, 0.129412) | |
| 374 | ||
| 375 | ||
| 376 | ||
| 377 | TextLabel_2.Parent = Server | |
| 378 | ||
| 379 | TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 380 | ||
| 381 | TextLabel_2.BackgroundTransparency = 1 | |
| 382 | ||
| 383 | TextLabel_2.Position = UDim2.new(0, 10, 1, -40) | |
| 384 | ||
| 385 | TextLabel_2.Size = UDim2.new(1, -20, 0, 20) | |
| 386 | ||
| 387 | TextLabel_2.Font = Enum.Font.SourceSansBold | |
| 388 | ||
| 389 | TextLabel_2.FontSize = Enum.FontSize.Size24 | |
| 390 | ||
| 391 | TextLabel_2.Text = "Server" | |
| 392 | ||
| 393 | TextLabel_2.TextColor3 = Color3.new(0.776471, 0.0235294, 0.137255) | |
| 394 | ||
| 395 | ||
| 396 | ||
| 397 | Mask_2.Name = "Mask" | |
| 398 | ||
| 399 | Mask_2.Parent = Server | |
| 400 | ||
| 401 | Mask_2.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 402 | ||
| 403 | Mask_2.BackgroundTransparency = 1 | |
| 404 | ||
| 405 | Mask_2.Position = UDim2.new(0, 27, 0, 0) | |
| 406 | ||
| 407 | Mask_2.Size = UDim2.new(1, -56, 0, 65) | |
| 408 | ||
| 409 | Mask_2.Font = Enum.Font.SourceSans | |
| 410 | ||
| 411 | Mask_2.FontSize = Enum.FontSize.Size14 | |
| 412 | ||
| 413 | Mask_2.Text = "" | |
| 414 | ||
| 415 | ||
| 416 | ||
| 417 | LocalPlayer.Name = "LocalPlayer" | |
| 418 | ||
| 419 | LocalPlayer.Parent = HomeContainer | |
| 420 | ||
| 421 | LocalPlayer.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 422 | ||
| 423 | LocalPlayer.BackgroundTransparency = 1 | |
| 424 | ||
| 425 | LocalPlayer.Position = UDim2.new(0.333000004, 10, 0, 0) | |
| 426 | ||
| 427 | LocalPlayer.Size = UDim2.new(0.333000004, -10, 0.5, -10) | |
| 428 | ||
| 429 | ||
| 430 | ||
| 431 | ImageLabel_3.Parent = LocalPlayer | |
| 432 | ||
| 433 | ImageLabel_3.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 434 | ||
| 435 | ImageLabel_3.BackgroundTransparency = 1 | |
| 436 | ||
| 437 | ImageLabel_3.Position = UDim2.new(0.5, -25, 0, 0) | |
| 438 | ||
| 439 | ImageLabel_3.Size = UDim2.new(0, 50, 0, 50) | |
| 440 | ||
| 441 | ImageLabel_3.Image = "rbxassetid://573078228" | |
| 442 | ||
| 443 | ImageLabel_3.ImageColor3 = Color3.new(0.615686, 0.0352941, 0.129412) | |
| 444 | ||
| 445 | ||
| 446 | ||
| 447 | TextLabel_3.Parent = LocalPlayer | |
| 448 | ||
| 449 | TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 450 | ||
| 451 | TextLabel_3.BackgroundTransparency = 1 | |
| 452 | ||
| 453 | TextLabel_3.Position = UDim2.new(0, 10, 1, -40) | |
| 454 | ||
| 455 | TextLabel_3.Size = UDim2.new(1, -20, 0, 20) | |
| 456 | ||
| 457 | TextLabel_3.Font = Enum.Font.SourceSansBold | |
| 458 | ||
| 459 | TextLabel_3.FontSize = Enum.FontSize.Size24 | |
| 460 | ||
| 461 | TextLabel_3.Text = "LocalPlayer" | |
| 462 | ||
| 463 | TextLabel_3.TextColor3 = Color3.new(0.776471, 0.0235294, 0.137255) | |
| 464 | ||
| 465 | ||
| 466 | ||
| 467 | Mask_3.Name = "Mask" | |
| 468 | ||
| 469 | Mask_3.Parent = LocalPlayer | |
| 470 | ||
| 471 | Mask_3.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 472 | ||
| 473 | Mask_3.BackgroundTransparency = 1 | |
| 474 | ||
| 475 | Mask_3.Position = UDim2.new(0, 27, 0, 0) | |
| 476 | ||
| 477 | Mask_3.Size = UDim2.new(1, -56, 0, 65) | |
| 478 | ||
| 479 | Mask_3.Font = Enum.Font.SourceSans | |
| 480 | ||
| 481 | Mask_3.FontSize = Enum.FontSize.Size14 | |
| 482 | ||
| 483 | Mask_3.Text = "" | |
| 484 | ||
| 485 | ||
| 486 | ||
| 487 | Scripts.Name = "Scripts" | |
| 488 | ||
| 489 | Scripts.Parent = HomeContainer | |
| 490 | ||
| 491 | Scripts.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 492 | ||
| 493 | Scripts.BackgroundTransparency = 1 | |
| 494 | ||
| 495 | Scripts.Position = UDim2.new(0, 0, 0.5, 0) | |
| 496 | ||
| 497 | Scripts.Size = UDim2.new(0.333000004, -10, 0.5, -10) | |
| 498 | ||
| 499 | ||
| 500 | ||
| 501 | ImageLabel_4.Parent = Scripts | |
| 502 | ||
| 503 | ImageLabel_4.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 504 | ||
| 505 | ImageLabel_4.BackgroundTransparency = 1 | |
| 506 | ||
| 507 | ImageLabel_4.Position = UDim2.new(0.5, -25, 0, 0) | |
| 508 | ||
| 509 | ImageLabel_4.Size = UDim2.new(0, 50, 0, 50) | |
| 510 | ||
| 511 | ImageLabel_4.Image = "rbxassetid://573081437" | |
| 512 | ||
| 513 | ImageLabel_4.ImageColor3 = Color3.new(0.615686, 0.0352941, 0.129412) | |
| 514 | ||
| 515 | ||
| 516 | ||
| 517 | TextLabel_4.Parent = Scripts | |
| 518 | ||
| 519 | TextLabel_4.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 520 | ||
| 521 | TextLabel_4.BackgroundTransparency = 1 | |
| 522 | ||
| 523 | TextLabel_4.Position = UDim2.new(0, 10, 1, -40) | |
| 524 | ||
| 525 | TextLabel_4.Size = UDim2.new(1, -20, 0, 20) | |
| 526 | ||
| 527 | TextLabel_4.Font = Enum.Font.SourceSansBold | |
| 528 | ||
| 529 | TextLabel_4.FontSize = Enum.FontSize.Size24 | |
| 530 | ||
| 531 | TextLabel_4.Text = "Scripts" | |
| 532 | ||
| 533 | TextLabel_4.TextColor3 = Color3.new(0.776471, 0.0235294, 0.137255) | |
| 534 | ||
| 535 | ||
| 536 | ||
| 537 | Mask_4.Name = "Mask" | |
| 538 | ||
| 539 | Mask_4.Parent = Scripts | |
| 540 | ||
| 541 | Mask_4.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 542 | ||
| 543 | Mask_4.BackgroundTransparency = 1 | |
| 544 | ||
| 545 | Mask_4.Position = UDim2.new(0, 27, 0, 0) | |
| 546 | ||
| 547 | Mask_4.Size = UDim2.new(1, -56, 0, 65) | |
| 548 | ||
| 549 | Mask_4.Font = Enum.Font.SourceSans | |
| 550 | ||
| 551 | Mask_4.FontSize = Enum.FontSize.Size14 | |
| 552 | ||
| 553 | Mask_4.Text = "" | |
| 554 | ||
| 555 | ||
| 556 | ||
| 557 | Miscellaneous.Name = "Miscellaneous" | |
| 558 | ||
| 559 | Miscellaneous.Parent = HomeContainer | |
| 560 | ||
| 561 | Miscellaneous.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 562 | ||
| 563 | Miscellaneous.BackgroundTransparency = 1 | |
| 564 | ||
| 565 | Miscellaneous.Position = UDim2.new(0.333000004, 10, 0.5, 0) | |
| 566 | ||
| 567 | Miscellaneous.Size = UDim2.new(0.333000004, -10, 0.5, -10) | |
| 568 | ||
| 569 | ||
| 570 | ||
| 571 | ImageLabel_5.Parent = Miscellaneous | |
| 572 | ||
| 573 | ImageLabel_5.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 574 | ||
| 575 | ImageLabel_5.BackgroundTransparency = 1 | |
| 576 | ||
| 577 | ImageLabel_5.Position = UDim2.new(0.5, -23, 0, 0) | |
| 578 | ||
| 579 | ImageLabel_5.Size = UDim2.new(0, 46, 0, 46) | |
| 580 | ||
| 581 | ImageLabel_5.Image = "rbxassetid://573087376" | |
| 582 | ||
| 583 | ImageLabel_5.ImageColor3 = Color3.new(0.615686, 0.0352941, 0.129412) | |
| 584 | ||
| 585 | ||
| 586 | ||
| 587 | TextLabel_5.Parent = Miscellaneous | |
| 588 | ||
| 589 | TextLabel_5.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 590 | ||
| 591 | TextLabel_5.BackgroundTransparency = 1 | |
| 592 | ||
| 593 | TextLabel_5.Position = UDim2.new(0, 10, 1, -40) | |
| 594 | ||
| 595 | TextLabel_5.Size = UDim2.new(1, -20, 0, 20) | |
| 596 | ||
| 597 | TextLabel_5.Font = Enum.Font.SourceSansBold | |
| 598 | ||
| 599 | TextLabel_5.FontSize = Enum.FontSize.Size24 | |
| 600 | ||
| 601 | TextLabel_5.Text = "Miscellaneous" | |
| 602 | ||
| 603 | TextLabel_5.TextColor3 = Color3.new(0.776471, 0.0235294, 0.137255) | |
| 604 | ||
| 605 | ||
| 606 | ||
| 607 | Mask_5.Name = "Mask" | |
| 608 | ||
| 609 | Mask_5.Parent = Miscellaneous | |
| 610 | ||
| 611 | Mask_5.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 612 | ||
| 613 | Mask_5.BackgroundTransparency = 1 | |
| 614 | ||
| 615 | Mask_5.Position = UDim2.new(0, 27, 0, 0) | |
| 616 | ||
| 617 | Mask_5.Size = UDim2.new(1, -56, 0, 65) | |
| 618 | ||
| 619 | Mask_5.Font = Enum.Font.SourceSans | |
| 620 | ||
| 621 | Mask_5.FontSize = Enum.FontSize.Size14 | |
| 622 | ||
| 623 | Mask_5.Text = "" | |
| 624 | ||
| 625 | ||
| 626 | ||
| 627 | Settings.Name = "Settings" | |
| 628 | ||
| 629 | Settings.Parent = HomeContainer | |
| 630 | ||
| 631 | Settings.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 632 | ||
| 633 | Settings.BackgroundTransparency = 1 | |
| 634 | ||
| 635 | Settings.Position = UDim2.new(0.666000009, 10, 0.5, 0) | |
| 636 | ||
| 637 | Settings.Size = UDim2.new(0.333000004, -10, 0.5, -10) | |
| 638 | ||
| 639 | ||
| 640 | ||
| 641 | ImageLabel_6.Parent = Settings | |
| 642 | ||
| 643 | ImageLabel_6.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 644 | ||
| 645 | ImageLabel_6.BackgroundTransparency = 1 | |
| 646 | ||
| 647 | ImageLabel_6.Position = UDim2.new(0.5, -23, 0, 0) | |
| 648 | ||
| 649 | ImageLabel_6.Size = UDim2.new(0, 46, 0, 46) | |
| 650 | ||
| 651 | ImageLabel_6.Image = "rbxassetid://573090294" | |
| 652 | ||
| 653 | ImageLabel_6.ImageColor3 = Color3.new(0.615686, 0.0352941, 0.129412) | |
| 654 | ||
| 655 | ||
| 656 | ||
| 657 | TextLabel_6.Parent = Settings | |
| 658 | ||
| 659 | TextLabel_6.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 660 | ||
| 661 | TextLabel_6.BackgroundTransparency = 1 | |
| 662 | ||
| 663 | TextLabel_6.Position = UDim2.new(0, 10, 1, -40) | |
| 664 | ||
| 665 | TextLabel_6.Size = UDim2.new(1, -20, 0, 20) | |
| 666 | ||
| 667 | TextLabel_6.Font = Enum.Font.SourceSansBold | |
| 668 | ||
| 669 | TextLabel_6.FontSize = Enum.FontSize.Size24 | |
| 670 | ||
| 671 | TextLabel_6.Text = "Settings" | |
| 672 | ||
| 673 | TextLabel_6.TextColor3 = Color3.new(0.776471, 0.0235294, 0.137255) | |
| 674 | ||
| 675 | ||
| 676 | ||
| 677 | Mask_6.Name = "Mask" | |
| 678 | ||
| 679 | Mask_6.Parent = Settings | |
| 680 | ||
| 681 | Mask_6.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 682 | ||
| 683 | Mask_6.BackgroundTransparency = 1 | |
| 684 | ||
| 685 | Mask_6.Position = UDim2.new(0, 27, 0, 0) | |
| 686 | ||
| 687 | Mask_6.Size = UDim2.new(1, -56, 0, 65) | |
| 688 | ||
| 689 | Mask_6.Font = Enum.Font.SourceSans | |
| 690 | ||
| 691 | Mask_6.FontSize = Enum.FontSize.Size14 | |
| 692 | ||
| 693 | Mask_6.Text = "" | |
| 694 | ||
| 695 | ||
| 696 | ||
| 697 | Navigator.Name = "Navigator" | |
| 698 | ||
| 699 | Navigator.Parent = Base | |
| 700 | ||
| 701 | Navigator.BackgroundColor3 = Color3.new(0.027451, 0.0431373, 0.0588235) | |
| 702 | ||
| 703 | Navigator.BackgroundTransparency = 0.5 | |
| 704 | ||
| 705 | Navigator.BorderColor3 = Color3.new(0.243137, 0.243137, 0.243137) | |
| 706 | ||
| 707 | Navigator.Position = UDim2.new(0, 10, 0, 35) | |
| 708 | ||
| 709 | Navigator.Size = UDim2.new(0, 125, 1, -45) | |
| 710 | ||
| 711 | Navigator.Visible = false | |
| 712 | ||
| 713 | Navigator.BottomImage = "rbxassetid://573102620" | |
| 714 | ||
| 715 | Navigator.MidImage = "rbxassetid://573102620" | |
| 716 | ||
| 717 | Navigator.ScrollBarThickness = 5 | |
| 718 | ||
| 719 | Navigator.TopImage = "rbxassetid://573102620" | |
| 720 | ||
| 721 | ||
| 722 | ||
| 723 | Item.Name = "Item" | |
| 724 | ||
| 725 | Item.Parent = Navigator | |
| 726 | ||
| 727 | Item.BackgroundColor3 = Color3.new(0.027451, 0.0431373, 0.0588235) | |
| 728 | ||
| 729 | Item.BackgroundTransparency = 0.5 | |
| 730 | ||
| 731 | Item.BorderColor3 = Color3.new(0.243137, 0.243137, 0.243137) | |
| 732 | ||
| 733 | Item.Position = UDim2.new(0, 5, 0, 5) | |
| 734 | ||
| 735 | Item.Size = UDim2.new(1, -15, 0, 20) | |
| 736 | ||
| 737 | Item.Selected = true | |
| 738 | ||
| 739 | Item.Font = Enum.Font.SourceSans | |
| 740 | ||
| 741 | Item.FontSize = Enum.FontSize.Size14 | |
| 742 | ||
| 743 | Item.Text = "NavItem" | |
| 744 | ||
| 745 | Item.TextColor3 = Color3.new(0.721569, 0.721569, 0.721569) | |
| 746 | ||
| 747 | ||
| 748 | ||
| 749 | ServerContainer.Name = "ServerContainer" | |
| 750 | ||
| 751 | ServerContainer.Parent = Base | |
| 752 | ||
| 753 | ServerContainer.BackgroundColor3 = Color3.new(0.027451, 0.0431373, 0.0588235) | |
| 754 | ||
| 755 | ServerContainer.BackgroundTransparency = 0.5 | |
| 756 | ||
| 757 | ServerContainer.Position = UDim2.new(0, 140, 0, 35) | |
| 758 | ||
| 759 | ServerContainer.Size = UDim2.new(1, -150, 1, -45) | |
| 760 | ||
| 761 | ServerContainer.Visible = false | |
| 762 | ||
| 763 | ServerContainer.BottomImage = "rbxassetid://573102620" | |
| 764 | ||
| 765 | ServerContainer.MidImage = "rbxassetid://573102620" | |
| 766 | ||
| 767 | ServerContainer.ScrollBarThickness = 5 | |
| 768 | ||
| 769 | ServerContainer.TopImage = "rbxassetid://573102620" | |
| 770 | ||
| 771 | ||
| 772 | ||
| 773 | dd.Name = "dd" | |
| 774 | ||
| 775 | dd.Parent = ServerContainer | |
| 776 | ||
| 777 | dd.BackgroundColor3 = Color3.new(0.0196078, 0.0313726, 0.0431373) | |
| 778 | ||
| 779 | dd.Position = UDim2.new(0, 6, 0, 6) | |
| 780 | ||
| 781 | dd.Size = UDim2.new(0.5, -10, 0, 20) | |
| 782 | ||
| 783 | dd.Visible = false | |
| 784 | ||
| 785 | dd.Font = Enum.Font.SourceSans | |
| 786 | ||
| 787 | dd.FontSize = Enum.FontSize.Size14 | |
| 788 | ||
| 789 | dd.Text = "Troll Spam" | |
| 790 | ||
| 791 | dd.TextColor3 = Color3.new(0.780392, 0.780392, 0.780392) | |
| 792 | ||
| 793 | dd.TextStrokeTransparency = 0.5 | |
| 794 | ||
| 795 | ||
| 796 | ||
| 797 | ImageLabel_7.Parent = dd | |
| 798 | ||
| 799 | ImageLabel_7.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 800 | ||
| 801 | ImageLabel_7.BackgroundTransparency = 1 | |
| 802 | ||
| 803 | ImageLabel_7.Position = UDim2.new(0, 2, 0, 0) | |
| 804 | ||
| 805 | ImageLabel_7.Size = UDim2.new(0, 20, 0, 20) | |
| 806 | ||
| 807 | ImageLabel_7.Image = "rbxassetid://133293265" | |
| 808 | ||
| 809 | ||
| 810 | ||
| 811 | LocalPlayerContainer.Name = "LocalPlayerContainer" | |
| 812 | ||
| 813 | LocalPlayerContainer.Parent = Base | |
| 814 | ||
| 815 | LocalPlayerContainer.BackgroundColor3 = Color3.new(0.027451, 0.0431373, 0.0588235) | |
| 816 | ||
| 817 | LocalPlayerContainer.BackgroundTransparency = 0.5 | |
| 818 | ||
| 819 | LocalPlayerContainer.Position = UDim2.new(0, 140, 0, 35) | |
| 820 | ||
| 821 | LocalPlayerContainer.Size = UDim2.new(1, -150, 1, -45) | |
| 822 | ||
| 823 | LocalPlayerContainer.Visible = false | |
| 824 | ||
| 825 | LocalPlayerContainer.BottomImage = "rbxassetid://573102620" | |
| 826 | ||
| 827 | LocalPlayerContainer.MidImage = "rbxassetid://573102620" | |
| 828 | ||
| 829 | LocalPlayerContainer.ScrollBarThickness = 5 | |
| 830 | ||
| 831 | LocalPlayerContainer.TopImage = "rbxassetid://573102620" | |
| 832 | ||
| 833 | ||
| 834 | ||
| 835 | PlayersContainer.Name = "PlayersContainer" | |
| 836 | ||
| 837 | PlayersContainer.Parent = Base | |
| 838 | ||
| 839 | PlayersContainer.BackgroundColor3 = Color3.new(0.027451, 0.0431373, 0.0588235) | |
| 840 | ||
| 841 | PlayersContainer.BackgroundTransparency = 0.5 | |
| 842 | ||
| 843 | PlayersContainer.Position = UDim2.new(0, 140, 0, 35) | |
| 844 | ||
| 845 | PlayersContainer.Size = UDim2.new(1, -150, 1, -45) | |
| 846 | ||
| 847 | PlayersContainer.Visible = false | |
| 848 | ||
| 849 | PlayersContainer.BottomImage = "rbxassetid://573102620" | |
| 850 | ||
| 851 | PlayersContainer.MidImage = "rbxassetid://573102620" | |
| 852 | ||
| 853 | PlayersContainer.ScrollBarThickness = 5 | |
| 854 | ||
| 855 | PlayersContainer.TopImage = "rbxassetid://573102620" | |
| 856 | ||
| 857 | ||
| 858 | ||
| 859 | function MakeContainer(n) | |
| 860 | ||
| 861 | local cont = PlayersContainer:Clone() | |
| 862 | ||
| 863 | cont.Name = n .. 'Container' | |
| 864 | ||
| 865 | cont.Parent = Base | |
| 866 | ||
| 867 | return cont | |
| 868 | ||
| 869 | end | |
| 870 | ||
| 871 | ||
| 872 | ||
| 873 | local ScriptsContainer = MakeContainer('Scripts')
| |
| 874 | ||
| 875 | local MiscContainer = MakeContainer('Miscellaneous')
| |
| 876 | ||
| 877 | ||
| 878 | ||
| 879 | local topkek = {}
| |
| 880 | ||
| 881 | topkek.store = {}
| |
| 882 | ||
| 883 | topkek.cache = {}
| |
| 884 | ||
| 885 | topkek.libgui = {}
| |
| 886 | ||
| 887 | topkek.libsettings = {}
| |
| 888 | ||
| 889 | topkek.libutil = {}
| |
| 890 | ||
| 891 | topkek.libwindows = {}
| |
| 892 | ||
| 893 | topkek.libcmd = {}
| |
| 894 | ||
| 895 | --[[ gay ass dropdown lib i made a while ago ]]-- | |
| 896 | ||
| 897 | dropdown = {}
| |
| 898 | ||
| 899 | dropdown.new = function(gui, items, placeholder) | |
| 900 | ||
| 901 | local self = {}
| |
| 902 | ||
| 903 | self.value = placeholder | |
| 904 | ||
| 905 | self.items = items | |
| 906 | ||
| 907 | self.gui = gui | |
| 908 | ||
| 909 | ||
| 910 | ||
| 911 | if self.gui:FindFirstChild("__DROPDOWN") then
| |
| 912 | ||
| 913 | self.gui["__DROPDOWN"]:Destroy() | |
| 914 | ||
| 915 | end | |
| 916 | ||
| 917 | ||
| 918 | ||
| 919 | self.debug = false | |
| 920 | ||
| 921 | ||
| 922 | ||
| 923 | self.gui.Text = placeholder | |
| 924 | ||
| 925 | self.gui.BorderSizePixel = 0 | |
| 926 | ||
| 927 | self.gui.ZIndex = 1 | |
| 928 | ||
| 929 | ||
| 930 | ||
| 931 | self.textcolor = self.gui.TextColor3 | |
| 932 | ||
| 933 | function self.make() | |
| 934 | ||
| 935 | if self.gui:FindFirstChild("__DROPDOWN") then
| |
| 936 | ||
| 937 | self.gui["__DROPDOWN"]:Destroy() | |
| 938 | ||
| 939 | end | |
| 940 | ||
| 941 | ||
| 942 | ||
| 943 | ||
| 944 | ||
| 945 | self.selectgui = Instance.new("ScrollingFrame")
| |
| 946 | ||
| 947 | self.selectgui.Parent = self.gui | |
| 948 | ||
| 949 | self.selectgui.Name = "__DROPDOWN" | |
| 950 | ||
| 951 | self.selectgui.Size = UDim2.new(1, 0, 0, 100) | |
| 952 | ||
| 953 | self.selectgui.Position = UDim2.new(0, 0, 0, self.gui.AbsoluteSize.Y) | |
| 954 | ||
| 955 | self.selectgui.BorderSizePixel = 0 | |
| 956 | ||
| 957 | self.selectgui.ZIndex = 2 | |
| 958 | ||
| 959 | self.selectgui.BackgroundTransparency = self.gui.BackgroundTransparency | |
| 960 | ||
| 961 | self.selectgui.BackgroundColor3 = self.gui.BackgroundColor3 | |
| 962 | ||
| 963 | self.selectgui.Visible = false | |
| 964 | ||
| 965 | self.selectgui.CanvasSize = UDim2.new(0, 0, 0, (#self.items-1) * 20) | |
| 966 | ||
| 967 | self.selectgui.ScrollBarThickness = 5 | |
| 968 | ||
| 969 | ||
| 970 | ||
| 971 | if #self.items < 4 then | |
| 972 | ||
| 973 | self.selectgui.CanvasSize = UDim2.new(0, 0, 0, 0) | |
| 974 | ||
| 975 | self.selectgui.Size = UDim2.new(1, 0, 0, (#self.items-1) * 20) | |
| 976 | ||
| 977 | end | |
| 978 | ||
| 979 | ||
| 980 | ||
| 981 | self.item = Instance.new("TextButton")
| |
| 982 | ||
| 983 | self.item.Size = UDim2.new(1, 0, 0, 20) | |
| 984 | ||
| 985 | self.item.Position = UDim2.new(0, 0, 0, 0) | |
| 986 | ||
| 987 | self.item.BackgroundTransparency = self.gui.BackgroundTransparency - 0.1 | |
| 988 | ||
| 989 | self.item.BackgroundColor3 = self.gui.BackgroundColor3 | |
| 990 | ||
| 991 | self.item.BorderSizePixel = 0 | |
| 992 | ||
| 993 | self.item.ZIndex = 2 | |
| 994 | ||
| 995 | self.item.TextColor3 = self.gui.TextColor3 | |
| 996 | ||
| 997 | self.item.Font = Enum.Font.SourceSans | |
| 998 | ||
| 999 | self.item.FontSize = Enum.FontSize.Size14 | |
| 1000 | ||
| 1001 | ||
| 1002 | ||
| 1003 | self.curitem = nil | |
| 1004 | ||
| 1005 | ||
| 1006 | ||
| 1007 | for i, v in pairs(self.items) do | |
| 1008 | ||
| 1009 | if not (v == self.value) then | |
| 1010 | ||
| 1011 | local ti = self.item:Clone() | |
| 1012 | ||
| 1013 | ti.Parent = self.selectgui | |
| 1014 | ||
| 1015 | if i == 1 then i = 2 end | |
| 1016 | ||
| 1017 | ti.Position = UDim2.new(0, 0, 0, (i - 2) * 20) | |
| 1018 | ||
| 1019 | ti.Text = v | |
| 1020 | ||
| 1021 | ti.MouseButton1Down:connect(function() | |
| 1022 | ||
| 1023 | self.value = v | |
| 1024 | ||
| 1025 | self.open = false | |
| 1026 | ||
| 1027 | self.selectgui.Visible = false | |
| 1028 | ||
| 1029 | self.gui.Text = v | |
| 1030 | ||
| 1031 | self.make() | |
| 1032 | ||
| 1033 | end) | |
| 1034 | ||
| 1035 | end | |
| 1036 | ||
| 1037 | end | |
| 1038 | ||
| 1039 | end | |
| 1040 | ||
| 1041 | ||
| 1042 | ||
| 1043 | self.getvalue = function() | |
| 1044 | ||
| 1045 | return self.value | |
| 1046 | ||
| 1047 | end | |
| 1048 | ||
| 1049 | ||
| 1050 | ||
| 1051 | self.update = function(itms) | |
| 1052 | ||
| 1053 | self.items = itms | |
| 1054 | ||
| 1055 | self.make() | |
| 1056 | ||
| 1057 | end | |
| 1058 | ||
| 1059 | ||
| 1060 | ||
| 1061 | self.open = false | |
| 1062 | ||
| 1063 | ||
| 1064 | ||
| 1065 | self.gui.MouseButton1Down:connect(function() | |
| 1066 | ||
| 1067 | if self.open == false then | |
| 1068 | ||
| 1069 | self.selectgui.CanvasPosition = Vector2.new(0, 0) | |
| 1070 | ||
| 1071 | self.selectgui.Visible = true | |
| 1072 | ||
| 1073 | self.open = true | |
| 1074 | ||
| 1075 | else | |
| 1076 | ||
| 1077 | self.selectgui.Visible = false | |
| 1078 | ||
| 1079 | self.open = false | |
| 1080 | ||
| 1081 | end | |
| 1082 | ||
| 1083 | end) | |
| 1084 | ||
| 1085 | ||
| 1086 | ||
| 1087 | self.make() | |
| 1088 | ||
| 1089 | return self | |
| 1090 | ||
| 1091 | end | |
| 1092 | ||
| 1093 | --[[ libsettings lole ]]-- | |
| 1094 | ||
| 1095 | topkek.libsettings.store = {}
| |
| 1096 | ||
| 1097 | function topkek.libsettings:getSetting(k) | |
| 1098 | ||
| 1099 | return topkek.libsettings.store[k] | |
| 1100 | ||
| 1101 | end | |
| 1102 | ||
| 1103 | ||
| 1104 | ||
| 1105 | function topkek.libsettings:setSetting(k,v) | |
| 1106 | ||
| 1107 | topkek.libsettings.store[k]=v | |
| 1108 | ||
| 1109 | end | |
| 1110 | ||
| 1111 | ||
| 1112 | ||
| 1113 | -- [[ libutil ]] -- | |
| 1114 | ||
| 1115 | function topkek.libutil:createObject(o, p) | |
| 1116 | ||
| 1117 | local a, b = pcall(function() | |
| 1118 | ||
| 1119 | Instance.new(o) | |
| 1120 | ||
| 1121 | end) | |
| 1122 | ||
| 1123 | if not a then | |
| 1124 | ||
| 1125 | return | |
| 1126 | ||
| 1127 | end | |
| 1128 | ||
| 1129 | local obj = Instance.new(o) | |
| 1130 | ||
| 1131 | for prop, val in pairs(p) do | |
| 1132 | ||
| 1133 | pcall(function() | |
| 1134 | ||
| 1135 | obj[prop] = val | |
| 1136 | ||
| 1137 | end) | |
| 1138 | ||
| 1139 | end | |
| 1140 | ||
| 1141 | return obj | |
| 1142 | ||
| 1143 | end | |
| 1144 | ||
| 1145 | function topkek.libutil:Color3(r,g,b) | |
| 1146 | ||
| 1147 | return Color3.new(r/255,g/255,b/255) | |
| 1148 | ||
| 1149 | end; color3 = function(r,g,b) return topkek.libutil:Color3(r,g,b) end | |
| 1150 | ||
| 1151 | function topkek.libutil:recurseDecal(img)--topkek2.0 code tbh | |
| 1152 | ||
| 1153 | img = 'rbxassetid://' .. img | |
| 1154 | ||
| 1155 | local function skybox(x) | |
| 1156 | ||
| 1157 | local sky = Instance.new("Sky",game.Lighting)
| |
| 1158 | ||
| 1159 | local fcs={"Bk","Dn","Ft","Lf","Rt","Up"}
| |
| 1160 | ||
| 1161 | for i,v in pairs(fcs) do | |
| 1162 | ||
| 1163 | sky["Skybox"..v]=x | |
| 1164 | ||
| 1165 | end | |
| 1166 | ||
| 1167 | end | |
| 1168 | ||
| 1169 | local function particle(p, b) | |
| 1170 | ||
| 1171 | local a = Instance.new("ParticleEmitter", p)
| |
| 1172 | ||
| 1173 | a.Rate = 500 | |
| 1174 | ||
| 1175 | a.Lifetime = NumberRange.new(20, 30) | |
| 1176 | ||
| 1177 | a.VelocitySpread = 200 | |
| 1178 | ||
| 1179 | a.Texture = b | |
| 1180 | ||
| 1181 | end | |
| 1182 | ||
| 1183 | ||
| 1184 | ||
| 1185 | local function decal(p, b) | |
| 1186 | ||
| 1187 | local sides = {"Back", "Bottom", "Front", "Left", "Right", "Top"}
| |
| 1188 | ||
| 1189 | for i, v in pairs(sides) do | |
| 1190 | ||
| 1191 | local a = Instance.new("Decal", p)
| |
| 1192 | ||
| 1193 | a.Texture = b | |
| 1194 | ||
| 1195 | a.Face = v | |
| 1196 | ||
| 1197 | end | |
| 1198 | ||
| 1199 | end | |
| 1200 | ||
| 1201 | ||
| 1202 | ||
| 1203 | local function recurse(x) | |
| 1204 | ||
| 1205 | for i, v in pairs(x:GetChildren()) do | |
| 1206 | ||
| 1207 | pcall(function() -- 'error occured, no output from Lua' LOLE | |
| 1208 | ||
| 1209 | if v:IsA("BasePart") then
| |
| 1210 | ||
| 1211 | particle(v, img) | |
| 1212 | ||
| 1213 | decal(v, img) | |
| 1214 | ||
| 1215 | end | |
| 1216 | ||
| 1217 | if #(v:GetChildren())>0 then | |
| 1218 | ||
| 1219 | recurse(v) | |
| 1220 | ||
| 1221 | end | |
| 1222 | ||
| 1223 | end) | |
| 1224 | ||
| 1225 | end | |
| 1226 | ||
| 1227 | end | |
| 1228 | ||
| 1229 | ||
| 1230 | ||
| 1231 | recurse(game) | |
| 1232 | ||
| 1233 | skybox(img) | |
| 1234 | ||
| 1235 | end | |
| 1236 | ||
| 1237 | function topkek.libutil:recurseRemove(type_) | |
| 1238 | ||
| 1239 | local function recurse(x) | |
| 1240 | ||
| 1241 | for i, v in pairs(x:GetChildren()) do | |
| 1242 | ||
| 1243 | pcall(function() | |
| 1244 | ||
| 1245 | if v:IsA(type_) then | |
| 1246 | ||
| 1247 | v:Destroy() | |
| 1248 | ||
| 1249 | end | |
| 1250 | ||
| 1251 | if #(v:GetChildren())>0 then | |
| 1252 | ||
| 1253 | recurse(v) | |
| 1254 | ||
| 1255 | end | |
| 1256 | ||
| 1257 | end) | |
| 1258 | ||
| 1259 | end | |
| 1260 | ||
| 1261 | end | |
| 1262 | ||
| 1263 | recurse(game) | |
| 1264 | ||
| 1265 | end | |
| 1266 | ||
| 1267 | function topkek.libutil:recurseSet(type_,prop,val) | |
| 1268 | ||
| 1269 | local function recurse(x) | |
| 1270 | ||
| 1271 | for i, v in pairs(x:GetChildren()) do | |
| 1272 | ||
| 1273 | pcall(function() | |
| 1274 | ||
| 1275 | if v:IsA(type_) then | |
| 1276 | ||
| 1277 | v[prop]=val | |
| 1278 | ||
| 1279 | end | |
| 1280 | ||
| 1281 | if #(v:GetChildren())>0 then | |
| 1282 | ||
| 1283 | recurse(v) | |
| 1284 | ||
| 1285 | end | |
| 1286 | ||
| 1287 | end) | |
| 1288 | ||
| 1289 | end | |
| 1290 | ||
| 1291 | end | |
| 1292 | ||
| 1293 | recurse(game) | |
| 1294 | ||
| 1295 | end | |
| 1296 | ||
| 1297 | function topkek.libutil:recurseSetObj(obj,type_,prop,val) | |
| 1298 | ||
| 1299 | local function recurse(x) | |
| 1300 | ||
| 1301 | for i, v in pairs(x:GetChildren()) do | |
| 1302 | ||
| 1303 | pcall(function() | |
| 1304 | ||
| 1305 | if v:IsA(type_) then | |
| 1306 | ||
| 1307 | v[prop]=val | |
| 1308 | ||
| 1309 | end | |
| 1310 | ||
| 1311 | if #(v:GetChildren())>0 then | |
| 1312 | ||
| 1313 | recurse(v) | |
| 1314 | ||
| 1315 | end | |
| 1316 | ||
| 1317 | end) | |
| 1318 | ||
| 1319 | end | |
| 1320 | ||
| 1321 | end | |
| 1322 | ||
| 1323 | recurse(obj) | |
| 1324 | ||
| 1325 | end | |
| 1326 | ||
| 1327 | function topkek.libutil:recurseFunc(type_,func) | |
| 1328 | ||
| 1329 | local function recurse(x) | |
| 1330 | ||
| 1331 | for i, v in pairs(x:GetChildren()) do | |
| 1332 | ||
| 1333 | pcall(function() | |
| 1334 | ||
| 1335 | if v:IsA(type_) then | |
| 1336 | ||
| 1337 | func(v) | |
| 1338 | ||
| 1339 | end | |
| 1340 | ||
| 1341 | if #(v:GetChildren())>0 then | |
| 1342 | ||
| 1343 | recurse(v) | |
| 1344 | ||
| 1345 | end | |
| 1346 | ||
| 1347 | end) | |
| 1348 | ||
| 1349 | end | |
| 1350 | ||
| 1351 | end | |
| 1352 | ||
| 1353 | recurse(game) | |
| 1354 | ||
| 1355 | end | |
| 1356 | ||
| 1357 | function topkek.libutil:Play(id) | |
| 1358 | ||
| 1359 | local mu = Instance.new("Sound", game.Workspace)
| |
| 1360 | ||
| 1361 | mu.Volume = 1 | |
| 1362 | ||
| 1363 | mu.Looped = true | |
| 1364 | ||
| 1365 | mu.Pitch = 1 | |
| 1366 | ||
| 1367 | mu.SoundId = "rbxassetid://"..tostring(id) | |
| 1368 | ||
| 1369 | mu:Play() | |
| 1370 | ||
| 1371 | end | |
| 1372 | ||
| 1373 | function topkek.libutil:GetPlayerList() | |
| 1374 | ||
| 1375 | local list = {'Everybody'}
| |
| 1376 | ||
| 1377 | for i, v in pairs(game:service'Players':GetPlayers()) do | |
| 1378 | ||
| 1379 | table.insert(list, v.Name) | |
| 1380 | ||
| 1381 | end | |
| 1382 | ||
| 1383 | return list | |
| 1384 | ||
| 1385 | end | |
| 1386 | ||
| 1387 | function topkek.libutil:doPlayers(drop, func) | |
| 1388 | ||
| 1389 | local str = drop.getvalue() | |
| 1390 | ||
| 1391 | local plrs = {}
| |
| 1392 | ||
| 1393 | if str == 'Everybody' then | |
| 1394 | ||
| 1395 | plrs = game:GetService('Players'):GetPlayers()
| |
| 1396 | ||
| 1397 | else | |
| 1398 | ||
| 1399 | plrs = {game:GetService('Players'):FindFirstChild(str)}
| |
| 1400 | ||
| 1401 | end | |
| 1402 | ||
| 1403 | for i, v in pairs(plrs) do | |
| 1404 | ||
| 1405 | func(v) | |
| 1406 | ||
| 1407 | end | |
| 1408 | ||
| 1409 | end | |
| 1410 | ||
| 1411 | function topkek.libutil:insert(id) | |
| 1412 | ||
| 1413 | if topkek.cache[id] then return topkek.cache[id] end -- moist | |
| 1414 | ||
| 1415 | local obj = game:service'InsertService':LoadAsset(id):GetChildren()[1] | |
| 1416 | ||
| 1417 | topkek.cache[id] = obj:Clone() | |
| 1418 | ||
| 1419 | return obj | |
| 1420 | ||
| 1421 | end; insert = function(id) return topkek.libutil:insert(id) end | |
| 1422 | ||
| 1423 | function topkek.libutil:getTorso(plr) --r15 compatibility lole | |
| 1424 | ||
| 1425 | if plr.Character then | |
| 1426 | ||
| 1427 | if plr.Character:FindFirstChild('UpperTorso') then
| |
| 1428 | ||
| 1429 | return plr.Character.UpperTorso | |
| 1430 | ||
| 1431 | else | |
| 1432 | ||
| 1433 | return plr.Character.Torso | |
| 1434 | ||
| 1435 | end | |
| 1436 | ||
| 1437 | end | |
| 1438 | ||
| 1439 | end | |
| 1440 | ||
| 1441 | function topkek.libutil:weiner(plr) | |
| 1442 | ||
| 1443 | plr=plr.Character | |
| 1444 | ||
| 1445 | Shaft=Instance.new("Part", plr)
| |
| 1446 | ||
| 1447 | Shaft.Name='Shaft' | |
| 1448 | ||
| 1449 | Shaft.Size=Vector3.new(1, 2.5, 1) | |
| 1450 | ||
| 1451 | Shaft.TopSurface=0 | |
| 1452 | ||
| 1453 | Shaft.BottomSurface=0 | |
| 1454 | ||
| 1455 | Shaft.CanCollide=true | |
| 1456 | ||
| 1457 | Cyln=Instance.new("CylinderMesh", Shaft)
| |
| 1458 | ||
| 1459 | Cyln.Scale=Vector3.new(0.5,0.7,0.5) | |
| 1460 | ||
| 1461 | Instance.new("Weld", plr)
| |
| 1462 | ||
| 1463 | plr.Weld.Part0=plr:FindFirstChild("Torso") or plr:FindFirstChild("LowerTorso")
| |
| 1464 | ||
| 1465 | plr.Weld.Part1=plr.Shaft | |
| 1466 | ||
| 1467 | plr.Weld.C0=CFrame.new(0,-0.35,-0.9)*CFrame.fromEulerAnglesXYZ(2.2,0,0) | |
| 1468 | ||
| 1469 | Shaft.BrickColor=BrickColor.new("Pastel brown")
| |
| 1470 | ||
| 1471 | Tip=Instance.new("Part", plr)
| |
| 1472 | ||
| 1473 | Tip.Name='Tip' | |
| 1474 | ||
| 1475 | Tip.TopSurface=0 | |
| 1476 | ||
| 1477 | Tip.BottomSurface=0 | |
| 1478 | ||
| 1479 | Tip.Size=Vector3.new(1, 1, 1) | |
| 1480 | ||
| 1481 | Tip.CanCollide=true | |
| 1482 | ||
| 1483 | Tip.Touched:connect(function(prt) if prt.Parent~=player then spawn(function() for i=1, 5 do local pert=Instance.new("Part", player) pert.CFrame=CFrame.new(prt.Position) pert.CanCollide=true local mesh=Instance.new("BlockMesh", pert) mesh.Scale=Vector3.new(0.2,0.2,0.2) pert.BrickColor=BrickColor.new("White") end end) end end)
| |
| 1484 | ||
| 1485 | Cyln2=Instance.new("SpecialMesh", Tip)
| |
| 1486 | ||
| 1487 | Cyln2.MeshType='Sphere' | |
| 1488 | ||
| 1489 | Cyln2.Scale=Vector3.new(0.6,0.6,0.6) | |
| 1490 | ||
| 1491 | Instance.new("Weld", plr).Name='Weld2'
| |
| 1492 | ||
| 1493 | plr.Weld2.Part0=plr.Shaft | |
| 1494 | ||
| 1495 | plr.Weld2.Part1=plr.Tip | |
| 1496 | ||
| 1497 | plr.Weld2.C0=CFrame.new(0,-.9,0) | |
| 1498 | ||
| 1499 | Tip.BrickColor=BrickColor.new("Pink")
| |
| 1500 | ||
| 1501 | ----- | |
| 1502 | ||
| 1503 | Ball1=Instance.new("Part", plr)
| |
| 1504 | ||
| 1505 | Ball1.Name='Ball1' | |
| 1506 | ||
| 1507 | Ball1.Size=Vector3.new(1, 1, 1) | |
| 1508 | ||
| 1509 | Ball1.TopSurface=0 | |
| 1510 | ||
| 1511 | Ball1.BottomSurface=0 | |
| 1512 | ||
| 1513 | Cyln3=Instance.new("SpecialMesh", Ball1)
| |
| 1514 | ||
| 1515 | Cyln3.MeshType='Sphere' | |
| 1516 | ||
| 1517 | Cyln3.Scale=Vector3.new(0.4,0.4,0.4) | |
| 1518 | ||
| 1519 | Instance.new("Weld", plr).Name='Weld3'
| |
| 1520 | ||
| 1521 | plr.Weld3.Part0=plr.Shaft | |
| 1522 | ||
| 1523 | plr.Weld3.Part1=plr.Ball1 | |
| 1524 | ||
| 1525 | plr.Weld3.C0=CFrame.new(0.225,.4,0.2) | |
| 1526 | ||
| 1527 | Ball1.BrickColor=BrickColor.new("Pastel brown")
| |
| 1528 | ||
| 1529 | ----- | |
| 1530 | ||
| 1531 | Ball2=Instance.new("Part", plr)
| |
| 1532 | ||
| 1533 | Ball2.Name='Ball2' | |
| 1534 | ||
| 1535 | Ball2.Size=Vector3.new(1, 1, 1) | |
| 1536 | ||
| 1537 | Ball2.TopSurface=0 | |
| 1538 | ||
| 1539 | Ball2.BottomSurface=0 | |
| 1540 | ||
| 1541 | Cyln3=Instance.new("SpecialMesh", Ball2)
| |
| 1542 | ||
| 1543 | Cyln3.MeshType='Sphere' | |
| 1544 | ||
| 1545 | Cyln3.Scale=Vector3.new(0.4,0.4,0.4) | |
| 1546 | ||
| 1547 | Instance.new("Weld", plr).Name='Weld4'
| |
| 1548 | ||
| 1549 | plr.Weld4.Part0=plr.Shaft | |
| 1550 | ||
| 1551 | plr.Weld4.Part1=plr.Ball2 | |
| 1552 | ||
| 1553 | plr.Weld4.C0=CFrame.new(-0.225,.4,0.2) | |
| 1554 | ||
| 1555 | Ball2.BrickColor=BrickColor.new("Pastel brown")
| |
| 1556 | ||
| 1557 | end | |
| 1558 | ||
| 1559 | function topkek.libutil:scalePlayer(plr, sz) | |
| 1560 | ||
| 1561 | local pchar = plr.Character | |
| 1562 | ||
| 1563 | if pchar:FindFirstChild("UpperTorso") then
| |
| 1564 | ||
| 1565 | warn("Player [" ..plr.Name.. "] is R15.")
| |
| 1566 | ||
| 1567 | return | |
| 1568 | ||
| 1569 | end | |
| 1570 | ||
| 1571 | local function scale(chr,scl) | |
| 1572 | ||
| 1573 | ||
| 1574 | ||
| 1575 | for _,v in pairs(pchar:GetChildren()) do | |
| 1576 | ||
| 1577 | if v:IsA("Hat") then
| |
| 1578 | ||
| 1579 | v:Clone() | |
| 1580 | ||
| 1581 | v.Parent = game.Lighting | |
| 1582 | ||
| 1583 | end | |
| 1584 | ||
| 1585 | end | |
| 1586 | ||
| 1587 | ||
| 1588 | ||
| 1589 | local Head = chr['Head'] | |
| 1590 | ||
| 1591 | local Torso = chr['Torso'] | |
| 1592 | ||
| 1593 | local LA = chr['Left Arm'] | |
| 1594 | ||
| 1595 | local RA = chr['Right Arm'] | |
| 1596 | ||
| 1597 | local LL = chr['Left Leg'] | |
| 1598 | ||
| 1599 | local RL = chr['Right Leg'] | |
| 1600 | ||
| 1601 | local HRP = chr['HumanoidRootPart'] | |
| 1602 | ||
| 1603 | ||
| 1604 | ||
| 1605 | wait(0.1) | |
| 1606 | ||
| 1607 | ||
| 1608 | ||
| 1609 | Head.formFactor = 3 | |
| 1610 | ||
| 1611 | Torso.formFactor = 3 | |
| 1612 | ||
| 1613 | LA.formFactor = 3 | |
| 1614 | ||
| 1615 | RA.formFactor = 3 | |
| 1616 | ||
| 1617 | LL.formFactor = 3 | |
| 1618 | ||
| 1619 | RL.formFactor = 3 | |
| 1620 | ||
| 1621 | HRP.formFactor = 3 | |
| 1622 | ||
| 1623 | ||
| 1624 | ||
| 1625 | Head.Size = Vector3.new(scl * 2, scl, scl) | |
| 1626 | ||
| 1627 | Torso.Size = Vector3.new(scl * 2, scl * 2, scl) | |
| 1628 | ||
| 1629 | LA.Size = Vector3.new(scl, scl * 2, scl) | |
| 1630 | ||
| 1631 | RA.Size = Vector3.new(scl, scl * 2, scl) | |
| 1632 | ||
| 1633 | LL.Size = Vector3.new(scl, scl * 2, scl) | |
| 1634 | ||
| 1635 | RL.Size = Vector3.new(scl, scl * 2, scl) | |
| 1636 | ||
| 1637 | HRP.Size = Vector3.new(scl * 2, scl * 2, scl) | |
| 1638 | ||
| 1639 | ||
| 1640 | ||
| 1641 | local Motor1 = Instance.new('Motor6D', Torso)
| |
| 1642 | ||
| 1643 | Motor1.Part0 = Torso | |
| 1644 | ||
| 1645 | Motor1.Part1 = Head | |
| 1646 | ||
| 1647 | Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1) | |
| 1648 | ||
| 1649 | Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1) | |
| 1650 | ||
| 1651 | Motor1.Name = "Neck" | |
| 1652 | ||
| 1653 | ||
| 1654 | ||
| 1655 | local Motor2 = Instance.new('Motor6D', Torso)
| |
| 1656 | ||
| 1657 | Motor2.Part0 = Torso | |
| 1658 | ||
| 1659 | Motor2.Part1 = LA | |
| 1660 | ||
| 1661 | Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0) | |
| 1662 | ||
| 1663 | Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0) | |
| 1664 | ||
| 1665 | Motor2.Name = "Left Shoulder" | |
| 1666 | ||
| 1667 | ||
| 1668 | ||
| 1669 | local Motor3 = Instance.new('Motor6D', Torso)
| |
| 1670 | ||
| 1671 | Motor3.Part0 = Torso | |
| 1672 | ||
| 1673 | Motor3.Part1 = RA | |
| 1674 | ||
| 1675 | Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0) | |
| 1676 | ||
| 1677 | Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0) | |
| 1678 | ||
| 1679 | Motor3.Name = "Right Shoulder" | |
| 1680 | ||
| 1681 | ||
| 1682 | ||
| 1683 | local Motor4 = Instance.new('Motor6D', Torso)
| |
| 1684 | ||
| 1685 | Motor4.Part0 = Torso | |
| 1686 | ||
| 1687 | Motor4.Part1 = LL | |
| 1688 | ||
| 1689 | Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0) | |
| 1690 | ||
| 1691 | Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0) | |
| 1692 | ||
| 1693 | Motor4.Name = "Left Hip" | |
| 1694 | ||
| 1695 | ||
| 1696 | ||
| 1697 | local Motor5 = Instance.new('Motor6D', Torso)
| |
| 1698 | ||
| 1699 | Motor5.Part0 = Torso | |
| 1700 | ||
| 1701 | Motor5.Part1 = RL | |
| 1702 | ||
| 1703 | Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0) | |
| 1704 | ||
| 1705 | Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0) | |
| 1706 | ||
| 1707 | Motor5.Name = "Right Hip" | |
| 1708 | ||
| 1709 | ||
| 1710 | ||
| 1711 | local Motor6 = Instance.new('Motor6D', HRP)
| |
| 1712 | ||
| 1713 | Motor6.Part0 = HRP | |
| 1714 | ||
| 1715 | Motor6.Part1 = Torso | |
| 1716 | ||
| 1717 | Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1) | |
| 1718 | ||
| 1719 | Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1) | |
| 1720 | ||
| 1721 | ||
| 1722 | ||
| 1723 | end | |
| 1724 | ||
| 1725 | ||
| 1726 | ||
| 1727 | scale(pchar, sz) | |
| 1728 | ||
| 1729 | ||
| 1730 | ||
| 1731 | for _,v in pairs(game.Lighting:GetChildren()) do | |
| 1732 | ||
| 1733 | if v:IsA("Hat") then
| |
| 1734 | ||
| 1735 | v.Parent = pchar | |
| 1736 | ||
| 1737 | end | |
| 1738 | ||
| 1739 | end | |
| 1740 | ||
| 1741 | end | |
| 1742 | ||
| 1743 | function topkek.libutil:dickShooter() | |
| 1744 | ||
| 1745 | Player = game:GetService("Players").LocalPlayer
| |
| 1746 | ||
| 1747 | Character = Player.Character | |
| 1748 | ||
| 1749 | PlayerGui = Player.PlayerGui | |
| 1750 | ||
| 1751 | Backpack = Player.Backpack | |
| 1752 | ||
| 1753 | Torso = Character.Torso | |
| 1754 | ||
| 1755 | Head = Character.Head | |
| 1756 | ||
| 1757 | LeftArm = Character["Left Arm"] | |
| 1758 | ||
| 1759 | LeftLeg = Character["Left Leg"] | |
| 1760 | ||
| 1761 | RightArm = Character["Right Arm"] | |
| 1762 | ||
| 1763 | RightLeg = Character["Right Leg"] | |
| 1764 | ||
| 1765 | LS = Torso["Left Shoulder"] | |
| 1766 | ||
| 1767 | LH = Torso["Left Hip"] | |
| 1768 | ||
| 1769 | RS = Torso["Right Shoulder"] | |
| 1770 | ||
| 1771 | RH = Torso["Right Hip"] | |
| 1772 | ||
| 1773 | Tool = Instance.new("HopperBin")
| |
| 1774 | ||
| 1775 | Tool.Parent = Backpack | |
| 1776 | ||
| 1777 | Tool.Name = "Painis" | |
| 1778 | ||
| 1779 | Bin = Tool | |
| 1780 | ||
| 1781 | so = function(id, par, vol, pit) | |
| 1782 | ||
| 1783 | ||
| 1784 | ||
| 1785 | coroutine.resume(coroutine.create(function() | |
| 1786 | ||
| 1787 | ||
| 1788 | ||
| 1789 | local sou = Instance.new("Sound", par or workspace)
| |
| 1790 | ||
| 1791 | sou.Volume = vol | |
| 1792 | ||
| 1793 | sou.Pitch = pit or 1 | |
| 1794 | ||
| 1795 | sou.SoundId = id | |
| 1796 | ||
| 1797 | wait() | |
| 1798 | ||
| 1799 | sou:play() | |
| 1800 | ||
| 1801 | wait(6) | |
| 1802 | ||
| 1803 | sou:Remove() | |
| 1804 | ||
| 1805 | end | |
| 1806 | ||
| 1807 | )) | |
| 1808 | ||
| 1809 | end | |
| 1810 | ||
| 1811 | ||
| 1812 | ||
| 1813 | ob1d = function(mouse) | |
| 1814 | ||
| 1815 | ||
| 1816 | ||
| 1817 | size = 0.5 | |
| 1818 | ||
| 1819 | mode = 1 | |
| 1820 | ||
| 1821 | color = BrickColor.new(Color3.new(math.random(), math.random(), math.random())) | |
| 1822 | ||
| 1823 | mo = Instance.new("Model")
| |
| 1824 | ||
| 1825 | mo.Name = "EEEEUGH HA HA HAAAAA" | |
| 1826 | ||
| 1827 | mo.Parent = workspace | |
| 1828 | ||
| 1829 | game.Debris:AddItem(mo, 10) | |
| 1830 | ||
| 1831 | p = Instance.new("Seat")
| |
| 1832 | ||
| 1833 | p.Name = "Torso" | |
| 1834 | ||
| 1835 | p.Size = Vector3.new(14, 50, 14) * size | |
| 1836 | ||
| 1837 | p.BrickColor = color | |
| 1838 | ||
| 1839 | m = Instance.new("SpecialMesh")
| |
| 1840 | ||
| 1841 | m.Parent = p | |
| 1842 | ||
| 1843 | p.Name = "Torso" | |
| 1844 | ||
| 1845 | p.Parent = mo | |
| 1846 | ||
| 1847 | p = Instance.new("Seat")
| |
| 1848 | ||
| 1849 | p.Shape = "Ball" | |
| 1850 | ||
| 1851 | p.Size = Vector3.new(24, 24, 24) * size | |
| 1852 | ||
| 1853 | p.BrickColor = color | |
| 1854 | ||
| 1855 | p.Name = "Legball" | |
| 1856 | ||
| 1857 | for i = 1, 10 do | |
| 1858 | ||
| 1859 | lol = Instance.new("Seat")
| |
| 1860 | ||
| 1861 | lol.BrickColor = BrickColor:Black() | |
| 1862 | ||
| 1863 | lol.Name = "SEE?" | |
| 1864 | ||
| 1865 | lol.Parent = mo | |
| 1866 | ||
| 1867 | lol.Size = Vector3.new(1, math.random(30, 40), 1) * size | |
| 1868 | ||
| 1869 | w = Instance.new("Weld")
| |
| 1870 | ||
| 1871 | w.Part0 = p | |
| 1872 | ||
| 1873 | w.Part1 = lol | |
| 1874 | ||
| 1875 | w.C0 = CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)) | |
| 1876 | ||
| 1877 | w.Parent = w.Part0 | |
| 1878 | ||
| 1879 | end | |
| 1880 | ||
| 1881 | p.Parent = mo | |
| 1882 | ||
| 1883 | w = Instance.new("Weld")
| |
| 1884 | ||
| 1885 | w.Part0 = mo.Torso | |
| 1886 | ||
| 1887 | w.Part1 = p | |
| 1888 | ||
| 1889 | w.C0 = CFrame.new(16 * (size / 2), -48 * (size / 2), 0) | |
| 1890 | ||
| 1891 | w.Parent = w.Part0 | |
| 1892 | ||
| 1893 | p = Instance.new("Seat")
| |
| 1894 | ||
| 1895 | p.Shape = "Ball" | |
| 1896 | ||
| 1897 | p.Size = Vector3.new(24, 24, 24) * size | |
| 1898 | ||
| 1899 | p.BrickColor = color | |
| 1900 | ||
| 1901 | p.Name = "Legball" | |
| 1902 | ||
| 1903 | for i = 1, 10 do | |
| 1904 | ||
| 1905 | lol = Instance.new("Seat")
| |
| 1906 | ||
| 1907 | lol.BrickColor = BrickColor:Black() | |
| 1908 | ||
| 1909 | lol.Name = "SEE?" | |
| 1910 | ||
| 1911 | lol.Parent = mo | |
| 1912 | ||
| 1913 | lol.Size = Vector3.new(1, math.random(30, 40), 1) * size | |
| 1914 | ||
| 1915 | w = Instance.new("Weld")
| |
| 1916 | ||
| 1917 | w.Part0 = p | |
| 1918 | ||
| 1919 | w.Part1 = lol | |
| 1920 | ||
| 1921 | w.C0 = CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)) | |
| 1922 | ||
| 1923 | w.Parent = w.Part0 | |
| 1924 | ||
| 1925 | end | |
| 1926 | ||
| 1927 | p.Parent = mo | |
| 1928 | ||
| 1929 | w = Instance.new("Weld")
| |
| 1930 | ||
| 1931 | w.Part0 = mo.Torso | |
| 1932 | ||
| 1933 | w.Part1 = p | |
| 1934 | ||
| 1935 | w.C0 = CFrame.new(-16 * (size / 2), -48 * (size / 2), 0) | |
| 1936 | ||
| 1937 | w.Parent = w.Part0 | |
| 1938 | ||
| 1939 | p = Instance.new("Seat")
| |
| 1940 | ||
| 1941 | p.Shape = "Ball" | |
| 1942 | ||
| 1943 | p.Size = Vector3.new(21, 15, 21) * size | |
| 1944 | ||
| 1945 | p.BrickColor = color | |
| 1946 | ||
| 1947 | p.Name = "Legball" | |
| 1948 | ||
| 1949 | for i = 1, 10 do | |
| 1950 | ||
| 1951 | lol = Instance.new("Seat")
| |
| 1952 | ||
| 1953 | lol.BrickColor = BrickColor:Black() | |
| 1954 | ||
| 1955 | lol.Name = "SEE?" | |
| 1956 | ||
| 1957 | lol.Parent = mo | |
| 1958 | ||
| 1959 | lol.Size = Vector3.new(1, math.random(30, 40), 1) * size | |
| 1960 | ||
| 1961 | w = Instance.new("Weld")
| |
| 1962 | ||
| 1963 | w.Part0 = p | |
| 1964 | ||
| 1965 | w.Part1 = lol | |
| 1966 | ||
| 1967 | w.C0 = CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)) | |
| 1968 | ||
| 1969 | w.Parent = w.Part0 | |
| 1970 | ||
| 1971 | end | |
| 1972 | ||
| 1973 | p.Parent = mo | |
| 1974 | ||
| 1975 | w = Instance.new("Weld")
| |
| 1976 | ||
| 1977 | w.Part0 = mo.Torso | |
| 1978 | ||
| 1979 | w.Part1 = p | |
| 1980 | ||
| 1981 | w.C0 = CFrame.new(0, 60 * (size / 2), 0) | |
| 1982 | ||
| 1983 | m = Instance.new("SpecialMesh")
| |
| 1984 | ||
| 1985 | m.Parent = p | |
| 1986 | ||
| 1987 | p.Name = "Head" | |
| 1988 | ||
| 1989 | w.Parent = w.Part0 | |
| 1990 | ||
| 1991 | s = Instance.new("Sound")
| |
| 1992 | ||
| 1993 | s.Parent = mo.Torso | |
| 1994 | ||
| 1995 | s.Volume = 100 | |
| 1996 | ||
| 1997 | s.Pitch = 1 | |
| 1998 | ||
| 1999 | s.SoundId = "http://www.roblox.com/asset/?id=149779810" | |
| 2000 | ||
| 2001 | s.Looped = true | |
| 2002 | ||
| 2003 | s:play() | |
| 2004 | ||
| 2005 | coroutine.resume(coroutine.create(function(Part) | |
| 2006 | ||
| 2007 | ||
| 2008 | ||
| 2009 | while Part.Parent ~= nil do | |
| 2010 | ||
| 2011 | wait(math.random()) | |
| 2012 | ||
| 2013 | so("http://www.roblox.com/asset/?id=148636758", Part, 100, 1)
| |
| 2014 | ||
| 2015 | end | |
| 2016 | ||
| 2017 | end | |
| 2018 | ||
| 2019 | ), mo.Torso) | |
| 2020 | ||
| 2021 | mo.Torso.CFrame = mo.Torso.CFrame * Torso.CFrame * CFrame.new(0, 0, -50 * size) * CFrame.fromEulerAnglesXYZ(-1.57, 0, 0) | |
| 2022 | ||
| 2023 | mo.Torso.Velocity = mouse.Hit.lookVector * 400 | |
| 2024 | ||
| 2025 | coroutine.resume(coroutine.create(function(Part) | |
| 2026 | ||
| 2027 | ||
| 2028 | ||
| 2029 | while 1 do | |
| 2030 | ||
| 2031 | wait(math.random(0, 1) + math.random()) | |
| 2032 | ||
| 2033 | Part.RotVelocity = Vector3.new(math.random(-40, 40), math.random(-40, 40), math.random(-40, 40)) | |
| 2034 | ||
| 2035 | end | |
| 2036 | ||
| 2037 | end | |
| 2038 | ||
| 2039 | ), mo.Torso) | |
| 2040 | ||
| 2041 | end | |
| 2042 | ||
| 2043 | ||
| 2044 | ||
| 2045 | ob1u = function(mouse) | |
| 2046 | ||
| 2047 | ||
| 2048 | ||
| 2049 | end | |
| 2050 | ||
| 2051 | ||
| 2052 | ||
| 2053 | buttonhold = false | |
| 2054 | ||
| 2055 | key = function(key, mouse) | |
| 2056 | ||
| 2057 | ||
| 2058 | ||
| 2059 | end | |
| 2060 | ||
| 2061 | ||
| 2062 | ||
| 2063 | key2 = function(key, mouse) | |
| 2064 | ||
| 2065 | ||
| 2066 | ||
| 2067 | end | |
| 2068 | ||
| 2069 | ||
| 2070 | ||
| 2071 | s = function(mouse) | |
| 2072 | ||
| 2073 | ||
| 2074 | ||
| 2075 | mouse.Button1Down:connect(function() | |
| 2076 | ||
| 2077 | ||
| 2078 | ||
| 2079 | ob1d(mouse) | |
| 2080 | ||
| 2081 | end | |
| 2082 | ||
| 2083 | ) | |
| 2084 | ||
| 2085 | mouse.Button1Up:connect(function() | |
| 2086 | ||
| 2087 | ||
| 2088 | ||
| 2089 | ob1u(mouse) | |
| 2090 | ||
| 2091 | end | |
| 2092 | ||
| 2093 | ) | |
| 2094 | ||
| 2095 | mouse.KeyDown:connect(key) | |
| 2096 | ||
| 2097 | mouse.KeyUp:connect(key2) | |
| 2098 | ||
| 2099 | end | |
| 2100 | ||
| 2101 | ||
| 2102 | ||
| 2103 | ds = function(mouse) | |
| 2104 | ||
| 2105 | ||
| 2106 | ||
| 2107 | end | |
| 2108 | ||
| 2109 | ||
| 2110 | ||
| 2111 | Bin.Selected:connect(s) | |
| 2112 | ||
| 2113 | Bin.Deselected:connect(ds) | |
| 2114 | ||
| 2115 | end | |
| 2116 | ||
| 2117 | --[[ libgui xd ]]-- | |
| 2118 | ||
| 2119 | topkek.libgui.seperation = 12 | |
| 2120 | ||
| 2121 | function topkek.libgui:addLeftIcon(parent, img, sz) | |
| 2122 | ||
| 2123 | topkek.libutil:createObject('ImageLabel', {
| |
| 2124 | ||
| 2125 | Parent = parent; | |
| 2126 | ||
| 2127 | BackgroundTransparency = 1; | |
| 2128 | ||
| 2129 | Position = UDim2.new(0, 2, 0, 0); | |
| 2130 | ||
| 2131 | Size = UDim2.new(0, sz, 0, sz); | |
| 2132 | ||
| 2133 | Image = img; | |
| 2134 | ||
| 2135 | }) | |
| 2136 | ||
| 2137 | end | |
| 2138 | ||
| 2139 | function topkek.libgui:hookContainer(o, sepr, stt) | |
| 2140 | ||
| 2141 | if not o:IsA("ScrollingFrame") then
| |
| 2142 | ||
| 2143 | return nil | |
| 2144 | ||
| 2145 | end | |
| 2146 | ||
| 2147 | ||
| 2148 | ||
| 2149 | local self = {}
| |
| 2150 | ||
| 2151 | self.main = o | |
| 2152 | ||
| 2153 | self.drawX = 0 | |
| 2154 | ||
| 2155 | self.drawY = stt or topkek.libgui.seperation/2 | |
| 2156 | ||
| 2157 | self.drawHeight = 0 | |
| 2158 | ||
| 2159 | self.sepr = sepr or topkek.libgui.seperation | |
| 2160 | ||
| 2161 | ||
| 2162 | ||
| 2163 | function self:drawButton(sz, txt, func, ysz, cbgd) | |
| 2164 | ||
| 2165 | local xposOffset = 0 | |
| 2166 | ||
| 2167 | local xposScale = self.drawX | |
| 2168 | ||
| 2169 | local xszOffset = 0 | |
| 2170 | ||
| 2171 | local xszScale = sz | |
| 2172 | ||
| 2173 | if not (self.drawX == 0) then | |
| 2174 | ||
| 2175 | xszOffset = -4 | |
| 2176 | ||
| 2177 | if sz + self.drawX > 0.998 then | |
| 2178 | ||
| 2179 | xszOffset = -11 | |
| 2180 | ||
| 2181 | end | |
| 2182 | ||
| 2183 | elseif sz == 1 then | |
| 2184 | ||
| 2185 | xszOffset = -(self.sepr) - 5 | |
| 2186 | ||
| 2187 | xposOffset = self.sepr/2 | |
| 2188 | ||
| 2189 | else | |
| 2190 | ||
| 2191 | xszOffset = -4 + -(self.sepr/2) | |
| 2192 | ||
| 2193 | xposOffset = self.sepr/2 | |
| 2194 | ||
| 2195 | end | |
| 2196 | ||
| 2197 | if not ysz then ysz = 20 end | |
| 2198 | ||
| 2199 | local obj = topkek.libutil:createObject("TextButton", {
| |
| 2200 | ||
| 2201 | Parent = self.main; | |
| 2202 | ||
| 2203 | BackgroundColor3 = cbgd or color3(15, 23, 30); | |
| 2204 | ||
| 2205 | BorderColor3 = color3(27, 42, 53); | |
| 2206 | ||
| 2207 | Position = UDim2.new(xposScale, xposOffset, 0, self.drawY); | |
| 2208 | ||
| 2209 | Size = UDim2.new(xszScale, xszOffset, 0, ysz); | |
| 2210 | ||
| 2211 | Font = 'SourceSans'; | |
| 2212 | ||
| 2213 | FontSize = 'Size14'; | |
| 2214 | ||
| 2215 | Text = txt; | |
| 2216 | ||
| 2217 | TextSize = 14; | |
| 2218 | ||
| 2219 | TextColor3 = color3(199, 199, 199); | |
| 2220 | ||
| 2221 | TextStrokeTransparency = 0.5; | |
| 2222 | ||
| 2223 | }) | |
| 2224 | ||
| 2225 | obj.MouseButton1Down:connect(function() | |
| 2226 | ||
| 2227 | func() | |
| 2228 | ||
| 2229 | end) | |
| 2230 | ||
| 2231 | if ysz > self.drawHeight then | |
| 2232 | ||
| 2233 | self.drawHeight = ysz | |
| 2234 | ||
| 2235 | end | |
| 2236 | ||
| 2237 | self.drawX = self.drawX + sz | |
| 2238 | ||
| 2239 | if self.drawX > 0.998 then | |
| 2240 | ||
| 2241 | self.drawY = self.drawY + 3 + self.drawHeight | |
| 2242 | ||
| 2243 | self.drawX = 0 | |
| 2244 | ||
| 2245 | self.drawHeight = 0 | |
| 2246 | ||
| 2247 | self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5) | |
| 2248 | ||
| 2249 | end | |
| 2250 | ||
| 2251 | return obj | |
| 2252 | ||
| 2253 | end | |
| 2254 | ||
| 2255 | ||
| 2256 | ||
| 2257 | function self:GetChildren() | |
| 2258 | ||
| 2259 | return self.main:GetChildren() | |
| 2260 | ||
| 2261 | end | |
| 2262 | ||
| 2263 | ||
| 2264 | ||
| 2265 | function self:getDrawY() | |
| 2266 | ||
| 2267 | return self.drawY | |
| 2268 | ||
| 2269 | end | |
| 2270 | ||
| 2271 | ||
| 2272 | ||
| 2273 | function self:setDrawY(y) | |
| 2274 | ||
| 2275 | self.drawY = y | |
| 2276 | ||
| 2277 | end | |
| 2278 | ||
| 2279 | ||
| 2280 | ||
| 2281 | function self:drawTextBox(sz, txt, ysz, cbgd) | |
| 2282 | ||
| 2283 | local xposOffset = 0 | |
| 2284 | ||
| 2285 | local xposScale = self.drawX | |
| 2286 | ||
| 2287 | local xszOffset = 0 | |
| 2288 | ||
| 2289 | local xszScale = sz | |
| 2290 | ||
| 2291 | if not (self.drawX == 0) then | |
| 2292 | ||
| 2293 | xszOffset = -4 | |
| 2294 | ||
| 2295 | if sz + self.drawX > 0.998 then | |
| 2296 | ||
| 2297 | xszOffset = -11 | |
| 2298 | ||
| 2299 | end | |
| 2300 | ||
| 2301 | elseif sz == 1 then | |
| 2302 | ||
| 2303 | xszOffset = -(self.sepr) - 5 | |
| 2304 | ||
| 2305 | xposOffset = self.sepr/2 | |
| 2306 | ||
| 2307 | else | |
| 2308 | ||
| 2309 | xszOffset = -4 + -(self.sepr/2) | |
| 2310 | ||
| 2311 | xposOffset = self.sepr/2 | |
| 2312 | ||
| 2313 | end | |
| 2314 | ||
| 2315 | if not ysz then ysz = 20 end | |
| 2316 | ||
| 2317 | local obj = topkek.libutil:createObject("TextBox", {
| |
| 2318 | ||
| 2319 | Parent = self.main; | |
| 2320 | ||
| 2321 | BackgroundColor3 = cbgd or color3(5, 8, 11); | |
| 2322 | ||
| 2323 | BorderColor3 = color3(27, 42, 53); | |
| 2324 | ||
| 2325 | Position = UDim2.new(xposScale, xposOffset, 0, self.drawY); | |
| 2326 | ||
| 2327 | Size = UDim2.new(xszScale, xszOffset, 0, ysz); | |
| 2328 | ||
| 2329 | Font = 'SourceSans'; | |
| 2330 | ||
| 2331 | FontSize = 'Size14'; | |
| 2332 | ||
| 2333 | Text = txt; | |
| 2334 | ||
| 2335 | TextSize = 14; | |
| 2336 | ||
| 2337 | TextColor3 = color3(199, 199, 199); | |
| 2338 | ||
| 2339 | }) | |
| 2340 | ||
| 2341 | if ysz > self.drawHeight then | |
| 2342 | ||
| 2343 | self.drawHeight = ysz | |
| 2344 | ||
| 2345 | end | |
| 2346 | ||
| 2347 | self.drawX = self.drawX + sz | |
| 2348 | ||
| 2349 | if self.drawX > 0.998 then | |
| 2350 | ||
| 2351 | self.drawY = self.drawY + 3 + self.drawHeight | |
| 2352 | ||
| 2353 | self.drawX = 0 | |
| 2354 | ||
| 2355 | self.drawHeight = 0 | |
| 2356 | ||
| 2357 | self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5) | |
| 2358 | ||
| 2359 | end | |
| 2360 | ||
| 2361 | return obj | |
| 2362 | ||
| 2363 | end | |
| 2364 | ||
| 2365 | ||
| 2366 | ||
| 2367 | function self:drawScrollingContainer(ysz) | |
| 2368 | ||
| 2369 | local sz = UDim2.new(1, -(self.sepr/2) - 11, 0, ysz) | |
| 2370 | ||
| 2371 | local pos = UDim2.new(0, self.sepr/2, 0, self.drawY) | |
| 2372 | ||
| 2373 | local obj = topkek.libutil:createObject("ScrollingFrame", {
| |
| 2374 | ||
| 2375 | Parent = self.main; | |
| 2376 | ||
| 2377 | BackgroundColor3 = color3(7, 11, 15); | |
| 2378 | ||
| 2379 | BorderColor3 = color3(27, 42, 53); | |
| 2380 | ||
| 2381 | Position = pos; | |
| 2382 | ||
| 2383 | Size = sz; | |
| 2384 | ||
| 2385 | BottomImage = 'rbxassetid://573102620'; | |
| 2386 | ||
| 2387 | MidImage = 'rbxassetid://573102620'; | |
| 2388 | ||
| 2389 | TopImage = 'rbxassetid://573102620'; | |
| 2390 | ||
| 2391 | ScrollBarThickness = 5; | |
| 2392 | ||
| 2393 | }) | |
| 2394 | ||
| 2395 | self.drawY = self.drawY + 5 + ysz | |
| 2396 | ||
| 2397 | self.drawX = 0 | |
| 2398 | ||
| 2399 | self.drawHeight = 0 | |
| 2400 | ||
| 2401 | self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5) | |
| 2402 | ||
| 2403 | return topkek.libgui:hookContainer(obj, 12, 5) | |
| 2404 | ||
| 2405 | end | |
| 2406 | ||
| 2407 | ||
| 2408 | ||
| 2409 | function self:drawContainer(xsz, ysz) | |
| 2410 | ||
| 2411 | local sz = UDim2.new(xsz, -(self.sepr/2) - 11, 0, ysz) | |
| 2412 | ||
| 2413 | local pos = UDim2.new(0, self.sepr/2, 0, self.drawY) | |
| 2414 | ||
| 2415 | local obj = topkek.libutil:createObject("ScrollingFrame", {
| |
| 2416 | ||
| 2417 | Parent = self.main; | |
| 2418 | ||
| 2419 | BackgroundTransparency = 1; | |
| 2420 | ||
| 2421 | Position = pos; | |
| 2422 | ||
| 2423 | Size = sz; | |
| 2424 | ||
| 2425 | }) | |
| 2426 | ||
| 2427 | self.drawY = self.drawY + 5 + ysz | |
| 2428 | ||
| 2429 | self.drawX = 0 | |
| 2430 | ||
| 2431 | self.drawHeight = 0 | |
| 2432 | ||
| 2433 | self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5) | |
| 2434 | ||
| 2435 | return topkek.libgui:hookContainer(obj, 12, 5) | |
| 2436 | ||
| 2437 | end | |
| 2438 | ||
| 2439 | ||
| 2440 | ||
| 2441 | function self:addSpacing() | |
| 2442 | ||
| 2443 | self.drawY = self.drawY + 3 | |
| 2444 | ||
| 2445 | end | |
| 2446 | ||
| 2447 | ||
| 2448 | ||
| 2449 | function self:center() | |
| 2450 | ||
| 2451 | local a,c,b= | |
| 2452 | ||
| 2453 | self.main.Position.X.Scale, | |
| 2454 | ||
| 2455 | self.main.Position.X.Offset,self.main.Size.Y.Offset | |
| 2456 | ||
| 2457 | self.main.Position=UDim2.new(a,c+2, 0.5, -(b/2)) | |
| 2458 | ||
| 2459 | end | |
| 2460 | ||
| 2461 | ||
| 2462 | ||
| 2463 | return self | |
| 2464 | ||
| 2465 | end | |
| 2466 | ||
| 2467 | ||
| 2468 | ||
| 2469 | --[[ windows ]]-- | |
| 2470 | ||
| 2471 | topkek.libwindows.windows = {}
| |
| 2472 | ||
| 2473 | function topkek.libwindows:registerWindow(w) | |
| 2474 | ||
| 2475 | table.insert(topkek.libwindows.windows, w) | |
| 2476 | ||
| 2477 | end | |
| 2478 | ||
| 2479 | function topkek.libwindows:switchWindow(w, x) | |
| 2480 | ||
| 2481 | for _, k in pairs(topkek.libwindows.windows) do | |
| 2482 | ||
| 2483 | if k.Name == w then | |
| 2484 | ||
| 2485 | k.Visible = true | |
| 2486 | ||
| 2487 | else | |
| 2488 | ||
| 2489 | k.Visible = false | |
| 2490 | ||
| 2491 | end | |
| 2492 | ||
| 2493 | end | |
| 2494 | ||
| 2495 | if w == 'HomeContainer' then | |
| 2496 | ||
| 2497 | base.Navigator.Visible = false | |
| 2498 | ||
| 2499 | else | |
| 2500 | ||
| 2501 | base.Navigator.Visible = true | |
| 2502 | ||
| 2503 | end | |
| 2504 | ||
| 2505 | base.Top.Location.Text = x | |
| 2506 | ||
| 2507 | end | |
| 2508 | ||
| 2509 | function topkek.libwindows:initiateNavigator() | |
| 2510 | ||
| 2511 | local nav = base.Navigator | |
| 2512 | ||
| 2513 | local template = nav.Item:Clone(); nav.Item:Destroy(); | |
| 2514 | ||
| 2515 | local wins = topkek.libsettings:getSetting('windows')
| |
| 2516 | ||
| 2517 | local y = 5 | |
| 2518 | ||
| 2519 | for _, k in pairs(wins) do | |
| 2520 | ||
| 2521 | local o = template:Clone() | |
| 2522 | ||
| 2523 | o.Parent = nav | |
| 2524 | ||
| 2525 | o.Position = UDim2.new(0, 5, 0, y) | |
| 2526 | ||
| 2527 | o.Text = k | |
| 2528 | ||
| 2529 | o.MouseButton1Down:connect(function() | |
| 2530 | ||
| 2531 | topkek.libwindows:switchWindow(k .. 'Container', k) | |
| 2532 | ||
| 2533 | end) | |
| 2534 | ||
| 2535 | y = y + 25 | |
| 2536 | ||
| 2537 | end | |
| 2538 | ||
| 2539 | nav.CanvasSize = UDim2.new(0, 0, 0, y) | |
| 2540 | ||
| 2541 | end | |
| 2542 | ||
| 2543 | function topkek.libwindows:initiateHome() | |
| 2544 | ||
| 2545 | local home = base.HomeContainer | |
| 2546 | ||
| 2547 | home.LocalPlayer.Mask.MouseButton1Down:connect(function() | |
| 2548 | ||
| 2549 | topkek.libwindows:switchWindow('LocalPlayerContainer', 'LocalPlayer')
| |
| 2550 | ||
| 2551 | end) | |
| 2552 | ||
| 2553 | home.Server.Mask.MouseButton1Down:connect(function() | |
| 2554 | ||
| 2555 | topkek.libwindows:switchWindow('ServerContainer', 'Server')
| |
| 2556 | ||
| 2557 | end) | |
| 2558 | ||
| 2559 | home.Scripts.Mask.MouseButton1Down:connect(function() | |
| 2560 | ||
| 2561 | topkek.libwindows:switchWindow('ScriptsContainer', 'Scripts')
| |
| 2562 | ||
| 2563 | end) | |
| 2564 | ||
| 2565 | home.Miscellaneous.Mask.MouseButton1Down:connect(function() | |
| 2566 | ||
| 2567 | topkek.libwindows:switchWindow('MiscellaneousContainer', 'Miscellaneous')
| |
| 2568 | ||
| 2569 | end) | |
| 2570 | ||
| 2571 | home.Players.Mask.MouseButton1Down:connect(function() | |
| 2572 | ||
| 2573 | topkek.libwindows:switchWindow('PlayersContainer', 'Players')
| |
| 2574 | ||
| 2575 | end) | |
| 2576 | ||
| 2577 | home.Settings.Mask.MouseButton1Down:connect(function() | |
| 2578 | ||
| 2579 | topkek.libwindows:switchWindow('SettingsContainer', 'Settings')
| |
| 2580 | ||
| 2581 | end) | |
| 2582 | ||
| 2583 | end | |
| 2584 | ||
| 2585 | --[[ defines ]]-- | |
| 2586 | ||
| 2587 | topkek.libsettings:setSetting('version', '1.0.0')
| |
| 2588 | ||
| 2589 | topkek.libsettings:setSetting('bans', {})
| |
| 2590 | ||
| 2591 | topkek.libsettings:setSetting('admins', {})
| |
| 2592 | ||
| 2593 | topkek.libsettings:setSetting('windows', {
| |
| 2594 | ||
| 2595 | 'Home'; | |
| 2596 | ||
| 2597 | 'Server'; | |
| 2598 | ||
| 2599 | 'LocalPlayer'; | |
| 2600 | ||
| 2601 | 'Players'; | |
| 2602 | ||
| 2603 | 'Scripts'; | |
| 2604 | ||
| 2605 | 'Miscellaneous'; | |
| 2606 | ||
| 2607 | 'Settings'; | |
| 2608 | ||
| 2609 | 'Explorer'; | |
| 2610 | ||
| 2611 | 'Gear'; | |
| 2612 | ||
| 2613 | 'Hats'; | |
| 2614 | ||
| 2615 | 'Music'; | |
| 2616 | ||
| 2617 | 'Effects'; | |
| 2618 | ||
| 2619 | 'Filtering'; | |
| 2620 | ||
| 2621 | 'Commands'; | |
| 2622 | ||
| 2623 | }) | |
| 2624 | ||
| 2625 | topkek.libsettings:setSetting('misc', {
| |
| 2626 | ||
| 2627 | 'Explorer'; | |
| 2628 | ||
| 2629 | 'Gear'; | |
| 2630 | ||
| 2631 | 'Hats'; | |
| 2632 | ||
| 2633 | 'Music'; | |
| 2634 | ||
| 2635 | 'Effects'; | |
| 2636 | ||
| 2637 | 'Filtering'; | |
| 2638 | ||
| 2639 | 'Commands'; | |
| 2640 | ||
| 2641 | }) | |
| 2642 | ||
| 2643 | topkek.store.gui = ScreenGui; gui = topkek.store.gui -- change later | |
| 2644 | ||
| 2645 | topkek.store.base = topkek.store.gui['Base']; base = topkek.store.base | |
| 2646 | ||
| 2647 | -- [[ server ]] -- | |
| 2648 | ||
| 2649 | --sz, txt, func, ysz, cbgd | |
| 2650 | ||
| 2651 | local servwin = topkek.libgui:hookContainer(base['ServerContainer']) | |
| 2652 | ||
| 2653 | local decalList, decalImp = servwin:drawScrollingContainer(100) | |
| 2654 | ||
| 2655 | local decalAct = servwin:drawButton(2/3,'Spam Decal',function() | |
| 2656 | ||
| 2657 | topkek.libutil:recurseDecal(decalImp.Text)end) | |
| 2658 | ||
| 2659 | decalImp = servwin:drawTextBox(1/3,'573896613') | |
| 2660 | ||
| 2661 | servwin:drawButton(1,'Rollback Spam',function() | |
| 2662 | ||
| 2663 | topkek.libutil:recurseRemove('ParticleEmitter')
| |
| 2664 | ||
| 2665 | topkek.libutil:recurseRemove('Decal')
| |
| 2666 | ||
| 2667 | end) | |
| 2668 | ||
| 2669 | local decs = {
| |
| 2670 | ||
| 2671 | {'Cerberus', '573896613'},
| |
| 2672 | ||
| 2673 | {'Rain', '574772793'},
| |
| 2674 | ||
| 2675 | {'Robbie', '574773630'},
| |
| 2676 | ||
| 2677 | {'Pepe', '244905904'},
| |
| 2678 | ||
| 2679 | {'Troll Face', '48308661'},
| |
| 2680 | ||
| 2681 | {'Jeff', '109129888'},
| |
| 2682 | ||
| 2683 | {'Shrek', '170539018'},
| |
| 2684 | ||
| 2685 | {'Doge', '133720697'},
| |
| 2686 | ||
| 2687 | {'Dat Boi', '409578848'},
| |
| 2688 | ||
| 2689 | } | |
| 2690 | ||
| 2691 | for _, v in pairs(decs) do | |
| 2692 | ||
| 2693 | local b = decalList:drawButton(1, v[1], function()decalImp.Text=v[2]end,20,color3(5,8,11)) | |
| 2694 | ||
| 2695 | topkek.libgui:addLeftIcon(b,'rbxassetid://'..v[2],20) | |
| 2696 | ||
| 2697 | end | |
| 2698 | ||
| 2699 | servwin:addSpacing() | |
| 2700 | ||
| 2701 | -- [[lighting]] -- | |
| 2702 | ||
| 2703 | -- <<time>> -- | |
| 2704 | ||
| 2705 | local timeInp | |
| 2706 | ||
| 2707 | servwin:drawButton(2/3,'Set Time',function() | |
| 2708 | ||
| 2709 | game:GetService('Lighting').TimeOfDay = timeImp.Text .. ":00:00"
| |
| 2710 | ||
| 2711 | end) | |
| 2712 | ||
| 2713 | timeImp = servwin:drawTextBox(1/3,'14') | |
| 2714 | ||
| 2715 | -- <<fog> -- | |
| 2716 | ||
| 2717 | local fogInp | |
| 2718 | ||
| 2719 | servwin:drawButton(2/3,'Set FogEnd',function() | |
| 2720 | ||
| 2721 | if not tonumber(fogInp.Text) then return end | |
| 2722 | ||
| 2723 | game:GetService('Lighting').FogEnd = tonumber(fogInp.Text)
| |
| 2724 | ||
| 2725 | end) | |
| 2726 | ||
| 2727 | fogInp = servwin:drawTextBox(1/3,'100000') | |
| 2728 | ||
| 2729 | -- <<brightness>> -- | |
| 2730 | ||
| 2731 | local brightInp | |
| 2732 | ||
| 2733 | servwin:drawButton(2/3,'Set Brightness',function() | |
| 2734 | ||
| 2735 | if not tonumber(brightInp.Text) then return end | |
| 2736 | ||
| 2737 | game:GetService('Lighting').Brightness = tonumber(brightInp.Text)
| |
| 2738 | ||
| 2739 | end) | |
| 2740 | ||
| 2741 | brightInp = servwin:drawTextBox(1/3,'1') | |
| 2742 | ||
| 2743 | -- <<reset>> -- | |
| 2744 | ||
| 2745 | servwin:drawButton(1,'Reset Lighting',function() | |
| 2746 | ||
| 2747 | local l = game:service'Lighting' | |
| 2748 | ||
| 2749 | l.Ambient = Color3.new(0, 0, 0) | |
| 2750 | ||
| 2751 | l.Brightness = 1 | |
| 2752 | ||
| 2753 | l.GlobalShadows = true | |
| 2754 | ||
| 2755 | l.Outlines = true | |
| 2756 | ||
| 2757 | l.FogEnd = 100000 | |
| 2758 | ||
| 2759 | l.FogStart = 0 | |
| 2760 | ||
| 2761 | l:SetMinutesAfterMidnight(12*60) | |
| 2762 | ||
| 2763 | end) | |
| 2764 | ||
| 2765 | -- [[ fixing ]] -- | |
| 2766 | ||
| 2767 | servwin:addSpacing() | |
| 2768 | ||
| 2769 | servwin:drawButton(1/2,'Clear Server',function() | |
| 2770 | ||
| 2771 | for i,v in pairs(game:service'Workspace':GetChildren()) do | |
| 2772 | ||
| 2773 | if (not v:IsA("Terrain"))and(v.Name~="Camera") then
| |
| 2774 | ||
| 2775 | v:Destroy() | |
| 2776 | ||
| 2777 | end | |
| 2778 | ||
| 2779 | end | |
| 2780 | ||
| 2781 | end) | |
| 2782 | ||
| 2783 | servwin:drawButton(1/2,'Shutdown',function() | |
| 2784 | ||
| 2785 | for i,v in pairs(game:GetService('Players')) do
| |
| 2786 | ||
| 2787 | v.Parent = nil | |
| 2788 | ||
| 2789 | end | |
| 2790 | ||
| 2791 | end) | |
| 2792 | ||
| 2793 | servwin:drawButton(1/2,'Remove Sound',function() | |
| 2794 | ||
| 2795 | topkek.libutil:recurseRemove('Sound')
| |
| 2796 | ||
| 2797 | end) | |
| 2798 | ||
| 2799 | servwin:drawButton(1/2,'Baseplate',function() | |
| 2800 | ||
| 2801 | for X = -2500, 2500, 512 do | |
| 2802 | ||
| 2803 | for Z = -2500, 2500, 512 do | |
| 2804 | ||
| 2805 | local P = Instance.new("Part")
| |
| 2806 | ||
| 2807 | P.Anchored = true | |
| 2808 | ||
| 2809 | P.Locked = true | |
| 2810 | ||
| 2811 | P.Size = Vector3.new(512,3,512) | |
| 2812 | ||
| 2813 | P.CFrame = CFrame.new(X,0,Z) | |
| 2814 | ||
| 2815 | P.BrickColor = BrickColor.Green() | |
| 2816 | ||
| 2817 | P.Parent = game:service'Workspace' | |
| 2818 | ||
| 2819 | end | |
| 2820 | ||
| 2821 | end | |
| 2822 | ||
| 2823 | end) | |
| 2824 | ||
| 2825 | --[[ destruction ]]-- | |
| 2826 | ||
| 2827 | servwin:addSpacing() | |
| 2828 | ||
| 2829 | servwin:drawButton(1/2,'Clear Terrain',function() | |
| 2830 | ||
| 2831 | game:service'Workspace'.Terrain:Clear() | |
| 2832 | ||
| 2833 | end) | |
| 2834 | ||
| 2835 | servwin:drawButton(1/2,'Flood',function() | |
| 2836 | ||
| 2837 | game:service'Workspace'.Terrain:SetCells(Region3int16.new(Vector3int16.new(-100,-100,-100), Vector3int16.new(100,100,100)), 17, "Solid", "X") | |
| 2838 | ||
| 2839 | end) | |
| 2840 | ||
| 2841 | servwin:drawButton(1/2,'Reflectancy',function() | |
| 2842 | ||
| 2843 | topkek.libutil:recurseSet('BasePart','Reflectance',1)
| |
| 2844 | ||
| 2845 | end) | |
| 2846 | ||
| 2847 | servwin:drawButton(1/2,'Transparency',function() | |
| 2848 | ||
| 2849 | topkek.libutil:recurseSet('BasePart','Transparency',1)
| |
| 2850 | ||
| 2851 | end) | |
| 2852 | ||
| 2853 | servwin:drawButton(1/2,'666',function() | |
| 2854 | ||
| 2855 | for i,v in next,workspace:children''do | |
| 2856 | ||
| 2857 | if(v:IsA'BasePart')then | |
| 2858 | ||
| 2859 | me=v; | |
| 2860 | ||
| 2861 | bbg=Instance.new('BillboardGui',me);
| |
| 2862 | ||
| 2863 | bbg.Name='stuf'; | |
| 2864 | ||
| 2865 | bbg.Adornee=me; | |
| 2866 | ||
| 2867 | bbg.Size=UDim2.new(2.5,0,2.5,0) | |
| 2868 | ||
| 2869 | --bbg.StudsOffset=Vector3.new(0,2,0) | |
| 2870 | ||
| 2871 | tlb=Instance.new'TextLabel'; | |
| 2872 | ||
| 2873 | tlb.Text='666 666 666 666 666 666'; | |
| 2874 | ||
| 2875 | tlb.Font='SourceSansBold'; | |
| 2876 | ||
| 2877 | tlb.FontSize='Size48'; | |
| 2878 | ||
| 2879 | tlb.TextColor3=Color3.new(1,0,0); | |
| 2880 | ||
| 2881 | tlb.Size=UDim2.new(1.25,0,1.25,0); | |
| 2882 | ||
| 2883 | tlb.Position=UDim2.new(-0.125,-22,-1.1,0); | |
| 2884 | ||
| 2885 | tlb.BackgroundTransparency=1; | |
| 2886 | ||
| 2887 | tlb.Parent=bbg; | |
| 2888 | ||
| 2889 | end;end; | |
| 2890 | ||
| 2891 | --coroutine.wrap(function()while wait''do | |
| 2892 | ||
| 2893 | s=Instance.new'Sound'; | |
| 2894 | ||
| 2895 | s.Parent=workspace; | |
| 2896 | ||
| 2897 | s.SoundId='rbxassetid://152840862'; | |
| 2898 | ||
| 2899 | s.Pitch=1; | |
| 2900 | ||
| 2901 | s.Volume=1; | |
| 2902 | ||
| 2903 | s.Looped=true; | |
| 2904 | ||
| 2905 | s:play(); | |
| 2906 | ||
| 2907 | --end;end)(); | |
| 2908 | ||
| 2909 | function xds(dd) | |
| 2910 | ||
| 2911 | for i,v in next,dd:children''do | |
| 2912 | ||
| 2913 | if(v:IsA'BasePart')then | |
| 2914 | ||
| 2915 | v.BrickColor=BrickColor.new'Really black'; | |
| 2916 | ||
| 2917 | v.TopSurface='Smooth'; | |
| 2918 | ||
| 2919 | v.BottomSurface='Smooth'; | |
| 2920 | ||
| 2921 | s=Instance.new('SelectionBox',v);
| |
| 2922 | ||
| 2923 | s.Adornee=v; | |
| 2924 | ||
| 2925 | s.Color=BrickColor.new'Really red'; | |
| 2926 | ||
| 2927 | a=Instance.new('PointLight',v);
| |
| 2928 | ||
| 2929 | a.Color=Color3.new(1,0,0); | |
| 2930 | ||
| 2931 | a.Range=15; | |
| 2932 | ||
| 2933 | a.Brightness=5; | |
| 2934 | ||
| 2935 | f=Instance.new('Fire',v);
| |
| 2936 | ||
| 2937 | f.Size=19; | |
| 2938 | ||
| 2939 | f.Heat=22; | |
| 2940 | ||
| 2941 | end; | |
| 2942 | ||
| 2943 | game.Lighting.TimeOfDay=0; | |
| 2944 | ||
| 2945 | game.Lighting.Brightness=0; | |
| 2946 | ||
| 2947 | game.Lighting.ShadowColor=Color3.new(0,0,0); | |
| 2948 | ||
| 2949 | game.Lighting.Ambient=Color3.new(1,0,0); | |
| 2950 | ||
| 2951 | game.Lighting.FogEnd=200; | |
| 2952 | ||
| 2953 | game.Lighting.FogColor=Color3.new(0,0,0); | |
| 2954 | ||
| 2955 | local dec = 'http://www.roblox.com/asset/?id=19399245'; | |
| 2956 | ||
| 2957 | local fac = {'Front', 'Back', 'Left', 'Right', 'Top', 'Bottom'}
| |
| 2958 | ||
| 2959 | --coroutine.wrap(function() | |
| 2960 | ||
| 2961 | --for _,__ in pairs(fac) do | |
| 2962 | ||
| 2963 | --local ddec = Instance.new("Decal", v)
| |
| 2964 | ||
| 2965 | --ddec.Face = __ | |
| 2966 | ||
| 2967 | --ddec.Texture = dec | |
| 2968 | ||
| 2969 | --end end)() | |
| 2970 | ||
| 2971 | if #(v:GetChildren())>0 then | |
| 2972 | ||
| 2973 | xds(v) | |
| 2974 | ||
| 2975 | end | |
| 2976 | ||
| 2977 | end | |
| 2978 | ||
| 2979 | end | |
| 2980 | ||
| 2981 | xds(game.Workspace) | |
| 2982 | ||
| 2983 | end) | |
| 2984 | ||
| 2985 | servwin:drawButton(1/2,'Troll',function() | |
| 2986 | ||
| 2987 | topkek.libutil:recurseDecal('48308661')
| |
| 2988 | ||
| 2989 | topkek.libutil:Play(154664102) | |
| 2990 | ||
| 2991 | end) | |
| 2992 | ||
| 2993 | servwin:drawButton(1/2,'Colorize',function() -- when u skid off variable XDDDDDpranked | |
| 2994 | ||
| 2995 | local materiallist = | |
| 2996 | ||
| 2997 | {Enum.Material.Plastic,Enum.Material.Wood,Enum.Material.Slate,Enum.Material.Concrete,Enum.Material.CorrodedMetal,
| |
| 2998 | ||
| 2999 | Enum.Material.DiamondPlate,Enum.Material.Foil,Enum.Material.Grass, | |
| 3000 | ||
| 3001 | Enum.Material.Ice,Enum.Material.Marble,Enum.Material.Granite,Enum.Material.Brick, | |
| 3002 | ||
| 3003 | Enum.Material.Pebble,Enum.Material.Sand,Enum.Material.Sand, | |
| 3004 | ||
| 3005 | Enum.Material.Fabric,Enum.Material.SmoothPlastic,Enum.Material.Metal,Enum.Material.WoodPlanks,Enum.Material.Neon,Enum.Material.Cobblestone} | |
| 3006 | ||
| 3007 | local function r(where) | |
| 3008 | ||
| 3009 | for _,v in pairs (where:GetChildren()) do | |
| 3010 | ||
| 3011 | if v:IsA("BasePart") then
| |
| 3012 | ||
| 3013 | spawn(function() while wait(0.1) do v.Material = materiallist[math.random(#materiallist)] wait() end end) end r(v) end end r(workspace) | |
| 3014 | ||
| 3015 | end) | |
| 3016 | ||
| 3017 | servwin:drawButton(1/2,'Materialize',function() | |
| 3018 | ||
| 3019 | local function r(where) | |
| 3020 | ||
| 3021 | for _,v in pairs (where:GetChildren()) do | |
| 3022 | ||
| 3023 | if v:IsA("BasePart") then
| |
| 3024 | ||
| 3025 | spawn(function() while wait(0.1) do v.Transparency = math.random(0,1) wait() end end) end r(v) end end r(workspace) | |
| 3026 | ||
| 3027 | end) | |
| 3028 | ||
| 3029 | servwin:drawButton(1/2,'Meshify',function() | |
| 3030 | ||
| 3031 | local enums={
| |
| 3032 | ||
| 3033 | Enum.MeshType.Head; | |
| 3034 | ||
| 3035 | Enum.MeshType.Torso; | |
| 3036 | ||
| 3037 | Enum.MeshType.Wedge; | |
| 3038 | ||
| 3039 | Enum.MeshType.Brick; | |
| 3040 | ||
| 3041 | Enum.MeshType.Sphere; | |
| 3042 | ||
| 3043 | Enum.MeshType.Cylinder; | |
| 3044 | ||
| 3045 | } | |
| 3046 | ||
| 3047 | topkek.libutil:recurseFunc('BasePart',function(o)
| |
| 3048 | ||
| 3049 | local mesh = Instance.new('SpecialMesh', o)
| |
| 3050 | ||
| 3051 | mesh.MeshType = enums[math.random(1,#enums)] | |
| 3052 | ||
| 3053 | end) | |
| 3054 | ||
| 3055 | end) | |
| 3056 | ||
| 3057 | servwin:drawButton(1/2,'Loop-Meshify',function() | |
| 3058 | ||
| 3059 | coroutine.wrap(function() | |
| 3060 | ||
| 3061 | while true do | |
| 3062 | ||
| 3063 | local enums={
| |
| 3064 | ||
| 3065 | Enum.MeshType.Head; | |
| 3066 | ||
| 3067 | Enum.MeshType.Torso; | |
| 3068 | ||
| 3069 | Enum.MeshType.Wedge; | |
| 3070 | ||
| 3071 | Enum.MeshType.Brick; | |
| 3072 | ||
| 3073 | Enum.MeshType.Sphere; | |
| 3074 | ||
| 3075 | Enum.MeshType.Cylinder; | |
| 3076 | ||
| 3077 | } | |
| 3078 | ||
| 3079 | topkek.libutil:recurseFunc('BasePart',function(o)
| |
| 3080 | ||
| 3081 | if o:FindFirstChild("Mesh") then o.Mesh:Destroy() end
| |
| 3082 | ||
| 3083 | local mesh = Instance.new('SpecialMesh', o)
| |
| 3084 | ||
| 3085 | mesh.MeshType = enums[math.random(1,#enums)] | |
| 3086 | ||
| 3087 | end) | |
| 3088 | ||
| 3089 | wait(0.5) | |
| 3090 | ||
| 3091 | end | |
| 3092 | ||
| 3093 | end)() | |
| 3094 | ||
| 3095 | end) | |
| 3096 | ||
| 3097 | --<<<< END OF SERVER MENU >>>>-- | |
| 3098 | ||
| 3099 | plrwin = topkek.libgui:hookContainer(base['PlayersContainer']) | |
| 3100 | ||
| 3101 | local plrDrop = plrwin:drawButton(1,'test-dropdown',function()end) | |
| 3102 | ||
| 3103 | plrDrop = dropdown.new(plrDrop,topkek.libutil:GetPlayerList(),'Everybody') | |
| 3104 | ||
| 3105 | game:GetService('Players').PlayerAdded:connect(function()
| |
| 3106 | ||
| 3107 | plrDrop.update(topkek.libutil:GetPlayerList()) | |
| 3108 | ||
| 3109 | end) | |
| 3110 | ||
| 3111 | game:GetService('Players').PlayerRemoving:connect(function()
| |
| 3112 | ||
| 3113 | plrDrop.update(topkek.libutil:GetPlayerList()) | |
| 3114 | ||
| 3115 | end) | |
| 3116 | ||
| 3117 | plrwin:addSpacing() | |
| 3118 | ||
| 3119 | local actions = plrwin --plrwin:drawScrollingContainer(163) [[lole]] | |
| 3120 | ||
| 3121 | actions:drawButton(1/3, 'Kill', function() | |
| 3122 | ||
| 3123 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 3124 | ||
| 3125 | if z.Character:FindFirstChild('Humanoid') then
| |
| 3126 | ||
| 3127 | z.Character.Humanoid.Health = 0 | |
| 3128 | ||
| 3129 | end | |
| 3130 | ||
| 3131 | end) | |
| 3132 | ||
| 3133 | end) | |
| 3134 | ||
| 3135 | actions:drawButton(1/3, 'Freeze', function() | |
| 3136 | ||
| 3137 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 3138 | ||
| 3139 | if z.Character:FindFirstChild('Humanoid') then
| |
| 3140 | ||
| 3141 | topkek.libutil:getTorso(z).Anchored = true | |
| 3142 | ||
| 3143 | end | |
| 3144 | ||
| 3145 | end) | |
| 3146 | ||
| 3147 | end) | |
| 3148 | ||
| 3149 | actions:drawButton(1/3, 'Thaw', function() | |
| 3150 | ||
| 3151 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 3152 | ||
| 3153 | if z.Character:FindFirstChild('Humanoid') then
| |
| 3154 | ||
| 3155 | topkek.libutil:getTorso(z).Anchored = false | |
| 3156 | ||
| 3157 | end | |
| 3158 | ||
| 3159 | end) | |
| 3160 | ||
| 3161 | end) | |
| 3162 | ||
| 3163 | actions:drawButton(1/3, 'Fire', function() | |
| 3164 | ||
| 3165 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 3166 | ||
| 3167 | if z.Character then | |
| 3168 | ||
| 3169 | Instance.new("Fire", topkek.libutil:getTorso(z))
| |
| 3170 | ||
| 3171 | end | |
| 3172 | ||
| 3173 | end) | |
| 3174 | ||
| 3175 | end) | |
| 3176 | ||
| 3177 | actions:drawButton(1/3, 'Sparkles', function() | |
| 3178 | ||
| 3179 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 3180 | ||
| 3181 | if z.Character then | |
| 3182 | ||
| 3183 | Instance.new("Sparkles", topkek.libutil:getTorso(z))
| |
| 3184 | ||
| 3185 | end | |
| 3186 | ||
| 3187 | end) | |
| 3188 | ||
| 3189 | end) | |
| 3190 | ||
| 3191 | actions:drawButton(1/3, 'Smoke', function() | |
| 3192 | ||
| 3193 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 3194 | ||
| 3195 | if z.Character then | |
| 3196 | ||
| 3197 | Instance.new("Smoke", topkek.libutil:getTorso(z))
| |
| 3198 | ||
| 3199 | end | |
| 3200 | ||
| 3201 | end) | |
| 3202 | ||
| 3203 | end) | |
| 3204 | ||
| 3205 | actions:drawButton(1/3, 'BTools', function() | |
| 3206 | ||
| 3207 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 3208 | ||
| 3209 | local a = Instance.new("HopperBin")
| |
| 3210 | ||
| 3211 | a.BinType = "GameTool" | |
| 3212 | ||
| 3213 | a.Parent = z.Backpack | |
| 3214 | ||
| 3215 | local a = Instance.new("HopperBin")
| |
| 3216 | ||
| 3217 | a.BinType = "Clone" | |
| 3218 | ||
| 3219 | a.Parent = z.Backpack | |
| 3220 | ||
| 3221 | local a = Instance.new("HopperBin")
| |
| 3222 | ||
| 3223 | a.BinType = "Hammer" | |
| 3224 | ||
| 3225 | a.Parent = z.Backpack | |
| 3226 | ||
| 3227 | end) | |
| 3228 | ||
| 3229 | end) | |
| 3230 | ||
| 3231 | actions:drawButton(1/3, 'Kick', function() | |
| 3232 | ||
| 3233 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 3234 | ||
| 3235 | local function doKick() | |
| 3236 | ||
| 3237 | if z.Character and z.Character:FindFirstChild('HumanoidRootPart') and z.Character:FindFirstChild('Torso') then
| |
| 3238 | ||
| 3239 | z.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000) | |
| 3240 | ||
| 3241 | local SP = Instance.new('SkateboardPlatform', z.Character) SP.Position = z.Character.HumanoidRootPart.Position SP.Transparency = 1
| |
| 3242 | ||
| 3243 | spawn(function() | |
| 3244 | ||
| 3245 | repeat wait() | |
| 3246 | ||
| 3247 | if z.Character and z.Character:FindFirstChild('HumanoidRootPart') then
| |
| 3248 | ||
| 3249 | SP.Position = z.Character.HumanoidRootPart.Position | |
| 3250 | ||
| 3251 | end | |
| 3252 | ||
| 3253 | until not game:GetService('Players'):FindFirstChild(z.Name)
| |
| 3254 | ||
| 3255 | end) | |
| 3256 | ||
| 3257 | z.Character.Torso.Anchored = true | |
| 3258 | ||
| 3259 | end | |
| 3260 | ||
| 3261 | end | |
| 3262 | ||
| 3263 | repeat | |
| 3264 | ||
| 3265 | doKick() | |
| 3266 | ||
| 3267 | wait() | |
| 3268 | ||
| 3269 | until not z | |
| 3270 | ||
| 3271 | end) | |
| 3272 | ||
| 3273 | end) | |
| 3274 | ||
| 3275 | actions:drawButton(1/3, 'Nil', function() | |
| 3276 | ||
| 3277 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 3278 | ||
| 3279 | z.Parent = nil | |
| 3280 | ||
| 3281 | end) | |
| 3282 | ||
| 3283 | end) | |
| 3284 | ||
| 3285 | actions:drawButton(1/3, 'Bring', function() | |
| 3286 | ||
| 3287 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 3288 | ||
| 3289 | if z.Character then | |
| 3290 | ||
| 3291 | z.Character.HumanoidRootPart.CFrame = | |
| 3292 | ||
| 3293 | game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(1,1,1) | |
| 3294 | ||
| 3295 | end | |
| 3296 | ||
| 3297 | end) | |
| 3298 | ||
| 3299 | end) | |
| 3300 | ||
| 3301 | actions:drawButton(1/3, 'Goto', function() | |
| 3302 | ||
| 3303 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 3304 | ||
| 3305 | if z.Character then | |
| 3306 | ||
| 3307 | game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame = | |
| 3308 | ||
| 3309 | z.Character.HumanoidRootPart.CFrame * CFrame.new(1,1,1) | |
| 3310 | ||
| 3311 | end | |
| 3312 | ||
| 3313 | end) | |
| 3314 | ||
| 3315 | end) | |
| 3316 | ||
| 3317 | actions:drawButton(1/3, 'Freefall', function() | |
| 3318 | ||
| 3319 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 3320 | ||
| 3321 | if z.Character then | |
| 3322 | ||
| 3323 | z.Character.HumanoidRootPart.CFrame = z.Character.HumanoidRootPart.CFrame * CFrame.new(0, 10000, 0) | |
| 3324 | ||
| 3325 | end | |
| 3326 | ||
| 3327 | end) | |
| 3328 | ||
| 3329 | end) | |
| 3330 | ||
| 3331 | actions:drawButton(1/3, 'Sword', function() | |
| 3332 | ||
| 3333 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 3334 | ||
| 3335 | insert(125013769).Parent = z.Backpack | |
| 3336 | ||
| 3337 | end) | |
| 3338 | ||
| 3339 | end) | |
| 3340 | ||
| 3341 | actions:drawButton(1/3, 'Guns', function() | |
| 3342 | ||
| 3343 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 3344 | ||
| 3345 | insert(130113146).Parent = z.Backpack | |
| 3346 | ||
| 3347 | insert(67747912).Parent = z.Backpack | |
| 3348 | ||
| 3349 | insert(95354288).Parent = z.Backpack | |
| 3350 | ||
| 3351 | end) | |
| 3352 | ||
| 3353 | end) | |
| 3354 | ||
| 3355 | actions:drawButton(1/3, 'Knife', function() | |
| 3356 | ||
| 3357 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 3358 | ||
| 3359 | insert(170897263).Parent = z.Backpack | |
| 3360 | ||
| 3361 | end) | |
| 3362 | ||
| 3363 | end) | |
| 3364 | ||
| 3365 | ||
| 3366 | ||
| 3367 | actions:drawButton(1/3, 'Stun', function() | |
| 3368 | ||
| 3369 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 3370 | ||
| 3371 | if not z.Character:FindFirstChild('UpperTorso') then
| |
| 3372 | ||
| 3373 | z.Character.Torso.CFrame = z.Character.Torso.CFrame * CFrame.Angles(math.rad(90),0,0) | |
| 3374 | ||
| 3375 | end | |
| 3376 | ||
| 3377 | z.Character.Humanoid.PlatformStand = true | |
| 3378 | ||
| 3379 | end) | |
| 3380 | ||
| 3381 | end) | |
| 3382 | ||
| 3383 | actions:drawButton(1/3, 'Invisible', function() | |
| 3384 | ||
| 3385 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 3386 | ||
| 3387 | if z.Character then | |
| 3388 | ||
| 3389 | topkek.libutil:recurseSetObj(z.Character, 'BasePart', 'Transparency', 1) | |
| 3390 | ||
| 3391 | topkek.libutil:recurseSetObj(z.Character, 'MeshPart', 'Transparency', 1) | |
| 3392 | ||
| 3393 | end | |
| 3394 | ||
| 3395 | end) | |
| 3396 | ||
| 3397 | end) | |
| 3398 | ||
| 3399 | actions:drawButton(1/3, 'Visible', function() | |
| 3400 | ||
| 3401 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 3402 | ||
| 3403 | if z.Character then | |
| 3404 | ||
| 3405 | topkek.libutil:recurseSetObj(z.Character, 'BasePart', 'Transparency', 0) | |
| 3406 | ||
| 3407 | topkek.libutil:recurseSetObj(z.Character, 'MeshPart', 'Transparency', 1) | |
| 3408 | ||
| 3409 | end | |
| 3410 | ||
| 3411 | end) | |
| 3412 | ||
| 3413 | end) | |
| 3414 | ||
| 3415 | actions:drawButton(1/3, 'God', function() | |
| 3416 | ||
| 3417 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 3418 | ||
| 3419 | if z.Character:FindFirstChild('Humanoid') then
| |
| 3420 | ||
| 3421 | z.Character.Humanoid.MaxHealth = math.huge | |
| 3422 | ||
| 3423 | z.Character.Humanoid.Health = math.huge | |
| 3424 | ||
| 3425 | end | |
| 3426 | ||
| 3427 | end) | |
| 3428 | ||
| 3429 | end) | |
| 3430 | ||
| 3431 | ||
| 3432 | ||
| 3433 | actions:drawButton(1/3, 'Semigod', function() | |
| 3434 | ||
| 3435 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 3436 | ||
| 3437 | if z.Character:FindFirstChild('Humanoid') then
| |
| 3438 | ||
| 3439 | z.Character.Humanoid.MaxHealth = 9999999999 | |
| 3440 | ||
| 3441 | z.Character.Humanoid.Health = 9999999999 | |
| 3442 | ||
| 3443 | end | |
| 3444 | ||
| 3445 | end) | |
| 3446 | ||
| 3447 | end) | |
| 3448 | ||
| 3449 | actions:drawButton(1/3, 'Nuke', function() | |
| 3450 | ||
| 3451 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 3452 | ||
| 3453 | local torso = topkek.libutil:getTorso(z) | |
| 3454 | ||
| 3455 | local nuke = Instance.new("Part", game.Workspace)
| |
| 3456 | ||
| 3457 | local opos = torso.CFrame | |
| 3458 | ||
| 3459 | nuke.BrickColor = BrickColor.new("Bright yellow")
| |
| 3460 | ||
| 3461 | nuke.TopSurface = Enum.SurfaceType.Smooth | |
| 3462 | ||
| 3463 | nuke.BottomSurface = Enum.SurfaceType.Smooth | |
| 3464 | ||
| 3465 | nuke.Anchored = true | |
| 3466 | ||
| 3467 | nuke.CanCollide = false | |
| 3468 | ||
| 3469 | nuke.Shape = "Ball" | |
| 3470 | ||
| 3471 | nuke.Transparency = 0.5 | |
| 3472 | ||
| 3473 | nuke.CFrame = torso.CFrame | |
| 3474 | ||
| 3475 | nuke.Size = Vector3.new(1, 1, 1) | |
| 3476 | ||
| 3477 | nuke.Touched:connect(function(p) | |
| 3478 | ||
| 3479 | local expl = Instance.new("Explosion", p)
| |
| 3480 | ||
| 3481 | expl.BlastPressure = 50000 | |
| 3482 | ||
| 3483 | expl.BlastRadius = 50 | |
| 3484 | ||
| 3485 | expl.Position = p.Position | |
| 3486 | ||
| 3487 | p.Material = Enum.Material.CorrodedMetal | |
| 3488 | ||
| 3489 | p:BreakJoints() | |
| 3490 | ||
| 3491 | end) | |
| 3492 | ||
| 3493 | for i = 1, 150 do | |
| 3494 | ||
| 3495 | nuke.Size = Vector3.new(i, i, i) | |
| 3496 | ||
| 3497 | nuke.CFrame = opos | |
| 3498 | ||
| 3499 | wait(0.08) | |
| 3500 | ||
| 3501 | end | |
| 3502 | ||
| 3503 | nuke:Destroy() | |
| 3504 | ||
| 3505 | end) | |
| 3506 | ||
| 3507 | end) | |
| 3508 | ||
| 3509 | actions:drawButton(1/3, 'Confuse', function() | |
| 3510 | ||
| 3511 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 3512 | ||
| 3513 | if z.Character:FindFirstChild('Humanoid') then
| |
| 3514 | ||
| 3515 | z.Character.Humanoid.WalkSpeed = -16 | |
| 3516 | ||
| 3517 | end | |
| 3518 | ||
| 3519 | end) | |
| 3520 | ||
| 3521 | end) | |
| 3522 | ||
| 3523 | actions:drawButton(1/3, 'Goldify', function() | |
| 3524 | ||
| 3525 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 3526 | ||
| 3527 | if z.Character then | |
| 3528 | ||
| 3529 | topkek.libutil:recurseSetObj(z.Character, 'BasePart', 'Material', 'Marble') | |
| 3530 | ||
| 3531 | topkek.libutil:recurseSetObj(z.Character, 'MeshPart', 'Material', 'Marble') | |
| 3532 | ||
| 3533 | topkek.libutil:recurseSetObj(z.Character, 'BasePart', 'BrickColor', BrickColor.new('Bright yellow'))
| |
| 3534 | ||
| 3535 | topkek.libutil:recurseSetObj(z.Character, 'MeshPart', 'BrickColor', BrickColor.new('Bright yellow'))
| |
| 3536 | ||
| 3537 | end | |
| 3538 | ||
| 3539 | end) | |
| 3540 | ||
| 3541 | end) | |
| 3542 | ||
| 3543 | actions:drawButton(1/3, 'Neon', function() | |
| 3544 | ||
| 3545 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 3546 | ||
| 3547 | if z.Character then | |
| 3548 | ||
| 3549 | topkek.libutil:recurseSetObj(z.Character, 'BasePart', 'Material', 'Neon') | |
| 3550 | ||
| 3551 | topkek.libutil:recurseSetObj(z.Character, 'MeshPart', 'Material', 'Neon') | |
| 3552 | ||
| 3553 | end | |
| 3554 | ||
| 3555 | end) | |
| 3556 | ||
| 3557 | end) | |
| 3558 | ||
| 3559 | actions:drawButton(1/3, 'Insane', function() | |
| 3560 | ||
| 3561 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 3562 | ||
| 3563 | if z.Character then | |
| 3564 | ||
| 3565 | for i,v in pairs(topkek.libutil:getTorso(z):GetChildren()) do | |
| 3566 | ||
| 3567 | if v:IsA("Motor6D") then
| |
| 3568 | ||
| 3569 | coroutine.wrap(function() | |
| 3570 | ||
| 3571 | while v do | |
| 3572 | ||
| 3573 | v.C0=v.C0*CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180)) | |
| 3574 | ||
| 3575 | wait() | |
| 3576 | ||
| 3577 | end | |
| 3578 | ||
| 3579 | end)() | |
| 3580 | ||
| 3581 | end | |
| 3582 | ||
| 3583 | end | |
| 3584 | ||
| 3585 | end | |
| 3586 | ||
| 3587 | end) | |
| 3588 | ||
| 3589 | end) | |
| 3590 | ||
| 3591 | actions:drawButton(1/3, 'Quicksand', function() | |
| 3592 | ||
| 3593 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 3594 | ||
| 3595 | if z.Character then | |
| 3596 | ||
| 3597 | if z.Character:FindFirstChild('Humanoid') then
| |
| 3598 | ||
| 3599 | local tor = topkek.libutil:getTorso(z) | |
| 3600 | ||
| 3601 | local hole = Instance.new("Part", z.Character)
| |
| 3602 | ||
| 3603 | hole.Anchored = true | |
| 3604 | ||
| 3605 | hole.Name = "Hole" | |
| 3606 | ||
| 3607 | hole.FormFactor = Enum.FormFactor.Custom | |
| 3608 | ||
| 3609 | hole.Size = Vector3.new(7, 1, 7) | |
| 3610 | ||
| 3611 | hole.CanCollide = false | |
| 3612 | ||
| 3613 | hole.CFrame = tor.CFrame * CFrame.new(0,-3.3,0) | |
| 3614 | ||
| 3615 | hole.BrickColor = BrickColor.new("Cool yellow")
| |
| 3616 | ||
| 3617 | hole.Material = Enum.Material.Sand | |
| 3618 | ||
| 3619 | local hm = Instance.new("CylinderMesh", hole)
| |
| 3620 | ||
| 3621 | tor.Anchored = true | |
| 3622 | ||
| 3623 | if z.Character:FindFirstChild("Humanoid") then
| |
| 3624 | ||
| 3625 | z.Character.Humanoid.Jump = true | |
| 3626 | ||
| 3627 | end | |
| 3628 | ||
| 3629 | for x,m in pairs(z.Character:GetChildren()) do | |
| 3630 | ||
| 3631 | if m:IsA("BasePart") or m:IsA("MeshPart") then
| |
| 3632 | ||
| 3633 | m.CanCollide = false | |
| 3634 | ||
| 3635 | end | |
| 3636 | ||
| 3637 | end | |
| 3638 | ||
| 3639 | for i=1,75 do | |
| 3640 | ||
| 3641 | tor.CFrame=tor.CFrame*CFrame.new(0,-0.1,0) | |
| 3642 | ||
| 3643 | wait(0.06) | |
| 3644 | ||
| 3645 | end | |
| 3646 | ||
| 3647 | tor.CFrame=tor.CFrame*CFrame.new(0, | |
| 3648 | ||
| 3649 | -500,0 | |
| 3650 | ||
| 3651 | ) | |
| 3652 | ||
| 3653 | z.Character.Humanoid.Health = 0 | |
| 3654 | ||
| 3655 | end | |
| 3656 | ||
| 3657 | end | |
| 3658 | ||
| 3659 | end) | |
| 3660 | ||
| 3661 | end) | |
| 3662 | ||
| 3663 | actions:drawButton(1/3, 'Duck', function() | |
| 3664 | ||
| 3665 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 3666 | ||
| 3667 | if z.Character then | |
| 3668 | ||
| 3669 | local pchar = z.Character | |
| 3670 | ||
| 3671 | -- for i,v in pairs(pchar.Torso:GetChildren()) do | |
| 3672 | ||
| 3673 | -- if v:IsA("Decal") then
| |
| 3674 | ||
| 3675 | -- v:Destroy() | |
| 3676 | ||
| 3677 | -- end | |
| 3678 | ||
| 3679 | -- end | |
| 3680 | ||
| 3681 | for i,v in pairs(pchar:GetChildren()) do | |
| 3682 | ||
| 3683 | if v:IsA("Hat") or v:IsA("Accessory") then
| |
| 3684 | ||
| 3685 | v:Destroy() | |
| 3686 | ||
| 3687 | end | |
| 3688 | ||
| 3689 | end | |
| 3690 | ||
| 3691 | local duck = Instance.new("SpecialMesh", z.Character.HumanoidRootPart)
| |
| 3692 | ||
| 3693 | duck.MeshType = "FileMesh" | |
| 3694 | ||
| 3695 | duck.MeshId = "http://www.roblox.com/asset/?id=9419831" | |
| 3696 | ||
| 3697 | duck.TextureId = "http://www.roblox.com/asset/?id=9419827" | |
| 3698 | ||
| 3699 | duck.Scale = Vector3.new(5, 5, 5) | |
| 3700 | ||
| 3701 | topkek.libutil:recurseSetObj(z.Character, 'Instance', 'Transparency', 1) | |
| 3702 | ||
| 3703 | z.Character.HumanoidRootPart.Transparency = 0 | |
| 3704 | ||
| 3705 | end | |
| 3706 | ||
| 3707 | end) | |
| 3708 | ||
| 3709 | end) | |
| 3710 | ||
| 3711 | actions:drawButton(1/3, 'Shrek', function() | |
| 3712 | ||
| 3713 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 3714 | ||
| 3715 | if z.Character then | |
| 3716 | ||
| 3717 | local pchar = z.Character | |
| 3718 | ||
| 3719 | for i,v in pairs(pchar:GetChildren()) do | |
| 3720 | ||
| 3721 | if v:IsA("Hat") or v:IsA("Accessory") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants") then
| |
| 3722 | ||
| 3723 | v:Destroy() | |
| 3724 | ||
| 3725 | end | |
| 3726 | ||
| 3727 | end | |
| 3728 | ||
| 3729 | for i,v in pairs(pchar.Head:GetChildren()) do | |
| 3730 | ||
| 3731 | if v:IsA("Decal") or v:IsA("SpecialMesh") then
| |
| 3732 | ||
| 3733 | v:Destroy() | |
| 3734 | ||
| 3735 | end | |
| 3736 | ||
| 3737 | end | |
| 3738 | ||
| 3739 | ||
| 3740 | ||
| 3741 | local mesh = Instance.new("SpecialMesh", pchar.Head)
| |
| 3742 | ||
| 3743 | mesh.MeshType = "FileMesh" | |
| 3744 | ||
| 3745 | pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257" | |
| 3746 | ||
| 3747 | pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0) | |
| 3748 | ||
| 3749 | pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869" | |
| 3750 | ||
| 3751 | ||
| 3752 | ||
| 3753 | local Shirt = Instance.new("Shirt", z.Character)
| |
| 3754 | ||
| 3755 | local Pants = Instance.new("Pants", z.Character)
| |
| 3756 | ||
| 3757 | ||
| 3758 | ||
| 3759 | Shirt.ShirtTemplate = "rbxassetid://133078194" | |
| 3760 | ||
| 3761 | Pants.PantsTemplate = "rbxassetid://133078204" | |
| 3762 | ||
| 3763 | end | |
| 3764 | ||
| 3765 | end) | |
| 3766 | ||
| 3767 | end) | |
| 3768 | ||
| 3769 | actions:drawButton(1/3, 'Bighead', function() | |
| 3770 | ||
| 3771 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 3772 | ||
| 3773 | if z.Character then | |
| 3774 | ||
| 3775 | if z.Character:FindFirstChild('Head') then
| |
| 3776 | ||
| 3777 | z.Character.Head.Mesh.Scale=Vector3.new(5,5,5) | |
| 3778 | ||
| 3779 | end | |
| 3780 | ||
| 3781 | end | |
| 3782 | ||
| 3783 | end) | |
| 3784 | ||
| 3785 | end) | |
| 3786 | ||
| 3787 | actions:drawButton(1/3, 'Hotdog', function() | |
| 3788 | ||
| 3789 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 3790 | ||
| 3791 | if z.Character then | |
| 3792 | ||
| 3793 | if z.Character:FindFirstChild('Head') then
| |
| 3794 | ||
| 3795 | topkek.libutil:weiner(z) | |
| 3796 | ||
| 3797 | end | |
| 3798 | ||
| 3799 | end | |
| 3800 | ||
| 3801 | end) | |
| 3802 | ||
| 3803 | end) | |
| 3804 | ||
| 3805 | actions:drawButton(1/3, 'Dwarf [R6]', function() | |
| 3806 | ||
| 3807 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 3808 | ||
| 3809 | if z.Character then | |
| 3810 | ||
| 3811 | topkek.libutil:scalePlayer(z, 0.5) | |
| 3812 | ||
| 3813 | end | |
| 3814 | ||
| 3815 | end) | |
| 3816 | ||
| 3817 | end) | |
| 3818 | ||
| 3819 | actions:drawButton(1/3, 'Giant [R6]', function() | |
| 3820 | ||
| 3821 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 3822 | ||
| 3823 | if z.Character then | |
| 3824 | ||
| 3825 | topkek.libutil:scalePlayer(z, 5) | |
| 3826 | ||
| 3827 | end | |
| 3828 | ||
| 3829 | end) | |
| 3830 | ||
| 3831 | end) | |
| 3832 | ||
| 3833 | actions:drawButton(1/3, 'Giraffe [R6]', function() | |
| 3834 | ||
| 3835 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 3836 | ||
| 3837 | if z.Character then | |
| 3838 | ||
| 3839 | local char=z.Character | |
| 3840 | ||
| 3841 | local h=char.Head | |
| 3842 | ||
| 3843 | local tor=char:FindFirstChild("Torso")
| |
| 3844 | ||
| 3845 | if not tor then return end | |
| 3846 | ||
| 3847 | tor.Neck.C0=tor.Neck.C0*CFrame.new(0,0,5) | |
| 3848 | ||
| 3849 | local fn=Instance.new("Part",char)
| |
| 3850 | ||
| 3851 | fn.Size=Vector3.new(1,5.5,1) | |
| 3852 | ||
| 3853 | fn.Name="FakeNeck" | |
| 3854 | ||
| 3855 | fn.Anchored=false | |
| 3856 | ||
| 3857 | fn.CanCollide=false | |
| 3858 | ||
| 3859 | if char:FindFirstChild("Body Colors") then
| |
| 3860 | ||
| 3861 | fn.BrickColor=char["Body Colors"].HeadColor | |
| 3862 | ||
| 3863 | end | |
| 3864 | ||
| 3865 | local cm=Instance.new("CylinderMesh",fn)
| |
| 3866 | ||
| 3867 | local we=Instance.new("Weld",h)
| |
| 3868 | ||
| 3869 | we.Part0=h | |
| 3870 | ||
| 3871 | we.Part1=fn | |
| 3872 | ||
| 3873 | we.C1=we.C1*CFrame.new(0,2.6,0) | |
| 3874 | ||
| 3875 | end | |
| 3876 | ||
| 3877 | end) | |
| 3878 | ||
| 3879 | end) | |
| 3880 | ||
| 3881 | actions:drawButton(1/3, 'Select', function() | |
| 3882 | ||
| 3883 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 3884 | ||
| 3885 | if z.Character then | |
| 3886 | ||
| 3887 | Instance.new("SelectionBox", z.Character).Adornee = z.Character
| |
| 3888 | ||
| 3889 | end | |
| 3890 | ||
| 3891 | end) | |
| 3892 | ||
| 3893 | end) | |
| 3894 | ||
| 3895 | actions:drawButton(1/3, 'Sphere', function() | |
| 3896 | ||
| 3897 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 3898 | ||
| 3899 | if z.Character then | |
| 3900 | ||
| 3901 | Instance.new("SelectionSphere", z.Character).Adornee = z.Character
| |
| 3902 | ||
| 3903 | end | |
| 3904 | ||
| 3905 | end) | |
| 3906 | ||
| 3907 | end) | |
| 3908 | ||
| 3909 | actions:drawButton(1/3, 'Sit', function() | |
| 3910 | ||
| 3911 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 3912 | ||
| 3913 | if z.Character:FindFirstChild("Humanoid") then
| |
| 3914 | ||
| 3915 | z.Character.Humanoid.Sit = true | |
| 3916 | ||
| 3917 | end | |
| 3918 | ||
| 3919 | end) | |
| 3920 | ||
| 3921 | end) | |
| 3922 | ||
| 3923 | actions:drawButton(1/3, 'Jump', function() | |
| 3924 | ||
| 3925 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 3926 | ||
| 3927 | if z.Character:FindFirstChild("Humanoid") then
| |
| 3928 | ||
| 3929 | z.Character.Humanoid.Jump = true | |
| 3930 | ||
| 3931 | end | |
| 3932 | ||
| 3933 | end) | |
| 3934 | ||
| 3935 | end) | |
| 3936 | ||
| 3937 | actions:drawButton(1/3, 'No Tools', function() | |
| 3938 | ||
| 3939 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 3940 | ||
| 3941 | for _, t in pairs(z.Backpack:GetChildren()) do | |
| 3942 | ||
| 3943 | t:Destroy() | |
| 3944 | ||
| 3945 | end | |
| 3946 | ||
| 3947 | end) | |
| 3948 | ||
| 3949 | end) | |
| 3950 | ||
| 3951 | actions:drawButton(1/3, 'Take Tools', function() | |
| 3952 | ||
| 3953 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 3954 | ||
| 3955 | for _, t in pairs(z.Backpack:GetChildren()) do | |
| 3956 | ||
| 3957 | t.Parent = game:service'Players'.LocalPlayer.Backpack | |
| 3958 | ||
| 3959 | end | |
| 3960 | ||
| 3961 | end) | |
| 3962 | ||
| 3963 | end) | |
| 3964 | ||
| 3965 | actions:drawButton(1/3, 'Disable', function() | |
| 3966 | ||
| 3967 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 3968 | ||
| 3969 | if z.Character:FindFirstChild("Humanoid") then
| |
| 3970 | ||
| 3971 | z.Character.Humanoid.Parent = nil | |
| 3972 | ||
| 3973 | end | |
| 3974 | ||
| 3975 | end) | |
| 3976 | ||
| 3977 | end) | |
| 3978 | ||
| 3979 | actions:drawButton(1/3, 'Fast', function() | |
| 3980 | ||
| 3981 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 3982 | ||
| 3983 | if z.Character:FindFirstChild("Humanoid") then
| |
| 3984 | ||
| 3985 | z.Character.Humanoid.WalkSpeed = 50 | |
| 3986 | ||
| 3987 | end | |
| 3988 | ||
| 3989 | end) | |
| 3990 | ||
| 3991 | end) | |
| 3992 | ||
| 3993 | actions:drawButton(1/3, 'Slow', function() | |
| 3994 | ||
| 3995 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 3996 | ||
| 3997 | if z.Character:FindFirstChild("Humanoid") then
| |
| 3998 | ||
| 3999 | z.Character.Humanoid.WalkSpeed = 8 | |
| 4000 | ||
| 4001 | end | |
| 4002 | ||
| 4003 | end) | |
| 4004 | ||
| 4005 | end) | |
| 4006 | ||
| 4007 | actions:drawButton(1/3,'Explode', function() | |
| 4008 | ||
| 4009 | topkek.libtil:doPlayers(plrDrop, function(z) | |
| 4010 | ||
| 4011 | local explosion = Instance.new("Explosion")
| |
| 4012 | ||
| 4013 | explosion.Position = topkek.libutil:getTorso(z).Position | |
| 4014 | ||
| 4015 | explosion.Parent = game.Workspace | |
| 4016 | ||
| 4017 | end) | |
| 4018 | ||
| 4019 | end) | |
| 4020 | ||
| 4021 | local Follow | |
| 4022 | ||
| 4023 | actions:drawButton(1/3,'Annoy', function() | |
| 4024 | ||
| 4025 | if Follow == true then | |
| 4026 | ||
| 4027 | Follow = false; return | |
| 4028 | ||
| 4029 | else Follow = true end | |
| 4030 | ||
| 4031 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 4032 | ||
| 4033 | while Follow == true do | |
| 4034 | ||
| 4035 | game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame= | |
| 4036 | ||
| 4037 | z.Character.HumanoidRootPart.CFrame | |
| 4038 | ||
| 4039 | wait() | |
| 4040 | ||
| 4041 | end | |
| 4042 | ||
| 4043 | end) | |
| 4044 | ||
| 4045 | end) | |
| 4046 | ||
| 4047 | actions:drawButton(1/3,'ForceField', function() | |
| 4048 | ||
| 4049 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 4050 | ||
| 4051 | if z.Character then | |
| 4052 | ||
| 4053 | Instance.new("ForceField", z.Character)
| |
| 4054 | ||
| 4055 | end | |
| 4056 | ||
| 4057 | end) | |
| 4058 | ||
| 4059 | end) | |
| 4060 | ||
| 4061 | actions:drawButton(1/3,'Friendlag', function() | |
| 4062 | ||
| 4063 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 4064 | ||
| 4065 | for i = 1, 10 do | |
| 4066 | ||
| 4067 | spawn(function() | |
| 4068 | ||
| 4069 | while wait() do | |
| 4070 | ||
| 4071 | game.Players.LocalPlayer:RequestFriendship(z) | |
| 4072 | ||
| 4073 | game.Players.LocalPlayer:RevokeFriendship(z) | |
| 4074 | ||
| 4075 | end | |
| 4076 | ||
| 4077 | end) | |
| 4078 | ||
| 4079 | end | |
| 4080 | ||
| 4081 | end) | |
| 4082 | ||
| 4083 | end) | |
| 4084 | ||
| 4085 | actions:drawButton(1/3,'Force Follow', function() | |
| 4086 | ||
| 4087 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 4088 | ||
| 4089 | game:GetService("RunService"):BindToRenderStep("_", 0, function()
| |
| 4090 | ||
| 4091 | z.Character.Humanoid:MoveTo(game.Players.LocalPlayer.Character.Head.Position) | |
| 4092 | ||
| 4093 | end) | |
| 4094 | ||
| 4095 | end) | |
| 4096 | ||
| 4097 | end) | |
| 4098 | ||
| 4099 | actions:drawButton(1/3,'Dab', function() | |
| 4100 | ||
| 4101 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 4102 | ||
| 4103 | if z.Character and z.Character:FindFirstChild("Torso") then
| |
| 4104 | ||
| 4105 | local chr = z.Character | |
| 4106 | ||
| 4107 | chr.Animate.Disabled = true | |
| 4108 | ||
| 4109 | chr.Torso["Left Shoulder"].C1 = CFrame.new(0, 0.699999988, 0, 0.939692616, 0, -0.342020124, -0.330366075, -0.258819044, -0.907673359, -0.0885213241, 0.965925813, -0.243210346) | |
| 4110 | ||
| 4111 | chr.Torso["Right Shoulder"].C1 = CFrame.new(-0.600000024, 0.5, -0.200000003, 0.664462984, 0.241844743, 0.707106769, -0.664462984, -0.241844788, 0.707106769, 0.342020154, -0.939692616, -3.09086197e-008) | |
| 4112 | ||
| 4113 | chr.Torso["Neck"].C1 = CFrame.new(0, -0.600000024, 0, -0.866025388, 0.5, 0, -0.171010137, -0.29619807, 0.939692616, 0.469846278, 0.813797653, 0.342020124) | |
| 4114 | ||
| 4115 | end | |
| 4116 | ||
| 4117 | end) | |
| 4118 | ||
| 4119 | end) | |
| 4120 | ||
| 4121 | actions:addSpacing() | |
| 4122 | ||
| 4123 | local chatInp | |
| 4124 | ||
| 4125 | actions:drawButton(1/2, 'Make Chat', function() | |
| 4126 | ||
| 4127 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 4128 | ||
| 4129 | game:GetService('Chat'):Chat(z.Character, chatInp.Text)
| |
| 4130 | ||
| 4131 | end) | |
| 4132 | ||
| 4133 | end) | |
| 4134 | ||
| 4135 | chatInp = actions:drawTextBox(1/2, '') | |
| 4136 | ||
| 4137 | local insertInp | |
| 4138 | ||
| 4139 | actions:drawButton(1/2, 'Insert Into', function() | |
| 4140 | ||
| 4141 | if not tonumber(insertInp.Text) then return end | |
| 4142 | ||
| 4143 | local item = insert(insertInp.Text) | |
| 4144 | ||
| 4145 | if not item then return end | |
| 4146 | ||
| 4147 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 4148 | ||
| 4149 | item:Clone().Parent = z.Backpack | |
| 4150 | ||
| 4151 | end) | |
| 4152 | ||
| 4153 | end) | |
| 4154 | ||
| 4155 | insertInp = actions:drawTextBox(1/2, '') | |
| 4156 | ||
| 4157 | local speedInp | |
| 4158 | ||
| 4159 | actions:drawButton(1/2, 'Set Speed', function() | |
| 4160 | ||
| 4161 | if not tonumber(speedInp.Text) then return end | |
| 4162 | ||
| 4163 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 4164 | ||
| 4165 | if z.Character:FindFirstChild('Humanoid') then
| |
| 4166 | ||
| 4167 | z.Character.Humanoid.WalkSpeed = tonumber(speedInp.Text) | |
| 4168 | ||
| 4169 | end | |
| 4170 | ||
| 4171 | end) | |
| 4172 | ||
| 4173 | end) | |
| 4174 | ||
| 4175 | speedInp = actions:drawTextBox(1/2, '') | |
| 4176 | ||
| 4177 | local nameInp | |
| 4178 | ||
| 4179 | actions:drawButton(1/2, 'Set Name', function() | |
| 4180 | ||
| 4181 | topkek.libutil:doPlayers(plrDrop, function(z) | |
| 4182 | ||
| 4183 | local Character = z.Character | |
| 4184 | ||
| 4185 | local newName = Instance.new("Model", z.Character)
| |
| 4186 | ||
| 4187 | newName.Name = nameInp.Text | |
| 4188 | ||
| 4189 | local cl = Character:WaitForChild("Head"):Clone()
| |
| 4190 | ||
| 4191 | cl.Parent = newName | |
| 4192 | ||
| 4193 | cl:WaitForChild("face"):Destroy()
| |
| 4194 | ||
| 4195 | local hum = Instance.new("Humanoid", newName)
| |
| 4196 | ||
| 4197 | hum.Name = "NameTag" | |
| 4198 | ||
| 4199 | hum.MaxHealth = 0 | |
| 4200 | ||
| 4201 | hum.Health = 0 | |
| 4202 | ||
| 4203 | local weld = Instance.new("Weld", cl)
| |
| 4204 | ||
| 4205 | weld.Part0 = cl | |
| 4206 | ||
| 4207 | weld.Part1 = Character:WaitForChild("Head")
| |
| 4208 | ||
| 4209 | Character:WaitForChild("Head").Transparency = 1
| |
| 4210 | ||
| 4211 | Wait(.5) | |
| 4212 | ||
| 4213 | cl.BrickColor = Character:WaitForChild("Head").BrickColo
| |
| 4214 | ||
| 4215 | end) | |
| 4216 | ||
| 4217 | end) | |
| 4218 | ||
| 4219 | nameInp = actions:drawTextBox(1/2, '') | |
| 4220 | ||
| 4221 | --[[ localplayer ]]-- | |
| 4222 | ||
| 4223 | local lp = game:GetService('Players').LocalPlayer
| |
| 4224 | ||
| 4225 | local localwin = topkek.libgui:hookContainer(base['LocalPlayerContainer']) | |
| 4226 | ||
| 4227 | local appearInp | |
| 4228 | ||
| 4229 | localwin:drawButton(1/2, 'Set Appearance', function() | |
| 4230 | ||
| 4231 | local id = 0 | |
| 4232 | ||
| 4233 | if not tonumber(appearInp.Text) then | |
| 4234 | ||
| 4235 | id = tonumber(appearInp.Text) | |
| 4236 | ||
| 4237 | else | |
| 4238 | ||
| 4239 | id = game:GetService('Players'):GetUserIdFromNameAsync(appearInp.Text)
| |
| 4240 | ||
| 4241 | end | |
| 4242 | ||
| 4243 | lp.CharacterAppearance = 'https://assetgame.roblox.com/Asset/CharacterFetch.ashx?userId=' .. tostring(id) | |
| 4244 | ||
| 4245 | end) | |
| 4246 | ||
| 4247 | appearInp = localwin:drawTextBox(1/2, '') | |
| 4248 | ||
| 4249 | localwin:drawButton(1/2, 'Set TeamColor', function() | |
| 4250 | ||
| 4251 | if teamInp.Text == 'Neutral' then | |
| 4252 | ||
| 4253 | lp.Neutral = true | |
| 4254 | ||
| 4255 | return | |
| 4256 | ||
| 4257 | end | |
| 4258 | ||
| 4259 | local clr = BrickColor.new(teamInp.Text) | |
| 4260 | ||
| 4261 | lp.TeamColor = clr | |
| 4262 | ||
| 4263 | end) | |
| 4264 | ||
| 4265 | teamInp = localwin:drawTextBox(1/2, 'Neutral') | |
| 4266 | ||
| 4267 | localwin:drawButton(1, 'Reset Camera', function() | |
| 4268 | ||
| 4269 | game.Workspace.CurrentCamera:remove() | |
| 4270 | ||
| 4271 | wait(.1) | |
| 4272 | ||
| 4273 | game.Workspace.CurrentCamera.CameraSubject = lp.Character.Humanoid or | |
| 4274 | ||
| 4275 | game.Workspace[lp.Name].Humanoid | |
| 4276 | ||
| 4277 | game.Workspace.CurrentCamera.CameraType = "Custom" | |
| 4278 | ||
| 4279 | end) | |
| 4280 | ||
| 4281 | localwin:drawButton(1, 'Respawn', function() | |
| 4282 | ||
| 4283 | local a1 = Instance.new("Model", game:service'Workspace')
| |
| 4284 | ||
| 4285 | local a2 = Instance.new("Part", game:service'Workspace')
| |
| 4286 | ||
| 4287 | a2.CanCollide = true | |
| 4288 | ||
| 4289 | a2.Anchored = true | |
| 4290 | ||
| 4291 | a2.CFrame = CFrame.new(10000, 10000, 10000) | |
| 4292 | ||
| 4293 | a2.Name = "Torso" | |
| 4294 | ||
| 4295 | local a3 = Instance.new("Humanoid", a1)
| |
| 4296 | ||
| 4297 | a3.MaxHealth=100;a3.Health=100 | |
| 4298 | ||
| 4299 | lp.Character = a1 | |
| 4300 | ||
| 4301 | a3.Health=0 | |
| 4302 | ||
| 4303 | end) | |
| 4304 | ||
| 4305 | localwin:addSpacing() | |
| 4306 | ||
| 4307 | local Lev, Clip, Fly | |
| 4308 | ||
| 4309 | localwin:drawButton(1/2, 'Levitate', function() | |
| 4310 | ||
| 4311 | if Lev == true then | |
| 4312 | ||
| 4313 | Lev = false | |
| 4314 | ||
| 4315 | return | |
| 4316 | ||
| 4317 | end | |
| 4318 | ||
| 4319 | Lev = true | |
| 4320 | ||
| 4321 | repeat | |
| 4322 | ||
| 4323 | lp.Character.Humanoid:ChangeState(10) | |
| 4324 | ||
| 4325 | wait(0) | |
| 4326 | ||
| 4327 | until Lev == false | |
| 4328 | ||
| 4329 | end) | |
| 4330 | ||
| 4331 | localwin:drawButton(1/2, 'Noclip', function() | |
| 4332 | ||
| 4333 | if Clip == true then | |
| 4334 | ||
| 4335 | Clip = false | |
| 4336 | ||
| 4337 | return | |
| 4338 | ||
| 4339 | end | |
| 4340 | ||
| 4341 | Clip = true | |
| 4342 | ||
| 4343 | game:GetService("RunService").Stepped:connect(function()
| |
| 4344 | ||
| 4345 | topkek.libutil:getTorso(lp).CanCollide = not Clip | |
| 4346 | ||
| 4347 | lp.Character.Head.CanCollide = not Clip | |
| 4348 | ||
| 4349 | lp.Character.HumanoidRootPart.CanCollide = not Clip | |
| 4350 | ||
| 4351 | if lp.Character.UpperTorso then | |
| 4352 | ||
| 4353 | lp.Character.LowerTorso.CanCollide = not Clip | |
| 4354 | ||
| 4355 | end | |
| 4356 | ||
| 4357 | end) | |
| 4358 | ||
| 4359 | lp.Character.HumanoidRootPart.Changed:connect(function() | |
| 4360 | ||
| 4361 | topkek.libutil:getTorso(lp).CanCollide = not Clip | |
| 4362 | ||
| 4363 | lp.Character.Head.CanCollide = not Clip | |
| 4364 | ||
| 4365 | lp.Character.HumanoidRootPart.CanCollide = not Clip | |
| 4366 | ||
| 4367 | if lp.Character.UpperTorso then | |
| 4368 | ||
| 4369 | lp.Character.LowerTorso.CanCollide = not Clip | |
| 4370 | ||
| 4371 | end | |
| 4372 | ||
| 4373 | end) | |
| 4374 | ||
| 4375 | end) | |
| 4376 | ||
| 4377 | localwin:drawButton(1/2, 'Fly', function() | |
| 4378 | ||
| 4379 | if Fly == true then | |
| 4380 | ||
| 4381 | Fly = false | |
| 4382 | ||
| 4383 | return | |
| 4384 | ||
| 4385 | end | |
| 4386 | ||
| 4387 | Fly = true | |
| 4388 | ||
| 4389 | local mouse=game.Players.LocalPlayer:GetMouse'' | |
| 4390 | ||
| 4391 | localplayer=game.Players.LocalPlayer | |
| 4392 | ||
| 4393 | game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart")
| |
| 4394 | ||
| 4395 | local torso = game.Players.LocalPlayer.Character.HumanoidRootPart | |
| 4396 | ||
| 4397 | local speed=0 | |
| 4398 | ||
| 4399 | local keys={a=false,d=false,w=false,s=false}
| |
| 4400 | ||
| 4401 | local e1 | |
| 4402 | ||
| 4403 | local e2 | |
| 4404 | ||
| 4405 | local function start() | |
| 4406 | ||
| 4407 | local pos = Instance.new("BodyPosition",torso)
| |
| 4408 | ||
| 4409 | local gyro = Instance.new("BodyGyro",torso)
| |
| 4410 | ||
| 4411 | pos.Name="EPIXPOS" | |
| 4412 | ||
| 4413 | pos.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
| 4414 | ||
| 4415 | pos.position = torso.Position | |
| 4416 | ||
| 4417 | gyro.maxTorque = Vector3.new(9e9, 9e9, 9e9) | |
| 4418 | ||
| 4419 | gyro.cframe = torso.CFrame | |
| 4420 | ||
| 4421 | repeat | |
| 4422 | ||
| 4423 | wait() | |
| 4424 | ||
| 4425 | localplayer.Character.Humanoid.PlatformStand=true | |
| 4426 | ||
| 4427 | local new=gyro.cframe - gyro.cframe.p + pos.position | |
| 4428 | ||
| 4429 | if not keys.w and not keys.s and not keys.a and not keys.d then | |
| 4430 | ||
| 4431 | speed=1 | |
| 4432 | ||
| 4433 | end | |
| 4434 | ||
| 4435 | if keys.w then | |
| 4436 | ||
| 4437 | new = new + workspace.CurrentCamera.CoordinateFrame.lookVector * speed | |
| 4438 | ||
| 4439 | speed=speed+0.01 | |
| 4440 | ||
| 4441 | end | |
| 4442 | ||
| 4443 | if keys.s then | |
| 4444 | ||
| 4445 | new = new - workspace.CurrentCamera.CoordinateFrame.lookVector * speed | |
| 4446 | ||
| 4447 | speed=speed+0.01 | |
| 4448 | ||
| 4449 | end | |
| 4450 | ||
| 4451 | if keys.d then | |
| 4452 | ||
| 4453 | new = new * CFrame.new(speed,0,0) | |
| 4454 | ||
| 4455 | speed=speed+0.01 | |
| 4456 | ||
| 4457 | end | |
| 4458 | ||
| 4459 | if keys.a then | |
| 4460 | ||
| 4461 | new = new * CFrame.new(-speed,0,0) | |
| 4462 | ||
| 4463 | speed=speed+0.01 | |
| 4464 | ||
| 4465 | end | |
| 4466 | ||
| 4467 | if speed>5 then | |
| 4468 | ||
| 4469 | speed=5 | |
| 4470 | ||
| 4471 | end | |
| 4472 | ||
| 4473 | pos.position=new.p | |
| 4474 | ||
| 4475 | if keys.w then | |
| 4476 | ||
| 4477 | gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(-math.rad(speed*15),0,0) | |
| 4478 | ||
| 4479 | elseif keys.s then | |
| 4480 | ||
| 4481 | gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(math.rad(speed*15),0,0) | |
| 4482 | ||
| 4483 | else | |
| 4484 | ||
| 4485 | gyro.cframe = workspace.CurrentCamera.CoordinateFrame | |
| 4486 | ||
| 4487 | end | |
| 4488 | ||
| 4489 | until not Fly | |
| 4490 | ||
| 4491 | if gyro then gyro:Destroy() end | |
| 4492 | ||
| 4493 | if pos then pos:Destroy() end | |
| 4494 | ||
| 4495 | flying=false | |
| 4496 | ||
| 4497 | localplayer.Character.Humanoid.PlatformStand=false | |
| 4498 | ||
| 4499 | speed=0 | |
| 4500 | ||
| 4501 | end | |
| 4502 | ||
| 4503 | e1=mouse.KeyDown:connect(function(key) | |
| 4504 | ||
| 4505 | if not torso or not torso.Parent then flying=false e1:disconnect() e2:disconnect() return end | |
| 4506 | ||
| 4507 | if key=="w" then | |
| 4508 | ||
| 4509 | keys.w=true | |
| 4510 | ||
| 4511 | elseif key=="s" then | |
| 4512 | ||
| 4513 | keys.s=true | |
| 4514 | ||
| 4515 | elseif key=="a" then | |
| 4516 | ||
| 4517 | keys.a=true | |
| 4518 | ||
| 4519 | elseif key=="d" then | |
| 4520 | ||
| 4521 | keys.d=true | |
| 4522 | ||
| 4523 | end | |
| 4524 | ||
| 4525 | end) | |
| 4526 | ||
| 4527 | e2=mouse.KeyUp:connect(function(key) | |
| 4528 | ||
| 4529 | if key=="w" then | |
| 4530 | ||
| 4531 | keys.w=false | |
| 4532 | ||
| 4533 | elseif key=="s" then | |
| 4534 | ||
| 4535 | keys.s=false | |
| 4536 | ||
| 4537 | elseif key=="a" then | |
| 4538 | ||
| 4539 | keys.a=false | |
| 4540 | ||
| 4541 | elseif key=="d" then | |
| 4542 | ||
| 4543 | keys.d=false | |
| 4544 | ||
| 4545 | end | |
| 4546 | ||
| 4547 | end) | |
| 4548 | ||
| 4549 | start() | |
| 4550 | ||
| 4551 | end) | |
| 4552 | ||
| 4553 | localwin:drawButton(1/2, 'Highjump', function() | |
| 4554 | ||
| 4555 | local thrust = Instance.new("BodyVelocity")
| |
| 4556 | ||
| 4557 | game:GetService('UserInputService').InputBegan:connect(function(i, b)
| |
| 4558 | ||
| 4559 | if i.KeyCode == Enum.KeyCode.Space then | |
| 4560 | ||
| 4561 | print("Got jump")
| |
| 4562 | ||
| 4563 | coroutine.resume(coroutine.create(function() | |
| 4564 | ||
| 4565 | thrust.Parent = game.Players.LocalPlayer.Character.PrimaryPart | |
| 4566 | ||
| 4567 | thrust.velocity = Vector3.new(0,50,0) | |
| 4568 | ||
| 4569 | thrust.maxForce = Vector3.new(0,4e+050,0) | |
| 4570 | ||
| 4571 | wait(0.2) | |
| 4572 | ||
| 4573 | thrust.Parent = nil | |
| 4574 | ||
| 4575 | end)) | |
| 4576 | ||
| 4577 | end | |
| 4578 | ||
| 4579 | end) | |
| 4580 | ||
| 4581 | end) | |
| 4582 | ||
| 4583 | localwin:addSpacing() | |
| 4584 | ||
| 4585 | localwin:drawButton(1/2, 'Freecam', function() | |
| 4586 | ||
| 4587 | local cam = game.Workspace.CurrentCamera | |
| 4588 | ||
| 4589 | cam.CameraType = "Fixed" | |
| 4590 | ||
| 4591 | cam.CameraSubject = nil | |
| 4592 | ||
| 4593 | lp.Character = nil | |
| 4594 | ||
| 4595 | end) | |
| 4596 | ||
| 4597 | localwin:drawButton(1/2, 'Nil Orb', function() | |
| 4598 | ||
| 4599 | game.Players.LocalPlayer.Character = nil | |
| 4600 | ||
| 4601 | --lp:Destroy() | |
| 4602 | ||
| 4603 | local cam = game.Workspace.CurrentCamera | |
| 4604 | ||
| 4605 | local m = Instance.new("Model", game.Workspace)
| |
| 4606 | ||
| 4607 | m.Name = game.Players.LocalPlayer.Name | |
| 4608 | ||
| 4609 | local hum = Instance.new("Humanoid", m)
| |
| 4610 | ||
| 4611 | hum.Health = 0 | |
| 4612 | ||
| 4613 | hum.MaxHealth = 0 | |
| 4614 | ||
| 4615 | local orb = Instance.new("Part", m)
| |
| 4616 | ||
| 4617 | orb.Size = Vector3.new(1, 1, 1) | |
| 4618 | ||
| 4619 | orb.Shape = "Ball" | |
| 4620 | ||
| 4621 | orb.Name = "Head" | |
| 4622 | ||
| 4623 | orb.Anchored = true | |
| 4624 | ||
| 4625 | orb.CanCollide = true | |
| 4626 | ||
| 4627 | orb.BottomSurface = Enum.SurfaceType.Smooth | |
| 4628 | ||
| 4629 | orb.TopSurface = Enum.SurfaceType.Smooth | |
| 4630 | ||
| 4631 | orb.Transparency = 0 | |
| 4632 | ||
| 4633 | cam.CameraSubject = orb | |
| 4634 | ||
| 4635 | cam.CameraType = Enum.CameraType.Fixed | |
| 4636 | ||
| 4637 | game:GetService("RunService").RenderStepped:connect(function()
| |
| 4638 | ||
| 4639 | orb.CFrame = cam.CoordinateFrame * CFrame.new(0, -2, -6) | |
| 4640 | ||
| 4641 | end) | |
| 4642 | ||
| 4643 | game.Players.LocalPlayer.Chatted:connect(function(a) | |
| 4644 | ||
| 4645 | game:GetService("Chat"):Chat(orb, a)
| |
| 4646 | ||
| 4647 | end) | |
| 4648 | ||
| 4649 | end) | |
| 4650 | ||
| 4651 | localwin:drawButton(1/2, 'God', function() | |
| 4652 | ||
| 4653 | lp.Character.Humanoid.MaxHealth = math.huge | |
| 4654 | ||
| 4655 | lp.Character.Humanoid.Health = math.huge | |
| 4656 | ||
| 4657 | end) | |
| 4658 | ||
| 4659 | localwin:drawButton(1/2, 'NoGrav', function() | |
| 4660 | ||
| 4661 | if lp.Character then | |
| 4662 | ||
| 4663 | for x,m in pairs(lp.Character:GetChildren()) do | |
| 4664 | ||
| 4665 | if m:IsA("BasePart") then
| |
| 4666 | ||
| 4667 | local bf = Instance.new("BodyForce", m)
| |
| 4668 | ||
| 4669 | bf.force = Vector3.new(0, 192.25, 0) * m:GetMass() | |
| 4670 | ||
| 4671 | end | |
| 4672 | ||
| 4673 | if m:IsA("Hat") or m:IsA("Accessory") then
| |
| 4674 | ||
| 4675 | if m:findFirstChild("Handle") then
| |
| 4676 | ||
| 4677 | local bf = Instance.new("BodyForce", m.Handle)
| |
| 4678 | ||
| 4679 | bf.force = Vector3.new(0, 192.25, 0) * m.Handle:GetMass() | |
| 4680 | ||
| 4681 | end | |
| 4682 | ||
| 4683 | end | |
| 4684 | ||
| 4685 | end | |
| 4686 | ||
| 4687 | end | |
| 4688 | ||
| 4689 | end) | |
| 4690 | ||
| 4691 | localwin:drawButton(1/2, 'Rainbow Name', function() | |
| 4692 | ||
| 4693 | lp.Neutral = false | |
| 4694 | ||
| 4695 | repeat | |
| 4696 | ||
| 4697 | wait() | |
| 4698 | ||
| 4699 | lp.TeamColor = BrickColor.Random() | |
| 4700 | ||
| 4701 | until not lp.Character.Humanoid | |
| 4702 | ||
| 4703 | end) | |
| 4704 | ||
| 4705 | localwin:drawButton(1/2, 'Random Fedora', function() | |
| 4706 | ||
| 4707 | local hats={
| |
| 4708 | ||
| 4709 | 98346834, | |
| 4710 | ||
| 4711 | 215751161, | |
| 4712 | ||
| 4713 | 119916949, | |
| 4714 | ||
| 4715 | 72082328, | |
| 4716 | ||
| 4717 | 147180077, | |
| 4718 | ||
| 4719 | 100929604, | |
| 4720 | ||
| 4721 | 63043890, | |
| 4722 | ||
| 4723 | 1285307, | |
| 4724 | ||
| 4725 | 1029025, | |
| 4726 | ||
| 4727 | 334663683, | |
| 4728 | ||
| 4729 | 259423244 | |
| 4730 | ||
| 4731 | } | |
| 4732 | ||
| 4733 | game:GetService("InsertService"):LoadAsset(hats[math.random(1,#hats)]):GetChildren()[1].Parent = lp.Character
| |
| 4734 | ||
| 4735 | end) | |
| 4736 | ||
| 4737 | localwin:drawButton(1/2, 'Clear Appearance', function() | |
| 4738 | ||
| 4739 | lp:ClearCharacterAppearance() | |
| 4740 | ||
| 4741 | end) | |
| 4742 | ||
| 4743 | localwin:drawButton(1/2, 'Disguise', function() | |
| 4744 | ||
| 4745 | local p = lp.Character | |
| 4746 | ||
| 4747 | if p:FindFirstChild("topkek") then
| |
| 4748 | ||
| 4749 | p.topkek:Destroy() | |
| 4750 | ||
| 4751 | end | |
| 4752 | ||
| 4753 | p.Name = "" | |
| 4754 | ||
| 4755 | p.Head.Transparency = 1 | |
| 4756 | ||
| 4757 | local mo = Instance.new("Model", p)
| |
| 4758 | ||
| 4759 | mo.Name = "" | |
| 4760 | ||
| 4761 | local hu = Instance.new("Humanoid", mo)
| |
| 4762 | ||
| 4763 | hu.Name = "distag" | |
| 4764 | ||
| 4765 | hu.Health = 100 | |
| 4766 | ||
| 4767 | hu.MaxHealth = 100 | |
| 4768 | ||
| 4769 | local fh = p.Head:Clone() | |
| 4770 | ||
| 4771 | fh.Parent = mo | |
| 4772 | ||
| 4773 | fh.Transparency = 0 | |
| 4774 | ||
| 4775 | local we = Instance.new("Weld", fh)
| |
| 4776 | ||
| 4777 | we.Part0 = p.Head | |
| 4778 | ||
| 4779 | we.Part1 = mo | |
| 4780 | ||
| 4781 | lp:ClearCharacterAppearance() | |
| 4782 | ||
| 4783 | pcall(function() p["Body Colors"]:Destroy() end) | |
| 4784 | ||
| 4785 | Instance.new("BodyColors", p)
| |
| 4786 | ||
| 4787 | end) | |
| 4788 | ||
| 4789 | localwin:drawButton(1, 'Dick Shooter', function() | |
| 4790 | ||
| 4791 | topkek.libutil:dickShooter() | |
| 4792 | ||
| 4793 | end) | |
| 4794 | ||
| 4795 | localwin:addSpacing() | |
| 4796 | ||
| 4797 | local hackerInp | |
| 4798 | ||
| 4799 | localwin:drawButton(1/2, 'Set Tag', function() | |
| 4800 | ||
| 4801 | local len = 10 | |
| 4802 | ||
| 4803 | local bb = Instance.new("BillboardGui")
| |
| 4804 | ||
| 4805 | bb.Parent = lp.Character.Head | |
| 4806 | ||
| 4807 | bb.Adornee = lp.Character.Head | |
| 4808 | ||
| 4809 | bb.AlwaysOnTop = true | |
| 4810 | ||
| 4811 | bb.Enabled = true | |
| 4812 | ||
| 4813 | bb.Size = UDim2.new(len, 0, 1.5, 0) | |
| 4814 | ||
| 4815 | bb.Name = "tag" | |
| 4816 | ||
| 4817 | bb.StudsOffset = Vector3.new(0, 3, 0) | |
| 4818 | ||
| 4819 | --local fr = Instance.new("Frame")
| |
| 4820 | ||
| 4821 | --fr.Parent = bb | |
| 4822 | ||
| 4823 | --fr.Size = UDim2.new(1, 0, 1, 0) | |
| 4824 | ||
| 4825 | --fr.Style = Enum.FrameStyle.RobloxRound | |
| 4826 | ||
| 4827 | local tl = Instance.new("TextLabel")
| |
| 4828 | ||
| 4829 | tl.Parent = bb | |
| 4830 | ||
| 4831 | tl.Font = Enum.Font.Code | |
| 4832 | ||
| 4833 | tl.BackgroundTransparency = 1 | |
| 4834 | ||
| 4835 | tl.TextScaled = true | |
| 4836 | ||
| 4837 | tl.TextColor3 = Color3.new(15/255, 15/255, 15/255) | |
| 4838 | ||
| 4839 | tl.Size = UDim2.new(1, 0, 1, 0) | |
| 4840 | ||
| 4841 | tl.Text = hackerInp.Text | |
| 4842 | ||
| 4843 | tl.Name = "trutag" | |
| 4844 | ||
| 4845 | tl.Visible = true | |
| 4846 | ||
| 4847 | tl.ZIndex = 2 | |
| 4848 | ||
| 4849 | end) | |
| 4850 | ||
| 4851 | hackerInp = localwin:drawTextBox(1/2, 'Hacker') | |
| 4852 | ||
| 4853 | --[[ scripts ]]-- | |
| 4854 | ||
| 4855 | -- excuse my disgusting code :v | |
| 4856 | ||
| 4857 | local scriptwin = topkek.libgui:hookContainer(base['ScriptsContainer']) | |
| 4858 | ||
| 4859 | local search = scriptwin:drawTextBox(1,'') | |
| 4860 | ||
| 4861 | local origy = scriptwin:getDrawY() | |
| 4862 | ||
| 4863 | scriptwin:addSpacing() | |
| 4864 | ||
| 4865 | scriptwin:addSpacing() | |
| 4866 | ||
| 4867 | local a = Instance.new("LocalScript");a.Name='script 1'
| |
| 4868 | ||
| 4869 | local b = Instance.new("LocalScript");b.Name='script 2'
| |
| 4870 | ||
| 4871 | local c = Instance.new("LocalScript");c.Name='script 3'
| |
| 4872 | ||
| 4873 | local scripts = {a,b,c}
| |
| 4874 | ||
| 4875 | local container = {}
| |
| 4876 | ||
| 4877 | function MakeList(condition) | |
| 4878 | ||
| 4879 | for i,v in pairs(scriptwin:GetChildren()) do | |
| 4880 | ||
| 4881 | if v.Name == "Script" then | |
| 4882 | ||
| 4883 | v:Destroy() | |
| 4884 | ||
| 4885 | end | |
| 4886 | ||
| 4887 | end | |
| 4888 | ||
| 4889 | scriptwin:setDrawY(origy) | |
| 4890 | ||
| 4891 | for i, v in pairs(scripts) do | |
| 4892 | ||
| 4893 | if string.find(v.Name, condition) or (condition == "") or (condition == " ") then | |
| 4894 | ||
| 4895 | local scr = scriptwin:drawButton(1, v.Name, function() | |
| 4896 | ||
| 4897 | print('no loadstring lol')
| |
| 4898 | ||
| 4899 | end, 25) | |
| 4900 | ||
| 4901 | scr.Name = 'Script' | |
| 4902 | ||
| 4903 | end | |
| 4904 | ||
| 4905 | end | |
| 4906 | ||
| 4907 | end | |
| 4908 | ||
| 4909 | game:GetService("UserInputService").InputChanged:connect(function(inp)
| |
| 4910 | ||
| 4911 | if inp.UserInputType == Enum.UserInputType.TextInput then | |
| 4912 | ||
| 4913 | if search:IsFocused() then | |
| 4914 | ||
| 4915 | MakeList(search.Text) | |
| 4916 | ||
| 4917 | end | |
| 4918 | ||
| 4919 | end | |
| 4920 | ||
| 4921 | end) | |
| 4922 | ||
| 4923 | MakeList('')
| |
| 4924 | ||
| 4925 | --[[ misc main ]]-- | |
| 4926 | ||
| 4927 | local miscwin = topkek.libgui:hookContainer(base['MiscellaneousContainer']) | |
| 4928 | ||
| 4929 | local scroll = miscwin:drawScrollingContainer(165) | |
| 4930 | ||
| 4931 | scroll:center() | |
| 4932 | ||
| 4933 | for i, v in pairs(topkek.libsettings:getSetting("misc")) do
| |
| 4934 | ||
| 4935 | scroll:drawButton(1, v, function() | |
| 4936 | ||
| 4937 | topkek.libwindows:switchWindow(v .. 'Container', v) | |
| 4938 | ||
| 4939 | end) | |
| 4940 | end | |
| 4941 | scroll.main.CanvasSize = scroll.main.CanvasSize - UDim2.new(0, 0, 0, 3) | |
| 4942 | --[[ initiation ]]-- | |
| 4943 | topkek.libwindows:registerWindow(base['HomeContainer']) | |
| 4944 | topkek.libwindows:registerWindow(base['ServerContainer']) | |
| 4945 | topkek.libwindows:registerWindow(base['PlayersContainer']) | |
| 4946 | topkek.libwindows:registerWindow(base['LocalPlayerContainer']) | |
| 4947 | topkek.libwindows:registerWindow(base['ScriptsContainer']) | |
| 4948 | topkek.libwindows:registerWindow(base['MiscellaneousContainer']) | |
| 4949 | topkek.libwindows:initiateNavigator() | |
| 4950 | topkek.libwindows:initiateHome() |