Advertisement
Mediakiller7Cool

Hahahs24

Apr 20th, 2019
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.92 KB | None | 0 0
  1. warn("Made by Subaru112")
  2.  
  3. Mouse = game:GetService("Players").Mediakiller7:GetMouse()
  4.  
  5. ArtificialHB = Instance.new("BindableEvent", script)
  6. ArtificialHB.Name = "Heartbeat"
  7. script:WaitForChild("Heartbeat")
  8. frame = 0.03333333333333
  9. tf = 0
  10. allowframeloss = false
  11. tossremainder = false
  12. lastframe = tick()
  13. script.Heartbeat:Fire()
  14. game:GetService("RunService").Heartbeat:connect(function(s, p)
  15. tf = tf + s
  16. if tf >= frame then
  17. if allowframeloss then
  18. script.Heartbeat:Fire()
  19. lastframe = tick()
  20. else
  21. for i = 1, math.floor(tf / frame) do
  22. script.Heartbeat:Fire()
  23. end
  24. lastframe = tick()
  25. end
  26. if tossremainder then
  27. tf = 0
  28. else
  29. tf = tf - frame * math.floor(tf / frame)
  30. end
  31. end
  32. end)
  33.  
  34. function swait(num)
  35. if num == 0 or num == nil then
  36. ArtificialHB.Event:wait()
  37. else
  38. for i = 0, num do
  39. ArtificialHB.Event:wait()
  40. end
  41. end
  42. end
  43.  
  44.  
  45. function rayCast(Position, Direction, Range, Ignore)
  46. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  47. end
  48.  
  49. local sine = 0
  50. local change = 1
  51.  
  52. --Effect Functions--
  53. Effects = {
  54.  
  55. Block = function(cf,partsize,meshstart,meshadd,matr,colour,spin,inverse,factor)
  56. local p = Instance.new("Part",EffectModel)
  57. p.BrickColor = BrickColor.new(colour)
  58. p.Size = partsize
  59. p.Anchored = true
  60. p.CanCollide = false
  61. p.Material = matr
  62. p.CFrame = cf
  63. if inverse == true then
  64. p.Transparency = 1
  65. else
  66. p.Transparency = 0
  67. end
  68. local m = Instance.new("BlockMesh",p)
  69. m.Scale = meshstart
  70. coroutine.wrap(function()
  71. for i=0,1,factor do
  72. swait()
  73. if inverse == true then
  74. p.Transparency = 1-i
  75. else
  76. p.Transparency = i
  77. end
  78. m.Scale = m.Scale + meshadd
  79. if spin == true then
  80. p.CFrame = p.CFrame * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  81. end
  82. end
  83. p:Destroy()
  84. end)()
  85. return p
  86. end,
  87.  
  88. Sphere = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
  89. local p = Instance.new("Part",EffectModel)
  90. p.BrickColor = BrickColor.new(colour)
  91. p.Size = partsize
  92. p.Anchored = true
  93. p.CanCollide = false
  94. p.Material = matr
  95. p.CFrame = cf
  96. if inverse == true then
  97. p.Transparency = 1
  98. else
  99. p.Transparency = 0
  100. end
  101. local m = Instance.new("SpecialMesh",p)
  102. m.MeshType = "Sphere"
  103. m.Scale = meshstart
  104. coroutine.wrap(function()
  105. for i=0,1,factor do
  106. swait()
  107. if inverse == true then
  108. p.Transparency = 1-i
  109. else
  110. p.Transparency = i
  111. end
  112. m.Scale = m.Scale + meshadd
  113. end
  114. p:Destroy()
  115. end)()
  116. return p
  117. end,
  118.  
  119. Cylinder = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
  120. local p = Instance.new("Part",EffectModel)
  121. p.BrickColor = BrickColor.new(colour)
  122. p.Size = partsize
  123. p.Anchored = true
  124. p.CanCollide = false
  125. p.Material = matr
  126. p.CFrame = cf
  127. if inverse == true then
  128. p.Transparency = 1
  129. else
  130. p.Transparency = 0
  131. end
  132. local m = Instance.new("CylinderMesh",p)
  133. m.Scale = meshstart
  134. coroutine.wrap(function()
  135. for i=0,1,factor do
  136. swait()
  137. if inverse == true then
  138. p.Transparency = 1-i
  139. else
  140. p.Transparency = i
  141. end
  142. m.Scale = m.Scale + meshadd
  143. end
  144. p:Destroy()
  145. end)()
  146. return p
  147. end,
  148.  
  149. Wave = function(cf,meshstart,meshadd,colour,spin,inverse,factor)
  150. local p = Instance.new("Part",EffectModel)
  151. p.BrickColor = BrickColor.new(colour)
  152. p.Size = Vector3.new()
  153. p.Anchored = true
  154. p.CanCollide = false
  155. p.CFrame = cf
  156. if inverse == true then
  157. p.Transparency = 1
  158. else
  159. p.Transparency = 0
  160. end
  161. local m = Instance.new("SpecialMesh",p)
  162. m.MeshId = "rbxassetid://20329976"
  163. m.Scale = meshstart
  164. coroutine.wrap(function()
  165. for i=0,1,factor do
  166. swait()
  167. if inverse == true then
  168. p.Transparency = 1-i
  169. else
  170. p.Transparency = i
  171. end
  172. m.Scale = m.Scale + meshadd
  173. p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
  174. end
  175. p:Destroy()
  176. end)()
  177. return p
  178. end,
  179.  
  180. Ring = function(cf,meshstart,meshadd,colour,inverse,factor)
  181. local p = Instance.new("Part",EffectModel)
  182. p.BrickColor = BrickColor.new(colour)
  183. p.Size = Vector3.new()
  184. p.Anchored = true
  185. p.CanCollide = false
  186. p.CFrame = cf
  187. if inverse == true then
  188. p.Transparency = 1
  189. else
  190. p.Transparency = 0
  191. end
  192. local m = Instance.new("SpecialMesh",p)
  193. m.MeshId = "rbxassetid://3270017"
  194. m.Scale = meshstart
  195. coroutine.wrap(function()
  196. for i=0,1,factor do
  197. swait()
  198. if inverse == true then
  199. p.Transparency = 1-i
  200. else
  201. p.Transparency = i
  202. end
  203. m.Scale = m.Scale + meshadd
  204. end
  205. p:Destroy()
  206. end)()
  207. return p
  208. end,
  209.  
  210. Meshed = function(cf,meshstart,meshadd,colour,meshid,textid,spin,inverse,factor)
  211. local p = Instance.new("Part",EffectModel)
  212. p.BrickColor = BrickColor.new(colour)
  213. p.Size = Vector3.new()
  214. p.Anchored = true
  215. p.CanCollide = false
  216. p.CFrame = cf
  217. if inverse == true then
  218. p.Transparency = 1
  219. else
  220. p.Transparency = 0
  221. end
  222. local m = Instance.new("SpecialMesh",p)
  223. m.MeshId = meshid
  224. m.TextureId = textid
  225. m.Scale = meshstart
  226. coroutine.wrap(function()
  227. for i=0,1,factor do
  228. swait()
  229. if inverse == true then
  230. p.Transparency = 1-i
  231. else
  232. p.Transparency = i
  233. end
  234. m.Scale = m.Scale + meshadd
  235. p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
  236. end
  237. p:Destroy()
  238. end)()
  239. return p
  240. end,
  241.  
  242. Explode = function(cf,partsize,meshstart,meshadd,matr,colour,move,inverse,factor)
  243. local p = Instance.new("Part",EffectModel)
  244. p.BrickColor = BrickColor.new(colour)
  245. p.Size = partsize
  246. p.Anchored = true
  247. p.CanCollide = false
  248. p.Material = matr
  249. p.CFrame = cf * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  250. if inverse == true then
  251. p.Transparency = 1
  252. else
  253. p.Transparency = 0
  254. end
  255. local m = Instance.new("SpecialMesh",p)
  256. m.MeshType = "Sphere"
  257. m.Scale = meshstart
  258. coroutine.wrap(function()
  259. for i=0,1,factor do
  260. swait()
  261. if inverse == true then
  262. p.Transparency = 1-i
  263. else
  264. p.Transparency = i
  265. end
  266. m.Scale = m.Scale + meshadd
  267. p.CFrame = p.CFrame * CFrame.new(0,move,0)
  268. end
  269. p:Destroy()
  270. end)()
  271. return p
  272. end,
  273.  
  274. }
  275.  
  276. function GetDudesTorso(c)
  277. local torsy = (c:findFirstChild("Torso") or c:findFirstChild("UpperTorso"))
  278. if torsy ~= nil then
  279. return torsy
  280. end
  281. end
  282.  
  283. local plr = game:GetService("Players").Mediakiller7
  284. local char = plr.Character
  285. local chara = plr.Character
  286. local RootPart = chara.HumanoidRootPart
  287. local RootJoint = RootPart.RootJoint
  288. local Create = LoadLibrary("RbxUtility").Create
  289. local debby = game:GetService("Debris")
  290.  
  291. EffectModel = Create("Model"){
  292. Parent = chara,
  293. Name = "Effects",
  294. }
  295.  
  296. function so(id,par,pit,vol)
  297. if par == chara then
  298.  
  299. end
  300.  
  301. end
  302.  
  303. local Humanoid = char:FindFirstChildOfClass("Humanoid")
  304.  
  305. local Torso,Head,LeftArm,RightArm,LeftLeg,RightLeg,Root = char.Torso,char.Head,char["Left Arm"],char["Right Arm"],char["Left Leg"],char["Right Leg"],char.HumanoidRootPart
  306.  
  307. local neck,RH,LH,rootj,RS,LS = Torso.Neck,Torso["Right Hip"],Torso["Left Hip"],Root.RootJoint,Torso["Right Shoulder"],Torso["Left Shoulder"]
  308.  
  309. local rootjn,neckn,RHn,LHn,LSn,RSn = rootj.C0,neck.C0,RH.C0,LH.C0,LS.C0,RS.C0
  310.  
  311. local mus = Instance.new("Sound",char)
  312. local timepos = nil
  313.  
  314. Humanoid.WalkSpeed = 16
  315. Humanoid.Animator.Parent = nil
  316. chara.Animate.Parent = nil
  317.  
  318. local attack = false
  319. local Anim = 'Idle'
  320. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  321. local velocity = RootPart.Velocity.y
  322.  
  323. local newMotor = function(part0, part1, c0, c1)
  324. local w = Create('Motor'){
  325. Parent = part0,
  326. Part0 = part0,
  327. Part1 = part1,
  328. C0 = c0,
  329. C1 = c1,
  330. }
  331. return w
  332. end
  333.  
  334. function clerp(a, b, t)
  335. return a:lerp(b, t)
  336. end
  337.  
  338. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  339. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  340.  
  341. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  342. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  343. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  344. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  345. local FT = newMotor(Torso, FlameThrower.DoomW, CFrame.new(-0.845115662, -1.07144165, -0.53030777, -0.866025388, -0.249999985, 0.433012724, -0.5, 0.433012664, -0.75, 0, -0.866025448, -0.49999997), CFrame.new(0, 0, 0))
  346. RootJoint.C1 = CFrame.new(0, 0, 0)
  347. RootJoint.C0 = CFrame.new(0, 0, 0)
  348. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  349. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  350.  
  351. local rarmc1 = RW.C1
  352. local larmc1 = LW.C1
  353. local rlegc1 = RH.C1
  354. local llegc1 = LH.C1
  355.  
  356. local resetc1 = false
  357.  
  358. function PlayAnimationFromTable(table, speed, bool)
  359. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  360. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  361. RW.C0 = clerp(RW.C0, table[3], speed)
  362. LW.C0 = clerp(LW.C0, table[4], speed)
  363. RH.C0 = clerp(RH.C0, table[5], speed)
  364. LH.C0 = clerp(LH.C0, table[6], speed)
  365. FT.C0 = clerp(FT.C0, table[7], speed)
  366. if bool == true then
  367. if resetc1 == false then
  368. resetc1 = true
  369. RootJoint.C1 = RootJoint.C1
  370. Torso.Neck.C1 = Torso.Neck.C1
  371. RW.C1 = rarmc1
  372. LW.C1 = larmc1
  373. RH.C1 = rlegc1
  374. LH.C1 = llegc1
  375. end
  376. end
  377. end
  378.  
  379. function Dmg(dude)
  380. if dude and dude ~= chara and dude.Name ~= "CKbackup" then
  381. coroutine.wrap(function()
  382. local torsy = GetDudesTorso(dude)
  383. if torsy then
  384. coroutine.wrap(function()
  385. swait(20)
  386. for i=0,1,.05 do
  387. swait()
  388. end
  389. end)()
  390. end
  391.  
  392. local enemy = dude:FindFirstChildOfClass("Humanoid")
  393. enemy.Health = enemy.Health - 10
  394.  
  395.  
  396. coroutine.wrap(function()
  397. swait(40)
  398. local naeeym2 = Instance.new("BillboardGui")
  399. naeeym2.Size = UDim2.new(0,100,0,40)
  400. naeeym2.StudsOffset = Vector3.new(0,3,0)
  401. naeeym2.Adornee = dude:FindFirstChild("Head")
  402. naeeym2.Name = "TalkingBillBoard"
  403. local tecks2 = Instance.new("TextLabel",naeeym2)
  404. tecks2.BackgroundTransparency = 1
  405. tecks2.BorderSizePixel = 0
  406. tecks2.Text = "OOF"
  407. tecks2.Font = "Cartoon"
  408. tecks2.TextSize = 24
  409. tecks2.TextStrokeTransparency = 0
  410. tecks2.TextColor3 = Color3.new(1,.6,.7)
  411. tecks2.TextStrokeColor3 = Color3.new(1,1,1)
  412. tecks2.Size = UDim2.new(1,0,0.5,0)
  413. swait(10)
  414. for i = 0,1,.05 do
  415. swait()
  416. tecks2.Position = tecks2.Position - UDim2.new(0,0,.005,0)
  417. tecks2.TextStrokeTransparency = i
  418. tecks2.TextTransparency = i
  419. end
  420. naeeym2:Destroy()
  421. end)()
  422. end)()
  423. end
  424. end
  425.  
  426. function MagnitudeDmg(par,magni)
  427. for _, c in pairs(workspace:GetDescendants()) do
  428. local hum = c:FindFirstChildOfClass("Humanoid")
  429. if hum ~= nil and c:FindFirstChild("IsTeamMateOfCK")==nil then
  430. local head = GetDudesTorso(c)
  431. if head ~= nil then
  432. local targ = head.Position - par.Position
  433. local mag = targ.magnitude
  434. if magni >= mag and c ~= chara then
  435. Dmg(c)
  436. end
  437. end
  438. end
  439. end
  440. end
  441.  
  442. hold = false
  443.  
  444. Mouse.Button1Down:connect(function()
  445. hold = true
  446. shoot()
  447. end)
  448.  
  449. Mouse.Button1Up:connect(function()
  450. hold = false
  451. end)
  452.  
  453. function shoot()
  454. attack = true
  455. Humanoid.WalkSpeed = 2
  456. attack = false
  457. end
  458.  
  459. while game:GetService("RunService").Heartbeat:Wait() do
  460. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  461. velocity = RootPart.Velocity.y
  462. sine = sine + change
  463. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, chara)
  464. if RootPart.Velocity.y > 1 and hit == nil then
  465. Anim = "Jump"
  466. if attack == false then
  467. PlayAnimationFromTable({
  468. CFrame.new(0, 0.0382082276, -0.0403150208, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849),
  469. CFrame.new(0, 1.46579528, 0.0939689279, 1, 0, 0, 0, 0.939692855, -0.342019796, 0, 0.342019796, 0.939692855),
  470. CFrame.new(1.20945489, -0.213504896, 3.55388607e-07, 0.939692736, 0.342019916, 1.53461215e-07, -0.342019945, 0.939692736, 1.93715096e-07, -8.56816769e-08, -2.23517418e-07, 1.00000012),
  471. CFrame.new(-1.20945573, -0.213503733, 5.0439985e-07, 0.939692736, -0.342019916, -1.53461215e-07, 0.342019945, 0.939692736, 1.93715096e-07, 8.56816769e-08, -2.23517418e-07, 1.00000012),
  472. CFrame.new(0.5, -1.99739456, -0.0180913229, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012),
  473. CFrame.new(-0.5, -1.30000103, -0.39999947, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676),
  474. CFrame.new(-0.845115662, -1.07144165, -0.53030777, -0.866025388, -0.249999985, 0.433012724, -0.5, 0.433012664, -0.75, 0, -0.866025448, -0.49999997),
  475. }, .3, false)
  476. end
  477. elseif RootPart.Velocity.y < -1 and hit == nil then
  478. Anim = "Fall"
  479. if attack == false then
  480. PlayAnimationFromTable({
  481. CFrame.new(0, -0.0646628663, 0.0399149321, 1, 0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849),
  482. CFrame.new(0, 1.4913609, -0.128171027, 1, 0, 0, 0, 0.939692855, 0.342019796, 0, -0.342019796, 0.939692855),
  483. CFrame.new(1.55285025, 0.466259956, -9.26282269e-08, 0.766043842, -0.642788351, -6.46188241e-08, 0.642788291, 0.766043961, -7.4505806e-08, 1.04308128e-07, 1.49011612e-08, 1.00000012),
  484. CFrame.new(-1.5605253, 0.475036323, -2.10609159e-07, 0.766043842, 0.642788351, 6.46188241e-08, -0.642788291, 0.766043961, -7.4505806e-08, -1.04308128e-07, 1.49011612e-08, 1.00000012),
  485. CFrame.new(0.500000954, -1.9973948, -0.0180922765, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012),
  486. CFrame.new(-0.499999046, -1.30000043, -0.400000483, 1, 0, 0, 0, 0.939692855, 0.342019796, 0, -0.342019796, 0.939692855),
  487. CFrame.new(-0.845115662, -1.07144165, -0.53030777, -0.866025388, -0.249999985, 0.433012724, -0.5, 0.433012664, -0.75, 0, -0.866025448, -0.49999997),
  488. }, .3, false)
  489. end
  490. elseif Torsovelocity < 1 and hit ~= nil then
  491. Anim = "Idle"
  492. if attack == false then
  493. change = 1
  494. PlayAnimationFromTable({
  495. CFrame.new(-0.0769465268, -7.7815578e-08, -0.031559173, 0.939695537, 1.01607293e-06, 0.342021346, 7.9855522e-07, 1.00000191, 5.12654879e-07, -0.342019558, 2.16066837e-07, 0.939692855) * CFrame.new(0,.05 * math.cos((sine)/10), 0),
  496. CFrame.new(0.0615186803, 1.4999913, 0.0559706129, 0.939695537, 7.9855522e-07, -0.342019558, 1.01607293e-06, 1.00000191, 2.16066837e-07, 0.342021346, 5.12654879e-07, 0.939692855),
  497. CFrame.new(1.2267952, 0.283012867, -0.709815979, 0.866025388, 0.5, 0, -0.249999985, 0.433012664, -0.866025448, -0.433012724, 0.75, 0.49999997) * CFrame.new(0,-.05 * math.cos((sine)/5), 0),
  498. CFrame.new(-1.12679291, 0.172679424, -0.727638245, 0.866025388, -0.5, 0, 0.321393758, 0.556670308, -0.766044497, 0.383022249, 0.663414001, 0.642787516) * CFrame.new(0,-.05 * math.cos((sine)/5), 0),
  499. CFrame.new(0.5, -2, 0, 0.984807789, 0, -0.17364797, 0, 1, 0, 0.17364797, 0, 0.984807789) * CFrame.new(0,-.05 * math.cos((sine)/10), 0),
  500. CFrame.new(-0.5, -2, 0, 0.98480773, 0, 0.173648179, 0, 1, 0, -0.173648179, 0, 0.98480773) * CFrame.new(0,-.05 * math.cos((sine)/10), 0),
  501. CFrame.new(-0.845115662, -1.07144165, -0.53030777, -0.866025388, -0.249999985, 0.433012724, -0.5, 0.433012664, -0.75, 0, -0.866025448, -0.49999997),
  502. }, .3, false)
  503. end
  504. elseif Torsovelocity > 2 and hit ~= nil then
  505. Anim = "Walk"
  506. if attack == false then
  507. Humanoid.WalkSpeed = 25
  508. PlayAnimationFromTable({
  509. CFrame.new(0, 0, 0, 1, 9.17673447e-07, -8.02856235e-08, 8.89790499e-07, 0.984808445, 0.173649818, -2.38418238e-07, -0.173646539, 0.984807014) * CFrame.new(0, 0- .08 * math.cos((sine) / 2.5), 0) * CFrame.Angles(0, 0, 0),
  510. CFrame.new(0, 1.50000191, 1.52587891e-05, 1, 2.66937332e-06, -7.15249428e-07, 2.75302136e-06, 0.984809875, -0.173643038, -2.40851961e-07, 0.173652872, 0.984805584),
  511. CFrame.new(1.2267952, 0.283012867, -0.709815979, 0.866025388, 0.5, 0, -0.249999985, 0.433012664, -0.866025448, -0.433012724, 0.75, 0.49999997),
  512. CFrame.new(-1.12679291, 0.172679424, -0.727638245, 0.866025388, -0.5, 0, 0.321393758, 0.556670308, -0.766044497, 0.383022249, 0.663414001, 0.642787516),
  513. CFrame.new(0.5, -1.9652729, -0.196968079, 0.99999994, 2.70645933e-06, -5.04924287e-07, 2.75569232e-06, 0.984809816, -0.173643261, -4.67347405e-07, 0.173653096, 0.984805524) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 5)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 5)), 0, 0),
  514. CFrame.new(-0.5, -1.96527576, -0.196968079, 1, 2.70645933e-06, -5.04924287e-07, 2.75569232e-06, 0.984809816, -0.173643261, -4.67347434e-07, 0.173653096, 0.984805524) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 5)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 5)), 0, 0),
  515. CFrame.new(-0.845115662, -1.07144165, -0.53030777, -0.866025388, -0.249999985, 0.433012724, -0.5, 0.433012664, -0.75, 0, -0.866025448, -0.49999997),
  516. }, .3, false)
  517. end
  518. end
  519.  
  520. if mus.Parent == char then
  521. mus.SoundId = "rbxassetid://153381341"
  522. mus.Volume = 1
  523. mus.Pitch = 1
  524. mus.Playing = true
  525. mus.Looped = true
  526. timepos = mus.TimePosition
  527. else
  528. mus = Instance.new("Sound",char)
  529. mus.TimePosition = timepos
  530. end
  531. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement