Advertisement
Ben_Scripts343

Natural Disasters script

Jun 2nd, 2021
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.55 KB | None | 0 0
  1. local ScreenGui = Instance.new("ScreenGui")
  2. local Frame = Instance.new("Frame")
  3. local Safety = Instance.new("TextButton")
  4. local Map = Instance.new("TextButton")
  5.  
  6. ScreenGui.Parent = game.CoreGui
  7. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  8.  
  9. Frame.Parent = ScreenGui
  10. Frame.BackgroundColor3 = Color3.new(0.694118, 0.694118, 0.694118)
  11. Frame.BorderSizePixel = 0
  12. Frame.Position = UDim2.new(0.48698169, 0, 0.229903534, 0)
  13. Frame.Size = UDim2.new(0, 154, 0, 163)
  14. Frame.Draggable = true
  15. Frame.Active = true
  16.  
  17. Safety.Name = "Safety"
  18. Safety.Parent = Frame
  19. Safety.BackgroundColor3 = Color3.new(0.470588, 0.470588, 0.470588)
  20. Safety.BorderSizePixel = 0
  21. Safety.Position = UDim2.new(0.145472482, 0, 0.20176208, 0)
  22. Safety.Size = UDim2.new(0, 106, 0, 41)
  23. Safety.Font = Enum.Font.SourceSans
  24. Safety.Text = "Safety"
  25. Safety.TextColor3 = Color3.new(0.952941, 0.952941, 0.952941)
  26. Safety.TextSize = 14
  27. Safety.MouseButton1Click:connect(function()
  28. local hum = game.Players.LocalPlayer.Character.HumanoidRootPart
  29.  
  30. hum.CFrame = CFrame.new(-237,194,314)
  31.  
  32. end)
  33.  
  34. Map.Name = "Map"
  35. Map.Parent = Frame
  36. Map.BackgroundColor3 = Color3.new(0.470588, 0.470588, 0.470588)
  37. Map.BorderSizePixel = 0
  38. Map.Position = UDim2.new(0.150084198, 0, 0.603106618, 0)
  39. Map.Size = UDim2.new(0, 106, 0, 41)
  40. Map.Font = Enum.Font.SourceSans
  41. Map.Text = "Map"
  42. Map.TextColor3 = Color3.new(0.866667, 0.866667, 0.866667)
  43. Map.TextSize = 14
  44. Map.MouseButton1Click:connect(function()
  45. --Map
  46. local hum = game.Players.LocalPlayer.Character.HumanoidRootPart
  47.  
  48. hum.CFrame = CFrame.new(-94,47,2)
  49.  
  50. end)
  51.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement