Advertisement
mathmasterphil

StickThrower

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