Narikai

Untitled

Oct 23rd, 2016
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 66.11 KB | None | 0 0
  1.  
  2. --player
  3. player = nil
  4. --save shoulders
  5. RSH, LSH = nil, nil
  6. --welds
  7. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  8. --what anim
  9. anim = "none"
  10.  
  11.  
  12.  
  13. man = game:GetService("Players").LocalPlayer
  14.  
  15. deb = 0
  16. fiahreload = true
  17. flonezorz = false
  18. smoke = 0
  19. smokin = false
  20. lightning = true
  21.  
  22. local damage = Instance.new("IntValue")
  23. damage.Value = 5
  24. damage.Name = "DamageValue"
  25.  
  26. local Shells = Instance.new("IntValue")
  27. Shells.Value = 5
  28. Shells.Name = "ShellsValue"
  29.  
  30.  
  31. damageboost = 0
  32.  
  33. local move = Instance.new("IntValue")
  34. move.Value = 16
  35. move.Name = "WalkSpeedValue"
  36.  
  37. if man.Character:findFirstChild("Gunlance",true) ~= nil then
  38. man.Character:findFirstChild("Gunlance",true).Parent = nil
  39. man.PlayerGui:findFirstChild("LanceGui",true).Parent = nil
  40. end
  41.  
  42.  
  43. local swordholder = Instance.new("Model")
  44. swordholder.Name = "Gunlance"
  45. swordholder.Parent = man.Character
  46. move.Parent = swordholder
  47. damage.Parent = swordholder
  48. local msh1 = Instance.new("CylinderMesh")
  49. msh1.Scale = Vector3.new(0.5,1,0.5)
  50. local msh2 = Instance.new("BlockMesh")
  51. msh2.Scale = Vector3.new(1,0.5,1)
  52. local msh3 = Instance.new("CylinderMesh")
  53. msh3.Scale = Vector3.new(0.51,1.25,0.51)
  54. local msh3a = Instance.new("BlockMesh")
  55. msh3a.Scale = Vector3.new(1,0.5,1)
  56. local msh4 = Instance.new("SpecialMesh")
  57. msh4.Scale = Vector3.new(1,3,1)
  58. msh4.MeshType = "FileMesh"
  59. msh4.MeshId = "http://www.roblox.com/asset/?id=1778999"
  60. local msh5 = Instance.new("CylinderMesh")
  61. msh5.Scale = Vector3.new(0.75,1,0.75)
  62. local msh6 = Instance.new("CylinderMesh")
  63. msh6.Scale = Vector3.new(0.75,1,0.75)
  64. local msh7 = Instance.new("BlockMesh")
  65. msh7.Scale = Vector3.new(0.20,1.5,0.20)
  66. local msh8 = Instance.new("CylinderMesh")
  67. msh8.Scale = Vector3.new(0.50,0.60,0.50)
  68. local prt1 = Instance.new("Part")
  69. prt1.Material = "SmoothPlastic"
  70. prt1.formFactor = 1
  71. prt1.CanCollide = false
  72. prt1.Name = "Lance1"
  73. prt1.Locked = true
  74. prt1.Size = Vector3.new(1,3,1)
  75. prt1.Parent = swordholder
  76. msh1.Parent = prt1
  77. prt1.BrickColor = BrickColor.new("Really black")
  78. local prt2 = Instance.new("Part")
  79. prt2.Material = "SmoothPlastic"
  80. prt2.formFactor = 1
  81. prt2.CanCollide = false
  82. prt2.Name = "SwordP2"
  83. prt2.Locked = true
  84. prt2.Size = Vector3.new(1,1,1)
  85. prt2.Parent = swordholder
  86. msh2.Parent = prt2
  87. prt2.BrickColor = BrickColor.new("Really black")
  88. local prt3 = Instance.new("Part")
  89. prt3.Material = "SmoothPlastic"
  90. prt3.formFactor = 1
  91. prt3.CanCollide = false
  92. prt3.Name = "Handle1"
  93. prt3.Locked = true
  94. prt3.Size = Vector3.new(1,1,1)
  95. prt3.Parent = swordholder
  96. msh3.Parent = prt3
  97. if man.Character.Name == "ace28545" then
  98. prt3.BrickColor = BrickColor.new("New Yeller")
  99. else
  100. prt3.BrickColor = BrickColor.new("Really black") -- muahah. whenever someone uses this gunlance, the handle's color becomes the
  101. end
  102. local prt3a = Instance.new("Part")
  103. prt3a.Material = "SmoothPlastic"
  104. prt3a.formFactor = 1
  105. prt3a.CanCollide = false
  106. prt3a.Name = "LanceP3a"
  107. prt3a.Locked = true
  108. prt3a.Size = Vector3.new(1,1,1)
  109. prt3a.Parent = swordholder
  110. msh3a.Parent = prt3a
  111. prt3a.BrickColor = BrickColor.new("Really black")
  112. local prt4 = Instance.new("Part")
  113. prt4.Material = "SmoothPlastic"
  114. prt4.formFactor = 1
  115. prt4.CanCollide = false
  116. prt4.Name = "Lance"
  117. prt4.Locked = true
  118. prt4.Size = Vector3.new(1,1,1)
  119. prt4.Parent = swordholder
  120. msh4.Parent = prt4
  121. prt4.BrickColor = BrickColor.new("Really red")
  122. local prt5 = Instance.new("Part")
  123. prt5.Material = "SmoothPlastic"
  124. prt5.formFactor = 1
  125. prt5.CanCollide = false
  126. prt5.Name = "LanceP3"
  127. prt5.Locked = true
  128. prt5.Size = Vector3.new(1,5,1)
  129. prt5.Parent = swordholder
  130. msh5.Parent = prt5
  131. prt5.BrickColor = BrickColor.new("Really red")
  132. local prt6 = Instance.new("Part")
  133. prt6.Material = "SmoothPlastic"
  134. prt6.formFactor = 1
  135. prt6.CanCollide = false
  136. prt6.Name = "LanceBarrel"
  137. prt6.Locked = true
  138. prt6.Size = Vector3.new(2,3,2)
  139. prt6.Parent = swordholder
  140. msh6.Parent = prt6
  141. prt6.BrickColor = BrickColor.new("Really black")
  142. local prt7 = Instance.new("Part")
  143. prt7.Material = "Wood"
  144. prt7.formFactor = 1
  145. prt7.CanCollide = true
  146. prt7.Name = "SmokePipe"
  147. prt7.Locked = true
  148. prt7.Size = Vector3.new(1,1,1)
  149. prt7.Parent = swordholder
  150. msh7.Parent = prt7
  151. prt7.BrickColor = BrickColor.new("Brown")
  152. local prt8 = Instance.new("Part")
  153. prt8.Material = "Wood"
  154. prt8.formFactor = 1
  155. prt8.CanCollide = true
  156. prt8.Name = "SmokePipe2"
  157. prt8.Locked = true
  158. prt8.Size = Vector3.new(1,1,1)
  159. prt8.Parent = swordholder
  160. msh8.Parent = prt8
  161. prt8.BrickColor = BrickColor.new("Brown")
  162. local fensmuke = Instance.new("Smoke")
  163. fensmuke.Parent = prt8
  164. fensmuke.RiseVelocity = 5
  165. fensmuke.Size = 0.05
  166. fensmuke.Enabled = false
  167. fensmuke.Color = Color3.new(0,0,0)
  168.  
  169.  
  170.  
  171.  
  172. local w1 = Instance.new("Weld")
  173. w1.Parent = prt1
  174. w1.Part0 = prt1
  175. w1.Part1 = man.Character:findFirstChild("Right Arm")
  176. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, -0.9, -0)
  177. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), 0, 0) * CFrame.new(0, 0, 0)
  178. local w2 = Instance.new("Weld")
  179. w2.Parent = prt2
  180. w2.Part0 = prt2
  181. w2.Part1 = prt1
  182. w2.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  183. w2.C0 = CFrame.fromEulerAnglesXYZ(0, 0,0) * CFrame.new(0, -1.25, -0)
  184. local w3 = Instance.new("Weld")
  185. w3.Parent = prt3
  186. w3.Part0 = prt3
  187. w3.Part1 = prt1
  188. w3.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  189. w3.C0 = CFrame.fromEulerAnglesXYZ(0, 0,0) * CFrame.new(0, 0, 0)
  190. local w3a = Instance.new("Weld")
  191. w3a.Parent = prt3a
  192. w3a.Part0 = prt3a
  193. w3a.Part1 = prt1
  194. w3a.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  195. w3a.C0 = CFrame.fromEulerAnglesXYZ(0, 0,0) * CFrame.new(0, -1.75, -0)
  196. local w4 = Instance.new("Weld")
  197. w4.Parent = prt4
  198. w4.Part0 = prt4
  199. w4.Part1 = prt3a
  200. w4.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  201. w4.C0 = CFrame.fromEulerAnglesXYZ(0, 0,0) * CFrame.new(0, -3.5, 0.5)
  202. local w5 = Instance.new("Weld")
  203. w5.Parent = prt5
  204. w5.Part0 = prt5
  205. w5.Part1 = prt3a
  206. w5.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  207. w5.C0 = CFrame.fromEulerAnglesXYZ(0, 0,0) * CFrame.new(0, -2, 0)
  208. local w6 = Instance.new("Weld")
  209. w6.Parent = prt6
  210. w6.Part0 = prt6
  211. w6.Part1 = prt5
  212. w6.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  213. w6.C0 = CFrame.fromEulerAnglesXYZ(0, 0,0) * CFrame.new(0, 0, 0)
  214. local w7 = Instance.new("Weld")
  215. w7.Parent = prt7
  216. w7.Part0 = prt7
  217. w7.Part1 = man.Character["Left Leg"]
  218. w7.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(-0.7, 0.4, 0)
  219. w7.C0 = CFrame.fromEulerAnglesXYZ(0, 0,0) * CFrame.new(0, 0, 0)
  220. local w8 = Instance.new("Weld")
  221. w8.Parent = prt8
  222. w8.Part0 = prt8
  223. w8.Part1 = prt7
  224. w8.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, -1, 0)
  225. w8.C0 = CFrame.fromEulerAnglesXYZ(1.57, 0,0) * CFrame.new(0, 0, 0)
  226.  
  227.  
  228.  
  229. -----------Shell Spawn------------ --dunt joo dare remove this. or the universe will explode >:U
  230. local shellspawn = Instance.new("Part")
  231. shellspawn.Material = "SmoothPlastic"
  232. shellspawn.formFactor = 1
  233. shellspawn.CanCollide = false
  234. shellspawn.Name = "ShellSpawn"
  235. shellspawn.Locked = true
  236. shellspawn.Transparency = 1
  237. shellspawn.Size = Vector3.new(1,1,1)
  238. shellspawn.Parent = swordholder
  239. shellspawn.BrickColor = BrickColor.new("Really black")
  240. local shellw = Instance.new("Weld")
  241. shellw.Parent = shellspawn
  242. shellw.Part0 = shellspawn
  243. shellw.Part1 = prt6
  244. shellw.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  245. shellw.C0 = CFrame.fromEulerAnglesXYZ(0, 0,0) * CFrame.new(0, -2, 0)
  246. ------------------------
  247. de = 0
  248.  
  249. function sword(hit)
  250. if hit.Parent == nil then return end
  251. --[[
  252. if de == 1 then
  253. if hit.Name ~= "Base" or hit.Parent.Name ~= ""..man.Name.."" then
  254. hit:remove()
  255. end
  256. end]]
  257.  
  258. human = hit.Parent:FindFirstChild("Humanoid")
  259. if human ~= nil and hit.Parent.Name ~= man.Name then
  260. human.MaxHealth = 100
  261. human:TakeDamage(damage.Value + damageboost)
  262. end
  263. if hit.Name ~= "clonelulz" then
  264. if hit.Name ~= "ShellBlast" then
  265. if lightning == true then
  266. local fenpart = Instance.new("Part")
  267. fenpart.Material = "SmoothPlastic"
  268. fenpart.Parent = hit
  269. fenpart.CFrame = hit.CFrame --+ Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1))
  270. fenpart.Size = Vector3.new(1,1,1)
  271. fenpart.CanCollide = false
  272. local random = math.random(1,2)
  273. if random == 1 then
  274. fenpart.BrickColor = BrickColor.new("Really red")
  275. elseif random == 2 then
  276. fenpart.BrickColor = BrickColor.new("New Yeller")
  277. end
  278. fenpart.Anchored = true
  279. local fenmesh = Instance.new("BlockMesh")
  280. fenmesh.Scale = Vector3.new(2,2,2)
  281. fenmesh.Parent = fenpart
  282. coroutine.resume(coroutine.create(function() for i = 0,50 do
  283. wait(0)
  284. fenpart.CFrame = fenpart.CFrame*CFrame.new(0,0.7,0) * CFrame.fromEulerAnglesXYZ(math.random(-1,1),math.random(-50,50),math.random(-1,1))
  285. fenmesh.Scale = fenmesh.Scale - Vector3.new(0.04,0.04,0.04)
  286. end
  287. wait()
  288. fenpart:Remove() end))
  289. Textures={"http://www.roblox.com/asset/?id=28031967"}
  290. --[[DC=Instance.new("Decal")
  291. DC.Face="Top"
  292. DC.Name="RingDecal"
  293. DC.Texture=Textures[math.random(1,#Textures)
  294. Ring=Instance.new("Part")
  295. Ring.Name="DarknessRing"
  296. Ring.TopSurface="Smooth"
  297. Ring.BottomSurface="Smooth"
  298. Ring.Anchored=true
  299. Ring.CanCollide=false
  300. Ring.formFactor="Symmetric"
  301. Ring.Transparency=1
  302. Ring.Size=Vector3.new(1,3,1)
  303. Ring.CFrame=CFrame.new(hit.Position)*CFrame.fromEulerAnglesXYZ(math.random(-50,50)/14,math.random(-50,50)/14,math.random(-50,50)/14)
  304. Ring.BrickColor=BrickColor:Yellow()
  305. Ring.Parent=game.workspace
  306. local winner=Instance.new("Sound")
  307. winner.Parent=Ring
  308. winner.SoundId="http://www.roblox.com/asset/?id=2101148"
  309. winner.Name="WINNER"
  310. winner.Pitch=0.5
  311. winner:Play()
  312. D=DC:clone()
  313. D.Parent=Ring
  314. D=DC:clone()
  315. D.Face="Bottom"
  316. D.Parent=Ring
  317. M=Instance.new("BlockMesh")
  318. M.Scale=Vector3.new(1,0,1)
  319. M.Parent=Ring ]]--
  320. coroutine.resume(coroutine.create(function(p,c,v) for i=1, 10 do p.Size=p.Size+Vector3.new(4,0,4)
  321.  
  322. p.CFrame=c*CFrame.fromEulerAnglesXYZ(0,.5*i,0) wait() p.CFrame=c*CFrame.fromEulerAnglesXYZ(0,.3*i,0) end p.Parent=nil
  323.  
  324. end),shellspawn.CFrame,P)
  325. end
  326. end
  327. end
  328. wait(1)
  329.  
  330. end
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339. local billz = Instance.new("ScreenGui")
  340. billz.Name = "LanceGui"
  341. local texz = Instance.new("TextButton")
  342. texz.Size = UDim2.new(0,100,0,30)
  343. texz.Position = UDim2.new(0,0,0.5,0)
  344. texz.Parent = billz
  345. texz.Text = "Disable Gunlance"
  346. texz.BackgroundColor3 = Color3.new( 1,0,0 )
  347. billz.Parent = man.PlayerGui
  348. local texz2 = Instance.new("TextButton")
  349. texz2.Size = UDim2.new(0,100,0,30)
  350. texz2.Position = UDim2.new(0,0,0.5,-30)
  351. texz2.Parent = billz
  352. texz2.Text = "Stab"
  353. texz2.BackgroundColor3 = Color3.new( 1,0,0 )
  354. local texz3 = Instance.new("TextButton")
  355. texz3.Size = UDim2.new(0,100,0,30)
  356. texz3.Position = UDim2.new(0,0,0.5,30)
  357. texz3.Parent = billz
  358. texz3.Text = "Charge"
  359. texz3.BackgroundColor3 = Color3.new( 1,0,0 )
  360. local texz4 = Instance.new("TextButton")
  361. texz4.Size = UDim2.new(0,100,0,30)
  362. texz4.Position = UDim2.new(0,0,0.5,-60)
  363. texz4.Parent = billz
  364. texz4.Text = "Smash"
  365. texz4.BackgroundColor3 = Color3.new( 1,0,0 )
  366. local texz5 = Instance.new("TextButton")
  367. texz5.Size = UDim2.new(0,100,0,30)
  368. texz5.Position = UDim2.new(0,0,0.5,60)
  369. texz5.Parent = billz
  370. texz5.Text = "Shell Blast"
  371. texz5.BackgroundColor3 = Color3.new( 1,0,0 )
  372. local texz6 = Instance.new("TextButton")
  373. texz6.Size = UDim2.new(0,100,0,30)
  374. texz6.Position = UDim2.new(0,0,0.5,120)
  375. texz6.Parent = billz
  376. texz6.Text = "Fen's Fire"
  377. texz6.BackgroundColor3 = Color3.new( 1,0,0 )
  378. local texz7 = Instance.new("TextButton")
  379. texz7.Size = UDim2.new(0,100,0,30)
  380. texz7.Position = UDim2.new(0,0,0.5,90)
  381. texz7.Parent = billz
  382. texz7.Text = "Shell Blast Reload"
  383. texz7.BackgroundColor3 = Color3.new( 1,0,0 )
  384. local texz8 = Instance.new("TextButton")
  385. texz8.Size = UDim2.new(0,100,0,30)
  386. texz8.Position = UDim2.new(0.098,0,0.5,0)
  387. texz8.Parent = billz
  388. texz8.Text = "Get Smoke Pipe"
  389. texz8.BackgroundColor3 = Color3.new( 1,0,0 )
  390. local texz9 = Instance.new("TextButton")
  391. texz9.Size = UDim2.new(0,100,0,30)
  392. texz9.Position = UDim2.new(0.098,0,0.5,30)
  393. texz9.Parent = billz
  394. texz9.Text = "Put Away Smoke Pipe"
  395. texz9.BackgroundColor3 = Color3.new( 1,0,0 )
  396. local texz10 = Instance.new("TextButton")
  397. texz10.Size = UDim2.new(0,100,0,30)
  398. texz10.Position = UDim2.new(0.098,0,0.5,-30)
  399. texz10.Parent = billz
  400. texz10.Text = "Discard Smoke Pipe"
  401. texz10.BackgroundColor3 = Color3.new( 1,0,0 )
  402. local texz11 = Instance.new("TextButton")
  403. texz11.Size = UDim2.new(0,100,0,30)
  404. texz11.Position = UDim2.new(0,0,0.5,150)
  405. texz11.Parent = billz
  406. texz11.Text = "Laser Fen's Fire"
  407. texz11.BackgroundColor3 = Color3.new( 1,0,0 )
  408. --Movement&Damage----
  409.  
  410.  
  411. local plusdmg = Instance.new("TextButton")
  412. plusdmg.Size = UDim2.new(0,100,0,15)
  413. plusdmg.Position = UDim2.new(0,0,0.5,-60-15)
  414. plusdmg.Parent = billz
  415. plusdmg.Text = "+ Damage | - Move"
  416. plusdmg.BackgroundColor3 = Color3.new( 1,0,0 )
  417.  
  418. function plusclick()
  419. if move.Value <= 1 then return end
  420. damageboost = damageboost + 2
  421. move.Value = move.Value - 1
  422. end
  423.  
  424. plusdmg.MouseButton1Click:connect(plusclick)
  425.  
  426.  
  427. local minusdmg = Instance.new("TextButton")
  428. minusdmg.Size = UDim2.new(0,100,0,15)
  429. minusdmg.Position = UDim2.new(0,0,0.5,-60-30)
  430. minusdmg.Parent = billz
  431. minusdmg.Text = "- Damage | + Move"
  432. minusdmg.BackgroundColor3 = Color3.new( 1,0,0 )
  433.  
  434. function minusclick()
  435. if damageboost <= 0 then return end
  436. damageboost = damageboost - 2
  437. move.Value = move.Value + 1
  438. end
  439.  
  440. minusdmg.MouseButton1Click:connect(minusclick)
  441.  
  442. local movegui = Instance.new("TextButton")
  443. movegui.Size = UDim2.new(0,100,0,15)
  444. movegui.Position = UDim2.new(0,0,0.5,-60-45)
  445. movegui.Parent = billz
  446. movegui.Text = "WalkSpeed : " ..move.Value
  447. movegui.BackgroundColor3 = Color3.new( 1,0,0 )
  448. local boostgui = Instance.new("TextButton")
  449. boostgui.Size = UDim2.new(0,100,0,15)
  450. boostgui.Position = UDim2.new(0,0,0.5,-60-60)
  451. boostgui.Parent = billz
  452. boostgui.Text = "DamageBoost : " ..damageboost
  453. boostgui.BackgroundColor3 = Color3.new( 1,0,0 )
  454. local damagegui = Instance.new("TextButton")
  455. damagegui.Size = UDim2.new(0,100,0,15)
  456. damagegui.Position = UDim2.new(0,0,0.5,-60-75)
  457. damagegui.Parent = billz
  458. damagegui.Text = "Damage : " ..damage.Value
  459. damagegui.BackgroundColor3 = Color3.new( 1,0,0 )
  460. local damagegui = Instance.new("TextButton")
  461. damagegui.Size = UDim2.new(0,100,0,15)
  462. damagegui.Position = UDim2.new(0,0,0.5,-60-75)
  463. damagegui.Parent = billz
  464. damagegui.Text = "Damage : " ..damage.Value
  465. damagegui.BackgroundColor3 = Color3.new( 1,0,0 )
  466. local shellgui = Instance.new("TextButton")
  467. shellgui.Size = UDim2.new(0,100,0,15)
  468. shellgui.Position = UDim2.new(0,0,0.5,-60-90)
  469. shellgui.Parent = billz
  470. shellgui.Text = "Shells : " ..Shells.Value
  471. shellgui.BackgroundColor3 = Color3.new( 1,0,0 )
  472. local Fengui = Instance.new("TextButton")
  473. Fengui.Size = UDim2.new(0,100,0,15)
  474. Fengui.Position = UDim2.new(0,0,0.5,-60-105)
  475. Fengui.Parent = billz
  476. Fengui.Text = "Fen's Fire Status: Ready"
  477. Fengui.BackgroundColor3 = Color3.new( 1,0,0 )
  478.  
  479. -----------End-------------- --end of GUI making of your wondering :3
  480.  
  481. conna = prt4.Touched:connect(sword)
  482. conna2 = prt5.Touched:connect(sword)
  483.  
  484. player = man
  485. local ch = man.Character
  486. RSH = ch.Torso["Right Shoulder"]
  487. LSH = ch.Torso["Left Shoulder"]
  488. --
  489. RSH.Parent = nil
  490. LSH.Parent = nil
  491. --
  492. RW.Part0 = ch.Torso
  493. RW.C0 = CFrame.new(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  494. RW.C1 = CFrame.new(0, 0.5, 0)
  495. RW.Part1 = ch["Right Arm"]
  496. RW.Parent = ch.Torso
  497. _G.R = RW
  498. --
  499. LW.Part0 = ch.Torso
  500. LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  501. LW.C1 = CFrame.new(0, 0.5, 0)
  502. LW.Part1 = ch["Left Arm"]
  503. LW.Parent = ch.Torso
  504. _G.L = LW
  505. for i = 0, 1, 0.05 do
  506. wait()
  507. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.25*i, 0, -0.5*i)
  508. RW.C1 = CFrame.new(0,0.5,0)* CFrame.fromEulerAnglesXYZ(0, 0, 0)
  509. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.7*i, 0, 0.8*i)
  510. LW.C1 = CFrame.new(-0.3*i, 0.5+1.2*i, 0)
  511. end
  512.  
  513. function wind() -- lol not using this function :U
  514. local rock = Instance.new("Part")
  515. rock.Material = "SmoothPlastic"
  516. rock.Shape = 0
  517. rock.Material = "Slate"
  518. rock.BrickColor = BrickColor.new("Really black")
  519. rock.TopSurface = 0
  520. rock.BottomSurface = 0
  521. rock.Parent = game.Workspace
  522. rock.Size = Vector3.new(3,3,3)
  523. rock.Position = prt1.CFrame.p + man.Character.Torso.CFrame.lookVector * 3
  524. rock.Velocity = man.Character.Torso.CFrame.lookVector * 150 + Vector3.new(0,25,0)
  525. game:GetService("Debris"):addItem(rock,5)
  526. function dam(hit)
  527. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  528. local hum = hit.Parent:findFirstChild("Humanoid")
  529. hum:TakeDamage(20)
  530. hum.PlatformStand = true
  531. hum.Torso.RotVelocity = Vector3.new(50,0,0)
  532. wait(0.5)
  533. hum.PlatformStand = false
  534. end
  535. end
  536. com = rock.Touched:connect(dam)
  537. Spawn = rock
  538. end
  539.  
  540.  
  541. function swoosheffect() --lol this be something meant for another script but it got strangely added here XD
  542. local efm = Instance.new("BlockMesh")
  543. efm.Scale = Vector3.new(0.1,1,0.5)
  544. local efm2 = Instance.new("SpecialMesh")
  545. efm2.Scale = Vector3.new(0.11,0.5,0.51)
  546. efm2.MeshType = "Wedge"
  547. local ef = Instance.new("Part")
  548. ef.Material = "SmoothPlastic"
  549. ef.formFactor = 1
  550. ef.CanCollide = false
  551. ef.Name = "Sword1C"
  552. ef.Locked = true
  553. ef.Size = Vector3.new(1,5,1)
  554. efm.Parent = ef
  555. ef.CFrame = prt1.CFrame
  556. if darkmode == false then
  557. ef.BrickColor = BrickColor.new(1005)
  558. elseif darkmode == true then
  559. ef.BrickColor = BrickColor.new("Bright violet")
  560. end
  561. ef.Transparency = 0.5
  562. local ef2 = Instance.new("Part")
  563. ef2.Material = "SmoothPlastic"
  564. ef2.formFactor = 1
  565. ef2.CanCollide = false
  566. ef2.Name = "SwordP4C"
  567. ef2.Locked = true
  568. ef2.Size = Vector3.new(1,1,1)
  569. efm2.Parent = ef2
  570. ef2.CFrame = prt4.CFrame
  571. if darkmode == false then
  572. ef2.BrickColor = BrickColor.new(1005)
  573. elseif darkmode == true then
  574. ef2.BrickColor = BrickColor.new("Bright violet")
  575. end
  576. ef.Anchored = true
  577. ef2.Anchored = true
  578. ef.Parent = game.Workspace
  579. ef2.Parent = game.Workspace
  580. ef2.Transparency = 0.5
  581. game:getService("Debris"):addItem(ef,1)
  582. game:getService("Debris"):addItem(ef2,1)
  583. end
  584.  
  585.  
  586. function stabef()
  587. local efm = Instance.new("SpecialMesh")
  588. efm.Scale = Vector3.new(1,1,1)
  589. efm.MeshType = "Sphere"
  590. local ef = Instance.new("Part")
  591. ef.Material = "SmoothPlastic"
  592. ef.formFactor = 0
  593. ef.CanCollide = false
  594. ef.Name = "SwordP4C"
  595. ef.Locked = true
  596. ef.Size = Vector3.new(1,1,1)
  597. efm.Parent = ef
  598. ef.CFrame = prt4.CFrame
  599. ef.BrickColor = BrickColor.new(1005)
  600. ef.Anchored = true
  601. ef.Parent = game.Workspace
  602. for i = 0,1 , 0.05 do
  603. wait()
  604. ef.Transparency = 1*i
  605. efm.Scale = Vector3.new(10*i,10*i,10*i)
  606. end
  607. ef:remove()
  608. end
  609.  
  610. function gunshell()
  611. local c = game.Workspace:GetChildren();
  612. for i = 1, #c do
  613. local hum = c[i]:findFirstChild("Humanoid")
  614. if hum ~= nil and hum.Health ~= 0 then
  615. local head = c[i]:findFirstChild("Head");
  616. if head ~= nil then
  617. local targ = head.Position - shellspawn.Position;
  618. local mag = targ.magnitude;
  619. if mag <= 7.5 and c[i].Name ~= man.Name then
  620. hum:TakeDamage(25)
  621. hum:TakeDamage(damage.Value + damageboost)
  622. end
  623. end
  624. end
  625. end
  626. end
  627.  
  628. --[[
  629. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.25, 0, -0.5)
  630. RW.C1 = CFrame.new(0,0.5,0)* CFrame.fromEulerAnglesXYZ(0, 0, 0)
  631. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  632. LW.C1 = CFrame.new(-0.3, 0.5+1.2, 0)
  633.  
  634. ]] -- why cant I just merge these 2 together? :U
  635. --[[
  636. for i = 0, 1, 0.1 do
  637. wait()
  638. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.25+1*i,0,-0.5+math.rad(-20)*i)
  639. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  640. --R.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.5, -0.5, 0.5)
  641. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.7, 0.5*i, 0.8)
  642. LW.C1 = CFrame.new(0, 1.7, 0)
  643. end
  644. ]]
  645. function shellblast()
  646. local mesh = Instance.new("SpecialMesh")
  647. mesh.MeshType = "Sphere"
  648. local shell = Instance.new("Part")
  649. shell.Material = "SmoothPlastic"
  650. mesh.Parent = shell
  651. local smoke = Instance.new("Smoke")
  652. smoke.Color = Color3.new(0.1,0.1,0.1)
  653. smoke.Parent = shell
  654. shell.Anchored = true
  655. shell.formFactor = 1
  656. shell.Size = Vector3.new(1,1,1)
  657. shell.CFrame = shellspawn.CFrame -- + shellspawn.CFrame.lookVector * 2
  658. shell.Parent = swordholder
  659. shell.Transparency = 0
  660. shell.Name = "ShellBlast"
  661. smoke.RiseVelocity = 10
  662. smoke.Size = 0.25
  663. shell.BrickColor = BrickColor.new("Bright yellow")
  664. gunshell()
  665. local soundzz = Instance.new("Sound")
  666. soundzz.SoundId = "http://www.roblox.com/asset/?id=2248511"
  667. soundzz.Volume = 1
  668. soundzz.Pitch = 1
  669. soundzz.Parent = prt1
  670. wait()
  671. soundzz:Play()
  672. for i = 0 , 1 , 0.15 do
  673. wait()
  674. mesh.Scale = Vector3.new(10*i,8*i,10*i)
  675. shell.Transparency = 1*i
  676. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.25+0.5*i,0,-0.5)
  677. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  678. --R.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.5, -0.5, 0.5)
  679. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.7+0.5*i, 0, 0.8)
  680. LW.C1 = CFrame.new(0, 1.7, 0)
  681. end
  682. shell.Transparency = 1
  683. smoke.Enabled = false
  684. soundzz.Parent = nil
  685. game:GetService("Debris"):addItem(shell,3)
  686. for i = 0 , 1 , 0.1 do
  687. wait()
  688. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.75-0.5*i,0,-0.5)
  689. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  690. --R.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.5, -0.5, 0.5)
  691. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.2-0.5*i, 0, 0.8)
  692. LW.C1 = CFrame.new(0, 1.7, 0)
  693.  
  694. end
  695. end
  696.  
  697. function noblast()
  698. for i = 0 , 1 , 0.15 do
  699. wait()
  700. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.25+0.5*i,0,-0.5)
  701. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  702. --R.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.5, -0.5, 0.5)
  703. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.7+0.5*i, 0, 0.8)
  704. LW.C1 = CFrame.new(0, 1.7, 0)
  705. end
  706. for i = 0 , 1 , 0.1 do
  707. wait()
  708. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.75-0.5*i,0,-0.5)
  709. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  710. --R.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.5, -0.5, 0.5)
  711. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.2-0.5*i, 0, 0.8)
  712. LW.C1 = CFrame.new(0, 1.7, 0)
  713.  
  714. end
  715. end
  716.  
  717. function xtrashellblast2() -- lol what a very common function name XD
  718. local mesh = Instance.new("SpecialMesh")
  719. mesh.MeshType = "Sphere"
  720. local shell = Instance.new("Part")
  721. shell.Material = "SmoothPlastic"
  722. mesh.Parent = shell
  723. local smoke = Instance.new("Smoke")
  724. smoke.Color = Color3.new(0.1,0.1,0.1)
  725. smoke.Parent = shell
  726. shell.Anchored = true
  727. shell.formFactor = 1
  728. shell.Size = Vector3.new(1,1,1)
  729. shell.CFrame = shellspawn.CFrame -- + shellspawn.CFrame.lookVector * 2
  730. shell.Parent = swordholder
  731. shell.Transparency = 0
  732. shell.Name = "ShellBlast"
  733. smoke.RiseVelocity = 10
  734. smoke.Size = 0.25
  735. shell.BrickColor = BrickColor.new("Bright yellow")
  736. local mesh2 = Instance.new("SpecialMesh")
  737. mesh2.MeshType = "Sphere"
  738. local shell2 = Instance.new("Part")
  739. shell2.Material = "SmoothPlastic"
  740. mesh2.Parent = shell2
  741. local smoke2 = Instance.new("Smoke")
  742. smoke2.Color = Color3.new(0.1,0.1,0.1)
  743. smoke2.Parent = shell2
  744. shell2.Anchored = true
  745. shell2.formFactor = 1
  746. shell2.Size = Vector3.new(1,1,1)
  747. shell2.CFrame = shellspawn.CFrame -- + shellspawn.CFrame.lookVector * 4
  748. shell2.Parent = swordholder
  749. shell2.Transparency = 0
  750. smoke2.RiseVelocity = 10
  751. smoke2.Size = 0.25
  752. shell2.BrickColor = BrickColor.new("Bright yellow")
  753. gunshell()
  754. local soundzz = Instance.new("Sound")
  755. soundzz.SoundId = "http://www.roblox.com/asset/?id=2248511"
  756. soundzz.Volume = 1
  757. soundzz.Pitch = 1
  758. soundzz.Parent = prt1
  759. local soundzz2 = Instance.new("Sound")
  760. soundzz2.SoundId = "http://www.roblox.com/asset/?id=2248511"
  761. soundzz2.Volume = 1
  762. soundzz2.Pitch = 0.5
  763. soundzz2.Parent = prt1
  764. local soundzz3 = Instance.new("Sound")
  765. soundzz3.SoundId = "http://www.roblox.com/asset/?id=2248511"
  766. soundzz3.Volume = 1
  767. soundzz3.Pitch = 1.5
  768. soundzz3.Parent = prt1
  769. local soundzz4 = Instance.new("Sound")
  770. soundzz4.SoundId = "http://www.roblox.com/asset/?id=2248511"
  771. soundzz4.Volume = 1
  772. soundzz4.Pitch = 0.9
  773. soundzz4.Parent = Data
  774. wait()
  775. soundzz:Play()
  776. soundzz2:Play()
  777. soundzz3:Play()
  778. soundzz4:Play()
  779. for i = 0 , 1 , 0.15 do
  780. wait()
  781. mesh.Scale = Vector3.new(10*i,8*i,10*i)
  782. shell.Transparency = 1*i
  783. mesh2.Scale = Vector3.new(10*i,8*i,10*i)
  784. shell2.Transparency = 1*i
  785. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.25+0.5*i,0,-0.5)
  786. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  787. --R.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.5, -0.5, 0.5)
  788. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.7+0.5*i, 0, 0.8)
  789. LW.C1 = CFrame.new(0, 1.7, 0)
  790. end
  791. shell.Transparency = 1
  792. shell2.Transparency = 1
  793. smoke.Enabled = false
  794. smoke2.Enabled = false
  795. soundzz.Parent = nil
  796. game:GetService("Debris"):addItem(shell,3)
  797. game:GetService("Debris"):addItem(shell2,3)
  798. for i = 0 , 1 , 0.1 do
  799. wait()
  800. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.75-0.5*i,0,-0.5)
  801. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  802. --R.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.5, -0.5, 0.5)
  803. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.2-0.5*i, 0, 0.8)
  804. LW.C1 = CFrame.new(0, 1.7, 0)
  805. end
  806. end
  807.  
  808. function smokepipe()
  809. smokin = true
  810. LSH.Parent = nil
  811. LW.Part0 = ch.Torso
  812. LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  813. LW.C1 = CFrame.new(0, 0.5, 0)
  814. LW.Part1 = ch["Left Arm"]
  815. LW.Parent = ch.Torso
  816. w7.Part1 = man.Character["Left Arm"]
  817. w7.C1 = CFrame.fromEulerAnglesXYZ(-0.5, -1, -0.8) * CFrame.new(1.1, 0.5, -0.8)
  818. for i = 0, 1, 0.1 do
  819. wait(0.05)
  820. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.5*i,1*i,0.3*i)
  821.  
  822. end
  823. smoke = 1
  824. while smoke == 1 do
  825. fensmuke.Enabled = true
  826. fensmuke.RiseVelocity = math.random(3, 10)
  827. wait(math.random(0, 5))
  828. fensmuke.Enabled = false
  829. wait(math.random(0, 5))
  830. end
  831. end
  832.  
  833. function laserFen()
  834. if fiahreload == true then
  835. Fengui.Text = "Fen's Fire Status: Cooling..."
  836. fiahreload = false
  837. for i = 0 , 1 , 0.05 do
  838. wait()
  839. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.25+-0.3*i,0,-0.5)
  840. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  841. --R.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-2.5, -0.5, 0.5)
  842. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.7+-0.5*i, 0, 0.8)
  843. LW.C1 = CFrame.new(0, 1.7, 0)
  844. end
  845. man.Character.Humanoid.WalkSpeed = 0.01
  846. local Fen = shellspawn:Clone() --lol clone ftw X3
  847. Fen.Parent = swordholder
  848. Fen.Position = shellspawn.Position
  849. Fen.Anchored = false
  850. Fen.Transparency = 1
  851. Fen.formFactor = 1
  852. Fen.Size = Vector3.new(1,1,1)
  853. Fen.BrickColor = BrickColor.new(1005)
  854. Fen.CFrame = shellspawn.CFrame -- + shellspawn.CFrame.lookVector * 2
  855. local fenmsh = Instance.new("CylinderMesh")
  856. fenmsh.Scale = Vector3.new(0.5,2,0.5)
  857. fenmsh.Parent = Fen
  858. local fenwel = Instance.new("Weld")
  859. fenwel.Parent = game.workspace
  860. fenwel.Part0 = Fen
  861. fenwel.Part1 = shellspawn
  862. for i = 0, 0.5, 0.01 do
  863. wait()
  864. local ef = Instance.new("Part")
  865. ef.Material = "SmoothPlastic"
  866. ef.Parent = Fen
  867. ef.Shape = "Ball"
  868. ef.Name = "clonelulz"
  869. ef.CanCollide = false
  870. ef.formFactor = 1
  871. ef.TopSurface = "Smooth"
  872. ef.BottomSurface = "Smooth"
  873. ef.CFrame = Fen.CFrame + Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  874. ef.Size = Vector3.new(1,1,1)
  875. ef.BrickColor = BrickColor.new(1005)
  876. local body = Instance.new("BodyPosition")
  877. body.Parent = ef
  878. body.position = Fen.Position
  879. coroutine.resume(coroutine.create(function() for i = 0, 1, 0.05 do wait() ef.Transparency = ef.Transparency + 0.05
  880.  
  881. ef.Reflectance = ef.Reflectance + 0.02 end ef:Remove() end))
  882. Fen.Transparency = Fen.Transparency - 0.02
  883. Fen.Reflectance = Fen.Reflectance + 0.01
  884. local bom = Instance.new("Explosion")
  885. bom.Parent = game.workspace
  886. bom.Position = Fen.Position
  887. bom.BlastRadius = 0
  888. end
  889. Fen.BrickColor = BrickColor.new(1005)
  890. local fenpart1 = prt1:Clone()
  891. fenpart1.Parent = swordholder
  892. fenpart1.Transparency = 1
  893. fenpart1.BrickColor = BrickColor.new(1005)
  894. fenpart1.Mesh.Scale = Vector3.new(0.55,1.5,1)
  895. local fenpart2 = prt2:Clone()
  896. fenpart2.Parent = swordholder
  897. fenpart2.Transparency = 1
  898. fenpart2.BrickColor = BrickColor.new(1005)
  899. fenpart2.Mesh.Scale = Vector3.new(1.5,1,1.5)
  900. local fenpart3 = prt3:Clone()
  901. fenpart3.Parent = swordholder
  902. fenpart3.Transparency = 1
  903. fenpart3.BrickColor = BrickColor.new(1005)
  904. fenpart3.Mesh.Scale = Vector3.new(1.01,1.75,1.01)
  905. local fenpart3a = prt3a:Clone()
  906. fenpart3a.Parent = swordholder
  907. fenpart3a.Transparency = 1
  908. fenpart3a.BrickColor = BrickColor.new(1005)
  909. fenpart3a.Mesh.Scale = Vector3.new(1.5,1,1.5)
  910. local fenpart4 = prt4:Clone()
  911. fenpart4.Parent = swordholder
  912. fenpart4.Transparency = 1
  913. fenpart4.BrickColor = BrickColor.new(1005)
  914. fenpart4.Mesh.Scale = Vector3.new(1.5,3.5,1.5)
  915. local fenpart5 = prt5:Clone()
  916. fenpart5.Parent = swordholder
  917. fenpart5.Transparency = 1
  918. fenpart5.BrickColor = BrickColor.new(1005)
  919. fenpart5.Mesh.Scale = Vector3.new(1.25,1.5,1.25)
  920. local fenpart6 = prt6:Clone()
  921. fenpart6.Parent = swordholder
  922. fenpart6.Transparency = 1
  923. fenpart6.BrickColor = BrickColor.new(1005)
  924. fenpart6.Mesh.Scale = Vector3.new(1.25,1.5,1.25)
  925. local fenweld1 = Instance.new("Weld")
  926. fenweld1.Parent = game.workspace
  927. fenweld1.Part0 = fenpart1
  928. fenweld1.Part1 = prt1
  929. local fenweld2 = Instance.new("Weld")
  930. fenweld2.Parent = game.workspace
  931. fenweld2.Part0 = fenpart2
  932. fenweld2.Part1 = prt2
  933. local fenweld3 = Instance.new("Weld")
  934. fenweld3.Parent = game.workspace
  935. fenweld3.Part0 = fenpart3
  936. fenweld3.Part1 = prt3
  937. local fenweld3a = Instance.new("Weld")
  938. fenweld3a.Parent = game.workspace
  939. fenweld3a.Part0 = fenpart3a
  940. fenweld3a.Part1 = prt3a
  941. local fenweld4 = Instance.new("Weld")
  942. fenweld4.Parent = game.workspace
  943. fenweld4.Part0 = fenpart4
  944. fenweld4.Part1 = prt4
  945. local fenweld5 = Instance.new("Weld")
  946. fenweld5.Parent = game.workspace
  947. fenweld5.Part0 = fenpart5
  948. fenweld5.Part1 = prt5
  949. local fenweld6 = Instance.new("Weld")
  950. fenweld6.Parent = game.workspace
  951. fenweld6.Part0 = fenpart6
  952. fenweld6.Part1 = prt6
  953. for i = 0, 0.5, 0.01 do
  954. wait()
  955. local ef = Instance.new("Part")
  956. ef.Material = "SmoothPlastic"
  957. ef.Parent = Fen
  958. ef.Shape = "Ball"
  959. ef.Name = "clonelulz"
  960. ef.CanCollide = false
  961. ef.formFactor = 1
  962. ef.TopSurface = "Smooth"
  963. ef.BottomSurface = "Smooth"
  964. ef.CFrame = Fen.CFrame + Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  965. ef.Size = Vector3.new(1,1,1)
  966. ef.BrickColor = BrickColor.new(1005)
  967. fenpart1.Transparency = fenpart1.Transparency - 0.015
  968. fenpart2.Transparency = fenpart2.Transparency - 0.015
  969. fenpart3.Transparency = fenpart3.Transparency - 0.015
  970. fenpart3a.Transparency = fenpart3a.Transparency - 0.015
  971. fenpart4.Transparency = fenpart4.Transparency - 0.015
  972. fenpart5.Transparency = fenpart5.Transparency - 0.015
  973. fenpart6.Transparency = fenpart5.Transparency - 0.015
  974. local body = Instance.new("BodyPosition")
  975. body.Parent = ef
  976. body.position = Fen.Position
  977. coroutine.resume(coroutine.create(function() for i = 0, 1, 0.05 do wait() ef.Transparency = ef.Transparency + 0.05
  978.  
  979. ef.Reflectance = ef.Reflectance + 0.02 end ef:Remove() end))
  980. Fen.Transparency = Fen.Transparency - 0.02
  981. Fen.Reflectance = Fen.Reflectance - 0.01
  982. local bom = Instance.new("Explosion")
  983. bom.Parent = game.workspace
  984. bom.Position = Fen.Position
  985. bom.BlastRadius = 0
  986. end
  987. wait(1)
  988. man.Character.Humanoid.WalkSpeed = 0
  989. local fenbeam = Instance.new("Part")
  990. fenbeam.Material = "SmoothPlastic"
  991. fenbeam.Parent = swordholder
  992. fenbeam.Size = Vector3.new(10, 10, 500)
  993. fenbeam.CFrame = man.Character.Torso.CFrame * CFrame.new(0, 0, -260)
  994. fenbeam.Anchored = true
  995. fenbeam.BrickColor = BrickColor.new(1005)
  996. fenbeam.Name = "clonelulz"
  997. fenbeam.CanCollide = false
  998. fenbeam.formFactor = 1
  999. fenbeam.TopSurface = "Smooth"
  1000. fenbeam.BottomSurface = "Smooth"
  1001. function onTouched(hit)
  1002. wait()
  1003. hit:BreakJoints()
  1004. hit.Velocity = man.Character.Torso.CFrame.lookVector * 150 + Vector3.new(math.random(-5,5), math.random(10,20), math.random(-5,5))
  1005. if math.random(1, 20) == 1 then
  1006. for i = 0, 1, 0.1 do
  1007. hit.Transparency = hit.Transparency + 0.001
  1008. end
  1009. hit:Remove()
  1010. end
  1011. end
  1012. fenbeam.Touched:connect(onTouched)
  1013. Fen:Remove()
  1014. local soundzz = Instance.new("Sound")
  1015. soundzz.SoundId = "http://www.roblox.com/asset/?id=2248511"
  1016. soundzz.Volume = 0.5
  1017. soundzz.Pitch = 1
  1018. soundzz.Parent = game.workspace
  1019. local soundzz2 = Instance.new("Sound")
  1020. soundzz2.SoundId = "http://www.roblox.com/asset/?id=2248511"
  1021. soundzz2.Volume = 0.5
  1022. soundzz2.Pitch = 0.5
  1023. soundzz2.Parent = game.workspace
  1024. local soundzz3 = Instance.new("Sound")
  1025. soundzz3.SoundId = "http://www.roblox.com/asset/?id=2248511"
  1026. soundzz3.Volume = 0.5
  1027. soundzz3.Pitch = 1.5
  1028. soundzz3.Parent = game.workspace
  1029. local soundzz4 = Instance.new("Sound")
  1030. soundzz4.SoundId = "http://www.roblox.com/asset/?id=2248511"
  1031. soundzz4.Volume = 0.5
  1032. soundzz4.Pitch = 0.9
  1033. soundzz4.Parent = game.workspace
  1034. wait()
  1035. soundzz:Play()
  1036. soundzz2:Play()
  1037. soundzz3:Play()
  1038. soundzz4:Play()
  1039. local pos = fenbeam.CFrame
  1040. for i = 0, 0.5, 0.01 do
  1041. wait()
  1042. coroutine.resume(coroutine.create(function() for i = 0, 1, 0.05 do wait() effect.Transparency = effect.Transparency + 0.05
  1043.  
  1044. effect.Reflectance = effect.Reflectance + 0.05 end effect:Remove() end))
  1045. fenbeam.CFrame = pos + Vector3.new(math.random(-1,1), math.random(-1,1), math.random(-1,1)) --* CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1046. end
  1047. for i = 0, 0.5, 0.01 do
  1048. wait()
  1049. fenbeam.Transparency = fenbeam.Transparency + 0.05
  1050. fenbeam.CFrame = pos + Vector3.new(math.random(-0.5,0.5), math.random(-0.5,0.5), math.random(-0.5,0.5)) --* CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1051. end
  1052. wait()
  1053. fenbeam:Remove()
  1054. local vel = Instance.new("BodyVelocity")
  1055. vel.Parent = man.Character.Torso
  1056. vel.maxForce = Vector3.new(4e+005,4e+005,4e+005)*2
  1057. vel.velocity = man.Character.Torso.CFrame.lookVector * -20
  1058. local fensmoke = Instance.new("Smoke")
  1059. fensmoke.Color = Color3.new(0.1,0.1,0.1)
  1060. fensmoke.Parent = shellspawn
  1061. fensmoke.RiseVelocity = 10
  1062. fensmoke.Size = 0.25
  1063. wait()
  1064. noblast()
  1065. fenbeam:Remove()
  1066. fensmoke.Enabled = false
  1067. local fensmoke2 = Instance.new("Smoke")
  1068. fensmoke2.Parent = prt5
  1069. fensmoke2.RiseVelocity = 0
  1070. fensmoke2.Size = 0.1
  1071. fensmoke2.Opacity = 0.10
  1072. wait()
  1073. vel:Remove()
  1074. lightning = false
  1075. man.Character.Humanoid.WalkSpeed = 35
  1076. thund = true
  1077. function onTouched(hit)
  1078. human = hit.Parent:FindFirstChild("Humanoid")
  1079. if human ~= nil and hit.Parent.Name ~= man.Name then
  1080. human:TakeDamage(30)
  1081. end
  1082. if hit.Name ~= "clonelulz" then
  1083. if hit.Name ~= "ShellBlast" then
  1084. if hit.Name ~= "Base" then
  1085. if thund == true then
  1086. local fenparteh = Instance.new("Part")
  1087. fenparteh.Parent = hit
  1088. fenparteh.CFrame = hit.CFrame --+ Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1))
  1089. fenparteh.Size = Vector3.new(1,1,1)
  1090. fenparteh.CanCollide = false
  1091. local random = math.random(1,2)
  1092. if random == 1 then
  1093. fenparteh.BrickColor = BrickColor.new("Really red")
  1094. elseif random == 2 then
  1095. fenparteh.BrickColor = BrickColor.new("New Yeller")
  1096. end
  1097. fenparteh.Anchored = true
  1098. local fenmesh = Instance.new("BlockMesh")
  1099. fenmesh.Scale = Vector3.new(2,2,2)
  1100. fenmesh.Parent = fenparteh
  1101. coroutine.resume(coroutine.create(function() for i = 0,70 do
  1102. wait(0)
  1103. fenparteh.CFrame = fenparteh.CFrame*CFrame.new(0,0.7,0) * CFrame.fromEulerAnglesXYZ(math.random(-1,1),math.random(-50,50),math.random(-1,1))
  1104. fenmesh.Scale = fenmesh.Scale - Vector3.new(0.02,0.02,0.02)
  1105. end
  1106. wait()
  1107. fenparteh:Remove() end))
  1108. --[[Textures={"http://www.roblox.com/asset/?id=28031967"}
  1109. DC=Instance.new("Decal")
  1110. DC.Face="Top"
  1111. DC.Name="RingDecal"
  1112. DC.Texture=Textures[math.random(1,#Textures)]
  1113. Ring=Instance.new("Part")
  1114. Ring.Name="DarknessRing"
  1115. Ring.TopSurface="Smooth"
  1116. Ring.BottomSurface="Smooth"
  1117. Ring.Anchored=true
  1118. Ring.CanCollide=false
  1119. Ring.formFactor="Symmetric"
  1120. Ring.Transparency=1
  1121. Ring.Size=Vector3.new(1,3,1)
  1122. Ring.CFrame=CFrame.new(hit.Position)*CFrame.fromEulerAnglesXYZ(math.random(-50,50)/14,math.random(-50,50)/14,math.random(-50,50)/14)
  1123. Ring.BrickColor=BrickColor:Yellow()
  1124. Ring.Parent=game.workspace
  1125. local winner=Instance.new("Sound")
  1126. winner.Parent=Ring
  1127. winner.SoundId="http://www.roblox.com/asset/?id=2101148"
  1128. winner.Name="WINNER"
  1129. winner.Pitch=0.5
  1130. winner:Play()
  1131. D=DC:clone()
  1132. D.Parent=Ring
  1133. D=DC:clone()
  1134. D.Face="Bottom"
  1135. D.Parent=Ring
  1136. M=Instance.new("BlockMesh")
  1137. M.Scale=Vector3.new(1,0,1)
  1138. M.Parent=Ring ]]--
  1139. coroutine.resume(coroutine.create(function(p,c,v) for i=1, 20 do p.Size=p.Size+Vector3.new(4,0,4)
  1140.  
  1141. p.CFrame=c*CFrame.fromEulerAnglesXYZ(0,.5*i,0) wait() p.CFrame=c*CFrame.fromEulerAnglesXYZ(0,.3*i,0) end p.Parent=nil
  1142.  
  1143. end),shellspawn.CFrame,P)
  1144. local p = Instance.new("Part")
  1145. p.Material = "SmoothPlastic"
  1146. p.Parent = game.workspace
  1147. p.CFrame = hit.CFrame
  1148. p.TopSurface = "Smooth"
  1149. p.BottomSurface = "Smooth"
  1150. p.CanCollide = false
  1151. p.Anchored = true
  1152. p.Transparency = 0
  1153. if random == 1 then
  1154. p.BrickColor = BrickColor.new("Really red")
  1155. elseif random == 2 then
  1156. p.BrickColor = BrickColor.new("New Yeller")
  1157. end
  1158. p.Size = Vector3.new(1,1,1)
  1159. local m = Instance.new("SpecialMesh")
  1160. m.Parent = p
  1161. m.Scale = Vector3.new(0.1,0.1,0.1)
  1162. m.MeshType = "Sphere"
  1163. coroutine.resume(coroutine.create(function() for i = 0, 1, 0.01 do
  1164. wait()
  1165. m.Scale = m.Scale + Vector3.new(0.3,0.3,0.3)
  1166. p.Transparency = p.Transparency + 0.01
  1167. end
  1168. p:Remove() end))
  1169. end
  1170. end
  1171. end
  1172. end
  1173. end
  1174. prt4.Touched:connect(onTouched)
  1175. wait(30)
  1176. thund = false
  1177. lightning = true
  1178. man.Character.Humanoid.WalkSpeed = move.Value
  1179. for i = 0, 1, 0.01 do
  1180. wait()
  1181. fenpart1.Transparency = fenpart1.Transparency + 0.02
  1182. fenpart2.Transparency = fenpart2.Transparency + 0.02
  1183. fenpart3.Transparency = fenpart3.Transparency + 0.02
  1184. fenpart3a.Transparency = fenpart3a.Transparency + 0.02
  1185. fenpart4.Transparency = fenpart4.Transparency + 0.02
  1186. fenpart5.Transparency = fenpart5.Transparency + 0.02
  1187. fenpart6.Transparency = fenpart6.Transparency + 0.02
  1188. end
  1189. wait(5)
  1190. fenpart1:Remove()
  1191. fenpart2:Remove()
  1192. fenpart3:Remove()
  1193. fenpart3a:Remove()
  1194. fenpart4:Remove()
  1195. fenpart5:Remove()
  1196. fenpart6:Remove()
  1197. fensmoke:Remove()
  1198. --wait(120)
  1199. fensmoke2.Enabled = false fensmoke2.Enabled = false
  1200. Fengui.Text = "Fen's Fire Status: Ready"
  1201. fiahreload = true
  1202. wait(7)
  1203. fensmoke2:Remove()
  1204. end
  1205. end
  1206.  
  1207. function removesmokepipe()
  1208. smokin = false
  1209. smoke = 0
  1210. fensmuke.Enabled = false
  1211. LW.Parent = nil
  1212. LSH.Parent = player.Character.Torso
  1213. w7.Parent = nil
  1214. texz8:Remove()
  1215. texz9:Remove()
  1216. texz10:Remove()
  1217. end
  1218.  
  1219. function nosmokepipe()
  1220. smokin = false
  1221. if smoke == 1 then
  1222. smoke = 0
  1223. fensmuke.Enabled = false
  1224. for i = 0, 1, 0.1 do
  1225. wait(0.05)
  1226. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.5+2.5*-i,2*i-2,0)
  1227.  
  1228. end
  1229. wait()
  1230. LW.Parent = nil
  1231. LSH.Parent = player.Character.Torso
  1232. w7.Part1 = man.Character["Left Leg"]
  1233. w7.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(-0.7, 0.4, 0)
  1234. end
  1235. end
  1236.  
  1237. function Fenfire() --lol it be Fenrier's Fen's Fire script :D oh and I really did make this Fen's Fire, not linerider64 :U
  1238. if fiahreload == true then
  1239. Fengui.Text = "Fen's Fire Status: Cooling..."
  1240. fiahreload = false
  1241. for i = 0 , 1 , 0.05 do
  1242. wait()
  1243. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.25+-0.3*i,0,-0.5)
  1244. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1245. --R.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-2.5, -0.5, 0.5)
  1246. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.7+-0.5*i, 0, 0.8)
  1247. LW.C1 = CFrame.new(0, 1.7, 0)
  1248. end
  1249. man.Character.Humanoid.WalkSpeed = 0.01
  1250. local Fen = shellspawn:Clone() --lol clone ftw X3
  1251. Fen.Parent = swordholder
  1252. Fen.Position = shellspawn.Position
  1253. Fen.Anchored = false
  1254. Fen.Transparency = 1
  1255. Fen.formFactor = 1
  1256. Fen.Size = Vector3.new(1,1,1)
  1257. Fen.BrickColor = BrickColor.new(1005)
  1258. Fen.CFrame = shellspawn.CFrame -- + shellspawn.CFrame.lookVector * 2
  1259. local fenmsh = Instance.new("CylinderMesh")
  1260. fenmsh.Scale = Vector3.new(0.5,2,0.5)
  1261. fenmsh.Parent = Fen
  1262. local fenwel = Instance.new("Weld")
  1263. fenwel.Parent = game.workspace
  1264. fenwel.Part0 = Fen
  1265. fenwel.Part1 = shellspawn
  1266. for i = 0, 0.5, 0.01 do
  1267. wait()
  1268. Fen.Transparency = Fen.Transparency - 0.02
  1269. Fen.Reflectance = Fen.Reflectance + 0.01
  1270. local bom = Instance.new("Explosion")
  1271. bom.Parent = game.workspace
  1272. bom.Position = Fen.Position
  1273. bom.BlastRadius = 0
  1274. end
  1275. Fen.BrickColor = BrickColor.new("Institutional white")
  1276. for i = 0, 0.5, 0.01 do
  1277. wait()
  1278. Fen.Transparency = Fen.Transparency - 0.02
  1279. Fen.Reflectance = Fen.Reflectance - 0.01
  1280. local bom = Instance.new("Explosion")
  1281. bom.Parent = game.workspace
  1282. bom.Position = Fen.Position
  1283. bom.BlastRadius = 0
  1284. end
  1285. wait(1)
  1286. man.Character.Humanoid.WalkSpeed = 0
  1287. local fenbewm = Instance.new("Explosion")
  1288. fenbewm.Parent = game.workspace
  1289. fenbewm.BlastRadius = 15
  1290. fenbewm.Position = Fen.Position
  1291. local f = Instance.new("ForceField")
  1292. f.Parent = man.Character
  1293. local vel = Instance.new("BodyVelocity")
  1294. vel.Parent = man.Character.Torso
  1295. vel.maxForce = Vector3.new(4e+005,4e+005,4e+005)*2
  1296. vel.velocity = man.Character.Torso.CFrame.lookVector * -20
  1297. Fen:Remove()
  1298. xtrashellblast2()
  1299. wait(1)
  1300. f:Remove()
  1301. vel:Remove()
  1302. local fensmoke = Instance.new("Smoke")
  1303. fensmoke.Color = Color3.new(0.1,0.1,0.1)
  1304. fensmoke.Parent = shellspawn
  1305. fensmoke.RiseVelocity = 10
  1306. fensmoke.Size = 0.25
  1307. man.Character.Humanoid.WalkSpeed = move.Value
  1308. wait(1)
  1309. fensmoke.Enabled = false
  1310. local fensmoke2 = Instance.new("Smoke")
  1311. fensmoke2.Parent = prt5
  1312. fensmoke2.RiseVelocity = 0
  1313. fensmoke2.Size = 0.1
  1314. fensmoke2.Opacity = 0.10
  1315. wait(5)
  1316. fensmoke:Remove()
  1317. wait(10)
  1318. fensmoke2.Enabled = false
  1319. Fengui.Text = "Fen's Fire Status: Ready"
  1320. fiahreload = true
  1321. wait(7)
  1322. fensmoke2:Remove()
  1323. end
  1324. end -- end of Fenrier's Fen's Fire script :3
  1325.  
  1326. function horslash() -- whee I used to use this in my gunlance but not anymore :3
  1327. for i = 0, 1, 0.05 do
  1328. wait()
  1329. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.3+1.2*i, -0.5*i, -0.5+i)
  1330. --R.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.5, -0.5, 0.5)
  1331. LW.C0 = CFrame.new(-1.5+0.5*i, 0.5, -0.5*i) * CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1332. --L.C0 = CFrame.new(-1.0, 0.5, -0.5) * CFrame.fromEulerAnglesXYZ(1.7, 0, 1)
  1333. LW.C1 = CFrame.new(0, 0.5-i, 0)w1.Part1 = man.Character:findFirstChild("Right Arm")
  1334. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, -0.9, 0)
  1335. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(110), 0, 0) * CFrame.new(0, 0, 0)
  1336.  
  1337. end
  1338. ----------------------------------------
  1339. for i = 0, 1, 0.1 do
  1340. wait()
  1341. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.5, -0.5-1.7*i, 0.5+0.5*i)
  1342. --R.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.5, -2.2, 1)
  1343. LW.C0 = CFrame.new(-1-0.5*i, 0.5, -0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8-1.2*i)
  1344. end
  1345. for i = 0, 1, 0.2 do
  1346. wait()
  1347. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.5, -2.2-1*i, 1)
  1348. end
  1349. wait(0.1)
  1350. --------------------------------------
  1351. for i = 0, 1, 0.05 do
  1352. wait()
  1353. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.5-2.35*i, -2.8+2.8*i, 1-1.5*i)
  1354. --RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1355. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.7, 0, -0.4+1.2*i)
  1356. LW.C1 = CFrame.new(0, -0.5+i*2, 0)
  1357. --LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1358. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, -0.9, -0)
  1359. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), 0, 0) * CFrame.new(0, 0, 0)
  1360. end
  1361. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.25, 0, -0.5)
  1362. RW.C1 = CFrame.new(0,0.5,0)* CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1363. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1364. LW.C1 = CFrame.new(-0.3, 0.5+1.2, 0)
  1365. end
  1366.  
  1367.  
  1368. --[[
  1369. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.25, 0, -0.5)
  1370. RW.C1 = CFrame.new(0,0.5,0)* CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1371. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1372. LW.C1 = CFrame.new(-0.3, 0.5+1.2, 0)
  1373. ]]
  1374.  
  1375.  
  1376. function stab()
  1377. clonezorz = true
  1378. for i = 0, 1, 0.035 do
  1379. wait()
  1380. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.25, 0, -0.5+1*i)
  1381. RW.C1 = CFrame.new(0,0.5,0)* CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1382. LW.C0 = CFrame.new(-1.5, 0.5, 0-1*i) * CFrame.fromEulerAnglesXYZ(1.7-1.6*i, 0, 0.8)
  1383. LW.C1 = CFrame.new(-0.3, 0.5+1.2, 0)
  1384. end
  1385. damage.Value = 10
  1386. local vel = Instance.new("BodyVelocity")
  1387. vel.Parent = man.Character.Torso
  1388. vel.maxForce = Vector3.new(4e+005,4e+005,4e+005)*2
  1389. vel.velocity = man.Character.Torso.CFrame.lookVector * 50
  1390. local soundz = Instance.new("Sound")
  1391. soundz.SoundId = "rbxasset://sounds/swoosh.wav"
  1392. soundz.Volume = 1
  1393. soundz.Pitch = 0.1
  1394. soundz.Parent = prt1
  1395. soundz.Looped = true
  1396. soundz:play()
  1397. wait(0.5)
  1398. for i = 0, 1, 0.035 do
  1399. wait()
  1400. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.25-0.75*i, 0, 0.5-0.75*i)
  1401. RW.C1 = CFrame.new(0,0.5,0)* CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1402. LW.C0 = CFrame.new(-1.5, 0.5, -1) * CFrame.fromEulerAnglesXYZ(0.1, -0.5*i, 0.8)
  1403. LW.C1 = CFrame.new(-0.3, 0.5+1.2, 0)
  1404. vel.velocity = man.Character.Torso.CFrame.lookVector * 50
  1405. end
  1406. --wait(0.2)
  1407. vel.velocity = man.Character.Torso.CFrame.lookVector * 50
  1408. ----------------------------------------
  1409. for i = 0, 1, 0.05 do
  1410. wait()
  1411. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5+1.75*i, 0, -0.25-0.25*i)
  1412. RW.C1 = CFrame.new(0,0.5,0)* CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1413. LW.C0 = CFrame.new(-1.5, 0.5, -1+1*i) * CFrame.fromEulerAnglesXYZ(0.1+1.6*i, -0.5+0.5*i, 0.8)
  1414. LW.C1 = CFrame.new(-0.3, 0.5+1.2, 0)
  1415. vel.velocity = man.Character.Torso.CFrame.lookVector * 50
  1416. end
  1417. for i = 0, 1, 0.15 do
  1418. wait()
  1419. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.25-1*i, 0, -0.25-0.25)
  1420. RW.C1 = CFrame.new(0,0.5,0)* CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1421. LW.C0 = CFrame.new(-1.5, 0.5, -1+1) * CFrame.fromEulerAnglesXYZ(0.1+1.6, -0.5+0.5, 0.8)
  1422. LW.C1 = CFrame.new(-0.3, 0.5+1.2, 0)
  1423. vel.velocity = man.Character.Torso.CFrame.lookVector * 50
  1424. end
  1425.  
  1426. wait(0.25)
  1427. vel.Parent = nil
  1428. soundz:stop()
  1429. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.25, 0, -0.5)
  1430. RW.C1 = CFrame.new(0,0.5,0)* CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1431. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1432. LW.C1 = CFrame.new(-0.3, 0.5+1.2, 0)
  1433. damage.Value = 5
  1434. wait()
  1435. soundz.Parent = nil
  1436. clonezorz = false
  1437. end
  1438.  
  1439. function otherstab()
  1440. clonezorz = true
  1441. for i = 0, 1, 0.2 do
  1442. wait()
  1443. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.25, 0, -0.5+1*i)
  1444. RW.C1 = CFrame.new(0,0.5,0)* CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1445. LW.C0 = CFrame.new(-1.5, 0.5, 0-1*i) * CFrame.fromEulerAnglesXYZ(1.7-1.6*i, 0, 0.8)
  1446. LW.C1 = CFrame.new(-0.3, 0.5+1.2, 0)
  1447. end
  1448. damage.Value = 15
  1449. local vel = Instance.new("BodyVelocity")
  1450. vel.Parent = man.Character.Torso
  1451. vel.maxForce = Vector3.new(4e+005,4e+005,4e+005)*2
  1452. vel.velocity = man.Character.Torso.CFrame.lookVector * 20
  1453. local soundz = Instance.new("Sound")
  1454. soundz.SoundId = "rbxasset://sounds/swoosh.wav"
  1455. soundz.Volume = 1
  1456. soundz.Pitch = 0.1
  1457. soundz.Parent = prt1
  1458. soundz.Looped = true
  1459. soundz:play()
  1460. wait(0.5)
  1461. for i = 0, 1, 0.23 do
  1462. wait()
  1463. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.25-0.75*i, 0, 0.5-0.75*i)
  1464. RW.C1 = CFrame.new(0,0.5,0)* CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1465. LW.C0 = CFrame.new(-1.5, 0.5, -1) * CFrame.fromEulerAnglesXYZ(0.1, -0.5*i, 0.8)
  1466. LW.C1 = CFrame.new(-0.3, 0.5+1.2, 0)
  1467. vel.velocity = man.Character.Torso.CFrame.lookVector * 10
  1468. end
  1469. --wait(0.2)
  1470. vel.velocity = man.Character.Torso.CFrame.lookVector * 10
  1471. ----------------------------------------
  1472. for i = 0, 1, 0.23 do
  1473. wait()
  1474. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5+1.75*i, 0, -0.25-0.25*i)
  1475. RW.C1 = CFrame.new(0,0.5,0)* CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1476. LW.C0 = CFrame.new(-1.5, 0.5, -1+1*i) * CFrame.fromEulerAnglesXYZ(0.1+1.6*i, -0.5+0.5*i, 0.8)
  1477. LW.C1 = CFrame.new(-0.3, 0.5+1.2, 0)
  1478. vel.velocity = man.Character.Torso.CFrame.lookVector * 10
  1479. end
  1480. for i = 0, 1, 0.05 do
  1481. wait()
  1482. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.25-1*i, 0, -0.25-0.25)
  1483. RW.C1 = CFrame.new(0,0.5,0)* CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1484. LW.C0 = CFrame.new(-1.5, 0.5, -1+1) * CFrame.fromEulerAnglesXYZ(0.1+1.6, -0.5+0.5, 0.8)
  1485. LW.C1 = CFrame.new(-0.3, 0.5+1.2, 0)
  1486. vel.velocity = man.Character.Torso.CFrame.lookVector * 2
  1487. end
  1488.  
  1489. wait(0.05)
  1490. vel.Parent = nil
  1491. soundz:stop()
  1492. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.25, 0, -0.5)
  1493. RW.C1 = CFrame.new(0,0.5,0)* CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1494. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1495. LW.C1 = CFrame.new(-0.3, 0.5+1.2, 0)
  1496. damage.Value = 5
  1497. wait()
  1498. soundz.Parent = nil
  1499. clonezorz = false
  1500. end
  1501.  
  1502.  
  1503. --[[
  1504. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.25, 0, -0.5)
  1505. RW.C1 = CFrame.new(0,0.5,0)* CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1506. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1507. LW.C1 = CFrame.new(-0.3, 0.5+1.2, 0)
  1508.  
  1509. ]]
  1510.  
  1511. gundebounce2 = true
  1512. function reload()
  1513. if gundebounce2 == true then
  1514. gundebounce2 = false
  1515. man.Character.Humanoid.WalkSpeed = 0
  1516. for i = 0, 1, 0.1 do
  1517. wait()
  1518. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.25+1*i,0,-0.5+math.rad(-20)*i)
  1519. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1520. --R.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.5, -0.5, 0.5)
  1521. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.7, 0.5*i, 0.8)
  1522. LW.C1 = CFrame.new(0, 1.7, 0)
  1523.  
  1524. end
  1525. local soundz = Instance.new("Sound")
  1526. soundz.SoundId = "rbxasset://sounds\\unsheath.wav"
  1527. soundz.Volume = 1
  1528. soundz.Pitch = 0.45
  1529. soundz.Parent = prt1
  1530. soundz:play()
  1531. for i = 0 , 1 , 0.05 do
  1532. wait()
  1533. w3a.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  1534. w3a.C0 = CFrame.fromEulerAnglesXYZ(0, 0,math.rad(180*i)) * CFrame.new(0, -1.75+0.5*i, 1*i)
  1535. end
  1536. soundz:pause()
  1537. for i = 1 , 5 do
  1538. local soundzz = Instance.new("Sound")
  1539. soundzz.SoundId = "http://www.roblox.com/asset/?id=2691591"
  1540. soundzz.Volume = 1
  1541. soundzz.Pitch = 1
  1542. soundzz.Parent = prt1
  1543. soundzz:play()
  1544. local shellz = Instance.new("Part")
  1545. shellz.Material = "SmoothPlastic"
  1546. local shellmsh = Instance.new("CylinderMesh")
  1547. shellmsh.Scale = Vector3.new(0.25,0.5,0.25)
  1548. shellmsh.Parent = shellz
  1549. shellz.Position = prt2.Position + Vector3.new(0,2,0)
  1550. shellz.Parent = game.Workspace
  1551. shellz.Size = Vector3.new(1,1,1)
  1552. --shellz.CFrame = prt4.CFrame + prt2.CFrame.lookVector * 3
  1553. shellz.CFrame = prt2.CFrame + Vector3.new(0,2,0)
  1554. shellz.BrickColor = BrickColor.new("New Yeller")
  1555. shellz.Anchored = false
  1556. shellz.CanCollide = true
  1557. shellz.BottomSurface = "Smooth"
  1558. shellz.TopSurface = "Smooth"
  1559. shellz.Velocity = Vector3.new(math.random(-20,20),40,math.random(-20,20))
  1560. game:GetService("Debris"):addItem(shellz,2)
  1561. end
  1562. Shells.Value = 5
  1563. wait(0.5)
  1564. soundz:play()
  1565. for i = 1 , 0 , -0.05 do
  1566. wait()
  1567. w3a.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  1568. w3a.C0 = CFrame.fromEulerAnglesXYZ(0, 0,math.rad(180*i)) * CFrame.new(0, -1.75+0.5*i, 1*i)
  1569. end
  1570. w3a.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  1571. w3a.C0 = CFrame.fromEulerAnglesXYZ(0, 0,0) * CFrame.new(0, -1.75, -0)
  1572. soundz:remove()
  1573. man.Character.Humanoid.WalkSpeed = move.Value
  1574. clonezorz = true
  1575. for i = 0, 1, 0.05 do
  1576. wait()
  1577. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.25+1*i,0,(-0.5+math.rad(-20))+0.25*i)
  1578. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1579. --R.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.5, -0.5, 0.5)
  1580. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.7, 0.5+0.25*i, 0.8+0.3*i)
  1581. LW.C1 = CFrame.new(0, 1.7, 0)
  1582.  
  1583. end
  1584. de=1
  1585. damage.Value = 6
  1586. ----------------------------------------
  1587. for i = 1, 0, -0.125 do
  1588. wait()
  1589. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.25*i,0,(-0.75+math.rad(-20))*i)
  1590. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1591. --R.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.5, -0.5, 0.5)
  1592. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.7, 0.75*i, 1.1)
  1593. LW.C1 = CFrame.new(0, 1.7, 0)
  1594.  
  1595. end
  1596. for i = 0, 1, 0.1 do
  1597. wait()
  1598. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-1*i,0,0)
  1599. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1600. --R.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.5, -0.5, 0.5)
  1601. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.7, 0, 1.1)
  1602. LW.C1 = CFrame.new(0, 1.7, 0)
  1603.  
  1604. end
  1605. wait(0.1)
  1606. for i = 0, 1, 0.075 do
  1607. wait()
  1608. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-1+1.25*i,0,-0.5*i)
  1609. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1610. --R.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.5, -0.5, 0.5)
  1611. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.7, 0, 1.1-0.3*i)
  1612. LW.C1 = CFrame.new(0, 1.7, 0)
  1613. end
  1614. wait(0.1)
  1615. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, -0.9, -0)
  1616. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), 0, 0) * CFrame.new(0, 0, 0)
  1617. de=0
  1618. --------------------------------------
  1619. --[[
  1620. for i = 0, 1, 0.05 do
  1621. wait()
  1622. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.5-1.2*i, -2.8+2.8*i, 1-1.5*i)
  1623. --RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1624. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.7, 0, -0.4+1.2*i)
  1625. LW.C1 = CFrame.new(0, -0.5+i*2, 0)
  1626. --LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1627. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, -0.9, -2)
  1628. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), 0, 0) * CFrame.new(0, 0, 0)
  1629. end]]
  1630. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.25, 0, -0.5)
  1631. RW.C1 = CFrame.new(0,0.5,0)* CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1632. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1633. LW.C1 = CFrame.new(-0.3, 0.5+1.2, 0)
  1634. damage.Value = 5
  1635. gundebounce2 = true
  1636. clonezorz = false
  1637. end
  1638. end
  1639.  
  1640.  
  1641. function smash()
  1642. clonezorz = true
  1643. local soundz = Instance.new("Sound")
  1644. soundz.SoundId = "rbxasset://sounds\\swordslash.wav"
  1645. soundz.Volume = 1
  1646. soundz.Pitch = 0.8
  1647. soundz.Parent = prt1
  1648. soundz.PlayOnRemove = true
  1649. for i = 0, 1, 0.1 do
  1650. wait()
  1651. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.25+1*i,0,-0.5+math.rad(-20)*i)
  1652. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1653. --R.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.5, -0.5, 0.5)
  1654. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.7, 0.5*i, 0.8)
  1655. LW.C1 = CFrame.new(0, 1.7, 0)
  1656.  
  1657. end
  1658. wait(0.1)
  1659. for i = 0, 1, 0.05 do
  1660. wait()
  1661. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.25+1*i,0,(-0.5+math.rad(-20))+0.25*i)
  1662. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1663. --R.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.5, -0.5, 0.5)
  1664. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.7, 0.5+0.25*i, 0.8+0.3*i)
  1665. LW.C1 = CFrame.new(0, 1.7, 0)
  1666.  
  1667. end
  1668. soundz:remove()
  1669. de=1
  1670. damage.Value = 6
  1671. ----------------------------------------
  1672. for i = 1, 0, -0.125 do
  1673. wait()
  1674. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.25*i,0,(-0.75+math.rad(-20))*i)
  1675. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1676. --R.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.5, -0.5, 0.5)
  1677. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.7, 0.75*i, 1.1)
  1678. LW.C1 = CFrame.new(0, 1.7, 0)
  1679.  
  1680. end
  1681. for i = 0, 1, 0.1 do
  1682. wait()
  1683. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-1*i,0,0)
  1684. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1685. --R.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.5, -0.5, 0.5)
  1686. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.7, 0, 1.1)
  1687. LW.C1 = CFrame.new(0, 1.7, 0)
  1688.  
  1689. end
  1690. wait(0.1)
  1691. for i = 0, 1, 0.075 do
  1692. wait()
  1693. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-1+1.25*i,0,-0.5*i)
  1694. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1695. --R.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.5, -0.5, 0.5)
  1696. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.7, 0, 1.1-0.3*i)
  1697. LW.C1 = CFrame.new(0, 1.7, 0)
  1698. end
  1699. wait(0.1)
  1700. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, -0.9, -0)
  1701. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), 0, 0) * CFrame.new(0, 0, 0)
  1702. de=0
  1703. --------------------------------------
  1704. --[[
  1705. for i = 0, 1, 0.05 do
  1706. wait()
  1707. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.5-1.2*i, -2.8+2.8*i, 1-1.5*i)
  1708. --RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1709. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.7, 0, -0.4+1.2*i)
  1710. LW.C1 = CFrame.new(0, -0.5+i*2, 0)
  1711. --LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1712. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, -0.9, -2)
  1713. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), 0, 0) * CFrame.new(0, 0, 0)
  1714. end]]
  1715. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.25, 0, -0.5)
  1716. RW.C1 = CFrame.new(0,0.5,0)* CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1717. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1718. LW.C1 = CFrame.new(-0.3, 0.5+1.2, 0)
  1719. damage.Value = 5
  1720. clonezorz = false
  1721. end
  1722.  
  1723.  
  1724. function clicki2() -- clickie clickie :3
  1725. if cl == true then
  1726. otherstab()
  1727. end
  1728. end
  1729.  
  1730. texz2.MouseButton1Click:connect(clicki2)
  1731.  
  1732.  
  1733.  
  1734. function clicki3()
  1735. if cl == true then
  1736. stab()
  1737. end
  1738. end
  1739.  
  1740. texz3.MouseButton1Click:connect(clicki3)
  1741.  
  1742.  
  1743.  
  1744. function clicki4()
  1745. if cl == true then
  1746. smash()
  1747. end
  1748. end
  1749.  
  1750. texz4.MouseButton1Click:connect(clicki4)
  1751.  
  1752.  
  1753.  
  1754. function clicki6()
  1755. if cl == true then
  1756. Fenfire()
  1757. end
  1758. end
  1759.  
  1760. texz6.MouseButton1Click:connect(clicki6)
  1761.  
  1762.  
  1763.  
  1764. function clicki7()
  1765. if cl == true then
  1766. reload()
  1767. end
  1768. end
  1769.  
  1770. texz7.MouseButton1Click:connect(clicki7)
  1771.  
  1772. function clicki8()
  1773. if cl == false then
  1774. smokepipe()
  1775. end
  1776. end
  1777.  
  1778. texz8.MouseButton1Click:connect(clicki8)
  1779.  
  1780. function clicki9()
  1781. if cl == false then
  1782. if smokin == true then
  1783. nosmokepipe()
  1784. end
  1785. end
  1786. end
  1787.  
  1788. texz9.MouseButton1Click:connect(clicki9)
  1789.  
  1790. function clicki10()
  1791. if cl == false then
  1792. if smokin == true then
  1793. removesmokepipe()
  1794. end
  1795. end
  1796. end
  1797.  
  1798. texz10.MouseButton1Click:connect(clicki10)
  1799.  
  1800. function clicki11()
  1801. if cl == true then
  1802. laserFen()
  1803. end
  1804. end
  1805.  
  1806. texz11.MouseButton1Click:connect(clicki11)
  1807.  
  1808. gundebounce = true
  1809. function clicki5()
  1810. if cl == true and gundebounce == true then
  1811. if smokin == false then
  1812. gundebounce = false
  1813. if Shells.Value > 0 then
  1814. Shells.Value = Shells.Value - 1
  1815. shellblast()
  1816. elseif Shells.Value <= 0 then
  1817. noblast()
  1818. end
  1819. gundebounce = true
  1820. end
  1821. end
  1822. end
  1823.  
  1824. texz5.MouseButton1Click:connect(clicki5)
  1825.  
  1826.  
  1827.  
  1828.  
  1829.  
  1830.  
  1831.  
  1832.  
  1833.  
  1834.  
  1835.  
  1836.  
  1837.  
  1838.  
  1839.  
  1840.  
  1841. cl = true
  1842.  
  1843.  
  1844. function clicki()
  1845.  
  1846. if cl == false then
  1847. if smokin == false then
  1848.  
  1849. clonezorz = true
  1850. player = man
  1851. local ch = man.Character
  1852. RSH = ch.Torso["Right Shoulder"]
  1853. LSH = ch.Torso["Left Shoulder"]
  1854. --
  1855. RSH.Parent = nil
  1856. LSH.Parent = nil
  1857. --
  1858. RW.Part0 = ch.Torso
  1859. RW.C0 = CFrame.new(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1860. RW.C1 = CFrame.new(0, 0.5, 0)
  1861. RW.Part1 = ch["Right Arm"]
  1862. RW.Parent = ch.Torso
  1863. _G.R = RW
  1864. --
  1865. LW.Part0 = ch.Torso
  1866. LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1867. LW.C1 = CFrame.new(0, 0.5, 0)
  1868. LW.Part1 = ch["Left Arm"]
  1869. LW.Parent = ch.Torso
  1870. _G.L = LW
  1871. conna = prt4.Touched:connect(sword)
  1872. conna2 = prt5.Touched:connect(sword)
  1873. texz.Text = "Disable Gunlance"
  1874. w1.Part1 = man.Character:findFirstChild("Right Arm")
  1875. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, -0.9, -0)
  1876. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), 0, 0) * CFrame.new(0, 0, 0)
  1877. for i = 1 , 0 , -0.05 do
  1878. wait()
  1879. RW.C0 = CFrame.new(1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(0, 0, -0)
  1880. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(math.rad(120)*i, 0, math.rad(45)*i)
  1881. end
  1882. for i = 0, 1, 0.05 do
  1883. wait()
  1884. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.25*i, 0, -0.5*i)
  1885. RW.C1 = CFrame.new(0,0.5,0)* CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1886. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.7*i, 0, 0.8*i)
  1887. LW.C1 = CFrame.new(-0.3*i, 0.5+1.2*i, 0)
  1888. end
  1889. local soundz = Instance.new("Sound")
  1890. soundz.SoundId = "rbxasset://sounds\\unsheath.wav"
  1891. soundz.Volume = 1
  1892. soundz.Pitch = 0.65
  1893. soundz.Parent = prt1
  1894. soundz.PlayOnRemove = true
  1895. wait()
  1896. soundz:remove()
  1897. for i = 1 , 0 , -0.05 do
  1898. wait()
  1899. w3a.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  1900. w3a.C0 = CFrame.fromEulerAnglesXYZ(0, 0,math.rad(180*i)) * CFrame.new(0, -1.75+0.5*i, 1*i)
  1901. end
  1902. w3a.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  1903. w3a.C0 = CFrame.fromEulerAnglesXYZ(0, 0,0) * CFrame.new(0, -1.75, -0)
  1904. cl = true
  1905. clonezorz = false
  1906. end
  1907. elseif cl == true then
  1908.  
  1909. for i = 1 , 0 ,-0.05 do
  1910. wait()
  1911. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.25*i, 0, 0.8*i)
  1912. LW.C1 = CFrame.new(-0.3*i, 0.5+1.2*i, 0)
  1913. end
  1914. local soundz = Instance.new("Sound")
  1915. soundz.SoundId = "rbxasset://sounds\\unsheath.wav"
  1916. soundz.Volume = 1
  1917. soundz.Pitch = 0.75
  1918. soundz.Parent = prt1
  1919. soundz.PlayOnRemove = true
  1920. wait()
  1921. soundz:remove()
  1922. for i = 0, 1, 0.05 do
  1923. wait()
  1924. RW.C0 = CFrame.new(1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(0, 0, -0)
  1925. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(120)*i, 0, math.rad(45)*i)
  1926. w3a.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  1927. w3a.C0 = CFrame.fromEulerAnglesXYZ(0, 0,math.rad(180*i)) * CFrame.new(0, -1.75+0.5*i, 1*i)
  1928. --[[
  1929. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.7*i, 0, 0.8*i)
  1930. LW.C1 = CFrame.new(0,0.5,0) ]]
  1931. end
  1932. RW.Parent = nil
  1933. LW.Parent = nil
  1934. RSH.Parent = player.Character.Torso
  1935. LSH.Parent = player.Character.Torso
  1936. texz.Text = "Gunlance"
  1937. conna:disconnect()
  1938. conna2:disconnect()
  1939. w1.Part1 = man.Character:findFirstChild("Torso")
  1940. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0.9)
  1941. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(180), math.rad(90), math.rad(45--[[+90]])) * CFrame.new(0, -0, 0)
  1942. --[[for i = 0 , 1 , 0.05 do
  1943. wait()
  1944. w3a.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  1945. w3a.C0 = CFrame.fromEulerAnglesXYZ(0, 0,math.rad(180*i)) * CFrame.new(0, -1.75+0.5*i, 1*i)
  1946. end]]
  1947. move.Value = 16
  1948. damageboost = 0
  1949. cl = false
  1950. end
  1951.  
  1952. end
  1953.  
  1954. texz.MouseButton1Click:connect(clicki)
  1955.  
  1956.  
  1957.  
  1958. --end
  1959.  
  1960.  
  1961.  
  1962. function moveupdate()
  1963.  
  1964. if man.Character ~= nil then
  1965. if man.Character:FindFirstChild("Humanoid") ~= nil then
  1966. man.Character:FindFirstChild("Humanoid").WalkSpeed = move.Value
  1967. movegui.Text = "WalkSpeed : " ..move.Value
  1968. boostgui.Text = "DamageBoost : " ..damageboost
  1969. end
  1970. end
  1971.  
  1972. end
  1973.  
  1974. move.Changed:connect(moveupdate)
  1975.  
  1976. function damageupdate()
  1977.  
  1978.  
  1979. damagegui.Text = "Damage : " ..damage.Value
  1980.  
  1981.  
  1982. end
  1983.  
  1984. damage.Changed:connect(damageupdate)
  1985.  
  1986. function shellupdate()
  1987.  
  1988.  
  1989. shellgui.Text = "Shells : " ..Shells.Value
  1990.  
  1991.  
  1992. end
  1993. Shells.Changed:connect(shellupdate)
  1994.  
  1995. script.Parent = swordholder
  1996.  
  1997. while true do
  1998. wait(0.1)
  1999. if clonezorz == true then
  2000. local clone = prt4:Clone()
  2001. clone.Anchored = true
  2002. clone.Parent = man.Character
  2003. clone.Name = "clonelulz"
  2004. clone.BrickColor = BrickColor.new(1005)
  2005. coroutine.resume(coroutine.create(function() for i = 0, 1, 0.05 do wait() clone.Transparency = clone.Transparency +
  2006.  
  2007. 0.05 clone.Reflectance = clone.Reflectance + 0.01 end clone:Remove() end))
  2008. end
  2009. --[[if thund == true then
  2010. wait(0.2)
  2011. local clone = prt1:Clone()
  2012. clone.Anchored = true
  2013. clone.Parent = man.Character
  2014. clone.Name = "clonelulz"
  2015. clone.BrickColor = BrickColor.new("Really red")
  2016. coroutine.resume(coroutine.create(function() for i = 0, 1, 0.05 do wait() clone.Transparency = clone.Transparency +
  2017.  
  2018. 0.05 clone.Reflectance = clone.Reflectance + 0.01 end clone:Remove() end))
  2019. local clone = prt2:Clone()
  2020. clone.Anchored = true
  2021. clone.Parent = man.Character
  2022. clone.Name = "clonelulz"
  2023. clone.BrickColor = BrickColor.new("New Yeller")
  2024. coroutine.resume(coroutine.create(function() for i = 0, 1, 0.05 do wait() clone.Transparency = clone.Transparency +
  2025.  
  2026. 0.05 clone.Reflectance = clone.Reflectance + 0.01 end clone:Remove() end))
  2027. local clone = prt3:Clone()
  2028. clone.Anchored = true
  2029. clone.Parent = man.Character
  2030. clone.Name = "clonelulz"
  2031. clone.BrickColor = BrickColor.new("New Yeller")
  2032. coroutine.resume(coroutine.create(function() for i = 0, 1, 0.05 do wait() clone.Transparency = clone.Transparency +
  2033.  
  2034. 0.05 clone.Reflectance = clone.Reflectance + 0.01 end clone:Remove() end))
  2035. local clone = prt3a:Clone()
  2036. clone.Anchored = true
  2037. clone.Parent = man.Character
  2038. clone.Name = "clonelulz"
  2039. clone.BrickColor = BrickColor.new("New Yeller")
  2040. coroutine.resume(coroutine.create(function() for i = 0, 1, 0.05 do wait() clone.Transparency = clone.Transparency +
  2041.  
  2042. 0.05 clone.Reflectance = clone.Reflectance + 0.01 end clone:Remove() end))
  2043. local clone = prt4:Clone()
  2044. clone.Anchored = true
  2045. clone.Parent = man.Character
  2046. clone.Name = "clonelulz"
  2047. clone.BrickColor = BrickColor.new("New Yeller")
  2048. coroutine.resume(coroutine.create(function() for i = 0, 1, 0.05 do wait() clone.Transparency = clone.Transparency +
  2049.  
  2050. 0.05 clone.Reflectance = clone.Reflectance + 0.01 end clone:Remove() end))
  2051. local clone = prt5:Clone()
  2052. clone.Anchored = true
  2053. clone.Parent = man.Character
  2054. clone.Name = "clonelulz"
  2055. clone.BrickColor = BrickColor.new("New Yeller")
  2056. coroutine.resume(coroutine.create(function() for i = 0, 1, 0.05 do wait() clone.Transparency = clone.Transparency +
  2057.  
  2058. 0.05 clone.Reflectance = clone.Reflectance + 0.01 end clone:Remove() end))
  2059. local clone = prt6:Clone()
  2060. clone.Anchored = true
  2061. clone.Parent = man.Character
  2062. clone.Name = "clonelulz"
  2063. clone.BrickColor = BrickColor.new("New Yeller")
  2064. coroutine.resume(coroutine.create(function() for i = 0, 1, 0.05 do wait() clone.Transparency = clone.Transparency +
  2065.  
  2066. 0.05 clone.Reflectance = clone.Reflectance + 0.01 end clone:Remove() end))
  2067. end]]
  2068. end
Add Comment
Please, Sign In to add comment