Advertisement
zombieslayerwtf

Guitar [Leaked]

Jun 13th, 2018
527
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.12 KB | None | 0 0
  1. --custom--
  2. vol = math.huge
  3. DEMO = 264153930 --shortcut song by play/demo
  4. print([[my fav music ids [mostly animes .-.]
  5. blend S intro 1204869811
  6. tokyo ghoul 760098773
  7. dragon maid kobayashi 741510124
  8. i'm blue 362567158
  9. nyan cat 130786686
  10. little einsteins 219701493
  11. cold as ice 951690182
  12. ]])
  13.  
  14. print('Guitar')
  15. print('By slenercat5')
  16. print('F to toggle Camera perspectives')--FANCY :D
  17. print('ex: play/130760592')
  18. print('say play/demo for a noice music')
  19. print('say stop to stop musics')
  20. Player=game.Players.LocalPlayer
  21. Character=Player.Character
  22. Character.Animate.Disabled=true
  23. local LeftArm = Character["Left Arm"]
  24. local RightArm = Character["Right Arm"]
  25. local LeftLeg = Character["Left Leg"]
  26. local RightLeg = Character["Right Leg"]
  27. local Head = Character.Head
  28. local Torso = Character.Torso
  29. local Camera = game.Workspace.CurrentCamera
  30. local RootPart = Character.HumanoidRootPart
  31. local RootJoint = RootPart.RootJoint
  32. local Humanoid=Character.Humanoid
  33. CAM=Camera
  34. FF=Instance.new('ForceField',Character)
  35. FF.Visible=false
  36. Humanoid.Name='LOLOL YOU CANT HIT ME'
  37. Character.Health:destroy()
  38. for i,v in pairs (Humanoid:GetPlayingAnimationTracks()) do
  39. v:Stop()
  40. end
  41.  
  42. local newMotor = function(part0, part1, c0, c1)
  43. w = Instance.new('Motor')
  44. w.Parent = part0
  45. w.Part0 = part0
  46. w.Part1 = part1
  47. w.C0 = c0
  48. w.C1 = c1
  49.  
  50. return w
  51. end
  52.  
  53.  
  54.  
  55.  
  56. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  57. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  58.  
  59. local RW = newMotor(Torso, RightArm, CFrame.new(2.5, 0, 0), CFrame.new(0, 0, 0))
  60. local LW = newMotor(Torso, LeftArm, CFrame.new(-2.5, 0, 0), CFrame.new(0, 0, 0))
  61. local RH = newMotor(Torso, RightLeg, CFrame.new(1.5, -3, 0), CFrame.new(0, 0, 0))
  62. local LH = newMotor(Torso, LeftLeg, CFrame.new(-1.5, -3, 0), CFrame.new(0, 0, 0))
  63. RootJoint.C1 = CFrame.new(0, 0, 0)
  64. RootJoint.C0 = CFrame.new(0, 0, 0)
  65. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  66. Torso.Neck.C0 = CFrame.new(0, 2.5, 0)
  67.  
  68. local rarmc1 = RW.C1
  69. local larmc1 = LW.C1
  70. local rlegc1 = RH.C1
  71. local llegc1 = LH.C1
  72.  
  73. local resetc1 = false
  74.  
  75. function clerp(a, b, t)
  76. return a:lerp(b, t)
  77. end
  78. function AutoWeld(Foop, OOF)
  79. local W = Instance.new("Weld")
  80. W.Part0 = Foop
  81. W.Part1 = OOF
  82. local CJ = CFrame.new(Foop.Position)
  83. local C0 = Foop.CFrame:inverse()*CJ
  84. local C1 = OOF.CFrame:inverse()*CJ
  85. W.C0 = C0
  86. W.C1 = C1
  87. W.Name='o0o'
  88. W.Parent = Foop
  89.  
  90. end
  91.  
  92.  
  93.  
  94. function PlayAnimationFromTable(table, speed, bool)
  95. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  96. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  97. RW.C0 = clerp(RW.C0, table[3], speed)
  98. LW.C0 = clerp(LW.C0, table[4], speed)
  99. RH.C0 = clerp(RH.C0, table[5], speed)
  100. LH.C0 = clerp(LH.C0, table[6], speed)
  101. if bool == true then
  102. if resetc1 == false then
  103. resetc1 = true
  104. RootJoint.C1 = RootJoint.C1
  105. Torso.Neck.C1 = Torso.Neck.C1
  106. RW.C1 = rarmc1
  107. LW.C1 = larmc1
  108. RH.C1 = rlegc1
  109. LH.C1 = llegc1
  110. end
  111. end
  112. end
  113. sine=1
  114.  
  115. Torso.CFrame=Torso.CFrame*CFrame.new(0,1,0)
  116.  
  117.  
  118. White=Instance.new('Part',Character)
  119. White.Name='White Space'
  120. White.Anchored=true
  121. White.Size=Vector3.new(35.2, 0.05, 17.6)
  122. White.CFrame=Torso.CFrame*CFrame.new(0.39, -3.965, -0.1)
  123. White.Material='Neon'
  124. White.BrickColor=BrickColor.new('Medium stone grey')
  125. m=Instance.new('CylinderMesh',White)
  126. White.Locked = true
  127.  
  128.  
  129. Humanoid.AutoRotate=false
  130. Humanoid.WalkSpeed=0
  131. Humanoid.JumpPower=0
  132.  
  133. Flute=Instance.new('Part',Character)
  134. Flute.Name='Flute'
  135. Flute.CFrame=Torso.CFrame*CFrame.new(-0.5,-.5,-1)*CFrame.Angles(0,0,-2.5)
  136. m=Instance.new('SpecialMesh',Flute)
  137. m.MeshId='http://www.roblox.com/asset/?id=161269074'
  138. m.TextureId='http://www.roblox.com/asset/?id=228874694'
  139. m.Scale=Vector3.new(0.922, 0.922, 0.922)
  140. Flute.Size=Vector3.new(.5,2,.5)
  141. Flute.Locked = true
  142. Flute.Transparency = 0.6
  143.  
  144. AutoWeld(Flute,Torso)
  145. THEME=Instance.new('Sound',workspace)
  146. THEME.Name = "music"
  147. music=nil
  148. firsttype=false
  149. Player.Chatted:connect(function(msg)
  150. for def in string.gmatch(msg, "%d+") do
  151.  
  152. if def~=nil then
  153. music=def
  154.  
  155. end
  156. end
  157.  
  158. for def in string.gmatch(msg,"[%u%l%p]+") do
  159. if def=='play/' and music~=nil then
  160. local LAMOO = game:GetService("MarketplaceService"):GetProductInfo(music)
  161. THEME:stop()
  162. THEME.SoundId='rbxassetid://'.. music
  163. wait(.01)
  164. THEME:play()
  165. THEME.Looped = true
  166. THEME.Volume = vol
  167. print('Now Playing ' ..LAMOO.Name)
  168. elseif def=='play/demo' then
  169. local HAHAHA = game:GetService("MarketplaceService"):GetProductInfo(264153930)
  170. THEME:stop()
  171. THEME.SoundId='rbxassetid://'.. DEMO
  172. wait(.01)
  173. THEME:play()
  174. THEME.Looped = true
  175. THEME.Volume = vol
  176. print('Now Playing ' ..HAHAHA.Name)
  177. elseif def=='stop' then
  178. THEME:play()
  179. THEME:stop()
  180. print('Music Stopped')
  181. elseif def=='g/nl' then
  182. THEME:play()
  183. THEME:stop()
  184. print('Music FORCE Stopped')
  185. elseif def=='g/nl/all' then
  186. THEME:play()
  187. THEME:stop()
  188. print('Music FORCE Stopped')
  189. end
  190. end
  191. music=nil
  192. end)
  193. Ms=Player:GetMouse()
  194. Ms.KeyDown:connect(function(key)
  195. if key=='f' then
  196. if cam then
  197. cam=false
  198. CAM.CameraType='Custom'
  199. else
  200. cam=true
  201. CAM.CameraType='Scriptable'
  202. end
  203. end
  204. end)
  205.  
  206.  
  207. cam=true--Custom Camera Perspectives
  208. if cam==true then
  209. CAM.CameraType=Enum.CameraType.Scriptable
  210.  
  211. end
  212. Campart1=Instance.new('Part',Character)
  213. Campart1.Transparency=1
  214. Campart1.Anchored=true
  215. Campart1.CanCollide=false
  216. Campart2=Campart1:clone()
  217. Campart2.Parent=Character
  218. Campart3=Campart1:clone()
  219. Campart3.Parent=Character
  220.  
  221. camtime=0
  222. camphase=0
  223.  
  224. while 1 do
  225. wait()
  226. sine=sine+1
  227. PlayAnimationFromTable({
  228. CFrame.new(-math.cos(sine/16)*.2, math.cos(sine/8)/8, 0) * CFrame.Angles(0, 0, 0),
  229. CFrame.new(0, 1.5, 0) * CFrame.new(0, 0, -.3) * CFrame.Angles(-.5,0.5-THEME.PlaybackLoudness/150, 0),
  230. CFrame.new(1.5-THEME.PlaybackLoudness/700, .5, -.5)*CFrame.Angles(1.5+THEME.PlaybackLoudness/700,0,0-THEME.PlaybackLoudness/700),
  231. CFrame.new(-1.5+THEME.PlaybackLoudness/700, 0, -.5)*CFrame.Angles(1-THEME.PlaybackLoudness/700,0,0+THEME.PlaybackLoudness/700),
  232. CFrame.new(1+math.cos(sine/16)*.2,-2-math.cos(sine/8)/8, 0)*CFrame.Angles(0,0,0.5) ,
  233. CFrame.new(-1+math.cos(sine/16)*.2,-2-math.cos(sine/8)/8,0)*CFrame.Angles(0,0,-0.5),
  234. }, .3, false)
  235.  
  236. White.Size=Vector3.new(35.2+THEME.PlaybackLoudness/10, 0.05, 17.6+THEME.PlaybackLoudness/10)
  237. Campart1=Instance.new('Part')
  238. if cam==true then
  239. CAM.CameraType='Scriptable'
  240. Campart1.CFrame=Torso.CFrame*CFrame.new(8,8,8)*CFrame.Angles(-0.5,.5,-0.5)
  241. Campart2.CFrame=Torso.CFrame*CFrame.new(-8,-3,-5)*CFrame.Angles(-1,-2,-1)
  242. Campart3.CFrame=Flute.CFrame*CFrame.new(1.5,0,-1)*CFrame.Angles(0,1.8,3)
  243. if camphase==0 then
  244. if camtime<20+math.random(-2,2) then
  245. CAM.CFrame=Campart1.CFrame
  246. camtime=camtime+1
  247. else
  248. camtime=0
  249. camphase=camphase+1
  250. end
  251. elseif camphase==1 then
  252. if camtime<40+math.random(-8,12) then
  253. CAM.CFrame=Campart2.CFrame
  254. camtime=camtime+1
  255. else
  256. camtime=0
  257. camphase=camphase+1
  258. end
  259. elseif camphase==2 then
  260. if camtime<50+math.random(-2,5) then
  261. CAM.CFrame=Campart3.CFrame
  262. camtime=camtime+1
  263. else
  264. camtime=0
  265. camphase=camphase+1
  266. end
  267.  
  268. elseif camphase==3 then
  269. camphase=0
  270. end
  271.  
  272.  
  273. end
  274. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement