Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Tool0 = Instance.new("Tool")
- Part1 = Instance.new("Part")
- SpecialMesh2 = Instance.new("SpecialMesh")
- Tool0.Name = "Key1"
- Tool0.Parent = game.Players.LocalPlayer.Backpack
- Tool0.TextureId = "http://www.roblox.com/asset/?id=221748793"
- Tool0.Grip = CFrame.new(0.100000001, -0.400000006, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Tool0.GripPos = Vector3.new(0.10000000149011612, -0.4000000059604645, 0)
- Tool0.ToolTip = "pantry key"
- Part1.Name = "Handle"
- Part1.Parent = Tool0
- Part1.CFrame = CFrame.new(10.9154053, 0.25, -18.9892578, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part1.Orientation = Vector3.new(90, 0, 0)
- Part1.Position = Vector3.new(10.9154052734375, 0.25, -18.9892578125)
- Part1.Rotation = Vector3.new(-90, 0, 0)
- Part1.Color = Color3.new(0.960784, 0.803922, 0.188235)
- Part1.Size = Vector3.new(0.05, 0.05, 0.05)
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.BrickColor = BrickColor.new("Bright yellow")
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part1.brickColor = BrickColor.new("Bright yellow")
- Part1.FormFactor = Enum.FormFactor.Custom
- Part1.formFactor = Enum.FormFactor.Custom
- SpecialMesh2.Parent = Part1
- SpecialMesh2.MeshId = "http://www.roblox.com/asset/?id=554079568"
- SpecialMesh2.Scale = Vector3.new(0.05, 0.05, 0.05)
- SpecialMesh2.TextureId = "http://www.roblox.com/asset?id=554079576"
- SpecialMesh2.MeshType = Enum.MeshType.FileMesh
- Tool0.Equipped:Connect(function()
- local Sound = Instance.new("Sound")
- local Id = "1498950813"
- Sound.Parent = game.Workspace
- Sound.SoundId = "rbxassetid://"..Id
- Sound.Playing = true
- Sound.Looped = false
- Sound.Volume = 1
- end)
- Tool0.Unequipped:Connect(function()
- local Sound = Instance.new("Sound")
- local Id = "7886392420"
- Sound.Parent = game.Workspace
- Sound.SoundId = "rbxassetid://"..Id
- Sound.Playing = true
- Sound.Looped = false
- Sound.Volume = 1
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement