Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ScreenGui = Instance.new("ScreenGui")
- local Main = Instance.new("Frame")
- local Login = Instance.new("TextButton")
- local Input = Instance.new("TextBox")
- --Properties:
- ScreenGui.Parent = game.CoreGui
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Main.Name = "Main"
- Main.Parent = ScreenGui
- Main.Active = true
- Main.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
- Main.Position = UDim2.new(0.383990705, 0, 0.368763566, 0)
- Main.Size = UDim2.new(0, 200, 0, 120)
- Main.Draggable = true
- Login.Name = "Log in"
- Login.Parent = Main
- Login.BackgroundColor3 = Color3.fromRGB(9, 9, 9)
- Login.Position = UDim2.new(0.119999997, 0, 0.591666639, 0)
- Login.Size = UDim2.new(0, 152, 0, 40)
- Login.Font = Enum.Font.SciFi
- Login.Text = "Log in"
- Login.TextColor3 = Color3.fromRGB(255, 255, 255)
- Login.TextSize = 14.000
- Login.MouseButton1Down:connect(function()
- if Input.Text == "TinTin28" then
- Main.Visible = false
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "f" then
- local Item = game.Players.LocalPlayer:GetMouse().Target.Parent
- local Size = Item.PrimaryPart.Size.Y
- Item.PrimaryPart.Size = Vector3.new(0,0,0)
- local Rotate
- local Tilt
- Rotate = 0
- Tilt = 0
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "r" then
- Rotate = Rotate + 22.5
- end
- end)
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "t" then
- Tilt = Tilt + 22.5
- end
- end)
- spawn(function()
- while game:GetService("RunService").RenderStepped:Wait() do
- game.Players.LocalPlayer:GetMouse().TargetFilter = Item
- Item:SetPrimaryPartCFrame(CFrame.new(math.floor(game.Players.LocalPlayer:GetMouse().Hit.X)+.03,math.ceil(game.Players.LocalPlayer:GetMouse().Hit.Y+(Size/2)-1),math.floor(game.Players.LocalPlayer:GetMouse().Hit.Z)-.03) * CFrame.Angles(math.rad(0),math.rad(Rotate),math.rad(Tilt)))
- end
- end)
- end
- end)
- end
- end)
- Input.Name = "Input"
- Input.Parent = Main
- Input.BackgroundColor3 = Color3.fromRGB(9, 9, 9)
- Input.Position = UDim2.new(0.0350000858, 0, 0.11499998, 0)
- Input.Size = UDim2.new(0, 185, 0, 45)
- Input.Font = Enum.Font.SciFi
- Input.Text = "Password"
- Input.TextColor3 = Color3.fromRGB(252, 252, 252)
- Input.TextSize = 14.000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement