Advertisement
Nootella

Dinosaur Simulator GUI (Decent)

Oct 14th, 2018
13,343
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.57 KB | None | 0 0
  1. local ScreenGui = Instance.new("ScreenGui")
  2. local frame = Instance.new("Frame")
  3. local open = Instance.new("TextButton")
  4. local main = Instance.new("Frame")
  5. local title = Instance.new("TextBox")
  6. local credits = Instance.new("TextBox")
  7. local savep = Instance.new("TextButton")
  8. local loadp = Instance.new("TextButton")
  9. local speed = Instance.new("TextButton")
  10. local food = Instance.new("TextButton")
  11. local close = Instance.new("TextButton")
  12. --Properties:
  13. ScreenGui.Parent = game.CoreGui
  14.  
  15. frame.Name = "frame"
  16. frame.Parent = ScreenGui
  17. frame.BackgroundColor3 = Color3.new(0, 0, 0)
  18. frame.Position = UDim2.new(0.450560659, 0, 0, 0)
  19. frame.Size = UDim2.new(0, 96, 0, 19)
  20. frame.Style = Enum.FrameStyle.DropShadow
  21.  
  22. open.Name = "open"
  23. open.Parent = frame
  24. open.BackgroundColor3 = Color3.new(0, 0, 0)
  25. open.BackgroundTransparency = 0.60000002384186
  26. open.Position = UDim2.new(-0.0624999925, 0, -0.789473712, 0)
  27. open.Size = UDim2.new(0, 93, 0, 11)
  28. open.Font = Enum.Font.SciFi
  29. open.Text = "Open"
  30. open.TextColor3 = Color3.new(1, 1, 1)
  31. open.TextSize = 14
  32. open.TextWrapped = true
  33. open.MouseButton1Click:connect(function()
  34. frame.Visible = false
  35. main.Visible = true
  36. end)
  37.  
  38. main.Name = "main"
  39. main.Parent = ScreenGui
  40. main.BackgroundColor3 = Color3.new(0, 0, 0)
  41. main.BackgroundTransparency = 0.60000002384186
  42. main.Position = UDim2.new(0.407747209, 0, 0.0823045224, 0)
  43. main.Size = UDim2.new(0, 180, 0, 186)
  44. main.Visible = false
  45. main.Active = true
  46. main.Draggable = true
  47.  
  48. title.Name = "title"
  49. title.Parent = main
  50. title.BackgroundColor3 = Color3.new(0, 0, 0)
  51. title.Position = UDim2.new(-0.055555556, 0, -0.0806451589, 0)
  52. title.Size = UDim2.new(0, 200, 0, 21)
  53. title.Font = Enum.Font.SciFi
  54. title.Text = "Dinosaur Simulator GUI"
  55. title.TextColor3 = Color3.new(1, 1, 1)
  56. title.TextScaled = true
  57. title.TextSize = 14
  58. title.TextWrapped = true
  59.  
  60. credits.Name = "credits"
  61. credits.Parent = main
  62. credits.BackgroundColor3 = Color3.new(0, 0, 0)
  63. credits.Position = UDim2.new(-0.055555556, 0, 1, 0)
  64. credits.Size = UDim2.new(0, 200, 0, 21)
  65. credits.Font = Enum.Font.SciFi
  66. credits.Text = "Made By Nootella On V3rm"
  67. credits.TextColor3 = Color3.new(1, 1, 1)
  68. credits.TextScaled = true
  69. credits.TextSize = 14
  70. credits.TextWrapped = true
  71.  
  72. savep.Name = "savep"
  73. savep.Parent = main
  74. savep.BackgroundColor3 = Color3.new(0, 0, 0)
  75. savep.Position = UDim2.new(0.0333333351, 0, 0.0645161271, 0)
  76. savep.Size = UDim2.new(0, 68, 0, 67)
  77. savep.Font = Enum.Font.Cartoon
  78. savep.Text = "Save Position"
  79. savep.TextColor3 = Color3.new(1, 1, 1)
  80. savep.TextScaled = true
  81. savep.TextSize = 14
  82. savep.TextWrapped = true
  83. savep.MouseButton1Click:connect(function()
  84. asd=game.Players.LocalPlayer.Character.HumanoidRootPart.Position
  85. end)
  86.  
  87. loadp.Name = "loadp"
  88. loadp.Parent = main
  89. loadp.BackgroundColor3 = Color3.new(0, 0, 0)
  90. loadp.Position = UDim2.new(0.577777803, 0, 0.0645161271, 0)
  91. loadp.Size = UDim2.new(0, 70, 0, 69)
  92. loadp.Font = Enum.Font.Cartoon
  93. loadp.Text = "Load Position"
  94. loadp.TextColor3 = Color3.new(1, 1, 1)
  95. loadp.TextScaled = true
  96. loadp.TextSize = 14
  97. loadp.TextWrapped = true
  98. loadp.MouseButton1Click:connect(function()
  99. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame=
  100. CFrame.new(asd)+Vector3.new(1,0,0)
  101. end)
  102.  
  103. speed.Name = "speed"
  104. speed.Parent = main
  105. speed.BackgroundColor3 = Color3.new(0, 0, 0)
  106. speed.Position = UDim2.new(0.0333333351, 0, 0.606664002, 0)
  107. speed.Size = UDim2.new(0, 68, 0, 67)
  108. speed.Font = Enum.Font.Cartoon
  109. speed.Text = "Speed Only For Barosaurus"
  110. speed.TextColor3 = Color3.new(1, 1, 1)
  111. speed.TextScaled = true
  112. speed.TextSize = 14
  113. speed.TextWrapped = true
  114. speed.MouseButton1Click:connect(function()
  115. while true do
  116. dino = "Barosaurus"
  117. game.Workspace[dino].Dinosaur.WalkSpeed = 65
  118. wait(0.5)
  119. end
  120. end)
  121.  
  122. food.Name = "food"
  123. food.Parent = main
  124. food.BackgroundColor3 = Color3.new(0, 0, 0)
  125. food.Position = UDim2.new(0.577777803, 0, 0.596044064, 0)
  126. food.Size = UDim2.new(0, 70, 0, 69)
  127. food.Font = Enum.Font.Cartoon
  128. food.Text = "Food"
  129. food.TextColor3 = Color3.new(1, 1, 1)
  130. food.TextScaled = true
  131. food.TextSize = 14
  132. food.TextWrapped = true
  133. food.MouseButton1Click:connect(function()
  134. game.Workspace.GameEvents.EatPlant:FireServer(Workspace.GameMap.Ferns.Fern, 2)
  135. end)
  136.  
  137. close.Name = "close"
  138. close.Parent = main
  139. close.BackgroundColor3 = Color3.new(0, 0, 0)
  140. close.Position = UDim2.new(1.05555558, 0, -0.0806451589, 0)
  141. close.Size = UDim2.new(0, 21, 0, 21)
  142. close.Font = Enum.Font.SciFi
  143. close.Text = "X"
  144. close.TextColor3 = Color3.new(1, 1, 1)
  145. close.TextScaled = true
  146. close.TextSize = 14
  147. close.TextWrapped = true
  148. close.MouseButton1Click:connect(function()
  149. frame.Visible = true
  150. main.Visible = false
  151. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement