Advertisement
Animescapetower

Rip

Apr 7th, 2018
350
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 230.73 KB | None | 0 0
  1. --like this
  2. --Random Code
  3. Playername = game.Players
  4. function prints1()
  5. print("UsernameApproached, Player name has been called".. Playername.Name)
  6. warn("Can't recieve variables ".. Playername.Name)
  7.  
  8. end
  9.  
  10. local userint, message = pcall(prints1)
  11. if userint then
  12.  
  13. else
  14. print("Username data interface is not a variable".. message)
  15. end
  16.  
  17.  
  18. function datapack(e,t,g,d)
  19. print("This usually a scripting idea")
  20.  
  21. if t == _VERSION then
  22.  
  23. gcinfo(prints1)
  24. end
  25.  
  26.  
  27. end
  28.  
  29.  
  30. _G = datapack()
  31.  
  32.  
  33.  
  34.  
  35. print("Max Players".. Playername.NumPlayers)
  36.  
  37.  
  38. e = {"Data","Prints","Here"}
  39. randomUser = e[math.random(1,#e)]
  40. print("Random Prints = ".. randomUser)
  41.  
  42. grade = {1,2,3,4,5}--5 for full grade
  43. gradepick = grade[math.random(1,#grade)]
  44.  
  45. function fullcode()
  46. print("User grade".. gradepick)
  47.  
  48. warn("UserGrade Has Passed")
  49.  
  50. end
  51.  
  52.  
  53. fullcode()
  54.  
  55. tools = true
  56.  
  57. if tools == true then
  58.  
  59. --Converted with ttyyuu12345's model to script plugin v4
  60. function sandbox(var,func)
  61. local env = getfenv(func)
  62. local newenv = setmetatable({},{
  63. __index = function(self,k)
  64. if k=="script" then
  65. return var
  66. else
  67. return env[k]
  68. end
  69. end,
  70. })
  71. setfenv(func,newenv)
  72. return func
  73. end
  74. cors = {}
  75. mas = Instance.new("Model",game:GetService("Lighting"))
  76. Tool0 = Instance.new("Tool")
  77. SpecialMesh1 = Instance.new("SpecialMesh")
  78. Script2 = Instance.new("Script")
  79. Script3 = Instance.new("Script")
  80. LocalScript4 = Instance.new("LocalScript")
  81. Part5 = Instance.new("Part")
  82. SpecialMesh6 = Instance.new("SpecialMesh")
  83. Weld7 = Instance.new("Weld")
  84. Weld8 = Instance.new("Weld")
  85. Weld9 = Instance.new("Weld")
  86. Weld10 = Instance.new("Weld")
  87. Weld11 = Instance.new("Weld")
  88. Weld12 = Instance.new("Weld")
  89. Sound13 = Instance.new("Sound")
  90. Weld14 = Instance.new("Weld")
  91. Weld15 = Instance.new("Weld")
  92. Script16 = Instance.new("Script")
  93. Part17 = Instance.new("Part")
  94. SpecialMesh18 = Instance.new("SpecialMesh")
  95. Sound19 = Instance.new("Sound")
  96. BodyGyro20 = Instance.new("BodyGyro")
  97. LocalScript21 = Instance.new("LocalScript")
  98. LocalScript22 = Instance.new("LocalScript")
  99. Tool23 = Instance.new("Tool")
  100. Part24 = Instance.new("Part")
  101. SpecialMesh25 = Instance.new("SpecialMesh")
  102. Script26 = Instance.new("Script")
  103. Script27 = Instance.new("Script")
  104. LocalScript28 = Instance.new("LocalScript")
  105. Script29 = Instance.new("Script")
  106. Tool30 = Instance.new("Tool")
  107. Part31 = Instance.new("Part")
  108. ParticleEmitter32 = Instance.new("ParticleEmitter")
  109. Part33 = Instance.new("Part")
  110. SpecialMesh34 = Instance.new("SpecialMesh")
  111. BodyForce35 = Instance.new("BodyForce")
  112. Script36 = Instance.new("Script")
  113. ClickDetector37 = Instance.new("ClickDetector")
  114. Weld38 = Instance.new("Weld")
  115. BodyForce39 = Instance.new("BodyForce")
  116. BodyThrust40 = Instance.new("BodyThrust")
  117. BodyGyro41 = Instance.new("BodyGyro")
  118. RocketPropulsion42 = Instance.new("RocketPropulsion")
  119. BodyAngularVelocity43 = Instance.new("BodyAngularVelocity")
  120. Tool44 = Instance.new("Tool")
  121. Part45 = Instance.new("Part")
  122. Sound46 = Instance.new("Sound")
  123. Sound47 = Instance.new("Sound")
  124. Sound48 = Instance.new("Sound")
  125. Sound49 = Instance.new("Sound")
  126. Sound50 = Instance.new("Sound")
  127. Sound51 = Instance.new("Sound")
  128. Fire52 = Instance.new("Fire")
  129. SpecialMesh53 = Instance.new("SpecialMesh")
  130. Script54 = Instance.new("Script")
  131. Script55 = Instance.new("Script")
  132. Script56 = Instance.new("Script")
  133. LocalScript57 = Instance.new("LocalScript")
  134. Folder58 = Instance.new("Folder")
  135. SpecialMesh59 = Instance.new("SpecialMesh")
  136. Sound60 = Instance.new("Sound")
  137. Part61 = Instance.new("Part")
  138. ParticleEmitter62 = Instance.new("ParticleEmitter")
  139. ParticleEmitter63 = Instance.new("ParticleEmitter")
  140. Script64 = Instance.new("Script")
  141. ObjectValue65 = Instance.new("ObjectValue")
  142. ObjectValue66 = Instance.new("ObjectValue")
  143. Tool67 = Instance.new("Tool")
  144. Part68 = Instance.new("Part")
  145. SpecialMesh69 = Instance.new("SpecialMesh")
  146. Sound70 = Instance.new("Sound")
  147. Sound71 = Instance.new("Sound")
  148. Sound72 = Instance.new("Sound")
  149. ParticleEmitter73 = Instance.new("ParticleEmitter")
  150. Animation74 = Instance.new("Animation")
  151. Animation75 = Instance.new("Animation")
  152. Animation76 = Instance.new("Animation")
  153. Animation77 = Instance.new("Animation")
  154. Animation78 = Instance.new("Animation")
  155. Animation79 = Instance.new("Animation")
  156. LocalScript80 = Instance.new("LocalScript")
  157. LocalScript81 = Instance.new("LocalScript")
  158. Script82 = Instance.new("Script")
  159. Script83 = Instance.new("Script")
  160. Vector3Value84 = Instance.new("Vector3Value")
  161. Vector3Value85 = Instance.new("Vector3Value")
  162. ParticleEmitter86 = Instance.new("ParticleEmitter")
  163. RemoteFunction87 = Instance.new("RemoteFunction")
  164. RemoteFunction88 = Instance.new("RemoteFunction")
  165. Script89 = Instance.new("Script")
  166. Part90 = Instance.new("Part")
  167. SpecialMesh91 = Instance.new("SpecialMesh")
  168. ManualWeld92 = Instance.new("ManualWeld")
  169. Part93 = Instance.new("Part")
  170. SpecialMesh94 = Instance.new("SpecialMesh")
  171. ManualWeld95 = Instance.new("ManualWeld")
  172. Part96 = Instance.new("Part")
  173. SpecialMesh97 = Instance.new("SpecialMesh")
  174. ManualWeld98 = Instance.new("ManualWeld")
  175. Part99 = Instance.new("Part")
  176. SpecialMesh100 = Instance.new("SpecialMesh")
  177. ManualWeld101 = Instance.new("ManualWeld")
  178. Part102 = Instance.new("Part")
  179. BlockMesh103 = Instance.new("BlockMesh")
  180. ManualWeld104 = Instance.new("ManualWeld")
  181. ParticleEmitter105 = Instance.new("ParticleEmitter")
  182. Part106 = Instance.new("Part")
  183. ManualWeld107 = Instance.new("ManualWeld")
  184. ParticleEmitter108 = Instance.new("ParticleEmitter")
  185. Part109 = Instance.new("Part")
  186. SpecialMesh110 = Instance.new("SpecialMesh")
  187. ManualWeld111 = Instance.new("ManualWeld")
  188. Part112 = Instance.new("Part")
  189. SpecialMesh113 = Instance.new("SpecialMesh")
  190. ManualWeld114 = Instance.new("ManualWeld")
  191. Part115 = Instance.new("Part")
  192. SpecialMesh116 = Instance.new("SpecialMesh")
  193. ManualWeld117 = Instance.new("ManualWeld")
  194. Part118 = Instance.new("Part")
  195. SpecialMesh119 = Instance.new("SpecialMesh")
  196. ManualWeld120 = Instance.new("ManualWeld")
  197. Part121 = Instance.new("Part")
  198. BlockMesh122 = Instance.new("BlockMesh")
  199. ManualWeld123 = Instance.new("ManualWeld")
  200. Part124 = Instance.new("Part")
  201. SpecialMesh125 = Instance.new("SpecialMesh")
  202. ManualWeld126 = Instance.new("ManualWeld")
  203. ParticleEmitter127 = Instance.new("ParticleEmitter")
  204. Part128 = Instance.new("Part")
  205. BlockMesh129 = Instance.new("BlockMesh")
  206. ManualWeld130 = Instance.new("ManualWeld")
  207. Part131 = Instance.new("Part")
  208. SpecialMesh132 = Instance.new("SpecialMesh")
  209. ManualWeld133 = Instance.new("ManualWeld")
  210. Part134 = Instance.new("Part")
  211. SpecialMesh135 = Instance.new("SpecialMesh")
  212. ManualWeld136 = Instance.new("ManualWeld")
  213. Part137 = Instance.new("Part")
  214. SpecialMesh138 = Instance.new("SpecialMesh")
  215. ManualWeld139 = Instance.new("ManualWeld")
  216. Part140 = Instance.new("Part")
  217. SpecialMesh141 = Instance.new("SpecialMesh")
  218. ManualWeld142 = Instance.new("ManualWeld")
  219. Part143 = Instance.new("Part")
  220. SpecialMesh144 = Instance.new("SpecialMesh")
  221. ManualWeld145 = Instance.new("ManualWeld")
  222. Part146 = Instance.new("Part")
  223. SpecialMesh147 = Instance.new("SpecialMesh")
  224. ManualWeld148 = Instance.new("ManualWeld")
  225. Part149 = Instance.new("Part")
  226. SpecialMesh150 = Instance.new("SpecialMesh")
  227. ManualWeld151 = Instance.new("ManualWeld")
  228. Part152 = Instance.new("Part")
  229. SpecialMesh153 = Instance.new("SpecialMesh")
  230. ManualWeld154 = Instance.new("ManualWeld")
  231. Part155 = Instance.new("Part")
  232. CylinderMesh156 = Instance.new("CylinderMesh")
  233. ManualWeld157 = Instance.new("ManualWeld")
  234. Part158 = Instance.new("Part")
  235. BlockMesh159 = Instance.new("BlockMesh")
  236. ManualWeld160 = Instance.new("ManualWeld")
  237. Tool161 = Instance.new("Tool")
  238. Part162 = Instance.new("Part")
  239. SpecialMesh163 = Instance.new("SpecialMesh")
  240. Sound164 = Instance.new("Sound")
  241. Sound165 = Instance.new("Sound")
  242. Sound166 = Instance.new("Sound")
  243. Sound167 = Instance.new("Sound")
  244. Sound168 = Instance.new("Sound")
  245. Sound169 = Instance.new("Sound")
  246. LocalScript170 = Instance.new("LocalScript")
  247. LocalScript171 = Instance.new("LocalScript")
  248. Folder172 = Instance.new("Folder")
  249. RemoteFunction173 = Instance.new("RemoteFunction")
  250. RemoteFunction174 = Instance.new("RemoteFunction")
  251. Folder175 = Instance.new("Folder")
  252. Folder176 = Instance.new("Folder")
  253. Animation177 = Instance.new("Animation")
  254. Folder178 = Instance.new("Folder")
  255. Animation179 = Instance.new("Animation")
  256. Script180 = Instance.new("Script")
  257. Script181 = Instance.new("Script")
  258. Sound182 = Instance.new("Sound")
  259. Sound183 = Instance.new("Sound")
  260. Tool184 = Instance.new("Tool")
  261. Script185 = Instance.new("Script")
  262. Part186 = Instance.new("Part")
  263. SpecialMesh187 = Instance.new("SpecialMesh")
  264. Sound188 = Instance.new("Sound")
  265. Sound189 = Instance.new("Sound")
  266. Sound190 = Instance.new("Sound")
  267. Sound191 = Instance.new("Sound")
  268. Sound192 = Instance.new("Sound")
  269. Sound193 = Instance.new("Sound")
  270. Sound194 = Instance.new("Sound")
  271. Sound195 = Instance.new("Sound")
  272. Sound196 = Instance.new("Sound")
  273. Sound197 = Instance.new("Sound")
  274. Sound198 = Instance.new("Sound")
  275. Sound199 = Instance.new("Sound")
  276. LocalScript200 = Instance.new("LocalScript")
  277. Tool201 = Instance.new("Tool")
  278. Part202 = Instance.new("Part")
  279. Sound203 = Instance.new("Sound")
  280. SpecialMesh204 = Instance.new("SpecialMesh")
  281. Script205 = Instance.new("Script")
  282. LocalScript206 = Instance.new("LocalScript")
  283. Script207 = Instance.new("Script")
  284. Configuration208 = Instance.new("Configuration")
  285. BoolValue209 = Instance.new("BoolValue")
  286. Configuration210 = Instance.new("Configuration")
  287. NumberValue211 = Instance.new("NumberValue")
  288. NumberValue212 = Instance.new("NumberValue")
  289. StringValue213 = Instance.new("StringValue")
  290. BoolValue214 = Instance.new("BoolValue")
  291. BoolValue215 = Instance.new("BoolValue")
  292. StringValue216 = Instance.new("StringValue")
  293. ObjectValue217 = Instance.new("ObjectValue")
  294. Tool0.Name = "CrossBow"
  295. Tool0.Parent = mas
  296. Tool0.TextureId = "http://www.roblox.com/asset/?id=16215840 "
  297. Tool0.GripForward = Vector3.new(0.0105792647, 0.00521730399, 0.999930441)
  298. Tool0.GripPos = Vector3.new(0, -0.600000024, 0)
  299. Tool0.GripRight = Vector3.new(-0.999944031, 0, 0.0105794081)
  300. Tool0.GripUp = Vector3.new(-5.51959893e-05, 0.99998641, -0.00521701202)
  301. SpecialMesh1.Parent = Tool0
  302. SpecialMesh1.Scale = Vector3.new(0.5, 1, 0.5)
  303. SpecialMesh1.Scale = Vector3.new(0.5, 1, 0.5)
  304. Script2.Name = "CrossbowBoltScript"
  305. Script2.Parent = Tool0
  306. Script2.Disabled = true
  307. table.insert(cors,sandbox(Script2,function()
  308. debris = game:GetService("Debris")
  309. bolt = script.Parent
  310. damage = 33
  311.  
  312. debris:AddItem(bolt, 20)
  313.  
  314. function stick(hit)
  315. -- joint myself to the thing i hit
  316.  
  317. local weld = Instance.new("Weld")
  318.  
  319. weld.Part0 = bolt
  320. weld.Part1 = hit
  321.  
  322.  
  323. local HitPos = bolt.Position + (bolt.Velocity.unit * 3) -- + (arrow.CFrame.lookVector * 1)
  324.  
  325. local CJ = CFrame.new(HitPos)
  326. local C0 = bolt.CFrame:inverse() *CJ
  327. local C1 = hit.CFrame:inverse() * CJ
  328.  
  329. weld.C0 = C0
  330. weld.C1 = C1
  331.  
  332. weld.Parent = bolt
  333.  
  334. end
  335.  
  336. function onTouched(hit)
  337.  
  338. bolt.BodyGyro:remove()
  339. bolt.BodyForce:remove()
  340.  
  341. stick(hit)
  342.  
  343. bolt.HitSound:Play()
  344.  
  345. local humanoid = hit.Parent:findFirstChild("Humanoid")
  346.  
  347.  
  348. if humanoid ~= nil then
  349. tagHumanoid(humanoid)
  350. humanoid.Health = humanoid.Health - damage
  351. end
  352. connection:disconnect()
  353. end
  354.  
  355. function tagHumanoid(humanoid)
  356. -- todo: make tag expire
  357. local tag = bolt:findFirstChild("creator")
  358. if tag ~= nil then
  359. local new_tag = tag:clone()
  360. new_tag.Parent = humanoid
  361. debris:AddItem(new_tag,1)
  362. end
  363. end
  364.  
  365.  
  366.  
  367. connection = bolt.Touched:connect(onTouched)
  368.  
  369. for i=1,100 do
  370. wait(.1 * i)
  371. if (bolt:FindFirstChild("BodyGyro") ~= nil) then
  372. bolt.BodyGyro.cframe = CFrame.new(Vector3.new(0,0,0), -bolt.Velocity.unit)
  373. end
  374. end
  375.  
  376.  
  377.  
  378. end))
  379. Script3.Name = "WeldScript"
  380. Script3.Parent = Tool0
  381. table.insert(cors,sandbox(Script3,function()
  382. w2 = Instance.new("Weld")
  383. w2.Name = "BoltWeld"
  384. w2.Parent = script.Parent.Handle
  385. w2.Part0 = script.Parent.Handle
  386. w2.Part1 = script.Parent.Bolt
  387. w2.C1 = CFrame.new(0,-.35,-1.6)
  388.  
  389.  
  390. end))
  391. LocalScript4.Name = "Local Gui"
  392. LocalScript4.Parent = Tool0
  393. table.insert(cors,sandbox(LocalScript4,function()
  394. local Tool = script.Parent;
  395.  
  396.  
  397. enabled = true
  398.  
  399. function onButton1Down(mouse)
  400.  
  401. if not enabled then return end
  402. script.Parent.Bolt.Transparency = 1
  403.  
  404.  
  405. enabled = false
  406.  
  407. mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
  408.  
  409.  
  410.  
  411. wait(2)
  412. script.Parent.Bolt.Transparency = 0
  413.  
  414. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  415.  
  416. enabled = true
  417.  
  418.  
  419.  
  420. end
  421.  
  422.  
  423.  
  424. function onEquippedLocal(mouse)
  425.  
  426.  
  427.  
  428. if mouse == nil then
  429.  
  430. print("Mouse not found")
  431.  
  432. return
  433.  
  434. end
  435.  
  436.  
  437.  
  438. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  439.  
  440. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  441.  
  442. end
  443.  
  444.  
  445.  
  446.  
  447.  
  448. Tool.Equipped:connect(onEquippedLocal)
  449.  
  450.  
  451. end))
  452. Part5.Name = "Handle"
  453. Part5.Parent = Tool0
  454. Part5.BrickColor = BrickColor.new("Black")
  455. Part5.Rotation = Vector3.new(89.9700012, 89.9799957, -89.9700012)
  456. Part5.RotVelocity = Vector3.new(7.6569333e-05, -2.03606623e-06, -0.00690040272)
  457. Part5.Velocity = Vector3.new(0.00522823213, 0.0246386137, -2.94594247e-05)
  458. Part5.FormFactor = Enum.FormFactor.Plate
  459. Part5.Size = Vector3.new(1, 0.400000006, 3)
  460. Part5.CFrame = CFrame.new(28.210043, 1.20017695, 59.7199974, 3.29556471e-08, 7.12915571e-05, 0.99999994, -6.3768347e-08, 1, -7.12915571e-05, -0.99999994, -6.3768347e-08, 3.2960191e-08)
  461. Part5.BottomSurface = Enum.SurfaceType.Smooth
  462. Part5.TopSurface = Enum.SurfaceType.Smooth
  463. Part5.Color = Color3.new(0.105882, 0.164706, 0.207843)
  464. Part5.Position = Vector3.new(28.210043, 1.20017695, 59.7199974)
  465. Part5.Orientation = Vector3.new(0, 90, 0)
  466. Part5.Color = Color3.new(0.105882, 0.164706, 0.207843)
  467. SpecialMesh6.Parent = Part5
  468. SpecialMesh6.MeshId = "http://www.roblox.com/asset/?id=15886761"
  469. SpecialMesh6.TextureId = "http://www.roblox.com/asset/?id=15886781"
  470. SpecialMesh6.MeshType = Enum.MeshType.FileMesh
  471. Weld7.Parent = Part5
  472. Weld7.C1 = CFrame.new(0, 1, -0.399999976, 1, 0, 0, 0, -4.37113883e-08, -1, 0, 1, -4.37113883e-08)
  473. Weld8.Parent = Part5
  474. Weld8.C1 = CFrame.new(0, 0.5, -0.550000012, 1, 0, 0, 0, -4.37113883e-08, -1, 0, 1, -4.37113883e-08)
  475. Weld9.Parent = Part5
  476. Weld9.C1 = CFrame.new(0, 1, -0.399999976, 1, 0, 0, 0, -4.37113883e-08, -1, 0, 1, -4.37113883e-08)
  477. Weld10.Parent = Part5
  478. Weld10.C1 = CFrame.new(0, 0.5, -0.550000012, 1, 0, 0, 0, -4.37113883e-08, -1, 0, 1, -4.37113883e-08)
  479. Weld11.Parent = Part5
  480. Weld11.C1 = CFrame.new(0, 1, -0.399999976, 1, 0, 0, 0, -4.37113883e-08, -1, 0, 1, -4.37113883e-08)
  481. Weld12.Parent = Part5
  482. Weld12.C1 = CFrame.new(0, 0.5, -0.550000012, 1, 0, 0, 0, -4.37113883e-08, -1, 0, 1, -4.37113883e-08)
  483. Sound13.Name = "FireSound"
  484. Sound13.Parent = Part5
  485. Sound13.SoundId = "http://www.roblox.com/asset/?id=16211041"
  486. Sound13.Volume = 1
  487. Weld14.Name = "BoltWeld"
  488. Weld14.Parent = Part5
  489. Weld14.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  490. Weld15.Name = "BoltWeld"
  491. Weld15.Parent = Part5
  492. Weld15.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  493. Weld15.Part0 = Part5
  494. Weld15.Part1 = Part17
  495. Script16.Name = "CrossbowLauncher"
  496. Script16.Parent = Tool0
  497. table.insert(cors,sandbox(Script16,function()
  498. Tool = script.Parent
  499.  
  500.  
  501. function fire(v)
  502.  
  503.  
  504. local vCharacter = Tool.Parent
  505.  
  506. local vPlayer = game.Players:playerFromCharacter(vCharacter)
  507. Tool.Parent.Torso["Right Shoulder"].DesiredAngle = 3 --moves your arm as if firing.
  508.  
  509. local missile = Tool.Bolt:Clone()
  510.  
  511. -- find firing direction
  512.  
  513. local v1 = -Tool.Bolt.CFrame.lookVector.unit
  514. local v2 = v.unit
  515.  
  516.  
  517. local dot = (v1.x * v2.x) + (v1.y * v2.y) + (v1.z * v2.z)
  518. local ang = math.acos(dot)
  519.  
  520. -- test if in cone
  521. if (ang < 3.14 / 8) then
  522.  
  523. else
  524. -- not in cone, find projection
  525. -- n = v1 x v2
  526. --local n = Vector3.new(v1.y * v2.z - v1.z * v2.y, v1.z * v2.x - v1.x * v2.z, v1.z * v2.y - v1.y * v2.x)
  527.  
  528. --return
  529. end
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536. --missile.CFrame = Tool.Bolt.CFrame + (Tool.Bolt.CFrame.lookVector * -8)
  537. missile.CFrame = Tool.Bolt.CFrame + (v * 8)
  538.  
  539. missile.Transparency = 0
  540.  
  541. missile.Velocity = v * 40
  542.  
  543. missile.Name = "CrossbowBolt"
  544.  
  545. missile.Elasticity = 0
  546.  
  547.  
  548. local force = Instance.new("BodyForce")
  549.  
  550. force.force = Vector3.new(0,150,0)
  551.  
  552. force.Parent = missile
  553.  
  554. missile.BodyGyro.cframe = CFrame.new(Vector3.new(0,0,0), -Tool.Bolt.CFrame.lookVector.unit)
  555. missile.BodyGyro.maxTorque = Vector3.new(5e5,5e5,5e5)
  556.  
  557.  
  558.  
  559. local new_script = script.Parent.CrossbowBoltScript:clone()
  560.  
  561. new_script.Disabled = false
  562.  
  563. new_script.Parent = missile
  564.  
  565.  
  566.  
  567. local creator_tag = Instance.new("ObjectValue")
  568.  
  569. creator_tag.Value = vPlayer
  570.  
  571. creator_tag.Name = "creator"
  572.  
  573. creator_tag.Parent = missile
  574.  
  575.  
  576. missile.Parent = game.Workspace
  577.  
  578.  
  579.  
  580. end
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588. Tool.Enabled = true
  589.  
  590. function onActivated()
  591.  
  592.  
  593. if not Tool.Enabled then
  594.  
  595. return
  596.  
  597. end
  598.  
  599.  
  600. Tool.Enabled = false
  601.  
  602. local character = Tool.Parent;
  603.  
  604. local humanoid = character.Humanoid
  605.  
  606. if humanoid == nil then
  607.  
  608. print("Humanoid not found")
  609.  
  610. return
  611.  
  612. end
  613.  
  614. local targetPos = humanoid.TargetPoint
  615.  
  616. local lookAt = (targetPos - character.Head.Position).unit
  617.  
  618. Tool.Handle.FireSound:Play()
  619.  
  620. fire(lookAt)
  621.  
  622. wait(2)
  623.  
  624. Tool.Enabled = true
  625.  
  626. end
  627.  
  628.  
  629.  
  630.  
  631. script.Parent.Activated:connect(onActivated)
  632.  
  633.  
  634.  
  635.  
  636. end))
  637. Part17.Name = "Bolt"
  638. Part17.Parent = Tool0
  639. Part17.BrickColor = BrickColor.new("Dark stone grey")
  640. Part17.Rotation = Vector3.new(89.9700012, 89.9799957, -89.9700012)
  641. Part17.RotVelocity = Vector3.new(7.6569333e-05, -2.03606623e-06, -0.00690040272)
  642. Part17.Velocity = Vector3.new(0.00764258578, 0.0135977957, 5.88865078e-07)
  643. Part17.FormFactor = Enum.FormFactor.Plate
  644. Part17.Size = Vector3.new(1, 0.400000006, 2)
  645. Part17.CFrame = CFrame.new(29.8100681, 1.55006289, 59.7199974, 3.29556471e-08, 7.12915571e-05, 0.99999994, -6.3768347e-08, 1, -7.12915571e-05, -0.99999994, -6.3768347e-08, 3.2960191e-08)
  646. Part17.BottomSurface = Enum.SurfaceType.Smooth
  647. Part17.TopSurface = Enum.SurfaceType.Smooth
  648. Part17.Color = Color3.new(0.388235, 0.372549, 0.384314)
  649. Part17.Position = Vector3.new(29.8100681, 1.55006289, 59.7199974)
  650. Part17.Orientation = Vector3.new(0, 90, 0)
  651. Part17.Color = Color3.new(0.388235, 0.372549, 0.384314)
  652. SpecialMesh18.Parent = Part17
  653. SpecialMesh18.MeshId = "http://www.roblox.com/asset/?id=15887356"
  654. SpecialMesh18.TextureId = "http://www.roblox.com/asset/?id=15886781"
  655. SpecialMesh18.MeshType = Enum.MeshType.FileMesh
  656. Sound19.Name = "HitSound"
  657. Sound19.Parent = Part17
  658. Sound19.SoundId = "http://www.roblox.com/asset/?id=16211030"
  659. Sound19.Volume = 1
  660. BodyGyro20.Parent = Part17
  661. BodyGyro20.maxTorque = Vector3.new(0, 0, 0)
  662. BodyGyro20.MaxTorque = Vector3.new(0, 0, 0)
  663. LocalScript21.Name = "BackGun"
  664. LocalScript21.Parent = Tool0
  665. table.insert(cors,sandbox(LocalScript21,function()
  666. --made by alextomcool!!!---Edited by Sparttan.
  667. --to use: put in type of gun: barrel point left, barrel point right or bull-pup(main hande is in the middle of the gun)
  668. --step 2: put in what type of wepoan it is: assult rifle or pistol(there will be more)
  669. --to do list: make it easyer to modife how it weld's.
  670. guntype = 1--1 is assult rifle, 2 is bullpup, 3 is pistol, 4 is knife
  671. weldmode = 3--1 is barrel point upper-left, 2 is barrel pointing upper-right, 3 is barrel point lower-left and 4 is barrel point lower-right
  672. -------(note: if it is pistol or knife then 1 is on right leg, 2 is on left leg, 3 is in the back of your pants and 4 is in the front of your pants)
  673. model = nil--gun model, that is
  674. distance = 0.75--this is the distance between the part(torso/leg) and the gun. DON'T MAKE negitive
  675. rotation = 45--this is the turning in degrees.
  676. --this area is mode more for someone who's already good at gun's. please do not get mad at me if you don't understand what's under here
  677. y = 0--this is what's added to the current y value. positive number's make it go down. negative make's it go up
  678. x = 0--this is what's added to the x value(it's really the z value but it look's like the x value when on your back). positive number's make it go left. negative make's it go right
  679. -------------------------------------------------------------------------------------------------------------------------------------------------------------------
  680. --I suggest not doing anything else under here. All you should have to change is the weldmode and guntype.
  681. --guntype 1 and weldmode 1 is for assault. guntype 3 and weldmode 1 is pistol position.
  682. --Those are what I have done so far so give me time so I can edit them into the correct position.
  683. -------------------------------------------------------------------------------------------------------------------------------------------------------------------
  684. parts = {}
  685. local n = 1
  686. --can i have my
  687. function on(mouse)
  688. if model == nil then
  689. n = 1
  690. local m = Instance.new("Model")
  691. local all = script.Parent:GetChildren()
  692. for i = 1, #all do
  693. if all[i].className == "Part" then
  694. parts[n] = all[i].Transparency
  695. local brick = all[i]:clone()
  696. brick.Parent = m
  697. n = n +1
  698. end
  699. end
  700. wait()
  701. if model == nil then
  702. local weld = script:FindFirstChild("Weld2")
  703. if weld ~= nil then
  704. local new = weld:clone()
  705. new.Disabled = false
  706. new.Parent = m
  707. m.Name = script.Parent.Name
  708. m.Parent = script.Parent.Parent
  709. model = m
  710. local handle = model:FindFirstChild("Handle")
  711. if handle ~= nil then
  712. --------------------------------------------------------------------------------
  713. --------------------------------------------------------------------------------
  714. --------------------------------------------------------------------------------
  715. --------------------------------------------------------------------------------
  716. --------------------------------------------------------------------------------
  717. if guntype == 1 then
  718. local torso = model.Parent:FindFirstChild("Torso")
  719. if torso ~= nil then
  720. if weldmode == 1 then--barrel pointing upper-right
  721. local w = Instance.new("Weld")
  722. w.Part0 = torso
  723. w.Parent = w.Part0
  724. w.Part1 = handle
  725. w.C1 = CFrame.new(distance *-1, 0.25 +y, -0.75 +x *-1) * CFrame.fromEulerAnglesXYZ(math.rad(rotation *-1), (math.pi / 2), 0)
  726. elseif weldmode == 2 then--barrel pointing upper-left
  727. local w = Instance.new("Weld")
  728. w.Part0 = torso
  729. w.Parent = w.Part0
  730. w.Part1 = handle
  731. w.C1 = CFrame.new(distance, 0.25 +y, -0.75 +x *-1) * CFrame.fromEulerAnglesXYZ(math.rad(rotation *-1), (math.pi / 2 ) *-1, 0)
  732. elseif weldmode == 3 then--barrel pointing upside-right
  733. local w = Instance.new("Weld")
  734. w.Part0 = torso
  735. w.Parent = w.Part0
  736. w.Part1 = handle
  737. w.C1 = CFrame.new(distance *-1, -0.1+y, 0.2 +x *-1) * CFrame.fromEulerAnglesXYZ(math.rad(rotation), (math.pi / 2), -1.5)
  738. elseif weldmode == 4 then--barrel pointing upside-left
  739. local w = Instance.new("Weld")
  740. w.Part0 = torso
  741. w.Parent = w.Part0
  742. w.Part1 = handle
  743. w.C1 = CFrame.new(distance, 0.25+y, -0.75 +x *-1) * CFrame.fromEulerAnglesXYZ(math.rad(rotation), (math.pi / 2 +rotation) *-1.1, 1)
  744. end
  745. end
  746. --------------------------------------------------------------------------------
  747. --------------------------------------------------------------------------------
  748. --------------------------------------------------------------------------------
  749. --------------------------------------------------------------------------------
  750. --------------------------------------------------------------------------------
  751. elseif guntype == 2 then--BullPup
  752. local torso = model.Parent:FindFirstChild("Torso")
  753. if torso ~= nil then
  754. if weldmode == 1 then--barrel pointing upper-right
  755. local w = Instance.new("Weld")
  756. w.Part0 = torso
  757. w.Parent = w.Part0
  758. w.Part1 = handle
  759. w.C1 = CFrame.new(distance *-1, 0.25+y, -0.5 +x *-1) * CFrame.fromEulerAnglesXYZ(math.rad(rotation *-1), math.pi / 2, 0)
  760. elseif weldmode == 2 then--barrel pointing upper-left
  761. local w = Instance.new("Weld")
  762. w.Part0 = torso
  763. w.Parent = w.Part0
  764. w.Part1 = handle
  765. w.C1 = CFrame.new(distance, 0.25 +y, -0.5 +x *-1) * CFrame.fromEulerAnglesXYZ(math.rad(rotation *-1), math.pi / 2 *-1, 0)
  766. elseif weldmode == 3 then--barrel pointing upside-right
  767. local w = Instance.new("Weld")
  768. w.Part0 = torso
  769. w.Parent = w.Part0
  770. w.Part1 = handle
  771. w.C1 = CFrame.new(distance *-1, 0.25 +y, -0.5 +x *-1) * CFrame.fromEulerAnglesXYZ(math.rad(rotation), math.pi / 2, 0)
  772. elseif weldmode == 4 then--barrel pointing upside-left
  773. local w = Instance.new("Weld")
  774. w.Part0 = torso
  775. w.Parent = w.Part0
  776. w.Part1 = handle
  777. w.C1 = CFrame.new(distance, 0.25 +y, -0.5 +x *-1) * CFrame.fromEulerAnglesXYZ(math.rad(rotation), math.pi / 2 *-1, 0)
  778. end
  779. end
  780. --------------------------------------------------------------------------------
  781. --------------------------------------------------------------------------------
  782. --------------------------------------------------------------------------------
  783. --------------------------------------------------------------------------------
  784. --------------------------------------------------------------------------------
  785. elseif guntype == 3 then--pistol
  786. local lleg = model.Parent:FindFirstChild("Left Leg")
  787. local rleg = model.Parent:FindFirstChild("Right Leg")
  788. if lleg ~= nil and rleg ~= nil then
  789. if weldmode == 1 then--pistol on right leg
  790. local w = Instance.new("Weld")
  791. w.Part0 = rleg
  792. w.Parent = w.Part0
  793. w.Part1 = handle
  794. w.C1 = CFrame.new(distance *-1, 0 +y, -0.25 +x *-1) * CFrame.fromEulerAnglesXYZ(math.pi / 2, 0, 0)
  795. elseif weldmode == 2 then--pistol on left leg
  796. local w = Instance.new("Weld")
  797. w.Part0 = lleg
  798. w.Parent = w.Part0
  799. w.Part1 = handle
  800. w.C1 = CFrame.new(distance, 0 +y, -0.25 +x *-1) * CFrame.fromEulerAnglesXYZ(math.pi / 2, 0, 0)
  801. elseif weldmode == 3 then--knife in pant's back, gangsta like
  802. local w = Instance.new("Weld")
  803. w.Part0 = torso
  804. w.Parent = w.Part0
  805. w.Part1 = handle
  806. w.C1 = CFrame.new(distance *-1, 0 +y, 0.25 +x) * CFrame.fromEulerAnglesXYZ(math.pi / 2 , math.pi / 2, 0)
  807. elseif weldmode == 4 then--knife in pant's front, gangsta like
  808. local w = Instance.new("Weld")
  809. w.Part0 = torso
  810. w.Parent = w.Part0
  811. w.Part1 = handle
  812. w.C1 = CFrame.new(distance, 0 +y, 0.25 +x) * CFrame.fromEulerAnglesXYZ(math.pi / 2 , math.pi / 2 *-1, 0)
  813. end
  814. end
  815. --------------------------------------------------------------------------------
  816. --------------------------------------------------------------------------------
  817. --------------------------------------------------------------------------------
  818. --------------------------------------------------------------------------------
  819. --------------------------------------------------------------------------------
  820. elseif guntype == 4 then--knife
  821. local lleg = model.Parent:FindFirstChild("Left Leg")
  822. local rleg = model.Parent:FindFirstChild("Right Leg")
  823. local torso = model.Parent:FindFirstChild("Torso")
  824. if lleg ~= nil and rleg ~= nil and torso ~= nil then
  825. if weldmode == 1 then--pistol on right leg
  826. local w = Instance.new("Weld")
  827. w.Part0 = rleg
  828. w.Parent = w.Part0
  829. w.Part1 = handle
  830. w.C1 = CFrame.new(distance *-1, 0.15 +y, -0.25 +x *-1) * CFrame.fromEulerAnglesXYZ(math.pi, 0, 0)
  831. elseif weldmode == 2 then--pistol on left leg
  832. local w = Instance.new("Weld")
  833. w.Part0 = lleg
  834. w.Parent = w.Part0
  835. w.Part1 = handle
  836. w.C1 = CFrame.new(distance, 0.15 +y, -0.25 +x *-1) * CFrame.fromEulerAnglesXYZ(math.pi, 0, 0)
  837. elseif weldmode == 3 then--knife in pant's back, gangsta like
  838. local w = Instance.new("Weld")
  839. w.Part0 = torso
  840. w.Parent = w.Part0
  841. w.Part1 = handle
  842. w.C1 = CFrame.new(distance *-1, 0 +y, 0.25 +x) * CFrame.fromEulerAnglesXYZ(math.pi , math.pi / 2, 0)
  843. elseif weldmode == 4 then--knife in pant's front, gangsta like
  844. local w = Instance.new("Weld")
  845. w.Part0 = torso
  846. w.Parent = w.Part0
  847. w.Part1 = handle
  848. w.C1 = CFrame.new(distance, 0 +y, 0.25 +x) * CFrame.fromEulerAnglesXYZ(math.pi , math.pi / 2 *-1, 0)
  849. end
  850. end
  851. end
  852. end
  853. end
  854. end
  855. end
  856. --------------------------------------------------------------------------------
  857. --------------------------------------------------------------------------------
  858. --------------------------------------------------------------------------------
  859. --------------------------------------------------------------------------------
  860. --------------------------------------------------------------------------------
  861. if model ~= nil then
  862. n = 1
  863. local all = model:GetChildren()
  864. for i = 1, #all do
  865. if all[i].className == "Part" then
  866. all[i].Transparency = 1
  867. end
  868. end
  869. end
  870. end
  871. --check
  872. function off(mouse)
  873. if model ~= nil then
  874. n = 1
  875. local all = model:GetChildren()
  876. for i = 1, #all do
  877. if all[i].className == "Part" then
  878. all[i].Transparency = parts[n]
  879. local Do = true
  880. if Do then
  881. Do = false--dude!
  882. n = n +1
  883. end
  884. end
  885. end
  886. end
  887. end
  888. --please?
  889. script.Parent.Equipped:connect(on)
  890. script.Parent.Unequipped:connect(off)
  891. end))
  892. LocalScript22.Name = "Weld2"
  893. LocalScript22.Parent = LocalScript21
  894. LocalScript22.Disabled = true
  895. table.insert(cors,sandbox(LocalScript22,function()
  896. function Weld(x,y)
  897. local W = Instance.new("Weld")
  898. W.Part0 = x
  899. W.Part1 = y
  900. local CJ = CFrame.new(x.Position)
  901. local C0 = x.CFrame:inverse()*CJ
  902. local C1 = y.CFrame:inverse()*CJ
  903. W.C0 = C0
  904. W.C1 = C1
  905. W.Parent = x
  906. end
  907.  
  908. function Get(A)
  909. if A.className == "Part" then
  910. Weld(script.Parent.Handle, A)
  911. A.Anchored = false
  912. else
  913. local C = A:GetChildren()
  914. for i=1, #C do
  915. Get(C[i])
  916. end
  917. end
  918. end
  919. local yes = true
  920. if yes then
  921. yes = false
  922. Get(script.Parent)
  923. end
  924. function onDied()
  925. script.Parent.Parent = nil
  926. end
  927. h = script.Parent.Parent:FindFirstChild("Humanoid")
  928. if h ~= nil then
  929. h.Died:connect(onDied)
  930. end
  931.  
  932. end))
  933. Tool23.Name = "FissionBlackHoleBomb"
  934. Tool23.Parent = mas
  935. Tool23.GripForward = Vector3.new(-0, 1, -0)
  936. Tool23.GripUp = Vector3.new(0, 0, 1)
  937. Part24.Name = "Handle"
  938. Part24.Parent = Tool23
  939. Part24.Rotation = Vector3.new(-89.9499969, 0, 179.539993)
  940. Part24.FormFactor = Enum.FormFactor.Symmetric
  941. Part24.Shape = Enum.PartType.Ball
  942. Part24.Size = Vector3.new(2, 2, 2)
  943. Part24.CFrame = CFrame.new(-16.3574963, 4.5989399, -62.6951408, -0.999967933, -0.00797146745, -6.34748039e-06, -3.72146801e-12, -0.000796274282, 0.999999642, -0.00797146931, 0.999967694, 0.000796248845)
  944. Part24.BottomSurface = Enum.SurfaceType.Smooth
  945. Part24.TopSurface = Enum.SurfaceType.Smooth
  946. Part24.Position = Vector3.new(-16.3574963, 4.5989399, -62.6951408)
  947. Part24.Orientation = Vector3.new(-89.9499969, -0.459999979, -180)
  948. SpecialMesh25.Parent = Part24
  949. SpecialMesh25.MeshId = "http://www.roblox.com/asset/?id=27295548"
  950. SpecialMesh25.TextureId = "http://www.roblox.com/asset/?id=27295594"
  951. SpecialMesh25.MeshType = Enum.MeshType.FileMesh
  952. Script26.Name = "PlantBomb"
  953. Script26.Parent = Tool23
  954. table.insert(cors,sandbox(Script26,function()
  955. local bombScript = script.Parent.Bomb
  956. local Tool = script.Parent
  957. local Bomb = Tool.Handle
  958.  
  959. function plant()
  960. local bomb2 = Instance.new("Part")
  961.  
  962. local vCharacter = Tool.Parent
  963. local vPlayer = game.Players:playerFromCharacter(vCharacter)
  964.  
  965. local spawnPos = Bomb.Position
  966.  
  967. bomb2.Position = Vector3.new(spawnPos.x, spawnPos.y+3, spawnPos.z)
  968. bomb2.Size = Vector3.new(2,2,2)
  969.  
  970. bomb2.BrickColor = BrickColor.new(21)
  971. bomb2.Shape = 0
  972. bomb2.BottomSurface = 0
  973. bomb2.TopSurface = 0
  974. bomb2.Material = "Neon"
  975. bomb2.Reflectance = 0
  976. bomb2.Name = "TimeBomb"
  977. bomb2.Locked = true
  978.  
  979. local creator_tag = Instance.new("ObjectValue")
  980. creator_tag.Value = vPlayer
  981. creator_tag.Name = "creator"
  982. creator_tag.Parent = bomb2
  983.  
  984. bomb2.Parent = game.Workspace
  985. local new_script = bombScript:clone()
  986. new_script.Disabled = false
  987. new_script.Parent = bomb2
  988. wait(3)
  989. NWS2 = script.Parent.Script:Clone()
  990. NWS2.Disabled = false
  991. NWS2.Parent = bomb2
  992.  
  993.  
  994. wait(0.3)
  995. for bomby = 1,21 do
  996. wait()
  997.  
  998. bomb2.Size = bomb2.Size + Vector3.new(1,1,1)
  999.  
  1000.  
  1001. end
  1002.  
  1003. end
  1004.  
  1005.  
  1006. Tool.Enabled = true
  1007. function onActivated()
  1008.  
  1009. if not Tool.Enabled then
  1010. return
  1011. end
  1012.  
  1013. Tool.Enabled = false
  1014.  
  1015. local character = Tool.Parent;
  1016. local humanoid = character.Humanoid
  1017. if humanoid == nil then
  1018. print("Humanoid not found")
  1019. return
  1020. end
  1021.  
  1022. local targetPos = humanoid.TargetPoint
  1023. Bomb.Transparency = 1.0
  1024.  
  1025. plant()
  1026.  
  1027. wait(9)
  1028. Bomb.Transparency = 0.0
  1029.  
  1030. Tool.Enabled = true
  1031. end
  1032.  
  1033. function onUnequipped()
  1034. end
  1035.  
  1036.  
  1037. Tool.Activated:connect(onActivated)
  1038. Tool.Unequipped:connect(onUnequipped)
  1039. end))
  1040. Script27.Name = "Bomb"
  1041. Script27.Parent = Tool23
  1042. Script27.Disabled = true
  1043. table.insert(cors,sandbox(Script27,function()
  1044. local updateInterval = .4
  1045.  
  1046. local currentColor = 1
  1047. local colors = {26, 21,45,67,23,65}
  1048. local trans = {0.2,0.3,0.4,0.5,0.6,0.1,0}
  1049. local ticksound = Instance.new("Sound")
  1050. ticksound.SoundId = "rbxasset://sounds\\clickfast.wav"
  1051. ticksound.Parent = script.Parent
  1052.  
  1053. function update()
  1054. updateInterval = updateInterval * .9
  1055. script.Parent.BrickColor = BrickColor.new(colors[currentColor])
  1056. script.Parent.Transparency = trans[math.random(1,#trans)]
  1057. currentColor = currentColor + 1
  1058. if (currentColor > 2) then currentColor = 1 end
  1059. end
  1060. Bomb = script.Parent
  1061.  
  1062. function blowUp()
  1063. local sound = Instance.new("Sound")
  1064. sound.SoundId = "rbxasset://sounds\\Rocket shot.wav"
  1065. sound.Parent = script.Parent
  1066. sound.Volume = 1
  1067. sound:play()
  1068. explosion = Instance.new("Explosion")
  1069. explosion.BlastRadius = 455
  1070. explosion.BlastPressure = 1000000 -- these are really wussy units
  1071. local bomb2 = Instance.new("Part")
  1072.  
  1073. bomb2.Position =script.Parent.Position
  1074. bomb2.Size = Vector3.new(2,2,2)
  1075. bomb2.Parent = workspace
  1076. bomb2.BrickColor = BrickColor.new("New Yeller")
  1077. bomb2.Shape = 0
  1078. bomb2.BottomSurface = 0
  1079. bomb2.Anchored = true
  1080. bomb2.TopSurface = 0
  1081. bomb2.Material = "Neon"
  1082. bomb2.Reflectance = 0
  1083. bomb2.Name = "TimeBomb"
  1084. bomb2.Locked = true
  1085.  
  1086.  
  1087. -- find instigator tag
  1088. local creator = script.Parent:findFirstChild("creator")
  1089. if creator ~= nil then
  1090. explosion.Hit:connect(function(part, distance) onPlayerBlownUp(part, distance, creator) end)
  1091. end
  1092.  
  1093. explosion.Position = script.Parent.Position
  1094. explosion.Parent = game.Workspace
  1095.  
  1096. script.Parent.Transparency = 1
  1097.  
  1098.  
  1099.  
  1100.  
  1101.  
  1102. for n = 1,12 do
  1103. wait()
  1104. bomb2.Size = bomb2.Size + Vector3.new(2,2,2)
  1105.  
  1106. end
  1107.  
  1108. bomb2:Destroy()
  1109. end
  1110.  
  1111. function onPlayerBlownUp(part, distance, creator)
  1112. if part.Name == "Head" then
  1113. local humanoid = part.Parent.Humanoid
  1114. tagHumanoid(humanoid, creator)
  1115. end
  1116. end
  1117.  
  1118. function tagHumanoid(humanoid, creator)
  1119. -- tag does not need to expire iff all explosions lethal
  1120. if creator ~= nil then
  1121. local new_tag = creator:clone()
  1122. new_tag.Parent = humanoid
  1123. end
  1124. end
  1125.  
  1126. function untagHumanoid(humanoid)
  1127. if humanoid ~= nil then
  1128. local tag = humanoid:findFirstChild("creator")
  1129. if tag ~= nil then
  1130. tag.Parent = nil
  1131. end
  1132. end
  1133. end
  1134.  
  1135. while updateInterval > .1 do
  1136. wait(0.001)
  1137. update()
  1138. ticksound:play()
  1139. end
  1140.  
  1141. blowUp()
  1142. wait(2)
  1143. script.Parent:remove()
  1144.  
  1145. end))
  1146. LocalScript28.Name = "MouseIcon"
  1147. LocalScript28.Parent = Tool23
  1148. table.insert(cors,sandbox(LocalScript28,function()
  1149. local MOUSE_ICON = 'rbxasset://textures/GunCursor.png'
  1150. local RELOADING_ICON = 'rbxasset://textures/GunWaitCursor.png'
  1151.  
  1152. local Tool = script.Parent
  1153.  
  1154. local Mouse = nil
  1155.  
  1156. local function UpdateIcon()
  1157. if Mouse then
  1158. Mouse.Icon = Tool.Enabled and MOUSE_ICON or RELOADING_ICON
  1159. end
  1160. end
  1161.  
  1162. local function OnEquipped(mouse)
  1163. Mouse = mouse
  1164. UpdateIcon()
  1165. end
  1166.  
  1167. local function OnChanged(property)
  1168. if property == 'Enabled' then
  1169. UpdateIcon()
  1170. end
  1171. end
  1172.  
  1173. Tool.Equipped:connect(OnEquipped)
  1174. Tool.Changed:connect(OnChanged)
  1175.  
  1176. end))
  1177. Script29.Parent = Tool23
  1178. Script29.Disabled = true
  1179. table.insert(cors,sandbox(Script29,function()
  1180.  
  1181. local hole = script.Parent
  1182. local childList = {}
  1183.  
  1184. local massConstant = 22.34 -- Generally a good value
  1185.  
  1186. local mass = 124343.112 * massConstant
  1187.  
  1188. -- This is basically a function that finds all unanchored parts and adds them to childList.
  1189. -- Note: This should only be run once for each object
  1190. function checkObject(obj)
  1191. if (obj ~= hole) and (obj.className == "Part") then
  1192. if (obj.Anchored == false) then
  1193. table.insert(childList, 1, obj)
  1194. end
  1195. elseif (obj.className == "Model") or (obj.className == "Hat") or (obj.className == "Tool") or (obj == workspace) then
  1196. local child = obj:GetChildren()
  1197. for x = 1, #child do
  1198. checkObject(child[x])
  1199. end
  1200. obj.ChildAdded:connect(checkObject)
  1201. end
  1202. end
  1203.  
  1204. checkObject(workspace)
  1205.  
  1206. print("Black Hole script loaded.")
  1207.  
  1208. local n = 0
  1209. while true do
  1210. if n < #childList then
  1211. n = n + 1
  1212. if n % 800 == 0 then
  1213. wait()
  1214. end
  1215. else
  1216. n = 1
  1217. wait()
  1218. end
  1219.  
  1220. local child = childList[n]
  1221. if (child ~= hole) and (child.className == "Part") and (child.Anchored == false) then
  1222. local relPos = hole.Position - child.Position
  1223. local motivator = child:FindFirstChild("BlackHole Influence")
  1224. if relPos.magnitude * 240 * massConstant < mass then
  1225. child:BreakJoints()
  1226. if (relPos.magnitude * 320 * massConstant < mass) and (child.Size.z + hole.Size.x > relPos.magnitude * 2 - 4) then
  1227. mass = mass + child:GetMass()
  1228. child:Remove()
  1229. table.remove(childList, n)
  1230. n = n - 1 -- This is the reason I need a counter of my own design
  1231. else
  1232. child.CanCollide = false -- I Can assume that things won't escape the black hole.
  1233. if motivator == nil then
  1234. motivator = Instance.new("BodyPosition")
  1235. motivator.Parent = child
  1236. motivator.Name = "BlackHole Influence"
  1237. end
  1238. motivator.position = hole.Position
  1239. motivator.maxForce = Vector3.new(1, 1, 1) * mass * child:GetMass() / (relPos.magnitude * massConstant)
  1240. end
  1241. elseif motivator ~= nil then
  1242. motivator:Remove()
  1243. end
  1244. end
  1245. end
  1246. end))
  1247. Tool30.Name = "Fly"
  1248. Tool30.Parent = mas
  1249. Part31.Name = "Missile"
  1250. Part31.Parent = Tool30
  1251. Part31.Transparency = 1
  1252. Part31.Rotation = Vector3.new(90, -45, 90.0199966)
  1253. Part31.FormFactor = Enum.FormFactor.Custom
  1254. Part31.Size = Vector3.new(2, 2, 1.20000005)
  1255. Part31.CFrame = CFrame.new(37.545845, 11.3132257, 33.2476311, -0.000282514171, -0.707105935, -0.707107544, 0.000282514171, 0.707106948, -0.707106531, 0.999999344, -0.000398885226, -3.98868327e-10)
  1256. Part31.BottomSurface = Enum.SurfaceType.Weld
  1257. Part31.TopSurface = Enum.SurfaceType.Smooth
  1258. Part31.Position = Vector3.new(37.545845, 11.3132257, 33.2476311)
  1259. Part31.Orientation = Vector3.new(45, -90, 0.0199999996)
  1260. ParticleEmitter32.Parent = Part31
  1261. ParticleEmitter32.Size = NumberSequence.new(5,7.5,2.4374997615814,2.8749995231628,4.7499995231628,8,2.8749995231628,4.625,2.8749995231628,5)
  1262. ParticleEmitter32.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.666667, 0),Color3.new(0.65098, 0.458824, 0.101961),Color3.new(1, 0.333333, 0),Color3.new(1, 0, 0),Color3.new(1, 0.666667, 0.498039),Color3.new(0.666667, 0, 0),Color3.new(1, 1, 0),Color3.new(1, 1, 1))
  1263. ParticleEmitter32.LightEmission = 33
  1264. ParticleEmitter32.Lifetime = NumberRange.new(1, 4)
  1265. ParticleEmitter32.Rate = 1001313216
  1266. ParticleEmitter32.Speed = NumberRange.new(4, 4)
  1267. ParticleEmitter32.VelocitySpread = 45
  1268. ParticleEmitter32.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.666667, 0),Color3.new(0.65098, 0.458824, 0.101961),Color3.new(1, 0.333333, 0),Color3.new(1, 0, 0),Color3.new(1, 0.666667, 0.498039),Color3.new(0.666667, 0, 0),Color3.new(1, 1, 0),Color3.new(1, 1, 1))
  1269. Part33.Name = "Handle"
  1270. Part33.Parent = Tool30
  1271. Part33.Rotation = Vector3.new(-90.0299988, -45, -90.0199966)
  1272. Part33.FormFactor = Enum.FormFactor.Custom
  1273. Part33.Size = Vector3.new(2, 2, 14)
  1274. Part33.CFrame = CFrame.new(43.201992, 5.65713692, 33.2507782, -0.000281999994, 0.707107365, -0.707106233, 0.000281999994, 0.707106352, 0.707107246, 1, 2.76486528e-10, -0.000398808188)
  1275. Part33.BottomSurface = Enum.SurfaceType.Smooth
  1276. Part33.TopSurface = Enum.SurfaceType.Smooth
  1277. Part33.Position = Vector3.new(43.201992, 5.65713692, 33.2507782)
  1278. Part33.Orientation = Vector3.new(-45, -90.0299988, 0.0199999996)
  1279. SpecialMesh34.Parent = Part33
  1280. SpecialMesh34.MeshId = "http://www.roblox.com/asset/?id=103970395"
  1281. SpecialMesh34.Scale = Vector3.new(10, 10, 10)
  1282. SpecialMesh34.TextureId = "http://www.roblox.com/asset/?id=103967643"
  1283. SpecialMesh34.MeshType = Enum.MeshType.FileMesh
  1284. SpecialMesh34.Scale = Vector3.new(10, 10, 10)
  1285. BodyForce35.Parent = Part33
  1286. BodyForce35.force = Vector3.new(0, 8200, 0)
  1287. Script36.Parent = Part33
  1288. table.insert(cors,sandbox(Script36,function()
  1289. while true do
  1290. wait()
  1291. script.Parent.Velocity = script.Parent.CFrame.lookVector * 100
  1292. end
  1293. end))
  1294. ClickDetector37.Parent = Part33
  1295. Weld38.Parent = Part33
  1296. Weld38.Part0 = Part33
  1297. Weld38.Part1 = Part31
  1298. BodyForce39.Parent = Part33
  1299. BodyForce39.force = Vector3.new(234, 3454, 233)
  1300. BodyThrust40.Parent = Part33
  1301. BodyThrust40.force = Vector3.new(0, 3544, 0)
  1302. BodyGyro41.Parent = Part33
  1303. RocketPropulsion42.Parent = Part33
  1304. RocketPropulsion42.MaxSpeed = 23
  1305. RocketPropulsion42.ThrustP = 34
  1306. BodyAngularVelocity43.Parent = Part33
  1307. BodyAngularVelocity43.maxTorque = Vector3.new(1233, 7898, 2344)
  1308. BodyAngularVelocity43.P = 677
  1309. BodyAngularVelocity43.MaxTorque = Vector3.new(1233, 7898, 2344)
  1310. BodyAngularVelocity43.AngularVelocity = Vector3.new(1, 34, 1)
  1311. Tool44.Name = "Insert Rocket"
  1312. Tool44.Parent = mas
  1313. Tool44.GripForward = Vector3.new(-1, -0, -0)
  1314. Tool44.GripPos = Vector3.new(0, 0, -1.5)
  1315. Tool44.GripRight = Vector3.new(0, 1, 0)
  1316. Tool44.GripUp = Vector3.new(0, 0, 1)
  1317. Tool44.ToolTip = "Mostly for fun"
  1318. Part45.Name = "Handle"
  1319. Part45.Parent = Tool44
  1320. Part45.BrickColor = BrickColor.new("Dark stone grey")
  1321. Part45.Reflectance = 0.40000000596046
  1322. Part45.Rotation = Vector3.new(-97.2200012, 3.53999996, 100.159996)
  1323. Part45.Locked = true
  1324. Part45.FormFactor = Enum.FormFactor.Plate
  1325. Part45.Size = Vector3.new(1, 0.800000012, 4)
  1326. Part45.CFrame = CFrame.new(2.1361649, 2.0698061, 28.6099873, -0.176020056, -0.982447624, 0.0617537685, -0.11282704, 0.0824548975, 0.990187585, -0.977899373, 0.167325348, -0.125360385)
  1327. Part45.BottomSurface = Enum.SurfaceType.Smooth
  1328. Part45.TopSurface = Enum.SurfaceType.Smooth
  1329. Part45.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1330. Part45.Position = Vector3.new(2.1361649, 2.0698061, 28.6099873)
  1331. Part45.Orientation = Vector3.new(-81.9700012, 153.769989, -53.8400002)
  1332. Part45.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1333. Sound46.Name = "BigSlash"
  1334. Sound46.Parent = Part45
  1335. Sound46.Pitch = 0.69999998807907
  1336. Sound46.SoundId = "rbxassetid://186936370"
  1337. Sound46.Volume = 1
  1338. Sound47.Name = "Blood"
  1339. Sound47.Parent = Part45
  1340. Sound47.Pitch = 0.5
  1341. Sound47.SoundId = "rbxassetid://96667969"
  1342. Sound47.TimePosition = 0.05
  1343. Sound47.Volume = 1
  1344. Sound48.Name = "Hit"
  1345. Sound48.Parent = Part45
  1346. Sound48.Pitch = 0.5
  1347. Sound48.SoundId = "rbxassetid://96667969"
  1348. Sound48.TimePosition = 0.05
  1349. Sound48.Volume = 2
  1350. Sound49.Parent = Part45
  1351. Sound49.SoundId = "rbxasset://sounds/SwordSlash.wav"
  1352. Sound49.Volume = 1
  1353. Sound50.Name = "Swing"
  1354. Sound50.Parent = Part45
  1355. Sound50.SoundId = "rbxassetid://169310429"
  1356. Sound50.Volume = 1
  1357. Sound51.Name = "SwingSpecial"
  1358. Sound51.Parent = Part45
  1359. Sound51.Pitch = 1.2000000476837
  1360. Sound51.SoundId = "rbxassetid://169310429"
  1361. Sound51.Volume = 1
  1362. Fire52.Parent = Part45
  1363. Fire52.Color = Color3.new(0.92549, 0.545098, 0.27451)
  1364. Fire52.Enabled = false
  1365. Fire52.Color = Color3.new(0.92549, 0.545098, 0.27451)
  1366. SpecialMesh53.Parent = Part45
  1367. SpecialMesh53.MeshId = "http://www.roblox.com/asset/?id=31601976"
  1368. SpecialMesh53.Offset = Vector3.new(0, -3, 0)
  1369. SpecialMesh53.Scale = Vector3.new(2, 2, 2)
  1370. SpecialMesh53.TextureId = "http://www.roblox.com/asset/?id=31601599"
  1371. SpecialMesh53.MeshType = Enum.MeshType.FileMesh
  1372. SpecialMesh53.Scale = Vector3.new(2, 2, 2)
  1373. Script54.Name = "qPerfectionWeld"
  1374. Script54.Parent = Tool44
  1375. table.insert(cors,sandbox(Script54,function()
  1376. -- Created by Quenty (@Quenty, follow me on twitter).
  1377. -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera.
  1378. -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.
  1379.  
  1380. --[[ INSTRUCTIONS
  1381. - Place in the model
  1382. - Make sure model is anchored
  1383. - That's it. It will weld the model and all children.
  1384.  
  1385. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  1386. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  1387. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  1388. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  1389. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  1390. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  1391. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  1392. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  1393.  
  1394. This script is designed to be used is a regular script. In a local script it will weld, but it will not attempt to handle ancestory changes.
  1395. ]]
  1396.  
  1397. --[[ DOCUMENTATION
  1398. - Will work in tools. If ran more than once it will not create more than one weld. This is especially useful for tools that are dropped and then picked up again.
  1399. - Will work in PBS servers
  1400. - Will work as long as it starts out with the part anchored
  1401. - Stores the relative CFrame as a CFrame value
  1402. - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin
  1403. - Utilizes a recursive algorith to find all parts in the model
  1404. - Will reweld on script reparent if the script is initially parented to a tool.
  1405. - Welds as fast as possible
  1406. ]]
  1407.  
  1408. -- qPerfectionWeld.lua
  1409. -- Created 10/6/2014
  1410. -- Author: Quenty
  1411. -- Version 1.0.3
  1412.  
  1413. -- Updated 10/14/2014 - Updated to 1.0.1
  1414. --- Bug fix with existing ROBLOX welds ? Repro by asimo3089
  1415.  
  1416. -- Updated 10/14/2014 - Updated to 1.0.2
  1417. --- Fixed bug fix.
  1418.  
  1419. -- Updated 10/14/2014 - Updated to 1.0.3
  1420. --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/
  1421.  
  1422. local NEVER_BREAK_JOINTS = false -- If you set this to true it will never break joints (this can create some welding issues, but can save stuff like hinges).
  1423.  
  1424.  
  1425. local function CallOnChildren(Instance, FunctionToCall)
  1426. -- Calls a function on each of the children of a certain object, using recursion.
  1427.  
  1428. FunctionToCall(Instance)
  1429.  
  1430. for _, Child in next, Instance:GetChildren() do
  1431. CallOnChildren(Child, FunctionToCall)
  1432. end
  1433. end
  1434.  
  1435. local function GetNearestParent(Instance, ClassName)
  1436. -- Returns the nearest parent of a certain class, or returns nil
  1437.  
  1438. local Ancestor = Instance
  1439. repeat
  1440. Ancestor = Ancestor.Parent
  1441. if Ancestor == nil then
  1442. return nil
  1443. end
  1444. until Ancestor:IsA(ClassName)
  1445.  
  1446. return Ancestor
  1447. end
  1448.  
  1449. local function GetBricks(StartInstance)
  1450. local List = {}
  1451.  
  1452. -- if StartInstance:IsA("BasePart") then
  1453. -- List[#List+1] = StartInstance
  1454. -- end
  1455.  
  1456. CallOnChildren(StartInstance, function(Item)
  1457. if Item:IsA("BasePart") then
  1458. List[#List+1] = Item;
  1459. end
  1460. end)
  1461.  
  1462. return List
  1463. end
  1464.  
  1465. local function Modify(Instance, Values)
  1466. -- Modifies an Instance by using a table.
  1467.  
  1468. assert(type(Values) == "table", "Values is not a table");
  1469.  
  1470. for Index, Value in next, Values do
  1471. if type(Index) == "number" then
  1472. Value.Parent = Instance
  1473. else
  1474. Instance[Index] = Value
  1475. end
  1476. end
  1477. return Instance
  1478. end
  1479.  
  1480. local function Make(ClassType, Properties)
  1481. -- Using a syntax hack to create a nice way to Make new items.
  1482.  
  1483. return Modify(Instance.new(ClassType), Properties)
  1484. end
  1485.  
  1486. local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
  1487. local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
  1488.  
  1489. local function HasWheelJoint(Part)
  1490. for _, SurfaceName in pairs(Surfaces) do
  1491. for _, HingSurfaceName in pairs(HingSurfaces) do
  1492. if Part[SurfaceName].Name == HingSurfaceName then
  1493. return true
  1494. end
  1495. end
  1496. end
  1497.  
  1498. return false
  1499. end
  1500.  
  1501. local function ShouldBreakJoints(Part)
  1502. --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
  1503. -- definitely some edge cases.
  1504.  
  1505. if NEVER_BREAK_JOINTS then
  1506. return false
  1507. end
  1508.  
  1509. if HasWheelJoint(Part) then
  1510. return false
  1511. end
  1512.  
  1513. local Connected = Part:GetConnectedParts()
  1514.  
  1515. if #Connected == 1 then
  1516. return false
  1517. end
  1518.  
  1519. for _, Item in pairs(Connected) do
  1520. if HasWheelJoint(Item) then
  1521. return false
  1522. elseif not Item:IsDescendantOf(script.Parent) then
  1523. return false
  1524. end
  1525. end
  1526.  
  1527. return true
  1528. end
  1529.  
  1530. local function WeldTogether(Part0, Part1, JointType, WeldParent)
  1531. --- Weld's 2 parts together
  1532. -- @param Part0 The first part
  1533. -- @param Part1 The second part (Dependent part most of the time).
  1534. -- @param [JointType] The type of joint. Defaults to weld.
  1535. -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better).
  1536. -- @return The weld created.
  1537.  
  1538. JointType = JointType or "Weld"
  1539. local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
  1540.  
  1541. local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
  1542. Modify(NewWeld, {
  1543. Name = "qCFrameWeldThingy";
  1544. Part0 = Part0;
  1545. Part1 = Part1;
  1546. C0 = CFrame.new();--Part0.CFrame:inverse();
  1547. C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
  1548. Parent = Part1;
  1549. })
  1550.  
  1551. if not RelativeValue then
  1552. RelativeValue = Make("CFrameValue", {
  1553. Parent = Part1;
  1554. Name = "qRelativeCFrameWeldValue";
  1555. Archivable = true;
  1556. Value = NewWeld.C1;
  1557. })
  1558. end
  1559.  
  1560. return NewWeld
  1561. end
  1562.  
  1563. local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
  1564. -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results.
  1565. -- @param MainPart The part to weld the model to (can be in the model).
  1566. -- @param [JointType] The type of joint. Defaults to weld.
  1567. -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion.
  1568.  
  1569. for _, Part in pairs(Parts) do
  1570. if ShouldBreakJoints(Part) then
  1571. Part:BreakJoints()
  1572. end
  1573. end
  1574.  
  1575. for _, Part in pairs(Parts) do
  1576. if Part ~= MainPart then
  1577. WeldTogether(MainPart, Part, JointType, MainPart)
  1578. end
  1579. end
  1580.  
  1581. if not DoNotUnanchor then
  1582. for _, Part in pairs(Parts) do
  1583. Part.Anchored = false
  1584. end
  1585. MainPart.Anchored = false
  1586. end
  1587. end
  1588.  
  1589. local function PerfectionWeld()
  1590. local Tool = GetNearestParent(script, "Tool")
  1591.  
  1592. local Parts = GetBricks(script.Parent)
  1593. local PrimaryPart = Tool and Tool:FindFirstChild("Handle") and Tool.Handle:IsA("BasePart") and Tool.Handle or script.Parent:IsA("Model") and script.Parent.PrimaryPart or Parts[1]
  1594.  
  1595. if PrimaryPart then
  1596. WeldParts(Parts, PrimaryPart, "Weld", false)
  1597. else
  1598. warn("qWeld - Unable to weld part")
  1599. end
  1600.  
  1601. return Tool
  1602. end
  1603.  
  1604. local Tool = PerfectionWeld()
  1605.  
  1606.  
  1607. if Tool and script.ClassName == "Script" then
  1608. --- Don't bother with local scripts
  1609.  
  1610. script.Parent.AncestryChanged:connect(function()
  1611. PerfectionWeld()
  1612. end)
  1613. end
  1614.  
  1615. -- Created by Quenty (@Quenty, follow me on twitter).
  1616.  
  1617. end))
  1618. Script55.Name = "Spark"
  1619. Script55.Parent = Tool44
  1620. Script55.Disabled = true
  1621. table.insert(cors,sandbox(Script55,function()
  1622. wait(6)
  1623. script.Parent:Destroy()--Removes lag and thats it
  1624. end))
  1625. Script56.Name = "WizardStaff"
  1626. Script56.Parent = Tool44
  1627. table.insert(cors,sandbox(Script56,function()
  1628. local Tool = script.Parent;
  1629.  
  1630. enabled = true
  1631.  
  1632.  
  1633.  
  1634. function fire(v)
  1635.  
  1636. local vCharacter = Tool.Parent
  1637. local vPlayer = game.Players:playerFromCharacter(vCharacter)
  1638.  
  1639. local missile = Instance.new("Part")
  1640.  
  1641. local spark = script.Parent.Configuration.Mesh:Clone()
  1642.  
  1643. local swoosh = script.Parent.Configuration.Rocket:Clone()
  1644.  
  1645. --local SparkSound = Instance.new("Sound")
  1646. --SparkSound.Name = "SparkSound"
  1647. --SparkSound.SoundId = "http://www.roblox.com/asset/?id=10756104"
  1648. --SparkSound.Parent = missile
  1649. --SparkSound.Volume = 1
  1650. --SparkSound.Looped = true
  1651.  
  1652. spark.Parent = missile
  1653. swoosh.Parent = missile
  1654. swoosh:Play()
  1655. local spawnPos = vCharacter.PrimaryPart.Position
  1656.  
  1657.  
  1658.  
  1659. spawnPos = spawnPos + (v * 10)
  1660.  
  1661. missile.Position = spawnPos
  1662. missile.Size = Vector3.new(1,1,1)
  1663. missile.Velocity = v * 50
  1664. missile.BrickColor = BrickColor.new(26)
  1665. missile.Shape = 0
  1666. missile.Orientation = Vector3.new(0, 0, -180)
  1667. missile.Transparency = 0
  1668. missile.BottomSurface = 0
  1669. missile.TopSurface = 0
  1670. missile.Name = "Spark"
  1671. missile.Reflectance = 1
  1672.  
  1673. local staff1 = script.Parent.SwordBlast.Tornado:Clone()
  1674. staff1.Parent = missile
  1675. local staff3 = script.Parent.SwordBlast.sMOKE:Clone()
  1676. staff3.Parent = missile
  1677. local force = Instance.new("BodyForce")
  1678. force.force = Vector3.new(0,98,0)
  1679. force.Parent = missile
  1680.  
  1681. local creator_tag = Instance.new("ObjectValue")
  1682. creator_tag.Value = vPlayer
  1683. creator_tag.Name = "creator"
  1684. creator_tag.Parent = missile
  1685.  
  1686. local new_script = script.Parent.Spark:clone()
  1687. new_script.Disabled = false
  1688. new_script.Parent = missile
  1689.  
  1690. missile.Parent = game.Workspace
  1691. --SparkSound:Play()
  1692.  
  1693. end
  1694.  
  1695.  
  1696.  
  1697.  
  1698.  
  1699. function isTurbo(character)
  1700. return character:FindFirstChild("BoltHelm") ~= nil
  1701. end
  1702.  
  1703.  
  1704. function onActivated()
  1705. if not enabled then
  1706. return
  1707. end
  1708.  
  1709. enabled = false
  1710.  
  1711.  
  1712. local character = Tool.Parent;
  1713. local humanoid = character.Humanoid
  1714. if humanoid == nil then
  1715. print("Humanoid not found")
  1716. return
  1717. end
  1718.  
  1719. local targetPos = humanoid.TargetPoint
  1720. local lookAt = (targetPos - character.Head.Position).unit
  1721.  
  1722. local reload = .5
  1723. if (isTurbo(character)) then
  1724. reload = .25
  1725. print("turbo")
  1726. end
  1727.  
  1728.  
  1729. fire(lookAt)
  1730. wait(reload)
  1731.  
  1732. wait(reload)
  1733.  
  1734. enabled = true
  1735.  
  1736. end
  1737.  
  1738. --function onEquipped()
  1739. --Tool.Handle.EquipSound:play()
  1740. --end
  1741.  
  1742. script.Parent.Activated:connect(onActivated)
  1743. script.Parent.Equipped:connect(onEquipped)
  1744.  
  1745. end))
  1746. LocalScript57.Name = "Local Gui"
  1747. LocalScript57.Parent = Tool44
  1748. table.insert(cors,sandbox(LocalScript57,function()
  1749. local Tool = script.Parent;
  1750.  
  1751. enabled = true
  1752. function onButton1Down(mouse)
  1753. if not enabled then
  1754. return
  1755. end
  1756.  
  1757. enabled = false
  1758. mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
  1759.  
  1760. wait(5)
  1761. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  1762. enabled = true
  1763.  
  1764. end
  1765.  
  1766. function onEquippedLocal(mouse)
  1767.  
  1768. if mouse == nil then
  1769. print("Mouse not found")
  1770. return
  1771. end
  1772.  
  1773. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  1774. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  1775. end
  1776.  
  1777.  
  1778. Tool.Equipped:connect(onEquippedLocal)
  1779.  
  1780. end))
  1781. Folder58.Name = "Configuration"
  1782. Folder58.Parent = Tool44
  1783. SpecialMesh59.Parent = Folder58
  1784. SpecialMesh59.MeshId = "http://www.roblox.com/asset/?id=31601976"
  1785. SpecialMesh59.Offset = Vector3.new(0, -3, 0)
  1786. SpecialMesh59.Scale = Vector3.new(2, 2, 2)
  1787. SpecialMesh59.TextureId = "http://www.roblox.com/asset/?id=31601599"
  1788. SpecialMesh59.MeshType = Enum.MeshType.FileMesh
  1789. SpecialMesh59.Scale = Vector3.new(2, 2, 2)
  1790. Sound60.Name = "Rocket"
  1791. Sound60.Parent = Folder58
  1792. Sound60.Pitch = 0.80000001192093
  1793. Sound60.SoundId = "rbxasset://sounds/Rocket whoosh 01.wav"
  1794. Sound60.Volume = 2
  1795. Part61.Name = "SwordBlast"
  1796. Part61.Parent = Tool44
  1797. Part61.Material = Enum.Material.Brick
  1798. Part61.BrickColor = BrickColor.new("Black")
  1799. Part61.Transparency = 1
  1800. Part61.Rotation = Vector3.new(132.929993, 84.0599976, -136.199997)
  1801. Part61.CanCollide = false
  1802. Part61.Size = Vector3.new(0.308559448, 0.731596649, 0.0695103928)
  1803. Part61.CFrame = CFrame.new(2.13599992, 2.06983805, 28.6099968, -0.0746570006, 0.0715889856, 0.994636357, -0.0542050004, 0.995653868, -0.0757308453, -0.99573499, -0.0595680922, -0.0704520568)
  1804. Part61.BottomSurface = Enum.SurfaceType.Smooth
  1805. Part61.TopSurface = Enum.SurfaceType.Smooth
  1806. Part61.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1807. Part61.Position = Vector3.new(2.13599992, 2.06983805, 28.6099968)
  1808. Part61.Orientation = Vector3.new(4.33999968, 94.0499954, -3.11999989)
  1809. Part61.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1810. ParticleEmitter62.Name = "Tornado"
  1811. ParticleEmitter62.Parent = Part61
  1812. ParticleEmitter62.Transparency = NumberSequence.new(1,0.84375,0.39999997615814,0.3125,0.78125,0.93124997615814,0.52499997615814,0.60000002384186,1)
  1813. ParticleEmitter62.Size = NumberSequence.new(2.2000000476837,0,0.68749964237213,2.4374997615814,7.625,0.18750011920929)
  1814. ParticleEmitter62.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.333333, 0),Color3.new(1, 1, 0.498039))
  1815. ParticleEmitter62.LightEmission = 0.64999997615814
  1816. ParticleEmitter62.Texture = "rbxassetid://286708119"
  1817. ParticleEmitter62.ZOffset = 1
  1818. ParticleEmitter62.Lifetime = NumberRange.new(0.5, 0.5)
  1819. ParticleEmitter62.Rate = 324324
  1820. ParticleEmitter62.RotSpeed = NumberRange.new(12, 12)
  1821. ParticleEmitter62.Speed = NumberRange.new(23, 23)
  1822. ParticleEmitter62.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.333333, 0),Color3.new(1, 1, 0.498039))
  1823. ParticleEmitter63.Name = "sMOKE"
  1824. ParticleEmitter63.Parent = Part61
  1825. ParticleEmitter63.Transparency = NumberSequence.new(0.5,0.88125002384186,0.33125001192093,0.36250001192093,0.050000011920929,0.80000001192093,0.5)
  1826. ParticleEmitter63.Size = NumberSequence.new(2.2000000476837,0.99999964237213,1.4999997615814,2.8749995231628,6.5,0.18750011920929)
  1827. ParticleEmitter63.Color = ColorSequence.new(Color3.new(0.32549, 0.32549, 0.32549),Color3.new(0.47451, 0.47451, 0.47451),Color3.new(0.588235, 0.588235, 0.588235))
  1828. ParticleEmitter63.LightEmission = 0.64999997615814
  1829. ParticleEmitter63.Texture = "rbxassetid://286708119"
  1830. ParticleEmitter63.ZOffset = 1
  1831. ParticleEmitter63.Lifetime = NumberRange.new(0.5, 0.5)
  1832. ParticleEmitter63.Rate = 324324
  1833. ParticleEmitter63.RotSpeed = NumberRange.new(12, 12)
  1834. ParticleEmitter63.Speed = NumberRange.new(23, 23)
  1835. ParticleEmitter63.Color = ColorSequence.new(Color3.new(0.32549, 0.32549, 0.32549),Color3.new(0.47451, 0.47451, 0.47451),Color3.new(0.588235, 0.588235, 0.588235))
  1836. Script64.Name = "Help"
  1837. Script64.Parent = Tool44
  1838. table.insert(cors,sandbox(Script64,function()
  1839. --[[{{Help to edit scripts, well okay}}
  1840. 1. Do not edit the Perfection weld or the local gui, you can only edit spark, WizardStaff or Configuration where the Rocket and mesh, also you can edit the Particle effects
  1841. 2. Only if you need help, you can't use any script that uses scripts that delete the tool itself
  1842. 3. If you don't know to script, you can learn from the wiki or via youtube or roblox itself
  1843. 4. If you want to delete this script which your reading, yes you can, and allowed to do that
  1844. 5. This is the last one, i actually made this from studio, this tool is by me, mostly animescapetower
  1845. ]]
  1846. end))
  1847. ObjectValue65.Name = "Double click help! to enter the help script, or other scripts, bricks or models to edit"
  1848. ObjectValue65.Parent = Tool44
  1849. ObjectValue65.Value = Script64
  1850. ObjectValue66.Name = "Read first before deleting me"
  1851. ObjectValue66.Parent = ObjectValue65
  1852. ObjectValue66.Value = Script64
  1853. Tool67.Name = "Knife"
  1854. Tool67.Parent = mas
  1855. Tool67.GripPos = Vector3.new(0, -1.85000002, 0.0500000007)
  1856. Tool67.ToolTip = "Press q to activate the knife,n,z,q,x.c, are only avalible when activated."
  1857. Part68.Name = "Handle"
  1858. Part68.Parent = Tool67
  1859. Part68.Transparency = 1
  1860. Part68.Rotation = Vector3.new(-90, 0, -90)
  1861. Part68.RotVelocity = Vector3.new(1, 1, 1)
  1862. Part68.Locked = true
  1863. Part68.Size = Vector3.new(0.25, 5, 1)
  1864. Part68.CFrame = CFrame.new(13.729064, 1.95001113, -68.7912216, 0, 1, 0, 0, 0, 0.999999881, 1, 0, 0)
  1865. Part68.BottomSurface = Enum.SurfaceType.Smooth
  1866. Part68.TopSurface = Enum.SurfaceType.Smooth
  1867. Part68.Position = Vector3.new(13.729064, 1.95001113, -68.7912216)
  1868. Part68.Orientation = Vector3.new(-89.9700012, 0, 0)
  1869. SpecialMesh69.Parent = Part68
  1870. SpecialMesh69.Scale = Vector3.new(0.75, 0.75, 0.75)
  1871. SpecialMesh69.TextureId = "rbxassetid://532156041"
  1872. SpecialMesh69.MeshType = Enum.MeshType.FileMesh
  1873. SpecialMesh69.Scale = Vector3.new(0.75, 0.75, 0.75)
  1874. Sound70.Name = "Lunge"
  1875. Sound70.Parent = Part68
  1876. Sound70.Pitch = 1.25
  1877. Sound70.SoundId = "http://www.roblox.com/asset/?id=12222208"
  1878. Sound71.Name = "Slash"
  1879. Sound71.Parent = Part68
  1880. Sound71.Pitch = 1.5
  1881. Sound71.SoundId = "http://www.roblox.com/asset/?id=12222216"
  1882. Sound71.Volume = 0.75
  1883. Sound72.Name = "Unsheath"
  1884. Sound72.Parent = Part68
  1885. Sound72.Pitch = 1.125
  1886. Sound72.SoundId = "http://www.roblox.com/asset/?id=12222225"
  1887. ParticleEmitter73.Name = "Fire"
  1888. ParticleEmitter73.Parent = Part68
  1889. ParticleEmitter73.Transparency = NumberSequence.new(0.60000002384186,0.60000002384186)
  1890. ParticleEmitter73.Rotation = NumberRange.new(0, 5)
  1891. ParticleEmitter73.Size = NumberSequence.new(0.31999999284744,1.1799999475479,1.25)
  1892. ParticleEmitter73.Color = ColorSequence.new(Color3.new(1, 0.666667, 1),Color3.new(0.333333, 0, 0.498039))
  1893. ParticleEmitter73.Enabled = false
  1894. ParticleEmitter73.LightEmission = 0.89999997615814
  1895. ParticleEmitter73.Texture = "rbxasset://textures/particles/fire_main.dds"
  1896. ParticleEmitter73.ZOffset = 0.34999999403954
  1897. ParticleEmitter73.Acceleration = Vector3.new(0, 10, 0)
  1898. ParticleEmitter73.Lifetime = NumberRange.new(0.20000000298023, 0.30000001192093)
  1899. ParticleEmitter73.Rate = 1000
  1900. ParticleEmitter73.RotSpeed = NumberRange.new(15, 25)
  1901. ParticleEmitter73.Speed = NumberRange.new(-1.1000000238419, -1.1000000238419)
  1902. ParticleEmitter73.Color = ColorSequence.new(Color3.new(1, 0.666667, 1),Color3.new(0.333333, 0, 0.498039))
  1903. Animation74.Name = "Equip"
  1904. Animation74.Parent = Tool67
  1905. Animation74.AnimationId = "rbxassetid://0"
  1906. Animation75.Name = "Explode"
  1907. Animation75.Parent = Tool67
  1908. Animation75.AnimationId = "rbxassetid://0"
  1909. Animation76.Name = "LeftSlash"
  1910. Animation76.Parent = Tool67
  1911. Animation76.AnimationId = "rbxassetid://0"
  1912. Animation77.Name = "RightSlash"
  1913. Animation77.Parent = Tool67
  1914. Animation77.AnimationId = "rbxassetid://0"
  1915. Animation78.Name = "SideSwipe"
  1916. Animation78.Parent = Tool67
  1917. Animation78.AnimationId = "rbxassetid://0"
  1918. Animation79.Name = "Swing"
  1919. Animation79.Parent = Tool67
  1920. Animation79.AnimationId = "rbxassetid://0"
  1921. LocalScript80.Name = "MouseIcon"
  1922. LocalScript80.Parent = Tool67
  1923. table.insert(cors,sandbox(LocalScript80,function()
  1924. --Made by Luckymaxer
  1925.  
  1926. Mouse_Icon = "rbxasset://textures/GunCursor.png"
  1927. Reloading_Icon = "rbxasset://textures/GunWaitCursor.png"
  1928.  
  1929. Tool = script.Parent
  1930.  
  1931. Mouse = nil
  1932.  
  1933. function UpdateIcon()
  1934. if Mouse then
  1935. Mouse.Icon = Tool.Enabled and Mouse_Icon or Reloading_Icon
  1936. end
  1937. end
  1938.  
  1939. function OnEquipped(ToolMouse)
  1940. Mouse = ToolMouse
  1941. UpdateIcon()
  1942. end
  1943.  
  1944. function OnChanged(Property)
  1945. if Property == "Enabled" then
  1946. UpdateIcon()
  1947. end
  1948. end
  1949.  
  1950. Tool.Equipped:connect(OnEquipped)
  1951. Tool.Changed:connect(OnChanged)
  1952. end))
  1953. LocalScript81.Parent = Tool67
  1954. table.insert(cors,sandbox(LocalScript81,function()
  1955. --Made by Luckymaxer
  1956.  
  1957. Tool = script.Parent
  1958. Handle = Tool:WaitForChild("Handle")
  1959.  
  1960. Players = game:GetService("Players")
  1961. RunService = game:GetService("RunService")
  1962.  
  1963. Animations = {}
  1964.  
  1965. ServerControl = Tool:WaitForChild("ServerControl")
  1966. ClientControl = Tool:WaitForChild("ClientControl")
  1967.  
  1968. Rate = (1 / 60)
  1969.  
  1970. ToolEquipped = false
  1971.  
  1972. function SetAnimation(mode, value)
  1973. if mode == "PlayAnimation" and value and ToolEquipped and Humanoid then
  1974. for i, v in pairs(Animations) do
  1975. if v.Animation == value.Animation then
  1976. v.AnimationTrack:Stop()
  1977. table.remove(Animations, i)
  1978. end
  1979. end
  1980. local AnimationTrack = Humanoid:LoadAnimation(value.Animation)
  1981. table.insert(Animations, {Animation = value.Animation, AnimationTrack = AnimationTrack})
  1982. AnimationTrack:Play(value.FadeTime, value.Weight, value.Speed)
  1983. elseif mode == "StopAnimation" and value then
  1984. for i, v in pairs(Animations) do
  1985. if v.Animation == value.Animation then
  1986. v.AnimationTrack:Stop(value.FadeTime)
  1987. table.remove(Animations, i)
  1988. end
  1989. end
  1990. end
  1991. end
  1992.  
  1993. function KeyPressed(Key, Down)
  1994. InvokeServer("KeyPressed", {Key = Key, Down = Down})
  1995. end
  1996.  
  1997. function CheckIfAlive()
  1998. return (((Character and Character.Parent and Humanoid and Humanoid.Parent and Humanoid.Health > 0 and Player and Player.Parent) and true) or false)
  1999. end
  2000.  
  2001. function Equipped(Mouse)
  2002. Character = Tool.Parent
  2003. Player = Players:GetPlayerFromCharacter(Character)
  2004. Humanoid = Character:FindFirstChild("Humanoid")
  2005. ToolEquipped = true
  2006. if not CheckIfAlive() then
  2007. return
  2008. end
  2009. PlayerMouse = Mouse
  2010. PlayerMouse.KeyDown:connect(function(Key)
  2011. KeyPressed(Key, true)
  2012. end)
  2013. PlayerMouse.KeyUp:connect(function(Key)
  2014. KeyPressed(Key, false)
  2015. end)
  2016. end
  2017.  
  2018. function Unequipped()
  2019. for i, v in pairs(Animations) do
  2020. if v and v.AnimationTrack then
  2021. v.AnimationTrack:Stop()
  2022. end
  2023. end
  2024. Animations = {}
  2025. ToolEquipped = false
  2026. end
  2027.  
  2028. function InvokeServer(mode, value)
  2029. local ServerReturn
  2030. pcall(function()
  2031. ServerReturn = ServerControl:InvokeServer(mode, value)
  2032. end)
  2033. return ServerReturn
  2034. end
  2035.  
  2036. function OnClientInvoke(mode, value)
  2037. if mode == "PlayAnimation" and value and ToolEquipped and Humanoid then
  2038. SetAnimation("PlayAnimation", value)
  2039. elseif mode == "StopAnimation" and value then
  2040. SetAnimation("StopAnimation", value)
  2041. elseif mode == "PlaySound" and value then
  2042. value:Play()
  2043. elseif mode == "StopSound" and value then
  2044. value:Stop()
  2045. elseif mode == "MouseData" then
  2046. return ((PlayerMouse and {Position = PlayerMouse.Hit.p, Target = PlayerMouse.Target}) or nil)
  2047. end
  2048. end
  2049.  
  2050. ClientControl.OnClientInvoke = OnClientInvoke
  2051. Tool.Equipped:connect(Equipped)
  2052. Tool.Unequipped:connect(Unequipped)
  2053. end))
  2054. Script82.Parent = Tool67
  2055. table.insert(cors,sandbox(Script82,function()
  2056. --Made by Luckymaxer
  2057.  
  2058. Tool = script.Parent
  2059. Handle = Tool:WaitForChild("Handle")
  2060. Fire = Handle:WaitForChild("Fire")
  2061.  
  2062. Players = game:GetService("Players")
  2063. Debris = game:GetService("Debris")
  2064. RunService = game:GetService("RunService")
  2065.  
  2066. RbxUtility = LoadLibrary("RbxUtility")
  2067. Create = RbxUtility.Create
  2068.  
  2069. DeathEffect = script:WaitForChild("DeathEffect")
  2070.  
  2071. DamageValues = {
  2072. BaseDamage = 0,
  2073. SlashDamage = 0,
  2074. LungeDamage = 0,
  2075. }
  2076.  
  2077. Damage = DamageValues.BaseDamage
  2078.  
  2079. BaseUrl = "http://www.roblox.com/asset/?id="
  2080.  
  2081. BasePart = Instance.new("Part")
  2082. BasePart.Shape = Enum.PartType.Block
  2083. BasePart.Material = Enum.Material.Plastic
  2084. BasePart.TopSurface = Enum.SurfaceType.Smooth
  2085. BasePart.BottomSurface = Enum.SurfaceType.Smooth
  2086. BasePart.FormFactor = Enum.FormFactor.Custom
  2087. BasePart.Size = Vector3.new(0.2, 0.2, 0.2)
  2088. BasePart.CanCollide = true
  2089. BasePart.Locked = true
  2090. BasePart.Anchored = false
  2091.  
  2092. Special = {
  2093. Active = false,
  2094. Enabled = true,
  2095. Duration = 15,
  2096. CoolDown = 10,
  2097. }
  2098.  
  2099. Animations = {
  2100. Equip = {Animation = Tool:WaitForChild("Equip"), FadeTime = nil, Weight = nil, Speed = 0.7, Duration = 1},
  2101. LeftSlash = {Animation = Tool:WaitForChild("LeftSlash"), FadeTime = nil, Weight = nil, Speed = 1.5, Duration = 0.75},
  2102. RightSlash = {Animation = Tool:WaitForChild("RightSlash"), FadeTime = nil, Weight = nil, Speed = 1.5, Duration = 0.75},
  2103. SideSwipe = {Animation = Tool:WaitForChild("SideSwipe"), FadeTime = nil, Weight = nil, Speed = 0.8, Duration = 0.75},
  2104. Explode = {Animation = Tool:WaitForChild("Explode"), FadeTime = 0.25, Weight = nil, Speed = 2, Duration = 0.75},
  2105. }
  2106.  
  2107. Sounds = {
  2108. Unsheath = Handle:WaitForChild("Unsheath"),
  2109. Slash = Handle:WaitForChild("Slash"),
  2110. Lunge = Handle:WaitForChild("Lunge"),
  2111. }
  2112.  
  2113. Grips = {
  2114. Up = CFrame.new(0, -1.85, 0.05, 1, 0, -0, 0, 1, 0, 0, 0, 1),
  2115. Out = CFrame.new(0, -1.85, 0.05, 1, 0, 0, 0, 0, -1, -0, 1, 0),
  2116. }
  2117.  
  2118. LastAttack = 0
  2119.  
  2120. ToolEquipped = false
  2121.  
  2122. ServerControl = (Tool:FindFirstChild("ServerControl") or Create("RemoteFunction"){
  2123. Name = "ServerControl",
  2124. Parent = Tool,
  2125. })
  2126.  
  2127. ClientControl = (Tool:FindFirstChild("ClientControl") or Create("RemoteFunction"){
  2128. Name = "ClientControl",
  2129. Parent = Tool,
  2130. })
  2131.  
  2132. Handle.Transparency = 0
  2133. Fire.Enabled = false
  2134. Tool.Grip = Grips.Up
  2135. Tool.Enabled = true
  2136.  
  2137. function IsTeamMate(Player1, Player2)
  2138. return (Player1 and Player2 and not Player1.Neutral and not Player2.Neutral and Player1.TeamColor == Player2.TeamColor)
  2139. end
  2140.  
  2141. function TagHumanoid(humanoid, player)
  2142. local Creator_Tag = Create("ObjectValue"){
  2143. Name = "creator",
  2144. Value = player,
  2145. }
  2146. Debris:AddItem(Creator_Tag, 2)
  2147. Creator_Tag.Parent = humanoid
  2148. end
  2149.  
  2150. function UntagHumanoid(humanoid)
  2151. for i, v in pairs(humanoid:GetChildren()) do
  2152. if v:IsA("ObjectValue") and v.Name == "creator" then
  2153. v:Destroy()
  2154. end
  2155. end
  2156. end
  2157.  
  2158. function CheckTableForInstance(Table, Instance)
  2159. for i, v in pairs(Table) do
  2160. if v == Instance then
  2161. return true
  2162. end
  2163. end
  2164. return false
  2165. end
  2166.  
  2167. function GetTotalParts(MaxParts, PossibleParts, Parts)
  2168. if MaxParts < PossibleParts then
  2169. return MaxParts
  2170. elseif Parts >= MaxParts then
  2171. return 0
  2172. elseif MaxParts >= PossibleParts then
  2173. local PartCount = (MaxParts - PossibleParts)
  2174. if Parts <= MaxParts then
  2175. PartCount = (MaxParts - Parts)
  2176. if PartCount > PossibleParts then
  2177. return PossibleParts
  2178. else
  2179. return PartCount
  2180. end
  2181. elseif PartCount >= PossibleParts then
  2182. return PossibleParts
  2183. else
  2184. return PartCount
  2185. end
  2186. end
  2187. end
  2188.  
  2189. function GetParts(Region, MaxParts, Ignore)
  2190. local Parts = {}
  2191. local RerunFailed = false
  2192. while #Parts < MaxParts and not RerunFailed do
  2193. local Region = Region
  2194. local PossibleParts = GetTotalParts(MaxParts, 3000, #Parts)
  2195. local PartsNearby = game:GetService("Workspace"):FindPartsInRegion3WithIgnoreList(Region, Ignore, PossibleParts)
  2196. if #PartsNearby == 0 then
  2197. RerunFailed = true
  2198. else
  2199. for i, v in pairs(PartsNearby) do
  2200. table.insert(Parts, v)
  2201. table.insert(Ignore, v)
  2202. end
  2203. end
  2204. end
  2205. return Parts
  2206. end
  2207.  
  2208. function ApplyDeathEffect(character, Direction, Force)
  2209. local Direction = (Direction or Vector3.new(0, 0, 0))
  2210. local Force = (Force or Vector3.new(0, 0, 0))
  2211. local humanoid = character:FindFirstChild("Humanoid")
  2212. if not humanoid then
  2213. return
  2214. end
  2215. local DeathEffectCopy = character:FindFirstChild(DeathEffect.Name)
  2216. if DeathEffectCopy then
  2217. return
  2218. end
  2219. DeathEffectCopy = DeathEffect:Clone()
  2220. DeathEffectCopy.WindDirection.Value = Direction
  2221. DeathEffectCopy.Force.Value = Force
  2222. DeathEffectCopy.Disabled = false
  2223. DeathEffectCopy.Parent = character
  2224. end
  2225.  
  2226. function DealDamage(character, damage)
  2227. if not CheckIfAlive() or not character then
  2228. return
  2229. end
  2230. local damage = (damage or 0)
  2231. local humanoid = character:FindFirstChild("Humanoid")
  2232. local rootpart = character:FindFirstChild("HumanoidRootPart")
  2233. if not rootpart then
  2234. rootpart = character:FindFirstChild("Torso")
  2235. end
  2236. if not humanoid or humanoid.Health == 0 or not rootpart then
  2237. return
  2238. end
  2239. UntagHumanoid(humanoid)
  2240. TagHumanoid(humanoid, Player)
  2241. humanoid:TakeDamage(damage)
  2242. if humanoid.Health <= 0 then
  2243. local WindDir = (CFrame.new(RootPart.Position, Vector3.new(rootpart.Position.X, RootPart.Position.Y, rootpart.Position.Z)) * CFrame.Angles(0, math.pi, 0)).lookVector
  2244. ApplyDeathEffect(character, Vector3.new(WindDir.X, 1, WindDir.Z), ((WindDir * 6.5) + Vector3.new(0, 15, 0)))
  2245. end
  2246. end
  2247.  
  2248. function CheckIfAlive()
  2249. return (((Character and Character.Parent and Humanoid and Humanoid.Parent and Humanoid.Health > 0) and true) or false)
  2250. end
  2251.  
  2252. function Blow(Part)
  2253. local PartTouched
  2254. local HitDelay = false
  2255. PartTouched = Part.Touched:connect(function(Hit)
  2256. if not Hit or not Hit.Parent or not CheckIfAlive() or not ToolEquipped or HitDelay then
  2257. return
  2258. end
  2259. local RightArm = Character:FindFirstChild("Right Arm")
  2260. if not RightArm then
  2261. return
  2262. end
  2263. local RightGrip = RightArm:FindFirstChild("RightGrip")
  2264. if not RightGrip or (RightGrip.Part0 ~= Handle and RightGrip.Part1 ~= Handle) then
  2265. return
  2266. end
  2267. local character = Hit.Parent
  2268. if character == Character or (Special.Active and RandomNearby and character ~= RandomNearby.Character) then
  2269. return
  2270. end
  2271. local humanoid = character:FindFirstChild("Humanoid")
  2272. local rootpart = character:FindFirstChild("HumanoidRootPart")
  2273. if not rootpart then
  2274. rootpart = character:FindFirstChild("Torso")
  2275. end
  2276. if not humanoid or humanoid.Health == 0 or not rootpart then
  2277. return
  2278. end
  2279. local player = Players:GetPlayerFromCharacter(character)
  2280. if player and (player == Player or IsTeamMate(Player, player)) then
  2281. return
  2282. end
  2283. HitDelay = true
  2284. local TotalDamage = (Damage * ((Special.Active and math.huge) or 1))
  2285. DealDamage(character, TotalDamage)
  2286. wait(0.05)
  2287. HitDelay = false
  2288. end)
  2289. end
  2290.  
  2291. function PossessedAttack()
  2292. Fire.Enabled = true
  2293. local CurrentlyEquipped = true
  2294. if ToolUnequipped then
  2295. ToolUnequipped:disconnect()
  2296. end
  2297. ToolUnequipped = Tool.Unequipped:connect(function()
  2298. CurrentlyEquipped = false
  2299. end)
  2300. local SpecialStart = tick()
  2301. while ToolEquipped and CurrentlyEquipped and CheckIfAlive() and (tick() - SpecialStart) < Special.Duration do
  2302. local UserPlayer = Player
  2303. local UserCharacter = Character
  2304. local IgnoreObjects = {UserCharacter, Tool}
  2305. local Radius = 35
  2306. local Objects = {}
  2307. local Humanoids = {}
  2308. local PlayersNearby = {}
  2309. local NegativeRadius = (RootPart.Position - Vector3.new(Radius, (RootPart.Size.Y * 1.25), Radius))
  2310. local PositiveRadius = (RootPart.Position + Vector3.new(Radius, (Radius / 6), Radius))
  2311. for i, v in pairs(Players:GetChildren()) do
  2312. if v:IsA("Player") and v ~= UserPlayer then
  2313. local character = v.Character
  2314. if character and character.Parent then
  2315. table.insert(IgnoreObjects, v)
  2316. if not IsTeamMate(v, UserPlayer) then
  2317. local humanoid = character:FindFirstChild("Humanoid")
  2318. local rootpart = character:FindFirstChild("HumanoidRootPart")
  2319. if not rootpart then
  2320. rootpart = character:FindFirstChild("Torso")
  2321. end
  2322. if humanoid and humanoid.Health > 0 and (RootPart.Position - rootpart.Position).magnitude <= Radius then
  2323. table.insert(Humanoids, humanoid)
  2324. end
  2325. end
  2326. end
  2327. end
  2328. end
  2329. if #Humanoids == 0 then
  2330. local Parts = GetParts(Region3.new(NegativeRadius, PositiveRadius), 500, IgnoreObjects)
  2331. for i, v in pairs(Parts) do
  2332. if v and v.Parent and not CheckTableForInstance(Objects, v) then
  2333. local character = v.Parent
  2334. if character:IsA("Hat") or character:IsA("Tool") then
  2335. character = character.Parent
  2336. end
  2337. local humanoid = character:FindFirstChild("Humanoid")
  2338. local player = Players:GetPlayerFromCharacter(character)
  2339. if not CheckTableForInstance(Humanoids, humanoid) and not CheckTableForInstance(PlayersNearby, character) then
  2340. if humanoid and humanoid.Health > 0 and not CheckTableForInstance(Humanoids, humanoid) then
  2341. table.insert(Humanoids, humanoid)
  2342. if player and not CheckTableForInstance(PlayersNearby, player) then
  2343. table.insert(PlayersNearby, player)
  2344. end
  2345. elseif (RootPart.Position - v.Position).magnitude <= Radius then
  2346. table.insert(Objects, v)
  2347. end
  2348. end
  2349. end
  2350. end
  2351. end
  2352. local NearPlayers = {}
  2353. for i, v in pairs(Humanoids) do
  2354. local character = v.Parent
  2355. local player = Players:GetPlayerFromCharacter(character)
  2356. local rootpart = character:FindFirstChild("HumanoidRootPart")
  2357. if not rootpart then
  2358. rootpart = character:FindFirstChild("Torso")
  2359. end
  2360. if rootpart then
  2361. table.insert(NearPlayers, {Character = character, Humanoid = v, RootPart = rootpart, Distance = (RootPart.Position - rootpart.Position).Magnitude})
  2362. end
  2363. end
  2364. table.sort(NearPlayers, (function(a, b)
  2365. return a.Distance < b.Distance
  2366. end))
  2367. if #NearPlayers > 0 then
  2368. local MaxNearbyCount = 3
  2369. local MaxNearby = ((#NearPlayers <= MaxNearbyCount and #NearPlayers) or MaxNearbyCount)
  2370. RandomNearby = NearPlayers[math.random(1, MaxNearby)]
  2371. local OrigPos = RootPart.CFrame
  2372. local NewPos = (RandomNearby.RootPart.CFrame * CFrame.new(0, ((RootPart.Size.Z / 2) + (RandomNearby.RootPart.Size.Z / 2) + (RootPart.Size.Y / 2)), ((RootPart.Size.Z / 2) + (RandomNearby.RootPart.Size.Z / 2) + 0.75)))
  2373. RootPart.CFrame = CFrame.new(NewPos.p, RandomNearby.RootPart.CFrame.p)
  2374. RootPart.Anchored = true
  2375. Attack()
  2376. wait(1)
  2377. RootPart.CFrame = OrigPos
  2378. RootPart.Anchored = false
  2379. wait(1.5)
  2380. end
  2381. wait()
  2382. end
  2383. Fire.Enabled = false
  2384. end
  2385.  
  2386. function Attack()
  2387. Damage = DamageValues.SlashDamage
  2388. Sounds.Slash:Play()
  2389. --[[local Anim = Create("StringValue"){
  2390. Name = "toolanim",
  2391. Value = "Slash",
  2392. }
  2393. Debris:AddItem(Anim, 2)
  2394. Anim.Parent = Tool]]
  2395. local SwingAnimations = {Animations.LeftSlash, Animations.RightSlash, Animations.SideSwipe, Animations.Swing}
  2396. local Animation = SwingAnimations[math.random(1, #SwingAnimations)]
  2397. Spawn(function()
  2398. InvokeClient("PlayAnimation", Animation)
  2399. end)
  2400. end
  2401.  
  2402. function Lunge()
  2403. Damage = DamageValues.LungeDamage
  2404. Sounds.Lunge:Play()
  2405. for i, v in pairs(Animations) do
  2406. Spawn(function()
  2407. InvokeClient("StopAnimation", v)
  2408. end)
  2409. end
  2410. local Anim = Create("StringValue"){
  2411. Name = "toolanim",
  2412. Value = "Lunge",
  2413. }
  2414. Debris:AddItem(Anim, 2)
  2415. Anim.Parent = Tool
  2416. wait(0.2)
  2417. Tool.Grip = Grips.Out
  2418. wait(0.75)
  2419. Tool.Grip = Grips.Up
  2420. Damage = DamageValues.SlashDamage
  2421. end
  2422.  
  2423. function Activated()
  2424. if not Tool.Enabled or not ToolEquipped or not CheckIfAlive() or Special.Active then
  2425. return
  2426. end
  2427. Tool.Enabled = false
  2428. local Tick = RunService.Stepped:wait()
  2429. if (Tick - LastAttack < 0.2) then
  2430. Lunge()
  2431. else
  2432. Attack()
  2433. end
  2434. LastAttack = Tick
  2435. --wait(0.5)
  2436. Damage = DamageValues.BaseDamage
  2437. Tool.Enabled = true
  2438. end
  2439.  
  2440. function CheckIfAlive()
  2441. return (((Player and Player.Parent and Character and Character.Parent and Humanoid and Humanoid.Parent and Humanoid.Health > 0 and RootPart and RootPart.Parent) and true) or false)
  2442. end
  2443.  
  2444. function Equipped()
  2445. Character = Tool.Parent
  2446. Player = Players:GetPlayerFromCharacter(Character)
  2447. Humanoid = Character:FindFirstChild("Humanoid")
  2448. RootPart = Character:FindFirstChild("HumanoidRootPart")
  2449. if not CheckIfAlive() then
  2450. return
  2451. end
  2452. Sounds.Unsheath:Play()
  2453. Spawn(function()
  2454. if ToolUnequipped then
  2455. ToolUnequipped:disconnect()
  2456. end
  2457. local CurrentlyEquipped = true
  2458. ToolUnequipped = Tool.Unequipped:connect(function()
  2459. CurrentlyEquipped = false
  2460. end)
  2461. local Animation = Animations.Equip
  2462. Spawn(function()
  2463. InvokeClient("PlayAnimation", Animation)
  2464. end)
  2465. wait(Animation.Duration)
  2466. if ToolUnequipped then
  2467. ToolUnequipped:disconnect()
  2468. end
  2469. if not CurrentlyEquipped then
  2470. return
  2471. end
  2472. ToolEquipped = true
  2473. Humanoid.WalkSpeed = (16 * 1.5)
  2474. end)
  2475. end
  2476.  
  2477. function Unequipped()
  2478. Humanoid.WalkSpeed = 16
  2479. ToolEquipped = false
  2480. end
  2481.  
  2482. function OnServerInvoke(player, mode, value)
  2483. if player ~= Player or not ToolEquipped or not value or not CheckIfAlive() then
  2484. return
  2485. end
  2486. if mode == "KeyPressed" then
  2487. local Key = string.lower(value.Key)
  2488. local Down = value.Down
  2489. if Key == "q" and Down then
  2490. player = game.Players.LocalPlayer
  2491. chara = player.Character
  2492. debby = game.Debris
  2493. Mouse = player:GetMouse()
  2494. chara.Humanoid.WalkSpeed = 8
  2495. atkd = false
  2496. targetted = nil
  2497.  
  2498. --Outfit--
  2499. New = function(Object, Parent, Name, Data)
  2500. local Object = Instance.new(Object)
  2501. for Index, Value in pairs(Data or {}) do
  2502. Object[Index] = Value
  2503. end
  2504. Object.Parent = Parent
  2505. Object.Name = Name
  2506. return Object
  2507. end
  2508.  
  2509. ShadowHead = New("Part",chara,"ShadowHead",{BrickColor = BrickColor.new("Really black"),Size = Vector3.new(1.20000005, 0.600000024, 1),CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  2510. Mesh = New("SpecialMesh",ShadowHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
  2511. Weld = New("ManualWeld",ShadowHead,"Weld",{Part0 = ShadowHead,Part1 = chara.Head,C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  2512.  
  2513. Knifu = New("Model",chara,"Knifu",{})
  2514. Handle = New("Part",Knifu,"Handle",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.600000024, 0.400000006),CFrame = CFrame.new(54.1000023, 0.6000067, 26.4000034, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2515. Mesh = New("CylinderMesh",Handle,"Mesh",{})
  2516. KWeld = New("ManualWeld",Handle,"Weld",{Part0 = Handle,Part1 = chara["Right Arm"],C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0),C1 = CFrame.new(0, -1.00000644, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  2517. Hitbox = New("Part",Knifu,"Hitbox",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.200000003, 1.4000001, 0.400000006),CFrame = CFrame.new(54.1000023, 0.6000067, 27.6000042, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  2518. Weld = New("ManualWeld",Hitbox,"Weld",{Part0 = Hitbox,Part1 = Handle,C1 = CFrame.new(0, 1.20000052, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  2519. Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(54.1000023, 0.6000067, 26.2000046, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2520. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),})
  2521. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, -0.199999809, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  2522. Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(54.1000023, 0.6000067, 26.8000031, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2523. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.5, 1.20000005, 1.5),})
  2524. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 0.400000334, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  2525. Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(54.1000023, 0.800005555, 26.8000031, -1, 0, 0, 0, 0, -1, 0, -1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2526. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 1.20000005),MeshType = Enum.MeshType.Wedge,})
  2527. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.400000095, 0.199998856, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  2528. Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000036),CFrame = CFrame.new(54.1000023, 0.400004029, 26.8000031, 1, 0, 0, 0, 0, 1, 0, -1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2529. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 1.20000005),MeshType = Enum.MeshType.Wedge,})
  2530. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, 0.400000095, -0.20000267, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  2531. Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.600000024, 0.200000003),CFrame = CFrame.new(54.1000023, 0.500006318, 27.2000046, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  2532. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.400000006, 1, 1),})
  2533. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 0.800000429, -0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  2534. BloodPart = New("Part",Knifu,"BloodPart",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.399999946, 0.400000036),CFrame = CFrame.new(54.1000023, 0.600008607, 28.1000042, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),})
  2535. Mesh = New("SpecialMesh",BloodPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,})
  2536. Weld = New("ManualWeld",BloodPart,"Weld",{Part0 = BloodPart,Part1 = Handle,C1 = CFrame.new(0, 1.70000005, 1.90734863e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  2537. Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700007081, 27.8000031, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  2538. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.400000006, 1, 1),})
  2539. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 1.40000057, 0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  2540. Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.0000038, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  2541. Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
  2542. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.599999905, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  2543. Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.0000038, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  2544. Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
  2545. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.599999905, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  2546. Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.2000027, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  2547. Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
  2548. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.799999952, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  2549. Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.2000027, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  2550. Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
  2551. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.799999952, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  2552. Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.4000034, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  2553. Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
  2554. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  2555. Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.4000034, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  2556. Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
  2557. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  2558. Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.6000042, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  2559. Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
  2560. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.20000005, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  2561. Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.6000042, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  2562. Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
  2563. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.20000005, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  2564. Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 1, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700007081, 27.4000034, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  2565. Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, 0, -0.0500000007),Scale = Vector3.new(0.400000006, 1, 0.5),})
  2566. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 1.00000048, 0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  2567. Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(54.1000023, 0.6000067, 26.4000034, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2568. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),})
  2569. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 2.38418579e-07, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  2570. Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(54.1000023, 0.6000067, 26.6000042, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2571. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),})
  2572. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 0.200000286, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  2573. Blood2Part = New("Part",Knifu,"Blood2Part",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.400000036, 0.200000003),CFrame = CFrame.new(54.1000023, 0.500006318, 27.7000046, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),})
  2574. Mesh = New("BlockMesh",Blood2Part,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),})
  2575. Weld = New("ManualWeld",Blood2Part,"Weld",{Part0 = Blood2Part,Part1 = Handle,C1 = CFrame.new(0, 1.30000043, -0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  2576. Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000033),CFrame = CFrame.new(54.1000023, 0.700008988, 27.8000031, -1, 0, 0, 0, 0, -1, 0, -1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),})
  2577. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,})
  2578. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.4000001, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  2579. Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000033),CFrame = CFrame.new(54.1000023, 0.500008225, 27.4000034, -1, 0, 0, 0, 0, -1, 0, -1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),})
  2580. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,})
  2581. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 1, -0.0999984741, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  2582.  
  2583. local p1mit = Instance.new("ParticleEmitter",Hitbox)
  2584. p1mit.Texture = "rbxasset://textures/particles/fire_main.dds"
  2585. p1mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(.6,0,0)),ColorSequenceKeypoint.new(1,Color3.new(.6,0,0))})
  2586. p1mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
  2587. p1mit.Lifetime = NumberRange.new(2)
  2588. p1mit.Rate = 100
  2589. p1mit.Enabled = false
  2590. p1mit.Acceleration = Vector3.new(0,-5,0)
  2591. p1mit.Rotation = NumberRange.new(0,359)
  2592. p1mit.Speed = NumberRange.new(0)
  2593. local p2mit = Instance.new("ParticleEmitter",BloodPart)
  2594. p2mit.Texture = "http://www.roblox.com/asset/?id=243132757"
  2595. p2mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(.6,0,0)),ColorSequenceKeypoint.new(1,Color3.new(.6,0,0))})
  2596. p2mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.1),NumberSequenceKeypoint.new(1,.1)})
  2597. p2mit.Lifetime = NumberRange.new(1)
  2598. p2mit.Rate = 10
  2599. p2mit.Acceleration = Vector3.new(0,-10,0)
  2600. p2mit.Speed = NumberRange.new(0)
  2601. local p3mit = p2mit:Clone()
  2602. p3mit.Parent = Blood2Part
  2603.  
  2604. crosshair = Instance.new("BillboardGui",chara)
  2605. crosshair.Size = UDim2.new(10,0,10,0)
  2606. crosshair.Enabled = false
  2607. imgl = Instance.new("ImageLabel",crosshair)
  2608. imgl.Position = UDim2.new(0,0,0,0)
  2609. imgl.Size = UDim2.new(1,0,1,0)
  2610. imgl.Image = "rbxassetid://233522684"
  2611. imgl.BackgroundTransparency = 1
  2612. imgl.ImageColor3 = Color3.new(.6,0,0)
  2613.  
  2614. --Sounds--
  2615. function LoadSnd(id,loop,vol,pit)
  2616. local snd = New("Sound",chara,"Sound",{SoundId = "rbxassetid://"..id,Looped = loop,Volume = vol,Pitch = pit})
  2617. return snd
  2618. end
  2619. Music = LoadSnd(150674644,true,1,1)
  2620. SwingSnd = LoadSnd(12222208,false,1,.5)
  2621. HitSnd = LoadSnd(429400881,false,1,1)
  2622. ChatSnd = LoadSnd(565939471,false,1,.4)
  2623. ThrowSnd = LoadSnd(743521497,false,1,1)
  2624. TargetSnd = LoadSnd(743521450,false,1,1)
  2625. Music:Play()
  2626.  
  2627. --Play Sound in Part--
  2628. function PlaySnd(snd,part)
  2629. local sound = snd:Clone()
  2630. sound.PlayOnRemove = true
  2631. sound.Parent = part
  2632. sound:Destroy()
  2633. end
  2634.  
  2635. --Target Select--
  2636. function TargetSelect(person)
  2637. local dd=coroutine.wrap(function()
  2638. if targetted ~= person then
  2639. targetted = person
  2640. for i = 0,30,10 do
  2641. wait(.05)
  2642. crosshair.Size = UDim2.new(40-i,0,40-i,0)
  2643. end
  2644. end
  2645. end)
  2646. dd()
  2647. end
  2648.  
  2649. --Damage Function--
  2650. function dealdmg(dude)
  2651. dude.Humanoid.PlatformStand = true
  2652. local bgf = Instance.new("BodyGyro",dude.Head)
  2653. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  2654. local val = Instance.new("BoolValue",dude)
  2655. val.Name = "IsHit"
  2656. for i = 1, 6 do
  2657. local blo = Instance.new("Part",game.Workspace)
  2658. blo.Size = Vector3.new(.6,.2,.6)
  2659. blo.Material = "SmoothPlastic"
  2660. blo.BrickColor = BrickColor.new("Crimson")
  2661. blo.Position = dude.Head.Position
  2662. blo.CFrame = dude.Head.CFrame
  2663. debby:AddItem(blo,30)
  2664. end
  2665. local ds = coroutine.wrap(function()
  2666. wait(1)
  2667. dude.Humanoid.Health = 0
  2668. end)
  2669. ds()
  2670. end
  2671.  
  2672. --Explode Hitbox--
  2673. function ExHitbox(rad,pos,damage,env,toim)
  2674. local E = Instance.new("Explosion")
  2675. E.Position = pos
  2676. E.Parent = game.Workspace
  2677. E.BlastRadius = rad
  2678. E.BlastPressure = 0
  2679. E.Visible = false
  2680. E.Hit:connect(function(hit)
  2681. if hit.Parent:FindFirstChild("Humanoid")~=nil then
  2682. dealdmg(hit.Parent,damage,env,toim)
  2683. end
  2684. end)
  2685. end
  2686.  
  2687. --Chat Function--
  2688. function chatfunc(text)
  2689. local chat = coroutine.wrap(function()
  2690. if chara:FindFirstChild("TalkingBillBoard")~= nil then
  2691. chara:FindFirstChild("TalkingBillBoard"):destroy()
  2692. end
  2693. local naeeym2 = Instance.new("BillboardGui",chara)
  2694. naeeym2.Size = UDim2.new(0,100,0,40)
  2695. naeeym2.StudsOffset = Vector3.new(0,3,0)
  2696. naeeym2.Adornee = chara.Head
  2697. naeeym2.Name = "TalkingBillBoard"
  2698. local tecks2 = Instance.new("TextLabel",naeeym2)
  2699. tecks2.BackgroundTransparency = 1
  2700. tecks2.BorderSizePixel = 0
  2701. tecks2.Text = ""
  2702. tecks2.Font = "Fantasy"
  2703. tecks2.FontSize = "Size24"
  2704. tecks2.TextStrokeTransparency = 0
  2705. tecks2.TextColor3 = Color3.new(.6,0,0)
  2706. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  2707. tecks2.Size = UDim2.new(1,0,0.5,0)
  2708. for i = 1,string.len(text),1 do
  2709. PlaySnd(ChatSnd,chara)
  2710. tecks2.Text = string.sub(text,1,i)
  2711. wait(0.01)
  2712. end
  2713. wait(1)
  2714. for i = 1, 5 do
  2715. wait(.01)
  2716. tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
  2717. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
  2718. tecks2.TextTransparency = tecks2.TextTransparency + .2
  2719. end
  2720. naeeym2:Destroy()
  2721. end)
  2722. chat()
  2723. end
  2724.  
  2725. function onChatted(msg)
  2726. chatfunc(msg)
  2727. end
  2728. player.Chatted:connect(onChatted)
  2729.  
  2730. --Blade Hit Effect--
  2731. function SlashEff(pos)
  2732. local p = Instance.new("Part",game.Workspace)
  2733. p.Size = Vector3.new(0,0,0)
  2734. p.BrickColor = BrickColor.new("White")
  2735. p.Material = "Neon"
  2736. p.Anchored = true
  2737. p.CanCollide = false
  2738. p.CFrame = pos * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  2739. local pm = Instance.new("SpecialMesh",p)
  2740. pm.MeshType = "Sphere"
  2741. pm.Scale = Vector3.new(2.5,0,2.5)
  2742. local disp = coroutine.wrap(function()
  2743. for i = 1, 4 do
  2744. wait(.01)
  2745. p.Transparency = p.Transparency + .2
  2746. pm.Scale = pm.Scale + Vector3.new(0,30,0)
  2747. end
  2748. wait(.01)
  2749. p:Destroy()
  2750. end)
  2751. disp()
  2752. end
  2753.  
  2754. --Super Pause--
  2755. function SuperPause()
  2756. SuperSnd:Play()
  2757. local p = Instance.new("Part",game.Workspace)
  2758. p.Size = Vector3.new(0,0,0)
  2759. p.BrickColor = BrickColor.new("White")
  2760. p.Material = "Neon"
  2761. p.Anchored = true
  2762. p.CanCollide = false
  2763. p.CFrame = chara.Torso.CFrame
  2764. local pm = Instance.new("SpecialMesh",p)
  2765. pm.MeshType = "Sphere"
  2766. local disp = coroutine.wrap(function()
  2767. for i = 1, 4 do
  2768. wait(.01)
  2769. p.Transparency = p.Transparency + .2
  2770. pm.Scale = pm.Scale + Vector3.new(20,20,20)
  2771. end
  2772. wait(.01)
  2773. p:Destroy()
  2774. end)
  2775. disp()
  2776. end
  2777.  
  2778. --Blade Touch--
  2779. dela = .5
  2780. bladeactive = false
  2781. stormvipactive = false
  2782. executeactive = false
  2783. function bladehit(hit)
  2784. if bladeactive == true then
  2785. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("IsHit")==nil then
  2786. p1mit.Enabled = true
  2787. PlaySnd(HitSnd,hit.Parent.Head)
  2788. dealdmg(hit.Parent)
  2789. if stormvipactive == true then
  2790. local bf = Instance.new("BodyVelocity",hit.Parent.Head)
  2791. bf.P = 10000
  2792. bf.MaxForce = Vector3.new(bf.P,bf.P,bf.P)
  2793. bf.Velocity = Vector3.new(0,100,0)
  2794. debby:AddItem(bf,.2)
  2795. end
  2796. if executeactive == true then
  2797. local we = Instance.new("Weld",Hitbox)
  2798. we.Name = "HitWeld"
  2799. we.Part0 = hit.Parent.Head
  2800. we.Part1 = Hitbox
  2801. we.C0 = we.C0 * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0)
  2802. end
  2803. wait(.5)
  2804. p1mit.Enabled = false
  2805. end
  2806. end
  2807. end
  2808. Hitbox.Touched:connect(bladehit)
  2809.  
  2810. --Material Return--
  2811. gprop = {}
  2812. function materialhit(hit)
  2813. if hit.Parent ~= chara and hit.Parent.Parent ~= chara and hit.Name ~= "Trace" and hit.Parent:FindFirstChild("Humanoid") == nil then
  2814. gprop = {hit.BrickColor,hit.Material}
  2815. end
  2816. end
  2817. chara["Left Leg"].Touched:connect(materialhit)
  2818. chara["Right Leg"].Touched:connect(materialhit)
  2819.  
  2820. --Clerp Animations--
  2821. TC = chara.HumanoidRootPart.RootJoint
  2822. HC = chara.Torso.Neck
  2823. RAC = chara.Torso["Right Shoulder"]
  2824. LAC = chara.Torso["Left Shoulder"]
  2825. RLC = chara.Torso["Right Hip"]
  2826. LLC = chara.Torso["Left Hip"]
  2827. TCF = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  2828. HCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  2829. RACF = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  2830. LACF = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2831. RLCF = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  2832. LLCF = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2833. RWF = CFrame.new(-1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2834. LWF = CFrame.new(1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2835. RLWF = CFrame.new(-.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2836. LLWF = CFrame.new(.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2837. RW = Instance.new("Weld",HC.Parent)
  2838. RW.Part1 = HC.Parent
  2839. RW.Part0 = chara["Right Arm"]
  2840. RW.C0 = RWF
  2841. LW = Instance.new("Weld",HC.Parent)
  2842. LW.Part1 = HC.Parent
  2843. LW.Part0 = chara["Left Arm"]
  2844. LW.C0 = LWF
  2845. RLW = nil
  2846. LLW = nil
  2847.  
  2848. function Sheath(stype)
  2849. KWeld:Destroy()
  2850. if stype == 1 then --Sheathed
  2851. KWeld = New("ManualWeld",Handle,"Weld",{Part0 = Handle,Part1 = chara["Right Arm"],C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0),C1 = CFrame.new(0, -1.00000644, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  2852. elseif stype == 2 then --Unsheathed
  2853. KWeld = New("ManualWeld",Handle,"Weld",{Part0 = Handle,Part1 = chara["Right Arm"],C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1.00000525, 4.17232513e-07, 0, 4.17232513e-07, 1.00000525),C1 = CFrame.new(0, -0.600002885, -0.0999984741, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  2854. end
  2855. end
  2856.  
  2857. function AddLegWelds()
  2858. RLW = Instance.new("Weld",chara["Right Leg"])
  2859. RLW.Part1 = HC.Parent
  2860. RLW.Part0 = chara["Right Leg"]
  2861. RLW.C0 = RLWF
  2862. LLW = Instance.new("Weld",chara["Left Leg"])
  2863. LLW.Part1 = HC.Parent
  2864. LLW.Part0 = chara["Left Leg"]
  2865. LLW.C0 = LLWF
  2866. end
  2867.  
  2868. function DestroyLegWelds()
  2869. RLC = New("Motor6D",chara.Torso,"Right Hip",{Part0 = chara.Torso,Part1 = chara["Right Leg"],C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),})
  2870. LLC = New("Motor6D",chara.Torso,"Left Hip",{Part0 = chara.Torso,Part1 = chara["Left Leg"],C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),})
  2871. RLW:Destroy()
  2872. LLW:Destroy()
  2873. end
  2874.  
  2875. function clerp(a,b,c)
  2876. return a:lerp(b,c)
  2877. end
  2878.  
  2879. --TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
  2880. --HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50))
  2881. --RW.C0 = (RWF + Vector3.new(1,2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
  2882. --LW.C0 = LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(2))
  2883.  
  2884. TC.C0 = TCF
  2885. HC.C0 = HCF
  2886. RW.C0 = RWF
  2887. LW.C0 = LWF
  2888.  
  2889. --Idle Clerp--
  2890. ITCF = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(10))
  2891. IHCF = HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,math.rad(-10))
  2892. IRWF = RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-2))
  2893. ILWF = LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(2))
  2894.  
  2895. TC.C0 = ITCF
  2896. HC.C0 = IHCF
  2897. RW.C0 = IRWF
  2898. LW.C0 = ILWF
  2899.  
  2900. --Claw Dash--
  2901. function ClawDash()
  2902. del = true
  2903. atkd = true
  2904. chara.Humanoid.WalkSpeed = 0
  2905. chatfunc("Without a trace...")
  2906. for i = 0,.6,.2 do
  2907. wait(.01)
  2908. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  2909. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  2910. RW.C0 = clerp(IRWF,RWF,.4+i)
  2911. end
  2912. local hittpart = Instance.new("Part",chara)
  2913. hittpart.Anchored = true
  2914. hittpart.Size = Vector3.new(5,5,1)
  2915. hittpart.Transparency = 1
  2916. hittpart.CFrame = chara.HumanoidRootPart.CFrame + (chara.HumanoidRootPart.CFrame.lookVector * 3)
  2917. local sawlookv = hittpart.CFrame.lookVector
  2918. local hitm = Instance.new("BlockMesh",hittpart)
  2919. hitm.Scale = Vector3.new(0,0,0)
  2920. local trpart = Instance.new("Part",chara)
  2921. trpart.Anchored = true
  2922. trpart.Size = Vector3.new(0,0,0)
  2923. trpart.CFrame = hittpart.CFrame
  2924. trpart.BrickColor = BrickColor.new("Really black")
  2925. local trmesh = Instance.new("FileMesh",trpart)
  2926. trmesh.Scale = Vector3.new(0,0,0)
  2927. trmesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2928. local hdec1 = Instance.new("Decal",hittpart)
  2929. hdec1.Texture = "http://www.roblox.com/asset/?id=362691215"
  2930. hdec1.Face = "Front"
  2931. local hdec2 = hdec1:Clone()
  2932. hdec2.Parent = hittpart
  2933. hdec2.Face = "Back"
  2934. OrbSnd:Play()
  2935. ElectricSnd:Play()
  2936. for i = 1, 5 do
  2937. hitm.Scale = hitm.Scale + Vector3.new(.2,.2,0)
  2938. trmesh.Scale = trmesh.Scale + Vector3.new(1,1,.1)
  2939. wait(.01)
  2940. end
  2941. hittpart.Touched:connect(function(hit)
  2942. if hit.Parent ~= chara then
  2943. ClawDashSnd:Play()
  2944. hittpart:Destroy()
  2945. trpart:Destroy()
  2946. AddLegWelds()
  2947. freezeatk = true
  2948. chatfunc("Winter's Riposte!")
  2949. Sheath(4)
  2950. TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0)
  2951. HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0)
  2952. RW.C0 = (RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50))
  2953. LW.C0 = (LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50))
  2954. LLW.C0 = LLWF
  2955. RLW.C0 = RLWF + Vector3.new(0,-1,1)
  2956. for i = 1, 10 do
  2957. local trace = Instance.new("Part",game.Workspace)
  2958. trace.CanCollide = false
  2959. trace.Size = Vector3.new(1,1,1)
  2960. trace.Transparency = 1
  2961. trace.BottomSurface = 0
  2962. trace.TopSurface = 0
  2963. trace.Anchored = true
  2964. trace.CFrame = (chara.HumanoidRootPart.CFrame + chara.HumanoidRootPart.CFrame.lookVector * (5*i))
  2965. debby:AddItem(trace,1)
  2966. ExHitbox(10,trace.Position,40,2,.1)
  2967. end
  2968. local trace = Instance.new("Part",game.Workspace)
  2969. trace.BrickColor = BrickColor.new("Toothpaste")
  2970. trace.CanCollide = false
  2971. trace.Size = Vector3.new(1,1,1)
  2972. trace.BottomSurface = 0
  2973. trace.TopSurface = 0
  2974. trace.Anchored = true
  2975. trace.CFrame = chara.HumanoidRootPart.CFrame + chara.HumanoidRootPart.CFrame.lookVector * 25
  2976. trace.Material = "Neon"
  2977. local tracem = Instance.new("SpecialMesh",trace)
  2978. tracem.MeshType = "Sphere"
  2979. tracem.Scale = Vector3.new(1,1,50)
  2980. local disp = coroutine.wrap(function()
  2981. for i = 1, 9 do
  2982. wait(.01)
  2983. trace.Transparency = trace.Transparency + .1
  2984. end
  2985. wait(.01)
  2986. trace:Destroy()
  2987. end)
  2988. disp()
  2989. chara.HumanoidRootPart.CFrame = chara.HumanoidRootPart.CFrame + chara.HumanoidRootPart.CFrame.lookVector * 60
  2990. wait(1)
  2991. Sheath(3)
  2992. for i = 0,.6,.2 do
  2993. wait(.05)
  2994. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0),.6-i)
  2995. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0),.6-i)
  2996. RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.6-i)
  2997. LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.6-i)
  2998. LLW.C0 = LLWF
  2999. RLW.C0 = clerp(RLWF,RLWF + Vector3.new(0,-1,1),.6-i)
  3000. end
  3001. Sheath(1)
  3002. freezeatk = false
  3003. del = false
  3004. DestroyLegWelds()
  3005. chara.Humanoid.WalkSpeed = 32
  3006. end
  3007. end)
  3008. for i = 1, 60 do
  3009. wait(.01)
  3010. hittpart.CFrame=hittpart.CFrame*CFrame.fromEulerAnglesXYZ(0,0,math.pi/64)
  3011. end
  3012. if hittpart ~= nil then
  3013. for i = 1, 5 do
  3014. hitm.Scale = hitm.Scale - Vector3.new(.2,.2,0)
  3015. trmesh.Scale = trmesh.Scale - Vector3.new(1,1,.1)
  3016. wait(.01)
  3017. end
  3018. hittpart:Destroy()
  3019. trpart:Destroy()
  3020. for i = 0,.6,.2 do
  3021. wait(.01)
  3022. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
  3023. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  3024. RW.C0 = clerp(IRWF,RWF,.6-i)
  3025. end
  3026. del = false
  3027. chara.Humanoid.WalkSpeed = 32
  3028. end
  3029. end
  3030.  
  3031. --Kill--
  3032. function KillThem()
  3033. del = true
  3034. atkd = true
  3035. chara.Humanoid.WalkSpeed = 0
  3036. bladeactive = true
  3037. SwingSnd:Play()
  3038. Sheath(2)
  3039. wait(.01)
  3040. for i = 0,.75,.22 do
  3041. wait(.01)
  3042. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  3043. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,math.rad(-90)),.4+i)
  3044. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  3045. end
  3046. wait(1)
  3047. Sheath(1)
  3048. bladeactive = false
  3049. for i = 0,.6,.2 do
  3050. wait(.01)
  3051. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
  3052. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,math.rad(-90)),.6-i)
  3053. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  3054. end
  3055. TC.C0 = ITCF
  3056. HC.C0 = IHCF
  3057. RW.C0 = IRWF
  3058. LW.C0 = ILWF
  3059. chara.Humanoid.WalkSpeed = 8
  3060. del = false
  3061. end
  3062.  
  3063. --End--
  3064. function EndThem()
  3065. del = true
  3066. atkd = true
  3067. chara.Humanoid.WalkSpeed = 0
  3068. bladeactive = true
  3069. SwingSnd:Play()
  3070. wait(.01)
  3071. for i = 0,.75,.25 do
  3072. wait(.01)
  3073. TC.C0 = clerp(ITCF,TCF,.4+i)
  3074. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,0),.4+i)
  3075. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,0,-.4)) * CFrame.fromEulerAnglesXYZ(math.rad(-150),0,math.rad(-90)),.4+i)
  3076. end
  3077. wait(.5)
  3078. bladeactive = false
  3079. for i = 0,.6,.2 do
  3080. wait(.01)
  3081. TC.C0 = clerp(ITCF,TCF,.6-i)
  3082. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,0),.6-i)
  3083. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,0,-.4)) * CFrame.fromEulerAnglesXYZ(math.rad(-150),0,math.rad(-90)),.6-i)
  3084. end
  3085. TC.C0 = ITCF
  3086. HC.C0 = IHCF
  3087. RW.C0 = IRWF
  3088. LW.C0 = ILWF
  3089. chara.Humanoid.WalkSpeed = 8
  3090. del = false
  3091. end
  3092.  
  3093. --Murder--
  3094. function MurderThem()
  3095. del = true
  3096. atkd = true
  3097. chara.Humanoid.WalkSpeed = 0
  3098. for i = 0,.6,.2 do
  3099. wait(.01)
  3100. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(-25),0,math.rad(100)),.4+i)
  3101. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(100)),.4+i)
  3102. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.7,1.4,-1.1)) * CFrame.fromEulerAnglesXYZ(0,math.rad(90),math.rad(-180)),.4+i)
  3103. LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(30)),.4+i)
  3104. end
  3105. local bf = Instance.new("BodyVelocity",chara.Torso)
  3106. bf.P = 10000
  3107. bf.MaxForce = Vector3.new(bf.P,bf.P,bf.P)
  3108. bf.Velocity = Vector3.new(0,100,0) + chara.HumanoidRootPart.CFrame.lookVector*5
  3109. SwingSnd:Play()
  3110. stormvipactive = true
  3111. bladeactive = true
  3112. wait(.2)
  3113. stormvipactive = false
  3114. bladeactive = false
  3115. bf:Destroy()
  3116. for i = 0,.6,.2 do
  3117. wait(.01)
  3118. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(-25),0,math.rad(100)),.6-i)
  3119. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(100)),.6-i)
  3120. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.7,1.4,-1.1)) * CFrame.fromEulerAnglesXYZ(0,math.rad(90),math.rad(-180)),.6-i)
  3121. LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(30)),.6-i)
  3122. end
  3123. TC.C0 = ITCF
  3124. HC.C0 = IHCF
  3125. RW.C0 = IRWF
  3126. LW.C0 = ILWF
  3127. chara.Humanoid.WalkSpeed = 8
  3128. del = false
  3129. end
  3130.  
  3131. --Execute--
  3132. function ExecuteThem()
  3133. del = true
  3134. atkd = true
  3135. for i = 0,.6,.2 do
  3136. wait(.01)
  3137. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),.4+i)
  3138. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(-45),0,0),.4+i)
  3139. RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),.4+i)
  3140. end
  3141. TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0)
  3142. HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(math.rad(-45),0,0)
  3143. RW.C0 = (RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0)
  3144. local bf = Instance.new("BodyVelocity",chara.Torso)
  3145. bf.P = 10000
  3146. bf.MaxForce = Vector3.new(bf.P,bf.P,bf.P)
  3147. bf.Velocity = Vector3.new(0,100,0) + chara.HumanoidRootPart.CFrame.lookVector*5
  3148. Sheath(2)
  3149. SwingSnd:Play()
  3150. executeactive = true
  3151. bladeactive = true
  3152. wait(.2)
  3153. bf:Destroy()
  3154. wait(.5)
  3155. if Hitbox:FindFirstChild("HitWeld")~=nil then
  3156. Hitbox:FindFirstChild("HitWeld"):Destroy()
  3157. end
  3158. Sheath(1)
  3159. executeactive = false
  3160. bladeactive = false
  3161. for i = 0,.6,.2 do
  3162. wait(.01)
  3163. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),.6-i)
  3164. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(-45),0,0),.6-i)
  3165. RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),.6-i)
  3166. end
  3167. TC.C0 = ITCF
  3168. HC.C0 = IHCF
  3169. RW.C0 = IRWF
  3170. LW.C0 = ILWF
  3171. del = false
  3172. end
  3173.  
  3174. --Expunge--
  3175. function ExpungeThem()
  3176. del = true
  3177. atkd = true
  3178. chara.Humanoid.WalkSpeed = 0
  3179. for i = 0,1,.5 do
  3180. wait(.01)
  3181. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
  3182. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,math.rad(-90)),.4+i)
  3183. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
  3184. end
  3185. ThrowSnd:Play()
  3186. local knc = Knifu:GetChildren()
  3187. for i = 1, #knc do
  3188. knc[i].Transparency = 1
  3189. end
  3190. wait(.2)
  3191. KnifuHit = New("Model",game.Workspace,"KnifuHit",{})
  3192. debby:AddItem(KnifuHit,5)
  3193. HWeldPart = New("Part",KnifuHit,"HWeldPart",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.600000024, 0.400000006),CFrame = CFrame.new(68.6099854, 1.50001717, 8.10717869, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  3194. Mesh = New("CylinderMesh",HWeldPart,"Mesh",{})
  3195. Weld = New("ManualWeld",HWeldPart,"Weld",{Part0 = HWeldPart,Part1 = targetted.Head,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),C1 = CFrame.new(0.00998687744, 1.00000417, -1.79282093, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  3196. HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000033),CFrame = CFrame.new(68.6099854, 0.913415372, 8.92320538, -1, 0, 0, 0, 0.500000536, -0.866025746, 0, -0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),})
  3197. Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,})
  3198. Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 1, -0.0999984741, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  3199. HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(68.6099854, 1.60001719, 7.93397379, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  3200. Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),})
  3201. Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, -0.199999809, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  3202. HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(68.6099854, 1.30001676, 8.45358944, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  3203. Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1.5, 1.20000005, 1.5),})
  3204. Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 0.400000334, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  3205. HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(68.6099854, 1.47322106, 8.55358887, -1, 0, 0, 0, 0.500000536, -0.866025746, 0, -0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  3206. Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1, 1, 1.20000005),MeshType = Enum.MeshType.Wedge,})
  3207. Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.400000095, 0.199998856, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  3208. HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000036),CFrame = CFrame.new(68.6099854, 1.12680948, 8.3535881, 1, 0, 0, 0, 0.500000536, 0.866025746, 0, -0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  3209. Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1, 1, 1.20000005),MeshType = Enum.MeshType.Wedge,})
  3210. Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, 0.400000095, -0.20000267, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  3211. HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.600000024, 0.200000003),CFrame = CFrame.new(68.6099854, 1.01341367, 8.74999905, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  3212. Mesh = New("BlockMesh",HPart,"Mesh",{Scale = Vector3.new(0.400000006, 1, 1),})
  3213. Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 0.800000429, -0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  3214. HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.399999946, 0.400000036),CFrame = CFrame.new(68.6099854, 0.650017917, 9.5794239, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),})
  3215. Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,})
  3216. Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 1.70000005, 1.90734863e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  3217. HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 0.886619031, 9.36961555, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  3218. Mesh = New("BlockMesh",HPart,"Mesh",{Scale = Vector3.new(0.400000006, 1, 1),})
  3219. Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 1.40000057, 0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  3220. HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 1.28662145, 8.67679501, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  3221. Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
  3222. Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.599999905, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  3223. HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 1.28662145, 8.67679501, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  3224. Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
  3225. Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.599999905, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  3226. HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 1.18662131, 8.85000038, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  3227. Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
  3228. Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.799999952, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  3229. HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 1.18662131, 8.85000038, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  3230. Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
  3231. Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.799999952, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  3232. HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 1.08662117, 9.02320576, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  3233. Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
  3234. Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  3235. HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 1.08662117, 9.02320576, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  3236. Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
  3237. Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  3238. HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 0.986621022, 9.19641113, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  3239. Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
  3240. Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.20000005, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  3241. HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 0.986621022, 9.19641113, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  3242. Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
  3243. Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.20000005, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  3244. HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 1, 0.200000003),CFrame = CFrame.new(68.6099854, 1.08661926, 9.0232048, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  3245. Mesh = New("BlockMesh",HPart,"Mesh",{Offset = Vector3.new(0, 0, -0.0500000007),Scale = Vector3.new(0.400000006, 1, 0.5),})
  3246. Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 1.00000048, 0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  3247. HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(68.6099854, 1.50001705, 8.10717869, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  3248. Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),})
  3249. Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 2.38418579e-07, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  3250. HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(68.6099854, 1.4000169, 8.28038406, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  3251. Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),})
  3252. Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 0.200000286, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  3253. HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.400000036, 0.200000003),CFrame = CFrame.new(68.6099854, 0.76341331, 9.18301201, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),})
  3254. Mesh = New("BlockMesh",HPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),})
  3255. Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 1.30000043, -0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  3256. HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000033),CFrame = CFrame.new(68.6099854, 0.886620879, 9.36961555, -1, 0, 0, 0, 0.500000536, -0.866025746, 0, -0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),})
  3257. Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,})
  3258. Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.4000001, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  3259. dealdmg(targetted)
  3260. PlaySnd(HitSnd,targetted.Head)
  3261. wait(1)
  3262. for i = 0,1,.1 do
  3263. wait(.01)
  3264. for i = 1, #knc do
  3265. if knc[i] ~= Hitbox then
  3266. knc[i].Transparency = 1-i
  3267. end
  3268. end
  3269. end
  3270. for i = 0,.6,.2 do
  3271. wait(.01)
  3272. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
  3273. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,math.rad(-90)),.6-i)
  3274. RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
  3275. end
  3276. TC.C0 = ITCF
  3277. HC.C0 = IHCF
  3278. RW.C0 = IRWF
  3279. LW.C0 = ILWF
  3280. chara.Humanoid.WalkSpeed = 8
  3281. del = false
  3282. end
  3283.  
  3284. --Lock On--
  3285. function LockOn()
  3286. if Mouse.Target.Parent ~= chara and Mouse.Target.Parent.Parent ~= chara and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  3287. TargetSelect(Mouse.Target.Parent)
  3288. TargetSnd:Play()
  3289. else end
  3290. end
  3291.  
  3292. --Mouse Functions--
  3293. orbpushactive = false
  3294. del = false
  3295. input = ""
  3296. letterd = 0
  3297. ltoim = 0
  3298. function onKeyDown(key)
  3299. if del == false then
  3300. if key == "q" then
  3301. if input == "n" and targetted ~= nil then
  3302. ExpungeThem()
  3303. else LockOn() end
  3304. input = "Nope"
  3305. letterd = 0
  3306. ltoim = 0
  3307. elseif key == "z" then
  3308. input = "HAHAHAHA"
  3309. letterd = 0
  3310. ltoim = 0
  3311. elseif key == "x" then
  3312. input = "Your dead"
  3313. letterd = 0
  3314. ltoim = 0
  3315. elseif key == "c" then
  3316. if input == "You will be going to hell" then
  3317. KillThem()
  3318. elseif input == "Now why your doing this." then
  3319. EndThem()
  3320. elseif input == "Your dead" then
  3321. MurderThem()
  3322. elseif input == "Hahaha" then
  3323. ExecuteThem()
  3324. else end
  3325. input = ""
  3326. letterd = 0
  3327. ltoim = 0
  3328. elseif (key == "w" or key == "a" or key == "s" or key == "d") then
  3329. input=input..key
  3330. print(input)
  3331. letterd = letterd + 1
  3332. ltoim = ltoim + 10
  3333. if letterd > 5 then
  3334. input = ""
  3335. letterd = 0
  3336. ltoim = 0
  3337. end
  3338. elseif key == "m" then
  3339. if Music.IsPlaying == true then
  3340. Music:Stop()
  3341. elseif Music.IsPlaying == false then
  3342. Music:Play()
  3343. end
  3344. end
  3345. end
  3346. end
  3347. combo = 0
  3348.  
  3349. --Mouse Activation--
  3350. if Mouse then
  3351. Mouse.KeyDown:connect(onKeyDown)
  3352. end
  3353.  
  3354. --Loop Function--
  3355. walking = false
  3356. toim = 0
  3357. while true do
  3358. wait()
  3359. toim = toim + .1
  3360. ltoim = ltoim - 1
  3361. if ltoim < 1 then
  3362. input = ""
  3363. end
  3364. chara.Humanoid.MaxHealth = math.huge
  3365. chara.Humanoid.Health = math.huge
  3366. if atkd == true then
  3367. TC.C0 = TCF
  3368. HC.C0 = HCF
  3369. RW.C0 = RWF
  3370. LW.C0 = LWF
  3371. atkd = false
  3372. end
  3373. torvel = (chara.HumanoidRootPart.Velocity*Vector3.new(1,0,1)).magnitude
  3374. if torvel < 1 and walking == true and del == false and atkd == false then
  3375. for i = 0,1,.5 do
  3376. wait(.001)
  3377. if del == false then
  3378. TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(math.rad(5),0,0),ITCF,i)
  3379. HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(5),0,0),IHCF,i)
  3380. RW.C0 = IRWF
  3381. LW.C0 = ILWF
  3382. end
  3383. end
  3384. walking = false
  3385. elseif torvel > 1 and walking == false and del == false and atkd == false then
  3386. for i = 0,1,.5 do
  3387. wait(.001)
  3388. if del == false then
  3389. TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(5),0,0),i)
  3390. HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(5),0,0),i)
  3391. RW.C0 = IRWF
  3392. LW.C0 = ILWF
  3393. end
  3394. end
  3395. walking = true
  3396. else
  3397. end
  3398. imgl.Rotation = imgl.Rotation + 3
  3399. if targetted ~= nil then
  3400. crosshair.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
  3401. crosshair.Enabled = true
  3402. elseif targetted == nil then
  3403. crosshair.Adornee = nil
  3404. crosshair.Enabled = false
  3405. end
  3406. end
  3407. end
  3408. end
  3409. end
  3410.  
  3411. function InvokeClient(Mode, Value)
  3412. local ClientReturn = nil
  3413. pcall(function()
  3414. ClientReturn = ClientControl:InvokeClient(Player, Mode, Value)
  3415. end)
  3416. return ClientReturn
  3417. end
  3418.  
  3419. ServerControl.OnServerInvoke = OnServerInvoke
  3420.  
  3421. Tool.Activated:connect(Activated)
  3422. Tool.Equipped:connect(Equipped)
  3423. Tool.Unequipped:connect(Unequipped)
  3424.  
  3425. Blow(Handle)
  3426. end))
  3427. Script83.Name = "DeathEffect"
  3428. Script83.Parent = Script82
  3429. Script83.Disabled = true
  3430. table.insert(cors,sandbox(Script83,function()
  3431. --Made by Luckymaxer
  3432.  
  3433. Character = script.Parent
  3434. Humanoid = Character:FindFirstChild("Humanoid")
  3435.  
  3436. Debris = game:GetService("Debris")
  3437.  
  3438. WindDirection = script:FindFirstChild("WindDirection")
  3439. Force = script:FindFirstChild("Force")
  3440.  
  3441. Parts = {}
  3442.  
  3443. BaseColor = BrickColor.new("Royal purple")
  3444. Color = BaseColor.Color
  3445.  
  3446. Gravity = 196.20
  3447.  
  3448. Duration = 3
  3449.  
  3450. Classes = {
  3451. BasePart = {
  3452. BrickColor = BaseColor,
  3453. Material = Enum.Material.Plastic,
  3454. Reflectance = 0,
  3455. Transparency = 0.75,
  3456. },
  3457. FileMesh = {
  3458. TextureId = "",
  3459. },
  3460. DataModelMesh = {
  3461. VertexColor = Vector3.new(Color.r, Color.g, Color.b),
  3462. },
  3463. CharacterMesh = {
  3464. BaseTextureId = 0,
  3465. OverlayTextureId = 0,
  3466. },
  3467. Shirt = {
  3468. ShirtTemplate = "",
  3469. },
  3470. Pants = {
  3471. PantsTemplate = "",
  3472. },
  3473. FaceInstance = {
  3474. Texture = "",
  3475. },
  3476. Sparkles = {
  3477. SparkleColor = Color,
  3478. Enabled = false,
  3479. },
  3480. Fire = {
  3481. Color = Color,
  3482. SecondaryColor = Color,
  3483. Enabled = false,
  3484. },
  3485. Smoke = {
  3486. Color = Color,
  3487. Enabled = false,
  3488. },
  3489. Light = {
  3490. Color = Color,
  3491. Enabled = false,
  3492. },
  3493. ParticleEmitter = {
  3494. Color = ColorSequence.new(Color, Color),
  3495. Enabled = false,
  3496. }
  3497. }
  3498.  
  3499. Fire = script:FindFirstChild("Fire")
  3500.  
  3501. Objects = {}
  3502. RemovedObjects = {}
  3503. FakeParts = {}
  3504. Hats = {}
  3505. Tools = {}
  3506. Particles = {}
  3507.  
  3508. function DestroyScript()
  3509. Debris:AddItem(script, 0.5)
  3510. end
  3511.  
  3512. function TweenNumber(Start, Goal, Time)
  3513. return ((Goal - Start) / Time)
  3514. end
  3515.  
  3516. function Decorate(Object)
  3517. local ObjectData = {
  3518. Object = nil,
  3519. Properties = {},
  3520. }
  3521. for i, v in pairs(Classes) do
  3522. if Object:IsA(i) then
  3523. if Object:IsA("CharacterMesh") then
  3524. local Mesh = Instance.new("SpecialMesh")
  3525. Mesh.MeshType = Enum.MeshType.FileMesh
  3526. Mesh.MeshId = ("http://www.roblox.com/asset/?id=" .. Object.MeshId)
  3527. for ii, vv in pairs(Character:GetChildren()) do
  3528. if vv:IsA("BasePart") and Object.BodyPart.Name == string.gsub(vv.Name, " ", "") then
  3529. Mesh.Parent = vv
  3530. table.insert(RemovedObjects, {Object = Object, NewObject = Mesh, Parent = Object.Parent})
  3531. Object.Parent = nil
  3532. end
  3533. end
  3534. elseif Object:IsA("BasePart") and Object.Transparency >= 1 then
  3535. else
  3536. ObjectData.Object = Object
  3537. for ii, vv in pairs(v) do
  3538. local PropertyValue = nil
  3539. local PropertyValueSet = false
  3540. pcall(function()
  3541. PropertyValue = Object[ii]
  3542. PropertyValueSet = true
  3543. Object[ii] = vv
  3544. end)
  3545. if PropertyValueSet then
  3546. ObjectData.Properties[ii] = PropertyValue
  3547. end
  3548. end
  3549. end
  3550. end
  3551. end
  3552. table.insert(Objects, ObjectData)
  3553. end
  3554.  
  3555. function Redesign(Parent)
  3556. for i, v in pairs(Parent:GetChildren()) do
  3557. if v ~= script then
  3558. Decorate(v)
  3559. Redesign(v)
  3560. end
  3561. end
  3562. end
  3563.  
  3564. if not Humanoid or not WindDirection then
  3565. DestroyScript()
  3566. return
  3567. end
  3568.  
  3569. for i, v in pairs(Character:GetChildren()) do
  3570. if v:IsA("Hat") or v:IsA("Tool") then
  3571. local FakeObject = v:Clone()
  3572. Decorate(FakeObject)
  3573. table.insert(((v:IsA("Hat") and Hats) or Tools), v)
  3574. for ii, vv in pairs(FakeObject:GetChildren()) do
  3575. if vv:IsA("BasePart") then
  3576. local FakePart = vv:Clone()
  3577. FakePart.Name = v.Name
  3578. table.insert(FakeParts, FakePart)
  3579. FakePart.Parent = Character
  3580. FakePart.CFrame = vv.CFrame
  3581. end
  3582. end
  3583. end
  3584. end
  3585.  
  3586. Humanoid:UnequipTools()
  3587.  
  3588. for i, v in pairs({Hats, Tools}) do
  3589. for ii, vv in pairs(v) do
  3590. vv.Parent = nil
  3591. end
  3592. end
  3593.  
  3594. Redesign(Character)
  3595.  
  3596. local GhostModel = Instance.new("Model")
  3597. GhostModel.Name = "GhostModel"
  3598.  
  3599. for i, v in pairs(Character:GetChildren()) do
  3600. if v:IsA("BasePart") then
  3601. if v.Name ~= "HumanoidRootPart" then
  3602. local FakePart = v:Clone()
  3603. FakePart.Name = "Part"
  3604. FakePart.CanCollide = false
  3605. for ii, vv in pairs(FakePart:GetChildren()) do
  3606. if not vv:IsA("DataModelMesh") then
  3607. vv:Destroy()
  3608. end
  3609. end
  3610. table.insert(FakeParts, FakePart)
  3611. local Mass = (v:GetMass() * Gravity ^ 2)
  3612. local BodyVelocity = Instance.new("BodyVelocity")
  3613. BodyVelocity.maxForce = Vector3.new(Mass, Mass, Mass)
  3614. BodyVelocity.velocity = (WindDirection.Value * Force.Value)
  3615. BodyVelocity.Parent = FakePart
  3616. FakePart.Parent = GhostModel
  3617. local FireParticle = Fire:Clone()
  3618. FireParticle.Enabled = true
  3619. table.insert(Particles, FireParticle)
  3620. FireParticle.Parent = FakePart
  3621. end
  3622. v:Destroy()
  3623. end
  3624. end
  3625.  
  3626. Spawn(function()
  3627. local Start = Classes.BasePart.Transparency
  3628. local End = 1
  3629. local Time = 0.75
  3630. local Rate = (1 / 30)
  3631. local Frames = (Time / Rate)
  3632. for i = 1, Frames do
  3633. local Transparency = (Start + TweenNumber(Start, End, (Frames / (i + 1))))
  3634. for ii, vv in pairs(FakeParts) do
  3635. if vv and vv.Parent then
  3636. vv.Transparency = Transparency
  3637. end
  3638. end
  3639. wait(Rate)
  3640. end
  3641. for i, v in pairs(Particles) do
  3642. v.Enabled = false
  3643. end
  3644. end)
  3645.  
  3646. Debris:AddItem(GhostModel, 5)
  3647. GhostModel.Parent = game:GetService("Workspace")
  3648. end))
  3649. Vector3Value84.Name = "WindDirection"
  3650. Vector3Value84.Parent = Script83
  3651. Vector3Value85.Name = "Force"
  3652. Vector3Value85.Parent = Script83
  3653. ParticleEmitter86.Name = "Fire"
  3654. ParticleEmitter86.Parent = Script83
  3655. ParticleEmitter86.Transparency = NumberSequence.new(0.60000002384186,0.60000002384186)
  3656. ParticleEmitter86.Rotation = NumberRange.new(0, 5)
  3657. ParticleEmitter86.Size = NumberSequence.new(0.31999999284744,1.1799999475479,1.25)
  3658. ParticleEmitter86.Color = ColorSequence.new(Color3.new(0.666667, 0, 1),Color3.new(0.333333, 0, 0.498039))
  3659. ParticleEmitter86.Enabled = false
  3660. ParticleEmitter86.LightEmission = 1
  3661. ParticleEmitter86.Texture = "rbxasset://textures/particles/fire_main.dds"
  3662. ParticleEmitter86.Acceleration = Vector3.new(0, 10, 0)
  3663. ParticleEmitter86.Lifetime = NumberRange.new(0.20000000298023, 0.30000001192093)
  3664. ParticleEmitter86.Rate = 1000
  3665. ParticleEmitter86.RotSpeed = NumberRange.new(15, 25)
  3666. ParticleEmitter86.Speed = NumberRange.new(-0.25, -0.25)
  3667. ParticleEmitter86.Color = ColorSequence.new(Color3.new(0.666667, 0, 1),Color3.new(0.333333, 0, 0.498039))
  3668. RemoteFunction87.Name = "ServerControl"
  3669. RemoteFunction87.Parent = Tool67
  3670. RemoteFunction88.Name = "ClientControl"
  3671. RemoteFunction88.Parent = Tool67
  3672. Script89.Name = "qPerfectionWeld"
  3673. Script89.Parent = Tool67
  3674. table.insert(cors,sandbox(Script89,function()
  3675. -- Created by Quenty (@Quenty, follow me on twitter).
  3676. -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera.
  3677. -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.
  3678.  
  3679. --[[ INSTRUCTIONS
  3680. - Place in the model
  3681. - Make sure model is anchored
  3682. - That's it. It will weld the model and all children.
  3683.  
  3684. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  3685. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  3686. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  3687. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  3688. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  3689. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  3690. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  3691. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  3692.  
  3693. This script is designed to be used is a regular script. In a local script it will weld, but it will not attempt to handle ancestory changes.
  3694. ]]
  3695.  
  3696. --[[ DOCUMENTATION
  3697. - Will work in tools. If ran more than once it will not create more than one weld. This is especially useful for tools that are dropped and then picked up again.
  3698. - Will work in PBS servers
  3699. - Will work as long as it starts out with the part anchored
  3700. - Stores the relative CFrame as a CFrame value
  3701. - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin
  3702. - Utilizes a recursive algorith to find all parts in the model
  3703. - Will reweld on script reparent if the script is initially parented to a tool.
  3704. - Welds as fast as possible
  3705. ]]
  3706.  
  3707. -- qPerfectionWeld.lua
  3708. -- Created 10/6/2014
  3709. -- Author: Quenty
  3710. -- Version 1.0.3
  3711.  
  3712. -- Updated 10/14/2014 - Updated to 1.0.1
  3713. --- Bug fix with existing ROBLOX welds ? Repro by asimo3089
  3714.  
  3715. -- Updated 10/14/2014 - Updated to 1.0.2
  3716. --- Fixed bug fix.
  3717.  
  3718. -- Updated 10/14/2014 - Updated to 1.0.3
  3719. --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/
  3720.  
  3721. local NEVER_BREAK_JOINTS = false -- If you set this to true it will never break joints (this can create some welding issues, but can save stuff like hinges).
  3722.  
  3723.  
  3724. local function CallOnChildren(Instance, FunctionToCall)
  3725. -- Calls a function on each of the children of a certain object, using recursion.
  3726.  
  3727. FunctionToCall(Instance)
  3728.  
  3729. for _, Child in next, Instance:GetChildren() do
  3730. CallOnChildren(Child, FunctionToCall)
  3731. end
  3732. end
  3733.  
  3734. local function GetNearestParent(Instance, ClassName)
  3735. -- Returns the nearest parent of a certain class, or returns nil
  3736.  
  3737. local Ancestor = Instance
  3738. repeat
  3739. Ancestor = Ancestor.Parent
  3740. if Ancestor == nil then
  3741. return nil
  3742. end
  3743. until Ancestor:IsA(ClassName)
  3744.  
  3745. return Ancestor
  3746. end
  3747.  
  3748. local function GetBricks(StartInstance)
  3749. local List = {}
  3750.  
  3751. -- if StartInstance:IsA("BasePart") then
  3752. -- List[#List+1] = StartInstance
  3753. -- end
  3754.  
  3755. CallOnChildren(StartInstance, function(Item)
  3756. if Item:IsA("BasePart") then
  3757. List[#List+1] = Item;
  3758. end
  3759. end)
  3760.  
  3761. return List
  3762. end
  3763.  
  3764. local function Modify(Instance, Values)
  3765. -- Modifies an Instance by using a table.
  3766.  
  3767. assert(type(Values) == "table", "Values is not a table");
  3768.  
  3769. for Index, Value in next, Values do
  3770. if type(Index) == "number" then
  3771. Value.Parent = Instance
  3772. else
  3773. Instance[Index] = Value
  3774. end
  3775. end
  3776. return Instance
  3777. end
  3778.  
  3779. local function Make(ClassType, Properties)
  3780. -- Using a syntax hack to create a nice way to Make new items.
  3781.  
  3782. return Modify(Instance.new(ClassType), Properties)
  3783. end
  3784.  
  3785. local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
  3786. local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
  3787.  
  3788. local function HasWheelJoint(Part)
  3789. for _, SurfaceName in pairs(Surfaces) do
  3790. for _, HingSurfaceName in pairs(HingSurfaces) do
  3791. if Part[SurfaceName].Name == HingSurfaceName then
  3792. return true
  3793. end
  3794. end
  3795. end
  3796.  
  3797. return false
  3798. end
  3799.  
  3800. local function ShouldBreakJoints(Part)
  3801. --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
  3802. -- definitely some edge cases.
  3803.  
  3804. if NEVER_BREAK_JOINTS then
  3805. return false
  3806. end
  3807.  
  3808. if HasWheelJoint(Part) then
  3809. return false
  3810. end
  3811.  
  3812. local Connected = Part:GetConnectedParts()
  3813.  
  3814. if #Connected == 1 then
  3815. return false
  3816. end
  3817.  
  3818. for _, Item in pairs(Connected) do
  3819. if HasWheelJoint(Item) then
  3820. return false
  3821. elseif not Item:IsDescendantOf(script.Parent) then
  3822. return false
  3823. end
  3824. end
  3825.  
  3826. return true
  3827. end
  3828.  
  3829. local function WeldTogether(Part0, Part1, JointType, WeldParent)
  3830. --- Weld's 2 parts together
  3831. -- @param Part0 The first part
  3832. -- @param Part1 The second part (Dependent part most of the time).
  3833. -- @param [JointType] The type of joint. Defaults to weld.
  3834. -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better).
  3835. -- @return The weld created.
  3836.  
  3837. JointType = JointType or "Weld"
  3838. local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
  3839.  
  3840. local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
  3841. Modify(NewWeld, {
  3842. Name = "qCFrameWeldThingy";
  3843. Part0 = Part0;
  3844. Part1 = Part1;
  3845. C0 = CFrame.new();--Part0.CFrame:inverse();
  3846. C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
  3847. Parent = Part1;
  3848. })
  3849.  
  3850. if not RelativeValue then
  3851. RelativeValue = Make("CFrameValue", {
  3852. Parent = Part1;
  3853. Name = "qRelativeCFrameWeldValue";
  3854. Archivable = true;
  3855. Value = NewWeld.C1;
  3856. })
  3857. end
  3858.  
  3859. return NewWeld
  3860. end
  3861.  
  3862. local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
  3863. -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results.
  3864. -- @param MainPart The part to weld the model to (can be in the model).
  3865. -- @param [JointType] The type of joint. Defaults to weld.
  3866. -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion.
  3867.  
  3868. for _, Part in pairs(Parts) do
  3869. if ShouldBreakJoints(Part) then
  3870. Part:BreakJoints()
  3871. end
  3872. end
  3873.  
  3874. for _, Part in pairs(Parts) do
  3875. if Part ~= MainPart then
  3876. WeldTogether(MainPart, Part, JointType, MainPart)
  3877. end
  3878. end
  3879.  
  3880. if not DoNotUnanchor then
  3881. for _, Part in pairs(Parts) do
  3882. Part.Anchored = false
  3883. end
  3884. MainPart.Anchored = false
  3885. end
  3886. end
  3887.  
  3888. local function PerfectionWeld()
  3889. local Tool = GetNearestParent(script, "Tool")
  3890.  
  3891. local Parts = GetBricks(script.Parent)
  3892. local PrimaryPart = Tool and Tool:FindFirstChild("Handle") and Tool.Handle:IsA("BasePart") and Tool.Handle or script.Parent:IsA("Model") and script.Parent.PrimaryPart or Parts[1]
  3893.  
  3894. if PrimaryPart then
  3895. WeldParts(Parts, PrimaryPart, "Weld", false)
  3896. else
  3897. warn("qWeld - Unable to weld part")
  3898. end
  3899.  
  3900. return Tool
  3901. end
  3902.  
  3903. local Tool = PerfectionWeld()
  3904.  
  3905.  
  3906. if Tool and script.ClassName == "Script" then
  3907. --- Don't bother with local scripts
  3908.  
  3909. script.Parent.AncestryChanged:connect(function()
  3910. PerfectionWeld()
  3911. end)
  3912. end
  3913.  
  3914. -- Created by Quenty (@Quenty, follow me on twitter).
  3915.  
  3916. end))
  3917. Part90.Parent = Tool67
  3918. Part90.Material = Enum.Material.SmoothPlastic
  3919. Part90.BrickColor = BrickColor.new("Black")
  3920. Part90.Rotation = Vector3.new(-88.2999954, 1.05999994, -87.5499954)
  3921. Part90.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
  3922. Part90.Size = Vector3.new(0.200000003, 0.200000003, 0.400000006)
  3923. Part90.CFrame = CFrame.new(11.2948227, 1.69359159, -69.2272339, 0.042766571, 0.998914063, 0.0185098089, -0.0303550716, -0.0172189716, 0.99939245, 0.998625696, -0.0433027148, 0.0295857284)
  3924. Part90.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  3925. Part90.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  3926. Part90.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  3927. Part90.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  3928. Part90.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  3929. Part90.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  3930. Part90.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3931. Part90.Position = Vector3.new(11.2948227, 1.69359159, -69.2272339)
  3932. Part90.Orientation = Vector3.new(-88, 32.0299988, -119.559998)
  3933. Part90.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3934. SpecialMesh91.Parent = Part90
  3935. SpecialMesh91.Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005)
  3936. SpecialMesh91.Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005)
  3937. ManualWeld92.Name = "Weld"
  3938. ManualWeld92.Parent = Part90
  3939. ManualWeld92.C1 = CFrame.new(0, 0.200000286, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3940. ManualWeld92.Part0 = Part90
  3941. Part93.Parent = Tool67
  3942. Part93.Material = Enum.Material.SmoothPlastic
  3943. Part93.BrickColor = BrickColor.new("Black")
  3944. Part93.Rotation = Vector3.new(-88.2999954, 1.05999994, -87.5499954)
  3945. Part93.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
  3946. Part93.Size = Vector3.new(0.200000003, 0.200000003, 0.400000006)
  3947. Part93.CFrame = CFrame.new(11.0950394, 1.69703543, -69.2185745, 0.042766571, 0.998914063, 0.0185098089, -0.0303550716, -0.0172189716, 0.99939245, 0.998625696, -0.0433027148, 0.0295857284)
  3948. Part93.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  3949. Part93.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  3950. Part93.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  3951. Part93.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  3952. Part93.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  3953. Part93.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  3954. Part93.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3955. Part93.Position = Vector3.new(11.0950394, 1.69703543, -69.2185745)
  3956. Part93.Orientation = Vector3.new(-88, 32.0299988, -119.559998)
  3957. Part93.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3958. SpecialMesh94.Parent = Part93
  3959. SpecialMesh94.Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005)
  3960. SpecialMesh94.Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005)
  3961. ManualWeld95.Name = "Weld"
  3962. ManualWeld95.Parent = Part93
  3963. ManualWeld95.C1 = CFrame.new(0, 2.38418579e-07, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3964. ManualWeld95.Part0 = Part93
  3965. Part96.Parent = Tool67
  3966. Part96.Material = Enum.Material.SmoothPlastic
  3967. Part96.BrickColor = BrickColor.new("Crimson")
  3968. Part96.Rotation = Vector3.new(91.6999969, -1.05999994, 87.5499954)
  3969. Part96.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
  3970. Part96.Size = Vector3.new(0.200000003, 0.200000003, 0.200000033)
  3971. Part96.CFrame = CFrame.new(12.0921021, 1.57987869, -69.2648392, 0.042766571, -0.998914063, -0.0185098089, -0.0303550716, 0.0172189716, -0.99939245, 0.998625696, 0.0433027148, -0.0295857284)
  3972. Part96.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  3973. Part96.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  3974. Part96.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  3975. Part96.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  3976. Part96.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  3977. Part96.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  3978. Part96.Color = Color3.new(0.592157, 0, 0)
  3979. Part96.Position = Vector3.new(12.0921021, 1.57987869, -69.2648392)
  3980. Part96.Orientation = Vector3.new(88, -147.970001, -60.4399986)
  3981. Part96.Color = Color3.new(0.592157, 0, 0)
  3982. SpecialMesh97.Parent = Part96
  3983. SpecialMesh97.Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999)
  3984. SpecialMesh97.MeshType = Enum.MeshType.Wedge
  3985. SpecialMesh97.Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999)
  3986. ManualWeld98.Name = "Weld"
  3987. ManualWeld98.Parent = Part96
  3988. ManualWeld98.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1)
  3989. ManualWeld98.C1 = CFrame.new(0, 1, -0.0999984741, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3990. ManualWeld98.Part0 = Part96
  3991. Part99.Parent = Tool67
  3992. Part99.Material = Enum.Material.SmoothPlastic
  3993. Part99.BrickColor = BrickColor.new("Crimson")
  3994. Part99.Rotation = Vector3.new(91.6999969, -1.05999994, 87.5499954)
  3995. Part99.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
  3996. Part99.Size = Vector3.new(0.200000003, 0.200000003, 0.200000033)
  3997. Part99.CFrame = CFrame.new(12.4953699, 1.77287042, -69.2762375, 0.042766571, -0.998914063, -0.0185098089, -0.0303550716, 0.0172189716, -0.99939245, 0.998625696, 0.0433027148, -0.0295857284)
  3998. Part99.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  3999. Part99.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4000. Part99.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4001. Part99.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4002. Part99.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4003. Part99.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4004. Part99.Color = Color3.new(0.592157, 0, 0)
  4005. Part99.Position = Vector3.new(12.4953699, 1.77287042, -69.2762375)
  4006. Part99.Orientation = Vector3.new(88, -147.970001, -60.4399986)
  4007. Part99.Color = Color3.new(0.592157, 0, 0)
  4008. SpecialMesh100.Parent = Part99
  4009. SpecialMesh100.Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999)
  4010. SpecialMesh100.MeshType = Enum.MeshType.Wedge
  4011. SpecialMesh100.Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999)
  4012. ManualWeld101.Name = "Weld"
  4013. ManualWeld101.Parent = Part99
  4014. ManualWeld101.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1)
  4015. ManualWeld101.C1 = CFrame.new(0, 1.4000001, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4016. ManualWeld101.Part0 = Part99
  4017. Part102.Name = "Blood2Part"
  4018. Part102.Parent = Tool67
  4019. Part102.Material = Enum.Material.SmoothPlastic
  4020. Part102.BrickColor = BrickColor.new("Crimson")
  4021. Part102.Rotation = Vector3.new(-88.2999954, 1.05999994, -87.5499954)
  4022. Part102.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
  4023. Part102.Size = Vector3.new(0.200000003, 0.400000036, 0.200000003)
  4024. Part102.CFrame = CFrame.new(12.391777, 1.57471108, -69.2778244, 0.042766571, 0.998914063, 0.0185098089, -0.0303550716, -0.0172189716, 0.99939245, 0.998625696, -0.0433027148, 0.0295857284)
  4025. Part102.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4026. Part102.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4027. Part102.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4028. Part102.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4029. Part102.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4030. Part102.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4031. Part102.Color = Color3.new(0.592157, 0, 0)
  4032. Part102.Position = Vector3.new(12.391777, 1.57471108, -69.2778244)
  4033. Part102.Orientation = Vector3.new(-88, 32.0299988, -119.559998)
  4034. Part102.Color = Color3.new(0.592157, 0, 0)
  4035. BlockMesh103.Parent = Part102
  4036. BlockMesh103.Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999)
  4037. BlockMesh103.Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999)
  4038. ManualWeld104.Name = "Weld"
  4039. ManualWeld104.Parent = Part102
  4040. ManualWeld104.C1 = CFrame.new(0, 1.30000043, -0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4041. ManualWeld104.Part0 = Part102
  4042. ParticleEmitter105.Parent = Part102
  4043. ParticleEmitter105.Size = NumberSequence.new(0.10000000149012,0.10000000149012)
  4044. ParticleEmitter105.Color = ColorSequence.new(Color3.new(0.6, 0, 0),Color3.new(0.6, 0, 0))
  4045. ParticleEmitter105.Texture = "http://www.roblox.com/asset/?id=243132757"
  4046. ParticleEmitter105.Acceleration = Vector3.new(0, -10, 0)
  4047. ParticleEmitter105.Lifetime = NumberRange.new(1, 1)
  4048. ParticleEmitter105.Rate = 10
  4049. ParticleEmitter105.Speed = NumberRange.new(0, 0)
  4050. ParticleEmitter105.Color = ColorSequence.new(Color3.new(0.6, 0, 0),Color3.new(0.6, 0, 0))
  4051. Part106.Name = "Hitbox"
  4052. Part106.Parent = Tool67
  4053. Part106.Transparency = 1
  4054. Part106.Rotation = Vector3.new(-88.2999954, 1.05999994, -87.5499954)
  4055. Part106.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
  4056. Part106.Size = Vector3.new(0.200000003, 1.4000001, 0.400000006)
  4057. Part106.CFrame = CFrame.new(12.2937365, 1.67637265, -69.2705383, 0.042766571, 0.998914063, 0.0185098089, -0.0303550716, -0.0172189716, 0.99939245, 0.998625696, -0.0433027148, 0.0295857284)
  4058. Part106.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4059. Part106.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4060. Part106.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4061. Part106.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4062. Part106.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4063. Part106.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4064. Part106.Position = Vector3.new(12.2937365, 1.67637265, -69.2705383)
  4065. Part106.Orientation = Vector3.new(-88, 32.0299988, -119.559998)
  4066. ManualWeld107.Name = "Weld"
  4067. ManualWeld107.Parent = Part106
  4068. ManualWeld107.C1 = CFrame.new(0, 1.20000052, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4069. ManualWeld107.Part0 = Part106
  4070. ParticleEmitter108.Parent = Part106
  4071. ParticleEmitter108.Rotation = NumberRange.new(0, 359)
  4072. ParticleEmitter108.Size = NumberSequence.new(1,0)
  4073. ParticleEmitter108.Color = ColorSequence.new(Color3.new(0.6, 0, 0),Color3.new(0.6, 0, 0))
  4074. ParticleEmitter108.Enabled = false
  4075. ParticleEmitter108.Texture = "rbxasset://textures/particles/fire_main.dds"
  4076. ParticleEmitter108.Acceleration = Vector3.new(0, -5, 0)
  4077. ParticleEmitter108.Lifetime = NumberRange.new(2, 2)
  4078. ParticleEmitter108.Rate = 100
  4079. ParticleEmitter108.Speed = NumberRange.new(0, 0)
  4080. ParticleEmitter108.Color = ColorSequence.new(Color3.new(0.6, 0, 0),Color3.new(0.6, 0, 0))
  4081. Part109.Parent = Tool67
  4082. Part109.Material = Enum.Material.SmoothPlastic
  4083. Part109.BrickColor = BrickColor.new("Black")
  4084. Part109.Rotation = Vector3.new(-88.2999954, 1.05999994, -87.5499954)
  4085. Part109.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
  4086. Part109.Size = Vector3.new(0.200000003, 0.200000003, 0.400000006)
  4087. Part109.CFrame = CFrame.new(10.895257, 1.70047927, -69.2099152, 0.042766571, 0.998914063, 0.0185098089, -0.0303550716, -0.0172189716, 0.99939245, 0.998625696, -0.0433027148, 0.0295857284)
  4088. Part109.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4089. Part109.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4090. Part109.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4091. Part109.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4092. Part109.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4093. Part109.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4094. Part109.Color = Color3.new(0.105882, 0.164706, 0.207843)
  4095. Part109.Position = Vector3.new(10.895257, 1.70047927, -69.2099152)
  4096. Part109.Orientation = Vector3.new(-88, 32.0299988, -119.559998)
  4097. Part109.Color = Color3.new(0.105882, 0.164706, 0.207843)
  4098. SpecialMesh110.Parent = Part109
  4099. SpecialMesh110.Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005)
  4100. SpecialMesh110.Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005)
  4101. ManualWeld111.Name = "Weld"
  4102. ManualWeld111.Parent = Part109
  4103. ManualWeld111.C1 = CFrame.new(0, -0.199999809, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4104. ManualWeld111.Part0 = Part109
  4105. Part112.Parent = Tool67
  4106. Part112.Material = Enum.Material.SmoothPlastic
  4107. Part112.BrickColor = BrickColor.new("Black")
  4108. Part112.Rotation = Vector3.new(-88.2999954, 1.05999994, -87.5499954)
  4109. Part112.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
  4110. Part112.Size = Vector3.new(0.200000003, 0.200000003, 0.400000006)
  4111. Part112.CFrame = CFrame.new(11.4946051, 1.69014788, -69.2358932, 0.042766571, 0.998914063, 0.0185098089, -0.0303550716, -0.0172189716, 0.99939245, 0.998625696, -0.0433027148, 0.0295857284)
  4112. Part112.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4113. Part112.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4114. Part112.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4115. Part112.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4116. Part112.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4117. Part112.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4118. Part112.Color = Color3.new(0.105882, 0.164706, 0.207843)
  4119. Part112.Position = Vector3.new(11.4946051, 1.69014788, -69.2358932)
  4120. Part112.Orientation = Vector3.new(-88, 32.0299988, -119.559998)
  4121. Part112.Color = Color3.new(0.105882, 0.164706, 0.207843)
  4122. SpecialMesh113.Parent = Part112
  4123. SpecialMesh113.Scale = Vector3.new(1.5, 1.20000005, 1.5)
  4124. SpecialMesh113.Scale = Vector3.new(1.5, 1.20000005, 1.5)
  4125. ManualWeld114.Name = "Weld"
  4126. ManualWeld114.Parent = Part112
  4127. ManualWeld114.C1 = CFrame.new(0, 0.400000334, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4128. ManualWeld114.Part0 = Part112
  4129. Part115.Parent = Tool67
  4130. Part115.Material = Enum.Material.SmoothPlastic
  4131. Part115.BrickColor = BrickColor.new("Black")
  4132. Part115.Rotation = Vector3.new(91.6999969, -1.05999994, 87.5499954)
  4133. Part115.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
  4134. Part115.Size = Vector3.new(0.200000003, 0.200000003, 0.400000006)
  4135. Part115.CFrame = CFrame.new(11.4983072, 1.89002514, -69.2299805, 0.042766571, -0.998914063, -0.0185098089, -0.0303550716, 0.0172189716, -0.99939245, 0.998625696, 0.0433027148, -0.0295857284)
  4136. Part115.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4137. Part115.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4138. Part115.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4139. Part115.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4140. Part115.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4141. Part115.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4142. Part115.Color = Color3.new(0.105882, 0.164706, 0.207843)
  4143. Part115.Position = Vector3.new(11.4983072, 1.89002514, -69.2299805)
  4144. Part115.Orientation = Vector3.new(88, -147.970001, -60.4399986)
  4145. Part115.Color = Color3.new(0.105882, 0.164706, 0.207843)
  4146. SpecialMesh116.Parent = Part115
  4147. SpecialMesh116.Scale = Vector3.new(1, 1, 1.20000005)
  4148. SpecialMesh116.MeshType = Enum.MeshType.Wedge
  4149. SpecialMesh116.Scale = Vector3.new(1, 1, 1.20000005)
  4150. ManualWeld117.Name = "Weld"
  4151. ManualWeld117.Parent = Part115
  4152. ManualWeld117.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1)
  4153. ManualWeld117.C1 = CFrame.new(0, 0.400000095, 0.199998856, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4154. ManualWeld117.Part0 = Part115
  4155. Part118.Parent = Tool67
  4156. Part118.Material = Enum.Material.SmoothPlastic
  4157. Part118.BrickColor = BrickColor.new("Black")
  4158. Part118.Rotation = Vector3.new(-88.2999954, 1.05999994, 92.4499969)
  4159. Part118.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
  4160. Part118.Size = Vector3.new(0.200000003, 0.200000003, 0.400000036)
  4161. Part118.CFrame = CFrame.new(11.4909029, 1.49026668, -69.2418137, -0.042766571, -0.998914063, 0.0185098089, 0.0303550716, 0.0172189716, 0.99939245, -0.998625696, 0.0433027148, 0.0295857284)
  4162. Part118.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4163. Part118.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4164. Part118.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4165. Part118.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4166. Part118.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4167. Part118.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4168. Part118.Color = Color3.new(0.105882, 0.164706, 0.207843)
  4169. Part118.Position = Vector3.new(11.4909029, 1.49026668, -69.2418137)
  4170. Part118.Orientation = Vector3.new(-88, 32.0299988, 60.4399986)
  4171. Part118.Color = Color3.new(0.105882, 0.164706, 0.207843)
  4172. SpecialMesh119.Parent = Part118
  4173. SpecialMesh119.Scale = Vector3.new(1, 1, 1.20000005)
  4174. SpecialMesh119.MeshType = Enum.MeshType.Wedge
  4175. SpecialMesh119.Scale = Vector3.new(1, 1, 1.20000005)
  4176. ManualWeld120.Name = "Weld"
  4177. ManualWeld120.Parent = Part118
  4178. ManualWeld120.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  4179. ManualWeld120.C1 = CFrame.new(0, 0.400000095, -0.20000267, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4180. ManualWeld120.Part0 = Part118
  4181. Part121.Parent = Tool67
  4182. Part121.Material = Enum.Material.SmoothPlastic
  4183. Part121.Reflectance = 0.20000000298023
  4184. Part121.Rotation = Vector3.new(-88.2999954, 1.05999994, -87.5499954)
  4185. Part121.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
  4186. Part121.Size = Vector3.new(0.200000003, 0.600000024, 0.200000003)
  4187. Part121.CFrame = CFrame.new(11.8923197, 1.58332062, -69.2561722, 0.042766571, 0.998914063, 0.0185098089, -0.0303550716, -0.0172189716, 0.99939245, 0.998625696, -0.0433027148, 0.0295857284)
  4188. Part121.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4189. Part121.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4190. Part121.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4191. Part121.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4192. Part121.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4193. Part121.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4194. Part121.Position = Vector3.new(11.8923197, 1.58332062, -69.2561722)
  4195. Part121.Orientation = Vector3.new(-88, 32.0299988, -119.559998)
  4196. BlockMesh122.Parent = Part121
  4197. BlockMesh122.Scale = Vector3.new(0.400000006, 1, 1)
  4198. BlockMesh122.Scale = Vector3.new(0.400000006, 1, 1)
  4199. ManualWeld123.Name = "Weld"
  4200. ManualWeld123.Parent = Part121
  4201. ManualWeld123.C1 = CFrame.new(0, 0.800000429, -0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4202. ManualWeld123.Part0 = Part121
  4203. Part124.Name = "BloodPart"
  4204. Part124.Parent = Tool67
  4205. Part124.Material = Enum.Material.SmoothPlastic
  4206. Part124.BrickColor = BrickColor.new("Crimson")
  4207. Part124.Rotation = Vector3.new(-88.2999954, 1.05999994, -87.5499954)
  4208. Part124.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
  4209. Part124.Size = Vector3.new(0.200000003, 0.399999946, 0.400000036)
  4210. Part124.CFrame = CFrame.new(12.7931938, 1.66776514, -69.2921906, 0.042766571, 0.998914063, 0.0185098089, -0.0303550716, -0.0172189716, 0.99939245, 0.998625696, -0.0433027148, 0.0295857284)
  4211. Part124.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4212. Part124.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4213. Part124.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4214. Part124.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4215. Part124.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4216. Part124.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4217. Part124.Color = Color3.new(0.592157, 0, 0)
  4218. Part124.Position = Vector3.new(12.7931938, 1.66776514, -69.2921906)
  4219. Part124.Orientation = Vector3.new(-88, 32.0299988, -119.559998)
  4220. Part124.Color = Color3.new(0.592157, 0, 0)
  4221. SpecialMesh125.Parent = Part124
  4222. SpecialMesh125.Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999)
  4223. SpecialMesh125.MeshType = Enum.MeshType.Wedge
  4224. SpecialMesh125.Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999)
  4225. ManualWeld126.Name = "Weld"
  4226. ManualWeld126.Parent = Part124
  4227. ManualWeld126.C1 = CFrame.new(0, 1.70000005, 1.90734863e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4228. ManualWeld126.Part0 = Part124
  4229. ParticleEmitter127.Parent = Part124
  4230. ParticleEmitter127.Size = NumberSequence.new(0.10000000149012,0.10000000149012)
  4231. ParticleEmitter127.Color = ColorSequence.new(Color3.new(0.6, 0, 0),Color3.new(0.6, 0, 0))
  4232. ParticleEmitter127.Texture = "http://www.roblox.com/asset/?id=243132757"
  4233. ParticleEmitter127.Acceleration = Vector3.new(0, -10, 0)
  4234. ParticleEmitter127.Lifetime = NumberRange.new(1, 1)
  4235. ParticleEmitter127.Rate = 10
  4236. ParticleEmitter127.Speed = NumberRange.new(0, 0)
  4237. ParticleEmitter127.Color = ColorSequence.new(Color3.new(0.6, 0, 0),Color3.new(0.6, 0, 0))
  4238. Part128.Parent = Tool67
  4239. Part128.Material = Enum.Material.SmoothPlastic
  4240. Part128.Reflectance = 0.20000000298023
  4241. Part128.Rotation = Vector3.new(-88.2999954, 1.05999994, -87.5499954)
  4242. Part128.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
  4243. Part128.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  4244. Part128.CFrame = CFrame.new(12.4953709, 1.77286851, -69.2762375, 0.042766571, 0.998914063, 0.0185098089, -0.0303550716, -0.0172189716, 0.99939245, 0.998625696, -0.0433027148, 0.0295857284)
  4245. Part128.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4246. Part128.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4247. Part128.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4248. Part128.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4249. Part128.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4250. Part128.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4251. Part128.Position = Vector3.new(12.4953709, 1.77286851, -69.2762375)
  4252. Part128.Orientation = Vector3.new(-88, 32.0299988, -119.559998)
  4253. BlockMesh129.Parent = Part128
  4254. BlockMesh129.Scale = Vector3.new(0.400000006, 1, 1)
  4255. BlockMesh129.Scale = Vector3.new(0.400000006, 1, 1)
  4256. ManualWeld130.Name = "Weld"
  4257. ManualWeld130.Parent = Part128
  4258. ManualWeld130.C1 = CFrame.new(0, 1.40000057, 0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4259. ManualWeld130.Part0 = Part128
  4260. Part131.Parent = Tool67
  4261. Part131.Material = Enum.Material.SmoothPlastic
  4262. Part131.Reflectance = 0.20000000298023
  4263. Part131.Rotation = Vector3.new(91.6999969, -1.05999994, -92.4499969)
  4264. Part131.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
  4265. Part131.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  4266. Part131.CFrame = CFrame.new(11.6962385, 1.78664553, -69.2416, -0.042766571, 0.998914063, -0.0185098089, 0.0303550716, -0.0172189716, -0.99939245, -0.998625696, -0.0433027148, -0.0295857284)
  4267. Part131.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4268. Part131.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4269. Part131.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4270. Part131.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4271. Part131.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4272. Part131.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4273. Part131.Position = Vector3.new(11.6962385, 1.78664553, -69.2416)
  4274. Part131.Orientation = Vector3.new(88, -147.970001, 119.559998)
  4275. SpecialMesh132.Parent = Part131
  4276. SpecialMesh132.Offset = Vector3.new(0, -0.0500000007, -0.0500000007)
  4277. SpecialMesh132.Scale = Vector3.new(0.400000006, 0.5, 0.5)
  4278. SpecialMesh132.MeshType = Enum.MeshType.Wedge
  4279. SpecialMesh132.Scale = Vector3.new(0.400000006, 0.5, 0.5)
  4280. ManualWeld133.Name = "Weld"
  4281. ManualWeld133.Parent = Part131
  4282. ManualWeld133.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  4283. ManualWeld133.C1 = CFrame.new(0, 0.599999905, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4284. ManualWeld133.Part0 = Part131
  4285. Part134.Parent = Tool67
  4286. Part134.Material = Enum.Material.SmoothPlastic
  4287. Part134.Reflectance = 0.20000000298023
  4288. Part134.Rotation = Vector3.new(91.6999969, -1.05999994, -92.4499969)
  4289. Part134.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
  4290. Part134.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  4291. Part134.CFrame = CFrame.new(11.6962385, 1.78664553, -69.2416, -0.042766571, 0.998914063, -0.0185098089, 0.0303550716, -0.0172189716, -0.99939245, -0.998625696, -0.0433027148, -0.0295857284)
  4292. Part134.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4293. Part134.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4294. Part134.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4295. Part134.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4296. Part134.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4297. Part134.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4298. Part134.Position = Vector3.new(11.6962385, 1.78664553, -69.2416)
  4299. Part134.Orientation = Vector3.new(88, -147.970001, 119.559998)
  4300. SpecialMesh135.Parent = Part134
  4301. SpecialMesh135.Offset = Vector3.new(0, 0.0500000007, -0.0500000007)
  4302. SpecialMesh135.Scale = Vector3.new(0.400000006, 0.5, 0.5)
  4303. SpecialMesh135.MeshType = Enum.MeshType.Wedge
  4304. SpecialMesh135.Scale = Vector3.new(0.400000006, 0.5, 0.5)
  4305. ManualWeld136.Name = "Weld"
  4306. ManualWeld136.Parent = Part134
  4307. ManualWeld136.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  4308. ManualWeld136.C1 = CFrame.new(0, 0.599999905, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4309. ManualWeld136.Part0 = Part134
  4310. Part137.Parent = Tool67
  4311. Part137.Material = Enum.Material.SmoothPlastic
  4312. Part137.Reflectance = 0.20000000298023
  4313. Part137.Rotation = Vector3.new(91.6999969, -1.05999994, -92.4499969)
  4314. Part137.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
  4315. Part137.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  4316. Part137.CFrame = CFrame.new(11.8960218, 1.78320181, -69.2502594, -0.042766571, 0.998914063, -0.0185098089, 0.0303550716, -0.0172189716, -0.99939245, -0.998625696, -0.0433027148, -0.0295857284)
  4317. Part137.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4318. Part137.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4319. Part137.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4320. Part137.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4321. Part137.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4322. Part137.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4323. Part137.Position = Vector3.new(11.8960218, 1.78320181, -69.2502594)
  4324. Part137.Orientation = Vector3.new(88, -147.970001, 119.559998)
  4325. SpecialMesh138.Parent = Part137
  4326. SpecialMesh138.Offset = Vector3.new(0, -0.0500000007, -0.0500000007)
  4327. SpecialMesh138.Scale = Vector3.new(0.400000006, 0.5, 0.5)
  4328. SpecialMesh138.MeshType = Enum.MeshType.Wedge
  4329. SpecialMesh138.Scale = Vector3.new(0.400000006, 0.5, 0.5)
  4330. ManualWeld139.Name = "Weld"
  4331. ManualWeld139.Parent = Part137
  4332. ManualWeld139.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  4333. ManualWeld139.C1 = CFrame.new(0, 0.799999952, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4334. ManualWeld139.Part0 = Part137
  4335. Part140.Parent = Tool67
  4336. Part140.Material = Enum.Material.SmoothPlastic
  4337. Part140.Reflectance = 0.20000000298023
  4338. Part140.Rotation = Vector3.new(91.6999969, -1.05999994, -92.4499969)
  4339. Part140.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
  4340. Part140.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  4341. Part140.CFrame = CFrame.new(11.8960218, 1.78320181, -69.2502594, -0.042766571, 0.998914063, -0.0185098089, 0.0303550716, -0.0172189716, -0.99939245, -0.998625696, -0.0433027148, -0.0295857284)
  4342. Part140.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4343. Part140.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4344. Part140.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4345. Part140.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4346. Part140.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4347. Part140.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4348. Part140.Position = Vector3.new(11.8960218, 1.78320181, -69.2502594)
  4349. Part140.Orientation = Vector3.new(88, -147.970001, 119.559998)
  4350. SpecialMesh141.Parent = Part140
  4351. SpecialMesh141.Offset = Vector3.new(0, 0.0500000007, -0.0500000007)
  4352. SpecialMesh141.Scale = Vector3.new(0.400000006, 0.5, 0.5)
  4353. SpecialMesh141.MeshType = Enum.MeshType.Wedge
  4354. SpecialMesh141.Scale = Vector3.new(0.400000006, 0.5, 0.5)
  4355. ManualWeld142.Name = "Weld"
  4356. ManualWeld142.Parent = Part140
  4357. ManualWeld142.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  4358. ManualWeld142.C1 = CFrame.new(0, 0.799999952, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4359. ManualWeld142.Part0 = Part140
  4360. Part143.Parent = Tool67
  4361. Part143.Material = Enum.Material.SmoothPlastic
  4362. Part143.Reflectance = 0.20000000298023
  4363. Part143.Rotation = Vector3.new(91.6999969, -1.05999994, -92.4499969)
  4364. Part143.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
  4365. Part143.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  4366. Part143.CFrame = CFrame.new(12.0958042, 1.77975798, -69.2589188, -0.042766571, 0.998914063, -0.0185098089, 0.0303550716, -0.0172189716, -0.99939245, -0.998625696, -0.0433027148, -0.0295857284)
  4367. Part143.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4368. Part143.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4369. Part143.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4370. Part143.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4371. Part143.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4372. Part143.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4373. Part143.Position = Vector3.new(12.0958042, 1.77975798, -69.2589188)
  4374. Part143.Orientation = Vector3.new(88, -147.970001, 119.559998)
  4375. SpecialMesh144.Parent = Part143
  4376. SpecialMesh144.Offset = Vector3.new(0, 0.0500000007, -0.0500000007)
  4377. SpecialMesh144.Scale = Vector3.new(0.400000006, 0.5, 0.5)
  4378. SpecialMesh144.MeshType = Enum.MeshType.Wedge
  4379. SpecialMesh144.Scale = Vector3.new(0.400000006, 0.5, 0.5)
  4380. ManualWeld145.Name = "Weld"
  4381. ManualWeld145.Parent = Part143
  4382. ManualWeld145.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  4383. ManualWeld145.C1 = CFrame.new(0, 1, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4384. ManualWeld145.Part0 = Part143
  4385. Part146.Parent = Tool67
  4386. Part146.Material = Enum.Material.SmoothPlastic
  4387. Part146.Reflectance = 0.20000000298023
  4388. Part146.Rotation = Vector3.new(91.6999969, -1.05999994, -92.4499969)
  4389. Part146.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
  4390. Part146.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  4391. Part146.CFrame = CFrame.new(12.0958042, 1.77975798, -69.2589188, -0.042766571, 0.998914063, -0.0185098089, 0.0303550716, -0.0172189716, -0.99939245, -0.998625696, -0.0433027148, -0.0295857284)
  4392. Part146.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4393. Part146.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4394. Part146.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4395. Part146.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4396. Part146.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4397. Part146.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4398. Part146.Position = Vector3.new(12.0958042, 1.77975798, -69.2589188)
  4399. Part146.Orientation = Vector3.new(88, -147.970001, 119.559998)
  4400. SpecialMesh147.Parent = Part146
  4401. SpecialMesh147.Offset = Vector3.new(0, -0.0500000007, -0.0500000007)
  4402. SpecialMesh147.Scale = Vector3.new(0.400000006, 0.5, 0.5)
  4403. SpecialMesh147.MeshType = Enum.MeshType.Wedge
  4404. SpecialMesh147.Scale = Vector3.new(0.400000006, 0.5, 0.5)
  4405. ManualWeld148.Name = "Weld"
  4406. ManualWeld148.Parent = Part146
  4407. ManualWeld148.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  4408. ManualWeld148.C1 = CFrame.new(0, 1, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4409. ManualWeld148.Part0 = Part146
  4410. Part149.Parent = Tool67
  4411. Part149.Material = Enum.Material.SmoothPlastic
  4412. Part149.Reflectance = 0.20000000298023
  4413. Part149.Rotation = Vector3.new(91.6999969, -1.05999994, -92.4499969)
  4414. Part149.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
  4415. Part149.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  4416. Part149.CFrame = CFrame.new(12.2955875, 1.77631426, -69.2675781, -0.042766571, 0.998914063, -0.0185098089, 0.0303550716, -0.0172189716, -0.99939245, -0.998625696, -0.0433027148, -0.0295857284)
  4417. Part149.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4418. Part149.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4419. Part149.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4420. Part149.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4421. Part149.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4422. Part149.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4423. Part149.Position = Vector3.new(12.2955875, 1.77631426, -69.2675781)
  4424. Part149.Orientation = Vector3.new(88, -147.970001, 119.559998)
  4425. SpecialMesh150.Parent = Part149
  4426. SpecialMesh150.Offset = Vector3.new(0, -0.0500000007, -0.0500000007)
  4427. SpecialMesh150.Scale = Vector3.new(0.400000006, 0.5, 0.5)
  4428. SpecialMesh150.MeshType = Enum.MeshType.Wedge
  4429. SpecialMesh150.Scale = Vector3.new(0.400000006, 0.5, 0.5)
  4430. ManualWeld151.Name = "Weld"
  4431. ManualWeld151.Parent = Part149
  4432. ManualWeld151.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  4433. ManualWeld151.C1 = CFrame.new(0, 1.20000005, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4434. ManualWeld151.Part0 = Part149
  4435. Part152.Parent = Tool67
  4436. Part152.Material = Enum.Material.SmoothPlastic
  4437. Part152.Reflectance = 0.20000000298023
  4438. Part152.Rotation = Vector3.new(91.6999969, -1.05999994, -92.4499969)
  4439. Part152.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
  4440. Part152.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  4441. Part152.CFrame = CFrame.new(12.2955875, 1.77631426, -69.2675781, -0.042766571, 0.998914063, -0.0185098089, 0.0303550716, -0.0172189716, -0.99939245, -0.998625696, -0.0433027148, -0.0295857284)
  4442. Part152.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4443. Part152.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4444. Part152.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4445. Part152.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4446. Part152.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4447. Part152.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4448. Part152.Position = Vector3.new(12.2955875, 1.77631426, -69.2675781)
  4449. Part152.Orientation = Vector3.new(88, -147.970001, 119.559998)
  4450. SpecialMesh153.Parent = Part152
  4451. SpecialMesh153.Offset = Vector3.new(0, 0.0500000007, -0.0500000007)
  4452. SpecialMesh153.Scale = Vector3.new(0.400000006, 0.5, 0.5)
  4453. SpecialMesh153.MeshType = Enum.MeshType.Wedge
  4454. SpecialMesh153.Scale = Vector3.new(0.400000006, 0.5, 0.5)
  4455. ManualWeld154.Name = "Weld"
  4456. ManualWeld154.Parent = Part152
  4457. ManualWeld154.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  4458. ManualWeld154.C1 = CFrame.new(0, 1.20000005, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4459. ManualWeld154.Part0 = Part152
  4460. Part155.Name = "No"
  4461. Part155.Parent = Tool67
  4462. Part155.Material = Enum.Material.SmoothPlastic
  4463. Part155.BrickColor = BrickColor.new("Black")
  4464. Part155.Rotation = Vector3.new(-88.2999954, 1.05999994, -87.5499954)
  4465. Part155.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
  4466. Part155.Size = Vector3.new(0.200000003, 0.600000024, 0.400000006)
  4467. Part155.CFrame = CFrame.new(11.0950394, 1.69703543, -69.2185745, 0.0427665748, 0.998914063, 0.0185098071, -0.0303550698, -0.0172189698, 0.99939245, 0.998625696, -0.0433027148, 0.0295857266)
  4468. Part155.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4469. Part155.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4470. Part155.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4471. Part155.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4472. Part155.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4473. Part155.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4474. Part155.Color = Color3.new(0.105882, 0.164706, 0.207843)
  4475. Part155.Position = Vector3.new(11.0950394, 1.69703543, -69.2185745)
  4476. Part155.Orientation = Vector3.new(-88, 32.0299988, -119.559998)
  4477. Part155.Color = Color3.new(0.105882, 0.164706, 0.207843)
  4478. CylinderMesh156.Parent = Part155
  4479. ManualWeld157.Name = "Weld"
  4480. ManualWeld157.Parent = Part155
  4481. ManualWeld157.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  4482. ManualWeld157.C1 = CFrame.new(0, -1.00000644, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4483. ManualWeld157.Part0 = Part155
  4484. Part158.Parent = Tool67
  4485. Part158.Material = Enum.Material.SmoothPlastic
  4486. Part158.Reflectance = 0.20000000298023
  4487. Part158.Rotation = Vector3.new(-88.2999954, 1.05999994, -87.5499954)
  4488. Part158.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
  4489. Part158.Size = Vector3.new(0.200000003, 1, 0.200000003)
  4490. Part158.CFrame = CFrame.new(12.0958052, 1.77975607, -69.2589188, 0.0427665748, 0.998914063, 0.0185098071, -0.0303550698, -0.0172189698, 0.99939245, 0.998625696, -0.0433027148, 0.0295857266)
  4491. Part158.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  4492. Part158.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  4493. Part158.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  4494. Part158.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  4495. Part158.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  4496. Part158.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  4497. Part158.Position = Vector3.new(12.0958052, 1.77975607, -69.2589188)
  4498. Part158.Orientation = Vector3.new(-88, 32.0299988, -119.559998)
  4499. BlockMesh159.Parent = Part158
  4500. BlockMesh159.Offset = Vector3.new(0, 0, -0.0500000007)
  4501. BlockMesh159.Scale = Vector3.new(0.400000006, 1, 0.5)
  4502. BlockMesh159.Scale = Vector3.new(0.400000006, 1, 0.5)
  4503. ManualWeld160.Name = "Weld"
  4504. ManualWeld160.Parent = Part158
  4505. ManualWeld160.C1 = CFrame.new(0, 1.00000048, 0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4506. ManualWeld160.Part0 = Part158
  4507. Tool161.Name = "PolarWarriorSpear"
  4508. Tool161.Parent = mas
  4509. Tool161.TextureId = "http://www.roblox.com/asset/?id=582112969"
  4510. Tool161.GripPos = Vector3.new(0, -1.64999998, 0)
  4511. Part162.Name = "Handle"
  4512. Part162.Parent = Tool161
  4513. Part162.Rotation = Vector3.new(83.0599976, 45.8400002, -80.3699951)
  4514. Part162.Locked = true
  4515. Part162.FormFactor = Enum.FormFactor.Custom
  4516. Part162.Size = Vector3.new(0.75, 5.5, 0.75)
  4517. Part162.CFrame = CFrame.new(39.3894043, 8.24580765, 65.0825806, 0.116547033, 0.68681711, 0.717425346, 0, 0.722348034, -0.691529751, -0.993185222, 0.0805957317, 0.0841875225)
  4518. Part162.BottomSurface = Enum.SurfaceType.Smooth
  4519. Part162.TopSurface = Enum.SurfaceType.Smooth
  4520. Part162.Position = Vector3.new(39.3894043, 8.24580765, 65.0825806)
  4521. Part162.Orientation = Vector3.new(43.75, 83.3099976, 0)
  4522. SpecialMesh163.Parent = Part162
  4523. SpecialMesh163.MeshId = "http://www.roblox.com/asset/?id=582112675"
  4524. SpecialMesh163.Scale = Vector3.new(1.5, 1.5, 1.5)
  4525. SpecialMesh163.TextureId = "http://www.roblox.com/asset/?id=582112808"
  4526. SpecialMesh163.MeshType = Enum.MeshType.FileMesh
  4527. SpecialMesh163.Scale = Vector3.new(1.5, 1.5, 1.5)
  4528. Sound164.Name = "SwordClash"
  4529. Sound164.Parent = Part162
  4530. Sound164.SoundId = "http://www.roblox.com/asset/?id=201972796"
  4531. Sound165.Name = "SwordCollide"
  4532. Sound165.Parent = Part162
  4533. Sound165.SoundId = "http://www.roblox.com/asset/?id=201972805"
  4534. Sound166.Name = "SwordScrape"
  4535. Sound166.Parent = Part162
  4536. Sound166.SoundId = "http://www.roblox.com/asset/?id=201972814"
  4537. Sound167.Name = "SwordSheath"
  4538. Sound167.Parent = Part162
  4539. Sound167.SoundId = "http://www.roblox.com/asset/?id=201972840"
  4540. Sound168.Name = "SwordStrike"
  4541. Sound168.Parent = Part162
  4542. Sound168.SoundId = "http://www.roblox.com/asset/?id=201972868"
  4543. Sound169.Name = "SwordSlash"
  4544. Sound169.Parent = Part162
  4545. Sound169.Pitch = 1.25
  4546. Sound169.SoundId = "rbxasset://sounds/swordslash.wav"
  4547. Sound169.Volume = 0.10000000149012
  4548. LocalScript170.Parent = Tool161
  4549. table.insert(cors,sandbox(LocalScript170,function()
  4550. --Made by Luckymaxer
  4551.  
  4552. Tool = script.Parent
  4553. Handle = Tool:WaitForChild("Handle")
  4554.  
  4555. Players = game:GetService("Players")
  4556. RunService = game:GetService("RunService")
  4557.  
  4558. Animations = {}
  4559.  
  4560. Remotes = Tool:WaitForChild("Remotes")
  4561. ServerControl = Remotes:WaitForChild("ServerControl")
  4562. ClientControl = Remotes:WaitForChild("ClientControl")
  4563.  
  4564. Rate = (1 / 60)
  4565.  
  4566. ToolEquipped = false
  4567.  
  4568. function SetAnimation(mode, value)
  4569. if mode == "PlayAnimation" and value and ToolEquipped and Humanoid then
  4570. for i, v in pairs(Animations) do
  4571. if v.Animation == value.Animation then
  4572. v.AnimationTrack:Stop()
  4573. table.remove(Animations, i)
  4574. end
  4575. end
  4576. local AnimationTrack = Humanoid:LoadAnimation(value.Animation)
  4577. table.insert(Animations, {Animation = value.Animation, AnimationTrack = AnimationTrack})
  4578. AnimationTrack:Play(value.FadeTime, value.Weight, value.Speed)
  4579. elseif mode == "StopAnimation" and value then
  4580. for i, v in pairs(Animations) do
  4581. if v.Animation == value.Animation then
  4582. v.AnimationTrack:Stop(value.FadeTime)
  4583. table.remove(Animations, i)
  4584. end
  4585. end
  4586. end
  4587. end
  4588.  
  4589. function KeyPressed(Key, Down)
  4590. InvokeServer("KeyPressed", {Key = Key, Down = Down})
  4591. end
  4592.  
  4593. function MouseClick(Down)
  4594. InvokeServer("MouseClick", {Down = Down})
  4595. end
  4596.  
  4597. function CheckIfAlive()
  4598. return (((Character and Character.Parent and Humanoid and Humanoid.Parent and Humanoid.Health > 0 and Player and Player.Parent) and true) or false)
  4599. end
  4600.  
  4601. function Equipped(Mouse)
  4602. Character = Tool.Parent
  4603. Player = Players:GetPlayerFromCharacter(Character)
  4604. Humanoid = Character:FindFirstChild("Humanoid")
  4605. ToolEquipped = true
  4606. if not CheckIfAlive() then
  4607. return
  4608. end
  4609. PlayerMouse = Mouse
  4610. PlayerMouse.Button1Down:connect(function()
  4611. MouseClick(true)
  4612. end)
  4613. PlayerMouse.Button1Up:connect(function()
  4614. MouseClick(false)
  4615. end)
  4616. PlayerMouse.KeyDown:connect(function(Key)
  4617. KeyPressed(Key, true)
  4618. end)
  4619. PlayerMouse.KeyUp:connect(function(Key)
  4620. KeyPressed(Key, false)
  4621. end)
  4622. end
  4623.  
  4624. function Unequipped()
  4625. for i, v in pairs(Animations) do
  4626. if v and v.AnimationTrack then
  4627. v.AnimationTrack:Stop()
  4628. end
  4629. end
  4630. Animations = {}
  4631. ToolEquipped = false
  4632. end
  4633.  
  4634. function InvokeServer(mode, value)
  4635. local ServerReturn
  4636. pcall(function()
  4637. ServerReturn = ServerControl:InvokeServer(mode, value)
  4638. end)
  4639. return ServerReturn
  4640. end
  4641.  
  4642. function OnClientInvoke(mode, value)
  4643. if mode == "PlayAnimation" and value and ToolEquipped and Humanoid then
  4644. SetAnimation("PlayAnimation", value)
  4645. elseif mode == "StopAnimation" and value then
  4646. SetAnimation("StopAnimation", value)
  4647. elseif mode == "PlaySound" and value then
  4648. value:Play()
  4649. elseif mode == "StopSound" and value then
  4650. value:Stop()
  4651. elseif mode == "MouseData" then
  4652. return ((PlayerMouse and {Position = PlayerMouse.Hit.p, Target = PlayerMouse.Target}) or nil)
  4653. end
  4654. end
  4655.  
  4656. ClientControl.OnClientInvoke = OnClientInvoke
  4657. Tool.Equipped:connect(Equipped)
  4658. Tool.Unequipped:connect(Unequipped)
  4659. end))
  4660. LocalScript171.Name = "MouseIcon"
  4661. LocalScript171.Parent = Tool161
  4662. table.insert(cors,sandbox(LocalScript171,function()
  4663. --Made by Luckymaxer
  4664.  
  4665. Mouse_Icon = "rbxasset://textures/GunCursor.png"
  4666. Reloading_Icon = "rbxasset://textures/GunWaitCursor.png"
  4667.  
  4668. Tool = script.Parent
  4669.  
  4670. Mouse = nil
  4671.  
  4672. function UpdateIcon()
  4673. if Mouse then
  4674. Mouse.Icon = Tool.Enabled and Mouse_Icon or Reloading_Icon
  4675. end
  4676. end
  4677.  
  4678. function OnEquipped(ToolMouse)
  4679. Mouse = ToolMouse
  4680. UpdateIcon()
  4681. end
  4682.  
  4683. function OnChanged(Property)
  4684. if Property == "Enabled" then
  4685. UpdateIcon()
  4686. end
  4687. end
  4688.  
  4689. Tool.Equipped:connect(OnEquipped)
  4690. Tool.Changed:connect(OnChanged)
  4691.  
  4692. end))
  4693. Folder172.Name = "Remotes"
  4694. Folder172.Parent = Tool161
  4695. RemoteFunction173.Name = "ServerControl"
  4696. RemoteFunction173.Parent = Folder172
  4697. RemoteFunction174.Name = "ClientControl"
  4698. RemoteFunction174.Parent = Folder172
  4699. Folder175.Name = "Animations"
  4700. Folder175.Parent = Tool161
  4701. Folder176.Name = "R6"
  4702. Folder176.Parent = Folder175
  4703. Animation177.Name = "Stab"
  4704. Animation177.Parent = Folder176
  4705. Animation177.AnimationId = "http://www.roblox.com/asset/?id=582383239"
  4706. Folder178.Name = "R15"
  4707. Folder178.Parent = Folder175
  4708. Animation179.Name = "Stab"
  4709. Animation179.Parent = Folder178
  4710. Animation179.AnimationId = "http://www.roblox.com/asset/?id=582384156"
  4711. Script180.Parent = Tool161
  4712. table.insert(cors,sandbox(Script180,function()
  4713. --Made by Luckymaxer
  4714.  
  4715. Tool = script.Parent
  4716. Handle = Tool:WaitForChild("Handle")
  4717.  
  4718. Players = game:GetService("Players")
  4719. Debris = game:GetService("Debris")
  4720.  
  4721. Freeze = script:WaitForChild("Freeze")
  4722.  
  4723. BasePart = Instance.new("Part")
  4724. BasePart.Shape = Enum.PartType.Block
  4725. BasePart.Material = Enum.Material.Plastic
  4726. BasePart.TopSurface = Enum.SurfaceType.Smooth
  4727. BasePart.BottomSurface = Enum.SurfaceType.Smooth
  4728. BasePart.FormFactor = Enum.FormFactor.Custom
  4729. BasePart.Size = Vector3.new(0.2, 0.2, 0.2)
  4730. BasePart.CanCollide = true
  4731. BasePart.Locked = true
  4732. BasePart.Anchored = false
  4733.  
  4734. AnimationsBin = Tool:WaitForChild("Animations")
  4735. R6Anims = AnimationsBin:WaitForChild("R6")
  4736. R15Anims = AnimationsBin:WaitForChild("R15")
  4737.  
  4738. Animations = {
  4739. Stab = {Animation = R6Anims:WaitForChild("Stab"), FadeTime = nil, Weight = nil, Speed = 2.5, Duration = 0.5},
  4740. R15Stab = {Animation = R15Anims:WaitForChild("Stab"), FadeTime = nil, Weight = nil, Speed = 2.5, Duration = 0.5},
  4741.  
  4742. }
  4743.  
  4744. Sounds = {
  4745. SwordSlash = Handle:WaitForChild("SwordSlash"),
  4746. SwordSheath = Handle:WaitForChild("SwordSheath"),
  4747. SwordClash = Handle:WaitForChild("SwordClash"),
  4748. SwordScrape = Handle:WaitForChild("SwordScrape"),
  4749. SwordStrike = Handle:WaitForChild("SwordStrike"),
  4750. SwordCollide = Handle:WaitForChild("SwordCollide"),
  4751. }
  4752.  
  4753. Damages = {
  4754. Touched = {Min = 5, Max = 8},
  4755. Hit = {Min = 10, Max = 15}
  4756. }
  4757.  
  4758. HitHumanoids = {}
  4759. SoundPlayable = false
  4760.  
  4761. ToolEquipped = false
  4762. MouseDown = false
  4763.  
  4764. Remotes = Tool:WaitForChild("Remotes")
  4765. ServerControl = (Remotes:FindFirstChild("ServerControl") or Instance.new("RemoteFunction"))
  4766. ServerControl.Name = "ServerControl"
  4767. ServerControl.Parent = Remotes
  4768.  
  4769. ClientControl = (Remotes:FindFirstChild("ClientControl") or Instance.new("RemoteFunction"))
  4770. ClientControl.Name = "ClientControl"
  4771. ClientControl.Parent = Remotes
  4772.  
  4773. Tool.Enabled = true
  4774.  
  4775. function TagHumanoid(humanoid, player)
  4776. local Creator_Tag = Instance.new("ObjectValue")
  4777. Creator_Tag.Name = "creator"
  4778. Creator_Tag.Value = player
  4779. Debris:AddItem(Creator_Tag, 2)
  4780. Creator_Tag.Parent = humanoid
  4781. end
  4782.  
  4783. function UntagHumanoid(humanoid)
  4784. for i, v in pairs(humanoid:GetChildren()) do
  4785. if v:IsA("ObjectValue") and v.Name == "creator" then
  4786. v:Destroy()
  4787. end
  4788. end
  4789. end
  4790.  
  4791. function Billboard(Pos, Text, Time, Color)
  4792. local Rate = (1 / 30)
  4793. local Pos = (Pos or Vector3.new(0, 0, 0))
  4794. local Text = (Text or "")
  4795. local Time = (Time or 2)
  4796. local Color = (Color or Color3.new(1, 0, 0))
  4797. local EffectPart = BasePart:Clone()
  4798. EffectPart.Name = "Effect"
  4799. EffectPart.Size = Vector3.new(0, 0, 0)
  4800. EffectPart.CFrame = CFrame.new(Pos)
  4801. EffectPart.Anchored = true
  4802. EffectPart.CanCollide = false
  4803. EffectPart.Transparency = 1
  4804. local BillboardGui = Instance.new("BillboardGui")
  4805. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  4806. BillboardGui.Adornee = EffectPart
  4807. local TextLabel = Instance.new("TextLabel")
  4808. TextLabel.BackgroundTransparency = 1
  4809. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  4810. TextLabel.Text = Text
  4811. TextLabel.TextColor3 = Color
  4812. TextLabel.TextScaled = true
  4813. TextLabel.Font = Enum.Font.ArialBold
  4814. TextLabel.Parent = BillboardGui
  4815. BillboardGui.Parent = EffectPart
  4816. Debris:AddItem(EffectPart, (Time + 0.1))
  4817. EffectPart.Parent = game:GetService("Workspace")
  4818. Delay(0, function()
  4819. local Frames = (Time / Rate)
  4820. for Frame = 1, Frames do
  4821. wait(Rate)
  4822. local Percent = (Frame / Frames)
  4823. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  4824. TextLabel.TextTransparency = Percent
  4825. end
  4826. if EffectPart and EffectPart.Parent then
  4827. EffectPart:Destroy()
  4828. end
  4829. end)
  4830. end
  4831.  
  4832. function Blow(Hit)
  4833. if not Hit or not Hit.Parent or not CheckIfAlive() then
  4834. return
  4835. end
  4836. local character = Hit.Parent
  4837. local humanoid = character:FindFirstChild("Humanoid")
  4838. if character == Character or not humanoid or humanoid.Health == 0 or humanoid == Humanoid then
  4839. return
  4840. end
  4841. local RightArm = Character:FindFirstChild("Right Arm") or Character:FindFirstChild("RightHand")
  4842. if not RightArm then
  4843. return
  4844. end
  4845. local RightGrip = RightArm:FindFirstChild("RightGrip")
  4846. if not RightGrip or (RightGrip.Part0 ~= RightArm and RightGrip.Part1 ~= RightArm) then
  4847. return
  4848. end
  4849. local HumanoidFound = false
  4850. for i, v in pairs(HitHumanoids) do
  4851. if v.Humanoid == humanoid then
  4852. local Index = HitHumanoids[i]
  4853. Index.Hits = (Index.Hits + 1)
  4854. HitHumanoids[i] = Index
  4855. if Index.Hits >= Index.MaxHits then
  4856. HumanoidFound = true
  4857. end
  4858. end
  4859. end
  4860. if HumanoidFound then
  4861. return
  4862. end
  4863. if SoundPlayable then
  4864. SoundPlayable = false
  4865. local SlashSounds = {Sounds.SwordClash, Sounds.SwordScrape, Sounds.SwordStrike, Sounds.SwordCollide}
  4866. SlashSounds[math.random(1, #SlashSounds)]:Play()
  4867. end
  4868. local DamageValue = ((CurrentAnimation and Damages.Hit) or Damages.Touched)
  4869. local DamageAmount = math.random(DamageValue.Min, DamageValue.Max)
  4870. if CurrentAnimation then
  4871. table.insert(HitHumanoids, {Humanoid = humanoid, Hits = 0, MaxHits = math.random(1, 3)})
  4872. local Radius = Vector3.new(1.25, 0.25, 1.25)
  4873. Radius = (Radius * 100)
  4874. local Offset = Vector3.new(math.random(-Radius.X, Radius.X), math.random(-Radius.Y, Radius.Y), math.random(-Radius.Z, Radius.Z))
  4875. Offset = Offset * Vector3.new(0.01, 0.01, 0.01)
  4876. Billboard((Handle.Position + Offset + Vector3.new(0, 2.5, 0)), DamageAmount, 2, BrickColor.new("Really red").Color)
  4877. end
  4878. UntagHumanoid(humanoid)
  4879. TagHumanoid(humanoid, Player)
  4880. humanoid:TakeDamage(DamageAmount)
  4881. if humanoid.Health > 0 and math.random() < 0.25 then
  4882. local FreezeCopy = character:FindFirstChild(Freeze.Name)
  4883. if not FreezeCopy then
  4884. local FreezeCopy = Freeze:Clone()
  4885. local Duration = Instance.new("NumberValue")
  4886. Duration.Name = "Duration"
  4887. Duration.Value = 0.5
  4888. Duration.Parent = FreezeCopy
  4889. FreezeCopy.Disabled = false
  4890. FreezeCopy.Parent = character
  4891. end
  4892. end
  4893. end
  4894.  
  4895. function Activated()
  4896. if not ToolEquipped or not Tool.Enabled or not CheckIfAlive() then
  4897. return
  4898. end
  4899. Tool.Enabled = false
  4900. SoundPlayable = true
  4901. local SlashAnimations = {Animations.Stab}
  4902. if Humanoid.RigType == Enum.HumanoidRigType.R15 then
  4903. SlashAnimations = {Animations.R15Stab}
  4904. end
  4905. Sounds.SwordSlash:Play()
  4906. CurrentAnimation = SlashAnimations[math.random(1, #SlashAnimations)]
  4907. HitHumanoids = {}
  4908. Spawn(function()
  4909. InvokeClient("PlayAnimation", CurrentAnimation)
  4910. end)
  4911. wait(CurrentAnimation.Duration)
  4912. Tool.Enabled = true
  4913. local BuildUp = false
  4914. local BuildUpAttack = Tool.Activated:connect(function()
  4915. BuildUp = true
  4916. end)
  4917. HitHumanoids = {}
  4918. Delay(0.75, (function()
  4919. if BuildUpAttack then
  4920. BuildUpAttack:disconnect()
  4921. end
  4922. if BuildUp then
  4923. return
  4924. end
  4925. CurrentAnimation = nil
  4926. SoundPlayable = false
  4927. end))
  4928. end
  4929.  
  4930. function CheckIfAlive()
  4931. return (((Player and Player.Parent and Humanoid and Humanoid.Parent and Humanoid.Health > 0) and true) or false)
  4932. end
  4933.  
  4934. function Equipped()
  4935. Character = Tool.Parent
  4936. Player = Players:GetPlayerFromCharacter(Character)
  4937. Humanoid = Character:FindFirstChild("Humanoid")
  4938. if not CheckIfAlive() then
  4939. return
  4940. end
  4941. Sounds.SwordSheath:Play()
  4942. ToolEquipped = true
  4943. end
  4944.  
  4945. function Unequipped()
  4946. MouseDown = false
  4947. ToolEquipped = false
  4948. end
  4949.  
  4950. function InvokeClient(Mode, Value)
  4951. local ClientReturn = nil
  4952. pcall(function()
  4953. ClientReturn = ClientControl:InvokeClient(Player, Mode, Value)
  4954. end)
  4955. return ClientReturn
  4956. end
  4957.  
  4958. function OnServerInvoke(player, Mode, Value)
  4959. if player ~= Player or not Mode or not Value then
  4960. return
  4961. end
  4962. end
  4963.  
  4964. ServerControl.OnServerInvoke = OnServerInvoke
  4965.  
  4966. Handle.Touched:connect(Blow)
  4967.  
  4968. Tool.Activated:connect(Activated)
  4969. Tool.Equipped:connect(Equipped)
  4970. Tool.Unequipped:connect(Unequipped)
  4971. end))
  4972. Script181.Name = "Freeze"
  4973. Script181.Parent = Script180
  4974. Script181.Disabled = true
  4975. table.insert(cors,sandbox(Script181,function()
  4976. --Made by Luckymaxer
  4977.  
  4978. Character = script.Parent
  4979. Humanoid = Character:FindFirstChild("Humanoid")
  4980. Head = Character:FindFirstChild("Head")
  4981.  
  4982. Players = game:GetService("Players")
  4983. Debris = game:GetService("Debris")
  4984.  
  4985. Player = Players:GetPlayerFromCharacter(Character)
  4986.  
  4987. Duration = script:FindFirstChild("Duration")
  4988.  
  4989. Sounds = {
  4990. Solidify = script:WaitForChild("Solidify"),
  4991. Shatter = script:WaitForChild("Shatter"),
  4992. }
  4993.  
  4994. BaseColor = BrickColor.new("Pastel Blue")
  4995. DarkProperties = {
  4996. All = {
  4997. --BrickColor = BaseColor,
  4998. Material = Enum.Material.Ice,
  4999. TextureId = "",
  5000. Texture = "",
  5001. VertexColor = Vector3.new(BaseColor.Color.r, BaseColor.Color.g, BaseColor.Color.b),
  5002. --BaseTextureId = 0,
  5003. --OverlayTextureId = 0,
  5004. SparkleColor = BaseColor.Color,
  5005. Color = BaseColor.Color,
  5006. SecondaryColor = BaseColor.Color,
  5007. },
  5008. Class = {
  5009. BasePart = {
  5010. Reflectance = 0.5,
  5011. Anchored = true,
  5012. },
  5013. ParticleEmitter = {
  5014. Color = ColorSequence.new(BaseColor.Color, BaseColor.Color),
  5015. },
  5016. Sparkles = {
  5017. Color = BaseColor.Color,
  5018. SparkleColor = BaseColor.Color,
  5019. },
  5020. Decal = {
  5021. Texture = "",
  5022. },
  5023. }
  5024. }
  5025.  
  5026. RemovedObjects = {}
  5027.  
  5028. function GetAllInstances(Parent)
  5029. local Instances = {}
  5030. local function GetInstances(Parent)
  5031. for i, v in pairs(Parent:GetChildren()) do
  5032. table.insert(Instances, v)
  5033. GetInstances(v)
  5034. end
  5035. end
  5036. GetInstances(Parent)
  5037. return Instances
  5038. end
  5039.  
  5040. function Freeze()
  5041. FrozenInstances = GetAllInstances(Character)
  5042. OriginalInstances = {}
  5043. for i, v in pairs(FrozenInstances) do
  5044. local NewInstance = {Object = v, Properties = {}}
  5045. local PropertiesAltered = {}
  5046. if v:IsA("BasePart") and v.Name == "HumanoidRootPart" then
  5047. elseif v:IsA("CharacterMesh") then
  5048. local Mesh = Instance.new("SpecialMesh")
  5049. Mesh.MeshType = Enum.MeshType.FileMesh
  5050. Mesh.MeshId = ("http://www.roblox.com/asset/?id=" .. v.MeshId)
  5051. for ii, vv in pairs(Character:GetChildren()) do
  5052. if vv:IsA("BasePart") and v.BodyPart.Name == string.gsub(vv.Name, " ", "") then
  5053. Mesh.Parent = vv
  5054. table.insert(RemovedObjects, {Object = v, NewObject = Mesh, Parent = v.Parent})
  5055. v.Parent = nil
  5056. end
  5057. end
  5058. elseif v:IsA("Decal") and v.Name == "face" then
  5059. else
  5060. for ii, vv in pairs(DarkProperties.All) do
  5061. pcall(function()
  5062. NewInstance.Properties[ii] = v[ii]
  5063. PropertiesAltered[ii] = true
  5064. v[ii] = vv
  5065. end)
  5066. end
  5067. for ii, vv in pairs(DarkProperties.Class) do
  5068. if v:IsA(ii) then
  5069. for iii, vvv in pairs(vv) do
  5070. --if not PropertiesAltered[iii] then
  5071. pcall(function()
  5072. NewInstance.Properties[iii] = v[iii]
  5073. v[iii] = vvv
  5074. end)
  5075. --end
  5076. end
  5077. end
  5078. end
  5079. end
  5080. table.insert(OriginalInstances, NewInstance)
  5081. end
  5082. end
  5083.  
  5084. function Unfreeze()
  5085. for i, v in pairs(RemovedObjects) do
  5086. if v then
  5087. if v.NewObject and v.NewObject.Parent then
  5088. v.NewObject:Destroy()
  5089. end
  5090. v.Object.Parent = v.Parent
  5091. end
  5092. end
  5093. for i, v in pairs(OriginalInstances) do
  5094. if v.Object then
  5095. for ii, vv in pairs(v.Properties) do
  5096. pcall(function()
  5097. v.Object[ii] = vv
  5098. end)
  5099. end
  5100. end
  5101. end
  5102. end
  5103.  
  5104. Freeze()
  5105. if Head then
  5106. local SolidifySound = Sounds.Solidify:Clone()
  5107. Debris:AddItem(SolidifySound, 2.5)
  5108. SolidifySound.Parent = Head
  5109. SolidifySound:Play()
  5110. end
  5111. if Duration and Duration.Value >= 0 then
  5112. wait(Duration.Value)
  5113. Unfreeze()
  5114. if Head then
  5115. local ShatterSound = Sounds.Shatter:Clone()
  5116. Debris:AddItem(ShatterSound, 2.5)
  5117. ShatterSound.Parent = Head
  5118. ShatterSound:Play()
  5119. end
  5120. end
  5121.  
  5122. script:Destroy()
  5123. end))
  5124. Sound182.Name = "Shatter"
  5125. Sound182.Parent = Script181
  5126. Sound182.Pitch = 1.2000000476837
  5127. Sound182.SoundId = "http://www.roblox.com/asset/?id=173745512"
  5128. Sound182.Volume = 1
  5129. Sound183.Name = "Solidify"
  5130. Sound183.Parent = Script181
  5131. Sound183.SoundId = "http://www.roblox.com/asset/?id=203936153"
  5132. Tool184.Name = "Torsion Sword"
  5133. Tool184.Parent = mas
  5134. Tool184.TextureId = "rbxasset://Textures/Sword128.png"
  5135. Tool184.GripForward = Vector3.new(-1, -0, -0)
  5136. Tool184.GripPos = Vector3.new(0, 0, -1.5)
  5137. Tool184.GripRight = Vector3.new(0, 1, 0)
  5138. Tool184.GripUp = Vector3.new(0, 0, 1)
  5139. Script185.Name = "SwordScript"
  5140. Script185.Parent = Tool184
  5141. table.insert(cors,sandbox(Script185,function()
  5142. -------- OMG HAX
  5143.  
  5144. r = game:service("RunService")
  5145.  
  5146.  
  5147. local damage = 5
  5148.  
  5149.  
  5150. local slash_damage = 20
  5151.  
  5152.  
  5153. sword = script.Parent.Handle
  5154. Tool = script.Parent
  5155.  
  5156.  
  5157. local SlashSound = Instance.new("Sound")
  5158. SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  5159. SlashSound.Parent = sword
  5160. SlashSound.Volume = .7
  5161.  
  5162.  
  5163.  
  5164.  
  5165.  
  5166.  
  5167. local UnsheathSound = Instance.new("Sound")
  5168. UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  5169. UnsheathSound.Parent = sword
  5170. UnsheathSound.Volume = 1
  5171.  
  5172.  
  5173. function blow(hit)
  5174. if (hit.Parent == nil) then return end -- happens when bullet hits sword
  5175.  
  5176. local humanoid = hit.Parent:findFirstChild("Humanoid")
  5177. local vCharacter = Tool.Parent
  5178. local vPlayer = game.Players:playerFromCharacter(vCharacter)
  5179. local hum = vCharacter:findFirstChild("Humanoid") -- non-nil if tool held by a character
  5180. if humanoid~=nil and humanoid ~= hum and hum ~= nil then
  5181. -- final check, make sure sword is in-hand
  5182.  
  5183. local right_arm = vCharacter:FindFirstChild("Right Arm")
  5184. if (right_arm ~= nil) then
  5185. local joint = right_arm:FindFirstChild("RightGrip")
  5186. if (joint ~= nil and (joint.Part0 == sword or joint.Part1 == sword)) then
  5187. tagHumanoid(humanoid, vPlayer)
  5188. humanoid:TakeDamage(damage)
  5189. wait(1)
  5190. untagHumanoid(humanoid)
  5191. end
  5192. end
  5193.  
  5194.  
  5195. end
  5196. end
  5197.  
  5198.  
  5199. function tagHumanoid(humanoid, player)
  5200. local creator_tag = Instance.new("ObjectValue")
  5201. creator_tag.Value = player
  5202. creator_tag.Name = "creator"
  5203. creator_tag.Parent = humanoid
  5204. end
  5205.  
  5206. function untagHumanoid(humanoid)
  5207. if humanoid ~= nil then
  5208. local tag = humanoid:findFirstChild("creator")
  5209. if tag ~= nil then
  5210. tag.Parent = nil
  5211. end
  5212. end
  5213. end
  5214.  
  5215.  
  5216. function attack()
  5217. damage = slash_damage
  5218. SlashSound:play()
  5219.  
  5220. local force = Instance.new("BodyVelocity")
  5221. force.velocity = Vector3.new(0, 1,0)
  5222. force.P = 9999999
  5223.  
  5224. local rot = Instance.new("BodyAngularVelocity")
  5225. rot.angularvelocity = Vector3.new(0, 600, 0)
  5226. rot.P = 8000
  5227. rot.maxTorque= Vector3.new(400000000, 400000000, 400000000)
  5228.  
  5229. local gyr = Instance.new("BodyGyro")
  5230. gyr.cframe = CFrame.new(Vector3.new(0,1,0), Vector3.new (0, 0, 0))
  5231.  
  5232.  
  5233. local armgyro = Instance.new("BodyGyro")
  5234. armgyro.cframe = CFrame.new(Vector3.new(0,0,1), Vector3.new (0, 0, 0))
  5235.  
  5236. Tool.Parent.Torso.CFrame = CFrame.new(Tool.Parent.Torso.Position + Vector3.new(0,.5,0))
  5237.  
  5238.  
  5239. swordOut()
  5240. force.Parent = Tool.Parent.Torso
  5241. rot.Parent = Tool.Parent.Torso
  5242. gyr.Parent = Tool.Parent.Torso
  5243. --armgyro.Parent = Tool.Parent["Right Arm"]
  5244.  
  5245. wait(2)
  5246.  
  5247. rot.angularvelocity= Vector3.new(0,0,0)
  5248.  
  5249. wait(.05)
  5250. rot.Parent = nil
  5251. force.Parent = nil
  5252. gyr.Parent = nil
  5253. armgyro.Parent = nil
  5254. swordUp()
  5255. wait(.3)
  5256. end
  5257.  
  5258.  
  5259. function swordUp()
  5260. Tool.GripForward = Vector3.new(-1,0,0)
  5261. Tool.GripRight = Vector3.new(0,1,0)
  5262. Tool.GripUp = Vector3.new(0,0,1)
  5263. end
  5264.  
  5265. function swordOut()
  5266. Tool.GripForward = Vector3.new(0,0,1)
  5267. Tool.GripRight = Vector3.new(0,-1,0)
  5268. Tool.GripUp = Vector3.new(-1,0,0)
  5269. end
  5270.  
  5271.  
  5272. function swordAcross()
  5273. -- parry
  5274. end
  5275.  
  5276.  
  5277. Tool.Enabled = true
  5278. local last_attack = 0
  5279. function onActivated()
  5280.  
  5281. if not Tool.Enabled then
  5282. return
  5283. end
  5284.  
  5285. Tool.Enabled = false
  5286.  
  5287. local character = Tool.Parent;
  5288. local humanoid = character.Humanoid
  5289. if humanoid == nil then
  5290. print("Humanoid not found")
  5291. return
  5292. end
  5293.  
  5294. t = r.Stepped:wait()
  5295.  
  5296. attack()
  5297.  
  5298. last_attack = t
  5299.  
  5300. --wait(.5)
  5301.  
  5302. Tool.Enabled = true
  5303. end
  5304.  
  5305.  
  5306. function onEquipped()
  5307. UnsheathSound:play()
  5308. end
  5309.  
  5310.  
  5311. script.Parent.Activated:connect(onActivated)
  5312. script.Parent.Equipped:connect(onEquipped)
  5313.  
  5314.  
  5315. connection = sword.Touched:connect(blow)
  5316.  
  5317.  
  5318.  
  5319.  
  5320.  
  5321. end))
  5322. Part186.Name = "Handle"
  5323. Part186.Parent = Tool184
  5324. Part186.BrickColor = BrickColor.new("Dark stone grey")
  5325. Part186.Reflectance = 0.40000000596046
  5326. Part186.Rotation = Vector3.new(0.0899999961, 26.0100002, -90.0400009)
  5327. Part186.FormFactor = Enum.FormFactor.Plate
  5328. Part186.Size = Vector3.new(1, 0.800000012, 4)
  5329. Part186.CFrame = CFrame.new(28.2113762, 1.50297296, 59.4377289, -0.000636662124, 0.898703516, 0.438556284, -0.999998987, -6.76723403e-06, -0.00143782725, -0.00128921575, -0.438556761, 0.898702562)
  5330. Part186.BottomSurface = Enum.SurfaceType.Smooth
  5331. Part186.TopSurface = Enum.SurfaceType.Smooth
  5332. Part186.Color = Color3.new(0.388235, 0.372549, 0.384314)
  5333. Part186.Position = Vector3.new(28.2113762, 1.50297296, 59.4377289)
  5334. Part186.Orientation = Vector3.new(0.0799999982, 26.0100002, -90)
  5335. Part186.Color = Color3.new(0.388235, 0.372549, 0.384314)
  5336. SpecialMesh187.Parent = Part186
  5337. SpecialMesh187.MeshId = "rbxasset://fonts/sword.mesh"
  5338. SpecialMesh187.TextureId = "rbxasset://textures/SwordTexture.png"
  5339. SpecialMesh187.MeshType = Enum.MeshType.FileMesh
  5340. Sound188.Parent = Part186
  5341. Sound188.SoundId = "rbxasset://sounds/swordslash.wav"
  5342. Sound188.Volume = 0.69999998807907
  5343. Sound189.Parent = Part186
  5344. Sound189.SoundId = "rbxasset://sounds/unsheath.wav"
  5345. Sound189.Volume = 1
  5346. Sound190.Parent = Part186
  5347. Sound190.SoundId = "rbxasset://sounds/swordslash.wav"
  5348. Sound190.Volume = 0.69999998807907
  5349. Sound191.Parent = Part186
  5350. Sound191.SoundId = "rbxasset://sounds/unsheath.wav"
  5351. Sound191.Volume = 1
  5352. Sound192.Parent = Part186
  5353. Sound192.SoundId = "rbxasset://sounds/swordslash.wav"
  5354. Sound192.Volume = 0.69999998807907
  5355. Sound193.Parent = Part186
  5356. Sound193.SoundId = "rbxasset://sounds/unsheath.wav"
  5357. Sound193.Volume = 1
  5358. Sound194.Parent = Part186
  5359. Sound194.SoundId = "rbxasset://sounds/swordslash.wav"
  5360. Sound194.Volume = 0.69999998807907
  5361. Sound195.Parent = Part186
  5362. Sound195.SoundId = "rbxasset://sounds/unsheath.wav"
  5363. Sound195.Volume = 1
  5364. Sound196.Parent = Part186
  5365. Sound196.SoundId = "rbxasset://sounds/swordslash.wav"
  5366. Sound196.Volume = 0.69999998807907
  5367. Sound197.Parent = Part186
  5368. Sound197.SoundId = "rbxasset://sounds/unsheath.wav"
  5369. Sound197.Volume = 1
  5370. Sound198.Parent = Part186
  5371. Sound198.SoundId = "rbxasset://sounds/swordslash.wav"
  5372. Sound198.Volume = 0.69999998807907
  5373. Sound199.Parent = Part186
  5374. Sound199.SoundId = "rbxasset://sounds/unsheath.wav"
  5375. Sound199.Volume = 1
  5376. LocalScript200.Name = "Local Gui"
  5377. LocalScript200.Parent = Tool184
  5378. Tool201.Name = "Zegonerayite Pistol"
  5379. Tool201.Parent = mas
  5380. Tool201.GripForward = Vector3.new(-0, 1, -0)
  5381. Tool201.GripPos = Vector3.new(0, -0.550000012, -0.649999976)
  5382. Tool201.GripUp = Vector3.new(0, 0, 1)
  5383. Part202.Name = "Handle"
  5384. Part202.Parent = Tool201
  5385. Part202.Rotation = Vector3.new(-90, 0, -90)
  5386. Part202.FormFactor = Enum.FormFactor.Plate
  5387. Part202.Size = Vector3.new(1, 3.60000014, 1)
  5388. Part202.CFrame = CFrame.new(-0.900023997, 0.500001013, 27.0799999, 0, 1, 0, 0, 0, 1, 1, 0, 0)
  5389. Part202.BottomSurface = Enum.SurfaceType.Smooth
  5390. Part202.TopSurface = Enum.SurfaceType.Smooth
  5391. Part202.Position = Vector3.new(-0.900023997, 0.500001013, 27.0799999)
  5392. Part202.Orientation = Vector3.new(-90, -90, 0)
  5393. Sound203.Name = "EquipSound"
  5394. Sound203.Parent = Part202
  5395. Sound203.SoundId = "http://www.roblox.com/asset/?id=10756118"
  5396. SpecialMesh204.Parent = Part202
  5397. SpecialMesh204.MeshId = "http://www.roblox.com/asset/?id=11915746"
  5398. SpecialMesh204.TextureId = "http://www.roblox.com/asset/?id=87812844"
  5399. SpecialMesh204.MeshType = Enum.MeshType.FileMesh
  5400. Script205.Name = "RayGun"
  5401. Script205.Parent = Tool201
  5402. table.insert(cors,sandbox(Script205,function()
  5403. local Tool = script.Parent;
  5404.  
  5405. enabled = true
  5406.  
  5407. local spark = Instance.new("Sparkles")
  5408.  
  5409. function fire(v)
  5410.  
  5411.  
  5412.  
  5413.  
  5414.  
  5415.  
  5416.  
  5417.  
  5418.  
  5419. local vCharacter = Tool.Parent
  5420. local vPlayer = game.Players:playerFromCharacter(vCharacter)
  5421.  
  5422. local missile = Instance.new("Part")
  5423.  
  5424. local spawnPos = vCharacter.PrimaryPart.Position
  5425.  
  5426. local PewPew = Tool.Handle:FindFirstChild("PewPew")
  5427.  
  5428. if (PewPew == nil) then
  5429. PewPew = Instance.new("Sound")
  5430. PewPew.Name = "PewPew"
  5431. PewPew.SoundId = "http://www.roblox.com/asset/?id=11944350"
  5432. PewPew.Parent = Tool.Handle
  5433. PewPew.Volume = 1
  5434. end
  5435.  
  5436.  
  5437. spawnPos = spawnPos + (v * 10)
  5438.  
  5439.  
  5440. missile.Position = spawnPos
  5441. missile.Size = Vector3.new(2,2,2)
  5442. missile.Velocity = v * 200
  5443. missile.BrickColor = BrickColor.new("Lime green")
  5444. missile.Shape = 2
  5445. missile.Transparency = script.Parent.Settings.Transperancy.Value
  5446. missile.BottomSurface = 0
  5447. missile.TopSurface = 0
  5448. missile.Name = script.Parent.Settings.Name
  5449. missile.Reflectance = script.Parent.Settings.Reflect.Value
  5450. missile.CanCollide = script.Parent.Settings.Collide.Value
  5451. missile.Material = script.Parent.Settings.Materializer.Value
  5452. missile.Locked = script.Parent.Settings.Locked.Value
  5453. missile.Anchored = script.Parent.BreakSpark.Anchor.Value
  5454.  
  5455.  
  5456. spark:Clone().Parent = missile
  5457. spark.Color = missile.Color
  5458.  
  5459.  
  5460. local force = Instance.new("BodyForce")
  5461. force.force = Vector3.new(0,100,0)
  5462. force.Parent = missile
  5463.  
  5464. local creator_tag = Instance.new("ObjectValue")
  5465. creator_tag.Value = vPlayer
  5466. creator_tag.Name = "creator"
  5467. creator_tag.Parent = missile
  5468.  
  5469. local new_script = script.Parent.LaserBlast:clone()
  5470. new_script.Disabled = false
  5471. new_script.Parent = missile
  5472.  
  5473. missile.Parent = game.Workspace
  5474.  
  5475. PewPew:Play()
  5476.  
  5477. end
  5478.  
  5479.  
  5480.  
  5481. function gunUp()
  5482. Tool.GripForward = Vector3.new(0,.981,-.196)
  5483. Tool.GripRight = Vector3.new(1,0,0)
  5484. Tool.GripUp = Vector3.new(0,.196,.981)
  5485. end
  5486.  
  5487. function gunOut()
  5488. Tool.GripForward = Vector3.new(0,1,0)
  5489. Tool.GripRight = Vector3.new(1,0,0)
  5490. Tool.GripUp = Vector3.new(0,0,1)
  5491. end
  5492.  
  5493. function isTurbo(character)
  5494. return character:FindFirstChild("BoltHelm") ~= nil
  5495. end
  5496.  
  5497.  
  5498. function onActivated()
  5499. if not enabled then
  5500. return
  5501. end
  5502.  
  5503. enabled = false
  5504.  
  5505.  
  5506. local character = Tool.Parent;
  5507. local humanoid = character.Humanoid
  5508. if humanoid == nil then
  5509. print("Humanoid not found")
  5510. return
  5511. end
  5512.  
  5513. local targetPos = humanoid.TargetPoint
  5514. local lookAt = (targetPos - character.Head.Position).unit
  5515.  
  5516. local reload = 1
  5517. --if (isTurbo(character)) then
  5518. -- reload = .25
  5519. -- print("turbo")
  5520. --end
  5521.  
  5522. gunUp()
  5523. fire(lookAt)
  5524. wait(reload)
  5525. gunOut()
  5526. wait(reload)
  5527.  
  5528. enabled = true
  5529.  
  5530. end
  5531.  
  5532. function onEquipped()
  5533. Tool.Handle.EquipSound:play()
  5534. end
  5535.  
  5536. script.Parent.Activated:connect(onActivated)
  5537. script.Parent.Equipped:connect(onEquipped)
  5538.  
  5539. end))
  5540. LocalScript206.Name = "Local Gui"
  5541. LocalScript206.Parent = Tool201
  5542. table.insert(cors,sandbox(LocalScript206,function()
  5543. local Tool = script.Parent;
  5544.  
  5545. enabled = true
  5546. function onButton1Down(mouse)
  5547. if not enabled then
  5548. return
  5549. end
  5550.  
  5551. enabled = false
  5552. mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
  5553.  
  5554. wait(1)
  5555. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  5556. enabled = true
  5557.  
  5558. end
  5559.  
  5560. function onEquippedLocal(mouse)
  5561.  
  5562. if mouse == nil then
  5563. print("Mouse not found")
  5564. return
  5565. end
  5566.  
  5567. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  5568. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  5569. end
  5570.  
  5571.  
  5572. Tool.Equipped:connect(onEquippedLocal)
  5573.  
  5574. end))
  5575. Script207.Name = "LaserBlast"
  5576. Script207.Parent = Tool201
  5577. Script207.Disabled = true
  5578. table.insert(cors,sandbox(Script207,function()
  5579. ball = script.Parent
  5580. damage = 9000
  5581.  
  5582. HitSound = Instance.new("Sound")
  5583. HitSound.Name = "HitSound"
  5584. HitSound.SoundId = "http://www.roblox.com/asset/?id=11945266"
  5585. HitSound.Parent = ball
  5586. HitSound.Volume = 1
  5587.  
  5588.  
  5589.  
  5590. function onTouched(hit)
  5591. local humanoid = hit.Parent:findFirstChild("Humanoid")
  5592.  
  5593. if humanoid ~= nil then
  5594. tagHumanoid(humanoid)
  5595. humanoid:TakeDamage(damage)
  5596. plyr = ball:findFirstChild("creator").Value
  5597. plyr.leaderstats.Points.Value = plyr.leaderstats.Points.Value + 4
  5598. wait(0.2)
  5599. untagHumanoid(humanoid)
  5600. end
  5601.  
  5602. HitSound:Play()
  5603. ball.Parent = nil
  5604.  
  5605. end
  5606.  
  5607. function tagHumanoid(humanoid)
  5608. -- todo: make tag expire
  5609. local tag = ball:findFirstChild("creator")
  5610. if tag ~= nil then
  5611. local new_tag = tag:clone()
  5612. new_tag.Parent = humanoid
  5613. end
  5614. end
  5615.  
  5616.  
  5617. function untagHumanoid(humanoid)
  5618. if humanoid ~= nil then
  5619. local tag = humanoid:findFirstChild("creator")
  5620. if tag ~= nil then
  5621. tag.Parent = nil
  5622. end
  5623. end
  5624. end
  5625.  
  5626. connection = ball.Touched:connect(onTouched)
  5627.  
  5628. wait(5)
  5629. script.Parent:Destroy()
  5630.  
  5631. --ball.SparkSound.Looped = false
  5632. --ball.SparkSound:Stop()
  5633. ball.Parent = nil
  5634. end))
  5635. Configuration208.Name = "BreakSpark"
  5636. Configuration208.Parent = Tool201
  5637. BoolValue209.Name = "Anchor"
  5638. BoolValue209.Parent = Configuration208
  5639. Configuration210.Name = "Settings"
  5640. Configuration210.Parent = Tool201
  5641. NumberValue211.Name = "Transperancy"
  5642. NumberValue211.Parent = Configuration210
  5643. NumberValue211.Value = 0.5
  5644. NumberValue212.Name = "Reflect"
  5645. NumberValue212.Parent = Configuration210
  5646. NumberValue212.Value = 0.4
  5647. StringValue213.Name = "Name"
  5648. StringValue213.Parent = Configuration210
  5649. StringValue213.Value = "NAY"
  5650. BoolValue214.Name = "Locked"
  5651. BoolValue214.Parent = Configuration210
  5652. BoolValue214.Value = true
  5653. BoolValue215.Name = "Collide"
  5654. BoolValue215.Parent = Configuration210
  5655. BoolValue215.Value = true
  5656. StringValue216.Name = "Materializer"
  5657. StringValue216.Parent = Configuration210
  5658. StringValue216.Value = "Neon"
  5659. ObjectValue217.Name = "Note - This is made by Anime"
  5660. ObjectValue217.Parent = Tool201
  5661. for i,v in pairs(mas:GetChildren()) do
  5662. v.Parent = game:GetService("Players").LocalPlayer.Backpack
  5663. pcall(function() v:MakeJoints() end)
  5664. end
  5665. mas:Destroy()
  5666. for i,v in pairs(cors) do
  5667. spawn(function()
  5668. pcall(v)
  5669. end)
  5670. end
  5671.  
  5672. end
  5673.  
  5674. corrupt = true
  5675.  
  5676. if corrupt == true then
  5677.  
  5678.  
  5679. --Converted with ttyyuu12345's model to script plugin v4
  5680. function sandbox(var,func)
  5681. local env = getfenv(func)
  5682. local newenv = setmetatable({},{
  5683. __index = function(self,k)
  5684. if k=="script" then
  5685. return var
  5686. else
  5687. return env[k]
  5688. end
  5689. end,
  5690. })
  5691. setfenv(func,newenv)
  5692. return func
  5693. end
  5694. cors = {}
  5695. mas = Instance.new("Model",game:GetService("Lighting"))
  5696. Script0 = Instance.new("Script")
  5697. StringValue1 = Instance.new("StringValue")
  5698. Script2 = Instance.new("Script")
  5699. Script3 = Instance.new("Script")
  5700. Script4 = Instance.new("Script")
  5701. StringValue5 = Instance.new("StringValue")
  5702. Script6 = Instance.new("Script")
  5703. Script7 = Instance.new("Script")
  5704. StringValue8 = Instance.new("StringValue")
  5705. Script7.Name = "Corrupt"
  5706. Script7.Parent = Script6
  5707. Script7.Disabled = true
  5708. table.insert(cors,sandbox(Script7,function()
  5709. ---The corruption and the spread script was created by BuildIntoGames :P
  5710.  
  5711.  
  5712. function TextLabel(t)
  5713. if(math.random(1,3) == 1) then
  5714. t.BackgroundTransparency = math.random(1,10)/10
  5715. end
  5716. if(math.random(1,3) == 1) then
  5717. t.TextColor3 = Color3.new(math.random(1,255)/255,math.random(1,255)/255,math.random(1,255)/255)
  5718. end
  5719. if(math.random(1,5) == 5) then
  5720. t.Text = string.sub(t.Text,math.random(1,30),math.random(30,100))
  5721. end
  5722. if(math.random(1,4) == 4) then
  5723. t.Rotation = math.random(1,180)/t.Rotation
  5724. end
  5725. wait()
  5726. end
  5727.  
  5728.  
  5729. function hat (h)
  5730. if(math.random(1,5) == 5) then
  5731. h.AttachmentPos = Vector3.new(math.random(-5,5)*math.random(-5,5),math.random(-5,5)*math.random(-5,5),math.random(-5,5)*math.random(-5,5))
  5732. end
  5733. end
  5734.  
  5735.  
  5736. function mesh (m)
  5737. if(math.random(1,6) == 6) then
  5738. m.Scale = Vector3.new(math.random(-5,5)*math.random(-5,5),math.random(-5,5)*math.random(-5,5),math.random(-5,5)*math.random(-5,5))
  5739. end
  5740. if(math.random(1,6) == 6) then
  5741. m.TextureId = "http://www.roblox.com/asset/?id=" .. math.random(10000,10000000)
  5742. end
  5743. end
  5744.  
  5745.  
  5746. function magma(part)
  5747. if(math.random(1,5) == 5) then
  5748. part.BrickColor = BrickColor.Random()
  5749. end
  5750. for i = 1,math.random(-1,2) do
  5751. q = part:clone()
  5752. q.Name = "corruptedclonepart"
  5753. q.Parent = script.Parent
  5754. q.CFrame = part.CFrame
  5755. if(math.random(1,5) == 5) then
  5756. q.Anchored = false
  5757. end
  5758. if(math.random(1,5) == 5) then
  5759. q.CanCollide = false
  5760. end
  5761. end
  5762. if(math.random(1,8) == 2) then
  5763. part.Transparency = math.random(1,10)/10
  5764. end
  5765. if(math.random(1,12) == 9) then
  5766. part.Size = Vector3.new(part.Size.X / math.random(1,10),part.Size.Y * math.random(1,10),part.Size.Z * math.random(1,10))
  5767. end
  5768. if(math.random(1,10) == 9) then
  5769. Materials = {"Plastic","DiamondPlate","Fabric","Foil","Granite","Grass","Ice","Marble","Metal","Pebble","Sand","Slate","SmoothPlastic","WoodPlanks","Wood"}
  5770. part.Material = Materials[math.random(1,#Materials)]
  5771. end
  5772. if(math.random(1,20) == 18) then
  5773. part.Reflectance = math.random(1,20)/10
  5774. end
  5775. if(math.random(1,15) == 15) then
  5776. shapes = {"Ball","Block","Cylinder"}
  5777. part.Shape = shapes[math.random(1,#shapes)]
  5778. end
  5779. wait()
  5780. end
  5781.  
  5782.  
  5783. function sound(soundd)
  5784. soundd.Pitch = math.random(-50,50)/10
  5785. soundd.Volume = math.random(1,10)/10
  5786. end
  5787.  
  5788.  
  5789. function Motor (m)
  5790. m.CurrentAngle = math.random(-100,100)/math.random(1,5)
  5791. m.DesiredAngle = math.random(-100,100)/math.random(1,5)
  5792. m.MaxVelocity = math.random(-100,100)/math.random(1,5)
  5793. end
  5794.  
  5795. function MeltTheWorld(part)
  5796. for _,part in next, part:GetChildren() do
  5797. --print("killing " .. part.Name)
  5798. if(part.Name == "Animate" and part.Parent:FindFirstChild("Humanoid") ~= nil and math.random(1,11) == 11) then part.Disabled = true end
  5799. if part.ClassName == "Part" and part.Name ~= "corruptedclonepart" then magma(part) end
  5800. if part.ClassName == "Sound" then sound(part) end
  5801. if part.ClassName == "Hat" then hat(part) end
  5802. if part.ClassName == "SpecialMesh" then mesh(part) end
  5803. if part.ClassName == "Motor6D" then Motor(part) end
  5804. if part.ClassName == "TextLabel" or part.ClassName == "TextButton" or part.ClassName == "TextBox" then TextLabel(part) end
  5805. MeltTheWorld(part) MeltTheWorld(part)
  5806. end
  5807. end
  5808.  
  5809. MeltTheWorld(script.Parent)
  5810.  
  5811.  
  5812. script.Parent.ChildAdded:connect(function(p)
  5813. if(p.Name ~= "corruptedclonepart") then
  5814. MeltTheWorld(p)
  5815. end
  5816. end)
  5817.  
  5818. script.Parent.DescendantAdded:connect(function(p)
  5819. if(p.Name ~= "corruptedclonepart") then
  5820. MeltTheWorld(p)
  5821. end
  5822. end)
  5823.  
  5824.  
  5825. end))
  5826. StringValue8.Name = "Target"
  5827. StringValue8.Parent = Script6
  5828. StringValue8.Value = "none"
  5829. Script2.Name = "CorruptGame"
  5830. Script2.Parent = mas
  5831. table.insert(cors,sandbox(Script2,function()
  5832. -- This is a fun random project I made really quickly. What it does, it corrupts anything
  5833. --under the targets table. The target must be a child of game. It will mess everything up,
  5834. --And may even lag. Everytime you play this script, it'll make a random effect. Have fun!
  5835.  
  5836. targets = {"Workspace","StarterGui"} -- You can only effect running instances
  5837.  
  5838. for q = 1,#targets do
  5839. p = script.Spread:Clone()
  5840. p.Target.Value = targets[q]
  5841. p.Disabled = false
  5842. p.Parent = game.Workspace
  5843. end
  5844. end))
  5845. Script6.Name = "Spread"
  5846. Script6.Parent = Script2
  5847. table.insert(cors,sandbox(Script6,function()
  5848. stuff = game:FindFirstChild(script.Target.Value)
  5849. if(stuff ~= nil) then
  5850. k = stuff:GetChildren()
  5851. for i = 1,#k do
  5852. local qq = script.Corrupt:clone()
  5853. qq.Parent = k[i]
  5854. qq.Disabled = false
  5855. end
  5856. stuff.ChildAdded:connect(function(pp)
  5857. local qq = script.Corrupt:clone()
  5858. qq.Parent = pp
  5859. qq.Disabled = false
  5860. end)
  5861. end
  5862. end))
  5863. Script7.Name = "Corrupt"
  5864. Script7.Parent = Script6
  5865. Script7.Disabled = true
  5866. table.insert(cors,sandbox(Script7,function()
  5867. ---The corruption and the spread script was created by BuildIntoGames :P
  5868.  
  5869.  
  5870. function TextLabel(t)
  5871. if(math.random(1,3) == 1) then
  5872. t.BackgroundTransparency = math.random(1,10)/10
  5873. end
  5874. if(math.random(1,3) == 1) then
  5875. t.TextColor3 = Color3.new(math.random(1,255)/255,math.random(1,255)/255,math.random(1,255)/255)
  5876. end
  5877. if(math.random(1,5) == 5) then
  5878. t.Text = string.sub(t.Text,math.random(1,30),math.random(30,100))
  5879. end
  5880. if(math.random(1,4) == 4) then
  5881. t.Rotation = math.random(1,180)/t.Rotation
  5882. end
  5883. wait()
  5884. end
  5885.  
  5886.  
  5887. function hat (h)
  5888. if(math.random(1,5) == 5) then
  5889. h.AttachmentPos = Vector3.new(math.random(-5,5)*math.random(-5,5),math.random(-5,5)*math.random(-5,5),math.random(-5,5)*math.random(-5,5))
  5890. end
  5891. end
  5892.  
  5893.  
  5894. function mesh (m)
  5895. if(math.random(1,6) == 6) then
  5896. m.Scale = Vector3.new(math.random(-5,5)*math.random(-5,5),math.random(-5,5)*math.random(-5,5),math.random(-5,5)*math.random(-5,5))
  5897. end
  5898. if(math.random(1,6) == 6) then
  5899. m.TextureId = "http://www.roblox.com/asset/?id=" .. math.random(10000,10000000)
  5900. end
  5901. end
  5902.  
  5903.  
  5904. function magma(part)
  5905. if(math.random(1,5) == 5) then
  5906. part.BrickColor = BrickColor.Random()
  5907. end
  5908. for i = 1,math.random(-1,2) do
  5909. q = part:clone()
  5910. q.Name = "corruptedclonepart"
  5911. q.Parent = script.Parent
  5912. q.CFrame = part.CFrame
  5913. if(math.random(1,5) == 5) then
  5914. q.Anchored = false
  5915. end
  5916. if(math.random(1,5) == 5) then
  5917. q.CanCollide = false
  5918. end
  5919. end
  5920. if(math.random(1,8) == 2) then
  5921. part.Transparency = math.random(1,10)/10
  5922. end
  5923. if(math.random(1,12) == 9) then
  5924. part.Size = Vector3.new(part.Size.X / math.random(1,10),part.Size.Y * math.random(1,10),part.Size.Z * math.random(1,10))
  5925. end
  5926. if(math.random(1,10) == 9) then
  5927. Materials = {"Plastic","DiamondPlate","Fabric","Foil","Granite","Grass","Ice","Marble","Metal","Pebble","Sand","Slate","SmoothPlastic","WoodPlanks","Wood"}
  5928. part.Material = Materials[math.random(1,#Materials)]
  5929. end
  5930. if(math.random(1,20) == 18) then
  5931. part.Reflectance = math.random(1,20)/10
  5932. end
  5933. if(math.random(1,15) == 15) then
  5934. shapes = {"Ball","Block","Cylinder"}
  5935. part.Shape = shapes[math.random(1,#shapes)]
  5936. end
  5937. wait()
  5938. end
  5939.  
  5940.  
  5941. function sound(soundd)
  5942. soundd.Pitch = math.random(-50,50)/10
  5943. soundd.Volume = math.random(1,10)/10
  5944. end
  5945.  
  5946.  
  5947. function Motor (m)
  5948. m.CurrentAngle = math.random(-100,100)/math.random(1,5)
  5949. m.DesiredAngle = math.random(-100,100)/math.random(1,5)
  5950. m.MaxVelocity = math.random(-100,100)/math.random(1,5)
  5951. end
  5952.  
  5953. function MeltTheWorld(part)
  5954. for _,part in next, part:GetChildren() do
  5955. --print("killing " .. part.Name)
  5956. if(part.Name == "Animate" and part.Parent:FindFirstChild("Humanoid") ~= nil and math.random(1,11) == 11) then part.Disabled = true end
  5957. if part.ClassName == "Part" and part.Name ~= "corruptedclonepart" then magma(part) end
  5958. if part.ClassName == "Sound" then sound(part) end
  5959. if part.ClassName == "Hat" then hat(part) end
  5960. if part.ClassName == "SpecialMesh" then mesh(part) end
  5961. if part.ClassName == "Motor6D" then Motor(part) end
  5962. if part.ClassName == "TextLabel" or part.ClassName == "TextButton" or part.ClassName == "TextBox" then TextLabel(part) end
  5963. MeltTheWorld(part) MeltTheWorld(part)
  5964. end
  5965. end
  5966.  
  5967. MeltTheWorld(script.Parent)
  5968.  
  5969.  
  5970. script.Parent.ChildAdded:connect(function(p)
  5971. if(p.Name ~= "corruptedclonepart") then
  5972. MeltTheWorld(p)
  5973. end
  5974. end)
  5975.  
  5976. script.Parent.DescendantAdded:connect(function(p)
  5977. if(p.Name ~= "corruptedclonepart") then
  5978. MeltTheWorld(p)
  5979. end
  5980. end)
  5981.  
  5982.  
  5983. end))
  5984. StringValue8.Name = "Target"
  5985. StringValue8.Parent = Script6
  5986. StringValue8.Value = "none"
  5987. Script6.Name = "Spread"
  5988. Script6.Parent = Script2
  5989. table.insert(cors,sandbox(Script6,function()
  5990. stuff = game:FindFirstChild(script.Target.Value)
  5991. if(stuff ~= nil) then
  5992. k = stuff:GetChildren()
  5993. for i = 1,#k do
  5994. local qq = script.Corrupt:clone()
  5995. qq.Parent = k[i]
  5996. qq.Disabled = false
  5997. end
  5998. stuff.ChildAdded:connect(function(pp)
  5999. local qq = script.Corrupt:clone()
  6000. qq.Parent = pp
  6001. qq.Disabled = false
  6002. end)
  6003. end
  6004. end))
  6005. Script7.Name = "Corrupt"
  6006. Script7.Parent = Script6
  6007. Script7.Disabled = true
  6008. table.insert(cors,sandbox(Script7,function()
  6009. ---The corruption and the spread script was created by BuildIntoGames :P
  6010.  
  6011.  
  6012. function TextLabel(t)
  6013. if(math.random(1,3) == 1) then
  6014. t.BackgroundTransparency = math.random(1,10)/10
  6015. end
  6016. if(math.random(1,3) == 1) then
  6017. t.TextColor3 = Color3.new(math.random(1,255)/255,math.random(1,255)/255,math.random(1,255)/255)
  6018. end
  6019. if(math.random(1,5) == 5) then
  6020. t.Text = string.sub(t.Text,math.random(1,30),math.random(30,100))
  6021. end
  6022. if(math.random(1,4) == 4) then
  6023. t.Rotation = math.random(1,180)/t.Rotation
  6024. end
  6025. wait()
  6026. end
  6027.  
  6028.  
  6029. function hat (h)
  6030. if(math.random(1,5) == 5) then
  6031. h.AttachmentPos = Vector3.new(math.random(-5,5)*math.random(-5,5),math.random(-5,5)*math.random(-5,5),math.random(-5,5)*math.random(-5,5))
  6032. end
  6033. end
  6034.  
  6035.  
  6036. function mesh (m)
  6037. if(math.random(1,6) == 6) then
  6038. m.Scale = Vector3.new(math.random(-5,5)*math.random(-5,5),math.random(-5,5)*math.random(-5,5),math.random(-5,5)*math.random(-5,5))
  6039. end
  6040. if(math.random(1,6) == 6) then
  6041. m.TextureId = "http://www.roblox.com/asset/?id=" .. math.random(10000,10000000)
  6042. end
  6043. end
  6044.  
  6045.  
  6046. function magma(part)
  6047. if(math.random(1,5) == 5) then
  6048. part.BrickColor = BrickColor.Random()
  6049. end
  6050. for i = 1,math.random(-1,2) do
  6051. q = part:clone()
  6052. q.Name = "corruptedclonepart"
  6053. q.Parent = script.Parent
  6054. q.CFrame = part.CFrame
  6055. if(math.random(1,5) == 5) then
  6056. q.Anchored = false
  6057. end
  6058. if(math.random(1,5) == 5) then
  6059. q.CanCollide = false
  6060. end
  6061. end
  6062. if(math.random(1,8) == 2) then
  6063. part.Transparency = math.random(1,10)/10
  6064. end
  6065. if(math.random(1,12) == 9) then
  6066. part.Size = Vector3.new(part.Size.X / math.random(1,10),part.Size.Y * math.random(1,10),part.Size.Z * math.random(1,10))
  6067. end
  6068. if(math.random(1,10) == 9) then
  6069. Materials = {"Plastic","DiamondPlate","Fabric","Foil","Granite","Grass","Ice","Marble","Metal","Pebble","Sand","Slate","SmoothPlastic","WoodPlanks","Wood"}
  6070. part.Material = Materials[math.random(1,#Materials)]
  6071. end
  6072. if(math.random(1,20) == 18) then
  6073. part.Reflectance = math.random(1,20)/10
  6074. end
  6075. if(math.random(1,15) == 15) then
  6076. shapes = {"Ball","Block","Cylinder"}
  6077. part.Shape = shapes[math.random(1,#shapes)]
  6078. end
  6079. wait()
  6080. end
  6081.  
  6082.  
  6083. function sound(soundd)
  6084. soundd.Pitch = math.random(-50,50)/10
  6085. soundd.Volume = math.random(1,10)/10
  6086. end
  6087.  
  6088.  
  6089. function Motor (m)
  6090. m.CurrentAngle = math.random(-100,100)/math.random(1,5)
  6091. m.DesiredAngle = math.random(-100,100)/math.random(1,5)
  6092. m.MaxVelocity = math.random(-100,100)/math.random(1,5)
  6093. end
  6094.  
  6095. function MeltTheWorld(part)
  6096. for _,part in next, part:GetChildren() do
  6097. --print("killing " .. part.Name)
  6098. if(part.Name == "Animate" and part.Parent:FindFirstChild("Humanoid") ~= nil and math.random(1,11) == 11) then part.Disabled = true end
  6099. if part.ClassName == "Part" and part.Name ~= "corruptedclonepart" then magma(part) end
  6100. if part.ClassName == "Sound" then sound(part) end
  6101. if part.ClassName == "Hat" then hat(part) end
  6102. if part.ClassName == "SpecialMesh" then mesh(part) end
  6103. if part.ClassName == "Motor6D" then Motor(part) end
  6104. if part.ClassName == "TextLabel" or part.ClassName == "TextButton" or part.ClassName == "TextBox" then TextLabel(part) end
  6105. MeltTheWorld(part) MeltTheWorld(part)
  6106. end
  6107. end
  6108.  
  6109. MeltTheWorld(script.Parent)
  6110.  
  6111.  
  6112. script.Parent.ChildAdded:connect(function(p)
  6113. if(p.Name ~= "corruptedclonepart") then
  6114. MeltTheWorld(p)
  6115. end
  6116. end)
  6117.  
  6118. script.Parent.DescendantAdded:connect(function(p)
  6119. if(p.Name ~= "corruptedclonepart") then
  6120. MeltTheWorld(p)
  6121. end
  6122. end)
  6123.  
  6124.  
  6125. end))
  6126. StringValue8.Name = "Target"
  6127. StringValue8.Parent = Script6
  6128. StringValue8.Value = "none"
  6129. for i,v in pairs(mas:GetChildren()) do
  6130. v.Parent = workspace
  6131. pcall(function() v:MakeJoints() end)
  6132. end
  6133. mas:Destroy()
  6134. for i,v in pairs(cors) do
  6135. spawn(function()
  6136. pcall(v)
  6137. end)
  6138. end
  6139.  
  6140.  
  6141. end
  6142.  
  6143.  
  6144. flying = false
  6145. --Now heres the flying robloxians
  6146. if flying == true then
  6147. mas = Playername.LocalPlayer.Character.Torso
  6148. BodyForce0 = Instance.new("BodyForce")
  6149. BodyForce0.Parent = mas
  6150. BodyForce0.force = Vector3.new(0, 8200, 0)
  6151. mas.Velocity = mas.CFrame.lookVector * 100
  6152. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement