Advertisement
Guest User

Untitled

a guest
Jan 20th, 2019
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local ScreenGui = Instance.new("ScreenGui")
  5. local Frame = Instance.new("Frame")
  6. local xdS = Instance.new("TextButton")
  7. local xdL = Instance.new("TextButton")
  8. --Properties:
  9. ScreenGui.Parent = game.Workspace
  10. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  11.  
  12. Frame.Parent = ScreenGui
  13. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  14. Frame.Position = UDim2.new(0.782162547, 0, 0.75393939, 0)
  15. Frame.Size = UDim2.new(0, 242, 0, 72)
  16.  
  17. xdS.Name = "xdS"
  18. xdS.Parent = Frame
  19. xdS.BackgroundColor3 = Color3.new(0.133333, 1, 0.0392157)
  20. xdS.Size = UDim2.new(0, 120, 0, 72)
  21. xdS.Font = Enum.Font.SourceSans
  22. xdS.Text = "Save"
  23. xdS.TextColor3 = Color3.new(0, 0, 0)
  24. xdS.TextSize = 14
  25.  
  26. xdL.Name = "xdL"
  27. xdL.Parent = Frame
  28. xdL.BackgroundColor3 = Color3.new(1, 0.00784314, 0.00784314)
  29. xdL.Position = UDim2.new(0.541322291, 0, 0, 0)
  30. xdL.Size = UDim2.new(0, 111, 0, 72)
  31. xdL.Font = Enum.Font.SourceSans
  32. xdL.Text = "Load"
  33. xdL.TextColor3 = Color3.new(0, 0, 0)
  34. xdL.TextSize = 14
  35. -- Scripts:
  36. xdL.MouseButton1Click:connect(function()
  37. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = saved
  38. end)
  39. xdS.MouseButton1Click:connect(function()
  40. saved = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame
  41. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement