Advertisement
ERROR_CODE

key2

Sep 8th, 2023 (edited)
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.82 KB | None | 0 0
  1. Tool0B = Instance.new("Tool")
  2. Part1B = Instance.new("Part")
  3. SpecialMesh2B = Instance.new("SpecialMesh")
  4. Tool0B.Name = "Key2"
  5. Tool0B.Parent = game.Players.LocalPlayer.Backpack
  6. Tool0B.TextureId = "http://www.roblox.com/asset/?id=221748793"
  7. Tool0B.Grip = CFrame.new(0.100000001, -0.400000006, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  8. Tool0B.GripPos = Vector3.new(0.10000000149011612, -0.4000000059604645, 0)
  9. Tool0B.ToolTip = "celler key"
  10. Part1B.Name = "Handle"
  11. Part1B.Parent = Tool0B
  12. Part1B.CFrame = CFrame.new(10.9154053, 0.25, -18.9892578, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  13. Part1B.Orientation = Vector3.new(90, 0, 0)
  14. Part1B.Position = Vector3.new(10.9154052734375, 0.25, -18.9892578125)
  15. Part1B.Rotation = Vector3.new(-90, 0, 0)
  16. Part1B.Color = Color3.new(0.960784, 0.803922, 0.188235)
  17. Part1B.Size = Vector3.new(0.05, 0.05, 0.05)
  18. Part1B.BottomSurface = Enum.SurfaceType.Smooth
  19. Part1B.BrickColor = BrickColor.new("Bright yellow")
  20. Part1B.TopSurface = Enum.SurfaceType.Smooth
  21. Part1B.brickColor = BrickColor.new("Bright yellow")
  22. Part1B.FormFactor = Enum.FormFactor.Custom
  23. Part1B.formFactor = Enum.FormFactor.Custom
  24. SpecialMesh2B.Parent = Part1B
  25. SpecialMesh2B.MeshId = "http://www.roblox.com/asset/?id=10681451177"
  26. SpecialMesh2B.Scale = Vector3.new(0.05, 0.05, 0.05)
  27. SpecialMesh2B.TextureId = "http://www.roblox.com/asset?id=10681451256"
  28. SpecialMesh2B.MeshType = Enum.MeshType.FileMesh
  29. Tool0B.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. Tool0B.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