Advertisement
ERROR_CODE

ID Script Executor

Dec 24th, 2023 (edited)
6,193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 6.56 KB | None | 0 0
  1. local ISE = Instance.new("ScreenGui")
  2. local ISEF = Instance.new("Frame")
  3. local ISEFUI = Instance.new("UICorner")
  4. local EB = Instance.new("TextButton")
  5. local CB = Instance.new("TextButton")
  6. local CF = Instance.new("TextButton")
  7. local MF = Instance.new("TextButton")
  8. local ETB = Instance.new("TextBox")
  9. local ETBUI = Instance.new("UICorner")
  10. local OEF = Instance.new("ImageButton")
  11. local UIClick = Instance.new("Sound")
  12. local SN = Instance.new("TextLabel")
  13. local UserInputService = game:GetService("UserInputService")
  14.  
  15. ISE.Parent = game.CoreGui
  16.  
  17. OEF.Visible = false
  18.  
  19. UIClick.Parent = game.Workspace
  20. UIClick.SoundId = "rbxassetid://6972137633"
  21. UIClick.Playing = true
  22. UIClick.Looped = false
  23. UIClick.Volume = 1
  24. UIClick:Stop()
  25.  
  26. ISEF.Name = "ISEF"
  27. ISEF.Parent = ISE
  28. ISEF.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  29. ISEF.Position = UDim2.new(0.4, 0, 0.25, 0)
  30. ISEF.Size = UDim2.new(0, 200, 0, 150)
  31. ISEF.BorderSizePixel = 0
  32. ISEFUI.Parent = ISEF
  33.  
  34. OEF.Name = "OEF"
  35. OEF.Parent = ISE
  36. OEF.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  37. OEF.Position = UDim2.new(0.95, 0, 0.4, 0)
  38. OEF.Size = UDim2.new(0, 45, 0, 45)
  39. OEF.Image = "rbxassetid://14896630478"
  40. OEF.Transparency = 1
  41. OEF.MouseButton1Click:Connect(function()
  42. UIClick:Play()
  43. ISEF.Visible = true
  44. OEF.Visible = false
  45. writefile("ISE.ECCS", ""..ETB.Text)
  46. end)
  47.  
  48. CF.Name = "CF"
  49. CF.Position = UDim2.new(0.85, 0, 0, 0)
  50. CF.Parent = ISEF
  51. CF.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  52. CF.BackgroundTransparency = 1
  53. CF.LayoutOrder = 1
  54. CF.Size = UDim2.new(0, 25, 0, 25)
  55. CF.AutoButtonColor = false
  56. CF.Font = Enum.Font.SourceSansBold
  57. CF.Text = "X"
  58. CF.TextColor3 = Color3.fromRGB(255, 255, 255)
  59. CF.TextScaled = true
  60. CF.TextSize = 14.000
  61. CF.TextWrapped = true
  62. CF.MouseButton1Click:Connect(function()
  63. UIClick:Play()
  64. ISEF:Destroy()
  65. writefile("ISE.ECCS", ""..ETB.Text)
  66. end)
  67.  
  68. SN.Name = "SN"
  69. SN.Parent = CF
  70. SN.BackgroundTransparency = 1
  71. SN.Position = UDim2.new(-4, 0, 0.5, 0)
  72. SN.Size = UDim2.new(0, 1, 0, 1)
  73. SN.Font = Enum.Font.SourceSansBold
  74. SN.Text = "ECCS•IDExecutor"
  75. SN.TextColor3 = Color3.fromRGB(255, 255, 255)
  76. SN.TextTransparency = 0.5
  77. SN.TextSize = 20
  78.  
  79. MF.Name = "MF"
  80. MF.Position = UDim2.new(0.7, 0, -0.02, 0)
  81. MF.Parent = ISEF
  82. MF.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  83. MF.BackgroundTransparency = 1
  84. MF.LayoutOrder = 1
  85. MF.Size = UDim2.new(0, 25, 0, 25)
  86. MF.AutoButtonColor = false
  87. MF.Font = Enum.Font.SourceSansBold
  88. MF.Text = "-"
  89. MF.TextColor3 = Color3.fromRGB(255, 255, 255)
  90. MF.TextSize = 50
  91. MF.MouseButton1Click:Connect(function()
  92. UIClick:Play()
  93. ISEF.Visible = false
  94. OEF.Visible = true
  95. writefile("ISE.ECCS", ""..ETB.Text)
  96. end)
  97.  
  98. ETB.Name = "ETB"
  99. ETB.Parent = ISEF
  100. ETB.BackgroundColor3 = Color3.new(255, 255, 255)
  101. ETB.Position = UDim2.new(0.10, 0, 0.25, 0)
  102. ETB.Size = UDim2.new(0, 160, 0, 50)
  103. ETB.Font = Enum.Font.SourceSansBold
  104. ETB.FontSize = Enum.FontSize.Size18
  105. ETB.PlaceholderText = "Script ID Here"
  106. ETB.Text = ""
  107. ETB.ClearTextOnFocus = false
  108. ETB.TextColor3 = Color3.new(0, 0, 0)
  109. ETB.TextSize = 15
  110. ETB.TextXAlignment = Enum.TextXAlignment.Center
  111. ETB.TextYAlignment = Enum.TextYAlignment.Center
  112. ETB.TextWrapped = true
  113. ETBUI.Parent = ETB
  114.  
  115. EB.Name = "EB"
  116. EB.Position = UDim2.new(0.05, 0, 0.6, 0)
  117. EB.Parent = ISEF
  118. EB.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  119. EB.LayoutOrder = 1
  120. EB.Size = UDim2.new(0, 80, 0, 40)
  121. EB.AutoButtonColor = false
  122. EB.Font = Enum.Font.SourceSansBold
  123. EB.Text = "Execute"
  124. EB.TextColor3 = Color3.fromRGB(255, 255, 255)
  125. EB.TextSize = 30
  126. EB.BorderSizePixel = 0
  127. EB.MouseButton1Click:Connect(function()
  128. UIClick:Play()
  129. loadstring(game:GetObjects("rbxassetid://"..ETB.Text)[1].Source)()
  130. writefile("ISE.ECCS", ""..ETB.Text)
  131. end)
  132.  
  133. CB.Name = "CB"
  134. CB.Position = UDim2.new(0.55, 0, 0.6, 0)
  135. CB.Parent = ISEF
  136. CB.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  137. CB.LayoutOrder = 1
  138. CB.Size = UDim2.new(0, 90, 0, 40)
  139. CB.AutoButtonColor = false
  140. CB.Font = Enum.Font.SourceSansBold
  141. CB.Text = "Clear"
  142. CB.TextColor3 = Color3.fromRGB(255, 255, 255)
  143. CB.TextSize = 30
  144. CB.BorderSizePixel = 0
  145. CB.MouseButton1Click:Connect(function()
  146. UIClick:Play()
  147. ETB.Text = ""
  148. writefile("ISE.ECCS", ""..ETB.Text)
  149. end)
  150.  
  151. ISE.ISEF.ETB.FocusLost:Connect(function(enterPressed)
  152.     if enterPressed then
  153.        UIClick:Play()
  154. loadstring(game:GetObjects("rbxassetid://"..ETB.Text)[1].Source)()
  155. writefile("ISE.ECCS", ""..ETB.Text)
  156.     end
  157. end)
  158.  
  159. local gui = ISEF
  160. local dragging
  161. local dragInput
  162. local dragStart
  163. local startPos
  164.  
  165. local function update(input)
  166.     local delta = input.Position - dragStart
  167.     gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  168. end
  169.  
  170. gui.InputBegan:Connect(function(input)
  171.     if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  172.         dragging = true
  173.         dragStart = input.Position
  174.         startPos = gui.Position
  175.  
  176.         input.Changed:Connect(function()
  177.             if input.UserInputState == Enum.UserInputState.End then
  178.                 dragging = false
  179.             end
  180.         end)
  181.     end
  182. end)
  183.  
  184. gui.InputChanged:Connect(function(input)
  185.     if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  186.         dragInput = input
  187.     end
  188. end)
  189.  
  190. UserInputService.InputChanged:Connect(function(input)
  191.     if input == dragInput and dragging then
  192.         update(input)
  193.     end
  194. end)
  195.  
  196. if not isfile("ISE.ECCS") then
  197. writefile("ISE.ECCS", ""..ETB.Text)
  198. end
  199.  
  200. local ISER = readfile("ISE.ECCS")
  201. ETB.Text = ""..ISER
  202.  
  203. local gui = OEF
  204. local dragging
  205. local dragInput
  206. local dragStart
  207. local startPos
  208.  
  209. local function update(input)
  210.     local delta = input.Position - dragStart
  211.     gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  212. end
  213.  
  214. gui.InputBegan:Connect(function(input)
  215.     if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  216.         dragging = true
  217.         dragStart = input.Position
  218.         startPos = gui.Position
  219.  
  220.         input.Changed:Connect(function()
  221.             if input.UserInputState == Enum.UserInputState.End then
  222.                 dragging = false
  223.             end
  224.         end)
  225.     end
  226. end)
  227.  
  228. gui.InputChanged:Connect(function(input)
  229.     if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  230.         dragInput = input
  231.     end
  232. end)
  233.  
  234. UserInputService.InputChanged:Connect(function(input)
  235.     if input == dragInput and dragging then
  236.         update(input)
  237.     end
  238. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement