Advertisement
Ihaveashortname

CoreEEE

Feb 15th, 2020
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.15 KB | None | 0 0
  1. --[[
  2. Gui to Lua Converter
  3. -- Revamped by:HoIyScript
  4. --]]
  5.  
  6.  
  7.  
  8. -- Instances:
  9.  
  10. local ScreenGui = Instance.new("ScreenGui")
  11. local Frame = Instance.new("Frame")
  12. local Frame_2 = Instance.new("Frame")
  13. local TextLabel = Instance.new("TextLabel")
  14. local TextLabel_2 = Instance.new("TextLabel")
  15. local type = Instance.new("TextBox")
  16. local name = Instance.new("TextBox")
  17. local stat = Instance.new("TextBox")
  18. local amount = Instance.new("TextBox")
  19. local btn = Instance.new("TextButton")
  20. local TextLabel_3 = Instance.new("TextLabel")
  21. local TextLabel_4 = Instance.new("TextLabel")
  22. local Frame_3 = Instance.new("Frame")
  23. local toggle = Instance.new("TextButton")
  24.  
  25. --[[
  26. Properties:
  27. --]]
  28.  
  29. ScreenGui.Parent = game.CoreGui
  30. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  31.  
  32. Frame.Parent = ScreenGui
  33. Frame.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  34. Frame.BorderColor3 = Color3.new(1, 1, 1)
  35. Frame.Position = UDim2.new(0.331683159, 0, 0.35888502, 0)
  36. Frame.Size = UDim2.new(0, 363, 0, 159)
  37.  
  38. Frame_2.Parent = Frame
  39. Frame_2.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  40. Frame_2.BorderColor3 = Color3.new(1, 1, 1)
  41. Frame_2.Size = UDim2.new(0, 363, 0, 19)
  42.  
  43. TextLabel.Parent = Frame_2
  44. TextLabel.BackgroundColor3 = Color3.new(0.862745, 0.152941, 0.862745)
  45. TextLabel.BackgroundTransparency = 1
  46. TextLabel.BorderSizePixel = 0
  47. TextLabel.Position = UDim2.new(0.223140493, 0, 0, 0)
  48. TextLabel.Size = UDim2.new(0, 200, 0, 19)
  49. TextLabel.Font = Enum.Font.Cartoon
  50. TextLabel.Text = "Ninja Legends UI"
  51. TextLabel.TextColor3 = Color3.new(0.862745, 0.152941, 0.862745)
  52. TextLabel.TextSize = 17
  53.  
  54. TextLabel_2.Parent = Frame
  55. TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  56. TextLabel_2.BackgroundTransparency = 1
  57. TextLabel_2.BorderSizePixel = 0
  58. TextLabel_2.Position = UDim2.new(0, 0, 0.924528301, 0)
  59. TextLabel_2.Size = UDim2.new(0, 363, 0, 12)
  60. TextLabel_2.Font = Enum.Font.GothamBold
  61. TextLabel_2.Text = " "
  62. TextLabel_2.TextColor3 = Color3.new(1, 1, 1)
  63. TextLabel_2.TextSize = 14
  64.  
  65. type.Name = "type"
  66. type.Parent = Frame
  67. type.BackgroundColor3 = Color3.new(0.133333, 0.133333, 0.133333)
  68. type.Position = UDim2.new(0.0798898116, 0, 0.245283023, 0)
  69. type.Size = UDim2.new(0, 135, 0, 21)
  70. type.Font = Enum.Font.SourceSans
  71. type.PlaceholderColor3 = Color3.new(1, 1, 1)
  72. type.PlaceholderText = "Insert pet's type here"
  73. type.Text = ""
  74. type.TextColor3 = Color3.new(0, 0, 0)
  75. type.TextSize = 14
  76.  
  77. name.Name = "name"
  78. name.Parent = Frame
  79. name.BackgroundColor3 = Color3.new(0.133333, 0.133333, 0.133333)
  80. name.Position = UDim2.new(0.545454562, 0, 0.245283023, 0)
  81. name.Size = UDim2.new(0, 135, 0, 21)
  82. name.Font = Enum.Font.SourceSans
  83. name.PlaceholderColor3 = Color3.new(1, 1, 1)
  84. name.PlaceholderText = "Insert pet's name here"
  85. name.Text = ""
  86. name.TextColor3 = Color3.new(0, 0, 0)
  87. name.TextSize = 14
  88.  
  89. stat.Name = "stat"
  90. stat.Parent = Frame
  91. stat.BackgroundColor3 = Color3.new(0.133333, 0.133333, 0.133333)
  92. stat.Position = UDim2.new(0.0798898116, 0, 0.433962286, 0)
  93. stat.Size = UDim2.new(0, 135, 0, 21)
  94. stat.Font = Enum.Font.SourceSans
  95. stat.PlaceholderColor3 = Color3.new(1, 1, 1)
  96. stat.PlaceholderText = "Insert stat's name here"
  97. stat.Text = ""
  98. stat.TextColor3 = Color3.new(0, 0, 0)
  99. stat.TextSize = 14
  100.  
  101. amount.Name = "amount"
  102. amount.Parent = Frame
  103. amount.BackgroundColor3 = Color3.new(0.133333, 0.133333, 0.133333)
  104. amount.Position = UDim2.new(0.545454562, 0, 0.440251589, 0)
  105. amount.Size = UDim2.new(0, 135, 0, 21)
  106. amount.Font = Enum.Font.SourceSans
  107. amount.PlaceholderColor3 = Color3.new(1, 1, 1)
  108. amount.PlaceholderText = "Insert amount here"
  109. amount.Text = ""
  110. amount.TextColor3 = Color3.new(0, 0, 0)
  111. amount.TextSize = 14
  112.  
  113. btn.Name = "btn"
  114. btn.Parent = Frame
  115. btn.BackgroundColor3 = Color3.new(0.133333, 0.133333, 0.133333)
  116. btn.Position = UDim2.new(0.28374657, 0, 0.67295599, 0)
  117. btn.Size = UDim2.new(0, 156, 0, 24)
  118. btn.Font = Enum.Font.GothamBold
  119. btn.Text = "Click here to change pet's stats"
  120. btn.TextColor3 = Color3.new(1, 1, 1)
  121. btn.TextSize = 10
  122. btn.TextWrapped = true
  123.  
  124. TextLabel_3.Parent = Frame
  125. TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1)
  126. TextLabel_3.BackgroundTransparency = 1
  127. TextLabel_3.BorderSizePixel = 0
  128. TextLabel_3.Position = UDim2.new(-0.134986222, 0, 0, 0)
  129. TextLabel_3.Size = UDim2.new(0, 41, 0, 159)
  130. TextLabel_3.Font = Enum.Font.SourceSans
  131. TextLabel_3.Text = "Use the white frame to drag toggle button"
  132. TextLabel_3.TextColor3 = Color3.new(0, 0, 0)
  133. TextLabel_3.TextScaled = true
  134. TextLabel_3.TextSize = 14
  135. TextLabel_3.TextWrapped = true
  136.  
  137. TextLabel_4.Parent = Frame
  138. TextLabel_4.BackgroundColor3 = Color3.new(1, 1, 1)
  139. TextLabel_4.BackgroundTransparency = 1
  140. TextLabel_4.BorderSizePixel = 0
  141. TextLabel_4.Position = UDim2.new(1.01652896, 0, 0.00628930796, 0)
  142. TextLabel_4.Size = UDim2.new(0, 41, 0, 159)
  143. TextLabel_4.Font = Enum.Font.SourceSans
  144. TextLabel_4.Text = "By pet's type I mean it's tier. Not x-gen or whatever, but like, the teir of the pet."
  145. TextLabel_4.TextColor3 = Color3.new(0, 0, 0)
  146. TextLabel_4.TextScaled = true
  147. TextLabel_4.TextSize = 14
  148. TextLabel_4.TextWrapped = true
  149.  
  150. Frame_3.Parent = ScreenGui
  151. Frame_3.BackgroundColor3 = Color3.new(1, 1, 1)
  152. Frame_3.Position = UDim2.new(0.401980191, 0, 0.84668988, 0)
  153. Frame_3.Size = UDim2.new(0, 50, 0, 25)
  154.  
  155. toggle.Name = "toggle"
  156. toggle.Parent = Frame_3
  157. toggle.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  158. toggle.Position = UDim2.new(0.411881208, 0, 0.900696874, 0)
  159. toggle.Size = UDim2.new(0, 200, 0, 28)
  160. toggle.Font = Enum.Font.GothamBold
  161. toggle.Text = "TOGGLE PANEL"
  162. toggle.TextColor3 = Color3.new(1, 1, 1)
  163. toggle.TextSize = 14
  164.  
  165. --[[
  166. Scripts:
  167. --]]
  168.  
  169. local function OKHQPL_fake_script() -- TextLabel_2.LocalScript
  170. local script = Instance.new('LocalScript', TextLabel_2)
  171.  
  172. script.Parent.Text = game.Players.LocalPlayer.Name
  173. end
  174. coroutine.wrap(OKHQPL_fake_script)()
  175. local function CLLNAFL_fake_script() -- ScreenGui.LocalScript
  176. local script = Instance.new('LocalScript', ScreenGui)
  177.  
  178. local f = script.Parent.Frame
  179.  
  180. f.Active = true
  181. f.Draggable = true
  182.  
  183. local PET_TYPE = f.type
  184. local PET_NAME = f.name
  185. local STAT_NAME = f.stat
  186. local AMOUNT = f.amount
  187. local btn = f.btn
  188.  
  189. game:GetService("Workspace").FilteringEnabled = false
  190. wait(.3)
  191.  
  192. btn.MouseButton1Down:Connect(function()
  193. if game:GetService("Workspace").FilteringEnabled == false then
  194. game:GetService("Players").LocalPlayer.petsFolder[PET_TYPE.Text][PET_NAME.Text][STAT_NAME.Text].Value = AMOUNT.Text
  195. elseif game:GetService("Workspace").FilteringEnabled == true then
  196. game.Players.LocalPlayer:Kick("Game is filteringenabled, kicked to save you.")
  197. end
  198. end)
  199. end
  200. coroutine.wrap(CLLNAFL_fake_script)()
  201. local function MUWTYF_fake_script() -- toggle.LocalScript
  202. local script = Instance.new('LocalScript', toggle)
  203.  
  204. local gui = script.Parent.Parent.Parent
  205. local f = gui.Frame
  206.  
  207. script.Parent.MouseButton1Down:Connect(function()
  208. if f.Visible == true then
  209. f.Visible = false
  210. elseif f.Visible == false then
  211. f.Visible = true
  212. end
  213. end)
  214. end
  215. coroutine.wrap(MUWTYF_fake_script)()
  216. local function LWNH_fake_script() -- Frame_3.LocalScript
  217. local script = Instance.new('LocalScript', Frame_3)
  218.  
  219. script.Parent.Active = true
  220. script.Parent.Draggable = true
  221. end
  222. coroutine.wrap(LWNH_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement