ZEE_TerminatorFX

Untitled

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