Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local tabDown = false
- local player = game:GetService('Players').LocalPlayer
- local input = player:GetMouse()
- local folder = Instance.new('Folder',workspace)
- function pathbrick(x,time,name)
- x = Instance.new('Part',folder)
- x.Name = name
- x.Size = Vector3.new(6,0.5,6)
- x.TopSurface = 'Smooth'
- x.BottomSurface = 'Smooth'
- x.Anchored = true
- x.Transparency = 0.3
- x.Color = (player.PlayerGui.ProductGui.DevProduct.Money.TextStrokeColor3)
- x.CFrame = CFrame.new(player.Character.UpperTorso.Position) + Vector3.new(0,-3,0)
- game.Debris:AddItem(x,time)
- end
- input.KeyUp:connect(function(k)
- if k == 't' or k == 'T' then
- tabDown = false
- folder.pltf:Destroy()
- end
- end)
- input.KeyDown:connect(function(k)
- if k == 'T' or k == 't' then
- tabDown = true
- repeat wait()
- if tabDown and player.Character and player.Character:FindFirstChild('UpperTorso') then
- pathbrick(x,3,'Part')
- end
- until not tabDown
- pathbrick(a,9e9,'pltf')
- end
- end)
Add Comment
Please, Sign In to add comment