View difference between Paste ID: 7xKPhXtx and gnpdg5ZF
SHOW: | | - or go back to the newest paste.
1
local mouse = game.Players.LocalPlayer:GetMouse()	
2
3
function OnButton1Down(mouse)
4
	local target = mouse.Target
5-
	target.Material = ("CorrodedMetal")
5+
	target.Material = ("Neon")
6-
	target.Color = Color3.new("0,0,0")
6+
	target.Color = Color3.new("85, 165, 175")
7
	target.CanCollide = false
8-
	target.Anchored = false
8+
	target.Anchored = true
9
	target:BreakJoints()
10
	wait(0.05)
11
	target.Transparency = (0.9)
12
	wait(0.05)
13
	target.Transparency = (0.8)
14
	wait(0.05)
15
	target.Transparency = (0.7)
16
	wait(0.05)
17
	target.Transparency = (0.6)
18
	wait(0.05)
19
	target.Transparency = (0.5)
20
	wait(0.05)
21
	target.Transparency = (0.4)
22
	wait(0.05)
23
	target.Transparency = (0.3)
24
	wait(0.05)
25
	target.Transparency = (0.2)
26
	wait(0.05)
27
	target.Transparency = (0.1)
28
	wait(0.05)
29
	target:Destroy()
30
end
31
32
mouse.Button1Down:connect(function() OnButton1Down(mouse) end)