Advertisement
Rufus14

bru

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