Advertisement
omg12

Untitled

Mar 24th, 2018
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 182.20 KB | None | 0 0
  1. plr = game.Players.LocalPlayer
  2. TFont = "RobloxRoundDropdownButton"
  3. local Gui = Instance.new("ScreenGui")
  4. Gui.Parent = plr.PlayerGui
  5. Gui.Name = "SwordEditor"
  6. local Frame = Instance.new("Frame")
  7. Frame.Name = "Frame"
  8. Frame.Parent = Gui
  9. local StartSound = Instance.new("Sound",Frame)
  10. StartSound.SoundId = "rbxassetid://255881176"
  11. StartSound.Volume = 100000
  12. Frame.BackgroundColor3 = Color3.fromRGB(255,255,255)
  13. Frame.BackgroundTransparency = 0.2
  14. Frame.BorderColor3 = Color3.fromRGB(103, 161, 202)
  15. Frame.BorderSizePixel = 10
  16. Frame.Position = UDim2.new(0, -600,0, 23) --UDim2.new(0, 270,0, 23)
  17. Frame.Size = UDim2.new(0, 500,0, 420) --Blaze it
  18. Frame.Draggable = true
  19. Frame.Active = true
  20. local FHelp = Instance.new("Frame")
  21. FHelp.Name = "HelpFrame"
  22. FHelp.Parent = Gui
  23. FHelp.BackgroundColor3 = Color3.fromRGB(255,255,255)
  24. FHelp.BackgroundTransparency = 0
  25. FHelp.BorderColor3 = Color3.fromRGB(103, 161, 202)
  26. FHelp.BorderSizePixel = 10
  27. FHelp.Position = UDim2.new(0, 795,0, 10)
  28. FHelp.Size = UDim2.new(0, 200,0, 400)
  29. FHelp.Draggable = true
  30. FHelp.Active = true
  31. FHelp.Visible = false
  32. ClickId = 156286438
  33. local Preset5 = Instance.new("TextButton",Frame)
  34. local PresetSound5 = Instance.new("Sound",Preset5)
  35. PresetSound5.SoundId = "rbxassetid://"..ClickId
  36. local Preset4 = Instance.new("TextButton",Frame)
  37. local PresetSound4 = Instance.new("Sound",Preset4)
  38. PresetSound4.SoundId = "rbxassetid://"..ClickId
  39. local Preset3 = Instance.new("TextButton",Frame)
  40. local PresetSound3 = Instance.new("Sound",Preset3)
  41. PresetSound3.SoundId = "rbxassetid://"..ClickId
  42. local Preset2 = Instance.new("TextButton",Frame)
  43. local PresetSound2 = Instance.new("Sound",Preset2)
  44. PresetSound2.SoundId = "rbxassetid://"..ClickId
  45. local Preset1 = Instance.new("TextButton",Frame)
  46. local PresetSound1 = Instance.new("Sound",Preset1)
  47. PresetSound1.SoundId = "rbxassetid://"..ClickId
  48. local CloseGui = Instance.new("TextButton",Frame)
  49. local ClosSo = Instance.new("Sound",CloseGui)
  50. local CloCh = Instance.new("BoolValue",CloseGui)
  51. ClosSo.SoundId = "rbxassetid://"..ClickId
  52. local RangeHint = Instance.new("TextButton",Frame)
  53. local Rainb = Instance.new("TextButton",Frame)
  54. local RainS = Instance.new("Sound",Rainb)
  55. local RainV = Instance.new("BoolValue",Rainb)
  56. RainS.SoundId = "rbxassetid://"..ClickId
  57. local Color3Value = Instance.new("Color3Value",Frame)
  58. local SetColorValue = Instance.new("TextButton",Frame)
  59. local Color3M = Instance.new("Sound",SetColorValue)
  60. local DayChanger = Instance.new("TextButton",Frame)
  61. local DCS = Instance.new("Sound",DayChanger)
  62. DCS.SoundId = "rbxassetid://156286438"
  63. local DayVal = Instance.new("BoolValue",DayChanger)
  64. local Glow = Instance.new("TextButton",Frame)
  65. local SGlow = Instance.new("Sound",Glow)
  66. SGlow.SoundId = "rbxassetid://"..ClickId
  67. local GlowV = Instance.new("BoolValue",Glow)
  68. Color3M.SoundId = "rbxassetid://"..ClickId
  69. Color3Value.Name = "Color3a"
  70. local Color1 = Instance.new("TextButton")
  71. Color1.Parent = FHelp
  72. local Color2 = Instance.new("TextButton")
  73. Color2.Parent = FHelp
  74. local Color3i = Instance.new("TextButton")
  75. Color3i.Parent = FHelp
  76. local Color4 = Instance.new("TextButton")
  77. Color4.Parent = FHelp
  78. local Color5 = Instance.new("TextButton")
  79. Color5.Parent = FHelp
  80. local Color6 = Instance.new("TextButton")
  81. Color6.Parent = FHelp
  82. local Color7 = Instance.new("TextButton")
  83. Color7.Parent = FHelp
  84. local Color8 = Instance.new("TextButton")
  85. Color8.Parent = FHelp
  86. local Color9 = Instance.new("TextButton")
  87. Color9.Parent = FHelp
  88. local Color10 = Instance.new("TextButton")
  89. Color10.Parent = FHelp
  90. local Color11 = Instance.new("TextButton")
  91. Color11.Parent = FHelp
  92. local Color12 = Instance.new("TextButton")
  93. Color12.Parent = FHelp
  94. local Color13 = Instance.new("TextButton")
  95. Color13.Parent = FHelp
  96. local Color14 = Instance.new("TextButton")
  97. Color14.Parent = FHelp
  98. local Color15 = Instance.new("TextButton")
  99. Color15.Parent = FHelp
  100. local Color16 = Instance.new("TextButton")
  101. Color16.Parent = FHelp
  102. local FClose = Instance.new("TextButton")
  103. FClose.Parent = FHelp
  104. local FClS = Instance.new("Sound",FClose)
  105. FClS.SoundId = "rbxassetid://"..ClickId
  106. local Help = Instance.new("TextButton")
  107. Help.Parent = Frame
  108. HelpSO = Instance.new("Sound",Help)
  109. HelpSO.SoundId = "rbxassetid://"..ClickId
  110. local IdHint = Instance.new("TextButton")
  111. IdHint.Parent = Frame
  112. local PitHint = Instance.new("TextButton")
  113. PitHint.Parent = Frame
  114. thegui = plr.PlayerGui.SwordEditor.Frame
  115. helpgui = plr.PlayerGui.SwordEditor.HelpFrame
  116. local VolHint = Instance.new("TextButton")
  117. VolHint.Parent = Frame
  118. local ColorValue = Instance.new("TextBox")
  119. ColorValue.Parent = Frame
  120. local ColorE = Instance.new("TextButton")
  121. ColorE.Parent = Frame
  122. local ColEV = Instance.new("BoolValue",ColorE)
  123. local ColSO = Instance.new("Sound",ColorE)
  124. ColSO.SoundId = "rbxassetid://"..ClickId
  125. local Done = Instance.new("TextButton")
  126. Done.Parent = Frame
  127. local DSO = Instance.new("Sound",Done)
  128. DSO.SoundId = "rbxassetid://"..255881176
  129. local TITLE = Instance.new("TextButton")
  130. TITLE.Parent = Frame
  131. local Default = Instance.new("TextButton")
  132. Default.Parent = Frame
  133. local DEFSO = Instance.new("Sound",Default)
  134. DEFSO.SoundId = "rbxassetid://"..ClickId
  135. local RColor = Instance.new("TextButton")
  136. RColor.Parent = Frame
  137. local RCOSO = Instance.new("Sound",RColor)
  138. RCOSO.SoundId = "rbxassetid://"..ClickId
  139. local RColorB = Instance.new("BoolValue",RColor)
  140. local CE = Instance.new("TextButton")
  141. CE.Parent = Frame
  142. local CESO = Instance.new("Sound",CE)
  143. CESO.SoundId = "rbxassetid://"..ClickId
  144. local CEB = Instance.new("BoolValue",CE)
  145. local CC = Instance.new("TextBox")
  146. CC.Parent = Frame
  147. local MU = Instance.new("TextButton")
  148. MU.Parent = Frame
  149. local MUSO = Instance.new("Sound",MU)
  150. MUSO.SoundId = "rbxassetid://"..ClickId
  151. local MUB = Instance.new("BoolValue",MU)
  152. local MID = Instance.new("TextBox")
  153. MID.Parent = Frame
  154. local MPitch = Instance.new("TextBox")
  155. MPitch.Parent = Frame
  156. local LI = Instance.new("TextButton")
  157. LI.Parent = Frame
  158. local LISO = Instance.new("Sound",LI)
  159. LISO.SoundId = "rbxassetid://"..ClickId
  160. local LIB = Instance.new("BoolValue",LI)
  161. local LRange = Instance.new("TextBox")
  162. LRange.Parent = Frame
  163. local MVolume = Instance.new("TextBox")
  164. MVolume.Parent = Frame
  165. local PA = Instance.new("TextButton")
  166. PA.Parent = Frame
  167. local PASO = Instance.new("Sound",PA)
  168. PASO.SoundId = "rbxassetid://"..ClickId
  169. local PAB = Instance.new("BoolValue",PA)
  170. local HEA = Instance.new("TextBox")
  171. HEA.Parent = Frame
  172. local PSP = Instance.new("TextBox")
  173. PSP.Parent = Frame
  174. local MIDM = Instance.new("TextBox")
  175. MIDM.Parent = Frame
  176. local MADM = Instance.new("TextBox")
  177. MADM.Parent = Frame
  178. local HAX = Instance.new("TextButton")
  179. HAX.Parent = Frame
  180. local HAXSO = Instance.new("Sound",HAX)
  181. HAXSO.SoundId = "rbxassetid://"..ClickId
  182. local HAXB = Instance.new("BoolValue",HAX)
  183. local BAN = Instance.new("TextButton")
  184. BAN.Parent = Frame
  185. local BANSO = Instance.new("Sound",BAN)
  186. BANSO.SoundId = "rbxassetid://"..ClickId
  187. local BANB = Instance.new("BoolValue",BAN)
  188. ------------------------------------------ Presets
  189. Preset1.Name = "Preset1"
  190. Preset1.Position = UDim2.new(0, 10,0, 360)
  191. Preset1.Size = UDim2.new(0, 80,0, 50)
  192. Preset1.Font = "Highway"
  193. Preset1.Style = TFont
  194. Preset1.TextSize = 18
  195. Preset1.Text = "Red"
  196. Preset1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  197. Preset1.TextWrapped = true
  198. Preset1.TextScaled = true
  199. thegui.Preset1.MouseButton1Down:connect(function()
  200. thegui.Preset1.Sound:Play()
  201. thegui.Music.Value.Value = true
  202. thegui.Music.TextColor3 = Color3.fromRGB(0,255,0)
  203. thegui.Light.Value.Value = true
  204. thegui.Light.TextColor3 = Color3.fromRGB(0,255,0)
  205. thegui.ColorValue.Value.Value = true
  206. thegui.ColorValue.TextColor3 = Color3.fromRGB(0,255,0)
  207. thegui.ColorCode.Text = "15"
  208. thegui.Health.Text = "500"
  209. thegui.LightRange.Text = "7"
  210. thegui.MaximumDamage.Text = "50"
  211. thegui.MinimumDamage.Text = "30"
  212. thegui.MusicId.Text = "181547615"
  213. thegui.MusicPitch.Text = "1"
  214. thegui.Speed.Text = "30"
  215. thegui.TheColor.Text = "0,0,0"
  216. thegui.MusicVolume.Text = "1"
  217. end)
  218. -----
  219. Preset2.Name = "Preset2"
  220. Preset2.Position = UDim2.new(0, 90,0, 360)
  221. Preset2.Size = UDim2.new(0, 80,0, 50)
  222. Preset2.Font = "Highway"
  223. Preset2.Style = TFont
  224. Preset2.TextSize = 14
  225. Preset2.Text = "Violet"
  226. Preset2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  227. Preset2.TextWrapped = false
  228. Preset2.TextScaled = false
  229. thegui.Preset2.MouseButton1Down:connect(function()
  230. thegui.Preset2.Sound:Play()
  231. thegui.Music.Value.Value = true
  232. thegui.Music.TextColor3 = Color3.fromRGB(0,255,0)
  233. thegui.Light.Value.Value = true
  234. thegui.Light.TextColor3 = Color3.fromRGB(0,255,0)
  235. thegui.ColorValue.Value.Value = true
  236. thegui.ColorValue.TextColor3 = Color3.fromRGB(0,255,0)
  237. thegui.ColorCode.Text = "8"
  238. thegui.Particles.Value.Value = true
  239. thegui.Particles.TextColor3 = Color3.fromRGB(0,255,0)
  240. thegui.Health.Text = "1000"
  241. thegui.LightRange.Text = "7"
  242. thegui.MaximumDamage.Text = "40"
  243. thegui.MinimumDamage.Text = "60"
  244. thegui.MusicId.Text = "293336157"
  245. thegui.MusicPitch.Text = "1"
  246. thegui.Speed.Text = "30"
  247. thegui.TheColor.Text = "0,0,0"
  248. thegui.MusicVolume.Text = "1"
  249. end)
  250. -----
  251. Preset3.Name = "Preset3"
  252. Preset3.Position = UDim2.new(0, 170,0, 360)
  253. Preset3.Size = UDim2.new(0, 80,0, 50)
  254. Preset3.Font = "Highway"
  255. Preset3.Style = TFont
  256. Preset3.TextSize = 14
  257. Preset3.Text = "Megalovania"
  258. Preset3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  259. Preset3.TextWrapped = false
  260. Preset3.TextScaled = false
  261. thegui.Preset3.MouseButton1Down:connect(function()
  262. thegui.Preset3.Sound:Play()
  263. thegui.Music.Value.Value = true
  264. thegui.Music.TextColor3 = Color3.fromRGB(0,255,0)
  265. thegui.ColorValue.TextColor3 = Color3.fromRGB(0,255,0)
  266. thegui.ColorCode.Text = "4"
  267. thegui.Hackermode.Value.Value = true
  268. thegui.Hackermode.TextColor3 = Color3.fromRGB(0,255,0)
  269. thegui.Health.Text = "1000"
  270. thegui.LightRange.Text = "0"
  271. thegui.MaximumDamage.Text = "40"
  272. thegui.MinimumDamage.Text = "60"
  273. thegui.MusicId.Text = "306370481"
  274. thegui.MusicPitch.Text = "1"
  275. thegui.Speed.Text = "50"
  276. thegui.TheColor.Text = "0,0,0"
  277. thegui.MusicVolume.Text = "1"
  278. end)
  279. -----
  280. Preset4.Name = "Preset4"
  281. Preset4.Position = UDim2.new(0, 250,0, 360)
  282. Preset4.Size = UDim2.new(0, 80,0, 50)
  283. Preset4.Font = "Highway"
  284. Preset4.Style = TFont
  285. Preset4.TextSize = 14
  286. Preset4.Text = "Rainbow"
  287. Preset4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  288. Preset4.TextWrapped = false
  289. Preset4.TextScaled = false
  290. thegui.Preset4.MouseButton1Down:connect(function()
  291. thegui.Preset4.Sound:Play()
  292. thegui.Light.Value.Value = true
  293. thegui.Light.TextColor3 = Color3.fromRGB(0,255,0)
  294. thegui.Music.Value.Value = true
  295. thegui.Music.TextColor3 = Color3.fromRGB(0,255,0)
  296. thegui.Rainbow.Value.Value = true
  297. thegui.Rainbow.TextColor3 = Color3.fromRGB(0,255,0)
  298. thegui.Particles.Value.Value = true
  299. thegui.Particles.TextColor3 = Color3.fromRGB(0,255,0)
  300. thegui.Health.Text = "500000"
  301. thegui.LightRange.Text = "9"
  302. thegui.MaximumDamage.Text = "40"
  303. thegui.MinimumDamage.Text = "60"
  304. thegui.MusicId.Text = "340427391"
  305. thegui.MusicPitch.Text = "1"
  306. thegui.Speed.Text = "30"
  307. thegui.TheColor.Text = "0,0,0"
  308. thegui.MusicVolume.Text = "1"
  309. end)
  310. -----
  311. Preset5.Name = "Preset5"
  312. Preset5.Position = UDim2.new(0, 330,0, 360)
  313. Preset5.Size = UDim2.new(0, 80,0, 50)
  314. Preset5.Font = "Highway"
  315. Preset5.Style = TFont
  316. Preset5.TextSize = 14
  317. Preset5.Text = "Dubstep"
  318. Preset5.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  319. Preset5.TextWrapped = false
  320. Preset5.TextScaled = false
  321. thegui.Preset5.MouseButton1Down:connect(function()
  322. thegui.Preset5.Sound:Play()
  323. thegui.Music.Value.Value = true
  324. thegui.Music.TextColor3 = Color3.fromRGB(0,255,0)
  325. thegui.Light.Value.Value = true
  326. thegui.Light.TextColor3 = Color3.fromRGB(0,255,0)
  327. thegui.ColorValue.Value.Value = true
  328. thegui.ColorValue.TextColor3 = Color3.fromRGB(0,255,0)
  329. thegui.ColorCode.Text = "6"
  330. thegui.Hackermode.Value.Value = true
  331. thegui.Hackermode.TextColor3 = Color3.fromRGB(0,255,0)
  332. thegui.Health.Text = "1000"
  333. thegui.LightRange.Text = "7"
  334. thegui.MaximumDamage.Text = "40"
  335. thegui.MinimumDamage.Text = "60"
  336. thegui.MusicId.Text = "477943828"
  337. thegui.MusicPitch.Text = "1"
  338. thegui.Speed.Text = "30"
  339. thegui.TheColor.Text = "0,0,0"
  340. thegui.MusicVolume.Text = "1"
  341. end)
  342. ---------------------------------- Close Button
  343. CloseGui.Name = "Close"
  344. CloseGui.Position = UDim2.new(0, 505,0, -15)
  345. CloseGui.Size = UDim2.new(0, 30,0, 30)
  346. CloseGui.Style = TFont
  347. CloseGui.TextSize = 18
  348. CloseGui.TextColor3 = Color3.fromRGB(255,0,0)
  349. CloseGui.Style = TFont
  350. CloseGui.Font = "Highway"
  351. CloseGui.Text = "<"
  352. CloseGui.TextScaled = false
  353. CloseGui.TextWrapped = false
  354. function ON11()
  355. thegui.Close.Sound.PlaybackSpeed = 1
  356. thegui.Close.Sound:Play()
  357. for Out = 270,-505,-25 do
  358. thegui.Position = UDim2.new(0, Out,0, 23)
  359. wait(0)
  360. end
  361. thegui.Close.Value.Value = true
  362. thegui.Close.Text = ">"
  363. StartSound.PlaybackSpeed = 0.93
  364. StartSound:Play()
  365. end
  366. function ON12()
  367. thegui.Close.Sound.PlaybackSpeed = 0.93
  368. thegui.Close.Sound:Play()
  369. for In = -505,270,25 do
  370. thegui.Position = UDim2.new(0, In,0, 23)
  371. wait(0)
  372. end
  373. thegui.Close.Value.Value = false
  374. thegui.Close.Text = "<"
  375. StartSound.PlaybackSpeed = 1
  376. StartSound:Play()
  377. end
  378. thegui.Close.MouseButton1Down:connect(function()
  379. if thegui.Close.Value.Value == false then
  380. ON11()
  381. else
  382. ON12()
  383. end
  384. end)
  385. ---------------------------------- Rainbow Sword
  386. Rainb.Name = "Rainbow"
  387. Rainb.Position = UDim2.new(0, 10,0, 250)
  388. Rainb.Size = UDim2.new(0, 80,0, 30)
  389. Rainb.Style = TFont
  390. Rainb.TextSize = 18
  391. Rainb.TextColor3 = Color3.fromRGB(255,0,0)
  392. Rainb.Style = TFont
  393. Rainb.Font = "Highway"
  394. Rainb.Text = "Rainbow"
  395. Rainb.TextScaled = false
  396. Rainb.TextWrapped = false
  397. function ON10()
  398. thegui.Rainbow.Sound.PlaybackSpeed = 1
  399. thegui.Rainbow.Sound:Play()
  400. thegui.Rainbow.Value.Value = true
  401. print("true")
  402. thegui.Rainbow.TextColor3 = Color3.fromRGB(0,255,0)
  403. end
  404. function OFF10()
  405. thegui.Rainbow.Sound.PlaybackSpeed = 0.93
  406. thegui.Rainbow.Sound:Play()
  407. if thegui.Rainbow.Value.Value == true then
  408. thegui.Rainbow.Value.Value = false
  409. print("false")
  410. thegui.Rainbow.TextColor3 = Color3.fromRGB(255,0,0)
  411. end
  412. end
  413. thegui.Rainbow.MouseButton1Down:connect(function()
  414. if thegui.Rainbow.Value.Value == false then
  415. ON10()
  416. else
  417. OFF10()
  418. end
  419. end)
  420. ---------------------------------- Glowing Sword
  421. Glow.Name = "GlowSword"
  422. Glow.Position = UDim2.new(0, 10,0, 220)
  423. Glow.Size = UDim2.new(0, 80,0, 30)
  424. Glow.BackgroundTransparency = 1
  425. Glow.TextSize = 18
  426. Glow.TextColor3 = Color3.fromRGB(255,0,0)
  427. Glow.Style = TFont
  428. Glow.Font = "Highway"
  429. Glow.Text = "Glow"
  430. Glow.TextScaled = false
  431. Glow.TextWrapped = true
  432. function ON9()
  433. thegui.GlowSword.Sound.PlaybackSpeed = 1
  434. thegui.GlowSword.Sound:Play()
  435. thegui.GlowSword.Value.Value = true
  436. print("true")
  437. thegui.GlowSword.TextColor3 = Color3.fromRGB(0,255,0)
  438. end
  439. function OFF9()
  440. thegui.GlowSword.Sound.PlaybackSpeed = 0.93
  441. thegui.GlowSword.Sound:Play()
  442. if thegui.GlowSword.Value.Value == true then
  443. thegui.GlowSword.Value.Value = false
  444. print("false")
  445. thegui.GlowSword.TextColor3 = Color3.fromRGB(255,0,0)
  446. end
  447. end
  448. thegui.GlowSword.MouseButton1Down:connect(function()
  449. if thegui.GlowSword.Value.Value == false then
  450. ON9()
  451. else
  452. OFF9()
  453. end
  454. end)
  455. ---------------------------------- Day Time Changer
  456. DayChanger.Name = "TimeChanger"
  457. DayChanger.Position = UDim2.new(0, 325,0, 200)
  458. DayChanger.Size = UDim2.new(0, 75,0, 30)
  459. DayChanger.BackgroundTransparency = 1
  460. DayChanger.TextSize = 14
  461. DayChanger.Style = TFont
  462. DayChanger.Font = "Highway"
  463. DayChanger.Text = "Dark"
  464. DayChanger.TextScaled = false
  465. DayChanger.TextWrapped = false
  466. thegui.TimeChanger.MouseButton1Down:connect(function()
  467. thegui.TimeChanger.Sound:Play()
  468. game.Lighting.Ambient = Color3.fromRGB(10,10,10)
  469. game.Lighting.GlobalShadows = false
  470. game.Lighting.Brightness = false
  471. game.Lighting.TimeOfDay = 0
  472. thegui.TimeChanger.Value.Value = true
  473. end)
  474. ---------------------------------- Help Color
  475. Color1.Name = "1color"
  476. Color1.Position = UDim2.new(0, 60,0, 0)
  477. Color1.Size = UDim2.new(0, 75,0, 30)
  478. Color1.BackgroundTransparency = 1
  479. Color1.TextSize = 14
  480. Color1.Font = "Highway"
  481. Color1.Text = "1 = RED"
  482. Color1.TextScaled = false
  483. Color1.TextWrapped = false
  484. -----
  485. Color2.Name = "2color"
  486. Color2.Position = UDim2.new(0, 60,0, 15)
  487. Color2.Size = UDim2.new(0, 75,0, 30)
  488. Color2.BackgroundTransparency = 1
  489. Color2.TextSize = 14
  490. Color2.Font = "Highway"
  491. Color2.Text = "2 = BLUE"
  492. Color2.TextScaled = false
  493. Color2.TextWrapped = false
  494. -----
  495. Color3i.Name = "3color"
  496. Color3i.Position = UDim2.new(0, 60,0, 30)
  497. Color3i.Size = UDim2.new(0, 75,0, 30)
  498. Color3i.BackgroundTransparency = 1
  499. Color3i.TextSize = 14
  500. Color3i.Font = "Highway"
  501. Color3i.Text = "3 = GREEN"
  502. Color3i.TextScaled = false
  503. Color3i.TextWrapped = false
  504. -----
  505. Color4.Name = "4color"
  506. Color4.Position = UDim2.new(0, 60,0, 45)
  507. Color4.Size = UDim2.new(0, 75,0, 30)
  508. Color4.BackgroundTransparency = 1
  509. Color4.TextSize = 14
  510. Color4.Font = "Highway"
  511. Color4.Text = "4 = BLACK"
  512. Color4.TextScaled = false
  513. Color4.TextWrapped = false
  514. -----
  515. Color5.Name = "5color"
  516. Color5.Position = UDim2.new(0, 60,0, 60)
  517. Color5.Size = UDim2.new(0, 75,0, 30)
  518. Color5.BackgroundTransparency = 1
  519. Color5.TextSize = 14
  520. Color5.Font = "Highway"
  521. Color5.Text = "5 = WHITE"
  522. Color5.TextScaled = false
  523. Color5.TextWrapped = false
  524. -----
  525. Color6.Name = "6color"
  526. Color6.Position = UDim2.new(0, 60,0, 75)
  527. Color6.Size = UDim2.new(0, 75,0, 30)
  528. Color6.BackgroundTransparency = 1
  529. Color6.TextSize = 14
  530. Color6.Font = "Highway"
  531. Color6.Text = "6 = CYAN"
  532. Color6.TextScaled = false
  533. Color6.TextWrapped = false
  534. -----
  535. Color7.Name = "7color"
  536. Color7.Position = UDim2.new(0, 60,0, 90)
  537. Color7.Size = UDim2.new(0, 75,0, 30)
  538. Color7.BackgroundTransparency = 1
  539. Color7.TextSize = 14
  540. Color7.Font = "Highway"
  541. Color7.Text = "7 = PINK"
  542. Color7.TextScaled = false
  543. Color7.TextWrapped = false
  544. -----
  545. Color8.Name = "8color"
  546. Color8.Position = UDim2.new(0, 60,0, 105)
  547. Color8.Size = UDim2.new(0, 75,0, 30)
  548. Color8.BackgroundTransparency = 1
  549. Color8.TextSize = 14
  550. Color8.Font = "Highway"
  551. Color8.Text = "8 = MAGENTA"
  552. Color8.TextScaled = false
  553. Color8.TextWrapped = false
  554. -----
  555. Color9.Name = "9color"
  556. Color9.Position = UDim2.new(0, 60,0, 120)
  557. Color9.Size = UDim2.new(0, 75,0, 30)
  558. Color9.BackgroundTransparency = 1
  559. Color9.TextSize = 14
  560. Color9.Font = "Highway"
  561. Color9.Text = "9 = ULTRAVIOLET"
  562. Color9.TextScaled = false
  563. Color9.TextWrapped = false
  564. -----
  565. Color10.Name = "10color"
  566. Color10.Position = UDim2.new(0, 60,0, 135)
  567. Color10.Size = UDim2.new(0, 75,0, 30)
  568. Color10.BackgroundTransparency = 1
  569. Color10.TextSize = 14
  570. Color10.Font = "Highway"
  571. Color10.Text = "10 = DARK GREEN"
  572. Color10.TextScaled = false
  573. Color10.TextWrapped = false
  574. -----
  575. Color11.Name = "11color"
  576. Color11.Position = UDim2.new(0, 60,0, 150)
  577. Color11.Size = UDim2.new(0, 75,0, 30)
  578. Color11.BackgroundTransparency = 1
  579. Color11.TextSize = 14
  580. Color11.Font = "Highway"
  581. Color11.Text = "11 = DARK GREY"
  582. Color11.TextScaled = false
  583. Color11.TextWrapped = false
  584. -----
  585. Color12.Name = "12color"
  586. Color12.Position = UDim2.new(0, 60,0, 165)
  587. Color12.Size = UDim2.new(0, 75,0, 30)
  588. Color12.BackgroundTransparency = 1
  589. Color12.TextSize = 14
  590. Color12.Font = "Highway"
  591. Color12.Text = "12 = LIGHT GREY"
  592. Color12.TextScaled = false
  593. Color12.TextWrapped = false
  594. -----
  595. Color13.Name = "13color"
  596. Color13.Position = UDim2.new(0, 60,0, 180)
  597. Color13.Size = UDim2.new(0, 75,0, 30)
  598. Color13.BackgroundTransparency = 1
  599. Color13.TextSize = 14
  600. Color13.Font = "Highway"
  601. Color13.Text = "13 = YELLOW"
  602. Color13.TextScaled = false
  603. Color13.TextWrapped = false
  604. -----
  605. Color14.Name = "14color"
  606. Color14.Position = UDim2.new(0, 60,0, 195)
  607. Color14.Size = UDim2.new(0, 75,0, 30)
  608. Color14.BackgroundTransparency = 1
  609. Color14.TextSize = 14
  610. Color14.Font = "Highway"
  611. Color14.Text = "14 = ORANGE"
  612. Color14.TextScaled = false
  613. Color14.TextWrapped = false
  614. -----
  615. Color15.Name = "15color"
  616. Color15.Position = UDim2.new(0, 60,0, 210)
  617. Color15.Size = UDim2.new(0, 75,0, 30)
  618. Color15.BackgroundTransparency = 1
  619. Color15.TextSize = 14
  620. Color15.Font = "Highway"
  621. Color15.Text = "15 = INFRA-RED"
  622. Color15.TextScaled = false
  623. Color15.TextWrapped = false
  624. -----
  625. Color16.Name = "16color"
  626. Color16.Position = UDim2.new(0, 60,0, 225)
  627. Color16.Size = UDim2.new(0, 75,0, 30)
  628. Color16.BackgroundTransparency = 1
  629. Color16.TextSize = 14
  630. Color16.Font = "Highway"
  631. Color16.Text = "16 = ALIEN COLOR"
  632. Color16.TextScaled = false
  633. Color16.TextWrapped = false
  634. ---------------------------------- Help Close
  635. FClose.Name = "HelpClose"
  636. FClose.Position = UDim2.new(0, 60,0, 365)
  637. FClose.Size = UDim2.new(0, 75,0, 30)
  638. FClose.Text = "Close"
  639. FClose.Style = TFont
  640. FClose.TextSize = 14
  641. FClose.TextScaled = false
  642. FClose.TextWrapped = false
  643. plr.PlayerGui.SwordEditor.HelpFrame.HelpClose.MouseButton1Down:connect(function()
  644. plr.PlayerGui.SwordEditor.HelpFrame.Visible = false
  645. plr.PlayerGui.SwordEditor.HelpFrame.HelpClose.Sound:Play()
  646. end)
  647. ---------------------------------- Help
  648. Help.Name = "Help"
  649. Help.Position = UDim2.new(0, -25,0, -25)
  650. Help.Size = UDim2.new(0, 40,0, 40)
  651. Help.Text = "Help"
  652. Help.Font = "Highway"
  653. Help.Style = TFont
  654. Help.TextSize = 14
  655. Help.TextScaled = false
  656. Help.TextWrapped = false
  657. thegui.Help.MouseButton1Down:connect(function()
  658. thegui.Help.Sound:Play()
  659. plr.PlayerGui.SwordEditor.HelpFrame.Visible = true
  660. end)
  661. ---------------------------------- Hints
  662. VolHint.Name = "VolumeHint"
  663. VolHint.Position = UDim2.new(0, 110,0, 85)
  664. VolHint.Size = UDim2.new(0, 80,0, 50)
  665. VolHint.BackgroundTransparency = 1
  666. VolHint.Font = "Highway"
  667. VolHint.TextSize = 18
  668. VolHint.Text = "Volume"
  669. VolHint.TextWrapped = true
  670. VolHint.TextScaled = false
  671. PitHint.Name = "PitchHint"
  672. PitHint.Position = UDim2.new(0, 180,0, 85)
  673. PitHint.Size = UDim2.new(0, 80,0, 50)
  674. PitHint.BackgroundTransparency = 1
  675. PitHint.Font = "Highway"
  676. PitHint.TextSize = 18
  677. PitHint.Text = "Pitch"
  678. PitHint.TextWrapped = true
  679. PitHint.TextScaled = false
  680. IdHint.Name = "IdHint"
  681. IdHint.Position = UDim2.new(0, 250,0, 85)
  682. IdHint.Size = UDim2.new(0, 80,0, 50)
  683. IdHint.BackgroundTransparency = 1
  684. IdHint.Font = "Highway"
  685. IdHint.TextSize = 18
  686. IdHint.Text = "Music Id"
  687. IdHint.TextWrapped = true
  688. IdHint.TextScaled = false
  689. RangeHint.Name = "RangeHint"
  690. RangeHint.Position = UDim2.new(0, 92,0, 152)
  691. RangeHint.Size = UDim2.new(0, 115,0, 30)
  692. RangeHint.BackgroundTransparency = 1
  693. RangeHint.Font = "Highway"
  694. RangeHint.TextSize = 18
  695. RangeHint.Text = "Light Range"
  696. RangeHint.TextWrapped = true
  697. RangeHint.TextScaled = false
  698. ---------------------------------- Random Color
  699. RColor.Name = "RandomColor"
  700. RColor.TextColor3 = Color3.fromRGB(255,0,0)
  701. RColor.Position = UDim2.new(0, 10,0, 10)
  702. RColor.Size = UDim2.new(0, 80,0, 30)
  703. RColor.Style = TFont
  704. RColor.Font = "Highway"
  705. RColor.TextSize = 18
  706. RColor.Text = "Random Color"
  707. RColor.TextWrapped = true
  708. RColor.TextScaled = false
  709. function ON1()
  710. thegui.RandomColor.Sound.PlaybackSpeed = 1
  711. thegui.RandomColor.Sound:Play()
  712. thegui.RandomColor.Value.Value = true
  713. print("true")
  714. thegui.RandomColor.TextColor3 = Color3.fromRGB(0,255,0)
  715. end
  716. function OFF1()
  717. thegui.RandomColor.Sound.PlaybackSpeed = 0.93
  718. thegui.RandomColor.Sound:Play()
  719. if thegui.RandomColor.Value.Value == true then
  720. thegui.RandomColor.Value.Value = false
  721. print("false")
  722. thegui.RandomColor.TextColor3 = Color3.fromRGB(255,0,0)
  723. end
  724. end
  725. thegui.RandomColor.MouseButton1Down:connect(function()
  726. if thegui.RandomColor.Value.Value == false then
  727. ON1()
  728. else
  729. OFF1()
  730. end
  731. end)
  732. ---------------------------------- Color
  733. ColorE.Name = "ColorValue"
  734. ColorE.TextColor3 = Color3.fromRGB(255,0,0)
  735. ColorE.Position = UDim2.new(0, 100,0, 10)
  736. ColorE.Size = UDim2.new(0, 80,0, 30)
  737. ColorE.Style = TFont
  738. ColorE.Font = "Highway"
  739. ColorE.TextSize = 18
  740. ColorE.Text = "Color"
  741. ColorE.TextWrapped = true
  742. ColorE.TextScaled = false
  743. function ON8()
  744. thegui.ColorValue.Sound.PlaybackSpeed = 1
  745. thegui.ColorValue.Sound:Play()
  746. thegui.ColorValue.Value.Value = true
  747. print("true")
  748. thegui.ColorValue.TextColor3 = Color3.fromRGB(0,255,0)
  749. end
  750. function OFF8()
  751. thegui.ColorValue.Sound.PlaybackSpeed = 0.93
  752. thegui.ColorValue.Sound:Play()
  753. if thegui.ColorValue.Value.Value == true then
  754. thegui.ColorValue.Value.Value = false
  755. print("false")
  756. thegui.ColorValue.TextColor3 = Color3.fromRGB(255,0,0)
  757. end
  758. end
  759. thegui.ColorValue.MouseButton1Down:connect(function()
  760. if thegui.ColorValue.Value.Value == false then
  761. ON8()
  762. else
  763. OFF8()
  764. end
  765. end)
  766. ---------------------------------- Color Id
  767. ColorValue.Name = "ColorCode"
  768. ColorValue.BackgroundColor3 = Color3.fromRGB(255,255,255)
  769. ColorValue.BorderSizePixel = 0
  770. ColorValue.TextColor3 = Color3.fromRGB(255,0,0)
  771. ColorValue.Position = UDim2.new(0, 180,0, 15)
  772. ColorValue.Size = UDim2.new(0, 20,0, 20)
  773. ColorValue.Font = "Highway"
  774. ColorValue.TextSize = 18
  775. ColorValue.Text = "ID"
  776. ColorValue.TextColor3 = Color3.new(0,0,0)
  777. ColorValue.TextWrapped = true
  778. ColorValue.TextScaled = false
  779. ---------------------------------- Custom Color
  780. CE.Name = "CustomColor"
  781. CE.TextColor3 = Color3.fromRGB(255,0,0)
  782. CE.Position = UDim2.new(0, 10,0, 40)
  783. CE.Size = UDim2.new(0, 80,0, 30)
  784. CE.Style = TFont
  785. CE.Font = "Highway"
  786. CE.TextSize = 18
  787. CE.Text = "Custom Color"
  788. CE.TextWrapped = true
  789. CE.TextScaled = false
  790. function ON2()
  791. thegui.CustomColor.Sound.PlaybackSpeed = 1
  792. thegui.CustomColor.Sound:Play()
  793. thegui.CustomColor.Value.Value = true
  794. print("true")
  795. thegui.CustomColor.TextColor3 = Color3.fromRGB(0,255,0)
  796. end
  797. function OFF2()
  798. thegui.CustomColor.Sound.PlaybackSpeed = 0.93
  799. thegui.CustomColor.Sound:Play()
  800. if thegui.CustomColor.Value.Value == true then
  801. thegui.CustomColor.Value.Value = false
  802. print("false")
  803. thegui.CustomColor.TextColor3 = Color3.fromRGB(255,0,0)
  804. end
  805. end
  806. thegui.CustomColor.MouseButton1Down:connect(function()
  807. if thegui.CustomColor.Value.Value == false then
  808. ON2()
  809. else
  810. OFF2()
  811. end
  812. end)
  813. ---------------------------------- Custom Color
  814. CC.Name = "TheColor"
  815. CC.Position = UDim2.new(0, 100,0, 45)
  816. CC.Size = UDim2.new(0, 100,0, 25)
  817. CC.Font = "Highway"
  818. CC.TextSize = 18
  819. CC.Text = "CustomColor"
  820. CC.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  821. CC.TextWrapped = true
  822. CC.TextScaled = false
  823. CC.BorderSizePixel = 0
  824. ---------------------------------- Music
  825. MU.Name = "Music"
  826. MU.TextColor3 = Color3.fromRGB(255,0,0)
  827. MU.Position = UDim2.new(0, 10,0, 70)
  828. MU.Size = UDim2.new(0, 80,0, 30)
  829. MU.Style = TFont
  830. MU.Font = "Highway"
  831. MU.TextSize = 18
  832. MU.Text = "Music"
  833. MU.TextWrapped = true
  834. MU.TextScaled = false
  835. MU.BackgroundColor3 = Color3.fromRGB(255,255,255)
  836. function ON3()
  837. thegui.Music.Sound.PlaybackSpeed = 1
  838. thegui.Music.Sound:Play()
  839. thegui.Music.Value.Value = true
  840. print("true")
  841. thegui.Music.TextColor3 = Color3.fromRGB(0,255,0)
  842. end
  843. function OFF3()
  844. thegui.Music.Sound.PlaybackSpeed = 0.93
  845. thegui.Music.Sound:Play()
  846. if thegui.Music.Value.Value == true then
  847. thegui.Music.Value.Value = false
  848. print("false")
  849. thegui.Music.TextColor3 = Color3.fromRGB(255,0,0)
  850. end
  851. end
  852. thegui.Music.MouseButton1Down:connect(function()
  853. if thegui.Music.Value.Value == false then
  854. ON3()
  855. else
  856. OFF3()
  857. end
  858. end)
  859. ---------------------------------- MusicId
  860. MID.Name = "MusicId"
  861. MID.BackgroundColor3 = Color3.fromRGB(255,2552,255)
  862. MID.BorderSizePixel = 0
  863. MID.Position = UDim2.new(0, 240,0, 75)
  864. MID.Size = UDim2.new(0, 100,0, 25)
  865. MID.Font = "Highway"
  866. MID.TextSize = 18
  867. MID.Text = ""
  868. MID.TextScaled = false
  869. MID.TextWrapped = true
  870. MID.TextScaled = false
  871. ---------------------------------- Music Pitch
  872. MPitch.Name = "MusicPitch"
  873. MPitch.Position = UDim2.new(0, 210,0, 75)
  874. MPitch.Size = UDim2.new(0, 20,0, 25)
  875. MPitch.Font = "Highway"
  876. MPitch.TextSize = 18
  877. MPitch.Text = ""
  878. MPitch.TextWrapped = true
  879. MPitch.TextScaled = false
  880. MPitch.BackgroundColor3 = Color3.fromRGB(255,255,255)
  881. MPitch.BorderSizePixel = 0
  882. ---------------------------------- Light
  883. LI.Name = "Light"
  884. LI.Position = UDim2.new(0, 10,0, 130)
  885. LI.Size = UDim2.new(0, 80,0, 30)
  886. LI.Style = TFont
  887. LI.Font = "Highway"
  888. LI.TextSize = 18
  889. LI.Text = "Light"
  890. LI.TextWrapped = true
  891. LI.TextScaled = false
  892. LI.TextColor3 = Color3.fromRGB(255,0,0)
  893. function ON4()
  894. thegui.Light.Sound.PlaybackSpeed = 1
  895. thegui.Light.Sound:Play()
  896. thegui.Light.Value.Value = true
  897. print("true")
  898. thegui.Light.TextColor3 = Color3.fromRGB(0,255,0)
  899. end
  900. function OFF4()
  901. thegui.Light.Sound.PlaybackSpeed = 0.93
  902. thegui.Light.Sound:Play()
  903. if thegui.Light.Value.Value == true then
  904. thegui.Light.Value.Value = false
  905. print("false")
  906. thegui.Light.TextColor3 = Color3.fromRGB(255,0,0)
  907. end
  908. end
  909. thegui.Light.MouseButton1Down:connect(function()
  910. if thegui.Light.Value.Value == false then
  911. ON4()
  912. else
  913. OFF4()
  914. end
  915. end)
  916. ---------------------------------- Range
  917. LRange.Name = "LightRange"
  918. LRange.Position = UDim2.new(0, 100,0, 135)
  919. LRange.BackgroundColor3 = Color3.fromRGB(255,255,255)
  920. LRange.BorderSizePixel = 0
  921. LRange.Size = UDim2.new(0, 100,0, 25)
  922. LRange.Font = "Highway"
  923. LRange.TextSize = 18
  924. LRange.Text = "Range"
  925. LRange.TextWrapped = true
  926. LRange.TextScaled = false
  927. ---------------------------------- Volume
  928. MVolume.Name = "MusicVolume"
  929. MVolume.Position = UDim2.new(0, 100,0, 75)
  930. MVolume.Size = UDim2.new(0, 100,0, 25)
  931. MVolume.Font = "Highway"
  932. MVolume.TextSize = 18
  933. MVolume.Text = ""
  934. MVolume.TextWrapped = true
  935. MVolume.TextScaled = false
  936. MVolume.BackgroundColor3 = Color3.fromRGB(255,255,255)
  937. MVolume.BorderSizePixel = 0
  938. ---------------------------------- Particles
  939. PA.Name = "Particles"
  940. PA.TextColor3 = Color3.fromRGB(255,0,0)
  941. PA.Position = UDim2.new(0, 10,0, 100)
  942. PA.Size = UDim2.new(0, 80,0, 30)
  943. PA.Style = TFont
  944. PA.Font = "Highway"
  945. PA.TextSize = 18
  946. PA.Text = "Particles"
  947. PA.TextWrapped = true
  948. PA.TextScaled = false
  949. function ON5()
  950. thegui.Particles.Sound.PlaybackSpeed = 1
  951. thegui.Particles.Sound:Play()
  952. thegui.Particles.Value.Value = true
  953. print("true")
  954. thegui.Particles.TextColor3 = Color3.fromRGB(0,255,0)
  955. end
  956. function OFF5()
  957. thegui.Particles.Sound.PlaybackSpeed = 0.93
  958. thegui.Particles.Sound:Play()
  959. if thegui.Particles.Value.Value == true then
  960. thegui.Particles.Value.Value = false
  961. print("false")
  962. thegui.Particles.TextColor3 = Color3.fromRGB(255,0,0)
  963. end
  964. end
  965. thegui.Particles.MouseButton1Down:connect(function()
  966. if thegui.Particles.Value.Value == false then
  967. ON5()
  968. else
  969. OFF5()
  970. end
  971. end)
  972. ---------------------------------- Health
  973. HEA.Name = "Health"
  974. HEA.Position = UDim2.new(0, 410,0, 10)
  975. HEA.BackgroundColor3 = Color3.fromRGB(255,255,255)
  976. HEA.BorderSizePixel = 0
  977. HEA.Size = UDim2.new(0, 80,0, 50)
  978. HEA.Font = "Highway"
  979. HEA.TextSize = 18
  980. HEA.Text = "Health"
  981. HEA.TextWrapped = true
  982. HEA.TextScaled = false
  983. ---------------------------------- Speed
  984. PSP.Name = "Speed"
  985. PSP.Position = UDim2.new(0, 410,0, 70)
  986. PSP.BackgroundColor3 = Color3.fromRGB(255,255,255)
  987. PSP.BorderSizePixel = 0
  988. PSP.Size = UDim2.new(0, 80,0, 50)
  989. PSP.Font = "Highway"
  990. PSP.TextSize = 18
  991. PSP.Text = "Speed"
  992. PSP.TextWrapped = true
  993. PSP.TextScaled = false
  994. ---------------------------------- Minimum Damage
  995. MIDM.Name = "MinimumDamage"
  996. MIDM.Position = UDim2.new(0, 410,0, 190)
  997. MIDM.BackgroundColor3 = Color3.fromRGB(255,255,255)
  998. MIDM.BorderSizePixel = 0
  999. MIDM.Size = UDim2.new(0, 80,0, 50)
  1000. MIDM.Font = "Highway"
  1001. MIDM.TextSize = 18
  1002. MIDM.Text = "MinimumDamage"
  1003. MIDM.TextWrapped = true
  1004. MIDM.TextScaled = false
  1005. ---------------------------------- Maximum Damage
  1006. MADM.Name = "MaximumDamage"
  1007. MADM.Position = UDim2.new(0, 410,0, 250)
  1008. MADM.BackgroundColor3 = Color3.fromRGB(255,255,255)
  1009. MADM.BorderSizePixel = 0
  1010. MADM.Size = UDim2.new(0, 80,0, 50)
  1011. MADM.Font = "Highway"
  1012. MADM.TextSize = 18
  1013. MADM.Text = "MaximumDamage"
  1014. MADM.TextWrapped = true
  1015. MADM.TextScaled = false
  1016. ---------------------------------- Hackermode
  1017. HAX.Name = "Hackermode"
  1018. HAX.TextColor3 = Color3.fromRGB(255,0,0)
  1019. HAX.Position = UDim2.new(0, 10,0, 160)
  1020. HAX.Size = UDim2.new(0, 80,0, 30)
  1021. HAX.Style = TFont
  1022. HAX.TextSize = 18
  1023. HAX.Font = "Highway"
  1024. HAX.Text = "Hacker"
  1025. HAX.TextWrapped = true
  1026. HAX.TextScaled = false
  1027. ---------------------------------- Done Button
  1028. Done.Name = "Done"
  1029. Done.Position = UDim2.new(0, 160,0, 300)
  1030. Done.Size = UDim2.new(0, 200,0, 50)
  1031. Done.Style = TFont
  1032. Done.Font = "Highway"
  1033. Done.TextSize = 23
  1034. Done.Text = "Generate a Sword"
  1035. Done.TextWrapped = true
  1036. Done.TextScaled = false
  1037. function Done()
  1038. thegui.Done.Sound.Volume = 10000
  1039. thegui.Done.Sound.PlaybackSpeed = 1.3
  1040. thegui.Done.Sound:Play()
  1041. thegui.Visible = false
  1042. helpgui.Visible = false
  1043. end
  1044. -----------------------------------
  1045. function ON6()
  1046. thegui.Hackermode.Sound.PlaybackSpeed = 1
  1047. thegui.Hackermode.Sound:Play()
  1048. thegui.Hackermode.Value.Value = true
  1049. print("true")
  1050. thegui.Hackermode.TextColor3 = Color3.fromRGB(0,255,0)
  1051. end
  1052. function OFF6()
  1053. thegui.Hackermode.Sound.PlaybackSpeed = 0.93
  1054. thegui.Hackermode.Sound:Play()
  1055. if thegui.Hackermode.Value.Value == true then
  1056. thegui.Hackermode.Value.Value = false
  1057. print("false")
  1058. thegui.Hackermode.TextColor3 = Color3.fromRGB(255,0,0)
  1059. end
  1060. end
  1061. thegui.Hackermode.MouseButton1Down:connect(function()
  1062. if thegui.Hackermode.Value.Value == false then
  1063. ON6()
  1064. else
  1065. OFF6()
  1066. end
  1067. end)
  1068. ---------------------------------- Ban
  1069. BAN.Name = "Banmode"
  1070. BAN.TextColor3 = Color3.fromRGB(255,0,0)
  1071. BAN.Position = UDim2.new(0, 10,0, 190)
  1072. BAN.Size = UDim2.new(0, 80,0, 30)
  1073. BAN.Style = TFont
  1074. BAN.TextSize = 18
  1075. BAN.Font = "Highway"
  1076. BAN.Text = "Ban mode"
  1077. BAN.TextWrapped = false
  1078. BAN.TextScaled = false
  1079. function ON7()
  1080. thegui.Banmode.Sound.PlaybackSpeed = 1
  1081. thegui.Banmode.Sound:Play()
  1082. thegui.Banmode.Value.Value = true
  1083. print("true")
  1084. thegui.Banmode.TextColor3 = Color3.fromRGB(0,255,0)
  1085. end
  1086. function OFF7()
  1087. thegui.Banmode.Sound.PlaybackSpeed = 0.93
  1088. thegui.Banmode.Sound:Play()
  1089. if thegui.Banmode.Value.Value == true then
  1090. thegui.Banmode.Value.Value = false
  1091. print("false")
  1092. thegui.Banmode.TextColor3 = Color3.fromRGB(255,0,0)
  1093. end
  1094. end
  1095. thegui.Banmode.MouseButton1Down:connect(function()
  1096. if thegui.Banmode.Value.Value == false then
  1097. ON7()
  1098. else
  1099. OFF7()
  1100. end
  1101. end)
  1102. ---------------------------------- Defailt Button
  1103. Default.Name = "Default"
  1104. Default.Position = UDim2.new(0, 320,0, 250)
  1105. Default.Size = UDim2.new(0, 80,0, 50)
  1106. Default.Font = "Highway"
  1107. Default.Style = TFont
  1108. Default.TextSize = 18
  1109. Default.Text = "Default Settings"
  1110. Default.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1111. Default.TextWrapped = true
  1112. Default.TextScaled = true
  1113. thegui.Default.MouseButton1Down:connect(function()
  1114. thegui.Default.Sound.PlaybackSpeed = 1
  1115. thegui.Default.Sound:Play()
  1116. thegui.Health.Text = "100"
  1117. thegui.ColorCode.Text = 1
  1118. thegui.LightRange.Text = "0"
  1119. thegui.MaximumDamage.Text = "70"
  1120. thegui.MinimumDamage.Text = "40"
  1121. thegui.MusicId.Text = "0"
  1122. thegui.MusicPitch.Text = "1"
  1123. thegui.Speed.Text = "16"
  1124. thegui.TheColor.Text = "0,0,0"
  1125. thegui.MusicVolume.Text = "1"
  1126. end)
  1127. ------------------------------------ TITLE
  1128. TITLE.Name = "Title"
  1129. TITLE.Position = UDim2.new(0, 140,0, -20)
  1130. TITLE.Size = UDim2.new(0, 230,0, 30)
  1131. TITLE.Font = "Highway"
  1132. TITLE.Style = TFont
  1133. TITLE.TextSize = 20
  1134. TITLE.Text = "Luckyxero's Sword Editor"
  1135. TITLE.TextWrapped = true
  1136. TITLE.TextScaled = false
  1137. TITLE.AutoButtonColor = false
  1138. --------------------------------------
  1139. -------------------------------------- Set Color Value
  1140. SetColorValue.Name = "SetColorValue"
  1141. SetColorValue.Position = UDim2.new(0, 205,0, 42)
  1142. SetColorValue.Size = UDim2.new(0, 50,0, 30)
  1143. SetColorValue.Font = "Highway"
  1144. SetColorValue.TextSize = 18
  1145. SetColorValue.Text = "Set"
  1146. SetColorValue.TextWrapped = false
  1147. thegui.SetColorValue.MouseButton1Down:connect(function()
  1148. thegui.SetColorValue.Sound:Play()
  1149. local nums = {}
  1150. string.gsub(thegui.TheColor.Text,'[^,]+',function(c) table.insert(nums,tonumber(c)) end)
  1151. thegui.Color3a.Value = Color3.new(nums[1]/255,nums[2]/255,nums[3]/255)
  1152. thegui.SetColorValue.BackgroundColor3 = thegui.Color3a.Value
  1153. thegui.SetColorValue.BorderColor3 = thegui.SetColorValue.BackgroundColor3
  1154. end)
  1155. for Pos = -600,270,25 do
  1156. Frame.Position = UDim2.new(0, Pos,0, 23)
  1157. wait(0)
  1158. end
  1159. StartSound:Play()
  1160. print("waiting for respond")
  1161. thegui.Done.MouseButton1Down:wait()
  1162. Done()
  1163. print("Continuing...")
  1164. --[SETTINGS]--
  1165. random = thegui.RandomColor.Value.Value --If you want a random color between 1 or 16, set on true
  1166. CustomColorEnabled = thegui.CustomColor.Value.Value --If you want to make your own color. **WARNING** DO NOT ENABLE 2 BOOLEANS AT THE SAME TIME
  1167. CustomColor = thegui.Color3a.Value --Color3.new(red,green,blue)
  1168. Music = thegui.Music.Value.Value --Makes you emit music
  1169. MusicId = thegui.MusicId.Text
  1170. Pitch = thegui.MusicPitch.Text
  1171. Light = thegui.Light.Value.Value
  1172. LightRange = thegui.LightRange.Text
  1173. MusicVolume = thegui.MusicVolume.Text
  1174. Particles = thegui.Particles.Value.Value --Particle effects when attacking
  1175. Health = thegui.Health.Text --Your health
  1176. Speed = thegui.Speed.Text --Your speed
  1177. DMGMIN = thegui.MinimumDamage.Text --Minimim sword damage
  1178. DMGMAX = thegui.MaximumDamage.Text --Maximum sword damage
  1179. Hackermode = thegui.Hackermode.Value.Value --Insta kill OP sword. Damage = 1.#INF. Infinity.
  1180. Banmode = thegui.Banmode.Value.Value --Punishes player
  1181. ColorNumber = tonumber(thegui.ColorCode.Text)
  1182. ColorCodeVal = ColorNumber
  1183. --[[SETTINGS]]--
  1184.  
  1185. Val = 0
  1186. function GetRandomVal()
  1187. Val = math.random(1,16)
  1188. end
  1189. Colors = {"Really red", "Really blue", "Lime green", "Really black", "Institutional white", "Toothpaste", "Hot Pink", "Magenta", "Dark blue", "Camo", "Dark stone grey", "Fossil", "New Yeller", "Deep orange", "Crimson", "Eggplant"}
  1190. local ColorColor = Colors[0] --Sword Color. To change color: Set Colors[Value] to any value between 1 and 12
  1191. if ColorCodeVal == 1 then
  1192. ColorColor = Colors[1]
  1193. elseif ColorCodeVal == 2 then
  1194. ColorColor = Colors[2]
  1195. elseif ColorCodeVal == 3 then
  1196. ColorColor = Colors[3]
  1197. elseif ColorCodeVal == 4 then
  1198. ColorColor = Colors[4]
  1199. elseif ColorCodeVal == 5 then
  1200. ColorColor = Colors[5]
  1201. elseif ColorCodeVal == 6 then
  1202. ColorColor = Colors[6]
  1203. elseif ColorCodeVal == 7 then
  1204. ColorColor = Colors[7]
  1205. elseif ColorCodeVal == 8 then
  1206. ColorColor = Colors[8]
  1207. elseif ColorCodeVal == 9 then
  1208. ColorColor = Colors[9]
  1209. elseif ColorCodeVal == 10 then
  1210. ColorColor = Colors[10]
  1211. elseif ColorCodeVal == 11 then
  1212. ColorColor = Colors[11]
  1213. elseif ColorCodeVal == 12 then
  1214. ColorColor = Colors[12]
  1215. elseif ColorCodeVal == 13 then
  1216. ColorColor = Colors[13]
  1217. elseif ColorCodeVal == 14 then
  1218. ColorColor = Colors[14]
  1219. elseif ColorCodeVal == 15 then
  1220. ColorColor = Colors[15]
  1221. elseif ColorCodeVal == 16 then
  1222. ColorColor = Colors[16]
  1223. end
  1224. --[[Values: Colors
  1225. 1 = Red
  1226. 2 = Blue
  1227. 3 = Green --My favorite :D
  1228. 4 = Black
  1229. 5 = White
  1230. 6 = Cyan
  1231. 7 = Pink
  1232. 8 = Magenta
  1233. 9 = Ultraviolet
  1234. 10 = Dark green
  1235. 11 = Dark grey
  1236. 12 = Light grey
  1237. 13 = Yellow
  1238. 14 = Orange
  1239. 15 = Infra red
  1240. 16 = Alien color
  1241. ]]--
  1242. if Hackermode == true then
  1243. DMGMIN = 9999^9999
  1244. DMGMAX = 99999^99999
  1245. end
  1246. SwordDamage = {DMGMIN, DMGMAX}
  1247. if random == true then
  1248. GetRandomVal()
  1249. ColorColor = Colors[Val]
  1250. end
  1251. if CustomColorEnabled == true then
  1252. ColorColor = CustomColor
  1253. end
  1254. plr = game.Players.LocalPlayer
  1255. local TestPart = Instance.new("Part")
  1256. TestPart.Size = Vector3.new(0.1,0.1,0.1)
  1257. TestPart.Anchored = true
  1258. TestPart.Transparency = 1
  1259. if Music == true then
  1260. local IdleSound = Instance.new("Sound")
  1261. IdleSound.SoundId = "rbxassetid://"..MusicId
  1262. IdleSound.PlaybackSpeed = Pitch
  1263. IdleSound.Looped = true
  1264. IdleSound.Volume = MusicVolume
  1265. IdleSound.Parent = plr.Character.Torso
  1266. IdleSound.MaxDistance = 230
  1267. IdleSound:Play()
  1268. end
  1269. TestPart.BrickColor = BrickColor.new(ColorColor)
  1270. if CustomColorEnabled == true then
  1271. PermColor = thegui.Color3a.Value
  1272. Cr = PermColor.r*255
  1273. Cg = PermColor.g*255
  1274. Cb = PermColor.b*255
  1275. ColorColor = Color3.fromRGB(Cr,Cg,Cb)
  1276. end
  1277. print("Output:",ColorColor)
  1278. plr.Character.Humanoid.MaxHealth = Health
  1279. plr.Character.Humanoid.Health = Health
  1280. plr.Character.Humanoid.WalkSpeed = Speed
  1281. Player=game:GetService("Players").LocalPlayer
  1282. Character=Player.Character
  1283. PlayerGui=Player.PlayerGui
  1284. Backpack=Player.Backpack
  1285. Torso=Character.Torso
  1286. Head=Character.Head
  1287. Humanoid=Character.Humanoid
  1288. m=Instance.new('Model',Character)
  1289. LeftArm=Character["Left Arm"]
  1290. LeftLeg=Character["Left Leg"]
  1291. RightArm=Character["Right Arm"]
  1292. RightLeg=Character["Right Leg"]
  1293. LS=Torso["Left Shoulder"]
  1294. LH=Torso["Left Hip"]
  1295. RS=Torso["Right Shoulder"]
  1296. RH=Torso["Right Hip"]
  1297. Face = Head.face
  1298. Neck=Torso.Neck
  1299. it=Instance.new
  1300. attacktype=2
  1301. vt=Vector3.new
  1302. cf=CFrame.new
  1303. euler=CFrame.fromEulerAnglesXYZ
  1304. angles=CFrame.Angles
  1305. cloaked=true
  1306. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1307. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1308. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1309. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1310. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1311. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1312. RootPart=Character.HumanoidRootPart
  1313. RootJoint=RootPart.RootJoint
  1314. RootCF=euler(-1.57,0,3.14)
  1315. attack = false
  1316. attackdebounce = false
  1317. deb=false
  1318. equipped=true
  1319. hand=false
  1320. MMouse=nil
  1321. combo=0
  1322. mana=0
  1323. trispeed=.2
  1324. attackmode='none'
  1325. local idle=0
  1326. local Anim="Idle"
  1327. local Effects={}
  1328. local gun=false
  1329. local shoot=false
  1330. player=nil
  1331. mana=0
  1332. local CurrentMode = "Unsheathed"
  1333.  
  1334. mouse=Player:GetMouse()
  1335. --save shoulders
  1336. RSH, LSH=nil, nil
  1337. --welds
  1338. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1339. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1340. LH=Torso["Left Hip"]
  1341. RH=Torso["Right Hip"]
  1342. TorsoColor=Torso.BrickColor
  1343. function NoOutline(Part)
  1344. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1345. end
  1346. player=Player
  1347. ch=Character
  1348. RSH=ch.Torso["Right Shoulder"]
  1349. LSH=ch.Torso["Left Shoulder"]
  1350. --
  1351. RSH.Parent=nil
  1352. LSH.Parent=nil
  1353. --
  1354. RW.Name="Right Shoulder"
  1355. RW.Part0=ch.Torso
  1356. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1357. RW.C1=cf(0, 0.5, 0)
  1358. RW.Part1=ch["Right Arm"]
  1359. RW.Parent=ch.Torso
  1360. --
  1361. LW.Name="Left Shoulder"
  1362. LW.Part0=ch.Torso
  1363. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1364. LW.C1=cf(0, 0.5, 0)
  1365. LW.Part1=ch["Left Arm"]
  1366. LW.Parent=ch.Torso
  1367.  
  1368. local function weldBetween(a, b)
  1369. local weldd = Instance.new("ManualWeld")
  1370. weldd.Part0 = a
  1371. weldd.Part1 = b
  1372. weldd.C0 = CFrame.new()
  1373. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1374. weldd.Parent = a
  1375. return weldd
  1376. end
  1377.  
  1378. function nooutline(part)
  1379. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  1380. end
  1381.  
  1382. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  1383. local fp=it("Part")
  1384. fp.formFactor=formfactor
  1385. fp.Parent=parent
  1386. fp.Reflectance=reflectance
  1387. fp.Transparency=transparency
  1388. fp.CanCollide=false
  1389. fp.Locked=true
  1390. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  1391. fp.Name=name
  1392. fp.Size=size
  1393. fp.Position=Character.Torso.Position
  1394. nooutline(fp)
  1395. fp.Material=material
  1396. fp:BreakJoints()
  1397. return fp
  1398. end
  1399.  
  1400. function swait(num)
  1401. if num==0 or num==nil then
  1402. game:service'RunService'.Heartbeat:wait(0)
  1403. else
  1404. for i=0,num do
  1405. game:service'RunService'.Heartbeat:wait(0)
  1406. end
  1407. end
  1408. end
  1409.  
  1410. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1411. local mesh=it(Mesh)
  1412. mesh.Parent=part
  1413. if Mesh=="SpecialMesh" then
  1414. mesh.MeshType=meshtype
  1415. mesh.MeshId=meshid
  1416. end
  1417. mesh.Offset=offset
  1418. mesh.Scale=scale
  1419. return mesh
  1420. end
  1421.  
  1422. function weld(parent,part0,part1,c0,c1)
  1423. local weld=it("Weld")
  1424. weld.Parent=parent
  1425. weld.Part0=part0
  1426. weld.Part1=part1
  1427. weld.C0=c0
  1428. weld.C1=c1
  1429. return weld
  1430. end
  1431.  
  1432.  
  1433. local function CFrameFromTopBack(at, top, back)
  1434. local right = top:Cross(back)
  1435. return CFrame.new(at.x, at.y, at.z,
  1436. right.x, top.x, back.x,
  1437. right.y, top.y, back.y,
  1438. right.z, top.z, back.z)
  1439. end
  1440.  
  1441. function Triangle(a, b, c)
  1442. local edg1 = (c-a):Dot((b-a).unit)
  1443. local edg2 = (a-b):Dot((c-b).unit)
  1444. local edg3 = (b-c):Dot((a-c).unit)
  1445. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1446. a, b, c = a, b, c
  1447. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1448. a, b, c = b, c, a
  1449. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1450. a, b, c = c, a, b
  1451. else
  1452. assert(false, "unreachable")
  1453. end
  1454.  
  1455. local len1 = (c-a):Dot((b-a).unit)
  1456. local len2 = (b-a).magnitude - len1
  1457. local width = (a + (b-a).unit*len1 - c).magnitude
  1458.  
  1459. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1460.  
  1461. local list = {}
  1462.  
  1463. if len1 > 0.01 then
  1464. local w1 = Instance.new('WedgePart', m)
  1465. game:GetService("Debris"):AddItem(w1,5)
  1466. w1.Material = "SmoothPlastic"
  1467. w1.FormFactor = 'Custom'
  1468. if thegui.Rainbow.Value.Value == true then
  1469. w1.Color = Color3.new(math.random(), math.random(), math.random())
  1470. else
  1471. w1.BrickColor = BrickColor.new(ColorColor)
  1472. end
  1473. w1.Transparency = 0
  1474. w1.Reflectance = 0
  1475. w1.Material = "Neon"
  1476. w1.CanCollide = false
  1477. NoOutline(w1)
  1478. local sz = Vector3.new(0.2, width, len1)
  1479. w1.Size = sz
  1480. local sp = Instance.new("SpecialMesh",w1)
  1481. sp.MeshType = "Wedge"
  1482. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1483. w1:BreakJoints()
  1484. w1.Anchored = true
  1485. w1.Parent = workspace
  1486. w1.Transparency = 0.2
  1487. if Particles == true then
  1488. local Fire = Instance.new("ParticleEmitter")
  1489. Fire.Rate = 1000
  1490. Fire.Size = NumberSequence.new(0.1, 0.3)
  1491. Fire.Transparency = NumberSequence.new(0.6, 0.6)
  1492. Fire.Speed = NumberRange.new(2, 15)
  1493. Fire.VelocitySpread = 100000
  1494. Fire.Color = ColorSequence.new(w1.Color)
  1495. Fire.LockedToPart = true
  1496. Fire.Parent = w1
  1497. Fire.LightEmission = 1000
  1498. Fire.VelocityInheritance = 2
  1499. Fire.RotSpeed = NumberRange.new(1000,10000)
  1500. Fire.Rotation = NumberRange.new(1000,10000)
  1501. end
  1502. table.insert(Effects,{w1,"Disappear",.03})
  1503. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1504. table.insert(list,w1)
  1505. end
  1506. if len2 > 0.01 then
  1507. TestPart:Remove()
  1508. local w2 = Instance.new('WedgePart', m)
  1509. game:GetService("Debris"):AddItem(w2,5)
  1510. w2.Material = "SmoothPlastic"
  1511. w2.FormFactor = 'Custom'
  1512. if thegui.Rainbow.Value.Value == true then
  1513. w2.Color = Color3.new(math.random(), math.random(), math.random())
  1514. else
  1515. w2.BrickColor = BrickColor.new(ColorColor)
  1516. end
  1517. w2.Transparency = 0
  1518. w2.Reflectance = 0
  1519. w2.Material = "Neon"
  1520. w2.CanCollide = false
  1521. NoOutline(w2)
  1522. local sz = Vector3.new(0.2, width, len2)
  1523. w2.Size = sz
  1524. local sp = Instance.new("SpecialMesh",w2)
  1525. sp.MeshType = "Wedge"
  1526. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1527. w2:BreakJoints()
  1528. w2.Anchored = true
  1529. w2.Parent = workspace
  1530. w2.Transparency = 0.2
  1531. if Particles == true then
  1532. local Fire2 = Instance.new("ParticleEmitter")
  1533. Fire2.Rate = 1000
  1534. Fire2.Size = NumberSequence.new(0.1, 0.3)
  1535. Fire2.Transparency = NumberSequence.new(0.6, 0.6)
  1536. Fire2.Speed = NumberRange.new(2, 15)
  1537. Fire2.VelocitySpread = 100000
  1538. Fire2.Color = ColorSequence.new(w2.Color)
  1539. Fire2.LockedToPart = true
  1540. Fire2.LightEmission = 1000
  1541. Fire2.VelocityInheritance = 2
  1542. Fire2.RotSpeed = NumberRange.new(1000,10000)
  1543. Fire2.Rotation = NumberRange.new(1000,10000)
  1544. Fire2.Parent = w2
  1545. end
  1546. table.insert(Effects,{w2,"Disappear",.03})
  1547. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1548. table.insert(list,w2)
  1549. end
  1550. return unpack(list)
  1551. end
  1552.  
  1553.  
  1554. so = function(id,par,vol,pit)
  1555. coroutine.resume(coroutine.create(function()
  1556. local sou = Instance.new("Sound",par or workspace)
  1557. sou.Volume=vol
  1558. sou.Pitch=pit or 1
  1559. sou.SoundId=id
  1560. swait()
  1561. sou:play()
  1562. game:GetService("Debris"):AddItem(sou,6)
  1563. end))
  1564. end
  1565.  
  1566. function clerp(a,b,t)
  1567. local qa = {QuaternionFromCFrame(a)}
  1568. local qb = {QuaternionFromCFrame(b)}
  1569. local ax, ay, az = a.x, a.y, a.z
  1570. local bx, by, bz = b.x, b.y, b.z
  1571. local _t = 1-t
  1572. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1573. end
  1574.  
  1575. function QuaternionFromCFrame(cf)
  1576. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1577. local trace = m00 + m11 + m22
  1578. if trace > 0 then
  1579. local s = math.sqrt(1 + trace)
  1580. local recip = 0.5/s
  1581. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1582. else
  1583. local i = 0
  1584. if m11 > m00 then
  1585. i = 1
  1586. end
  1587. if m22 > (i == 0 and m00 or m11) then
  1588. i = 2
  1589. end
  1590. if i == 0 then
  1591. local s = math.sqrt(m00-m11-m22+1)
  1592. local recip = 0.5/s
  1593. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1594. elseif i == 1 then
  1595. local s = math.sqrt(m11-m22-m00+1)
  1596. local recip = 0.5/s
  1597. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1598. elseif i == 2 then
  1599. local s = math.sqrt(m22-m00-m11+1)
  1600. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1601. end
  1602. end
  1603. end
  1604.  
  1605. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1606. local xs, ys, zs = x + x, y + y, z + z
  1607. local wx, wy, wz = w*xs, w*ys, w*zs
  1608. local xx = x*xs
  1609. local xy = x*ys
  1610. local xz = x*zs
  1611. local yy = y*ys
  1612. local yz = y*zs
  1613. local zz = z*zs
  1614. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  1615. end
  1616.  
  1617. function QuaternionSlerp(a, b, t)
  1618. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1619. local startInterp, finishInterp;
  1620. if cosTheta >= 0.0001 then
  1621. if (1 - cosTheta) > 0.0001 then
  1622. local theta = math.acos(cosTheta)
  1623. local invSinTheta = 1/math.sin(theta)
  1624. startInterp = math.sin((1-t)*theta)*invSinTheta
  1625. finishInterp = math.sin(t*theta)*invSinTheta
  1626. else
  1627. startInterp = 1-t
  1628. finishInterp = t
  1629. end
  1630. else
  1631. if (1+cosTheta) > 0.0001 then
  1632. local theta = math.acos(-cosTheta)
  1633. local invSinTheta = 1/math.sin(theta)
  1634. startInterp = math.sin((t-1)*theta)*invSinTheta
  1635. finishInterp = math.sin(t*theta)*invSinTheta
  1636. else
  1637. startInterp = t-1
  1638. finishInterp = t
  1639. end
  1640. end
  1641. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  1642. end
  1643.  
  1644. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1645. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1646. end
  1647.  
  1648. Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  1649. if hit.Parent==nil then
  1650. return
  1651. end
  1652. local h=hit.Parent:FindFirstChild("Humanoid")
  1653. for _,v in pairs(hit.Parent:children()) do
  1654. if v:IsA("Humanoid") then
  1655. h=v
  1656. end
  1657. end
  1658. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  1659. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  1660. end
  1661. if hit.Parent.className=="Hat" then
  1662. hit=hit.Parent.Parent:findFirstChild("Head")
  1663. end
  1664. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  1665. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  1666. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  1667. return
  1668. end]]
  1669. -- hs(hit,1.2)
  1670. local c=Instance.new("ObjectValue")
  1671. c.Name="creator"
  1672. c.Value=game:service("Players").LocalPlayer
  1673. c.Parent=h
  1674. game:GetService("Debris"):AddItem(c,.5)
  1675. local Damage=math.random(SwordDamage[1],SwordDamage[2])
  1676. -- h:TakeDamage(Damage)
  1677. local blocked=false
  1678. local block=hit.Parent:findFirstChild("Block")
  1679. if block~=nil then
  1680. print(block.className)
  1681. if block.className=="NumberValue" then
  1682. if block.Value>0 then
  1683. blocked=true
  1684. if decreaseblock==nil then
  1685. block.Value=block.Value-1
  1686. end
  1687. end
  1688. end
  1689. if block.className=="IntValue" then
  1690. if block.Value>0 then
  1691. blocked=true
  1692. if decreaseblock~=nil then
  1693. block.Value=block.Value-1
  1694. end
  1695. end
  1696. end
  1697. end
  1698. if blocked==false then
  1699. -- h:TakeDamage(Damage)
  1700. h.Health=h.Health-Damage
  1701. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
  1702. else
  1703. h.Health=h.Health-(Damage/2)
  1704. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Bright blue").Color)
  1705. end
  1706. if Type=="Knockdown" then
  1707. local hum=hit.Parent.Humanoid
  1708. hum.PlatformStand=true
  1709. coroutine.resume(coroutine.create(function(HHumanoid)
  1710. swait(1)
  1711. HHumanoid.PlatformStand=false
  1712. end),hum)
  1713. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  1714. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  1715. local bodvol=Instance.new("BodyVelocity")
  1716. bodvol.velocity=angle*knockback
  1717. bodvol.P=5000
  1718. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1719. bodvol.Parent=hit
  1720. local rl=Instance.new("BodyAngularVelocity")
  1721. rl.P=3000
  1722. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1723. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1724. rl.Parent=hit
  1725. game:GetService("Debris"):AddItem(bodvol,.5)
  1726. game:GetService("Debris"):AddItem(rl,.5)
  1727. elseif Type=="Normal" then
  1728. local vp=Instance.new("BodyVelocity")
  1729. vp.P=500
  1730. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  1731. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  1732. if KnockbackType==1 then
  1733. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  1734. elseif KnockbackType==2 then
  1735. vp.velocity=Property.CFrame.lookVector*knockback
  1736. end
  1737. if knockback>0 then
  1738. vp.Parent=hit.Parent.Torso
  1739. end
  1740. game:GetService("Debris"):AddItem(vp,.5)
  1741. elseif Type=="Up" then
  1742. local bodyVelocity=Instance.new("BodyVelocity")
  1743. bodyVelocity.velocity=vt(0,60,0)
  1744. bodyVelocity.P=5000
  1745. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1746. bodyVelocity.Parent=hit
  1747. game:GetService("Debris"):AddItem(bodyVelocity,1)
  1748. local rl=Instance.new("BodyAngularVelocity")
  1749. rl.P=3000
  1750. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1751. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  1752. rl.Parent=hit
  1753. game:GetService("Debris"):AddItem(rl,.5)
  1754. elseif Type=="Snare" then
  1755. local bp=Instance.new("BodyPosition")
  1756. bp.P=2000
  1757. bp.D=100
  1758. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1759. bp.position=hit.Parent.Torso.Position
  1760. bp.Parent=hit.Parent.Torso
  1761. game:GetService("Debris"):AddItem(bp,1)
  1762. elseif Type=="Target" then
  1763. local Targetting = false
  1764. if Targetting==false then
  1765. ZTarget=hit.Parent.Torso
  1766. coroutine.resume(coroutine.create(function(Part)
  1767. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  1768. swait(5)
  1769. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  1770. end),ZTarget)
  1771. local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  1772. local targetgui=Instance.new("BillboardGui")
  1773. targetgui.Parent=ZTarget
  1774. targetgui.Size=UDim2.new(10,100,10,100)
  1775. local targ=Instance.new("ImageLabel")
  1776. targ.Parent=targetgui
  1777. targ.BackgroundTransparency=1
  1778. targ.Image="rbxassetid://4834067"
  1779. targ.Size=UDim2.new(1,0,1,0)
  1780. cam.CameraType="Scriptable"
  1781. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1782. local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  1783. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1784. Targetting=true
  1785. RocketTarget=ZTarget
  1786. for i=1,Property do
  1787. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  1788. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  1789. swait()
  1790. end
  1791. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  1792. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1793. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  1794. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  1795. end
  1796. Targetting=false
  1797. RocketTarget=nil
  1798. targetgui.Parent=nil
  1799. cam.CameraType="Custom"
  1800. end
  1801. end
  1802. local debounce=Instance.new("BoolValue")
  1803. debounce.Name="DebounceHit"
  1804. debounce.Parent=hit.Parent
  1805. debounce.Value=true
  1806. game:GetService("Debris"):AddItem(debounce,Delay)
  1807. c=Instance.new("ObjectValue")
  1808. c.Name="creator"
  1809. c.Value=Player
  1810. c.Parent=h
  1811. game:GetService("Debris"):AddItem(c,.5)
  1812. end
  1813. end
  1814.  
  1815.  
  1816. function ShowDamage(Pos, Text, Time, Color)
  1817. local Rate = (1 / 30)
  1818. local Pos = (Pos or Vector3.new(0, 0, 0))
  1819. local Text = (Text or "")
  1820. local Time = (Time or 2)
  1821. local Color = (Color or Color3.new(1, 0, 0))
  1822. local EffectPart = part("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
  1823. EffectPart.Anchored = true
  1824. local BillboardGui = Instance.new("BillboardGui")
  1825. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  1826. BillboardGui.Adornee = EffectPart
  1827. local TextLabel = Instance.new("TextLabel")
  1828. TextLabel.BackgroundTransparency = 1
  1829. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  1830. TextLabel.Text = Text
  1831. TextLabel.TextColor3 = Color
  1832. TextLabel.TextScaled = true
  1833. TextLabel.Font = Enum.Font.ArialBold
  1834. TextLabel.Parent = BillboardGui
  1835. BillboardGui.Parent = EffectPart
  1836. game.Debris:AddItem(EffectPart, (Time + 0.1))
  1837. EffectPart.Parent = game:GetService("Workspace")
  1838. Delay(0, function()
  1839. local Frames = (Time / Rate)
  1840. for Frame = 1, Frames do
  1841. wait(Rate)
  1842. local Percent = (Frame / Frames)
  1843. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1844. TextLabel.TextTransparency = Percent
  1845. end
  1846. if EffectPart and EffectPart.Parent then
  1847. EffectPart:Destroy()
  1848. end
  1849. end)
  1850. end
  1851. print("Rainbow: ",ColorColor)
  1852. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Handle",Vector3.new(0.34799999, 2.78399992, 0.34799999))
  1853. handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.00324273, 0.013961792, -0.00828075409, -1.38366803e-013, -0.999999881, 4.25688995e-009, 2.4656245e-007, -4.25688951e-009, -1, 1, -1.373172e-013, 2.4656245e-007))
  1854. mesh("CylinderMesh",handle,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1855. Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,ColorColor,"Hitbox",Vector3.new(1.04400003, 6.35600042, 0.600000024))
  1856. Hitboxweld=weld(m,handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000308990479, -5.48094559, -2.00271606e-005, 1, 6.10120843e-011, -1.08637464e-014, -6.10120843e-011, 1, 7.57154339e-011, 1.08637574e-014, -7.57154339e-011, 1))
  1857.  
  1858. if Light == true then
  1859. local Lite = it("PointLight",Torso)
  1860. Lite.Color = TestPart.Color
  1861. Lite.Name = "Lite"
  1862. Lite.Range = LightRange
  1863. Lite.Brightness = 10555
  1864. Lite.Shadows = false
  1865. end
  1866. function CustomColorActive()
  1867. print("CCFunction start")
  1868. print("CCCheck true")
  1869. for i,v in pairs(plr.Character.Model:GetChildren()) do
  1870. if v.ClassName == "Part" then
  1871. if v.BrickColor == BrickColor.new("Medium stone grey") then
  1872. v.Color = ColorColor
  1873. end
  1874. end
  1875. end
  1876. print("CCFunction end")
  1877. end
  1878. function RainbowSword()
  1879. print("RSFunction Start")
  1880. for v,i in pairs(plr.Character.Model:GetChildren()) do
  1881. if i.ClassName == "Part" then
  1882. if i.BrickColor == BrickColor.new("Really red") then
  1883. i.Color = Color3.new(math.random(), math.random(), math.random())
  1884. end
  1885. end
  1886. end
  1887. print("RSFunction End")
  1888. end
  1889. if thegui.Rainbow.Value.Value == true then
  1890. RainbowSword()
  1891. print("RSFunction Called")
  1892. end
  1893. function GlowActive()
  1894. print("GFunction start")
  1895. for a,b in pairs(plr.Character.Model:GetChildren()) do
  1896. if b.ClassName == "Part" then
  1897. b.Material = "Neon"
  1898. end
  1899. end
  1900. end
  1901. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  1902. local prt=part("Custom",workspace,"Neon",0,0,ColorColor,"Effect",vt(0.5,0.5,0.5))
  1903. prt.Anchored=true
  1904. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1905. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1906. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  1907. CF=Part.CFrame
  1908. Numbb=0
  1909. randnumb=math.random()-math.random()
  1910. for i=0,1,0.05 do
  1911. wait()
  1912. CF=CF*cf(0,1,0)
  1913. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  1914. Part.CFrame=CF*euler(Numbb,0,0)
  1915. Part.Transparency=i
  1916. Numbb=Numbb+randnumb
  1917. end
  1918. Part.Parent=nil
  1919. end),prt)
  1920. end
  1921. --BreakEffect(BrickColor.new(ColorColor),Hitbox.CFrame,0.5,math.random(5,20),0.5)
  1922.  
  1923. function attackone()
  1924. attack=true
  1925. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  1926. for i=0,2,0.5 do
  1927. swait()
  1928. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(120),math.rad(0),math.rad(20)),.3)
  1929. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3)
  1930. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1931. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1932. handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(70),math.rad(-10),math.rad(0)),.3)
  1933. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  1934. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3)
  1935. end
  1936. so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,1)
  1937. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,1)
  1938. hitconasdf = Hitbox.Touched:connect(function(hit)
  1939. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  1940. if hum12 and not hum12:IsDescendantOf(Character) then
  1941. so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
  1942. for i = 1,10 do
  1943. BreakEffect(BrickColor.new(ColorColor),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  1944. end
  1945. hitconasdf:disconnect()
  1946. end
  1947. end)
  1948. for i=0,1,0.2 do
  1949. swait()
  1950. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  1951. if Hackermode == true then
  1952. Hitbox.Touched:connect(function(hit)
  1953. if hit.Parent:FindFirstChild("Humanoid") then
  1954. hit.Parent:BreakJoints()
  1955. hit.Parent.Torso.Position = Vector3.new(hit.Parent.Torso.Position.X + 1, hit.Parent.Torso.Position.Y + 1, hit.Parent.Torso.Position.Z + 1)
  1956. end
  1957. end)
  1958. end
  1959. if Banmode == true then
  1960. Hitbox.Touched:connect(function(hit)
  1961. if hit.Parent:FindFirstChild("Humanoid") then
  1962. hit.Parent:Remove()
  1963. end
  1964. end)
  1965. end
  1966. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1967. local h = 5
  1968. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1969. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1970. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1971. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1972. scfr = blcf
  1973. elseif not scfr then
  1974. scfr = blcf
  1975. end
  1976. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(110),math.rad(-90),math.rad(20)),.3)
  1977. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
  1978. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1979. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1980. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-60),math.rad(-10),math.rad(0)),.3)
  1981. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1982. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
  1983. end
  1984. attack=false
  1985. con:disconnect()
  1986. scfr = nil
  1987. pcall(function()
  1988. hitconasdf:disconnect()
  1989. end)
  1990. end
  1991.  
  1992. function attacktwo()
  1993. attack=true
  1994. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  1995. for i=0,2,0.5 do
  1996. swait()
  1997. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(90)),.3)
  1998. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
  1999. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2000. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2001. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-30),math.rad(-10),math.rad(0)),.3)
  2002. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(70)),.3)
  2003. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
  2004. end
  2005. so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,.9)
  2006. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,.9)
  2007. hitconasdf = Hitbox.Touched:connect(function(hit)
  2008. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  2009. if hum12 and not hum12:IsDescendantOf(Character) then
  2010. so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
  2011. for i = 1,10 do
  2012. BreakEffect(BrickColor.new(ColorColor),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  2013. end
  2014. hitconasdf:disconnect()
  2015. end
  2016. end)
  2017. for i=0,1,0.2 do
  2018. swait()
  2019. if Hackermode == true then
  2020. Hitbox.Touched:connect(function(hit)
  2021. if hit.Parent:FindFirstChild("Humanoid") then
  2022. hit.Parent:BreakJoints()
  2023. hit.Parent.Torso.Position = Vector3.new(hit.Parent.Torso.Position.X + 1, hit.Parent.Torso.Position.Y + 1, hit.Parent.Torso.Position.Z + 1)
  2024. end
  2025. end)
  2026. end
  2027. if Banmode == true then
  2028. Hitbox.Touched:connect(function(hit)
  2029. if hit.Parent:FindFirstChild("Humanoid") then
  2030. hit.Parent:Remove()
  2031. end
  2032. end)
  2033. end
  2034. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  2035. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  2036. local h = 5
  2037. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  2038. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  2039. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  2040. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  2041. scfr = blcf
  2042. elseif not scfr then
  2043. scfr = blcf
  2044. end
  2045. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-50),math.rad(90)),.3)
  2046. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3)
  2047. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2048. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2049. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-50),math.rad(10),math.rad(0)),.3)
  2050. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  2051. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3)
  2052. end
  2053. attack=false
  2054. con:disconnect()
  2055. scfr = nil
  2056. pcall(function()
  2057. hitconasdf:disconnect()
  2058. end)
  2059. end
  2060. if CustomColorEnabled == true then
  2061. CustomColorActive()
  2062. print("CCE Activated")
  2063. end
  2064. if thegui.GlowSword.Value.Value == true then
  2065. GlowActive()
  2066. print("GFunction Activated")
  2067. end
  2068. function Stab()
  2069. plr.Character.Humanoid.WalkSpeed = Speed*2+20
  2070. attack=true
  2071. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  2072. for i=0,1,0.1 do
  2073. swait()
  2074. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  2075. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(60)),.3)
  2076. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(20),math.rad(90)),.3)
  2077. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-20),math.rad(-90)),.3)
  2078. LH.C0=clerp(LH.C0,cf(-1,-.9,0)*angles(math.rad(0),math.rad(-60),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2079. RH.C0=clerp(RH.C0,cf(1,-.9,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2080. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  2081. end
  2082. hitconasdf = Hitbox.Touched:connect(function(hit)
  2083. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  2084. if hum12 and not hum12:IsDescendantOf(Character) then
  2085. so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
  2086. for i = 1,10 do
  2087. BreakEffect(BrickColor.new(ColorColor),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  2088. end
  2089. hitconasdf:disconnect()
  2090. end
  2091. end)
  2092. if Hackermode == true then
  2093. Hitbox.Touched:connect(function(hit)
  2094. if hit.Parent:FindFirstChild("Humanoid") then
  2095. hit.Parent:BreakJoints()
  2096. hit.Parent.Torso.Position = Vector3.new(hit.Parent.Torso.Position.X + 1, hit.Parent.Torso.Position.Y + 1, hit.Parent.Torso.Position.Z + 1)
  2097. end
  2098. end)
  2099. end
  2100. if Banmode == true then
  2101. Hitbox.Touched:connect(function(hit)
  2102. if hit.Parent:FindFirstChild("Humanoid") then
  2103. hit.Parent:Remove()
  2104. end
  2105. end)
  2106. end
  2107. so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,.9)
  2108. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,.9)
  2109. for i=0,1,0.1 do
  2110. swait()
  2111. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  2112. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  2113. local h = 5
  2114. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  2115. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  2116. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  2117. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  2118. scfr = blcf
  2119. elseif not scfr then
  2120. scfr = blcf
  2121. end
  2122. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  2123. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-80)),.4)
  2124. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  2125. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.4)
  2126. LH.C0=clerp(LH.C0,cf(-1,-.9,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.4)
  2127. RH.C0=clerp(RH.C0,cf(1,-.9,0)*angles(math.rad(0),math.rad(60),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.4)
  2128. handleweld.C0=clerp(handleweld.C0,cf(0,-1,-1)*angles(math.rad(-90),math.rad(0),math.rad(0)),.4)
  2129. end
  2130. con:disconnect()
  2131. attack=false
  2132. scfr = nil
  2133. pcall(function()
  2134. hitconasdf:disconnect()
  2135. end)
  2136. plr.Character.Humanoid.WalkSpeed = Speed
  2137. end
  2138.  
  2139. function Spin()
  2140. attack=true
  2141. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  2142. hitconasdf = Hitbox.Touched:connect(function(hit)
  2143. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  2144. if hum12 and not hum12:IsDescendantOf(Character) then
  2145. so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
  2146. for i = 1,5 do
  2147. BreakEffect(BrickColor.new(ColorColor),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  2148. end
  2149. hitconasdf:disconnect()
  2150. end
  2151. end)
  2152. if Hackermode == true then
  2153. Hitbox.Touched:connect(function(hit)
  2154. if hit.Parent:FindFirstChild("Humanoid") then
  2155. hit.Parent:BreakJoints()
  2156. hit.Parent.Torso.Position = Vector3.new(hit.Parent.Torso.Position.X + 1, hit.Parent.Torso.Position.Y + 1, hit.Parent.Torso.Position.Z + 1)
  2157. end
  2158. end)
  2159. end
  2160. if Banmode == true then
  2161. Hitbox.Touched:connect(function(hit)
  2162. if hit.Parent:FindFirstChild("Humanoid") then
  2163. hit.Parent:Remove()
  2164. end
  2165. end)
  2166. end
  2167. for i=0,1,1 do
  2168. so("http://roblox.com/asset/?id=154965962",Hitbox,1,1)
  2169. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,1)
  2170. swait()
  2171. for i=0,1,0.1 do
  2172. swait()
  2173. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  2174. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  2175. local h = 5
  2176. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  2177. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  2178. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  2179. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  2180. scfr = blcf
  2181. elseif not scfr then
  2182. scfr = blcf
  2183. end
  2184. RW.C0=clerp(RW.C0,cf(1,0.5,-.5)*angles(math.rad(90),math.rad(0),math.rad(-50)),.3)
  2185. LW.C0=clerp(LW.C0,cf(-1,0.5,-.5)*angles(math.rad(90),math.rad(0),math.rad(50)),.3)
  2186. LH.C0=clerp(LH.C0,cf(-1,-.5,-1)*angles(math.rad(-20),math.rad(-90),math.rad(0)),.3)
  2187. RH.C0=clerp(RH.C0,cf(1,-.5,-1)*angles(math.rad(-20),math.rad(90),math.rad(0)),.3)
  2188. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5)*euler(6*i,0,0),.5)
  2189. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(30)),1)
  2190. end
  2191. end
  2192. attack=false
  2193. con:disconnect()
  2194. scfr = nil
  2195. pcall(function()
  2196. hitconasdf:disconnect()
  2197. end)
  2198. end
  2199.  
  2200. function ContAttack()
  2201. attack=true
  2202. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  2203. hitconasdf = Hitbox.Touched:connect(function(hit)
  2204. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  2205. if hum12 and not hum12:IsDescendantOf(Character) then
  2206. so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
  2207. for i = 1,10 do
  2208. BreakEffect(BrickColor.new(ColorColor),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  2209. end
  2210. hitconasdf:disconnect()
  2211. end
  2212. end)
  2213. for i=1,4 do
  2214. swait()
  2215. for i=0,1,0.2 do
  2216. swait()
  2217. if Hackermode == true then
  2218. Hitbox.Touched:connect(function(hit)
  2219. hit.Parent.Humanoid.Health = 0
  2220. end)
  2221. end
  2222. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(120),math.rad(0),math.rad(20)),.3)
  2223. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3)
  2224. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2225. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2226. handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(70),math.rad(-10),math.rad(0)),.3)
  2227. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  2228. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3)
  2229. end
  2230. so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,1)
  2231. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,1)
  2232. for i=0,1,0.2 do
  2233. swait()
  2234. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  2235. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  2236. local h = 5
  2237. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  2238. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  2239. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  2240. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  2241. scfr = blcf
  2242. elseif not scfr then
  2243. scfr = blcf
  2244. end
  2245. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(110),math.rad(-90),math.rad(20)),.3)
  2246. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
  2247. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2248. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2249. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-60),math.rad(-10),math.rad(0)),.3)
  2250. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  2251. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
  2252. end
  2253. for i=0,1,0.2 do
  2254. swait()
  2255. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(90)),.3)
  2256. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
  2257. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2258. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2259. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-30),math.rad(-10),math.rad(0)),.3)
  2260. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(70)),.3)
  2261. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
  2262. end
  2263. so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,.9)
  2264. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,.9)
  2265. for i=0,1,0.2 do
  2266. swait()
  2267. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  2268. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  2269. local h = 5
  2270. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  2271. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  2272. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  2273. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  2274. scfr = blcf
  2275. elseif not scfr then
  2276. scfr = blcf
  2277. end
  2278. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-50),math.rad(90)),.3)
  2279. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3)
  2280. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2281. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2282. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-50),math.rad(10),math.rad(0)),.3)
  2283. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  2284. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3)
  2285. end
  2286. end
  2287. attack=false
  2288. con:disconnect()
  2289. scfr = nil
  2290. pcall(function()
  2291. hitconasdf:disconnect()
  2292. end)
  2293. end
  2294.  
  2295.  
  2296. function Sheathe()
  2297. attack = true
  2298. so("http://www.roblox.com/asset/?id=273797222",Hitbox,1,.9)
  2299. CurrentMode = "Sheathed"
  2300. for i = 0,1,0.1 do
  2301. swait()
  2302. handleweld.Part0 = Torso
  2303. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2304. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.3)
  2305. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(190),math.rad(0),math.rad(0)),.3)
  2306. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(20),math.rad(-10)),.3)
  2307. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2308. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2309. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  2310. end
  2311. attack = false
  2312. end
  2313.  
  2314. function Unsheathe()
  2315. attack = true
  2316. CurrentMode = "Unsheathed"
  2317. so("http://www.roblox.com/asset/?id=239169404",Hitbox,1,.9)
  2318. for i = 0,1,0.1 do
  2319. swait()
  2320. handleweld.Part0 = RightArm
  2321. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  2322. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  2323. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(200),math.rad(0),math.rad(0)),.3)
  2324. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(-30),math.rad(-30)),.3)
  2325. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2326. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2327. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.3)
  2328. end
  2329. scfr = nil
  2330. attack = false
  2331. end
  2332.  
  2333. local Sit = false
  2334.  
  2335. mouse.Button1Down:connect(function()
  2336. if attack==false then
  2337. if attacktype==1 and CurrentMode == "Unsheathed" then
  2338. attack=true
  2339. attacktype=2
  2340. attackone()
  2341. elseif attacktype==2 and CurrentMode == "Unsheathed" then
  2342. attack=true
  2343. attacktype=1
  2344. attacktwo()
  2345. end
  2346. end
  2347. end)
  2348.  
  2349. mouse.KeyDown:connect(function(k)
  2350. k=k:lower()
  2351. if k=='q' then
  2352. if attack==false and CurrentMode == "Unsheathed" then
  2353. Stab()
  2354. end
  2355. elseif k=='e' then
  2356. if attack==false and CurrentMode == "Unsheathed" then
  2357. Spin()
  2358. end
  2359. elseif k=='r' then
  2360. if attack==false and CurrentMode == "Unsheathed" then
  2361. ContAttack()
  2362. end
  2363. elseif k=='f' then
  2364. if attack==false and CurrentMode == "Unsheathed" then
  2365. Sheathe()
  2366. elseif k=='f' then
  2367. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  2368. Unsheathe()
  2369. end
  2370. end
  2371. elseif k=='t' then
  2372. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  2373. Sit = true
  2374. Humanoid.WalkSpeed = 0
  2375. elseif k=='t' then
  2376. if attack==false and Sit == true and CurrentMode == "Sheathed" then
  2377. Sit = false
  2378. Humanoid.WalkSpeed = 16
  2379. end
  2380. end
  2381.  
  2382. end
  2383. end)
  2384.  
  2385.  
  2386. local sine = 0
  2387. local change = 1
  2388. local val = 0
  2389.  
  2390. while true do
  2391. swait()
  2392. sine = sine + change
  2393. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  2394. local velderp=RootPart.Velocity.y
  2395. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  2396. if equipped==true or equipped==false then
  2397. if attack==false then
  2398. idle=idle+1
  2399. else
  2400. idle=0
  2401. end
  2402. if idle>=500 then
  2403. if attack==false then
  2404. end
  2405. end
  2406. if RootPart.Velocity.y > 1 and hitfloor==nil then
  2407. Anim="Jump"
  2408. if attack==false and Sit == false and CurrentMode == "Unsheathed" then
  2409. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2410. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  2411. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(50),math.rad(0),math.rad(30)),.3)
  2412. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-40),math.rad(5),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2413. LH.C0=clerp(LH.C0,cf(-1,-.5,-1)*angles(math.rad(-20),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2414. handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(-10),math.rad(0)),.3)
  2415. end
  2416. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  2417. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  2418. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  2419. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(30)),.3)
  2420. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-30)),.3)
  2421. LH.C0=clerp(LH.C0,cf(-1,-1,-.2)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  2422. RH.C0=clerp(RH.C0,cf(1,-1,-.2)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  2423. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  2424. end
  2425. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  2426. Anim="Fall"
  2427. if attack==false and Sit == false and CurrentMode == "Unsheathed" then
  2428. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  2429. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  2430. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-5),math.rad(0),math.rad(20)),.3)
  2431. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-40),math.rad(5),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2432. LH.C0=clerp(LH.C0,cf(-1,-.5,-1)*angles(math.rad(-20),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2433. handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(-10),math.rad(0)),.3)
  2434. end
  2435. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  2436. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  2437. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  2438. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(50)),.3)
  2439. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-50)),.3)
  2440. LH.C0=clerp(LH.C0,cf(-1,-.5,-.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  2441. RH.C0=clerp(RH.C0,cf(1,-1,-.5)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  2442. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  2443. end
  2444. elseif torvel<1 and hitfloor~=nil then
  2445. Anim="Idle"
  2446. if attack==false and Sit == false and CurrentMode == "Unsheathed" then
  2447. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
  2448. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(40)),.3)
  2449. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(40),math.rad(0),math.rad(20)),.3)
  2450. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(20),math.rad(-10)),.3)
  2451. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2452. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2453. handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(-10),math.rad(0)),.3)
  2454. end
  2455. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  2456. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2457. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(0)),.3)
  2458. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(5)),.3)
  2459. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-5)),.3)
  2460. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  2461. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  2462. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  2463. end
  2464. if attack==false and Sit == true and CurrentMode == "Sheathed" then
  2465. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-2)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  2466. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  2467. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-10),math.rad(0),math.rad(5)),.3)
  2468. LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*euler(math.rad(90),math.rad(0),math.rad(30)),.3)
  2469. LH.C0=clerp(LH.C0,cf(-1,.7,-.5)*angles(math.rad(0),math.rad(-90),math.rad(-10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  2470. RH.C0=clerp(RH.C0,cf(1,-.5,-.5)*angles(math.rad(0),math.rad(90),math.rad(70))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  2471. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  2472. end
  2473. elseif torvel>2 and hitfloor~=nil then
  2474. Anim="Walk"
  2475. if attack==false and Sit == false and CurrentMode == "Unsheathed" then
  2476. change=3
  2477. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  2478. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  2479. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-5),math.rad(0),math.rad(20)),.3)
  2480. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-30),math.rad(5),math.rad(-10)),.3)
  2481. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  2482. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  2483. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(15),math.rad(-10),math.rad(0)),.3)
  2484. end
  2485. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  2486. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  2487. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2488. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(30*math.cos(sine/10)),math.rad(0),math.rad(5)),.3)
  2489. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-30*math.cos(sine/10)),math.rad(0),math.rad(-5)),.3)
  2490. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  2491. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  2492. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  2493. end
  2494. end
  2495. end
  2496. if thegui.TimeChanger.Value.Value == true then
  2497. game.Lighting.Ambient = Color3.fromRGB(10,10,10)
  2498. game.Lighting.Brightness = 0
  2499. game.Lighting.GlobalShadows = false
  2500. game.Lighting.TimeOfDay = 0
  2501. wait(0)
  2502. end
  2503. if thegui.Rainbow.Value.Value == true and thegui.Light.Value.Value == true then
  2504. plr.Character.Torso.Lite.Color = Color3.new(math.random(), math.random(), math.random())
  2505. end
  2506. CustomColorEnabled = false
  2507. if #Effects>0 then
  2508. for e=1,#Effects do
  2509. if Effects[e]~=nil then
  2510. local Thing=Effects[e]
  2511. if Thing~=nil then
  2512. local Part=Thing[1]
  2513. local Mode=Thing[2]
  2514. local Delay=Thing[3]
  2515. local IncX=Thing[4]
  2516. local IncY=Thing[5]
  2517. local IncZ=Thing[6]
  2518. if Thing[1].Transparency<=1 then
  2519. if Thing[2]=="Block1" then
  2520. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2521. Mesh=Thing[1].Mesh
  2522. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2523. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2524. elseif Thing[2]=="Cylinder" then
  2525. Mesh=Thing[1].Mesh
  2526. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2527. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2528. elseif Thing[2]=="Blood" then
  2529. Mesh=Thing[7]
  2530. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  2531. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2532. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2533. elseif Thing[2]=="Elec" then
  2534. Mesh=Thing[1].Mesh
  2535. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  2536. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2537. elseif Thing[2]=="Disappear" then
  2538. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2539. end
  2540. else
  2541. Part.Parent=nil
  2542. table.remove(Effects,e)
  2543. end
  2544. end
  2545. end
  2546. end
  2547. end
  2548. end
  2549. print("hey im done")
  2550. Player=game:GetService("Players").LocalPlayer
  2551. Character=Player.Character
  2552. PlayerGui=Player.PlayerGui
  2553. Backpack=Player.Backpack
  2554. Torso=Character.Torso
  2555. Head=Character.Head
  2556. Humanoid=Character.Humanoid
  2557. m=Instance.new('Model',Character)
  2558. LeftArm=Character["Left Arm"]
  2559. LeftLeg=Character["Left Leg"]
  2560. RightArm=Character["Right Arm"]
  2561. RightLeg=Character["Right Leg"]
  2562. LS=Torso["Left Shoulder"]
  2563. LH=Torso["Left Hip"]
  2564. RS=Torso["Right Shoulder"]
  2565. RH=Torso["Right Hip"]
  2566. Face = Head.face
  2567. Neck=Torso.Neck
  2568. it=Instance.new
  2569. attacktype=1
  2570. vt=Vector3.new
  2571. cf=CFrame.new
  2572. euler=CFrame.fromEulerAnglesXYZ
  2573. angles=CFrame.Angles
  2574. cloaked=false
  2575. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  2576. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  2577. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  2578. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  2579. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  2580. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  2581. RootPart=Character.HumanoidRootPart
  2582. RootJoint=RootPart.RootJoint
  2583. RootCF=euler(-1.57,0,3.14)
  2584. attack = false
  2585. attackdebounce = false
  2586. deb=false
  2587. equipped=true
  2588. hand=false
  2589. MMouse=nil
  2590. combo=0
  2591. mana=0
  2592. trispeed=.2
  2593. attackmode='none'
  2594. local idle=0
  2595. local Anim="Idle"
  2596. local Effects={}
  2597. local gun=false
  2598. local shoot=false
  2599. player=nil
  2600. mana=0
  2601. local CurrentMode = "Unsheathed"
  2602.  
  2603. mouse=Player:GetMouse()
  2604. --save shoulders
  2605. RSH, LSH=nil, nil
  2606. --welds
  2607. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  2608. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  2609. LH=Torso["Left Hip"]
  2610. RH=Torso["Right Hip"]
  2611. TorsoColor=Torso.BrickColor
  2612. function NoOutline(Part)
  2613. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  2614. end
  2615. player=Player
  2616. ch=Character
  2617. RSH=ch.Torso["Right Shoulder"]
  2618. LSH=ch.Torso["Left Shoulder"]
  2619. --
  2620. RSH.Parent=nil
  2621. LSH.Parent=nil
  2622. --
  2623. RW.Name="Right Shoulder"
  2624. RW.Part0=ch.Torso
  2625. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  2626. RW.C1=cf(0, 0.5, 0)
  2627. RW.Part1=ch["Right Arm"]
  2628. RW.Parent=ch.Torso
  2629. --
  2630. LW.Name="Left Shoulder"
  2631. LW.Part0=ch.Torso
  2632. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  2633. LW.C1=cf(0, 0.5, 0)
  2634. LW.Part1=ch["Left Arm"]
  2635. LW.Parent=ch.Torso
  2636.  
  2637. local function weldBetween(a, b)
  2638. local weldd = Instance.new("ManualWeld")
  2639. weldd.Part0 = a
  2640. weldd.Part1 = b
  2641. weldd.C0 = CFrame.new()
  2642. weldd.C1 = b.CFrame:inverse() * a.CFrame
  2643. weldd.Parent = a
  2644. return weldd
  2645. end
  2646.  
  2647. function nooutline(part)
  2648. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  2649. end
  2650.  
  2651. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  2652. local fp=it("Part")
  2653. fp.formFactor=formfactor
  2654. fp.Parent=parent
  2655. fp.Reflectance=reflectance
  2656. fp.Transparency=transparency
  2657. fp.CanCollide=false
  2658. fp.Locked=true
  2659. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  2660. fp.Name=name
  2661. fp.Size=size
  2662. fp.Position=Character.Torso.Position
  2663. nooutline(fp)
  2664. fp.Material=material
  2665. fp:BreakJoints()
  2666. return fp
  2667. end
  2668.  
  2669. function swait(num)
  2670. if num==0 or num==nil then
  2671. game:service'RunService'.Heartbeat:wait(0)
  2672. else
  2673. for i=0,num do
  2674. game:service'RunService'.Heartbeat:wait(0)
  2675. end
  2676. end
  2677. end
  2678.  
  2679. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  2680. local mesh=it(Mesh)
  2681. mesh.Parent=part
  2682. if Mesh=="SpecialMesh" then
  2683. mesh.MeshType=meshtype
  2684. mesh.MeshId=meshid
  2685. end
  2686. mesh.Offset=offset
  2687. mesh.Scale=scale
  2688. return mesh
  2689. end
  2690.  
  2691. function weld(parent,part0,part1,c0,c1)
  2692. local weld=it("Weld")
  2693. weld.Parent=parent
  2694. weld.Part0=part0
  2695. weld.Part1=part1
  2696. weld.C0=c0
  2697. weld.C1=c1
  2698. return weld
  2699. end
  2700.  
  2701.  
  2702. local function CFrameFromTopBack(at, top, back)
  2703. local right = top:Cross(back)
  2704. return CFrame.new(at.x, at.y, at.z,
  2705. right.x, top.x, back.x,
  2706. right.y, top.y, back.y,
  2707. right.z, top.z, back.z)
  2708. end
  2709.  
  2710. function Triangle(a, b, c)
  2711. local edg1 = (c-a):Dot((b-a).unit)
  2712. local edg2 = (a-b):Dot((c-b).unit)
  2713. local edg3 = (b-c):Dot((a-c).unit)
  2714. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  2715. a, b, c = a, b, c
  2716. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  2717. a, b, c = b, c, a
  2718. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  2719. a, b, c = c, a, b
  2720. else
  2721. assert(false, "unreachable")
  2722. end
  2723.  
  2724. local len1 = (c-a):Dot((b-a).unit)
  2725. local len2 = (b-a).magnitude - len1
  2726. local width = (a + (b-a).unit*len1 - c).magnitude
  2727.  
  2728. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  2729.  
  2730. local list = {}
  2731.  
  2732. if len1 > 0.01 then
  2733. local w1 = Instance.new('WedgePart', m)
  2734. game:GetService("Debris"):AddItem(w1,5)
  2735. w1.Material = "SmoothPlastic"
  2736. w1.FormFactor = 'Custom'
  2737. w1.BrickColor = BrickColor.new("New Yeller")
  2738. w1.Transparency = 0
  2739. w1.Reflectance = 0
  2740. w1.Material = "Neon"
  2741. w1.CanCollide = false
  2742. NoOutline(w1)
  2743. local sz = Vector3.new(0.2, width, len1)
  2744. w1.Size = sz
  2745. local sp = Instance.new("SpecialMesh",w1)
  2746. sp.MeshType = "Wedge"
  2747. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  2748. w1:BreakJoints()
  2749. w1.Anchored = true
  2750. w1.Parent = workspace
  2751. w1.Transparency = 0.3
  2752. table.insert(Effects,{w1,"Disappear",.03})
  2753. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  2754. table.insert(list,w1)
  2755. end
  2756. if len2 > 0.01 then
  2757. local w2 = Instance.new('WedgePart', m)
  2758. game:GetService("Debris"):AddItem(w2,5)
  2759. w2.Material = "SmoothPlastic"
  2760. w2.FormFactor = 'Custom'
  2761. w2.BrickColor = BrickColor.new("New Yeller")
  2762. w2.Transparency = 0
  2763. w2.Reflectance = 0
  2764. w2.Material = "Neon"
  2765. w2.CanCollide = false
  2766. NoOutline(w2)
  2767. local sz = Vector3.new(0.2, width, len2)
  2768. w2.Size = sz
  2769. local sp = Instance.new("SpecialMesh",w2)
  2770. sp.MeshType = "Wedge"
  2771. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  2772. w2:BreakJoints()
  2773. w2.Anchored = true
  2774. w2.Parent = workspace
  2775. w2.Transparency = 0.3
  2776. table.insert(Effects,{w2,"Disappear",.03})
  2777. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  2778. table.insert(list,w2)
  2779. end
  2780. return unpack(list)
  2781. end
  2782.  
  2783.  
  2784. so = function(id,par,vol,pit)
  2785. coroutine.resume(coroutine.create(function()
  2786. local sou = Instance.new("Sound",par or workspace)
  2787. sou.Volume=vol
  2788. sou.Pitch=pit or 1
  2789. sou.SoundId=id
  2790. swait()
  2791. sou:play()
  2792. game:GetService("Debris"):AddItem(sou,6)
  2793. end))
  2794. end
  2795.  
  2796. function clerp(a,b,t)
  2797. local qa = {QuaternionFromCFrame(a)}
  2798. local qb = {QuaternionFromCFrame(b)}
  2799. local ax, ay, az = a.x, a.y, a.z
  2800. local bx, by, bz = b.x, b.y, b.z
  2801. local _t = 1-t
  2802. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  2803. end
  2804.  
  2805. function QuaternionFromCFrame(cf)
  2806. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  2807. local trace = m00 + m11 + m22
  2808. if trace > 0 then
  2809. local s = math.sqrt(1 + trace)
  2810. local recip = 0.5/s
  2811. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  2812. else
  2813. local i = 0
  2814. if m11 > m00 then
  2815. i = 1
  2816. end
  2817. if m22 > (i == 0 and m00 or m11) then
  2818. i = 2
  2819. end
  2820. if i == 0 then
  2821. local s = math.sqrt(m00-m11-m22+1)
  2822. local recip = 0.5/s
  2823. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  2824. elseif i == 1 then
  2825. local s = math.sqrt(m11-m22-m00+1)
  2826. local recip = 0.5/s
  2827. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  2828. elseif i == 2 then
  2829. local s = math.sqrt(m22-m00-m11+1)
  2830. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  2831. end
  2832. end
  2833. end
  2834.  
  2835. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  2836. local xs, ys, zs = x + x, y + y, z + z
  2837. local wx, wy, wz = w*xs, w*ys, w*zs
  2838. local xx = x*xs
  2839. local xy = x*ys
  2840. local xz = x*zs
  2841. local yy = y*ys
  2842. local yz = y*zs
  2843. local zz = z*zs
  2844. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  2845. end
  2846.  
  2847. function QuaternionSlerp(a, b, t)
  2848. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  2849. local startInterp, finishInterp;
  2850. if cosTheta >= 0.0001 then
  2851. if (1 - cosTheta) > 0.0001 then
  2852. local theta = math.acos(cosTheta)
  2853. local invSinTheta = 1/math.sin(theta)
  2854. startInterp = math.sin((1-t)*theta)*invSinTheta
  2855. finishInterp = math.sin(t*theta)*invSinTheta
  2856. else
  2857. startInterp = 1-t
  2858. finishInterp = t
  2859. end
  2860. else
  2861. if (1+cosTheta) > 0.0001 then
  2862. local theta = math.acos(-cosTheta)
  2863. local invSinTheta = 1/math.sin(theta)
  2864. startInterp = math.sin((t-1)*theta)*invSinTheta
  2865. finishInterp = math.sin(t*theta)*invSinTheta
  2866. else
  2867. startInterp = t-1
  2868. finishInterp = t
  2869. end
  2870. end
  2871. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  2872. end
  2873.  
  2874. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2875. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2876. end
  2877.  
  2878. Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  2879. if hit.Parent==nil then
  2880. return
  2881. end
  2882. local h=hit.Parent:FindFirstChild("Humanoid")
  2883. for _,v in pairs(hit.Parent:children()) do
  2884. if v:IsA("Humanoid") then
  2885. h=v
  2886. end
  2887. end
  2888. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  2889. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  2890. end
  2891. if hit.Parent.className=="Hat" then
  2892. hit=hit.Parent.Parent:findFirstChild("Head")
  2893. end
  2894. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  2895. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  2896. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  2897. return
  2898. end]]
  2899. -- hs(hit,1.2)
  2900. local c=Instance.new("ObjectValue")
  2901. c.Name="creator"
  2902. c.Value=game:service("Players").LocalPlayer
  2903. c.Parent=h
  2904. game:GetService("Debris"):AddItem(c,.5)
  2905. local Damage=math.random(minim,maxim)
  2906. -- h:TakeDamage(Damage)
  2907. local blocked=false
  2908. local block=hit.Parent:findFirstChild("Block")
  2909. if block~=nil then
  2910. print(block.className)
  2911. if block.className=="NumberValue" then
  2912. if block.Value>0 then
  2913. blocked=true
  2914. if decreaseblock==nil then
  2915. block.Value=block.Value-1
  2916. end
  2917. end
  2918. end
  2919. if block.className=="IntValue" then
  2920. if block.Value>0 then
  2921. blocked=true
  2922. if decreaseblock~=nil then
  2923. block.Value=block.Value-1
  2924. end
  2925. end
  2926. end
  2927. end
  2928. if blocked==false then
  2929. -- h:TakeDamage(Damage)
  2930. h.Health=h.Health-Damage
  2931. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
  2932. else
  2933. h.Health=h.Health-(Damage/2)
  2934. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Bright blue").Color)
  2935. end
  2936. if Type=="Knockdown" then
  2937. local hum=hit.Parent.Humanoid
  2938. hum.PlatformStand=true
  2939. coroutine.resume(coroutine.create(function(HHumanoid)
  2940. swait(1)
  2941. HHumanoid.PlatformStand=false
  2942. end),hum)
  2943. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  2944. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  2945. local bodvol=Instance.new("BodyVelocity")
  2946. bodvol.velocity=angle*knockback
  2947. bodvol.P=5000
  2948. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  2949. bodvol.Parent=hit
  2950. local rl=Instance.new("BodyAngularVelocity")
  2951. rl.P=3000
  2952. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  2953. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  2954. rl.Parent=hit
  2955. game:GetService("Debris"):AddItem(bodvol,.5)
  2956. game:GetService("Debris"):AddItem(rl,.5)
  2957. elseif Type=="Normal" then
  2958. local vp=Instance.new("BodyVelocity")
  2959. vp.P=500
  2960. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  2961. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  2962. if KnockbackType==1 then
  2963. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  2964. elseif KnockbackType==2 then
  2965. vp.velocity=Property.CFrame.lookVector*knockback
  2966. end
  2967. if knockback>0 then
  2968. vp.Parent=hit.Parent.Torso
  2969. end
  2970. game:GetService("Debris"):AddItem(vp,.5)
  2971. elseif Type=="Up" then
  2972. local bodyVelocity=Instance.new("BodyVelocity")
  2973. bodyVelocity.velocity=vt(0,60,0)
  2974. bodyVelocity.P=5000
  2975. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  2976. bodyVelocity.Parent=hit
  2977. game:GetService("Debris"):AddItem(bodyVelocity,1)
  2978. local rl=Instance.new("BodyAngularVelocity")
  2979. rl.P=3000
  2980. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  2981. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  2982. rl.Parent=hit
  2983. game:GetService("Debris"):AddItem(rl,.5)
  2984. elseif Type=="Snare" then
  2985. local bp=Instance.new("BodyPosition")
  2986. bp.P=2000
  2987. bp.D=100
  2988. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  2989. bp.position=hit.Parent.Torso.Position
  2990. bp.Parent=hit.Parent.Torso
  2991. game:GetService("Debris"):AddItem(bp,1)
  2992. elseif Type=="Target" then
  2993. local Targetting = false
  2994. if Targetting==false then
  2995. ZTarget=hit.Parent.Torso
  2996. coroutine.resume(coroutine.create(function(Part)
  2997. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  2998. swait(5)
  2999. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  3000. end),ZTarget)
  3001. local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  3002. local targetgui=Instance.new("BillboardGui")
  3003. targetgui.Parent=ZTarget
  3004. targetgui.Size=UDim2.new(10,100,10,100)
  3005. local targ=Instance.new("ImageLabel")
  3006. targ.Parent=targetgui
  3007. targ.BackgroundTransparency=1
  3008. targ.Image="rbxassetid://4834067"
  3009. targ.Size=UDim2.new(1,0,1,0)
  3010. cam.CameraType="Scriptable"
  3011. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  3012. local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  3013. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  3014. Targetting=true
  3015. RocketTarget=ZTarget
  3016. for i=1,Property do
  3017. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  3018. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  3019. swait()
  3020. end
  3021. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  3022. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  3023. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  3024. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  3025. end
  3026. Targetting=false
  3027. RocketTarget=nil
  3028. targetgui.Parent=nil
  3029. cam.CameraType="Custom"
  3030. end
  3031. end
  3032. local debounce=Instance.new("BoolValue")
  3033. debounce.Name="DebounceHit"
  3034. debounce.Parent=hit.Parent
  3035. debounce.Value=true
  3036. game:GetService("Debris"):AddItem(debounce,Delay)
  3037. c=Instance.new("ObjectValue")
  3038. c.Name="creator"
  3039. c.Value=Player
  3040. c.Parent=h
  3041. game:GetService("Debris"):AddItem(c,.5)
  3042. end
  3043. end
  3044.  
  3045.  
  3046. function ShowDamage(Pos, Text, Time, Color)
  3047. local Rate = (1 / 30)
  3048. local Pos = (Pos or Vector3.new(0, 0, 0))
  3049. local Text = (Text or "")
  3050. local Time = (Time or 2)
  3051. local Color = (Color or Color3.new(1, 0, 0))
  3052. local EffectPart = part("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
  3053. EffectPart.Anchored = true
  3054. local BillboardGui = Instance.new("BillboardGui")
  3055. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  3056. BillboardGui.Adornee = EffectPart
  3057. local TextLabel = Instance.new("TextLabel")
  3058. TextLabel.BackgroundTransparency = 1
  3059. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  3060. TextLabel.Text = Text
  3061. TextLabel.TextColor3 = Color
  3062. TextLabel.TextScaled = true
  3063. TextLabel.Font = Enum.Font.ArialBold
  3064. TextLabel.Parent = BillboardGui
  3065. BillboardGui.Parent = EffectPart
  3066. game.Debris:AddItem(EffectPart, (Time + 0.1))
  3067. EffectPart.Parent = game:GetService("Workspace")
  3068. Delay(0, function()
  3069. local Frames = (Time / Rate)
  3070. for Frame = 1, Frames do
  3071. wait(Rate)
  3072. local Percent = (Frame / Frames)
  3073. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  3074. TextLabel.TextTransparency = Percent
  3075. end
  3076. if EffectPart and EffectPart.Parent then
  3077. EffectPart:Destroy()
  3078. end
  3079. end)
  3080. end
  3081.  
  3082. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Handle",Vector3.new(0.34799999, 2.78399992, 0.34799999))
  3083. handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.00324273, 0.013961792, -0.00828075409, -1.38366803e-013, -0.999999881, 4.25688995e-009, 2.4656245e-007, -4.25688951e-009, -1, 1, -1.373172e-013, 2.4656245e-007))
  3084. mesh("CylinderMesh",handle,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  3085. Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"New Yeller","Hitbox",Vector3.new(1.04400003, 6.35600042, 0.600000024))
  3086. Hitboxweld=weld(m,handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000308990479, -5.48094559, -2.00271606e-005, 1, 6.10120843e-011, -1.08637464e-014, -6.10120843e-011, 1, 7.57154339e-011, 1.08637574e-014, -7.57154339e-011, 1))
  3087. mesh("BlockMesh",Hitbox,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983))
  3088. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  3089. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -0.00242900848, 2.16260338, 1.38366803e-013, -2.4656245e-007, -1, -0.999999702, -4.25688862e-009, -1.37317173e-013, -4.25688862e-009, 0.999999702, -2.46562365e-007))
  3090. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903))
  3091. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  3092. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.90548706, -0.270383835, 1.38366803e-013, -2.4656245e-007, -1, -0.707106292, 0.707106471, -1.74345999e-007, 0.707106471, 0.707106292, -1.74345757e-007))
  3093. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996))
  3094. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Really black","Part",Vector3.new(0.200000003, 0.34799999, 0.812000036))
  3095. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000484466553, -0.232157588, -1.08489037, -1.6391111e-007, -2.91180186e-007, -0.999989986, -0.999989986, 2.34624395e-007, 1.63911025e-007, 2.34622007e-007, 1, -2.91177315e-007))
  3096. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.628719985, 1, 1))
  3097. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  3098. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.1207962, -1.77352905, -1.94793994e-008, -1.96046472e-007, -1, 0.707106471, 0.707106292, -1.52399679e-007, 0.707106292, -0.707106471, 1.24851695e-007))
  3099. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903))
  3100. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.812000036, 0.591600001))
  3101. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000144004822, -7.46494102, -8.79764557e-005, 4.47029542e-008, 2.42425131e-007, 0.999980867, -2.50834205e-007, 1, -2.42420526e-007, -0.999980867, -2.5083898e-007, 4.47030146e-008))
  3102. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.628719985, 1, 1))
  3103. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  3104. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0605430603, -4.62282181, 0.00242900848, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
  3105. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.190239996, 0.25752002, 0.723839939))
  3106. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  3107. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.90548706, -0.270383835, 1.38366803e-013, -2.4656245e-007, -1, -0.707106292, 0.707106471, -1.74345999e-007, 0.707106471, 0.707106292, -1.74345757e-007))
  3108. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996))
  3109. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999))
  3110. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.232713461, -1.89698601, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463))
  3111. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  3112. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.231999993, 0.200000003, 0.34799999))
  3113. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.174778461, -1.66498375, 9.53674316e-006, 1, -2.34479103e-012, -1.42102626e-014, 2.34479103e-012, 1, -2.89901436e-012, 2.04982668e-014, 2.89901436e-012, 1))
  3114. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.580000103, 1))
  3115. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(1.04400003, 4.75600052, 0.200000003))
  3116. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000287055969, -4.68094635, -3.14712524e-005, 0.999985695, 6.10369533e-011, -1.79689095e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689129e-014, -7.57438556e-011, 0.999985695))
  3117. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983))
  3118. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  3119. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.055480957, 0.00242888927, 4.62282181, 1.38366803e-013, -2.4656245e-007, -1, 0.999999881, 1.91580511e-008, 1.33643137e-013, 1.91580511e-008, -0.999999881, 2.46562422e-007))
  3120. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.230839998, 0.200680032, 2.79675961))
  3121. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.579999983, 0.812000036, 0.200000003))
  3122. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.58329582, -0.00271689892, 0.00253105164, -7.87626959e-008, 0.999999642, -2.45072926e-007, -0.999999464, 8.51500772e-008, -4.54507015e-010, 1.08588507e-008, 2.02850984e-007, 0.999999642))
  3123. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.798079908, 0.843320072, 0.58927989))
  3124. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  3125. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.91083908, -0.265031815, 1.38366803e-013, -2.4656245e-007, -1, -0.70710659, -0.707106471, 1.743458e-007, -0.707106471, 0.70710659, -1.74346027e-007))
  3126. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996))
  3127. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  3128. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.11735535, -1.77697182, 5.58765407e-008, -2.23627353e-007, -1, 0.707106352, -0.707106411, 1.97639011e-007, -0.707106411, -0.707106352, 1.18617642e-007))
  3129. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903))
  3130. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  3131. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.21653748, 2.8604393, 1.38366803e-013, -2.4656245e-007, -1, 0.707106769, 0.707106709, -1.74345857e-007, 0.707106709, -0.707106769, 1.74346084e-007))
  3132. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996))
  3133. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  3134. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.91083908, -0.265031815, 1.38366803e-013, -2.4656245e-007, -1, -0.70710659, -0.707106471, 1.743458e-007, -0.707106471, 0.70710659, -1.74346027e-007))
  3135. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996))
  3136. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995))
  3137. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00553905964, -0.620464325, 0.00238800049, 0.999994755, 4.21545732e-009, 1.69303116e-013, -4.2154511e-009, 1, -2.46550314e-007, -1.77448632e-013, 2.46551593e-007, 0.999994755))
  3138. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  3139. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  3140. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.12079048, -0.461172104, -1.20904753e-008, -2.04617493e-007, -1, 0.70710665, 0.70710659, -1.53235618e-007, 0.70710659, -0.70710665, 1.36137132e-007))
  3141. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903))
  3142. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.812000036, 0.200000003, 0.579999983))
  3143. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.58329773, -0.00251197815, 0.00270497799, 4.25687707e-009, -1, 2.46565747e-007, 1.65165096e-013, -2.46565747e-007, -1, 1, 4.25687707e-009, 1.64115493e-013))
  3144. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.526639998, 1))
  3145. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.200000003, 0.812000036, 0.34799999))
  3146. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.294445038, 1.4429245, 0.00253105164, 0.965925753, -0.258819014, 6.3815186e-008, 0.258819014, 0.965925753, -2.38160979e-007, -1.38366803e-013, 2.4656245e-007, 1))
  3147. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  3148. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  3149. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.12079048, -0.461172104, -1.20904753e-008, -2.04617493e-007, -1, 0.70710665, 0.70710659, -1.53235618e-007, 0.70710659, -0.70710665, 1.36137132e-007))
  3150. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903))
  3151. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  3152. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0605430603, -4.62282181, 0.00242900848, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
  3153. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.229680017, 0.249400035, 0.650759876))
  3154. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  3155. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.90548706, -0.270383835, 1.38366803e-013, -2.4656245e-007, -1, -0.707106292, 0.707106471, -1.74345999e-007, 0.707106471, 0.707106292, -1.74345757e-007))
  3156. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996))
  3157. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999))
  3158. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28609848, -1.26961899, 0.00253105164, 0.707106709, -0.707106769, 1.74346084e-007, 0.707106769, 0.707106709, -1.74345857e-007, -1.38366803e-013, 2.4656245e-007, 1))
  3159. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  3160. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.21653748, 2.8604393, 1.38366803e-013, -2.4656245e-007, -1, 0.707106769, 0.707106709, -1.74345857e-007, 0.707106709, -0.707106769, 1.74346084e-007))
  3161. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996))
  3162. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  3163. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.21997452, 2.85700226, 1.38366803e-013, -2.4656245e-007, -1, 0.70710659, -0.70710665, 1.74346042e-007, -0.70710665, -0.70710659, 1.74345828e-007))
  3164. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996))
  3165. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  3166. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, 1.162413, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
  3167. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996))
  3168. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  3169. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, 1.162413, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
  3170. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996))
  3171. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  3172. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.11734962, -0.464616776, 4.62869565e-008, -2.3199955e-007, -1, 0.707106471, -0.70710659, 1.96778231e-007, -0.70710659, -0.707106471, 1.31318558e-007))
  3173. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903))
  3174. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.579999983, 0.200000003, 0.34799999))
  3175. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000606894493, -1.54850197, -4.76837158e-006, 1, -2.34479103e-012, -1.42102626e-014, 2.34479103e-012, 1, -2.89901436e-012, 2.04982668e-014, 2.89901436e-012, 1))
  3176. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  3177. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  3178. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, -1.15753412, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
  3179. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996))
  3180. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999))
  3181. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.23126626, -1.89697075, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463))
  3182. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.580000222, 1, 1))
  3183. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999))
  3184. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.859739304, -1.87621498, 0.00253105164, 0.70710659, 0.70710659, -1.74345828e-007, -0.70710659, 0.70710659, -1.74346027e-007, -1.38366803e-013, 2.4656245e-007, 1))
  3185. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999))
  3186. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.58202362, 0.00305497646, 0.00253105164, 1.91577065e-008, -1, 2.46562593e-007, 0.999994159, 1.91577474e-008, -8.742213e-008, 4.37109904e-008, 2.46561086e-007, 0.999994159))
  3187. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  3188. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  3189. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.58260727, -0.577546716, 1.38366803e-013, -2.4656245e-007, -1, -3.40592123e-008, 0.999999821, -2.46562394e-007, 0.999999821, 3.40592123e-008, 1.29969047e-013))
  3190. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903))
  3191. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.44659999, 0.69599998, 0.371199995))
  3192. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00555098057, -1.02645874, 0.00238800049, 0.999994278, 4.2154551e-009, 1.69303035e-013, -4.21544888e-009, 0.999999523, -2.46550201e-007, -1.77448632e-013, 2.46551593e-007, 0.999994755))
  3193. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  3194. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  3195. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -0.0024292469, 2.16260338, 1.38366803e-013, -2.4656245e-007, -1, -0.999999702, -6.38615347e-008, -1.22620908e-013, -6.38615347e-008, 0.999999702, -2.46562365e-007))
  3196. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903))
  3197. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.200000003, 0.463999987, 0.34799999))
  3198. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000650644302, -1.8385067, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463))
  3199. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  3200. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.200000003, 4.75600052, 0.200000003))
  3201. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000156164169, -4.68094444, -0.000274658203, 0.999971211, 5.13775689e-011, -1.44165397e-014, -5.13864507e-011, 1, 6.64499566e-011, 8.34828473e-015, -6.64783784e-011, 0.999971211))
  3202. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.580000401, 1, 0.69599992))
  3203. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  3204. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.21997452, 2.85700226, 1.38366803e-013, -2.4656245e-007, -1, 0.70710659, -0.70710665, 1.74346042e-007, -0.70710665, -0.70710659, 1.74345828e-007))
  3205. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996))
  3206. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  3207. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0605430603, 0.00242888927, 4.62282181, 1.38366803e-013, -2.4656245e-007, -1, 0.999999881, 1.91580511e-008, 1.33643137e-013, 1.91580511e-008, -0.999999881, 2.46562422e-007))
  3208. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.230839998, 0.200680032, 2.79675961))
  3209. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  3210. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, -1.15753412, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
  3211. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996))
  3212. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  3213. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, -1.15753412, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
  3214. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996))
  3215. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.200000003, 0.231999993, 0.200000003))
  3216. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000268936157, -7.1749382, -0.000166773796, -2.98020346e-008, 2.42384317e-007, 0.999980867, -2.50883971e-007, 1, -2.42379713e-007, -0.999980867, -2.50888746e-007, -2.98019742e-008))
  3217. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.698320508, 1.00999999, 0.590207934))
  3218. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.44659999, 1.15999997, 0.371199995))
  3219. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00572288036, 0.249307632, 0.00253105164, 0.999997973, 4.25688151e-009, 1.37316929e-013, -4.25688196e-009, 0.999998093, -2.46561967e-007, -1.38366789e-013, 2.46562422e-007, 0.999999881))
  3220. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  3221. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995))
  3222. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00575697422, 1.22929001, 0.00253105164, 1, 4.25689928e-009, 1.49599246e-013, -4.25689928e-009, 1, -2.46565691e-007, -1.50648848e-013, 2.46565691e-007, 1))
  3223. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  3224. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  3225. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.11734962, -0.464616776, 4.62869565e-008, -2.3199955e-007, -1, 0.707106471, -0.70710659, 1.96778231e-007, -0.70710659, -0.707106471, 1.31318558e-007))
  3226. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903))
  3227. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.579999983, 0.34799999))
  3228. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.347447634, -1.78050041, 0.000102043152, 0.999989986, 6.10373974e-011, -1.79689739e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999989986))
  3229. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  3230. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  3231. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.21653748, 2.8604393, 1.38366803e-013, -2.4656245e-007, -1, 0.707106769, 0.707106709, -1.74345857e-007, 0.707106709, -0.707106769, 1.74346084e-007))
  3232. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996))
  3233. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  3234. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.055480957, -4.62282181, 0.00242900848, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
  3235. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.229680017, 0.249400035, 0.650759876))
  3236. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.696000099, 0.231999993, 0.34799999))
  3237. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.872640967, -2.18717003, 0.00248718262, 1, 4.25688995e-009, 1.37317214e-013, -4.25688995e-009, 1, -2.4656245e-007, -1.38366803e-013, 2.4656245e-007, 1))
  3238. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  3239. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.91083908, -0.265031815, 1.38366803e-013, -2.4656245e-007, -1, -0.70710659, -0.707106471, 1.743458e-007, -0.707106471, 0.70710659, -1.74346027e-007))
  3240. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996))
  3241. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  3242. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, 1.162413, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
  3243. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996))
  3244. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(0.200000003, 1.50800002, 1.04400003))
  3245. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.53131104e-005, -7.8129406, 0.00018453598, 4.47029258e-008, 2.42408902e-007, 0.999980867, -2.50858221e-007, 1, -2.42404298e-007, -0.999980867, -2.50863025e-007, 4.47029933e-008))
  3246. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.581159949, 1, 1))
  3247. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999))
  3248. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000666975975, -2.18694496, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463))
  3249. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  3250. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.11735535, -1.77697182, 5.58765407e-008, -2.23627353e-007, -1, 0.707106352, -0.707106411, 1.97639011e-007, -0.707106411, -0.707106352, 1.18617642e-007))
  3251. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903))
  3252. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.231999993, 0.200000003, 0.34799999))
  3253. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.173270226, -1.66498375, 0.0001039505, 0.999997854, 6.10373974e-011, -1.7969128e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79691145e-014, -7.57154339e-011, 0.999997854))
  3254. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.580000103, 1))
  3255. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  3256. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.58260727, 0.582428694, -3.71006301e-008, -2.2971102e-007, -1, 2.55454324e-008, 0.999999821, -2.29710963e-007, 0.999999821, -2.55454431e-008, -3.71006159e-008))
  3257. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903))
  3258. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999))
  3259. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.863862991, -1.87209129, 0.00253105164, 0.70710659, -0.70710659, 1.74346027e-007, 0.70710659, 0.70710659, -1.74345828e-007, -1.38366803e-013, 2.4656245e-007, 1))
  3260. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  3261. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.58260727, -0.577546716, 1.38366803e-013, -2.4656245e-007, -1, -3.40592123e-008, 0.999999821, -2.46562394e-007, 0.999999821, 3.40592123e-008, 1.29969047e-013))
  3262. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903))
  3263. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  3264. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.21997452, 2.85700226, 1.38366803e-013, -2.4656245e-007, -1, 0.70710659, -0.70710665, 1.74346042e-007, -0.70710665, -0.70710659, 1.74345828e-007))
  3265. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996))
  3266. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.580000043, 4.75600052, 0.200000003))
  3267. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0001963377, -4.68094635, -9.53674316e-005, 0.999990404, 6.10373974e-011, -1.79689874e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57154339e-011, 0.999990404))
  3268. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.638000011))
  3269. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999))
  3270. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.28197098, -1.27374649, 0.00253105164, 0.707106709, 0.707106769, -1.74345885e-007, -0.707106769, 0.707106709, -1.74346056e-007, -1.38366803e-013, 2.4656245e-007, 1))
  3271. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999))
  3272. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.116648793, -1.89650726, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463))
  3273. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  3274. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  3275. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.58260727, 0.582428694, -3.71006301e-008, -2.2971102e-007, -1, 2.55454324e-008, 0.999999821, -2.29710963e-007, 0.999999821, -2.55454431e-008, -3.71006159e-008))
  3276. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903))
  3277. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995))
  3278. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00563848019, -0.388711929, 0.00253295898, 0.99999404, 4.25686464e-009, 1.37316401e-013, -4.25686508e-009, 0.999994159, -2.46561001e-007, -1.38366789e-013, 2.46562422e-007, 0.999999881))
  3279. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  3280. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799999, 0.34799999, 0.200000003))
  3281. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.58329582, -0.00271689892, 0.00253105164, -7.87626959e-008, 0.999999642, -2.45072926e-007, -0.999999464, 8.51500772e-008, -4.54507015e-010, 1.08588507e-008, 2.02850984e-007, 0.999999642))
  3282. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.595080018, 0.683239937))
  3283. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  3284. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0605430603, 0.00242888927, 4.62282181, 1.38366803e-013, -2.4656245e-007, -1, 0.999999881, 1.91580511e-008, 1.33643137e-013, 1.91580511e-008, -0.999999881, 2.46562422e-007))
  3285. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.190239996, 0.25752002, 2.79675961))
  3286. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.231999993, 0.34799999))
  3287. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.347726822, -1.60689163, -9.05990601e-005, 0.99999994, 6.59379218e-011, -1.80878482e-014, -6.59667876e-011, 1, -5.95150595e-011, 2.41627922e-014, 5.94866378e-011, 0.99999994))
  3288. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.580000103, 1, 1))
  3289. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  3290. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.1207962, -1.77352905, -1.94793994e-008, -1.96046472e-007, -1, 0.707106471, 0.707106292, -1.52399679e-007, 0.707106292, -0.707106471, 1.24851695e-007))
  3291. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903))
  3292. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.696000099, 0.231999993, 0.34799999))
  3293. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.870689273, -2.18681908, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463))
  3294. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Really black","Part",Vector3.new(0.200000003, 0.34799999, 0.812000036))
  3295. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000425338745, -0.231835961, -1.08489037, -4.08055101e-009, 2.02203083e-007, 0.99999994, 0.99999994, 2.42933169e-007, 4.08050749e-009, -2.42933169e-007, 1, -2.02203097e-007))
  3296. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.628719985, 1, 1))
  3297. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.812000036, 0.200000003, 0.812000036))
  3298. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.58329773, -0.00251197815, 0.00270497799, 4.25687707e-009, -1, 2.46565747e-007, 1.65165096e-013, -2.46565747e-007, -1, 1, 4.25687707e-009, 1.64115493e-013))
  3299. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.444280028, 1))
  3300. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  3301. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.055480957, -4.62282181, 0.00242900848, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
  3302. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.190239996, 0.25752002, 0.723839939))
  3303. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995))
  3304. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00563395023, 0.887273788, 0.00253295898, 0.999990106, 4.25684776e-009, 1.37315859e-013, -4.25684821e-009, 0.999990225, -2.46560035e-007, -1.38366789e-013, 2.46562422e-007, 0.999999881))
  3305. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  3306. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999))
  3307. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.348541379, -1.89650154, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463))
  3308. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  3309. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.579999983, 0.812000036, 0.200000003))
  3310. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.58329582, -0.00271689892, 0.00253105164, -7.87626959e-008, 0.999999642, -2.45072926e-007, -0.999999464, 8.51500772e-008, -4.54507015e-010, 1.08588507e-008, 2.02850984e-007, 0.999999642))
  3311. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.835199952, 0.808520079, 0.58927989))
  3312. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995))
  3313. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00555217266, -1.43245697, 0.00238800049, 0.999993682, 4.21545243e-009, 1.69302926e-013, -4.21544666e-009, 0.999998927, -2.46550059e-007, -1.77448618e-013, 2.46551593e-007, 0.999994755))
  3314. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  3315. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999))
  3316. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.115347862, -1.89650726, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463))
  3317. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  3318. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  3319. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.055480957, 0.00242888927, 4.62282181, 1.38366803e-013, -2.4656245e-007, -1, 0.999999881, 1.91580511e-008, 1.33643137e-013, 1.91580511e-008, -0.999999881, 2.46562422e-007))
  3320. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.190239996, 0.25752002, 2.79675961))
  3321. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.200000003, 0.812000036, 0.34799999))
  3322. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.300365448, 1.44133759, 0.00253105164, 0.965925753, 0.258819014, -6.3814916e-008, -0.258819014, 0.965925753, -2.38161064e-007, -1.38366803e-013, 2.4656245e-007, 1))
  3323. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  3324.  
  3325. local Lite = it("PointLight",Torso)
  3326. Lite.Color = Color3.new(255, 255, 0)
  3327. Lite.Range = 8
  3328. Lite.Brightness = 10
  3329. Lite.Shadows = true
  3330.  
  3331. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  3332. local prt=part("Custom",workspace,"Neon",0,0,"New Yeller","Effect",vt(0.5,0.5,0.5))
  3333. prt.Anchored=true
  3334. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3335. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  3336. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  3337. CF=Part.CFrame
  3338. Numbb=0
  3339. randnumb=math.random()-math.random()
  3340. for i=0,1,0.05 do
  3341. wait()
  3342. CF=CF*cf(0,1,0)
  3343. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  3344. Part.CFrame=CF*euler(Numbb,0,0)
  3345. Part.Transparency=i
  3346. Numbb=Numbb+randnumb
  3347. end
  3348. Part.Parent=nil
  3349. end),prt)
  3350. end
  3351. --BreakEffect(BrickColor.new("New Yeller"),Hitbox.CFrame,0.5,math.random(5,20),0.5)
  3352.  
  3353. function attackone()
  3354. attack=true
  3355. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  3356. for i=0,1,0.1 do
  3357. swait()
  3358. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(120),math.rad(0),math.rad(20)),.3)
  3359. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3)
  3360. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3361. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3362. handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(70),math.rad(-10),math.rad(0)),.3)
  3363. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  3364. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3)
  3365. end
  3366. so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,1)
  3367. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,1)
  3368. hitconasdf = Hitbox.Touched:connect(function(hit)
  3369. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  3370. if hum12 and not hum12:IsDescendantOf(Character) then
  3371. so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
  3372. for i = 1,10 do
  3373. BreakEffect(BrickColor.new("New Yeller"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  3374. end
  3375. hitconasdf:disconnect()
  3376. end
  3377. end)
  3378. for i=0,1,0.1 do
  3379. swait()
  3380. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  3381. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  3382. local h = 5
  3383. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  3384. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3385. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  3386. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3387. scfr = blcf
  3388. elseif not scfr then
  3389. scfr = blcf
  3390. end
  3391. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(110),math.rad(-90),math.rad(20)),.3)
  3392. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
  3393. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3394. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3395. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-60),math.rad(-10),math.rad(0)),.3)
  3396. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  3397. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
  3398. end
  3399. attack=false
  3400. con:disconnect()
  3401. scfr = nil
  3402. pcall(function()
  3403. hitconasdf:disconnect()
  3404. end)
  3405. end
  3406.  
  3407. function attacktwo()
  3408. attack=true
  3409. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  3410. for i=0,1,0.1 do
  3411. swait()
  3412. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(90)),.3)
  3413. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
  3414. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3415. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3416. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-30),math.rad(-10),math.rad(0)),.3)
  3417. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(70)),.3)
  3418. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
  3419. end
  3420. so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,.9)
  3421. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,.9)
  3422. hitconasdf = Hitbox.Touched:connect(function(hit)
  3423. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  3424. if hum12 and not hum12:IsDescendantOf(Character) then
  3425. so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
  3426. for i = 1,10 do
  3427. BreakEffect(BrickColor.new("New Yeller"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  3428. end
  3429. hitconasdf:disconnect()
  3430. end
  3431. end)
  3432. for i=0,1,0.1 do
  3433. swait()
  3434. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  3435. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  3436. local h = 5
  3437. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  3438. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3439. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  3440. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3441. scfr = blcf
  3442. elseif not scfr then
  3443. scfr = blcf
  3444. end
  3445. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-50),math.rad(90)),.3)
  3446. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3)
  3447. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3448. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3449. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-50),math.rad(10),math.rad(0)),.3)
  3450. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  3451. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3)
  3452. end
  3453. attack=false
  3454. con:disconnect()
  3455. scfr = nil
  3456. pcall(function()
  3457. hitconasdf:disconnect()
  3458. end)
  3459. end
  3460.  
  3461. function Stab()
  3462. attack=true
  3463. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  3464. for i=0,1,0.1 do
  3465. swait()
  3466. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  3467. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(60)),.3)
  3468. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(20),math.rad(90)),.3)
  3469. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-20),math.rad(-90)),.3)
  3470. LH.C0=clerp(LH.C0,cf(-1,-.9,0)*angles(math.rad(0),math.rad(-60),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3471. RH.C0=clerp(RH.C0,cf(1,-.9,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3472. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  3473. end
  3474. hitconasdf = Hitbox.Touched:connect(function(hit)
  3475. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  3476. if hum12 and not hum12:IsDescendantOf(Character) then
  3477. so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
  3478. for i = 1,10 do
  3479. BreakEffect(BrickColor.new("New Yeller"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  3480. end
  3481. hitconasdf:disconnect()
  3482. end
  3483. end)
  3484. so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,.9)
  3485. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,.9)
  3486. for i=0,1,0.1 do
  3487. swait()
  3488. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  3489. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  3490. local h = 5
  3491. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  3492. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3493. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  3494. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3495. scfr = blcf
  3496. elseif not scfr then
  3497. scfr = blcf
  3498. end
  3499. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  3500. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-80)),.4)
  3501. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  3502. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.4)
  3503. LH.C0=clerp(LH.C0,cf(-1,-.9,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.4)
  3504. RH.C0=clerp(RH.C0,cf(1,-.9,0)*angles(math.rad(0),math.rad(60),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.4)
  3505. handleweld.C0=clerp(handleweld.C0,cf(0,-1,-1)*angles(math.rad(-90),math.rad(0),math.rad(0)),.4)
  3506. end
  3507. con:disconnect()
  3508. attack=false
  3509. scfr = nil
  3510. pcall(function()
  3511. hitconasdf:disconnect()
  3512. end)
  3513. end
  3514.  
  3515. function Spin()
  3516. attack=true
  3517. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  3518. hitconasdf = Hitbox.Touched:connect(function(hit)
  3519. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  3520. if hum12 and not hum12:IsDescendantOf(Character) then
  3521. so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
  3522. for i = 1,10 do
  3523. BreakEffect(BrickColor.new("New Yeller"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  3524. end
  3525. hitconasdf:disconnect()
  3526. end
  3527. end)
  3528. for i=0,1,1 do
  3529. so("http://roblox.com/asset/?id=154965962",Hitbox,1,1)
  3530. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,1)
  3531. swait()
  3532. for i=0,1,0.1 do
  3533. swait()
  3534. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  3535. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  3536. local h = 5
  3537. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  3538. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3539. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  3540. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3541. scfr = blcf
  3542. elseif not scfr then
  3543. scfr = blcf
  3544. end
  3545. RW.C0=clerp(RW.C0,cf(1,0.5,-.5)*angles(math.rad(90),math.rad(0),math.rad(-50)),.3)
  3546. LW.C0=clerp(LW.C0,cf(-1,0.5,-.5)*angles(math.rad(90),math.rad(0),math.rad(50)),.3)
  3547. LH.C0=clerp(LH.C0,cf(-1,-.5,-1)*angles(math.rad(-20),math.rad(-90),math.rad(0)),.3)
  3548. RH.C0=clerp(RH.C0,cf(1,-.5,-1)*angles(math.rad(-20),math.rad(90),math.rad(0)),.3)
  3549. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5)*euler(6*i,0,0),.5)
  3550. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(30)),1)
  3551. end
  3552. end
  3553. attack=false
  3554. con:disconnect()
  3555. scfr = nil
  3556. pcall(function()
  3557. hitconasdf:disconnect()
  3558. end)
  3559. end
  3560.  
  3561. function ContAttack()
  3562. attack=true
  3563. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  3564. hitconasdf = Hitbox.Touched:connect(function(hit)
  3565. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  3566. if hum12 and not hum12:IsDescendantOf(Character) then
  3567. so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
  3568. for i = 1,10 do
  3569. BreakEffect(BrickColor.new("New Yeller"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  3570. end
  3571. hitconasdf:disconnect()
  3572. end
  3573. end)
  3574. for i=1,4 do
  3575. swait()
  3576. for i=0,1,0.2 do
  3577. swait()
  3578. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(120),math.rad(0),math.rad(20)),.3)
  3579. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3)
  3580. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3581. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3582. handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(70),math.rad(-10),math.rad(0)),.3)
  3583. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  3584. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3)
  3585. end
  3586. so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,1)
  3587. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,1)
  3588. for i=0,1,0.2 do
  3589. swait()
  3590. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  3591. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  3592. local h = 5
  3593. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  3594. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3595. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  3596. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3597. scfr = blcf
  3598. elseif not scfr then
  3599. scfr = blcf
  3600. end
  3601. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(110),math.rad(-90),math.rad(20)),.3)
  3602. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
  3603. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3604. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3605. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-60),math.rad(-10),math.rad(0)),.3)
  3606. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  3607. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
  3608. end
  3609. for i=0,1,0.2 do
  3610. swait()
  3611. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(90)),.3)
  3612. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
  3613. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3614. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3615. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-30),math.rad(-10),math.rad(0)),.3)
  3616. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(70)),.3)
  3617. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
  3618. end
  3619. so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,.9)
  3620. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,.9)
  3621. for i=0,1,0.2 do
  3622. swait()
  3623. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  3624. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  3625. local h = 5
  3626. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  3627. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3628. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  3629. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  3630. scfr = blcf
  3631. elseif not scfr then
  3632. scfr = blcf
  3633. end
  3634. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-50),math.rad(90)),.3)
  3635. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3)
  3636. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3637. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3638. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-50),math.rad(10),math.rad(0)),.3)
  3639. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  3640. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3)
  3641. end
  3642. end
  3643. attack=false
  3644. con:disconnect()
  3645. scfr = nil
  3646. pcall(function()
  3647. hitconasdf:disconnect()
  3648. end)
  3649. end
  3650.  
  3651.  
  3652. function Sheathe()
  3653. attack = true
  3654. so("http://www.roblox.com/asset/?id=273797222",Hitbox,1,.9)
  3655. CurrentMode = "Sheathed"
  3656. for i = 0,1,0.1 do
  3657. swait()
  3658. handleweld.Part0 = Torso
  3659. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3660. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.3)
  3661. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(190),math.rad(0),math.rad(0)),.3)
  3662. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(20),math.rad(-10)),.3)
  3663. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3664. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3665. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  3666. end
  3667. attack = false
  3668. end
  3669.  
  3670. function Unsheathe()
  3671. attack = true
  3672. CurrentMode = "Unsheathed"
  3673. so("http://www.roblox.com/asset/?id=239169404",Hitbox,1,.9)
  3674. for i = 0,1,0.1 do
  3675. swait()
  3676. handleweld.Part0 = RightArm
  3677. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  3678. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  3679. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(200),math.rad(0),math.rad(0)),.3)
  3680. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(-30),math.rad(-30)),.3)
  3681. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3682. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3683. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.3)
  3684. end
  3685. scfr = nil
  3686. attack = false
  3687. end
  3688.  
  3689. local Sit = false
  3690.  
  3691. mouse.Button1Down:connect(function()
  3692. if attack==false then
  3693. if attacktype==1 and CurrentMode == "Unsheathed" then
  3694. attack=true
  3695. attacktype=2
  3696. attackone()
  3697. elseif attacktype==2 and CurrentMode == "Unsheathed" then
  3698. attack=true
  3699. attacktype=1
  3700. attacktwo()
  3701. end
  3702. end
  3703. end)
  3704.  
  3705.  
  3706. mouse.KeyDown:connect(function(k)
  3707. k=k:lower()
  3708. if k=='q' then
  3709. if attack==false and CurrentMode == "Unsheathed" then
  3710. Stab()
  3711. end
  3712. elseif k=='e' then
  3713. if attack==false and CurrentMode == "Unsheathed" then
  3714. Spin()
  3715. end
  3716. elseif k=='r' then
  3717. if attack==false and CurrentMode == "Unsheathed" then
  3718. ContAttack()
  3719. end
  3720. elseif k=='f' then
  3721. if attack==false and CurrentMode == "Unsheathed" then
  3722. Sheathe()
  3723. elseif k=='f' then
  3724. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  3725. Unsheathe()
  3726. end
  3727. end
  3728. elseif k=='t' then
  3729. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  3730. Sit = true
  3731. Humanoid.WalkSpeed = 0
  3732. elseif k=='t' then
  3733. if attack==false and Sit == true and CurrentMode == "Sheathed" then
  3734. Sit = false
  3735. Humanoid.WalkSpeed = 16
  3736. end
  3737. end
  3738.  
  3739. end
  3740. end)
  3741.  
  3742.  
  3743. local sine = 0
  3744. local change = 1
  3745. local val = 0
  3746.  
  3747. while true do
  3748. swait()
  3749. sine = sine + change
  3750. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  3751. local velderp=RootPart.Velocity.y
  3752. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  3753. if equipped==true or equipped==false then
  3754. if attack==false then
  3755. idle=idle+1
  3756. else
  3757. idle=0
  3758. end
  3759. if idle>=500 then
  3760. if attack==false then
  3761. end
  3762. end
  3763. if RootPart.Velocity.y > 1 and hitfloor==nil then
  3764. Anim="Jump"
  3765. if attack==false and Sit == false and CurrentMode == "Unsheathed" then
  3766. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3767. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  3768. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(50),math.rad(0),math.rad(30)),.3)
  3769. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-40),math.rad(5),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3770. LH.C0=clerp(LH.C0,cf(-1,-.5,-1)*angles(math.rad(-20),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3771. handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(-10),math.rad(0)),.3)
  3772. end
  3773. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  3774. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  3775. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  3776. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(30)),.3)
  3777. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-30)),.3)
  3778. LH.C0=clerp(LH.C0,cf(-1,-1,-.2)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  3779. RH.C0=clerp(RH.C0,cf(1,-1,-.2)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  3780. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  3781. end
  3782. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  3783. Anim="Fall"
  3784. if attack==false and Sit == false and CurrentMode == "Unsheathed" then
  3785. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  3786. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  3787. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-5),math.rad(0),math.rad(20)),.3)
  3788. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-40),math.rad(5),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3789. LH.C0=clerp(LH.C0,cf(-1,-.5,-1)*angles(math.rad(-20),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3790. handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(-10),math.rad(0)),.3)
  3791. end
  3792. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  3793. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  3794. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  3795. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(50)),.3)
  3796. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-50)),.3)
  3797. LH.C0=clerp(LH.C0,cf(-1,-.5,-.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  3798. RH.C0=clerp(RH.C0,cf(1,-1,-.5)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  3799. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  3800. end
  3801. elseif torvel<1 and hitfloor~=nil then
  3802. Anim="Idle"
  3803. if attack==false and Sit == false and CurrentMode == "Unsheathed" then
  3804. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
  3805. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(40)),.3)
  3806. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(40),math.rad(0),math.rad(20)),.3)
  3807. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(20),math.rad(-10)),.3)
  3808. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3809. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3810. handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(-10),math.rad(0)),.3)
  3811. end
  3812. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  3813. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3814. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(0)),.3)
  3815. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(5)),.3)
  3816. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-5)),.3)
  3817. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  3818. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  3819. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  3820. end
  3821. if attack==false and Sit == true and CurrentMode == "Sheathed" then
  3822. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-2)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  3823. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  3824. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-10),math.rad(0),math.rad(5)),.3)
  3825. LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*euler(math.rad(90),math.rad(0),math.rad(30)),.3)
  3826. LH.C0=clerp(LH.C0,cf(-1,.7,-.5)*angles(math.rad(0),math.rad(-90),math.rad(-10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  3827. RH.C0=clerp(RH.C0,cf(1,-.5,-.5)*angles(math.rad(0),math.rad(90),math.rad(70))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  3828. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  3829. end
  3830. elseif torvel>2 and hitfloor~=nil then
  3831. Anim="Walk"
  3832. if attack==false and Sit == false and CurrentMode == "Unsheathed" then
  3833. change=3
  3834. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  3835. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  3836. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-5),math.rad(0),math.rad(20)),.3)
  3837. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-30),math.rad(5),math.rad(-10)),.3)
  3838. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  3839. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  3840. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(15),math.rad(-10),math.rad(0)),.3)
  3841. end
  3842. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  3843. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  3844. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3845. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(30*math.cos(sine/10)),math.rad(0),math.rad(5)),.3)
  3846. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-30*math.cos(sine/10)),math.rad(0),math.rad(-5)),.3)
  3847. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  3848. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  3849. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  3850. end
  3851. end
  3852. end
  3853. if #Effects>0 then
  3854. for e=1,#Effects do
  3855. if Effects[e]~=nil then
  3856. local Thing=Effects[e]
  3857. if Thing~=nil then
  3858. local Part=Thing[1]
  3859. local Mode=Thing[2]
  3860. local Delay=Thing[3]
  3861. local IncX=Thing[4]
  3862. local IncY=Thing[5]
  3863. local IncZ=Thing[6]
  3864. if Thing[1].Transparency<=1 then
  3865. if Thing[2]=="Block1" then
  3866. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3867. Mesh=Thing[1].Mesh
  3868. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  3869. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  3870. elseif Thing[2]=="Cylinder" then
  3871. Mesh=Thing[1].Mesh
  3872. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  3873. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  3874. elseif Thing[2]=="Blood" then
  3875. Mesh=Thing[7]
  3876. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  3877. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  3878. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  3879. elseif Thing[2]=="Elec" then
  3880. Mesh=Thing[1].Mesh
  3881. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  3882. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  3883. elseif Thing[2]=="Disappear" then
  3884. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  3885. end
  3886. else
  3887. Part.Parent=nil
  3888. table.remove(Effects,e)
  3889. end
  3890. end
  3891. end
  3892. end
  3893. end
  3894. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement