Advertisement
Guest User

Untitled

a guest
Jan 18th, 2020
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.15 KB | None | 0 0
  1. local crimgui = Instance.new("ScreenGui")
  2. local Frame = Instance.new("Frame")
  3. local Frame2 = Instance.new("Frame")
  4. local crimtext = Instance.new("TextBox")
  5. local makecrim = Instance.new("TextButton")
  6. local TextLabel = Instance.new("TextLabel")
  7. --Properties:
  8. crimgui.Name = "crimgui"
  9. crimgui.Parent = game.CoreGui
  10.  
  11. Frame.Parent = crimgui
  12. Frame.BackgroundColor3 = Color3.new(0, 0, 0)
  13. Frame.Position = UDim2.new(0.164424494, 0, 0.328009814, 0)
  14. Frame.Size = UDim2.new(0, 205, 0, 106)
  15. Frame.Active = true
  16. Frame.Draggable = true
  17.  
  18. Frame2.Name = "Frame2"
  19. Frame2.Parent = Frame
  20. Frame2.BackgroundColor3 = Color3.new(0, 1, 1)
  21. Frame2.Position = UDim2.new(0, 0, 0.254716992, 0)
  22. Frame2.Size = UDim2.new(0, 205, 0, 79)
  23.  
  24. crimtext.Name = "crimtext"
  25. crimtext.Parent = Frame2
  26. crimtext.BackgroundColor3 = Color3.new(1, 0, 0)
  27. crimtext.Position = UDim2.new(0.107317075, 0, 0.101265825, 0)
  28. crimtext.Size = UDim2.new(0, 161, 0, 31)
  29. crimtext.Font = Enum.Font.SourceSans
  30. crimtext.Text = "PLAYERNAME"
  31. crimtext.TextColor3 = Color3.new(0, 0, 0)
  32. crimtext.TextSize = 14
  33.  
  34. makecrim.Name = "makecrim"
  35. makecrim.Parent = Frame2
  36. makecrim.BackgroundColor3 = Color3.new(0.333333, 1, 0)
  37. makecrim.Position = UDim2.new(0, 0, 0.493670881, 0)
  38. makecrim.Size = UDim2.new(0, 205, 0, 40)
  39. makecrim.Font = Enum.Font.GothamBlack
  40. makecrim.Text = "Make Crim"
  41. makecrim.TextColor3 = Color3.new(0, 0, 0)
  42. makecrim.TextSize = 14
  43. makecrim.TextStrokeColor3 = Color3.new(0, 1, 1)
  44. makecrim.TextWrapped = true
  45. makecrim.MouseButton1Down:connect(function()
  46. saved = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  47. game:GetService("StarterGui"):SetCore("SendNotification", {
  48. Title = "Position Saved";
  49. Text = "Success";
  50. })
  51.  
  52. local A_1 = "LocalPlayer"
  53. local Event = game:GetService("Workspace").Remote.loadchar
  54. Event:InvokeServer(A_1)
  55.  
  56. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = saved
  57. game:GetService("StarterGui"):SetCore("SendNotification", {
  58. Title = "Position Loaded";
  59. Text = "Success";
  60. })
  61.  
  62. wait(0.5)
  63. local LocalPlayer = game:GetService("Players").LocalPlayer
  64. local torsoname = "Torso"
  65. if LocalPlayer.Character:FindFirstChild("Humanoid").RigType == Enum.HumanoidRigType.R15 then
  66. torsoname = "UpperTorso"
  67. end
  68. if LocalPlayer.Character ~= nil then
  69. local savepos = LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
  70. LocalPlayer.Character:FindFirstChild(torsoname).Anchored = true
  71. local tool = Instance.new("Tool", LocalPlayer.Backpack)
  72. local hat = LocalPlayer.Character:FindFirstChildOfClass("Accessory")
  73. local hathandle = hat.Handle
  74. hathandle.Parent = tool
  75. hathandle.Massless = true
  76. tool.GripPos = Vector3.new(0, 9e99, 0)
  77. tool.Parent = LocalPlayer.Character
  78. repeat wait() until LocalPlayer.Character:FindFirstChildOfClass("Tool") ~= nil
  79. tool.Grip = CFrame.new(Vector3.new(0, 0, 0))
  80. LocalPlayer.Character:FindFirstChild(torsoname).Anchored = false
  81. end
  82.  
  83. while true do
  84. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[crimtext.Text].Character.HumanoidRootPart.CFrame
  85. wait()
  86. end
  87. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement