Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = owner--use h/ not hl/
- local character = owner.Character
- local garbage = Instance.new("Model",character)
- local remote = Instance.new("RemoteEvent",character)
- remote.OnServerEvent:Connect(function(player,hit)
- wait(0.4)
- local pixel = Instance.new("Part",garbage)
- pixel.Size = Vector3.new(1,0.1,1)
- pixel.BrickColor = BrickColor.Black()
- pixel.Material = Enum.Material.SmoothPlastic
- pixel.Anchored = true
- pixel.CFrame = hit
- pixel.Orientation = Vector3.new(0,0,0)
- end)
- NLS([[
- local player = game.Players.LocalPlayer
- local mouse = player:GetMouse()
- local character = player.Character
- local clicked = false
- mouse.Button1Down:connect(function()
- clicked = true
- end)
- mouse.Button1Up:connect(function()
- clicked = false
- end)
- local remote = character:WaitForChild("RemoteEvent")
- local runservice = game:GetService("RunService")
- runservice.Stepped:Connect(function()
- if clicked==true then
- remote:FireServer(mouse.Hit) end
- end)]],character)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement