Advertisement
Guest User

Untitled

a guest
Feb 24th, 2020
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.06 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local PutinStarterGui = Instance.new("ScreenGui")
  7. local Background = Instance.new("Frame")
  8. local Logo = Instance.new("ImageLabel")
  9. local BackGround = Instance.new("Frame")
  10. local Loading = Instance.new("Frame")
  11. local TextLabel = Instance.new("TextLabel")
  12.  
  13. --Properties:
  14.  
  15. PutinStarterGui.Name = "Put in StarterGui"
  16. PutinStarterGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  17. PutinStarterGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  18.  
  19. Background.Name = "Background"
  20. Background.Parent = PutinStarterGui
  21. Background.BackgroundColor3 = Color3.fromRGB(255, 149, 0)
  22. Background.Size = UDim2.new(1, 0, 1, 0)
  23.  
  24. Logo.Name = "Logo"
  25. Logo.Parent = Background
  26. Logo.AnchorPoint = Vector2.new(0.5, 0.5)
  27. Logo.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  28. Logo.BackgroundTransparency = 1.000
  29. Logo.Position = UDim2.new(0.5, 0, 0.339238137, 0)
  30. Logo.Size = UDim2.new(0.5, 0, 0.825896442, 0)
  31. Logo.Image = "http://www.roblox.com/asset/?id=4727646414"
  32.  
  33. BackGround.Name = "BackGround"
  34. BackGround.Parent = Background
  35. BackGround.AnchorPoint = Vector2.new(0.5, 0.800000012)
  36. BackGround.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  37. BackGround.BorderColor3 = Color3.fromRGB(255, 255, 255)
  38. BackGround.BorderSizePixel = 4
  39. BackGround.Position = UDim2.new(0.5, 0, 0.800000012, 0)
  40. BackGround.Size = UDim2.new(0.400000006, 0, 0.100000001, 0)
  41.  
  42. Loading.Name = "Loading"
  43. Loading.Parent = BackGround
  44. Loading.BackgroundColor3 = Color3.fromRGB(255, 128, 0)
  45. Loading.BorderSizePixel = 0
  46. Loading.Size = UDim2.new(0.00386471278, 0, 1, 0)
  47.  
  48. TextLabel.Parent = Background
  49. TextLabel.AnchorPoint = Vector2.new(0.5, 0.5)
  50. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  51. TextLabel.BackgroundTransparency = 1.000
  52. TextLabel.Position = UDim2.new(0.5, 0, 0.412999988, 0)
  53. TextLabel.Size = UDim2.new(0.5, 0, 0.400000006, 0)
  54. TextLabel.Visible = false
  55. TextLabel.Font = Enum.Font.Highway
  56. TextLabel.Text = "Game name here!"
  57. TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  58. TextLabel.TextScaled = true
  59. TextLabel.TextSize = 14.000
  60. TextLabel.TextWrapped = true
  61.  
  62. -- Scripts:
  63.  
  64. local function OYYION_fake_script() -- Loading.LocalScript
  65. local script = Instance.new('LocalScript', Loading)
  66.  
  67. --([Scripted by CiAxe
  68. --([Discord: CiAxe#4286
  69. --([Twitter: @axe_ci
  70. --([Roblox Profile: CiAxe
  71. --([Thank you!])
  72.  
  73.  
  74. local screen = math.random(1,3)
  75.  
  76. if screen == 1 then
  77. print '1'
  78. script.Parent.Parent.Parent.Parent.Enabled = true
  79. wait(2)
  80.  
  81. script.Parent:TweenSize(UDim2.new(.3, 1, 1), "Out", "Linear", 2, true)
  82. wait(2)
  83. script.Parent:TweenSize(UDim2.new(.5, 1, 1), "Out", "Linear", 1, true)
  84. wait(3)
  85. script.Parent:TweenSize(UDim2.new(1, 1, 1), "Out", "Linear", 1, true)
  86.  
  87.  
  88. wait(1)
  89. script.Parent.Parent.Parent.Parent.Enabled = false
  90. wait(1)
  91. script.Parent:TweenSize(UDim2.new(0, 0, 0), "Out", "Linear", 1, true)
  92.  
  93. end
  94.  
  95. if screen == 2 then
  96. print '2'
  97. script.Parent.Parent.Parent.Parent.Enabled = true
  98. wait(2)
  99.  
  100. script.Parent:TweenSize(UDim2.new(.1, 1, 1), "Out", "Linear", 3, true)
  101. wait(1)
  102. script.Parent:TweenSize(UDim2.new(.4, 1, 1), "Out", "Linear", 2, true)
  103. wait(4)
  104. script.Parent:TweenSize(UDim2.new(.7, 1, 1), "Out", "Linear", 3, true)
  105. wait(1)
  106. script.Parent:TweenSize(UDim2.new(1, 1, 1), "Out", "Linear", 1, true)
  107.  
  108.  
  109. wait(1)
  110. script.Parent.Parent.Parent.Parent.Enabled = false
  111. wait(1)
  112. script.Parent:TweenSize(UDim2.new(0, 0, 0), "Out", "Linear", 1, true)
  113. end
  114. if screen == 3 then
  115. print '3'
  116. script.Parent.Parent.Parent.Parent.Enabled = true
  117. wait(2)
  118.  
  119. script.Parent:TweenSize(UDim2.new(.6, 1, 1), "Out", "Linear", 2, true)
  120. wait(2)
  121. script.Parent:TweenSize(UDim2.new(.8, 1, 1), "Out", "Linear", 3, true)
  122. wait(3)
  123. script.Parent:TweenSize(UDim2.new(1, 1, 1), "Out", "Linear", 1, true)
  124.  
  125.  
  126. wait(1)
  127. script.Parent.Parent.Parent.Parent.Enabled = false
  128. wait(1)
  129. script.Parent:TweenSize(UDim2.new(0, 0, 0), "Out", "Linear", 1, true)
  130. end
  131.  
  132. script.Parent.Parent.Parent.Visible = false
  133. end
  134. coroutine.wrap(OYYION_fake_script)()
  135.  
  136.  
  137. -- Gui to Lua
  138. -- Version: 3.2
  139.  
  140. -- Instances:
  141.  
  142. local henlohaxor = Instance.new("ScreenGui")
  143. local TowerBattlesGui = Instance.new("Frame")
  144. local Start = Instance.new("TextButton")
  145. local ImageLabel = Instance.new("ImageLabel")
  146. local Exit = Instance.new("TextButton")
  147.  
  148. --Properties:
  149.  
  150. henlohaxor.Name = "henlohaxor"
  151. henlohaxor.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  152.  
  153. TowerBattlesGui.Name = "TowerBattlesGui"
  154. TowerBattlesGui.Parent = PutinStarterGui
  155. TowerBattlesGui.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  156. TowerBattlesGui.BorderColor3 = Color3.fromRGB(255, 255, 255)
  157. TowerBattlesGui.Position = UDim2.new(0.324158728, 0, 0.227272734, 0)
  158. TowerBattlesGui.Size = UDim2.new(0, 441, 0, 443)
  159. TowerBattlesGui.Active = true
  160. TowerBattlesGui.Visible = false
  161.  
  162. Start.Name = "Start"
  163. Start.Parent = TowerBattlesGui
  164. Start.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  165. Start.BorderColor3 = Color3.fromRGB(255, 255, 255)
  166. Start.Position = UDim2.new(0.360803038, 0, 0.832322061, 0)
  167. Start.Size = UDim2.new(0, 121, 0, 33)
  168. Start.Font = Enum.Font.SourceSans
  169. Start.Text = "Start!"
  170. Start.TextColor3 = Color3.fromRGB(0, 0, 0)
  171. Start.TextScaled = true
  172. Start.TextSize = 14.000
  173. Start.TextWrapped = true
  174. Start.MouseButton1Click:Connect(function()
  175. print("haxor eww")
  176.  
  177. local me = game:service'Players'.localPlayer
  178. local map = workspace.Map
  179. local mouse = me:GetMouse()
  180. local lite = game:service'Lighting'
  181. function GetHigh()
  182. for _,v in next, map:GetDescendants() do
  183. if(v.Name=='High' and v:FindFirstChild'Team')then
  184. if(v.Team.Value==me.TeamColor)then
  185. return v
  186. end
  187. end
  188. end
  189. end
  190.  
  191. function GetGrass()
  192. for _,v in next, map:children() do
  193. if(v.Name=='Grass' and v:FindFirstChild'Team')then
  194. if(v.Team.Value==me.TeamColor)then
  195. return v
  196. end
  197. end
  198. end
  199. end
  200.  
  201. function GetShit(tower)
  202. local what = lite:FindFirstChild(tower)
  203. if(what)then
  204. if(what.Type.Value=='High')then
  205. return GetHigh()
  206. else
  207. return GetGrass()
  208. end
  209. end
  210. end
  211.  
  212. mouse.KeyDown:connect(function(k)
  213. if(me.StuffToSave:FindFirstChild("Tower"..k))then
  214. local what=me.StuffToSave['Tower'..k].Value
  215. workspace.Placed:InvokeServer(mouse.Hit.p,1,what,GetShit(what))
  216. end
  217. end)
  218.  
  219. end)
  220.  
  221. ImageLabel.Parent = TowerBattlesGui
  222. ImageLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  223. ImageLabel.Position = UDim2.new(0.0381884947, 0, 0.142204061, 0)
  224. ImageLabel.Size = UDim2.new(0, 409, 0, 293)
  225. ImageLabel.Image = "http://www.roblox.com/asset/?id=4727646414"
  226.  
  227. Exit.Name = "Exit"
  228. Exit.Parent = TowerBattlesGui
  229. Exit.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  230. Exit.BorderColor3 = Color3.fromRGB(255, 255, 255)
  231. Exit.Position = UDim2.new(0.882344842, 0, 0.0309676602, 0)
  232. Exit.Size = UDim2.new(0, 36, 0, 33)
  233. Exit.Font = Enum.Font.SourceSans
  234. Exit.Text = "X"
  235. Exit.TextColor3 = Color3.fromRGB(0, 0, 0)
  236. Exit.TextScaled = true
  237. Exit.TextSize = 14.000
  238. Exit.TextWrapped = true
  239. Exit.MouseButton1Click:Connect(function()
  240. print("Bye! have a nice day!")
  241. wait(0.5)
  242. TowerBattlesGui.Visible = false
  243. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement