View difference between Paste ID: KfQsjZKN and m6REd3c1
SHOW: | | - or go back to the newest paste.
1
wait(1)
2
--Start the script
3-
local Plr = game.Players.Player1 -- "Player1" to in-game name
3+
local Plr = game.Players.Player1 -- "timetodie23232223" to in-game name
4
--Instance.new
5
local Tool = Instance.new("Tool", game.Workspace)
6
Tool.Name = "Doritos Drink"
7
local Handle = Instance.new("Part", Tool)
8
Handle.Name = "Handle"
9
local Mesh = Instance.new("SpecialMesh", Handle)
10
Mesh.MeshType = "FileMesh"
11
Mesh.MeshId = "http://www.roblox.com/asset/?id=10470609"
12
local Txture = Instance.new("Decal", Handle)
13
Txture.Texture = "http://www.roblox.com/asset/?id=328846943"
14
Tool.GripPos = Vector3.new(0, 0, 0)
15
Tool.Parent = Plr.Backpack
16
--Sound
17
local DS = Instance.new("Sound", Handle)
18
local OS = Instance.new("Sound", Handle) -- it's not a os! its open sound!
19
DS.SoundId = "http://www.roblox.com/asset/?id=10722059"
20
OS.SoundId = "http://www.roblox.com/asset/?id=10721950"
21
--Function
22
23
Tool.Equipped:connect(function()
24
	Tool.GripPos = Vector3.new(0, 0, 0)
25
	OS:Play()
26
end)
27
28
Tool.Activated:connect(function()
29
	DS:Play()
30
	Tool.GripPos = Vector3.new(1.5, -0.3, -0.5)
31
	wait(2)
32
	Tool.GripPos = Vector3.new(0, 0, 0)
33
end)