Advertisement
Guest User

noclip

a guest
Dec 1st, 2019
1,450
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 33.27 KB | None | 0 0
  1. local settings = {noclipKey="World69",clicktpKey="T",cmdKey="Semicolon",clickespKey="LeftControl"} --blank=World69
  2. local tpIgnore = true
  3. local tpExact = false
  4. local espLimit = 9999
  5. local Players = game:GetService("Players")
  6. local UIS = game:GetService("UserInputService")
  7. local StarterGui = game:GetService("StarterGui")
  8. local CoreGui = game:GetService("CoreGui")
  9. local player = Players.LocalPlayer or Players:GetPropertyChangedSignal("LocalPlayer"):Wait()
  10. player = Players.LocalPlayer
  11. local cam = workspace.CurrentCamera
  12. math.randomseed(tick())
  13. local root
  14. if readfile then
  15. pcall(function()
  16. local new = game:GetService("HttpService"):JSONDecode(readfile("EssenceSettings.txt"))
  17. --corruption?
  18. local doOverwrite=false
  19. for k,v in pairs(new) do
  20. if settings[k]==nil then
  21. doOverwrite=true
  22. new[k]=nil
  23. end
  24. end
  25. for k,v in pairs(settings) do
  26. if new[k]==nil then
  27. doOverwrite=true
  28. new[k]=v
  29. end
  30. end
  31. --use input
  32. if doOverwrite then
  33. writefile("EssenceSettings.txt",game:GetService("HttpService"):JSONEncode(new))
  34. end
  35. settings = new
  36. end)
  37. game.Close:Connect(function()
  38. writefile("EssenceSettings.txt",game:GetService("HttpService"):JSONEncode(settings))
  39. end)
  40. end
  41. --feel free to add commands
  42. local adminCommands = {
  43. rj = function() game:GetService("TeleportService"):Teleport(game.PlaceId,player) end,
  44. rejoin = function() game:GetService("TeleportService"):Teleport(game.PlaceId,player) end,
  45. ws = function(argsString) player.Character.Humanoid.WalkSpeed = tonumber(argsString) end,
  46. jp = function(argsString) player.Character.Humanoid.JumpPower = tonumber(argsString) end,
  47. hh = function(argsString)
  48. if argsString == '' then
  49. if player.Character.Humanoid.HipHeight > 2.5 then
  50. player.Character.Humanoid.HipHeight = 2
  51. else
  52. player.Character.Humanoid.HipHeight = 10
  53. end
  54. else
  55. player.Character.Humanoid.HipHeight = tonumber(argsString)
  56. end
  57. end,
  58. goto = function(argsString)
  59. local target = getPlayer(argsString)
  60. if target and target.Character and target.Character:FindFirstChild("HumanoidRootPart") then
  61. if game.PlaceId==606849621 then
  62. local door = workspace.Apartments.Skyscraper6.ExitDoor.Touch
  63. local oldcf = door.CFrame
  64. door.CFrame = root.CFrame
  65. wait()
  66. door.CFrame = oldcf
  67. end
  68. if tpExact then
  69. root.CFrame = target.Character.HumanoidRootPart.CFrame
  70. else
  71. player.Character:MoveTo(target.Character.HumanoidRootPart.CFrame.p)
  72. end
  73. end
  74. end,
  75. }
  76. --// utilities //
  77. function getFirstChild(service,str,modifier)
  78. local children = service:GetChildren()
  79. for i=1,#children do
  80. local v = children[i]
  81. for s in string.gmatch(v.Name,"%S+") do
  82. if modifier(s:sub(1,#str)) == str then
  83. return v
  84. end
  85. end
  86. end
  87. end
  88. function findObject(service,str)
  89. if service and str and #str>0 then
  90. --exact match
  91. local targ = service:FindFirstChild(str) or service:FindFirstChild(str:lower())
  92. if targ then
  93. return targ
  94. else
  95. --loose match
  96. return getFirstChild(service,str,(str:lower()==str and string.lower) or function(x) return x end)
  97. end
  98. end
  99. end
  100. function getPlayer(str)
  101. if str:lower()=="me" then
  102. return player
  103. elseif str:lower()=="random" then
  104. local players = Players:GetPlayers()
  105. for i=1,#players do
  106. if players[i]==player then
  107. table.remove(players,i)
  108. break
  109. end
  110. end
  111. return players[math.random(1,#players)]
  112. elseif str:sub(1,1)=='%' then
  113. local team = findObject(game:GetService('Teams'),str:sub(2))
  114. if team then
  115. local players = team:GetPlayers()
  116. for i=1,#players do
  117. if players[i]==player then
  118. table.remove(players,i)
  119. break
  120. end
  121. end
  122. return players[math.random(1,#players)]
  123. end
  124. else
  125. return findObject(Players,str)
  126. end
  127. end
  128. local espManagementTick = 0
  129. local function espManage()
  130. espManagementTick = tick()
  131. local camPos = cam.CFrame.p
  132. local folders = espGui:GetChildren()
  133. for i=1,#folders do
  134. folders[i].Box.Visible = false
  135. folders[i].BillboardGui.Enabled = false
  136. end
  137. local players = Players:GetPlayers()
  138. for i=1,#players do
  139. local p = players[i]
  140. local folder = espGui:FindFirstChild(p.Name)
  141. if not folder then
  142. folder = Instance.new("Folder")
  143. folder.Name = p.Name
  144. boxTemplate:Clone().Parent = folder
  145. bbTemplate:Clone().Parent = folder
  146. folder.BillboardGui.NameTag.Text = p.Name
  147. folder.Parent = espGui
  148. end
  149. if p~=player and p.Character then
  150. local pRoot = p.Character:FindFirstChild("HumanoidRootPart")
  151. if pRoot then
  152. local distance = (pRoot.Position-camPos).Magnitude
  153. if distance < espLimit then
  154. local box,bbgui = folder.Box,folder.BillboardGui
  155. bbgui.NameTag.TextColor3 = p.TeamColor.Color
  156. bbgui.Adornee = pRoot
  157. bbgui.Enabled = true
  158. if distance > 900 then
  159. box.Visible = false
  160. bbgui.NameTag.TextStrokeTransparency = 1
  161. bbgui.Dot.BackgroundColor3 = p.TeamColor.Color
  162. bbgui.Dot.Visible = true
  163. else
  164. box.Color3 = p.TeamColor.Color
  165. box.Adornee = pRoot
  166. box.Visible = true
  167. bbgui.Dot.Visible = false
  168. bbgui.NameTag.TextStrokeTransparency = 0.3
  169. if distance > 300 then
  170. box.Transparency = 0
  171. else
  172. box.Transparency = 0.5
  173. end
  174. end
  175. end
  176. end
  177. end
  178. end
  179. end
  180. local function shortenKey(name)
  181. if name=="World69" then
  182. return ""
  183. elseif name=="LeftControl" or name=="RightControl" then
  184. return "CTRL"
  185. elseif name=="LeftShift" or name=="RightShift" then
  186. return "SHIFT"
  187. elseif name=="LeftAlt" or name=="RightAlt" then
  188. return "ALT"
  189. end
  190. local succ,c = pcall(string.char,Enum.KeyCode[name].Value)
  191. if succ and c:match("%S") then
  192. return c:upper()
  193. end
  194. return name:upper()
  195. end
  196. --// interface //
  197. Create = function(class,parent,props)
  198. local new = Instance.new(class)
  199. for k,v in next,props do
  200. new[k]=v
  201. end
  202. new.Parent = parent
  203. return new
  204. end
  205. gui=Create("ScreenGui",CoreGui,{Name="Essence", ZIndexBehavior="Sibling", ResetOnSpawn=false, DisplayOrder=0})
  206. Main=Create("ImageLabel",gui,{Name="Main", Image="rbxassetid://2851925780", BorderSizePixel=0, SliceCenter=Rect.new(15,15,15,15), ScaleType="Slice", BorderColor3=Color3.new(0.106,0.165,0.208),
  207. BackgroundTransparency=1, Position=UDim2.new(0.75,0,1,-133), ImageColor3=Color3.new(0.176,0.176,0.176), Size=UDim2.new(0,171,0,310), BackgroundColor3=Color3.new(1,1,1), ImageTransparency=0.15})
  208. noclipFrame=Create("ImageLabel",Main,{Name="noclipFrame", Image="rbxassetid://2851928141", SliceCenter=Rect.new(8,8,8,8), ScaleType="Slice", BorderColor3=Color3.new(0.106,0.165,0.208), BackgroundTransparency=1,
  209. Position=UDim2.new(0,11,0,30), ImageColor3=Color3.new(0.902,0.902,0.902), Size=UDim2.new(0,150,0,25), BackgroundColor3=Color3.new(1,1,1)})
  210. noclipBtn=Create("ImageButton",noclipFrame,{Name="noclipBtn", Image="rbxassetid://2851928141", SliceCenter=Rect.new(8,8,8,8), ScaleType="Slice", BorderColor3=Color3.new(0.106,0.165,0.208), Position=UDim2.new(0,1,0,1),
  211. ImageColor3=Color3.new(0.176,0.176,0.176), Size=UDim2.new(1,-2,1,-2), BackgroundTransparency=1, BackgroundColor3=Color3.new(1,1,1)})
  212. noclipLbl=Create("TextLabel",noclipBtn,{Name="noclipLbl", TextWrapped=true, Size=UDim2.new(0.4,0,1,0), BorderColor3=Color3.new(0.106,0.165,0.208), Text="OFF", TextSize=20,
  213. TextXAlignment="Left", Font="SourceSansSemibold", BackgroundTransparency=1, Position=UDim2.new(0.6,0,0,0), TextColor3=Color3.new(0.902,0.902,0.902), BackgroundColor3=Color3.new(1,1,1)})
  214. Label=Create("TextLabel",noclipBtn,{TextWrapped=true, Size=UDim2.new(0.58,0,1,0), BorderColor3=Color3.new(0.106,0.165,0.208), Text="NoClip:", TextSize=20, TextXAlignment="Right",
  215. Font="SourceSansSemibold", BackgroundTransparency=1, TextColor3=Color3.new(0.902,0.902,0.902), BackgroundColor3=Color3.new(1,1,1)})
  216. tpmodeFrame=Create("ImageLabel",Main,{Name="tpmodeFrame", Image="rbxassetid://2851928141", SliceCenter=Rect.new(8,8,8,8), ScaleType="Slice", BorderColor3=Color3.new(0.106,0.165,0.208), BackgroundTransparency=1,
  217. Position=UDim2.new(0,11,0,78), ImageColor3=Color3.new(0.902,0.902,0.902), Size=UDim2.new(0,150,0,25), BackgroundColor3=Color3.new(1,1,1)})
  218. tpmodeBtn=Create("ImageButton",tpmodeFrame,{Name="tpmodeBtn", Image="rbxassetid://2851928141", SliceCenter=Rect.new(8,8,8,8), ScaleType="Slice", BorderColor3=Color3.new(0.106,0.165,0.208), Position=UDim2.new(0,1,0,1),
  219. ImageColor3=Color3.new(0.176,0.176,0.176), Size=UDim2.new(1,-2,1,-2), BackgroundTransparency=1, BackgroundColor3=Color3.new(1,1,1)})
  220. tpmodeLbl=Create("TextLabel",tpmodeBtn,{Name="tpmodeLbl", TextWrapped=true, Size=UDim2.new(0.4,0,1,0), BorderColor3=Color3.new(0.106,0.165,0.208), Text=tpExact and "EXACT" or "MOVE", TextSize=20,
  221. TextXAlignment="Left", Font="SourceSansSemibold", BackgroundTransparency=1, Position=UDim2.new(0.6,0,0,0), TextColor3=Color3.new(0.902,0.902,0.902), BackgroundColor3=Color3.new(1,1,1)})
  222. Label_2=Create("TextLabel",tpmodeBtn,{TextWrapped=true, Size=UDim2.new(0.58,0,1,0), BorderColor3=Color3.new(0.106,0.165,0.208), Text="TpMode:", TextSize=20, TextXAlignment="Right",
  223. Font="SourceSansSemibold", BackgroundTransparency=1, TextColor3=Color3.new(0.902,0.902,0.902), BackgroundColor3=Color3.new(1,1,1)})
  224. espFrame=Create("ImageLabel",Main,{Name="espFrame", Image="rbxassetid://2851928141", SliceCenter=Rect.new(8,8,8,8), ScaleType="Slice", BorderColor3=Color3.new(0.106,0.165,0.208), BackgroundTransparency=1,
  225. Position=UDim2.new(0,11,0,54), ImageColor3=Color3.new(0.902,0.902,0.902), Size=UDim2.new(0,150,0,25), BackgroundColor3=Color3.new(1,1,1)})
  226. espBtn=Create("ImageButton",espFrame,{Name="espBtn", Image="rbxassetid://2851928141", SliceCenter=Rect.new(8,8,8,8), ScaleType="Slice", BorderColor3=Color3.new(0.106,0.165,0.208), Position=UDim2.new(0,1,0,1),
  227. ImageColor3=Color3.new(0.176,0.176,0.176), Size=UDim2.new(1,-2,1,-2), BackgroundTransparency=1, BackgroundColor3=Color3.new(1,1,1)})
  228. espLbl=Create("TextLabel",espBtn,{Name="espLbl", TextWrapped=true, Size=UDim2.new(0.4,0,1,0), BorderColor3=Color3.new(0.106,0.165,0.208), Text="OFF", TextSize=20,
  229. TextXAlignment="Left", Font="SourceSansSemibold", BackgroundTransparency=1, Position=UDim2.new(0.6,0,0,0), TextColor3=Color3.new(0.902,0.902,0.902), BackgroundColor3=Color3.new(1,1,1)})
  230. Label_3=Create("TextLabel",espBtn,{TextWrapped=true, Size=UDim2.new(0.58,0,1,0), BorderColor3=Color3.new(0.106,0.165,0.208), Text="BoxESP:", TextSize=20, TextXAlignment="Right",
  231. Font="SourceSansSemibold", BackgroundTransparency=1, TextColor3=Color3.new(0.902,0.902,0.902), BackgroundColor3=Color3.new(1,1,1)})
  232. cmdFrame=Create("ImageLabel",Main,{Name="cmdFrame", Image="rbxassetid://2851928141", SliceCenter=Rect.new(8,8,8,8), ScaleType="Slice", BorderColor3=Color3.new(0.106,0.165,0.208), BackgroundTransparency=1,
  233. Position=UDim2.new(0,11,0,107), ImageColor3=Color3.new(0.902,0.902,0.902), Size=UDim2.new(0,150,0,23), BackgroundColor3=Color3.new(1,1,1)})
  234. cmdBox=Create("TextBox",cmdFrame,{Name="cmdBox", TextWrapped=true, PlaceholderColor3=Color3.new(0.498,0.498,0.498), PlaceholderText=string.gsub(";rj ;goto ;hh ;ws ;jp",";",shortenKey(settings.cmdKey)), Size=UDim2.new(0.9,0,0.8,0),
  235. BorderColor3=Color3.new(0.106,0.165,0.208), Text="", TextSize=20, TextColor3=Color3.new(0.176,0.176,0.176), Font="SourceSans", BackgroundTransparency=1, Position=UDim2.new(0.05,0,0.05,0), BackgroundColor3=Color3.new(1,1,1)})
  236. arrowBtn=Create("ImageButton",Main,{Name="arrowBtn", Image="rbxassetid://3070990525", BorderColor3=Color3.new(0.106,0.165,0.208), Rotation=90, Position=UDim2.new(0,71,0,-21), ImageColor3=Color3.new(0.902,0.902,0.902),
  237. Size=UDim2.new(0,25,0,70), BackgroundTransparency=1, BackgroundColor3=Color3.new(1,1,1)})
  238. cogBtn=Create("ImageButton",Main,{Name="cogBtn", Image="rbxassetid://1533715539", BorderColor3=Color3.new(0.106,0.165,0.208), Position=UDim2.new(0,13,0,3), ImageColor3=Color3.new(0.902,0.902,0.902), Size=UDim2.new(0,23,0,23),
  239. BackgroundTransparency=1, BackgroundColor3=Color3.new(1,1,1)})
  240. Options=Create("Folder",Main,{Name="Options"})
  241. noclipKeyBox=Create("TextBox",Options,{Name="noclipKeyBox", TextWrapped=true, PlaceholderColor3=Color3.new(0.698,0.698,0.698), Size=UDim2.new(0,35,0,16), BorderColor3=Color3.new(0.106,0.165,0.208), Text=shortenKey(settings.noclipKey),
  242. TextSize=14, TextColor3=Color3.new(0.176,0.176,0.176), Font="SourceSansBold", Position=UDim2.new(0,125,0,162), TextScaled=true, BackgroundColor3=Color3.new(0.902,0.902,0.902)})
  243. noclipKeyLbl=Create("TextLabel",Options,{Name="noclipKeyLbl", TextWrapped=true, Size=UDim2.new(0,105,0,16), BorderColor3=Color3.new(0.106,0.165,0.208), Text="Noclip key", TextSize=17,
  244. Font="Fantasy", BackgroundTransparency=1, Position=UDim2.new(0,11,0,160), TextColor3=Color3.new(0.902,0.902,0.902), BackgroundColor3=Color3.new(1,1,1), TextXAlignment="Left"})
  245. clicktpKeyBox=Create("TextBox",Options,{Name="clicktpKeyBox", TextWrapped=true, PlaceholderColor3=Color3.new(0.698,0.698,0.698), Size=UDim2.new(0,35,0,16), BorderColor3=Color3.new(0.106,0.165,0.208), Text=shortenKey(settings.clicktpKey),
  246. TextSize=14, TextColor3=Color3.new(0.176,0.176,0.176), Font="SourceSansBold", Position=UDim2.new(0,125,0,210), TextScaled=true, BackgroundColor3=Color3.new(0.902,0.902,0.902)})
  247. clicktpKeyLbl=Create("TextLabel",Options,{Name="clicktpKeyLbl", TextWrapped=true, Size=UDim2.new(0,105,0,16), BorderColor3=Color3.new(0.106,0.165,0.208), Text="ClickTP key", TextSize=17,
  248. Font="Fantasy", BackgroundTransparency=1, Position=UDim2.new(0,11,0,208), TextColor3=Color3.new(0.902,0.902,0.902), BackgroundColor3=Color3.new(1,1,1), TextXAlignment="Left"})
  249. cmdKeyBox=Create("TextBox",Options,{Name="cmdKeyBox", TextWrapped=true, PlaceholderColor3=Color3.new(0.698,0.698,0.698), Size=UDim2.new(0,35,0,16), BorderColor3=Color3.new(0.106,0.165,0.208), Text=shortenKey(settings.cmdKey),
  250. TextSize=14, TextColor3=Color3.new(0.176,0.176,0.176), Font="SourceSansBold", Position=UDim2.new(0,125,0,138), TextScaled=true, BackgroundColor3=Color3.new(0.902,0.902,0.902)})
  251. cmdKeyLbl=Create("TextLabel",Options,{Name="cmdKeyLbl", TextWrapped=true, Size=UDim2.new(0,105,0,16), BorderColor3=Color3.new(0.106,0.165,0.208), Text="Command key", TextSize=17,
  252. Font="Fantasy", BackgroundTransparency=1, Position=UDim2.new(0,11,0,138), TextColor3=Color3.new(0.902,0.902,0.902), BackgroundColor3=Color3.new(1,1,1), TextXAlignment="Left"})
  253. clickespKeyBox=Create("TextBox",Options,{Name="clickespKeyBox", TextWrapped=true, PlaceholderColor3=Color3.new(0.698,0.698,0.698), Size=UDim2.new(0,35,0,16), BorderColor3=Color3.new(0.106,0.165,0.208), Text=shortenKey(settings.clickespKey),
  254. TextSize=14, TextColor3=Color3.new(0.176,0.176,0.176), Font="SourceSansBold", Position=UDim2.new(0,125,0,186), TextScaled=true, BackgroundColor3=Color3.new(0.902,0.902,0.902)})
  255. clickespKeyLbl=Create("TextLabel",Options,{Name="clickespKeyLbl", TextWrapped=true, Size=UDim2.new(0,105,0,16), BorderColor3=Color3.new(0.106,0.165,0.208), Text="ClickESP key", TextSize=17,
  256. Font="Fantasy", BackgroundTransparency=1, Position=UDim2.new(0,11,0,184), TextColor3=Color3.new(0.902,0.902,0.902), BackgroundColor3=Color3.new(1,1,1), TextXAlignment="Left"})
  257. tpignoreBtn=Create("TextButton",Options,{Name="tpignoreBtn", TextWrapped=true, Size=UDim2.new(0,25,0,16), TextColor3=Color3.new(0.176,0.176,0.176), BorderColor3=Color3.new(0.106,0.165,0.208), Text=tpIgnore and 'X' or '',
  258. Font="SourceSansBold", Position=UDim2.new(0,131,0,258), TextSize=23, BackgroundColor3=Color3.new(0.902,0.902,0.902)})
  259. tpignoreLbl=Create("TextLabel",Options,{Name="tpignoreLbl", TextWrapped=true, Size=UDim2.new(0,105,0,40), BorderColor3=Color3.new(0.106,0.165,0.208), Text="Clicks ignore transparent", TextSize=17,
  260. Font="Fantasy", BackgroundTransparency=1, Position=UDim2.new(0,11,0,256), TextColor3=Color3.new(0.902,0.902,0.902), TextYAlignment="Top", BackgroundColor3=Color3.new(1,1,1), TextXAlignment="Left"})
  261. espLimitBox=Create("TextBox",Options,{Name="espLimitBox", TextWrapped=true, PlaceholderColor3=Color3.new(0.698,0.698,0.698), Size=UDim2.new(0,35,0,16), BorderColor3=Color3.new(0.106,0.165,0.208), Text=tostring(espLimit),
  262. TextSize=14, TextColor3=Color3.new(0.176,0.176,0.176), Font="SourceSansBold", Position=UDim2.new(0,125,0,234), TextScaled=true, BackgroundColor3=Color3.new(0.902,0.902,0.902)})
  263. espLimitLbl=Create("TextLabel",Options,{Name="espLimitLbl", TextWrapped=true, Size=UDim2.new(0,105,0,16), BorderColor3=Color3.new(0.106,0.165,0.208), Text="ESP max studs", TextSize=17,
  264. Font="Fantasy", BackgroundTransparency=1, Position=UDim2.new(0,11,0,232), TextColor3=Color3.new(0.902,0.902,0.902), BackgroundColor3=Color3.new(1,1,1), TextXAlignment="Left"})
  265. containerStats=Create("Frame",gui,{Name="containerStats", BorderColor3=Color3.new(0.106,0.165,0.208), BackgroundTransparency=1, Size=UDim2.new(0,200,0,50), Position=UDim2.new(0.75,175,1,-51)})
  266. fpsLbl=Create("TextLabel",containerStats,{Name="fpsLbl", TextWrapped=true, TextStrokeTransparency=0.30000001192093, Size=UDim2.new(0.33,0,0.5,0), BorderColor3=Color3.new(0.106,0.165,0.208), Text="60 FPS",
  267. TextSize=25, Font="SourceSans", BackgroundTransparency=1, Position=UDim2.new(0.15,0,0,0), TextColor3=Color3.new(1,1,1), BackgroundColor3=Color3.new(1,1,1)})
  268. timeLbl=Create("TextLabel",containerStats,{Name="timeLbl", TextWrapped=true, TextStrokeTransparency=0.30000001192093, Size=UDim2.new(0.33,0,0.5,0), BorderColor3=Color3.new(0.106,0.165,0.208), Text="0:00",
  269. TextSize=25, Font="SourceSans", BackgroundTransparency=1, Position=UDim2.new(0.52,0,0,0), TextColor3=Color3.new(1,1,1)})
  270. xLbl=Create("TextLabel",containerStats,{Name="xLbl", TextWrapped=true, TextStrokeTransparency=0.30000001192093, Size=UDim2.new(0.333,0,0.5,0), BorderColor3=Color3.new(0.106,0.165,0.208), Text="0.00",
  271. TextSize=25, Font="SourceSans", BackgroundTransparency=1, Position=UDim2.new(0,0,0.5,0), TextColor3=Color3.new(1,0,0)})
  272. yLbl=Create("TextLabel",containerStats,{Name="yLbl", TextWrapped=true, TextStrokeTransparency=0.30000001192093, Size=UDim2.new(0.333,0,0.5,0), BorderColor3=Color3.new(0.106,0.165,0.208), Text="0.00",
  273. TextSize=25, Font="SourceSans", BackgroundTransparency=1, Position=UDim2.new(0.333,0,0.5,0), TextColor3=Color3.new(0,1,0)})
  274. zLbl=Create("TextLabel",containerStats,{Name="zLbl", TextWrapped=true, TextStrokeTransparency=0.30000001192093, Size=UDim2.new(0.333,0,0.5,0), BorderColor3=Color3.new(0.106,0.165,0.208), Text="0.00",
  275. TextSize=25, Font="SourceSans", BackgroundTransparency=1, Position=UDim2.new(0.666,0,0.5,0), TextColor3=Color3.new(1,1,0)})
  276. copyPosBtn=Create("TextButton",containerStats,{Name="copyPosBtn", BackgroundTransparency=1, Size=UDim2.new(1,0,0.5,0), Position=UDim2.new(0,0,0.5,0), TextScaled=true, Text="Copy position", TextColor3=Color3.new(1,1,1),
  277. BackgroundColor3=Color3.new(), Font="SourceSansLight", BorderSizePixel=0, ZIndex=2, TextTransparency=1})
  278. partInfoGui=Create("BillboardGui",gui,{Name="partInfoGui", AlwaysOnTop=true, StudsOffset=Vector3.new(0,5,0), ResetOnSpawn=false, Size=UDim2.new(0,40,0,40), Enabled=false, Active=true})
  279. partNameLbl=Create("TextLabel",partInfoGui,{Name="partNameLbl", BackgroundTransparency=1, Size=UDim2.new(1,0,0.5,0), Font="Highway", TextColor3=Color3.new(1,0.667,0), TextSize=26, TextStrokeTransparency=0})
  280. partPosLbl=Create("TextLabel",partInfoGui,{Name="partPosLbl", BackgroundTransparency=1, Size=UDim2.new(1,0,0.5,0), Position=UDim2.new(0,0,0.5,0), TextColor3=Color3.new(1,1,1), TextSize=13, TextStrokeTransparency=0})
  281. partInfoBox=Create("SelectionBox",partInfoGui,{Color3=Color3.new(1,0.5,0), LineThickness=0.2})
  282. partDelBtn=Create("ImageButton",partInfoGui,{Name="partDelBtn", BackgroundTransparency=1, Size=UDim2.new(1,0,1,0), ZIndex=2, Image="rbxassetid://2290983952", ImageTransparency=1})
  283. espGui = Create("Folder",CoreGui,{Name="EssenceESP"})
  284. bbTemplate = Create("BillboardGui",nil,{AlwaysOnTop=true, ResetOnSpawn=false, Size=UDim2.new(1,200,1,17), SizeOffset=Vector2.new(0,0.375), StudsOffset=Vector3.new(0,2.5,0)})
  285. Create("TextLabel",bbTemplate,{Name="NameTag", BackgroundTransparency=1, Size=UDim2.new(1,0,0.75,0), TextScaled=true, Font="SourceSansBold"})
  286. Create("Frame",bbTemplate,{Name="Dot", BorderSizePixel=0, Size=UDim2.new(0,4,0,4), Position=UDim2.new(0.5,-2,0.75,0)})
  287. boxTemplate = Create("BoxHandleAdornment",nil,{Name="Box", AlwaysOnTop=true, ZIndex=1, Size=Vector3.new(4,5.5,2), CFrame=CFrame.new(0,-0.25,0)})
  288. creditLbl = Create("TextLabel",Main,{BackgroundTransparency=1, Size=UDim2.new(0,80,0,20), Position=UDim2.new(1,63,0.7,0), Font="SourceSansLight", TextColor3=Color3.new(1,1,1), TextScaled=true, Text="by sirelKilla", TextStrokeTransparency=.8})
  289. --gui code
  290. local function clickEffect(img)
  291. local oldcol = img.ImageColor3
  292. if oldcol.r*255 < 89 then
  293. img.ImageColor3 = Color3.fromRGB(90,90,90)
  294. wait(0.07)
  295. img.ImageColor3 = oldcol
  296. end
  297. end
  298. local cogOut = false
  299. local arrowOut = true
  300. local function onArrowClicked()
  301. if not cogOut then
  302. arrowOut = not arrowOut
  303. if arrowOut then
  304. Main:TweenPosition(UDim2.new(0.75,0,1,-133),nil,"Quart",0.2,true)
  305. else
  306. Main:TweenPosition(UDim2.new(0.75,0,1,-30),nil,"Quart",0.2,true)
  307. end
  308. end
  309. end
  310. arrowBtn.MouseButton1Click:Connect(onArrowClicked)
  311. local cogReturnPos = Main.Position
  312. cogBtn.MouseButton1Click:Connect(function()
  313. cogOut = not cogOut
  314. if cogOut then
  315. cogReturnPos = Main.Position
  316. Main:TweenPosition(UDim2.new(0.75,0,1,-292),nil,"Quart",0.3,true)
  317. local dir = 1
  318. while cogOut do
  319. local n = cogBtn.ImageTransparency
  320. cogBtn.ImageTransparency = n+0.0333*dir
  321. if (dir==1 and n>0.5) or (dir==-1 and n<=0) then
  322. dir = -dir
  323. end
  324. wait()
  325. end
  326. cogBtn.ImageTransparency = 0
  327. else
  328. cogBtn.ImageTransparency = 0
  329. Main:TweenPosition(cogReturnPos,nil,"Quart",0.3,true)
  330. end
  331. end)
  332. local oldNameDist = player.NameDisplayDistance
  333. local espOn = false
  334. espBtn.MouseButton1Down:Connect(function()
  335. espOn = not espOn
  336. espLbl.Text = espOn and "ON" or "OFF"
  337. if espOn then
  338. player.NameDisplayDistance = 0
  339. espManage()
  340. else
  341. player.NameDisplayDistance = oldNameDist
  342. for _,folder in ipairs(espGui:GetChildren()) do
  343. if Players:FindFirstChild(folder.Name) then
  344. folder.Box.Visible = false
  345. folder.BillboardGui.Enabled = false
  346. else
  347. folder:Destroy()
  348. end
  349. end
  350. end
  351. clickEffect(espBtn)
  352. end)
  353. local noclipOn = false
  354. noclipBtn.MouseButton1Down:Connect(function()
  355. noclipOn = not noclipOn
  356. noclipLbl.Text = noclipOn and "ON" or "OFF"
  357. clickEffect(noclipBtn)
  358. end)
  359. tpmodeBtn.MouseButton1Down:Connect(function()
  360. tpExact = not tpExact
  361. tpmodeLbl.Text = tpExact and "EXACT" or "MOVE"
  362. clickEffect(tpmodeBtn)
  363. end)
  364. tpignoreBtn.MouseButton1Click:Connect(function()
  365. tpIgnore = not tpIgnore
  366. tpignoreBtn.Text = tpIgnore and 'X' or ''
  367. end)
  368. local tweenDelOut = game:GetService("TweenService"):Create(partDelBtn,TweenInfo.new(0.33),{ImageTransparency=0})
  369. local tweenDelIn = game:GetService("TweenService"):Create(partDelBtn,TweenInfo.new(0.33),{ImageTransparency=1})
  370. partDelBtn.MouseEnter:Connect(function() tweenDelOut:Play() end)
  371. partDelBtn.MouseLeave:Connect(function() tweenDelIn:Play() end)
  372. local function hidePartInfo()
  373. partInfoBox.Adornee = nil
  374. partInfoGui.Adornee = nil
  375. partInfoGui.Enabled = false
  376. partInfoBox.Visible = false
  377. partDelBtn.ImageTransparency = 1
  378. tweenDelIn:Play()
  379. end
  380. partDelBtn.MouseButton1Click:Connect(function()
  381. if partInfoGui.Adornee and partInfoGui.Adornee.Parent and partDelBtn.ImageTransparency < 0.1 and not UIS:IsKeyDown(settings.clickespKey) then
  382. partInfoGui.Adornee:Destroy()
  383. hidePartInfo()
  384. end
  385. end)
  386. cmdBox.FocusLost:Connect(function(enterPressed)
  387. local msg = cmdBox.Text:lower()
  388. cmdBox.Text = ''
  389. if enterPressed then
  390. if msg:sub(1,1):byte() == Enum.KeyCode[settings.cmdKey].Value then
  391. msg = msg:sub(2)
  392. end
  393. for cmd,callback in pairs(adminCommands) do
  394. if msg:sub(1,#cmd)==cmd and (msg..' '):sub(#cmd+1,#cmd+1) == ' ' then
  395. callback(msg:sub(#cmd+2))
  396. break
  397. end
  398. end
  399. end
  400. end)
  401. local oldEspLimit = espLimitBox.Text
  402. espLimitBox:GetPropertyChangedSignal("Text"):Connect(function()
  403. if #espLimitBox.Text>4 or espLimitBox.Text:match("%D") then
  404. espLimitBox.Text = oldEspLimit
  405. end
  406. oldEspLimit = espLimitBox.Text
  407. end)
  408. if setclipboard or Clipboard then
  409. local tweenCopyOut = game:GetService("TweenService"):Create(copyPosBtn,TweenInfo.new(0.33),{TextTransparency=0,BackgroundTransparency=0.4})
  410. local tweenCopyIn = game:GetService("TweenService"):Create(copyPosBtn,TweenInfo.new(0.33),{TextTransparency=1,BackgroundTransparency=1})
  411. copyPosBtn.MouseEnter:Connect(function() tweenCopyOut:Play() end)
  412. copyPosBtn.MouseLeave:Connect(function() tweenCopyIn:Play() end)
  413. copyPosBtn.MouseButton1Click:Connect(function()
  414. local pos = root.Position
  415. if setclipboard then
  416. setclipboard(string.format("%.2f, %.2f, %.2f",pos.X,pos.Y,pos.Z))
  417. else
  418. Clipboard.set(string.format("%.2f, %.2f, %.2f",pos.X,pos.Y,pos.Z))
  419. end
  420. end)
  421. end
  422. --// input //
  423. local function onMouseDown()
  424. if UIS:IsKeyDown(settings.clickespKey) or UIS:IsKeyDown(settings.clicktpKey) then
  425. local UnitRay = cam:ViewportPointToRay(UIS:GetMouseLocation().X,UIS:GetMouseLocation().Y)
  426. local part,hitp,normal
  427. repeat
  428. part,hitp,normal = workspace:FindPartOnRayWithIgnoreList(Ray.new(hitp or UnitRay.Origin,UnitRay.Direction*5000),{player.Character,part})
  429. until part==nil or tpIgnore==false or part.Transparency<0.9
  430. if part then
  431. if UIS:IsKeyDown(settings.clicktpKey) then
  432. if game.PlaceId==606849621 then
  433. local door = workspace.Apartments.Skyscraper6.ExitDoor.Touch
  434. local oldcf = door.CFrame
  435. door.CFrame = root.CFrame
  436. wait()
  437. door.CFrame = oldcf
  438. end
  439. if tpExact then
  440. root.CFrame = (root.CFrame-root.CFrame.p)+(hitp+normal*3.2)
  441. else
  442. player.Character:MoveTo(hitp+Vector3.new(0,3.2,0))
  443. end
  444. elseif partInfoBox.Adornee == part then
  445. hidePartInfo()
  446. else
  447. partNameLbl.Text = "Workspace".. part:GetFullName():sub(#workspace.Name+1)
  448. partPosLbl.Text = string.format("%.2f, %.2f, %.2f",part.Position.X,part.Position.Y,part.Position.Z)
  449. partInfoGui.Adornee = part
  450. partInfoBox.Adornee = part
  451. partInfoGui.Enabled = true
  452. partInfoBox.Visible = true
  453. end
  454. end
  455. end
  456. end
  457. local noclipPressedTick = 0
  458. UIS.InputBegan:Connect(function(input,gpe)
  459. local box = UIS:GetFocusedTextBox()
  460. if input.KeyCode==Enum.KeyCode.F9 then
  461. --old console
  462. local visible = not StarterGui:GetCore("DeveloperConsoleVisible")
  463. StarterGui:SetCore("DevConsoleVisible", false)
  464. StarterGui:SetCore("DeveloperConsoleVisible", visible)
  465. wait()
  466. StarterGui:SetCore("DevConsoleVisible", false)
  467. StarterGui:SetCore("DeveloperConsoleVisible", visible)
  468. if visible then
  469. local optionsFrame = CoreGui.RobloxGui:WaitForChild("DeveloperConsole"):WaitForChild("Interior"):WaitForChild("OptionsClippingFrame"):WaitForChild("OptionsFrame"):WaitForChild("Log")
  470. wait()
  471. for _,v in ipairs(optionsFrame:GetChildren()) do
  472. if v.Name=="Checkbox" and v.Position.X.Offset > 200 and v.Button.Check.Visible==false then
  473. --enable word wrap
  474. local btn = v.Button
  475. btn.BackgroundTransparency = 1
  476. btn.Check.BackgroundTransparency = 1
  477. btn.Parent = CoreGui.RobloxGui.DeveloperConsole
  478. wait()
  479. game:GetService("VirtualInputManager"):SendMouseButtonEvent(btn.AbsolutePosition.X+99, btn.AbsolutePosition.Y+99, 0, true, game)
  480. wait()
  481. game:GetService("VirtualInputManager"):SendMouseButtonEvent(btn.AbsolutePosition.X+99, btn.AbsolutePosition.Y+99, 0, false, game)
  482. wait()
  483. btn.Check.BackgroundTransparency = 0
  484. btn.Parent = v
  485. break
  486. end
  487. end
  488. end
  489. elseif box then
  490. if box ~= espLimitBox and box.Parent == Options and input.UserInputType==Enum.UserInputType.Keyboard then
  491. box.Text = shortenKey(input.KeyCode.Name)
  492. box:ReleaseFocus()
  493. settings[box.Name:sub(1,-4)] = input.KeyCode.Name
  494. noclipPressedTick = tick()
  495. cmdBox.PlaceholderText = string.gsub(";rj ;goto ;hh ;ws ;jp",";",shortenKey(settings.cmdKey))
  496. end
  497. elseif input.UserInputType==Enum.UserInputType.MouseButton1 then
  498. onMouseDown()
  499. elseif input.KeyCode == Enum.KeyCode.B and UIS:IsKeyDown(Enum.KeyCode.LeftAlt) then
  500. --press ALT+B to toggle backpack
  501. StarterGui:SetCoreGuiEnabled("Backpack", not StarterGui:GetCoreGuiEnabled("Backpack"))
  502. elseif input.KeyCode.Name == settings.cmdKey then
  503. wait()
  504. cmdBox:CaptureFocus()
  505. if not arrowOut then
  506. onArrowClicked()
  507. end
  508. elseif input.KeyCode.Name == settings.noclipKey then
  509. noclipOn = not noclipOn
  510. noclipLbl.Text = noclipOn and "ON" or "OFF"
  511. noclipPressedTick = tick()
  512. end
  513. end)
  514. UIS.InputEnded:Connect(function(input,gpe)
  515. if UIS:GetFocusedTextBox()==nil and input.KeyCode.Name == settings.noclipKey and tick()-noclipPressedTick > 0.1 then
  516. noclipOn = not noclipOn
  517. noclipLbl.Text = noclipOn and "ON" or "OFF"
  518. end
  519. end)
  520. UIS.TextBoxFocusReleased:Connect(function(box)
  521. if box == espLimitBox then
  522. if tonumber(espLimitBox.Text) then
  523. espLimit=tonumber(espLimitBox.Text)
  524. end
  525. espLimitBox.Text=tostring(espLimit)
  526. if espOn then
  527. espManage()
  528. end
  529. elseif box.Parent == Options and box.Text == '' then
  530. settings[box.Name:sub(1,-4)] = "World69"
  531. end
  532. end)
  533. --// handle character //
  534. local noclipParts = {}
  535. local lastRootCf
  536. local function onRootChanged()
  537. if (root.CFrame.p-Vector3.new(-38.7,19.5,1094.2)).magnitude < 1 then
  538. root.CFrame = lastRootCf
  539. end
  540. end
  541. local function onNewChar(char)
  542. if not char then return end
  543. root = char:WaitForChild("HumanoidRootPart",4)
  544. root:GetPropertyChangedSignal("CFrame"):Connect(onRootChanged)
  545. wait(0.5)
  546. if char~=player.Character then return end
  547. noclipParts = {}
  548. for _,v in ipairs(char:GetChildren()) do
  549. if v:IsA("BasePart") then
  550. noclipParts[#noclipParts+1]=v
  551. end
  552. end
  553. end
  554. player.CharacterAdded:Connect(onNewChar)
  555. onNewChar(player.Character)
  556. game:GetService("RunService").Stepped:Connect(function()
  557. if root then
  558. lastRootCf = root.CFrame
  559. end
  560. if noclipOn then
  561. for i=1,#noclipParts do
  562. noclipParts[i].CanCollide=false
  563. end
  564. end
  565. end)
  566. --// stats loops //
  567. local elapsed = 0
  568. local frames = 0
  569. game:GetService("RunService"):BindToRenderStep(tostring(math.random()),1,function(delta)
  570. elapsed=elapsed+delta
  571. if elapsed > 1 then
  572. fpsLbl.Text = tostring(frames).." FPS"
  573. elapsed = 0
  574. frames = 0
  575. else
  576. frames=frames+1
  577. end
  578. end)
  579. while true do
  580. if root then
  581. xLbl.Text = string.format("%.2f",root.Position.X)
  582. yLbl.Text = string.format("%.2f",root.Position.Y)
  583. zLbl.Text = string.format("%.2f",root.Position.Z)
  584. end
  585. timeLbl.Text = string.format("%d:%.2d", workspace.DistributedGameTime/60,workspace.DistributedGameTime%60)
  586. if partInfoGui.Enabled and partInfoGui.Adornee then
  587. local pos = partInfoGui.Adornee.Position
  588. partPosLbl.Text = string.format("%.2f, %.2f, %.2f",pos.X,pos.Y,pos.Z)
  589. end
  590. if espOn and tick()-espManagementTick > ((Random==nil or PluginManager==nil) and 1 or 0.5) then
  591. espManage()
  592. end
  593. wait(0.1)
  594. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement