Advertisement
PR0J3CT11

Untitled

Jul 8th, 2019
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --By idk
  2. NLS([[
  3. local localplayer = game:GetService("Players").LocalPlayer
  4. local event = localplayer.Character:WaitForChild("bruhevent")
  5. local music = localplayer.Character.Head:WaitForChild("bruhmusic")
  6. print("local loaded successfully lol")
  7. local mouse = localplayer:GetMouse()
  8. function sendloudness()
  9.     event:FireServer("loud", music.PlaybackLoudness)
  10.     workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame * CFrame.new((math.random(-1,1)/30) * music.PlaybackLoudness/130,((math.random(-1,1)/30) * music.PlaybackLoudness/130),(math.random(-1,1)/30) * music.PlaybackLoudness/130)
  11.     workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame * CFrame.fromEulerAnglesXYZ(0,0,(math.random(-1,1)/30) * music.PlaybackLoudness/550)
  12. end
  13. function keypresses(key)
  14.     key = key:lower()
  15.     if key == "q" then
  16.         event:FireServer("musicchange")
  17.     elseif key == "e" then
  18.         event:FireServer("bruh")
  19.     end
  20. end
  21. mouse.KeyDown:connect(keypresses)
  22. game:GetService("RunService").RenderStepped:connect(sendloudness)
  23. ]], owner.Character)
  24. local bruhevent = Instance.new("RemoteEvent", owner.Character)
  25. bruhevent.Name = "bruhevent"
  26. animation = "stand"
  27. cananimate = true
  28. heartbeat = game:GetService("RunService").Heartbeat
  29. local rightarm = Instance.new("Weld", owner.Character.Torso)
  30. rightarm.Part0 = owner.Character.Torso
  31. rightarm.Part1 = owner.Character["Right Arm"]
  32. rightarm.C0 = CFrame.new(1.5,0,0)
  33. rightarm.Name = "RightArmWeld"
  34. local rightleg = Instance.new("Weld", owner.Character.Torso)
  35. rightleg.Part0 = owner.Character.Torso
  36. rightleg.Part1 = owner.Character["Right Leg"]
  37. rightleg.C0 = CFrame.new(0.5,-2,0)
  38. rightleg.Name = "RightLegWeld"
  39. local leftarm = Instance.new("Weld", owner.Character.Torso)
  40. leftarm.Part0 = owner.Character.Torso
  41. leftarm.Part1 = owner.Character["Left Arm"]
  42. leftarm.C0 = CFrame.new(-1.5,0,0)
  43. leftarm.Name = "LeftArmWeld"
  44. local leftleg = Instance.new("Weld", owner.Character.Torso)
  45. leftleg.Part0 = owner.Character.Torso
  46. leftleg.Part1 = owner.Character["Left Leg"]
  47. leftleg.C0 = CFrame.new(-0.5,-2,0)
  48. leftleg.Name = "LeftLegWeld"
  49. local head = Instance.new("Weld", owner.Character.Torso)
  50. head.Part0 = owner.Character.Torso
  51. head.Part1 = owner.Character.Head
  52. head.C0 = CFrame.new(0,1.5,0)
  53. head.Name = "HeadWeld"
  54. local humanoidrootpart = Instance.new("Weld", owner.Character.HumanoidRootPart)
  55. humanoidrootpart.Part0 = owner.Character.HumanoidRootPart
  56. humanoidrootpart.Part1 = owner.Character.Torso
  57. humanoidrootpart.Name = "HumanoidRootPartWeld"
  58. local bruhsound = Instance.new("Sound", owner.Character.Head)
  59. bruhsound.SoundId = "rbxassetid://3154962208"
  60. bruhsound.Volume = 2
  61. local music = Instance.new("Sound", owner.Character.Head)
  62. music.Name = "bruhmusic"
  63. music.SoundId = "rbxassetid://2717249487"
  64. music.Looped = true
  65. musicrandom = math.random(1,3)
  66. if musicrandom == 1 then
  67.     music.SoundId = "rbxassetid://741731843"
  68. end
  69. if musicrandom == 2 then
  70.     music.SoundId = "rbxassetid://3020745718"
  71. end
  72. if musicrandom == 3 then
  73.     music.SoundId = "rbxassetid://3167629310"
  74. end
  75. music.Volume = 3
  76. music:Play()
  77. musicpos = 0
  78. print("say ,music ID to change music,")
  79. print("press e to bru")
  80. function getevent(plr, what, message)
  81.     if plr == owner then
  82.         if what == "loud" then
  83.             if message > 180 then
  84.                 leftleg.C0 = CFrame.new(-0.746201515, -1.95658827, 0, 0.984807789, 0.173647955, 0, -0.173647955, 0.984807789, 0, 0, 0, 1)
  85.                 rightleg.C0 = CFrame.new(0.74620235, -1.95658827, 0, 0.984807789, -0.173647955, 0, 0.173647955, 0.984807789, 0, 0, 0, 1)
  86.                 leftarm.C0 = CFrame.new(-1.99999952, 0.499999523, 0, 0, 1, -0, -1, 0, 0, 0, 0, 1)
  87.                 rightarm.C0 = CFrame.new(2.00000048, 0.499999762, 0, 0, -1, 0, 1, 0, -0, 0, 0, 1)
  88.             else
  89.                 leftleg.C0 = CFrame.new(-0.5,-2,0)
  90.                 rightleg.C0 = CFrame.new(0.5,-2,0)
  91.                 leftarm.C0 = CFrame.new(-1.5,0,0)
  92.                 rightarm.C0 = CFrame.new(1.5,0,0)
  93.             end
  94.             humanoidrootpart.C0 = humanoidrootpart.C0 * CFrame.fromEulerAnglesXYZ((math.random(-1,1)/30) * message/50,((math.random(-1,1)/30) * message/50)*2,(math.random(-1,1)/30) * message/50)
  95.             humanoidrootpart.C0 = humanoidrootpart.C0 * CFrame.new((math.random(-1,1)/30) * message/70,((math.random(-1,1)/30) * message/70),(math.random(-1,1)/30) * message/70)
  96.         elseif what == "musicchange" then
  97.             musicpos = musicpos + 1
  98.             if musicpos > 4 then
  99.                 musicpos = 1
  100.             end
  101.             if musicpos == 1 then
  102.                 music.SoundId = "rbxassetid://2717249487"
  103.             elseif musicpos == 2 then
  104.                 music.SoundId = "rbxassetid://741731843"
  105.             elseif musicpos == 3 then
  106.                 music.SoundId = "rbxassetid://3020745718"
  107.             elseif musicpos == 4 then
  108.                 music.SoundId = "rbxassetid://3167629310"
  109.             end
  110.         elseif what == "bruh" then
  111.             bruhsound.TimePosition = 0.5
  112.             bruhsound:Play()
  113.         end
  114.     end
  115. end
  116. function chatid(message)
  117.     if string.sub(message,1,6) == ",music" then
  118.         music.SoundId = "rbxassetid://"..string.sub(message,8)
  119.     end
  120. end
  121. owner.Chatted:connect(chatid)
  122. bruhevent.OnServerEvent:connect(getevent)
  123. while heartbeat:wait() do
  124.     if animation == "stand" and cananimate then
  125.         for i = 0,0.37 , 0.02 do
  126.             if cananimate and animation == "stand" then
  127.                 humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0.5,0),i)
  128.                 heartbeat:wait()
  129.             end
  130.         end
  131.         for i = 0,0.37 , 0.02 do
  132.             if cananimate and animation == "stand" then
  133.                 humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,-0.5,0),i)
  134.                 heartbeat:wait()
  135.             end
  136.         end
  137.     end
  138. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement