Advertisement
lafur

Untitled

May 27th, 2020
331
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 51.59 KB | None | 0 0
  1. -- Converted using Mokiros's Model to Script plugin
  2. -- Converted string size: 10711
  3. local genv={}
  4. local Scripts = {
  5. function() --Responsible for regening a player's humanoid's health
  6.  
  7. -- declarations
  8. local Figure = script.Parent
  9. local Head = Figure:WaitForChild("Head")
  10. local Humanoid;
  11. for _,Child in pairs(Figure:GetChildren())do
  12. if Child and Child.ClassName=="Humanoid"then
  13. Humanoid=Child;
  14. end;
  15. end;
  16. local regening = false
  17.  
  18. -- regeneration
  19. function regenHealth()
  20. if regening then return end
  21. regening = true
  22.  
  23. while Humanoid.Health < Humanoid.MaxHealth do
  24. local s = wait(1)
  25. local health = Humanoid.Health
  26. if health~=0 and health < Humanoid.MaxHealth then
  27. local newHealthDelta = 0.01 * s * Humanoid.MaxHealth
  28. health = health + newHealthDelta
  29. Humanoid.Health = math.min(health,Humanoid.MaxHealth)
  30. end
  31. end
  32.  
  33. if Humanoid.Health > Humanoid.MaxHealth then
  34. Humanoid.Health = Humanoid.MaxHealth
  35. end
  36.  
  37. regening = false
  38. end
  39.  
  40. Humanoid.HealthChanged:connect(regenHealth)
  41. end;
  42. function() function waitForChild(parent, childName)
  43. local child = parent:findFirstChild(childName)
  44. if child then return child end
  45. while true do
  46. child = parent.ChildAdded:wait()
  47. if child.Name==childName then return child end
  48. end
  49. end
  50. local Figure = script.Parent
  51. local Torso = waitForChild(Figure, "Torso")
  52. local RightShoulder = waitForChild(Torso, "Right Shoulder")
  53. local LeftShoulder = waitForChild(Torso, "Left Shoulder")
  54. local RightHip = waitForChild(Torso, "Right Hip")
  55. local LeftHip = waitForChild(Torso, "Left Hip")
  56. local Neck = waitForChild(Torso, "Neck")
  57. local Humanoid;
  58. for _,Child in pairs(Figure:GetChildren())do
  59. if Child and Child.ClassName=="Humanoid"then
  60. Humanoid=Child;
  61. end;
  62. end;
  63. local pose = "Standing"
  64. local currentAnim = ""
  65. local currentAnimInstance = nil
  66. local currentAnimTrack = nil
  67. local currentAnimKeyframeHandler = nil
  68. local currentAnimSpeed = 1.0
  69. local animTable = {}
  70. local animNames = {
  71. idle = {
  72. { id = "http://www.roblox.com/asset/?id=180435571", weight = 9 },
  73. { id = "http://www.roblox.com/asset/?id=180435792", weight = 1 }
  74. },
  75. walk = {
  76. { id = "http://www.roblox.com/asset/?id=180426354", weight = 10 }
  77. },
  78. run = {
  79. { id = "http://www.roblox.com/asset/?id=252557606", weight = 20 }
  80. },
  81. jump = {
  82. { id = "http://www.roblox.com/asset/?id=125750702", weight = 10 }
  83. },
  84. fall = {
  85. { id = "http://www.roblox.com/asset/?id=180436148", weight = 10 }
  86. },
  87. climb = {
  88. { id = "http://www.roblox.com/asset/?id=180436334", weight = 10 }
  89. },
  90. sit = {
  91. { id = "http://www.roblox.com/asset/?id=178130996", weight = 10 }
  92. },
  93. toolnone = {
  94. { id = "http://www.roblox.com/asset/?id=182393478", weight = 10 }
  95. },
  96. toolslash = {
  97. { id = "http://www.roblox.com/asset/?id=129967390", weight = 10 }
  98. --{ id = "slash.xml", weight = 10 }
  99. },
  100. toollunge = {
  101. { id = "http://www.roblox.com/asset/?id=129967478", weight = 10 }
  102. },
  103. wave = {
  104. { id = "http://www.roblox.com/asset/?id=128777973", weight = 10 }
  105. },
  106. point = {
  107. { id = "http://www.roblox.com/asset/?id=128853357", weight = 10 }
  108. },
  109. dance1 = {
  110. { id = "http://www.roblox.com/asset/?id=182435998", weight = 10 },
  111. { id = "http://www.roblox.com/asset/?id=182491037", weight = 10 },
  112. { id = "http://www.roblox.com/asset/?id=182491065", weight = 10 }
  113. },
  114. dance2 = {
  115. { id = "http://www.roblox.com/asset/?id=182436842", weight = 10 },
  116. { id = "http://www.roblox.com/asset/?id=182491248", weight = 10 },
  117. { id = "http://www.roblox.com/asset/?id=182491277", weight = 10 }
  118. },
  119. dance3 = {
  120. { id = "http://www.roblox.com/asset/?id=182436935", weight = 10 },
  121. { id = "http://www.roblox.com/asset/?id=182491368", weight = 10 },
  122. { id = "http://www.roblox.com/asset/?id=182491423", weight = 10 }
  123. },
  124. laugh = {
  125. { id = "http://www.roblox.com/asset/?id=129423131", weight = 10 }
  126. },
  127. cheer = {
  128. { id = "http://www.roblox.com/asset/?id=129423030", weight = 10 }
  129. },
  130. }
  131. local dances = {"dance1", "dance2", "dance3"}
  132.  
  133. -- Existance in this list signifies that it is an emote, the value indicates if it is a looping emote
  134. local emoteNames = { wave = false, point = false, dance1 = true, dance2 = true, dance3 = true, laugh = false, cheer = false}
  135.  
  136. function configureAnimationSet(name, fileList)
  137. if (animTable[name] ~= nil) then
  138. for _, connection in pairs(animTable[name].connections) do
  139. connection:disconnect()
  140. end
  141. end
  142. animTable[name] = {}
  143. animTable[name].count = 0
  144. animTable[name].totalWeight = 0
  145. animTable[name].connections = {}
  146.  
  147. -- check for config values
  148. local config = script:FindFirstChild(name)
  149. if (config ~= nil) then
  150. --print("Loading anims " .. name)
  151. table.insert(animTable[name].connections, config.ChildAdded:connect(function(child) configureAnimationSet(name, fileList) end))
  152. table.insert(animTable[name].connections, config.ChildRemoved:connect(function(child) configureAnimationSet(name, fileList) end))
  153. local idx = 1
  154. for _, childPart in pairs(config:GetChildren()) do
  155. if (childPart:IsA("Animation")) then
  156. table.insert(animTable[name].connections, childPart.Changed:connect(function(property) configureAnimationSet(name, fileList) end))
  157. animTable[name][idx] = {}
  158. animTable[name][idx].anim = childPart
  159. local weightObject = childPart:FindFirstChild("Weight")
  160. if (weightObject == nil) then
  161. animTable[name][idx].weight = 1
  162. else
  163. animTable[name][idx].weight = weightObject.Value
  164. end
  165. animTable[name].count = animTable[name].count + 1
  166. animTable[name].totalWeight = animTable[name].totalWeight + animTable[name][idx].weight
  167. --print(name .. " [" .. idx .. "] " .. animTable[name][idx].anim.AnimationId .. " (" .. animTable[name][idx].weight .. ")")
  168. idx = idx + 1
  169. end
  170. end
  171. end
  172.  
  173. -- fallback to defaults
  174. if (animTable[name].count <= 0) then
  175. for idx, anim in pairs(fileList) do
  176. animTable[name][idx] = {}
  177. animTable[name][idx].anim = Instance.new("Animation")
  178. animTable[name][idx].anim.Name = name
  179. animTable[name][idx].anim.AnimationId = anim.id
  180. animTable[name][idx].weight = anim.weight
  181. animTable[name].count = animTable[name].count + 1
  182. animTable[name].totalWeight = animTable[name].totalWeight + anim.weight
  183. --print(name .. " [" .. idx .. "] " .. anim.id .. " (" .. anim.weight .. ")")
  184. end
  185. end
  186. end
  187.  
  188. -- Setup animation objects
  189. function scriptChildModified(child)
  190. local fileList = animNames[child.Name]
  191. if (fileList ~= nil) then
  192. configureAnimationSet(child.Name, fileList)
  193. end
  194. end
  195.  
  196. script.ChildAdded:connect(scriptChildModified)
  197. script.ChildRemoved:connect(scriptChildModified)
  198.  
  199.  
  200. for name, fileList in pairs(animNames) do
  201. configureAnimationSet(name, fileList)
  202. end
  203.  
  204. -- ANIMATION
  205.  
  206. -- declarations
  207. local toolAnim = "None"
  208. local toolAnimTime = 0
  209.  
  210. local jumpAnimTime = 0
  211. local jumpAnimDuration = 0.3
  212.  
  213. local toolTransitionTime = 0.1
  214. local fallTransitionTime = 0.3
  215. local jumpMaxLimbVelocity = 0.75
  216.  
  217. -- functions
  218.  
  219. function stopAllAnimations()
  220. local oldAnim = currentAnim
  221.  
  222. -- return to idle if finishing an emote
  223. if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then
  224. oldAnim = "idle"
  225. end
  226.  
  227. currentAnim = ""
  228. currentAnimInstance = nil
  229. if (currentAnimKeyframeHandler ~= nil) then
  230. currentAnimKeyframeHandler:disconnect()
  231. end
  232.  
  233. if (currentAnimTrack ~= nil) then
  234. currentAnimTrack:Stop()
  235. currentAnimTrack:Destroy()
  236. currentAnimTrack = nil
  237. end
  238. return oldAnim
  239. end
  240.  
  241. function setAnimationSpeed(speed)
  242. if speed ~= currentAnimSpeed then
  243. currentAnimSpeed = speed
  244. currentAnimTrack:AdjustSpeed(currentAnimSpeed)
  245. end
  246. end
  247.  
  248. function keyFrameReachedFunc(frameName)
  249. if (frameName == "End") then
  250.  
  251. local repeatAnim = currentAnim
  252. -- return to idle if finishing an emote
  253. if (emoteNames[repeatAnim] ~= nil and emoteNames[repeatAnim] == false) then
  254. repeatAnim = "idle"
  255. end
  256.  
  257. local animSpeed = currentAnimSpeed
  258. playAnimation(repeatAnim, 0.0, Humanoid)
  259. setAnimationSpeed(animSpeed)
  260. end
  261. end
  262.  
  263. -- Preload animations
  264. function playAnimation(animName, transitionTime, humanoid)
  265.  
  266. local roll = math.random(1, animTable[animName].totalWeight)
  267. local origRoll = roll
  268. local idx = 1
  269. while (roll > animTable[animName][idx].weight) do
  270. roll = roll - animTable[animName][idx].weight
  271. idx = idx + 1
  272. end
  273. --print(animName .. " " .. idx .. " [" .. origRoll .. "]")
  274. local anim = animTable[animName][idx].anim
  275. -- switch animation
  276. if (anim ~= currentAnimInstance) then
  277. if (currentAnimTrack ~= nil) then
  278. currentAnimTrack:Stop(transitionTime)
  279. currentAnimTrack:Destroy()
  280. end
  281. currentAnimSpeed = 1.0
  282. -- load it to the humanoid; get AnimationTrack
  283. currentAnimTrack = humanoid:LoadAnimation(anim)
  284. -- play the animation
  285. currentAnimTrack:Play(transitionTime)
  286. currentAnim = animName
  287. currentAnimInstance = anim
  288. -- set up keyframe name triggers
  289. if (currentAnimKeyframeHandler ~= nil) then
  290. currentAnimKeyframeHandler:disconnect()
  291. end
  292. currentAnimKeyframeHandler = currentAnimTrack.KeyframeReached:connect(keyFrameReachedFunc)
  293. end
  294. end
  295. -------------------------------------------------------------------------------------------
  296. -------------------------------------------------------------------------------------------
  297. local toolAnimName = ""
  298. local toolAnimTrack = nil
  299. local toolAnimInstance = nil
  300. local currentToolAnimKeyframeHandler = nil
  301. function toolKeyFrameReachedFunc(frameName)
  302. if (frameName == "End") then
  303. --print("Keyframe : ".. frameName)
  304. playToolAnimation(toolAnimName, 0.0, Humanoid)
  305. end
  306. end
  307. function playToolAnimation(animName, transitionTime, humanoid)
  308. local roll = math.random(1, animTable[animName].totalWeight)
  309. local origRoll = roll
  310. local idx = 1
  311. while (roll > animTable[animName][idx].weight) do
  312. roll = roll - animTable[animName][idx].weight
  313. idx = idx + 1
  314. end
  315. --print(animName .. " * " .. idx .. " [" .. origRoll .. "]")
  316. local anim = animTable[animName][idx].anim
  317. if (toolAnimInstance ~= anim) then
  318. if (toolAnimTrack ~= nil) then
  319. toolAnimTrack:Stop()
  320. toolAnimTrack:Destroy()
  321. transitionTime = 0
  322. end
  323. -- load it to the humanoid; get AnimationTrack
  324. toolAnimTrack = humanoid:LoadAnimation(anim)
  325. -- play the animation
  326. toolAnimTrack:Play(transitionTime)
  327. toolAnimName = animName
  328. toolAnimInstance = anim
  329. currentToolAnimKeyframeHandler = toolAnimTrack.KeyframeReached:connect(toolKeyFrameReachedFunc)
  330. end
  331. end
  332. function stopToolAnimations()
  333. local oldAnim = toolAnimName
  334. if (currentToolAnimKeyframeHandler ~= nil) then
  335. currentToolAnimKeyframeHandler:disconnect()
  336. end
  337. toolAnimName = ""
  338. toolAnimInstance = nil
  339. if (toolAnimTrack ~= nil) then
  340. toolAnimTrack:Stop()
  341. toolAnimTrack:Destroy()
  342. toolAnimTrack = nil
  343. end
  344. return oldAnim
  345. end
  346. -------------------------------------------------------------------------------------------
  347. -------------------------------------------------------------------------------------------
  348. function onRunning(speed)
  349. if speed>0.01 then
  350. if Figure and Humanoid and Humanoid.WalkSpeed<17 then
  351. playAnimation("walk", 0.1, Humanoid);
  352. elseif Figure and Humanoid and Humanoid.WalkSpeed>17 then
  353. playAnimation("run", 0.1, Humanoid);
  354. end;
  355. if currentAnimInstance and currentAnimInstance.AnimationId == "http://www.roblox.com/asset/?id=180426354" then
  356. setAnimationSpeed(speed / 14.5)
  357. end
  358. pose = "Running"
  359. else
  360. playAnimation("idle", 0.1, Humanoid)
  361. pose = "Standing"
  362. end
  363. end
  364. function onDied()
  365. pose = "Dead"
  366. end
  367. function onJumping()
  368. playAnimation("jump", 0.1, Humanoid)
  369. jumpAnimTime = jumpAnimDuration
  370. pose = "Jumping"
  371. end
  372. function onClimbing(speed)
  373. playAnimation("climb", 0.1, Humanoid)
  374. setAnimationSpeed(speed / 12.0)
  375. pose = "Climbing"
  376. end
  377. function onGettingUp()
  378. pose = "GettingUp"
  379. end
  380. function onFreeFall()
  381. if (jumpAnimTime <= 0) then
  382. playAnimation("fall", fallTransitionTime, Humanoid)
  383. end
  384. pose = "FreeFall"
  385. end
  386. function onFallingDown()
  387. pose = "FallingDown"
  388. end
  389. function onSeated()
  390. pose = "Seated"
  391. end
  392. function onPlatformStanding()
  393. pose = "PlatformStanding"
  394. end
  395. function onSwimming(speed)
  396. if speed>0 then
  397. pose = "Running"
  398. else
  399. pose = "Standing"
  400. end
  401. end
  402.  
  403. function getTool()
  404. for _, kid in ipairs(Figure:GetChildren()) do
  405. if kid.className == "Tool" then return kid end
  406. end
  407. return nil
  408. end
  409.  
  410. function getToolAnim(tool)
  411. for _, c in ipairs(tool:GetChildren()) do
  412. if c.Name == "toolanim" and c.className == "StringValue" then
  413. return c
  414. end
  415. end
  416. return nil
  417. end
  418.  
  419. function animateTool()
  420.  
  421. if (toolAnim == "None") then
  422. playToolAnimation("toolnone", toolTransitionTime, Humanoid)
  423. return
  424. end
  425.  
  426. if (toolAnim == "Slash") then
  427. playToolAnimation("toolslash", 0, Humanoid)
  428. return
  429. end
  430.  
  431. if (toolAnim == "Lunge") then
  432. playToolAnimation("toollunge", 0, Humanoid)
  433. return
  434. end
  435. end
  436.  
  437. function moveSit()
  438. RightShoulder.MaxVelocity = 0.15
  439. LeftShoulder.MaxVelocity = 0.15
  440. RightShoulder:SetDesiredAngle(3.14 /2)
  441. LeftShoulder:SetDesiredAngle(-3.14 /2)
  442. RightHip:SetDesiredAngle(3.14 /2)
  443. LeftHip:SetDesiredAngle(-3.14 /2)
  444. end
  445.  
  446. local lastTick = 0
  447.  
  448. function move(time)
  449. local amplitude = 1
  450. local frequency = 1
  451. local deltaTime = time - lastTick
  452. lastTick = time
  453.  
  454. local climbFudge = 0
  455. local setAngles = false
  456.  
  457. if (jumpAnimTime > 0) then
  458. jumpAnimTime = jumpAnimTime - deltaTime
  459. end
  460.  
  461. if (pose == "FreeFall" and jumpAnimTime <= 0) then
  462. playAnimation("fall", fallTransitionTime, Humanoid)
  463. elseif (pose == "Seated") then
  464. playAnimation("sit", 0.5, Humanoid)
  465. return
  466. elseif (pose == "Running") then
  467. if Figure and Humanoid and Humanoid.WalkSpeed<17 then
  468. playAnimation("walk", 0.1, Humanoid);
  469. elseif Figure and Humanoid and Humanoid.WalkSpeed>17 then
  470. playAnimation("run", 0.1, Humanoid);
  471. end;
  472. elseif (pose == "Dead" or pose == "GettingUp" or pose == "FallingDown" or pose == "Seated" or pose == "PlatformStanding") then
  473. stopAllAnimations()
  474. amplitude = 0.1
  475. frequency = 1
  476. setAngles = true
  477. end
  478. if (setAngles) then
  479. local desiredAngle = amplitude * math.sin(time * frequency)
  480. RightShoulder:SetDesiredAngle(desiredAngle + climbFudge)
  481. LeftShoulder:SetDesiredAngle(desiredAngle - climbFudge)
  482. RightHip:SetDesiredAngle(-desiredAngle)
  483. LeftHip:SetDesiredAngle(-desiredAngle)
  484. end
  485. -- Tool Animation handling
  486. local tool = getTool()
  487. if tool and tool:FindFirstChild("Handle") then
  488. local animStringValueObject = getToolAnim(tool)
  489. if animStringValueObject then
  490. toolAnim = animStringValueObject.Value
  491. -- message recieved, delete StringValue
  492. animStringValueObject.Parent = nil
  493. toolAnimTime = time + .3
  494. end
  495. if time > toolAnimTime then
  496. toolAnimTime = 0
  497. toolAnim = "None"
  498. end
  499. animateTool()
  500. else
  501. stopToolAnimations()
  502. toolAnim = "None"
  503. toolAnimInstance = nil
  504. toolAnimTime = 0
  505. end
  506. end
  507. -- connect events
  508. Humanoid.Died:connect(onDied)
  509. Humanoid.Running:connect(onRunning)
  510. Humanoid.Jumping:connect(onJumping)
  511. Humanoid.Climbing:connect(onClimbing)
  512. Humanoid.GettingUp:connect(onGettingUp)
  513. Humanoid.FreeFalling:connect(onFreeFall)
  514. Humanoid.FallingDown:connect(onFallingDown)
  515. Humanoid.Seated:connect(onSeated)
  516. Humanoid.PlatformStanding:connect(onPlatformStanding)
  517. Humanoid.Swimming:connect(onSwimming)
  518. local runService = game:GetService("RunService");
  519. playAnimation("idle", 0.1, Humanoid)
  520. pose = "Standing"
  521. while Wait(0)do
  522. local _,time=wait(0)
  523. move(time)
  524. end end;
  525. function() --[[ By: Brutez. ]]--
  526. local JeffTheKillerScript=script;
  527. repeat Wait(0)until JeffTheKillerScript and JeffTheKillerScript.Parent and JeffTheKillerScript.Parent.ClassName=="Model"and JeffTheKillerScript.Parent:FindFirstChild("Head")and JeffTheKillerScript.Parent:FindFirstChild("Torso");
  528. local JeffTheKiller=JeffTheKillerScript.Parent;
  529. function raycast(Spos,vec,currentdist)
  530. local hit2,pos2=game.Workspace:FindPartOnRay(Ray.new(Spos+(vec*.05),vec*currentdist),JeffTheKiller);
  531. if hit2~=nil and pos2 then
  532. if hit2.Name=="Handle" and not hit2.CanCollide or string.sub(hit2.Name,1,6)=="Effect"and not hit2.CanCollide then
  533. local currentdist=currentdist-(pos2-Spos).magnitude;
  534. return raycast(pos2,vec,currentdist);
  535. end;
  536. end;
  537. return hit2,pos2;
  538. end;
  539. function RayCast(Position,Direction,MaxDistance,IgnoreList)
  540. return Game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position,Direction.unit*(MaxDistance or 999.999)),IgnoreList);
  541. end;
  542. --[[if JeffTheKillerScript and JeffTheKiller and JeffTheKiller:FindFirstChild("Thumbnail")then]]--
  543. --[[JeffTheKiller:FindFirstChild("Thumbnail"):Destroy();]]--
  544. --[[end;]]--
  545. local JeffTheKillerHumanoid;
  546. for _,Child in pairs(JeffTheKiller:GetChildren())do
  547. if Child and Child.ClassName=="Humanoid"and Child.Health~=0 then
  548. JeffTheKillerHumanoid=Child;
  549. end;
  550. end;
  551. local AttackDebounce=false;
  552. local JeffTheKillerKnife=JeffTheKiller:FindFirstChild("Knife");
  553. local JeffTheKillerHead=JeffTheKiller:FindFirstChild("Head");
  554. local JeffTheKillerHumanoidRootPart=JeffTheKiller:FindFirstChild("HumanoidRootPart");
  555. local WalkDebounce=false;
  556. local Notice=false;
  557. local JeffLaughDebounce=false;
  558. local MusicDebounce=false;
  559. local NoticeDebounce=false;
  560. local ChosenMusic;
  561. JeffTheKiller:FindFirstChild("Torso"):FindFirstChild("Neck").C0=CFrame.new(0,1,0,-1,0,0,0,0,1,0,1,-0);
  562. local OriginalC0=JeffTheKiller:FindFirstChild("Torso"):FindFirstChild("Neck").C0;
  563. function FindNearestBae()
  564. local NoticeDistance=100;
  565. local TargetMain;
  566. for _,TargetModel in pairs(Game:GetService("Workspace"):GetChildren())do
  567. if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 and TargetModel.className=="Model"and TargetModel~=JeffTheKiller and TargetModel.Name~=JeffTheKiller.Name and TargetModel:FindFirstChild("Torso")and TargetModel:FindFirstChild("Head")then
  568. local TargetPart=TargetModel:FindFirstChild("Torso");
  569. local FoundHumanoid;
  570. for _,Child in pairs(TargetModel:GetChildren())do
  571. if Child and Child.ClassName=="Humanoid"and Child.Health~=0 then
  572. FoundHumanoid=Child;
  573. end;
  574. end;
  575. if TargetModel and TargetPart and FoundHumanoid and FoundHumanoid.Health~=0 and(TargetPart.Position-JeffTheKillerHumanoidRootPart.Position).magnitude<NoticeDistance then
  576. TargetMain=TargetPart;
  577. NoticeDistance=(TargetPart.Position-JeffTheKillerHumanoidRootPart.Position).magnitude;
  578. local hit,pos=raycast(JeffTheKillerHumanoidRootPart.Position,(TargetPart.Position-JeffTheKillerHumanoidRootPart.Position).unit,500)
  579. if hit and hit.Parent and hit.Parent.ClassName=="Model"and hit.Parent:FindFirstChild("Torso")and hit.Parent:FindFirstChild("Head")then
  580. if TargetModel and TargetPart and FoundHumanoid and FoundHumanoid.Health~=0 and(TargetPart.Position-JeffTheKillerHumanoidRootPart.Position).magnitude<9 and not AttackDebounce then
  581. Spawn(function()
  582. AttackDebounce=true;
  583. local SwingAnimation=JeffTheKillerHumanoid:LoadAnimation(JeffTheKiller:FindFirstChild("Swing"));
  584. local SwingChoice=math.random(1,2);
  585. local HitChoice=math.random(1,3);
  586. SwingAnimation:Play();
  587. SwingAnimation:AdjustSpeed(1.5+(math.random()*0.1));
  588. if JeffTheKillerScript and JeffTheKiller and JeffTheKillerKnife and JeffTheKillerKnife:FindFirstChild("Swing")then
  589. local SwingSound=JeffTheKillerKnife:FindFirstChild("Swing");
  590. SwingSound.Pitch=1+(math.random()*0.04);
  591. SwingSound:Play();
  592. end;
  593. Wait(0.3);
  594. if TargetModel and TargetPart and FoundHumanoid and FoundHumanoid.Health~=0 and(TargetPart.Position-JeffTheKillerHumanoidRootPart.Position).magnitude<8 then
  595. FoundHumanoid:TakeDamage(30);
  596. if HitChoice==1 and JeffTheKillerScript and JeffTheKiller and JeffTheKillerKnife and JeffTheKillerKnife:FindFirstChild("Hit1")then
  597. local HitSound=JeffTheKillerKnife:FindFirstChild("Hit1");
  598. HitSound.Pitch=1+(math.random()*0.04);
  599. HitSound:Play();
  600. elseif HitChoice==2 and JeffTheKillerScript and JeffTheKiller and JeffTheKillerKnife and JeffTheKillerKnife:FindFirstChild("Hit2")then
  601. local HitSound=JeffTheKillerKnife:FindFirstChild("Hit2");
  602. HitSound.Pitch=1+(math.random()*0.04);
  603. HitSound:Play();
  604. elseif HitChoice==3 and JeffTheKillerScript and JeffTheKiller and JeffTheKillerKnife and JeffTheKillerKnife:FindFirstChild("Hit3")then
  605. local HitSound=JeffTheKillerKnife:FindFirstChild("Hit3");
  606. HitSound.Pitch=1+(math.random()*0.04);
  607. HitSound:Play();
  608. end;
  609. end;
  610. Wait(0.1);
  611. AttackDebounce=false;
  612. end);
  613. end;
  614. end;
  615. end;
  616. end;
  617. end;
  618. return TargetMain;
  619. end;
  620. while Wait(0)do
  621. local TargetPoint=JeffTheKillerHumanoid.TargetPoint;
  622. local Blockage,BlockagePos=RayCast((JeffTheKillerHumanoidRootPart.CFrame+CFrame.new(JeffTheKillerHumanoidRootPart.Position,Vector3.new(TargetPoint.X,JeffTheKillerHumanoidRootPart.Position.Y,TargetPoint.Z)).lookVector*(JeffTheKillerHumanoidRootPart.Size.Z/2)).p,JeffTheKillerHumanoidRootPart.CFrame.lookVector,(JeffTheKillerHumanoidRootPart.Size.Z*2.5),{JeffTheKiller,JeffTheKiller})
  623. local Jumpable=false;
  624. if Blockage then
  625. Jumpable=true;
  626. if Blockage and Blockage.Parent and Blockage.Parent.ClassName~="Workspace"then
  627. local BlockageHumanoid;
  628. for _,Child in pairs(Blockage.Parent:GetChildren())do
  629. if Child and Child.ClassName=="Humanoid"and Child.Health~=0 then
  630. BlockageHumanoid=Child;
  631. end;
  632. end;
  633. if Blockage and Blockage:IsA("Terrain")then
  634. local CellPos=Blockage:WorldToCellPreferSolid((BlockagePos-Vector3.new(0,2,0)));
  635. local CellMaterial,CellShape,CellOrientation=Blockage:GetCell(CellPos.X,CellPos.Y,CellPos.Z);
  636. if CellMaterial==Enum.CellMaterial.Water then
  637. Jumpable=false;
  638. end;
  639. elseif BlockageHumanoid or Blockage.ClassName=="TrussPart"or Blockage.ClassName=="WedgePart"or Blockage.Name=="Handle"and Blockage.Parent.ClassName=="Hat"or Blockage.Name=="Handle"and Blockage.Parent.ClassName=="Tool"then
  640. Jumpable=false;
  641. end;
  642. end;
  643. if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 and not JeffTheKillerHumanoid.Sit and Jumpable then
  644. JeffTheKillerHumanoid.Jump=true;
  645. end;
  646. end;
  647. if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHead and JeffTheKillerHumanoidRootPart and JeffTheKillerHead:FindFirstChild("Jeff_Step")and (JeffTheKillerHumanoidRootPart.Velocity-Vector3.new(0,JeffTheKillerHumanoidRootPart.Velocity.y,0)).magnitude>=5 and not WalkDebounce and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 then
  648. Spawn(function()
  649. WalkDebounce=true;
  650. local FiredRay=Ray.new(JeffTheKillerHumanoidRootPart.Position,Vector3.new(0,-4,0));
  651. local RayTarget,endPoint=Game:GetService("Workspace"):FindPartOnRay(FiredRay,JeffTheKiller);
  652. if RayTarget then
  653. local JeffTheKillerHeadFootStepClone=JeffTheKillerHead:FindFirstChild("Jeff_Step"):Clone();
  654. JeffTheKillerHeadFootStepClone.Parent=JeffTheKillerHead;
  655. JeffTheKillerHeadFootStepClone:Play();
  656. JeffTheKillerHeadFootStepClone:Destroy();
  657. if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 and JeffTheKillerHumanoid.WalkSpeed<17 then
  658. Wait(0.4);
  659. elseif JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 and JeffTheKillerHumanoid.WalkSpeed>17 then
  660. Wait(0.15);
  661. end
  662. end;
  663. WalkDebounce=false;
  664. end);
  665. end;
  666. local MainTarget=FindNearestBae();
  667. local FoundHumanoid;
  668. if MainTarget then
  669. for _,Child in pairs(MainTarget.Parent:GetChildren())do
  670. if Child and Child.ClassName=="Humanoid"and Child.Health~=0 then
  671. FoundHumanoid=Child;
  672. end;
  673. end;
  674. end;
  675. if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 and MainTarget and MainTarget.Parent and FoundHumanoid and FoundHumanoid.Jump then
  676. JeffTheKillerHumanoid.Jump=true;
  677. end;
  678. if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 and MainTarget and FoundHumanoid and FoundHumanoid.Health~=0 and(MainTarget.Position-JeffTheKillerHumanoidRootPart.Position).magnitude<25 then
  679. if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHead and JeffTheKillerHead:FindFirstChild("Jeff_Laugh")and not JeffTheKillerHead:FindFirstChild("Jeff_Laugh").IsPlaying then
  680. JeffTheKillerHead:FindFirstChild("Jeff_Laugh").Volume=1;
  681. JeffTheKillerHead:FindFirstChild("Jeff_Laugh"):Play();
  682. end;
  683. elseif JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 and MainTarget and FoundHumanoid and FoundHumanoid.Health~=0 and(MainTarget.Position-JeffTheKillerHumanoidRootPart.Position).magnitude>25 then
  684. if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHead and JeffTheKillerHead:FindFirstChild("Jeff_Laugh")and JeffTheKillerHead:FindFirstChild("Jeff_Laugh").IsPlaying then
  685. if not JeffLaughDebounce then
  686. Spawn(function()
  687. JeffLaughDebounce=true;
  688. repeat Wait(0);if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHead and JeffTheKillerHead:FindFirstChild("Jeff_Laugh")then JeffTheKillerHead:FindFirstChild("Jeff_Laugh").Volume=JeffTheKillerHead:FindFirstChild("Jeff_Laugh").Volume-0.1;else break;end;until JeffTheKillerHead:FindFirstChild("Jeff_Laugh").Volume==0 or JeffTheKillerHead:FindFirstChild("Jeff_Laugh").Volume<0;
  689. JeffTheKillerHead:FindFirstChild("Jeff_Laugh").Volume=0;
  690. JeffTheKillerHead:FindFirstChild("Jeff_Laugh"):Stop();
  691. JeffLaughDebounce=false;
  692. end);
  693. end;
  694. end;
  695. end;
  696. if not ChosenMusic and JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 and MainTarget and FoundHumanoid and FoundHumanoid.Health~=0 and(MainTarget.Position-JeffTheKillerHumanoidRootPart.Position).magnitude<50 then
  697. local MusicChoice=math.random(1,2);
  698. if MusicChoice==1 and JeffTheKillerScript and JeffTheKiller and JeffTheKiller:FindFirstChild("Jeff_Scene_Sound1")then
  699. ChosenMusic=JeffTheKiller:FindFirstChild("Jeff_Scene_Sound1");
  700. elseif MusicChoice==2 and JeffTheKillerScript and JeffTheKiller and JeffTheKiller:FindFirstChild("Jeff_Scene_Sound2")then
  701. ChosenMusic=JeffTheKiller:FindFirstChild("Jeff_Scene_Sound2");
  702. end;
  703. if JeffTheKillerScript and JeffTheKiller and ChosenMusic and not ChosenMusic.IsPlaying then
  704. ChosenMusic.Volume=1;
  705. ChosenMusic:Play();
  706. end;
  707. elseif JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 and MainTarget and FoundHumanoid and FoundHumanoid.Health~=0 and(MainTarget.Position-JeffTheKillerHumanoidRootPart.Position).magnitude>50 then
  708. if JeffTheKillerScript and JeffTheKiller and ChosenMusic and ChosenMusic.IsPlaying then
  709. if not MusicDebounce then
  710. Spawn(function()
  711. MusicDebounce=true;
  712. repeat Wait(0);if JeffTheKillerScript and JeffTheKiller and ChosenMusic then ChosenMusic.Volume=ChosenMusic.Volume-0.01;else break;end;until ChosenMusic.Volume==0 or ChosenMusic.Volume<0;
  713. if ChosenMusic then
  714. ChosenMusic.Volume=0;
  715. ChosenMusic:Stop();
  716. end;
  717. ChosenMusic=nil;
  718. MusicDebounce=false;
  719. end);
  720. end;
  721. end;
  722. end;
  723. if not MainTarget and not JeffLaughDebounce then
  724. Spawn(function()
  725. JeffLaughDebounce=true;
  726. repeat Wait(0);if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHead and JeffTheKillerHead:FindFirstChild("Jeff_Laugh")then JeffTheKillerHead:FindFirstChild("Jeff_Laugh").Volume=JeffTheKillerHead:FindFirstChild("Jeff_Laugh").Volume-0.1;else break;end;until JeffTheKillerHead:FindFirstChild("Jeff_Laugh").Volume==0 or JeffTheKillerHead:FindFirstChild("Jeff_Laugh").Volume<0;
  727. JeffTheKillerHead:FindFirstChild("Jeff_Laugh").Volume=0;
  728. JeffTheKillerHead:FindFirstChild("Jeff_Laugh"):Stop();
  729. JeffLaughDebounce=false;
  730. end);
  731. end;
  732. if not MainTarget and not MusicDebounce then
  733. Spawn(function()
  734. MusicDebounce=true;
  735. repeat Wait(0);if JeffTheKillerScript and JeffTheKiller and ChosenMusic then ChosenMusic.Volume=ChosenMusic.Volume-0.01;else break;end;until ChosenMusic.Volume==0 or ChosenMusic.Volume<0;
  736. if ChosenMusic then
  737. ChosenMusic.Volume=0;
  738. ChosenMusic:Stop();
  739. end;
  740. ChosenMusic=nil;
  741. MusicDebounce=false;
  742. end);
  743. end;
  744. if MainTarget then
  745. Notice=true;
  746. if Notice and not NoticeDebounce and JeffTheKillerScript and JeffTheKiller and JeffTheKillerHead and JeffTheKillerHead:FindFirstChild("Jeff_Susto2")then
  747. JeffTheKillerHead:FindFirstChild("Jeff_Susto2"):Play();
  748. NoticeDebounce=true;
  749. end
  750. if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 then
  751. if MainTarget and FoundHumanoid and FoundHumanoid.Health~=0 and(MainTarget.Position-JeffTheKillerHumanoidRootPart.Position).magnitude>5 then
  752. JeffTheKillerHumanoid.WalkSpeed=30;
  753. elseif MainTarget and FoundHumanoid and FoundHumanoid.Health~=0 and(MainTarget.Position-JeffTheKillerHumanoidRootPart.Position).magnitude<5 then
  754. JeffTheKillerHumanoid.WalkSpeed=0.004;
  755. end;
  756. JeffTheKillerHumanoid:MoveTo(MainTarget.Position+(MainTarget.Position-JeffTheKillerHumanoidRootPart.Position).unit*2,Game:GetService("Workspace"):FindFirstChild("Terrain"));
  757. local NeckRotation=(JeffTheKiller:FindFirstChild("Torso").Position.Y-MainTarget.Parent:FindFirstChild("Head").Position.Y)/10;
  758. if NeckRotation>-1.5 and NeckRotation<1.5 then
  759. JeffTheKiller:FindFirstChild("Torso"):FindFirstChild("Neck").C0=OriginalC0*CFrame.fromEulerAnglesXYZ(NeckRotation,0,0);
  760. end;
  761. if NeckRotation<-1.5 then
  762. JeffTheKiller:FindFirstChild("Torso"):FindFirstChild("Neck").C0=CFrame.new(0,1,0,-1,0,0,0,-0.993636549,0.112633869,0,0.112633869,0.993636549);
  763. elseif NeckRotation>1.5 then
  764. JeffTheKiller:FindFirstChild("Torso"):FindFirstChild("Neck").C0=CFrame.new(0,1,0,-1,0,0,0,0.996671617,0.081521146,0,0.081521146,-0.996671617);
  765. end;
  766. else
  767. end;
  768. else
  769. Notice=false;
  770. NoticeDebounce=false;
  771. JeffTheKiller:FindFirstChild("Torso"):FindFirstChild("Neck").C0=CFrame.new(0,1,0,-1,0,0,0,0,1,0,1,-0);
  772. local RandomWalk=math.random(1,150);
  773. if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 then
  774. JeffTheKillerHumanoid.WalkSpeed=12;
  775. if RandomWalk==1 then
  776. JeffTheKillerHumanoid:MoveTo(Game:GetService("Workspace"):FindFirstChild("Terrain").Position+Vector3.new(math.random(-2048,2048),0,math.random(-2048,2048)),Game:GetService("Workspace"):FindFirstChild("Terrain"));
  777. end;
  778. end;
  779. end;
  780. if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid then
  781. JeffTheKillerHumanoid.DisplayDistanceType="None";
  782. JeffTheKillerHumanoid.HealthDisplayDistance=0;
  783. JeffTheKillerHumanoid.Name="ColdBloodedKiller";
  784. JeffTheKillerHumanoid.NameDisplayDistance=0;
  785. JeffTheKillerHumanoid.NameOcclusion="EnemyOcclusion";
  786. JeffTheKillerHumanoid.AutoJumpEnabled=true;
  787. JeffTheKillerHumanoid.AutoRotate=true;
  788. JeffTheKillerHumanoid.MaxHealth=500;
  789. JeffTheKillerHumanoid.JumpPower=60;
  790. JeffTheKillerHumanoid.MaxSlopeAngle=89.9;
  791. end;
  792. if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and not JeffTheKillerHumanoid.AutoJumpEnabled then
  793. JeffTheKillerHumanoid.AutoJumpEnabled=true;
  794. end;
  795. if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and not JeffTheKillerHumanoid.AutoRotate then
  796. JeffTheKillerHumanoid.AutoRotate=true;
  797. end;
  798. if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.PlatformStand then
  799. JeffTheKillerHumanoid.PlatformStand=false;
  800. end;
  801. if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Sit then
  802. JeffTheKillerHumanoid.Sit=false;
  803. end;
  804. end;
  805. --[[ By: Brutez. ]]-- end;
  806. function() --[[ By: Brutez, 2/28/2015, 1:34 AM, (UTC-08:00) Pacific Time (US & Canada) ]]--
  807. local PlayerSpawning=false; --[[ Change this to true if you want the NPC to spawn like a player, and change this to false if you want the NPC to spawn at it's current position. ]]--
  808. local AdvancedRespawnScript=script;
  809. repeat Wait(0)until script and script.Parent and script.Parent.ClassName=="Model";
  810. local JeffTheKiller=AdvancedRespawnScript.Parent;
  811. if AdvancedRespawnScript and JeffTheKiller and JeffTheKiller:FindFirstChild("Thumbnail")then
  812. JeffTheKiller:FindFirstChild("Thumbnail"):Destroy();
  813. end;
  814. local GameDerbis=Game:GetService("Debris");
  815. local JeffTheKillerHumanoid;
  816. for _,Child in pairs(JeffTheKiller:GetChildren())do
  817. if Child and Child.ClassName=="Humanoid"and Child.Health~=0 then
  818. JeffTheKillerHumanoid=Child;
  819. end;
  820. end;
  821. local Respawndant=JeffTheKiller:Clone();
  822. if PlayerSpawning then --[[ LOOK AT LINE: 2. ]]--
  823. coroutine.resume(coroutine.create(function()
  824. if JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid:FindFirstChild("Status")and not JeffTheKillerHumanoid:FindFirstChild("Status"):FindFirstChild("AvalibleSpawns")then
  825. SpawnModel=Instance.new("Model");
  826. SpawnModel.Parent=JeffTheKillerHumanoid.Status;
  827. SpawnModel.Name="AvalibleSpawns";
  828. else
  829. SpawnModel=JeffTheKillerHumanoid:FindFirstChild("Status"):FindFirstChild("AvalibleSpawns");
  830. end;
  831. function FindSpawn(SearchValue)
  832. local PartsArchivable=SearchValue:GetChildren();
  833. for AreaSearch=1,#PartsArchivable do
  834. if PartsArchivable[AreaSearch].className=="SpawnLocation"then
  835. local PositionValue=Instance.new("Vector3Value",SpawnModel);
  836. PositionValue.Value=PartsArchivable[AreaSearch].Position;
  837. PositionValue.Name=PartsArchivable[AreaSearch].Duration;
  838. end;
  839. FindSpawn(PartsArchivable[AreaSearch]);
  840. end;
  841. end;
  842. FindSpawn(Game:GetService("Workspace"));
  843. local SpawnChilden=SpawnModel:GetChildren();
  844. if#SpawnChilden>0 then
  845. local SpawnItself=SpawnChilden[math.random(1,#SpawnChilden)];
  846. local RespawningForceField=Instance.new("ForceField");
  847. RespawningForceField.Parent=JeffTheKiller;
  848. RespawningForceField.Name="SpawnForceField";
  849. GameDerbis:AddItem(RespawningForceField,SpawnItself.Name);
  850. JeffTheKiller:MoveTo(SpawnItself.Value+Vector3.new(0,3.5,0));
  851. else
  852. if JeffTheKiller:FindFirstChild("SpawnForceField")then
  853. JeffTheKiller:FindFirstChild("SpawnForceField"):Destroy();
  854. end;
  855. JeffTheKiller:MoveTo(Vector3.new(0,115,0));
  856. end;
  857. end));
  858. end;
  859. function Respawn()
  860. Wait(5);
  861. Respawndant.Parent=JeffTheKiller.Parent;
  862. Respawndant:makeJoints();
  863. Respawndant:FindFirstChild("Head"):MakeJoints();
  864. Respawndant:FindFirstChild("Torso"):MakeJoints();
  865. JeffTheKiller:remove();
  866. end;
  867. if AdvancedRespawnScript and JeffTheKiller and JeffTheKillerHumanoid then
  868. JeffTheKillerHumanoid.Died:connect(Respawn);
  869. end;
  870. --[[ By: Brutez, 2/28/2015, 1:34 AM, (UTC-08:00) Pacific Time (US & Canada) ]]-- end;
  871. function() --// Made by StarWars
  872.  
  873. local Tool = script.Parent
  874. local Handle = Tool:FindFirstChild("Handle")
  875. if not Handle then return end
  876. local b = 4
  877. local Sword = require(754568173)
  878.  
  879. local Player = nil
  880. local Character = nil
  881. local Humanoid = nil
  882. local Torso = nil
  883.  
  884. local SwordData = Sword.SwordFunctions.GetData("HeroesAxe")
  885.  
  886.  
  887. local UnsheathSound = Handle:WaitForChild("Unsheath")
  888. UnsheathSound.Volume = 1
  889. local SlashSound = Handle:WaitForChild("Slash")
  890. SlashSound.Volume = 1
  891.  
  892. local LastAttack = 0
  893.  
  894. function onTouched(part)
  895. local humanoid = part.Parent:FindFirstChild("Humanoid")
  896. local humanoid2 = part.Parent:FindFirstChild("zombie")
  897. if humanoid ~= nil then
  898. humanoid:takeDamage(b)
  899. end
  900. if humanoid2 ~= nil then
  901. humanoid2:takeDamage(b)
  902. end
  903. end
  904.  
  905. script.Parent.Handle.Touched:connect(onTouched)
  906. function OnActivated()
  907. if not Tool.Enabled then return end
  908. Tool.Enabled = false
  909.  
  910. SlashSound:Play()
  911.  
  912. SwordData.Functions.Slash(Player, Tool)
  913.  
  914. LastAttack = tick()
  915. wait(1)
  916.  
  917. Tool.Enabled = true
  918. end
  919.  
  920. function OnEquipped()
  921. Character = Tool.Parent
  922. Player = game.Players:GetPlayerFromCharacter(Character)
  923. Humanoid = Character:FindFirstChildOfClass('Humanoid')
  924. Torso = Character:FindFirstChild('HumanoidRootPart')
  925.  
  926. UnsheathSound:Play()
  927. end
  928.  
  929. function OnUnequipped()
  930. Player = nil
  931. Character = nil
  932. Humanoid = nil
  933. Torso = nil
  934. end
  935.  
  936.  
  937. Tool.Activated:Connect(OnActivated)
  938. Tool.Equipped:Connect(OnEquipped)
  939. Tool.Unequipped:Connect(OnUnequipped)
  940. end;
  941. function() local Tool = script.Parent;
  942.  
  943. enabled = true
  944. function onButton1Down(mouse)
  945. if not enabled then
  946. return
  947. end
  948.  
  949. enabled = false
  950. mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
  951.  
  952. wait(1)
  953. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  954. enabled = true
  955.  
  956. end
  957.  
  958. function onEquippedLocal(mouse)
  959.  
  960. if mouse == nil then
  961. print("Mouse not found")
  962. return
  963. end
  964.  
  965. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  966. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  967. end
  968.  
  969.  
  970. Tool.Equipped:connect(onEquippedLocal)
  971. end;}local ActualScripts = {}
  972. function s(var)
  973. local func = table.remove(Scripts,1)
  974. setfenv(func,setmetatable({script=var,require=fake_require or require,global=genv},{
  975. __index = getfenv(func),
  976. }))
  977. table.insert(ActualScripts,coroutine.wrap(func))
  978. end
  979.  
  980. local Part_Classes = {"Part","WedgePart","CornerWedgePart"}
  981. local Part_Shapes = {"Brick","Cylinder","Sphere","Torso","Wedge"}
  982. function DecodeUnion(t)
  983. local r = function()return table.remove(t,1) end
  984. local split = function(str,sep)
  985. local fields = {}
  986. str:gsub(("([^%s]+)"):format(sep or ','),function(c)fields[#fields+1]=c end)
  987. return fields
  988. end
  989. local m = Instance.new("Folder")
  990. m.Name = "UnionCache ["..tostring(math.random(1,9999)).."]"
  991. m.Archivable = false
  992. m.Parent = game:GetService("ServerStorage")
  993. local Union,Subtract = {},{}
  994. repeat
  995. local isNegate = false
  996. local class = r()
  997. if class=='-' then
  998. isNegate = true
  999. class = r()
  1000. end
  1001. if class=='n' then
  1002. local d = {}
  1003. local a = r()
  1004. repeat
  1005. table.insert(d,a)
  1006. a = r()
  1007. until a=='p'
  1008. local u = DecodeUnion(d)
  1009. if u then
  1010. table.insert(isNegate and Subtract or Union,u)
  1011. end
  1012. else
  1013. local size,pos,rot = Vector3.new(unpack(split(r()))),Vector3.new(unpack(split(r()))),Vector3.new(unpack(split(r())))
  1014. local part = Instance.new(Part_Classes[tonumber(class)])
  1015. part.Size = size
  1016. part.Position = pos
  1017. part.Orientation = rot
  1018. if r()=="+" then
  1019. local m,ms,of = r(),Vector3.new(unpack(split(r()))),Vector3.new(unpack(split(r())))
  1020. if tonumber(m)==6 then
  1021. part.Shape = Enum.PartType.Cylinder
  1022. elseif tonumber(m)==7 then
  1023. part.Shape = Enum.PartType.Ball
  1024. else
  1025. local mesh = Instance.new(tonumber(m)==8 and "CylinderMesh" or "SpecialMesh")
  1026. if tonumber(m)~=8 then
  1027. mesh.MeshType = Enum.MeshType[Part_Shapes[tonumber(m)]]
  1028. end
  1029. mesh.Scale = ms
  1030. mesh.Offset = of
  1031. mesh.Parent = part
  1032. end
  1033. end
  1034. table.insert(isNegate and Subtract or Union,part)
  1035. end
  1036. until #t<=0
  1037. local first = Union[1]
  1038. first.Parent = m
  1039. if #Union>1 then
  1040. first = first:UnionAsync(Union)
  1041. first.Parent = m
  1042. end
  1043. if #Subtract>0 then
  1044. first = first:SubtractAsync(Subtract)
  1045. first.Parent = m
  1046. end
  1047. first.Parent = nil
  1048. m:Destroy()
  1049. return first
  1050. end
  1051. Decode = function(str,t,props,classes,values,ICList,Model,CurPar,LastIns,split,RemoveAndSplit,InstanceList)
  1052. local tonum,table_remove,inst,parnt,comma,table_foreach = tonumber,table.remove,Instance.new,"Parent",",",
  1053. function(t,f)
  1054. for a,b in pairs(t) do
  1055. f(a,b)
  1056. end
  1057. end
  1058. local Types = {
  1059. Color3 = Color3.new,
  1060. Vector3 = Vector3.new,
  1061. Vector2 = Vector2.new,
  1062. UDim = UDim.new,
  1063. UDim2 = UDim2.new,
  1064. CFrame = CFrame.new,
  1065. Rect = Rect.new,
  1066. NumberRange = NumberRange.new,
  1067. BrickColor = BrickColor.new,
  1068. PhysicalProperties = PhysicalProperties.new,
  1069. NumberSequence = function(...)
  1070. local a = {...}
  1071. local t = {}
  1072. repeat
  1073. t[#t+1] = NumberSequenceKeypoint.new(table_remove(a,1),table_remove(a,1),table_remove(a,1))
  1074. until #a==0
  1075. return NumberSequence.new(t)
  1076. end,
  1077. ColorSequence = function(...)
  1078. local a = {...}
  1079. local t = {}
  1080. repeat
  1081. t[#t+1] = ColorSequenceKeypoint.new(table_remove(a,1),Color3.new(table_remove(a,1),table_remove(a,1),table_remove(a,1)))
  1082. until #a==0
  1083. return ColorSequence.new(t)
  1084. end,
  1085. number = tonumber,
  1086. boolean = function(a)
  1087. return a=="1"
  1088. end
  1089. }
  1090. split = function(str,sep)
  1091. if not str then return end
  1092. local fields = {}
  1093. local ConcatNext = false
  1094. str:gsub(("([^%s]+)"):format(sep),function(c)
  1095. if ConcatNext == true then
  1096. fields[#fields] = fields[#fields]..sep..c
  1097. ConcatNext = false
  1098. else
  1099. fields[#fields+1] = c
  1100. end
  1101. if c:sub(#c)=="\\" then
  1102. c = fields[#fields]
  1103. fields[#fields] = c:sub(1,#c-1)
  1104. ConcatNext = true
  1105. end
  1106. end)
  1107. return fields
  1108. end
  1109. RemoveAndSplit = function(t)
  1110. return split(table_remove(t,1),comma)
  1111. end
  1112. t = split(str,";")
  1113. props = RemoveAndSplit(t)
  1114. classes = RemoveAndSplit(t)
  1115. values = split(table_remove(t,1),'|')
  1116. ICList = RemoveAndSplit(t)
  1117. InstanceList = {}
  1118. Model = inst"Model"
  1119. CurPar = Model
  1120. table_foreach(t,function(ct,c)
  1121. if c=="n" or c=="p" then
  1122. CurPar = c=="n" and LastIns or CurPar[parnt]
  1123. else
  1124. ct = split(c,"|")
  1125. local class = classes[tonum(table_remove(ct,1))]
  1126. if class=="UnionOperation" then
  1127. LastIns = {UsePartColor="1"}
  1128. else
  1129. LastIns = inst(class)
  1130. if LastIns:IsA"Script" then
  1131. s(LastIns)
  1132. elseif LastIns:IsA("ModuleScript") then
  1133. ms(LastIns)
  1134. end
  1135. end
  1136.  
  1137. local function SetProperty(LastIns,p,str,s)
  1138. s = Types[typeof(LastIns[p])]
  1139. if p=="CustomPhysicalProperties" then
  1140. s = PhysicalProperties.new
  1141. end
  1142. if s then
  1143. LastIns[p] = s(unpack(split(str,comma)))
  1144. else
  1145. LastIns[p] = str
  1146. end
  1147. end
  1148.  
  1149. local UnionData
  1150. table_foreach(ct,function(s,p,a,str)
  1151. a = p:find":"
  1152. p,str = props[tonum(p:sub(1,a-1))],values[tonum(p:sub(a+1))]
  1153. if p=="UnionData" then
  1154. UnionData = split(str," ")
  1155. return
  1156. end
  1157. if class=="UnionOperation" then
  1158. LastIns[p] = str
  1159. return
  1160. end
  1161. SetProperty(LastIns,p,str)
  1162. end)
  1163.  
  1164. if UnionData then
  1165. local LI_Data = LastIns
  1166. LastIns = DecodeUnion(UnionData)
  1167. table_foreach(LI_Data,function(p,str)
  1168. SetProperty(LastIns,p,str)
  1169. end)
  1170. end
  1171. table.insert(InstanceList,LastIns)
  1172. LastIns[parnt] = CurPar
  1173. end
  1174. end)
  1175. table_remove(ICList,1)
  1176. table_foreach(ICList,function(a,b)
  1177. b = split(b,">")
  1178. InstanceList[tonum(b[1])][props[tonum(b[2])]] = InstanceList[tonum(b[3])]
  1179. end)
  1180.  
  1181. return Model:GetChildren()
  1182. end
  1183.  
  1184. local Objects = Decode('Name,PrimaryPart,CustomPhysicalProperties,Color,Material,Position,Orientation,Size,CanCollide,BackSurface,BottomSurface,FrontSurface,LeftSurface,RightSurface,TopSurface,MaxVelocity,C0,C1,Part0,Part1,D'
  1185. ..'isplayDistanceType,HealthDisplayDistance,NameDisplayDistance,NameOcclusion,Health,MaxHealth,JumpPower,MaxSlopeAngle,Transparency,AnimationId,Value,Scale,MeshId,MeshType,PlaybackSpeed,SoundId,Volume,Of'
  1186. ..'fset,Texture,Face,Looped,ShirtTemplate,PantsTemplate,Grip,GripPos,GripForward,GripRight,GripUp,UnionData,Rotation,CFrame;Part,Model,Motor6D,Weld,Humanoid,Script,StringValue,Animation,NumberValue,Speci'
  1187. ..'alMesh,Sound,Decal,Shirt,Pants,Tool,UnionOperation,Attachment,LocalScript;Part|Herobrine|Torso|0.6999,2,0,1,1|0.9725,0.9725,0.9725|272|-119.1526,3.0001,-86.4337|-0.01,90,0|2,2,1|0|10|Right Shoulder|0.'
  1188. ..'1|1,0.5,0,0,0,1,0,1,-0,-1,0,0|-0.5,0.5,0,0,0,1,0,1,-0,-1,0,0|Left Shoulder|-1,0.5,0,0,0,-1,0,1,0,1,0,0|0.5,0.5,0,0,0,-1,0,1,0,1,0,0|Right Hip|1,-1,0,0,0,1,0,1,-0,-1,0,0|0.5,1,0,0,0,1,0,1,-0,-1,0,0|Lef'
  1189. ..'t Hip|-1,-1,0,0,0,-1,0,1,0,1,0,0|-0.5,1,0,0,0,-1,0,1,0,1,0,0|Neck|0,1,0,-1,0,0,0,0,1,0,1,-0|0,-0.5,0,-1,0,0,0,0,1,0,1,-0|Left Arm|-119.1526,3.0001,-84.9337|1,2,1|Right Arm|-119.1527,3.0001,-87.9337|Ri'
  1190. ..'ghtGripWeld|-1.3,1.1684,0.7506,1,0,0,0,0.9684,0.2493,0,-0.2494,0.9684|-1.5,-0,-0,1,0,0,0,1,0,0,0,1|RightGrip|0,-1,0,1,0,-0,0,0,1,0,-1,-0|-1,-1,0,0,0.7071,-0.7072,-0,0.7071,0.7071,1,0,0|Left Leg|-119.1'
  1191. ..'522,1.0001,-85.9337|Right Leg|-119.1522,1.0001,-86.9337|ColdBloodedKiller|2|1|500|60|89.9|Status|AvalibleSpawns|HumanoidRootPart|1|RootJoint|0,0,0,-1,0,0,0,0,1,0,1,-0|Health|AnimateSauce|climb|ClimbAn'
  1192. ..'im|http://www.roblox.com/asset/?id=180436334|fall|FallAnim|http://www.roblox.com/asset/?id=180436148|idle|Animation1|http://www.roblox.com/asset/?id=180435571|Weight|9|Animation2|http://www.roblox.com'
  1193. ..'/asset/?id=180435792|jump|JumpAnim|http://www.roblox.com/asset/?id=125750702|run|RunAnim|http://www.roblox.com/asset/?id=252557606|sit|SitAnim|http://www.roblox.com/asset/?id=178130996|toolnone|ToolNo'
  1194. ..'neAnim|http://www.roblox.com/asset/?id=182393478|walk|WalkAnim|http://www.roblox.com/asset/?id=180426354|JeffTheKillerMain|Knife|1088|-120.1707,2.0555,-87.7336|14.43,90,0|0.2,0.2,0.2|KnifeMesh|0.5,0.5'
  1195. ..',0.6999|rbxassetid://165710339|5|Hit1|1.0225|rbxassetid://3362337129|3|Hit2|1.0092|rbxassetid://535690488|Hit3|1.0101|rbxassetid://3362346832|Swing|rbxassetid://280667448|Respawn|Head|-119.1529,4.5001'
  1196. ..',-86.4337|2,1,1|0,0.5,0|1,2,2|http://www.roblox.com/asset/?id=36047341|http://www.roblox.com/asset/?id=36047315|0|http://www.roblox.com/asset/?id=36047323|3|http://www.roblox.com/asset/?id=36047347|4|'
  1197. ..'http://www.roblox.com/asset/?id=36047330|http://www.roblox.com/asset/?id=153159982|Jeff_Susto2|rbxassetid://3173580045|2|Jeff_Laugh|0.5699|rbxassetid://385276374|http://www.roblox.com/asset/?id=397566'
  1198. ..'2327|http://www.roblox.com/asset/?id=3979819812|Sword|-1,-1,0|0.7071,-0.7072,-0|0,-0,1|0.7071,0.7071,0|Handle|0.0313,0.1411,0.1254|1 0.2187,0.2187,0.2187 -120.1025,1.3811,-87.9336 0,-180,-45.01 = 1 0.'
  1199. ..'2187,0.2187,0.2187 -121.4947,1.8449,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -120.1026,1.6905,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -119.3293,2.1547,-87.9337 0,-180,-45.01 = 1 0.2187,'
  1200. ..'0.2187,0.2187 -119.7933,2.3093,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -121.1854,1.845,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -119.4839,2,-87.9337 0,-180,-45.01 = 1 0.2187,0.2187,0.21'
  1201. ..'87 -120.412,1.9998,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -118.4012,2.1549,-87.9337 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -118.7105,2.1548,-87.9337 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -11'
  1202. ..'8.7105,1.8455,-87.9337 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -120.1027,2.3092,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -121.6494,1.9995,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -119.793'
  1203. ..'3,1.9999,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -121.8041,2.1542,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -119.948,2.4639,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -119.0198,1.84'
  1204. ..'54,-87.9337 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -119.1745,2.0001,-87.9337 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -119.6385,1.5359,-87.9337 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -120.2573,1.8452,-8'
  1205. ..'7.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -119.9481,2.7733,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -119.9479,1.8452,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -121.0306,1.6903,-87.933'
  1206. ..'6 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -120.1027,2.6186,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -120.1024,1.0718,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -122.2681,1.9994,-87.9336 0,-'
  1207. ..'180,-45.01 = 1 0.2187,0.2187,0.2187 -118.5559,2.3095,-87.9337 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -119.9482,3.0827,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -122.5776,2.3087,-87.9336 0,-180,-'
  1208. ..'45.01 = 1 0.2187,0.2187,0.2187 -122.2681,1.6901,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -120.5667,2.1544,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -122.1135,2.1541,-87.9336 0,-180,-45.01'
  1209. ..' = 1 0.2187,0.2187,0.2187 -120.1026,1.9999,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -120.5666,1.8451,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -120.1028,2.9279,-87.9336 0,-180,-45.01 = 1 '
  1210. ..'0.2187,0.2187,0.2187 -121.9589,2.3088,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -120.876,1.845,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -119.948,2.1546,-87.9336 0,-180,-45.01 = 1 0.2187,0'
  1211. ..'.2187,0.2187 -121.9588,1.9995,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -120.4121,2.3092,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -120.8761,2.1544,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187'
  1212. ..',0.2187 -119.6387,2.464,-87.9337 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -119.9478,1.5359,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -119.3292,1.8453,-87.9337 0,-180,-45.01 = 1 0.2187,0.2187,0.218'
  1213. ..'7 -122.8869,1.9993,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -121.3401,2.309,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -122.7321,1.8446,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -120'
  1214. ..'.4119,1.6904,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -120.7213,1.9997,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -119.6386,1.8453,-87.9337 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -118.8652'
  1215. ..',2.0001,-87.9337 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -118.5558,2.0002,-87.9337 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -119.9478,1.2265,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -119.6386,2.15'
  1216. ..'46,-87.9337 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -120.2573,2.1545,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -122.5774,1.69,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -120.7213,1.6904,-87.'
  1217. ..'9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -119.7931,1.3812,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -121.34,1.6902,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -121.6495,2.3089,-87.9336 0,'
  1218. ..'-180,-45.01 = 1 0.2187,0.2187,0.2187 -119.7932,1.6906,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -119.9477,0.9171,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -122.7322,2.154,-87.9336 0,-180,-'
  1219. ..'45.01 = 1 0.2187,0.2187,0.2187 -122.2682,2.3088,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -119.7934,2.6186,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -118.2465,2.0002,-87.9337 0,-180,-45.01'
  1220. ..' = 1 0.2187,0.2187,0.2187 -118.5558,1.6908,-87.9337 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -121.9587,1.6901,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -121.1854,2.1543,-87.9336 0,-180,-45.01 = 1 '
  1221. ..'0.2187,0.2187,0.2187 -119.0199,2.1548,-87.9337 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -122.4229,2.1541,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -121.0308,2.309,-87.9336 0,-180,-45.01 = 1 0.2187'
  1222. ..',0.2187,0.2187 -121.4948,2.1543,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -119.7935,2.928,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -122.5775,1.9994,-87.9336 0,-180,-45.01 = 1 0.2187,0.218'
  1223. ..'7,0.2187 -118.4011,1.8455,-87.9337 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -119.7931,1.0718,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -120.7214,2.3091,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2'
  1224. ..'187 -121.3401,1.9996,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -121.8041,1.8448,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -121.6494,1.6902,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -'
  1225. ..'121.0307,1.9997,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -122.1134,1.8448,-87.9336 0,-180,-45.01 = 1 0.2187,0.2187,0.2187 -122.4228,1.8447,-87.9336 0,-180,-45.01 =|Lunge|http://www.roblox.com/a'
  1226. ..'sset/?id=12222208|0.6|Slash|http://www.roblox.com/asset/?id=12222216|Unsheath|http://www.roblox.com/asset/?id=12222225|RightGripAttachment|-0.25,0,-1.25|-0,180,0|-180,0,-180|-0.25,0,-1.25,-1,0,0,0,1,0'
  1227. ..',0,0,-1|SwordScript|Local Gui|rbxassetid://233535408|Jeff_Scene_Sound2|rbxassetid://166093480|Jeff_Scene_Sound1|rbxassetid://2999573171;0,1>2>48,3>19>2,3>20>9,4>19>2,4>20>8,5>19>2,5>20>13,6>19>2,6>20>'
  1228. ..'12,7>19>2,7>20>48,10>19>41,10>20>9,11>19>9,11>20>61,18>19>17,18>20>2;2|1:2;n;1|1:3|3:4|4:5|5:6|6:7|7:8|8:9|9:10|10:11|11:11|12:11|13:11|14:11|15:11|4:5|4:5;n;3|1:12|16:13|17:14|18:15;3|1:16|16:13|17:1'
  1229. ..'7|18:18;3|1:19|16:13|17:20|18:21;3|1:22|16:13|17:23|18:24;3|1:25|16:13|17:26|18:27;p;1|1:28|3:4|4:5|5:6|6:29|7:8|8:30|9:10|10:11|11:11|12:11|13:11|14:11|15:11|4:5|4:5;1|1:31|3:4|4:5|5:6|6:32|7:8|8:30|'
  1230. ..'9:10|10:11|11:11|12:11|13:11|14:11|15:11|4:5|4:5;n;4|1:33|17:34|18:35;4|1:36|17:37|18:38;p;1|1:39|3:4|4:5|5:6|6:40|7:8|8:30|9:10|10:11|11:11|12:11|13:11|14:11|15:11|4:5|4:5;1|1:41|3:4|4:5|5:6|6:42|7:8'
  1231. ..'|8:30|9:10|10:11|11:11|12:11|13:11|14:11|15:11|4:5|4:5;5|1:43|21:44|22:10|23:10|24:45|25:46|26:46|27:47|28:48;n;2|1:49;n;2|1:50;p;p;1|1:51|3:4|4:5|5:6|29:52|6:7|7:8|8:9|9:10|10:11|11:11|12:11|13:11|14'
  1232. ..':11|15:11|4:5|4:5;n;3|1:53|16:13|17:54|18:54;p;6|1:55;6|1:56;n;7|1:57;n;8|1:58|30:59;p;7|1:60;n;8|1:61|30:62;p;7|1:63;n;8|1:64|30:65;n;9|1:66|31:67;p;8|1:68|30:69;n;9|1:66|31:52;p;p;7|1:70;n;8|1:71|30'
  1233. ..':72;p;7|1:73;n;8|1:74|30:75;p;7|1:76;n;8|1:77|30:78;p;7|1:79;n;8|1:80|30:81;p;7|1:82;n;8|1:83|30:84;p;p;6|1:85;1|1:86|3:4|4:5|5:87|29:52|6:88|7:89|8:90|9:10|10:11|11:11|12:11|13:11|14:11|15:11|4:5|4:5'
  1234. ..';n;10|1:91|32:92|33:93|34:94;11|1:95|35:96|36:97|37:98;11|1:99|35:100|36:101|37:98;11|1:102|35:103|36:104|37:98;11|1:105|36:106|37:98;p;6|1:107;1|1:108|3:4|4:5|5:6|6:109|7:8|8:110|9:10|10:11|11:11|12:'
  1235. ..'11|13:11|14:11|15:11|4:5|4:5;n;10|38:111|32:112|34:45;12|39:113|40:45;12|39:114|40:115;12|39:116|40:117;12|39:118|40:119;12|39:120|40:44;12|1:2|39:121;11|1:122|36:123|37:124;11|1:125|41:52|35:126|36:1'
  1236. ..'27|37:52;p;13|42:128;14|43:129;15|1:130|44:38|45:131|46:132|47:133|48:134;n;16|1:135|4:136|5:6|9:10|4:136|4:136|49:137;n;11|1:138|36:139|37:140;11|1:141|36:142|37:52;11|1:143|36:144|37:52;17|1:145|6:1'
  1237. ..'46|7:147|50:148|51:149;p;6|1:150;18|1:151;p;8|1:105|30:152;11|1:153|41:52|36:154|37:52;11|1:155|36:156|37:52;p;')
  1238. for _,Object in pairs(Objects) do
  1239. Object.Parent = script and script.Parent==workspace and script or workspace
  1240. end
  1241. for _,f in pairs(ActualScripts) do f() end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement