Advertisement
Yusuf1987

Untitled

Nov 19th, 2023
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.19 KB | Source Code | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. --Services:
  5.  
  6. local TweenService = game:GetService("TweenService")
  7.  
  8. --Values:
  9.  
  10. local currentmenu = nil
  11. local menuEnabled = true
  12. local LocalPlayer = game.Players.LocalPlayer
  13.  
  14. -- Instances:
  15.  
  16. local Menu = Instance.new("ScreenGui")
  17. local Frame = Instance.new("Frame")
  18. local UICorner = Instance.new("UICorner")
  19. local Controlpanel = Instance.new("Frame")
  20. local UICorner_2 = Instance.new("UICorner")
  21. local Main = Instance.new("TextButton")
  22. local Player = Instance.new("TextButton")
  23. local MenuScrollingFrame = Instance.new("ScrollingFrame")
  24. local Welcome = Instance.new("TextLabel")
  25. local PlayerScrollingFrame = Instance.new("ScrollingFrame")
  26. local Information = Instance.new("TextLabel")
  27. local Speed = Instance.new("TextLabel")
  28. local SpeedBox = Instance.new("TextBox")
  29. local CameraMode = Instance.new("TextLabel")
  30. local CameraModeApply = Instance.new("TextButton")
  31. local UICorner_3 = Instance.new("UICorner")
  32. local LoadingText = Instance.new("TextLabel")
  33. local Menu_2 = Instance.new("TextButton")
  34. local UICorner_4 = Instance.new("UICorner")
  35.  
  36. --Properties:
  37.  
  38. Menu.Name = "Menu"
  39. Menu.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  40. Menu.Parent = LocalPlayer.PlayerGui
  41.  
  42. Frame.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  43. Frame.BorderColor3 = Color3.fromRGB(0, 0, 0)
  44. Frame.BorderSizePixel = 0
  45. Frame.Position = UDim2.new(0.265258223, 0, 0.286474973, 0)
  46. Frame.Size = UDim2.new(0.469483554, 0, 0.42545262, 0)
  47. Frame.Parent = Menu
  48. Frame.Active = true
  49. Frame.Draggable = true
  50.  
  51. UICorner.CornerRadius = UDim.new(0, 15)
  52. UICorner.Parent = Frame
  53.  
  54. Controlpanel.Name = "Controlpanel"
  55. Controlpanel.BackgroundColor3 = Color3.fromRGB(38, 38, 38)
  56. Controlpanel.BorderColor3 = Color3.fromRGB(0, 0, 0)
  57. Controlpanel.BorderSizePixel = 0
  58. Controlpanel.Position = UDim2.new(0, 0, 4.13189376e-08, 0)
  59. Controlpanel.Size = UDim2.new(0.287279308, 0, 0.99999994, 0)
  60. Controlpanel.Parent = Frame
  61.  
  62. UICorner_2.CornerRadius = UDim.new(0, 15)
  63. UICorner_2.Parent = Controlpanel
  64.  
  65. Main.Name = "Main"
  66. Main.BackgroundColor3 = Color3.fromRGB(94, 94, 94)
  67. Main.BackgroundTransparency = 1.000
  68. Main.BorderColor3 = Color3.fromRGB(0, 0, 0)
  69. Main.BorderSizePixel = 0
  70. Main.Position = UDim2.new(0, 0, 0.0350000001, 0)
  71. Main.Size = UDim2.new(1.00000095, 0, 0.108315125, 0)
  72. Main.Modal = true
  73. Main.Font = Enum.Font.Sarpanch
  74. Main.Text = "Menü"
  75. Main.TextColor3 = Color3.fromRGB(255, 255, 255)
  76. Main.TextScaled = true
  77. Main.TextSize = 14.000
  78. Main.TextWrapped = true
  79. Main.Parent = Controlpanel
  80.  
  81. Player.Name = "Player"
  82. Player.BackgroundColor3 = Color3.fromRGB(94, 94, 94)
  83. Player.BackgroundTransparency = 1.000
  84. Player.BorderColor3 = Color3.fromRGB(0, 0, 0)
  85. Player.BorderSizePixel = 0
  86. Player.Position = UDim2.new(0, 0, 0.175999999, 0)
  87. Player.Size = UDim2.new(1.00000095, 0, 0.108315125, 0)
  88. Player.Modal = true
  89. Player.Font = Enum.Font.Sarpanch
  90. Player.Text = "Oyuncu"
  91. Player.TextColor3 = Color3.fromRGB(255, 255, 255)
  92. Player.TextScaled = true
  93. Player.TextSize = 14.000
  94. Player.TextWrapped = true
  95. Player.Parent = Controlpanel
  96.  
  97. MenuScrollingFrame.Name = "MenuScrollingFrame"
  98. MenuScrollingFrame.Active = true
  99. MenuScrollingFrame.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  100. MenuScrollingFrame.BorderColor3 = Color3.fromRGB(0, 0, 0)
  101. MenuScrollingFrame.BorderSizePixel = 0
  102. MenuScrollingFrame.Position = UDim2.new(0.287279189, 0, 0.0731127411, 0)
  103. MenuScrollingFrame.Size = UDim2.new(0.682497978, 0, 0.899808466, 0)
  104. MenuScrollingFrame.Visible = false
  105. MenuScrollingFrame.ScrollBarThickness = 5
  106. MenuScrollingFrame.Parent = Frame
  107.  
  108. Welcome.Name = "Welcome"
  109. Welcome.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  110. Welcome.BackgroundTransparency = 1.000
  111. Welcome.BorderColor3 = Color3.fromRGB(0, 0, 0)
  112. Welcome.BorderSizePixel = 0
  113. Welcome.Position = UDim2.new(0.179435074, 0, 0, 0)
  114. Welcome.Size = UDim2.new(0.49999994, 0, 0.0804964229, 0)
  115. Welcome.Font = Enum.Font.Sarpanch
  116. Welcome.Text = "Hoş geldiniz"
  117. Welcome.TextColor3 = Color3.fromRGB(255, 255, 255)
  118. Welcome.TextScaled = true
  119. Welcome.TextSize = 14.000
  120. Welcome.TextWrapped = true
  121. Welcome.Parent = MenuScrollingFrame
  122.  
  123. PlayerScrollingFrame.Name = "PlayerScrollingFrame"
  124. PlayerScrollingFrame.Active = true
  125. PlayerScrollingFrame.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  126. PlayerScrollingFrame.BorderColor3 = Color3.fromRGB(0, 0, 0)
  127. PlayerScrollingFrame.BorderSizePixel = 0
  128. PlayerScrollingFrame.Position = UDim2.new(0.287279189, 0, 0.0731127411, 0)
  129. PlayerScrollingFrame.Size = UDim2.new(0.682497978, 0, 0.899808466, 0)
  130. PlayerScrollingFrame.Visible = false
  131. PlayerScrollingFrame.ScrollBarThickness = 5
  132. PlayerScrollingFrame.Parent = Frame
  133.  
  134. Information.Name = "Information"
  135. Information.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  136. Information.BackgroundTransparency = 1.000
  137. Information.BorderColor3 = Color3.fromRGB(0, 0, 0)
  138. Information.BorderSizePixel = 0
  139. Information.Position = UDim2.new(0.174551085, 0, 0, 0)
  140. Information.Size = UDim2.new(0.648962617, 0, 0.115509175, 0)
  141. Information.Font = Enum.Font.Sarpanch
  142. Information.Text = "Karakterine hileleri buradan uygula"
  143. Information.TextColor3 = Color3.fromRGB(255, 255, 255)
  144. Information.TextScaled = true
  145. Information.TextSize = 14.000
  146. Information.TextWrapped = true
  147. Information.Parent = PlayerScrollingFrame
  148.  
  149. Speed.Name = "Speed"
  150. Speed.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  151. Speed.BackgroundTransparency = 1.000
  152. Speed.BorderColor3 = Color3.fromRGB(0, 0, 0)
  153. Speed.BorderSizePixel = 0
  154. Speed.Position = UDim2.new(0.0249711908, 0, 0.199675441, 0)
  155. Speed.Size = UDim2.new(0.116048515, 0, 0.0474819504, 0)
  156. Speed.Font = Enum.Font.Sarpanch
  157. Speed.Text = "hız:"
  158. Speed.TextColor3 = Color3.fromRGB(255, 255, 255)
  159. Speed.TextScaled = true
  160. Speed.TextSize = 14.000
  161. Speed.TextWrapped = true
  162. Speed.Parent = PlayerScrollingFrame
  163.  
  164. SpeedBox.Name = "SpeedBox"
  165. SpeedBox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  166. SpeedBox.BackgroundTransparency = 1.000
  167. SpeedBox.BorderColor3 = Color3.fromRGB(0, 0, 0)
  168. SpeedBox.BorderSizePixel = 0
  169. SpeedBox.Position = UDim2.new(0.150000006, 0, 0.199000001, 0)
  170. SpeedBox.Size = UDim2.new(0.5, 0, 0.0500000007, 0)
  171. SpeedBox.Font = Enum.Font.Sarpanch
  172. SpeedBox.PlaceholderColor3 = Color3.fromRGB(120, 120, 120)
  173. SpeedBox.PlaceholderText = "Buraya hız gir... [12-17 arası girmeni tavsiye ederim]"
  174. SpeedBox.Text = ""
  175. SpeedBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  176. SpeedBox.TextScaled = true
  177. SpeedBox.TextSize = 14.000
  178. SpeedBox.TextWrapped = true
  179. SpeedBox.Parent = PlayerScrollingFrame
  180.  
  181. CameraMode.Name = "CameraMode"
  182. CameraMode.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  183. CameraMode.BackgroundTransparency = 1.000
  184. CameraMode.BorderColor3 = Color3.fromRGB(0, 0, 0)
  185. CameraMode.BorderSizePixel = 0
  186. CameraMode.Position = UDim2.new(0.0250000004, 0, 0.280000001, 0)
  187. CameraMode.Size = UDim2.new(0.200000003, 0, 0.0469999984, 0)
  188. CameraMode.Font = Enum.Font.Sarpanch
  189. CameraMode.Text = "Kamera:"
  190. CameraMode.TextColor3 = Color3.fromRGB(255, 255, 255)
  191. CameraMode.TextScaled = true
  192. CameraMode.TextSize = 14.000
  193. CameraMode.TextWrapped = true
  194. CameraMode.Parent = PlayerScrollingFrame
  195.  
  196. CameraModeApply.Name = "CameraModeApply"
  197. CameraModeApply.BackgroundColor3 = Color3.fromRGB(28, 94, 0)
  198. CameraModeApply.BorderColor3 = Color3.fromRGB(0, 0, 0)
  199. CameraModeApply.BorderSizePixel = 0
  200. CameraModeApply.Position = UDim2.new(0.25, 0, 0.270000011, 0)
  201. CameraModeApply.Size = UDim2.new(0.5, 0, 0.0700000003, 0)
  202. CameraModeApply.Font = Enum.Font.Sarpanch
  203. CameraModeApply.Text = "Uygula"
  204. CameraModeApply.TextColor3 = Color3.fromRGB(255, 255, 255)
  205. CameraModeApply.TextScaled = true
  206. CameraModeApply.TextSize = 14.000
  207. CameraModeApply.TextWrapped = true
  208. CameraModeApply.Parent = PlayerScrollingFrame
  209.  
  210. UICorner_3.Parent = CameraModeApply
  211.  
  212. LoadingText.Name = "LoadingText"
  213. LoadingText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  214. LoadingText.BackgroundTransparency = 1.000
  215. LoadingText.BorderColor3 = Color3.fromRGB(0, 0, 0)
  216. LoadingText.BorderSizePixel = 0
  217. LoadingText.Position = UDim2.new(0.399663597, 0, 0.45161289, 0)
  218. LoadingText.Size = UDim2.new(0.200000003, 0, 0.0700000003, 0)
  219. LoadingText.Visible = false
  220. LoadingText.Font = Enum.Font.Sarpanch
  221. LoadingText.Text = "Yükleniyor... [Uzun süre yüklenmezse oyuna tekrar girin]"
  222. LoadingText.TextColor3 = Color3.fromRGB(255, 255, 255)
  223. LoadingText.TextScaled = true
  224. LoadingText.TextSize = 14.000
  225. LoadingText.TextWrapped = true
  226. LoadingText.Parent = Menu
  227.  
  228. Menu_2.Name = "Menu"
  229. Menu_2.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  230. Menu_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
  231. Menu_2.BorderSizePixel = 0
  232. Menu_2.Position = UDim2.new(0.449214637, 0, 0, 0)
  233. Menu_2.Size = UDim2.new(0.0585289523, 0, 0.0850230455, 0)
  234. Menu_2.Font = Enum.Font.Sarpanch
  235. Menu_2.Text = "Menü"
  236. Menu_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  237. Menu_2.TextScaled = true
  238. Menu_2.TextSize = 14.000
  239. Menu_2.TextWrapped = true
  240. Menu_2.Parent = Menu
  241. Menu_2.Draggable = true
  242.  
  243. UICorner_4.CornerRadius = UDim.new(1, 0)
  244. UICorner_4.Parent = Menu_2
  245.  
  246. menuEnabled = true
  247.  
  248. --Functions:
  249.  
  250. Main.MouseButton1Down:Connect(function()
  251. if currentmenu == nil then
  252. currentmenu = "Main"
  253. MenuScrollingFrame.Visible = true
  254. TweenService:Create(Main,TweenInfo.new(0.3,Enum.EasingStyle.Quart,Enum.EasingDirection.InOut),{TextColor3 = Color3.fromRGB(0,100,0)}):Play()
  255. elseif currentmenu == "Player" then
  256. currentmenu = "Main"
  257. PlayerScrollingFrame.Visible = false
  258. MenuScrollingFrame.Visible = true
  259. TweenService:Create(Player,TweenInfo.new(0.3,Enum.EasingStyle.Quart,Enum.EasingDirection.InOut),{TextColor3 = Color3.fromRGB(255,255,255)}):Play()
  260. TweenService:Create(Main,TweenInfo.new(0.3,Enum.EasingStyle.Quart,Enum.EasingDirection.InOut),{TextColor3 = Color3.fromRGB(0,100,0)}):Play()
  261. end
  262. end)
  263.  
  264. Player.MouseButton1Down:Connect(function()
  265. if currentmenu == nil then
  266. currentmenu = "Player"
  267. PlayerScrollingFrame.Visible = true
  268. TweenService:Create(Player,TweenInfo.new(0.3,Enum.EasingStyle.Quart,Enum.EasingDirection.InOut),{TextColor3 = Color3.fromRGB(0,100,0)}):Play()
  269. elseif currentmenu == "Main" then
  270. currentmenu = "Player"
  271. PlayerScrollingFrame.Visible = true
  272. MenuScrollingFrame.Visible = false
  273. TweenService:Create(Main,TweenInfo.new(0.3,Enum.EasingStyle.Quart,Enum.EasingDirection.InOut),{TextColor3 = Color3.fromRGB(255,255,255)}):Play()
  274. TweenService:Create(Player,TweenInfo.new(0.3,Enum.EasingStyle.Quart,Enum.EasingDirection.InOut),{TextColor3 = Color3.fromRGB(0,100,0)}):Play()
  275. end
  276. end)
  277.  
  278. SpeedBox.FocusLost:Connect(function(Entered)
  279. if Entered == true then
  280. if tonumber(SpeedBox.ContentText) < 12 or tonumber(SpeedBox.ContentText) > 17 then
  281. SpeedBox.TextEditable = false
  282. SpeedBox.Text = "böyle bir hız ayarlayamassın"
  283. wait(2)
  284. SpeedBox.TextEditable = true
  285. SpeedBox.Text = ""
  286. elseif tonumber(SpeedBox.ContentText) >= 12 or tonumber(SpeedBox.ContentText) <= 17 then
  287. SpeedBox.TextEditable = false
  288. LocalPlayer.Character:WaitForChild("Humanoid").WalkSpeed = tonumber(SpeedBox.ContentText)
  289. SpeedBox.Text = "hız ayarlandı"
  290. wait(0.05)
  291. SpeedBox.TextEditable = true
  292. end
  293. end
  294. end)
  295.  
  296. CameraModeApply.MouseButton1Down:Connect(function()
  297. LocalPlayer.CameraMode = Enum.CameraMode.Classic
  298. end)
  299.  
  300. Menu_2.MouseButton1Click:Connect(function()
  301. if menuEnabled == false then
  302. menuEnabled = true
  303. Frame.Visible = true
  304. else
  305. menuEnabled = false
  306. Frame.Visible = false
  307. end
  308. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement