Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local crimgui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local Frame2 = Instance.new("Frame")
- local crimtext = Instance.new("TextBox")
- local makecrim = Instance.new("TextButton")
- local TextLabel = Instance.new("TextLabel")
- --Properties:
- crimgui.Name = "crimgui"
- crimgui.Parent = game.CoreGui
- Frame.Parent = crimgui
- Frame.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame.Position = UDim2.new(0.164424494, 0, 0.328009814, 0)
- Frame.Size = UDim2.new(0, 205, 0, 106)
- Frame.Active = true
- Frame.Draggable = true
- Frame2.Name = "Frame2"
- Frame2.Parent = Frame
- Frame2.BackgroundColor3 = Color3.new(0, 1, 1)
- Frame2.Position = UDim2.new(0, 0, 0.254716992, 0)
- Frame2.Size = UDim2.new(0, 205, 0, 79)
- crimtext.Name = "crimtext"
- crimtext.Parent = Frame2
- crimtext.BackgroundColor3 = Color3.new(1, 0, 0)
- crimtext.Position = UDim2.new(0.107317075, 0, 0.101265825, 0)
- crimtext.Size = UDim2.new(0, 161, 0, 31)
- crimtext.Font = Enum.Font.SourceSans
- crimtext.Text = "PLAYERNAME"
- crimtext.TextColor3 = Color3.new(0, 0, 0)
- crimtext.TextSize = 14
- makecrim.Name = "makecrim"
- makecrim.Parent = Frame2
- makecrim.BackgroundColor3 = Color3.new(0.333333, 1, 0)
- makecrim.Position = UDim2.new(0, 0, 0.493670881, 0)
- makecrim.Size = UDim2.new(0, 205, 0, 40)
- makecrim.Font = Enum.Font.GothamBlack
- makecrim.Text = "Make Crim"
- makecrim.TextColor3 = Color3.new(0, 0, 0)
- makecrim.TextSize = 14
- makecrim.TextStrokeColor3 = Color3.new(0, 1, 1)
- makecrim.TextWrapped = true
- makecrim.MouseButton1Down:connect(function()
- saved = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- game:GetService("StarterGui"):SetCore("SendNotification", {
- Title = "Position Saved";
- Text = "Success";
- })
- local A_1 = "LocalPlayer"
- local Event = game:GetService("Workspace").Remote.loadchar
- Event:InvokeServer(A_1)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = saved
- game:GetService("StarterGui"):SetCore("SendNotification", {
- Title = "Position Loaded";
- Text = "Success";
- })
- wait(0.5)
- local LocalPlayer = game:GetService("Players").LocalPlayer
- local torsoname = "Torso"
- if LocalPlayer.Character:FindFirstChild("Humanoid").RigType == Enum.HumanoidRigType.R15 then
- torsoname = "UpperTorso"
- end
- if LocalPlayer.Character ~= nil then
- local savepos = LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
- LocalPlayer.Character:FindFirstChild(torsoname).Anchored = true
- local tool = Instance.new("Tool", LocalPlayer.Backpack)
- local hat = LocalPlayer.Character:FindFirstChildOfClass("Accessory")
- local hathandle = hat.Handle
- hathandle.Parent = tool
- hathandle.Massless = true
- tool.GripPos = Vector3.new(0, 9e99, 0)
- tool.Parent = LocalPlayer.Character
- repeat wait() until LocalPlayer.Character:FindFirstChildOfClass("Tool") ~= nil
- tool.Grip = CFrame.new(Vector3.new(0, 0, 0))
- LocalPlayer.Character:FindFirstChild(torsoname).Anchored = false
- end
- while true do
- game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[crimtext.Text].Character.HumanoidRootPart.CFrame
- wait()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement