Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local input2 = game:GetService("UserInputService")
- local mouse2 = game.Players.LocalPlayer:GetMouse()
- input2.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.Keyboard then
- if input.KeyCode == Enum.KeyCode.LeftControl then
- local part = Instance.new("Part",game.Workspace)
- part.Position = mouse2.Hit.Position
- wait(0.1)
- part.Anchored = true
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement