Advertisement
ERROR_CODE

key1

Sep 8th, 2023 (edited)
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.78 KB | None | 0 0
  1. Tool0 = Instance.new("Tool")
  2. Part1 = Instance.new("Part")
  3. SpecialMesh2 = Instance.new("SpecialMesh")
  4. Tool0.Name = "Key1"
  5. Tool0.Parent = game.Players.LocalPlayer.Backpack
  6. Tool0.TextureId = "http://www.roblox.com/asset/?id=221748793"
  7. Tool0.Grip = CFrame.new(0.100000001, -0.400000006, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  8. Tool0.GripPos = Vector3.new(0.10000000149011612, -0.4000000059604645, 0)
  9. Tool0.ToolTip = "pantry key"
  10. Part1.Name = "Handle"
  11. Part1.Parent = Tool0
  12. Part1.CFrame = CFrame.new(10.9154053, 0.25, -18.9892578, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  13. Part1.Orientation = Vector3.new(90, 0, 0)
  14. Part1.Position = Vector3.new(10.9154052734375, 0.25, -18.9892578125)
  15. Part1.Rotation = Vector3.new(-90, 0, 0)
  16. Part1.Color = Color3.new(0.960784, 0.803922, 0.188235)
  17. Part1.Size = Vector3.new(0.05, 0.05, 0.05)
  18. Part1.BottomSurface = Enum.SurfaceType.Smooth
  19. Part1.BrickColor = BrickColor.new("Bright yellow")
  20. Part1.TopSurface = Enum.SurfaceType.Smooth
  21. Part1.brickColor = BrickColor.new("Bright yellow")
  22. Part1.FormFactor = Enum.FormFactor.Custom
  23. Part1.formFactor = Enum.FormFactor.Custom
  24. SpecialMesh2.Parent = Part1
  25. SpecialMesh2.MeshId = "http://www.roblox.com/asset/?id=554079568"
  26. SpecialMesh2.Scale = Vector3.new(0.05, 0.05, 0.05)
  27. SpecialMesh2.TextureId = "http://www.roblox.com/asset?id=554079576"
  28. SpecialMesh2.MeshType = Enum.MeshType.FileMesh
  29. Tool0.Equipped:Connect(function()
  30. local Sound = Instance.new("Sound")
  31. local Id = "1498950813"
  32. Sound.Parent = game.Workspace
  33. Sound.SoundId = "rbxassetid://"..Id
  34. Sound.Playing = true
  35. Sound.Looped = false
  36. Sound.Volume = 1
  37. end)
  38. Tool0.Unequipped:Connect(function()
  39. local Sound = Instance.new("Sound")
  40. local Id = "7886392420"
  41. Sound.Parent = game.Workspace
  42. Sound.SoundId = "rbxassetid://"..Id
  43. Sound.Playing = true
  44. Sound.Looped = false
  45. Sound.Volume = 1
  46. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement