Advertisement
lafur

Untitled

Mar 23rd, 2019
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.59 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player = owner
  3. ---[Funtions]---
  4. plr = owner
  5. char = plr.Character
  6. hum = char.Humanoid
  7. local cam = game.Workspace.CurrentCamera
  8. Camera = cam
  9. local CamInterrupt = false
  10. local TwoD = false
  11. local TargetInfo = {nil, nil}
  12. cam.CameraType = "Custom"
  13. t = char.Torso
  14. h = char.Head
  15. ra = char["Right Arm"]
  16. la = char["Left Arm"]
  17. rl = char["Right Leg"]
  18. ll = char["Left Leg"]
  19. tors = char.Torso
  20. lleg = char["Left Leg"]
  21. root = char.HumanoidRootPart
  22. hed = char.Head
  23. rleg = char["Right Leg"]
  24. rarm = char["Right Arm"]
  25. larm = char["Left Arm"]
  26. radian = math.rad
  27. random = math.random
  28. Vec3 = Vector3.new
  29. Inst = Instance.new
  30. cFrame = CFrame.new
  31. Euler = CFrame.fromEulerAnglesXYZ
  32. vt = Vector3.new
  33. bc = BrickColor.new
  34. br = BrickColor.random
  35. it = Instance.new
  36. cf = CFrame.new
  37. local snd = Instance.new("Sound",char)
  38. --Start of Script--
  39. snd.SoundId = "rbxassetid://1629805639" -- temp untill Owner Replaces
  40. snd.Volume = 1.25
  41. snd.TimePosition = 0
  42. snd.PlaybackSpeed = 1
  43. snd.Pitch = 1
  44. snd.Name = "Sound"
  45. snd.Looped = true
  46. snd:play()
  47.  
  48. local Theme = snd.SoundId
  49. local Pitch = snd.Pitch
  50. local vol = snd.Volume
  51. function ntheme(ID,timepos,pitch,vol)
  52. snd.Volume = vol
  53. snd.PlaybackSpeed = pitch
  54. snd.Pitch = pitch
  55. snd.SoundId = ID
  56. snd.Name = "Sound"
  57. snd.Looped = true
  58. themeplaying = snd.SoundId
  59. cvol = snd.Volume
  60. cpitch = snd.Pitch
  61. --snd:play()
  62. --coroutine.resume(coroutine.create(funtion()
  63. --wait()
  64. --end))
  65. end
  66.  
  67.  
  68. local bilgui = Instance.new("BillboardGui", hed)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement