Advertisement
BINO2002

Untitled

Apr 1st, 2016
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.70 KB | None | 0 0
  1. local Player = game:GetService("Players").LocalPlayer
  2. local Mouse = Player:GetMouse()
  3. local Camera = workspace.CurrentCamera
  4.  
  5. local Gui,OutputGui,OutputFunc,Queue = {}
  6.  
  7. local RS = game:GetService("ReplicatedStorage")
  8. local RF = RS:WaitForChild("AdminFunction")
  9. local RE = RS:WaitForChild("AdminEvent")
  10.  
  11. local function module(n)
  12. return script:findFirstChild(n)
  13. or RS:findFirstChild(n)
  14. end wait() script.Parent = nil
  15.  
  16. local function CreateLog()
  17. if not module("LocalLogManager") then
  18. return print("Seems like we're missing a ModuleScript!")
  19. end if not Player:findFirstChild("PlayerGui") then return end
  20. if Player.PlayerGui:findFirstChild("LogManagerGui") then
  21. Player.PlayerGui.LogManagerGui:Destroy()
  22. end local gui = Instance.new("ScreenGui",Player.PlayerGui)
  23. local f = Instance.new("Frame",gui) f.Name = "Container" f.Active = false
  24. f.BackgroundColor3 = Color3.new() f.BackgroundTransparency = 0.9
  25. f.Position = UDim2.new(0,100,0,10) f.Size = UDim2.new(0.5,20,0.5,20)
  26. gui.Name,OutputFunc = "LogManagerGui",require(module("LocalLogManager"))(f,gui)
  27. gui.AncestryChanged:connect(function() Queue:Send("Unoutput") end)
  28. end
  29.  
  30. local function AdvancedTupleToString(s,...) local msg = ""
  31. for i=1,select("#",...) do
  32. msg = msg..s..tostring(select(i,...))
  33. end return msg:sub(#s+1)
  34. end
  35. local function TupleToString(...)
  36. return AdvancedTupleToString(" ",...)
  37. end
  38.  
  39. local function Varg(...)
  40. local a,s = {...},select("#",...)
  41. return function()
  42. return unpack(a,1,s)
  43. end
  44. end
  45. do
  46. local function send(varg)
  47. RE:FireServer(varg())
  48. end
  49. local function looper(self) wait()
  50. local varg = table.remove(self.Queue)
  51. while wait() and varg do
  52. while not ypcall(send,varg) do wait() end
  53. varg = table.remove(self.Queue)
  54. end
  55. end
  56. Queue = { Queue = {};
  57. Thread = coroutine.create(looper);
  58. Start = function(s)
  59. if coroutine.status(s.Thread) ~= "running" then
  60. Thread = coroutine.create(looper)
  61. coroutine.resume(Thread,s)
  62. end
  63. end;
  64. Send = function(self,...) self:Start()
  65. table.insert(self.Queue,Varg(...))
  66. end;
  67. } Queue.Fire = Queue.Send
  68. end
  69. local Syncface do local cmds,lcmds
  70. local rs = game:GetService("ReplicatedStorage")
  71. local function invoke(...)
  72. local v = Varg(RF:InvokeServer(...))
  73. while not v() do wait(0.1)
  74. v = Varg(RF:InvokeServer(...))
  75. end return select(2,v())
  76. end
  77. Syncface = {
  78. GetCommands = function()
  79. if not cmds or tick()-lcmds > 60 then
  80. cmds,lcmds = invoke("GetCommands"),tick()
  81. end return cmds
  82. end;
  83. }
  84. end
  85.  
  86. function Gui:Inform(message,long)
  87. local gui = Instance.new("ScreenGui",Player:findFirstChild("PlayerGui"))
  88. gui.Name = "einsteinK's ADM Script Inform Message ScreenGui Object Thing"
  89. local f = Instance.new("Frame",gui)
  90. f.Size = UDim2.new(0,0,0,250)
  91. f.Position = UDim2.new(0.5,-250,0.5,-125)
  92. f.ZIndex = 9 f.Style = "RobloxRound"
  93. local t= Instance.new("TextButton",f)
  94. t.BackgroundTransparency = 1 t.ZIndex = 10
  95. t.Size = UDim2.new(1,0,1,0) t.Text = message
  96. t.TextColor3 = Color3.new(1,1,1) t.Name = "Label"
  97. t.Font = "ArialBold" t.TextWrapped = true
  98. t.ClipsDescendants = true t.FontSize = "Size18"
  99. t.MouseButton1Click:connect(function() gui:Destroy() end)
  100. t.Active = true f:TweenSize(UDim2.new(0,500,0,250,0))
  101. if long == true then return gui end
  102. game:GetService("Debris"):AddItem(gui,long or 5)
  103. end
  104. function Gui:CommandBar()
  105. if Player:findFirstChild("PlayerGui") then
  106. if Player.PlayerGui:findFirstChild("einsteinK's ADM Script Command Bar ScreenGui Object Thing") then
  107. return Player.PlayerGui["einsteinK's ADM Script Command Bar ScreenGui Object Thing"]:Destroy()
  108. end
  109. end
  110. local gui = Instance.new("ScreenGui",Player:findFirstChild("PlayerGui"))
  111. gui.Name = "einsteinK's ADM Script Command Bar ScreenGui Object Thing"
  112. local bar = Instance.new("TextBox",gui) bar.Name = "Commandbar"
  113. bar.Size = UDim2.new(0,400,0,50) bar.Position = UDim2.new(1,-500,0.5,200)
  114. bar.Font = "ArialBold" bar.FontSize = "Size18" bar.Text = "Type Here"
  115. bar.BackgroundTransparency = 0.5 bar.BackgroundColor3 = Color3.new()
  116. bar.TextStrokeTransparency = 0 bar.TextStrokeColor3 = Color3.new(1,1,1)
  117. bar.TextColor3 = Color3.new() local cl = Instance.new("TextButton",bar)
  118. cl.Name = "Clear" cl.BackgroundTransparency = 1 cl.Size = UDim2.new(1,0,1,0)
  119. cl.Active = false cl.MouseButton2Click:connect(function() bar.Text = "" end)
  120. local but = Instance.new("TextButton",bar) but.Name = "Execute"
  121. but.Size = UDim2.new(0,100,1,0) but.Position = UDim2.new(1,0,0,0)
  122. but.Font = "Arial" but.FontSize = "Size24" but.Text = "Execute"
  123. but.BackgroundTransparency = 0.5 but.BackgroundColor3 = Color3.new()
  124. but.TextStrokeTransparency = 0 but.TextStrokeColor3 = Color3.new(1,1,1)
  125. bar.ClearTextOnFocus = false but.TextColor3 = Color3.new()
  126. but.MouseEnter:connect(function() but.Font = "ArialBold" end)
  127. but.MouseLeave:connect(function() but.Font = "Arial" end) cl.Text = ""
  128. but.MouseButton1Click:connect(function() Queue:Fire("Chatted",bar.Text) end)
  129. but.MouseButton2Click:connect(function() Queue:Fire("Chatted",Player,bar.Text,true) end)
  130. end
  131. function Gui:CommandList()
  132. if Player:findFirstChild("PlayerGui") then
  133. if Player.PlayerGui:findFirstChild("EinAdm CommandList") then
  134. return Player.PlayerGui["EinAdm CommandList"]:Destroy()
  135. end
  136. end local ranks,cmds,shown,off = {},{},{},0
  137. local gui = Instance.new("ScreenGui",Player:findFirstChild("PlayerGui")) gui.Name = "EinAdm CommandList"
  138. local frame = Instance.new("Frame",gui) frame.Name = "Commands"
  139. frame.Style = "RobloxRound" frame.Size = UDim2.new(0,500,0,400)
  140. frame.Position = UDim2.new(1,-500,0.5,-250)
  141. local close = Instance.new("TextButton",frame) close.Name = "Close"
  142. close.Size = UDim2.new(1,0,0,50) close.BackgroundTransparency = 1
  143. close.Position = UDim2.new(0,0,1,0) close.TextColor3 = Color3.new()
  144. close.TextStrokeTransparency = 0 close.Font = "ArialBold" close.Text = "Close"
  145. close.TextStrokeColor3 = Color3.new(1,1,1) close.FontSize = "Size18"
  146. close.MouseButton1Down:connect(function() gui:Destroy() end)
  147. local list = frame:clone() list.Parent = frame list.Name = "List"
  148. list.Position = UDim2.new(0,0,0,20) list.Size = UDim2.new(1,0,1,-40)
  149. local up = Instance.new("TextButton",frame) up.Name = "Up"
  150. up.Size = UDim2.new(0.5,0,0,20) up.Position = UDim2.new(0.25,0,0,0)
  151. up.Text = "/\\" up.Style = "RobloxButton" up.TextScaled = true
  152. up.TextColor3 = Color3.new(1,1,1) up.TextStrokeTransparency = 0
  153. local down = Instance.new("TextButton",frame) down.Name = "Down"
  154. down.Size = UDim2.new(0.5,0,0,20) down.Position = UDim2.new(0.25,0,1,-20)
  155. down.Text = "\\/" down.Style = "RobloxButton" down.TextScaled = true
  156. down.TextColor3 = Color3.new(1,1,1) down.TextStrokeTransparency = 0
  157. for k,v in pairs(Syncface:GetCommands()) do
  158. if not ranks[v.Rank:lower()] then
  159. table.insert(ranks,v.Rank)
  160. ranks[v.Rank:lower()] = {v}
  161. shown[v.Rank:lower()] = true
  162. else
  163. table.insert(ranks[v.Rank:lower()],v)
  164. end table.insert(cmds,v)
  165. end table.sort(ranks) local tot = #ranks
  166. table.sort(cmds,function(a,b) return a.Name < b.Name end)
  167. local menu = Instance.new("TextButton",frame) menu.Name = "Menu"
  168. local function openlist() down.Visible = true local c = -1
  169. menu.Text = "Toggle Visibility" list:ClearAllChildren()
  170. off = off > #cmds-20 and #cmds-20 or off < 1 and 0 or off
  171. off = #cmds <= 20 and 0 or off up.Visible = true
  172. for i=1+off,math.min(#cmds,20)+off do c = c + 1
  173. local v = cmds[i] if not v then return end
  174. local line = Instance.new("TextLabel",list)
  175. line.Name = "Cmd"..i line.Font = "SourceSansBold"
  176. line.Text = " "..v.Name line.ClipsDescendants = true
  177. line.Size = UDim2.new(1,-4,1/20,0)
  178. line.Position = UDim2.new(0,2,c/20,0)
  179. line.BackgroundTransparency = 1
  180. line.BackgroundColor3 = Color3.new()
  181. line.TextStrokeTransparency = 0
  182. line.TextStrokeColor3 = Color3.new(1,1,1)
  183. line.TextColor3 = Color3.new() line.ZIndex = 2
  184. line.FontSize = "Size14" line.TextXAlignment = "Left"
  185. local rank = Instance.new("TextLabel",line)
  186. rank.Name = "Rank" rank.TextColor3 = Color3.new(1,1,1)
  187. rank.FontSize = "Size14" rank.TextXAlignment = "Left"
  188. --rank.Position = UDim2.new(0,line.TextBounds.X+1,0,0)
  189. rank.Size = UDim2.new(1,0,1,0) rank.Font = "SourceSansBold"
  190. rank.Text = line.Text.." ("..v.Rank:gsub("%d.*","")..")"
  191. rank.BackgroundTransparency = 1
  192. local desc = Instance.new("TextLabel",line)
  193. desc.Name = "Description" desc.Font = "SourceSans"
  194. desc.FontSize = "Size14" desc.TextXAlignment = "Right"
  195. desc.Size = UDim2.new(1,-2,1,0)
  196. desc.BackgroundTransparency = 1
  197. desc.TextColor3 = Color3.new(1,1,1)
  198. desc.TextStrokeTransparency = 0
  199. desc.TextStrokeColor3 = Color3.new(0,0,0)
  200. desc.Text = v.Description or "No Description"
  201. end
  202. end list:ClearAllChildren()
  203. local function openmenu() up.Visible = false cmds = {}
  204. list:ClearAllChildren() down.Visible = false
  205. for k,v in pairs(Syncface:GetCommands()) do
  206. if shown[v.Rank:lower()] then
  207. table.insert(cmds,v)
  208. end
  209. end table.sort(cmds,function(a,b) return a.Name < b.Name end)
  210. for k,v in ipairs(ranks) do local c = shown[v:lower()] and 1
  211. local line = Instance.new("TextButton",list)
  212. line.Name = "Line"..k line.Style = "RobloxButton"
  213. line.Text = v.." ("..#ranks[v:lower()]..")"
  214. line.Size = UDim2.new(1,0,1/#ranks,0)
  215. line.Position = UDim2.new(0,0,(k-1)/#ranks,0)
  216. line.Font = "SourceSansBold" line.FontSize = "Size18"
  217. line.TextStrokeTransparency = 0 c = c or 0.25
  218. line.TextStrokeColor3 = Color3.new(c,c,c)
  219. line.MouseButton1Down:connect(function()
  220. shown[v:lower()] = not shown[v:lower()] openmenu()
  221. end)
  222. end menu.Text = "Show Commands"
  223. end openlist() local y = coroutine.yield
  224. menu.Size = UDim2.new(1,0,0,50) menu.BackgroundTransparency = 1
  225. menu.Position = UDim2.new(0,0,0,-50) menu.TextColor3 = Color3.new()
  226. menu.TextStrokeTransparency = 0 menu.Font = "ArialBold" menu.Text = "Toggle Visibility"
  227. menu.TextStrokeColor3 = Color3.new(1,1,1) menu.FontSize = "Size18"
  228. local s = coroutine.wrap(function() while true do openmenu() y() openlist() y() end end)
  229. up.MouseButton1Click:connect(function() off = off - 1 s() s() end)
  230. up.MouseButton2Click:connect(function() off = off - 10 s() s() end)
  231. down.MouseButton1Click:connect(function() off = off + 1 s() s() end)
  232. down.MouseButton2Click:connect(function() off = off + 10 s() s() end)
  233. menu.MouseButton1Down:connect(s) return gui
  234. end
  235. function Gui:Donate()
  236. if Player:findFirstChild("EinADM Donate",true) then
  237. Player:findFirstChild("EinADM Donate",true):Destroy()
  238. end local gui = Instance.new("ScreenGui",Player:findFirstChild("PlayerGui"))
  239. gui.Name = "EinADM Donate" local f = Instance.new("Frame",gui)
  240. f.Style = "RobloxSquare" f.Size = UDim2.new(0,200,0,400)
  241. f.Position = UDim2.new(0.5,-100,0.5,-200) f.ZIndex = 9
  242. local market = game:GetService("MarketplaceService")
  243. for k,v in pairs({168060511,169952826,169952831,169952835}) do
  244. local i = market:GetProductInfo(v)
  245. local r = Instance.new("TextButton",f) r.ZIndex = 10
  246. r.Size = UDim2.new(0.5,0,0.25,-2) r.Font = "SourceSansBold"
  247. r.FontSize = "Size24" r.Text = i.PriceInRobux.." R$"
  248. r.TextStrokeTransparency = 0 r.BackgroundColor3 = Color3.new()
  249. r.BackgroundTransparency = 0.5 r.TextColor3 = Color3.new()
  250. r.TextStrokeColor3 = Color3.new(0,1) local t = r:clone()
  251. r.MouseButton1Click:connect(function() gui:Destroy()
  252. market:PromptPurchase(Player,v,false,"Robux")
  253. end) t.TextStrokeColor3 = Color3.new(1,0.5)
  254. r.Position = UDim2.new(0,0,(k-1)*0.25,0) t.Parent = f
  255. t.Position = UDim2.new(0.5,0,(k-1)*0.25,0)
  256. t.MouseButton1Click:connect(function() gui:Destroy()
  257. market:PromptPurchase(Player,v,false,"Tix")
  258. end) t.Text = i.PriceInTickets.." TIX"
  259. end
  260. end
  261. function Gui:OutputScreen(yes)
  262. if Player.PlayerGui:findFirstChild("LogManagerGui") then
  263. if yes then return end Player.PlayerGui.LogManagerGui:Destroy()
  264. end if true then return CreateLog() end
  265. local gui = Instance.new("ScreenGui",Player:findFirstChild("PlayerGui"))
  266. gui.Name = "EinADM OutputScreen"
  267. local frame = Instance.new("Frame",gui) frame.Name = "Output"
  268. frame.Style = "RobloxRound" frame.Size = UDim2.new(0,400,0,400)
  269. frame.Position = UDim2.new(0,0,0.5,-200) local lines,large = {},false
  270. local close = Instance.new("TextButton",frame) close.Name = "Close"
  271. close.Size = UDim2.new(1,0,0,50) close.BackgroundTransparency = 1
  272. close.Position = UDim2.new(0,0,1,0) close.TextColor3 = Color3.new()
  273. close.TextStrokeTransparency = 0 close.Font = "ArialBold" close.Text = "Close"
  274. close.TextStrokeColor3 = Color3.new(1,1,1) close.FontSize = "Size18"
  275. close.MouseButton1Down:connect(function() gui:Destroy() end)
  276. local holder = Instance.new("Frame",frame) holder.Name = "Holder"
  277. holder.Size = UDim2.new(1,0,1,0) holder.BackgroundTransparency = 1
  278. holder.ClipsDescendants = true holder.Active = false
  279. local list = Instance.new("Frame",holder) list.Name = "List"
  280. list.Size = UDim2.new(1,0,1,0) list.BackgroundTransparency = 1
  281. local showbar = Instance.new("Frame",frame) showbar.Name = "ShownScollbar"
  282. showbar.Size = UDim2.new(0,10,1,0) showbar.Position = UDim2.new(1,10,0,0)
  283. showbar.BackgroundColor3 = Color3.new() showbar.BackgroundTransparency = 0.5
  284. local bar = Instance.new("Frame",frame) bar.Name = "Scrollbar"
  285. bar.Size = UDim2.new(0,10,1,0) bar.Position = UDim2.new(1,10,0,0)
  286. bar.BackgroundTransparency = 1 bar.Active = true bar.Draggable = true
  287. local stat = bar:clone() stat.Draggable = false
  288. stat.BackgroundTransparency = 0.5 stat.Parent = bar
  289. local off = 0 bar.Changed:connect(function()
  290. off = off + bar.Position.Y.Offset/100*bar.AbsoluteSize.Y
  291. bar.Position = UDim2.new(1,10,0,0)
  292. off = off > #lines*20 and #lines*20 or off < 385 and 385 or off
  293. list.Position = UDim2.new(0,0,0,-off)
  294. stat.Size = UDim2.new(1,0,100/#lines/100,0)
  295. stat.Position = UDim2.new(0,0,(off-385)/#lines/20/8075*1e4,0)
  296. end) local first = true
  297. local function add(t,c,w)
  298. if t:find("\n") then
  299. for v in t:gmatch("[^\n]+") do
  300. add(v,c,w)
  301. end return
  302. end
  303. if #lines == 100 and first then first = false
  304. table.remove(lines,1):Destroy() --off = off + 20
  305. list.Position = list.Position - UDim2.new(0,0,0,20)
  306. elseif #lines == 100 then
  307. table.remove(lines,1):Destroy()
  308. else off = off + 20
  309. list.Size = list.Size + UDim2.new(0,0,0,20)
  310. list.Position = list.Position - UDim2.new(0,0,0,20)
  311. bar.Position = UDim2.new(1,0,0,0)
  312. end
  313. for k,v in pairs(list:GetChildren()) do
  314. v.Position = v.Position - UDim2.new(0,0,0,20)
  315. end local line = Instance.new("TextLabel",list)
  316. line.BackgroundTransparency = 1
  317. line.TextStrokeTransparency = 0
  318. line.TextStrokeColor3 = c or Color3.new(1,1,1)
  319. line.TextColor3 = Color3.new()
  320. line.TextXAlignment = "Left" table.insert(lines,line)
  321. line.Font = "ArialBold" line.FontSize = "Size18"
  322. line.Size = UDim2.new(1,-50,0,20)
  323. line.Position = UDim2.new(0,50,1,-20)
  324. line.Text = " "..t line.ZIndex = 4
  325. local over = Instance.new("TextLabel",line)
  326. over.BackgroundTransparency = 1
  327. over.TextStrokeTransparency = 0
  328. over.TextStrokeColor3 = Color3.new()
  329. over.TextColor3 = Color3.new(1,1,1)
  330. over.TextXAlignment = "Left"
  331. over.Font = "Arial" over.FontSize = "Size14"
  332. over.Size = UDim2.new(0,50,1,0)
  333. over.ClipsDescendants = true
  334. over.Position = UDim2.new(0,-50,0,0)
  335. over.Text = type(w) == "string" and w or StringToTime(w or tick())
  336. end for k,v in pairs(Syncface:GetOutput()) do add(v.Message,v.Color,v.Time) end
  337. add("Can't keep output connecting with server! Will be implemented soon!",Color3.new(1))
  338. local size = Instance.new("TextButton",frame) size.Name = "Size"
  339. size.Size = UDim2.new(1,0,0,50) size.BackgroundTransparency = 1
  340. size.Position = UDim2.new(0,0,0,-50) size.TextColor3 = Color3.new()
  341. size.TextStrokeTransparency = 0 size.Font = "ArialBold" size.Text = "Enlarge"
  342. size.TextStrokeColor3 = Color3.new(1,1,1) size.FontSize = "Size18"
  343. size.MouseButton1Down:connect(function() large = not large size.Text = large and "Shrink" or "Enlarge"
  344. frame:TweenSize(UDim2.new(0,large and 800 or 400,0,400)) end) OutputGui,OutputFunc = gui,add return gui,add
  345. end
  346.  
  347. local function ConnectChat()
  348. Player.Chatted:connect(function(m)
  349. if Player.Parent then return end
  350. Queue:Fire("Chatted",m)
  351. end)
  352. end ConnectChat()
  353. Player.AncestryChanged:connect(ConnectChat)
  354.  
  355. local DoNotice do
  356. local ShowNotice = true
  357. function DoNotice() if not ShowNotice then return end
  358. if Player.userId ~= game.CreatorId then return end wait()
  359. local g = Instance.new("ScreenGui",Player:findFirstChild("PlayerGui"))
  360. g.Name = "EinADM Bug Notification"
  361. local f = Instance.new("Frame",g) f.Size = UDim2.new(0,100,0,220)
  362. f.Position = UDim2.new(1,-95,0.5,-75) f.Style = "RobloxRound"
  363. local t = Instance.new("TextLabel",f) t.BackgroundTransparency = 1
  364. t.Size = UDim2.new(1,0,0,20) t.Text = "EinADM"
  365. t.FontSize = "Size24" t.Font = "SourceSansBold"
  366. t.TextColor3 = Color3.new() t.TextStrokeTransparency = 0
  367. t.TextStrokeColor3 = Color3.new(1,1,1)
  368. local v = t:clone() v.Parent = f
  369. v.Text = "Generation 9"
  370. v.Position = UDim2.new(0,0,0,20)
  371. v.Size = UDim2.new(1,0,0,20) v.Font = "SourceSans"
  372. v.FontSize = "Size18" v.TextStrokeTransparency = 0.5
  373. local n = v:clone() n.TextWrapped = true
  374. n.TextColor3 = Color3.new(1,1,1)
  375. n.TextStrokeColor3 = Color3.new()
  376. n.Size = UDim2.new(1,0,0,110) n.FontSize = "Size14"
  377. n.Position = UDim2.new(0,0,0,40) n.Parent = f
  378. n.Text = "If you find any bugs, please use bug/MESSAGE"
  379. .."\nPlease support the creator by using donate/"
  380. .."\n(Only the game creator can see this message)"
  381. local i = n:clone() i.Parent = f
  382. i.Position = UDim2.new(0,0,0,150)
  383. i.Size = UDim2.new(1,0,0,70)
  384. i.TextStrokeTransparency = 0
  385. i.Text = "Move your mouse over here to hide this"
  386. i.MouseEnter:connect(function() ShowNotice = false g:Destroy() end)
  387. end
  388. end Player.CharacterAdded:connect(DoNotice)
  389. if Player.Character then pcall(DoNotice) end
  390.  
  391. RE.OnClientEvent:connect(function(m,...)
  392. if m == "Output" then
  393. if OutputFunc then
  394. pcall(OutputFunc,...)
  395. end
  396. elseif m == "RunScript" then
  397. if not module("ScriptsModule") then
  398. return print("Seems like we're missing a ModuleScript!")
  399. end local s = require(module("ScriptsModule"))[tostring(...)]
  400. if s then return pcall(coroutine.wrap(s)) end
  401. print("[AdminClient] Missing script in ScriptsModule:",...)
  402. else
  403. print("[AdminClient] (RemoteEvent) Method not found:",m,"args:",...)
  404. end
  405. end)
  406. function RF.OnClientInvoke(m,...)
  407. print("[AdminClient] OnClientInvoke (",AdvancedTupleToString(" , ",m,...),")")
  408. if type(m) ~= "string" then return end
  409. if Gui[m] then
  410. return Gui[m](Gui,...)
  411. elseif m == "CreateLog" then
  412. return CreateLog()
  413. elseif m == "dttp" then
  414. local m = Instance.new("Message",workspace)
  415. m.Text = "\n\nYou'll be teleported in 5 seconds! Patience!"
  416. game:GetService("Players").LocalPlayer:Kick() wait(5)
  417. m.Text= "\n\nHere we go! Gonna join the place now! Allons-y!"
  418. game:GetService("TeleportService"):Teleport(...)
  419. end return false,"Method not found"
  420. end
  421.  
  422. Queue:Fire("Connected")
  423. print("[AdminClient] Connected")Scripts = {}
  424. function Scripts:Fly()
  425. print("Loading ADM Fly Script by einsteinK") wait(0.1) local plr = game:GetService("Players").LocalPlayer
  426. repeat wait(0.1) until plr.Character wait(0.1) local mo,c,f = plr:GetMouse(),workspace.CurrentCamera,true
  427. local v = Instance.new("BodyVelocity",plr.Character and plr.Character:findFirstChild("Head")) v.Name = "ADM Fly"
  428. local h = plr.Character and plr.Character:findFirstChild("Humanoid") or Instance.new("Humanoid")
  429. v.maxForce = Vector3.new(1e99,1e99,1e99) local m = 0 local s = 0 local p = Instance.new("Part",plr.Character)
  430. p.Name = "Step" p.FormFactor = "Custom" p.Size = Vector3.new(5,0,5) p.Anchored = true
  431. p.BrickColor = BrickColor.new("Really black") p.Transparency = 0.5 Instance.new("CylinderMesh",p)
  432. mo.KeyDown:connect(function(k) if k == "f" then f = not f v.maxForce = f and Vector3.new(1e9,1e9,1e9) or Vector3.new()
  433. p.Parent = f and plr.Character or nil elseif k == "w" or k:byte() == 17 then m = h.WalkSpeed
  434. elseif k == "s" or k:byte() == 18 then m = -h.WalkSpeed elseif k == "a" or k:byte() == 20 then s = h.WalkSpeed
  435. elseif k == "d" or k:byte() == 19 then s = -h.WalkSpeed end end) local ch = plr.Character
  436. mo.KeyUp:connect(function(k) local ss=k:byte() if k=="w" or k=="s" or ss == 17 or ss == 18 then m=0 elseif
  437. k=="a" or k=="d" or ss==20 or ss==19 then s=0 end end) while wait() and ch == plr.Character
  438. and v.Parent == plr.Character.Head do v.velocity = CFrame.new(c.CoordinateFrame.p,c.Focus.p).lookVector * m
  439. v.velocity = (CFrame.new(c.CoordinateFrame.p,c.Focus.p) * CFrame.Angles(0,math.pi/2,0)).lookVector * 2 + v.velocity
  440. local cf = CFrame.new((plr.Character.Torso.CFrame * CFrame.new(0,-3.1,0)).p:lerp(p.Position,0.9))
  441. p.Size = Vector3.new(h.WalkSpeed/5,0,h.WalkSpeed/5) p.CFrame=cf p.Anchored=true p.Transparency=0.5
  442. p.Parent = f and plr.Character or nil v.maxForce = f and Vector3.new(1e9,1e9,1e9) or Vector3.new() end
  443. end
  444. function Scripts:Noclip()
  445. local plr = game:GetService("Players").LocalPlayer local ch = plr.Character
  446. plr.Character.Head.Changed:connect(function() plr.Character.Head.CanCollide = false end)
  447. plr.Character.Torso.Changed:connect(function() plr.Character.Torso.CanCollide = false end)
  448. plr.Character.HumanoidRootPart.Changed:connect(function() plr.Character.HumanoidRootPart.CanCollide = false end)
  449. while wait() and ch == plr.Character do plr.Character.Head.CanCollide = false
  450. plr.Character.Torso.CanCollide = false plr.Character.HumanoidRootPart.CanCollide = false end
  451. end
  452. function Scripts:Freecam()
  453. local mode,player = Instance.new("Model",workspace),game:GetService("Players").LocalPlayer
  454. local probe = Instance.new("Part",mode) Instance.new("Humanoid",mode).MaxHealth = 0
  455. mode.Name = tostring(player) probe.Anchored = true probe.CanCollide = false probe.Transparency = 0.5
  456. probe.Shape = "Ball" probe.Size = Vector3.new(2,2,2) probe.TopSurface = 0 probe.BottomSurface = 0 probe.Name = "Head"
  457. player.Chatted:connect(function(msg) local b = Instance.new("BillboardGui",probe) b.Adornee = probe
  458. b.SizeOffset = Vector2.new(-2,2) b.Size = UDim2.new(1,0,1,0) local t = Instance.new("TextLabel",b)
  459. t.Size = UDim2.new(5,0,5,0) t.BackgroundTransparency = 1 t.Text = msg t.TextStrokeColor3 = player.TeamColor.Color
  460. t.TextColor3 = Color3.new(1,1,1) t.TextStrokeTransparency = 0 t.Font = "SourceSansBold" t.FontSize = "Size24"
  461. for i=0,5,0.1 do wait() b.StudsOffset = Vector3.new(0,i) t.TextStrokeTransparency = i/5 t.TextTransparency = i/5
  462. end b:Destroy() end) while not player.Character and mode.Parent == workspace and probe.Parent == mode do
  463. probe.CFrame = workspace.CurrentCamera.Focus wait() end mode:Destroy()
  464. end
  465. function Scripts:Fixcam()
  466. local cam,plr = workspace.CurrentCamera,game:GetService("Players").LocalPlayer cam.CameraType = "Custom"
  467. cam.CameraSubject = plr.Character and plr.Character:findFirstChild("Humanoid") or nil
  468. end
  469. function Scripts:Jetpack()
  470. local p = game:GetService("Players").LocalPlayer local ch = p.Character
  471. if not ch then error"No Character" end local mouse = p:GetMouse()
  472. local t = ch:findFirstChild("Torso") if not t then error"No Torso" end
  473. local function s(p) for k,v in pairs({"Left","Right","Top","Bottom","Front","Back"}) do p[v.."Surface"] = 0 end end
  474. local function w(...) local w = Instance.new("Weld",select(2,...)) w.Part0,w.Part1,w.C0 = ... end
  475. local c = Instance.new("Part",t) c.FormFactor = "Symmetric" c.Size = Vector3.new(2,2,1)
  476. c.BrickColor = BrickColor.new(1001) c.Material = "Sand" c.CanCollide = false c.Locked = true s(c)
  477. local q = Instance.new("Part",c) q.FormFactor = "Symmetric" q.Size = Vector3.new(1,2,1)
  478. q.BrickColor = BrickColor.new("Cyan") q.Material = "Sand" q.CanCollide = false q.Locked = true s(q)
  479. Instance.new("SpecialMesh",q).MeshType = "Sphere" local r = q:clone() r.Parent = c local cf = CFrame
  480. c.Position,q.Position,r.Position = Vector3.new(123,456,789),Vector3.new(123,456,789),Vector3.new(123,456,789)
  481. w(t,c,cf.new(0,0,1)) w(c,q,cf.new(-1.5,0,0)) w(c,r,cf.new(1.5,0,0)) local s = Instance.new("BodyThrust",c)
  482. local last = 0 game:GetService("UserInputService").JumpRequest:connect(function() last = tick() end)
  483. local sw ch.Humanoid.Swimming:connect(function(sp) sw = sp > ch.Humanoid.WalkSpeed - 2 end)
  484. while wait() and s:IsDescendantOf(game) do s.force = Vector3.new(0,tick() < last + 0.1 and not sw and 7500,0)
  485. q.BrickColor = BrickColor.new(tick() < last + 0.1 and not sw and 1019 or 1013) r.BrickColor = q.BrickColor end
  486. end
  487. function Scripts:MCFly()
  488. local Players=game:GetService("Players") local Cam=workspace.CurrentCamera
  489. local Player=Players.LocalPlayer local Character=Player.Character local Human=Character.Humanoid
  490. local Mouse=Player:GetMouse() local Torso=Character.Torso local CU,BV,BG=Vector3.new(0,10,0)
  491. local FB,LR,BO,UP=0,0,0,0 local function Activate() BV=Instance.new("BodyVelocity",Torso)
  492. BV.Name="FlyBodyVelocity" BV.maxForce=Vector3.new(1e9,1e9,1e9) BV.velocity=Vector3.new(0,0,0)
  493. BG=Instance.new("BodyGyro",Torso) BG.Name="FlyBodyGyro" BG.maxTorque=Vector3.new(1e9,1e9,1e9)
  494. BG.cframe=Torso.CFrame while wait() and BV and BV.Parent==Torso and BG.Parent==Torso do
  495. local s=Human.WalkSpeed*2 local t=CFrame.new(Cam.CoordinateFrame.p,Cam.Focus.p).lookVector * (FB+BO) * s
  496. t=(CFrame.new(Cam.CoordinateFrame.p,Cam.Focus.p) * CFrame.Angles(0,math.pi/2,0)).lookVector * LF*s + t
  497. t=t==Vector3.new() and Vector3.new(0,0.15,0) or t CU=t:lerp(CU,0.975)
  498. if UP ~= 0 then BV.velocity=CU + Vector3.new(0,UP*s,0) else BV.velocity=CU end
  499. BG.cframe=(t==Vector3.new() or t==Vector3.new(0,0.15,0)) and BG.cframe or CFrame.new(Vector3.new(),t) end
  500. end local function Deactivate() local bv=BV BG:Destroy() BV,BG=nil,nil
  501. while wait() and bv.maxForce.magnitude > 1 do bv.maxForce=Vector3.new():lerp(bv.maxForce,0.001) end bv:Destroy() end
  502. local function Switch() if BG then Deactivate() else Activate() end end
  503. local function FindBase() return workspace:FindPartOnRay(Ray.new(Torso.Position,Vector3.new(0,-1000,0)),Character) end
  504. local function Park() if not FindBase() or not CU or not BG then return end
  505. if (select(2,FindBase())-Torso.Position).magnitude < 3 then return end UP,FB,LR=0,0,0
  506. while wait() and FindBase() and UP==0 and FB==0 and LR==0 do local x,y,z=BG.cframe:toEulerAnglesXYZ()
  507. BG.cframe=CFrame.Angles(x/1.025,y,z/1.025) if (select(2,FindBase())-Torso.Position).magnitude < 3 then break end
  508. CU=CU:lerp(Vector3.new(0,-(select(2,FindBase())-Torso.Position).magnitude/2,0),0.975)
  509. end if UP==0 and FB==0 and LR==0 and FindBase() then Deactivate() end end
  510. Mouse.KeyDown:connect(function(k) if k=="w" or k:byte()==17 then
  511. FB=1 elseif k=="s" or k:byte()==18 then FB=-1 elseif k=="a" or k:byte()==20 then
  512. LF=1 elseif k=="d" or k:byte()==19 then LF=-1 elseif k=="b" then BO=3 wait(1) BO=0 elseif k=="p" then
  513. ypcall(Park) elseif k==" " then UP=1 local s=tick() if Mouse.KeyDown:wait()==" " then if tick()-s < 0.25 then
  514. Switch() end end elseif k:byte()==47 or k:byte()==48 then UP=-1 end end) Mouse.KeyUp:connect(function(k)
  515. if k=="w" or k:byte()==17 then FB=0 elseif k=="s" or k:byte()==18 then FB=0 elseif k=="a" or k:byte()==20 then
  516. LF=0 elseif k=="d" or k:byte()==19 then LF=0 elseif k==" " then UP=0 elseif k:byte()==48 then UP=0 end end)
  517. end
  518. function Scripts:Shade()
  519. local plr=game:GetService("Players").LocalPlayer local ch = plr.Character if not ch then return end
  520. local h = ch:findFirstChild("Humanoid") if not h then return end h.MaxHealth = 500 h.WalkSpeed = 24
  521. local function t(o,n) for k,v in pairs(o:GetChildren()) do if (v:IsA("BasePart") or v:IsA("Decal")) and
  522. v.Transparency ~= 1 then v.Transparency = n end t(v,n) end end local S,C = 1,0 h.Running:connect(function(s)
  523. S = 1-s/h.WalkSpeed end) local H = 500 h.Health = H h.HealthChanged:connect(function(n) if n > H then
  524. h.Health = H end H = h.Health end) while wait() and ch.Parent == workspace do if S > C and C < 0.95 then
  525. C = C + 0.05 elseif S < C and C-0.05 > 0.1 then C = C - 0.05 elseif S > C then C = 0.99 end t(ch,C) end
  526. end
  527.  
  528. return Scripts
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement