Advertisement
Guest User

Untitled

a guest
Aug 18th, 2018
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.92 KB | None | 0 0
  1.  
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. Tool0 = Instance.new("Tool")
  20. Part1 = Instance.new("Part")
  21. Decal2 = Instance.new("Decal")
  22. Sound3 = Instance.new("Sound")
  23. Script4 = Instance.new("Script")
  24. Tool0.Parent = mas
  25. Part1.Name = "Handle"
  26. Part1.Parent = Tool0
  27. Part1.CFrame = CFrame.new(64, 1, 58.9750023, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  28. Part1.Position = Vector3.new(64, 1, 58.9750023)
  29. Part1.Transparency = 1
  30. Part1.Size = Vector3.new(2, 2, 0.0500000007)
  31. Part1.BottomSurface = Enum.SurfaceType.Smooth
  32. Part1.TopSurface = Enum.SurfaceType.Smooth
  33. Decal2.Parent = Part1
  34. Decal2.Texture = "http://www.roblox.com/asset/?id=846369508"
  35. Sound3.Parent = Part1
  36. Sound3.Playing = true
  37. Sound3.SoundId = "rbxassetid://2090461510"
  38. Sound3.Volume = 10
  39. Script4.Parent = Tool0
  40. table.insert(cors,sandbox(Script4,function()
  41. local Tool = script.Parent;
  42. function onActivated()
  43. Tool.Handle.Sound:Play()
  44. game.Workspace.notsoname.Head.face.Texture = "rbxassetid://1176402123"
  45. wait(28.5)
  46. AnimationId = "33796059"
  47. local Anim = Instance.new("Animation")
  48. Anim.AnimationId = "rbxassetid://"..AnimationId
  49. local k = game.Workspace.notsoname.Humanoid:LoadAnimation(Anim)
  50. k:Play()
  51. k:AdjustSpeed(100)
  52. end
  53. function onUnEquipped()
  54. game.Workspace.notsoname.Head:Destroy()
  55. Tool.Handle.Sound:Pause()
  56. end
  57. script.Parent.Activated:Connect(onActivated)
  58. script.Parent.Unequipped:Connect(onUnEquipped)
  59.  
  60. end))
  61. for i,v in pairs(mas:GetChildren()) do
  62. v.Parent = game:GetService("Players").notsoname.Backpack
  63. pcall(function() v:MakeJoints() end)
  64. end
  65. mas:Destroy()
  66. for i,v in pairs(cors) do
  67. spawn(function()
  68. pcall(v)
  69. end)
  70. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement