Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Got back from a break and a lil rusty
- -- Hella Spaced out the script for easy managing
- local TPOP = Instance.new("ScreenGui")
- local main = Instance.new("Frame")
- local PT = Instance.new("TextLabel")
- local TPTO = Instance.new("Frame")
- local PL = Instance.new("TextLabel")
- TPOP.Name = "TPOP"
- TPOP.Parent = game.CoreGui
- main.Name = "main"
- main.Parent = TPOP
- main.BackgroundColor3 = Color3.new(0.384314, 0.384314, 0.384314)
- main.Position = UDim2.new(0.997280121, 0, 0.517114937, 0)
- main.Size = UDim2.new(0, 168, 0, 50)
- PT.Name = "PT"
- PT.Parent = main
- PT.BackgroundColor3 = Color3.new(1, 1, 1)
- PT.BackgroundTransparency = 1
- PT.Position = UDim2.new(-0.00198434386, 0, 0.00943762809, 0)
- PT.Size = UDim2.new(0, 168, 0, 50)
- PT.Font = Enum.Font.SourceSansSemibold
- PT.Text = "Position Has Been Saved!"
- PT.TextColor3 = Color3.new(1, 0.666667, 0)
- PT.TextSize = 15
- PT.TextWrapped = true
- TPTO.Name = "TPTO"
- TPTO.Parent = TPOP
- TPTO.BackgroundColor3 = Color3.new(0.384314, 0.384314, 0.384314)
- TPTO.Position = UDim2.new(0.997280121, 0, 0.57823962, 0)
- TPTO.Size = UDim2.new(0, 168, 0, 50)
- PL.Name = "PL"
- PL.Parent = TPTO
- PL.BackgroundColor3 = Color3.new(1, 1, 1)
- PL.BackgroundTransparency = 1
- PL.Position = UDim2.new(-0.00198434386, 0, 0.00943762809, 0)
- PL.Size = UDim2.new(0, 168, 0, 50)
- PL.Font = Enum.Font.SourceSansSemibold
- PL.Text = "Position Has Been Loaded!"
- PL.TextColor3 = Color3.new(1, 0.666667, 0)
- PL.TextSize = 16
- PL.TextWrapped = true
- PT.Text = "Welcome!"
- wait(2)
- main:TweenPosition(UDim2.new(0.911181152, 0, 0.517114937, 0), "Out")
- wait(2)
- main:TweenPosition(UDim2.new(0.99728012, 0, 0.517114937, 0), "In")
- wait(1)
- PT.Text = "Position Has Been Saved!"
- function onKeyPress(inputObject, gameProcessedEvent)
- if inputObject.KeyCode == Enum.KeyCode.Q then
- LPos = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- main:TweenPosition(UDim2.new(0.911181152, 0, 0.517114937, 0), "Out")
- wait(2)
- main:TweenPosition(UDim2.new(0.99728012, 0, 0.517114937, 0), "In")
- end
- end
- game:GetService("UserInputService").InputBegan:connect(onKeyPress)
- function onKeyPress(inputObject, gameProcessedEvent)
- if inputObject.KeyCode == Enum.KeyCode.E then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = LPos
- TPTO:TweenPosition(UDim2.new(0.911221445, 0, 0.57823962, 0), "Out")
- wait(2)
- TPTO:TweenPosition(UDim2.new(0.99728012, 0, 0.57823962, 0), "In")
- end
- end
- game:GetService("UserInputService").InputBegan:connect(onKeyPress)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement