Advertisement
Gametoy

ekss deee

Feb 20th, 2018
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 33.24 KB | None | 0 0
  1. Player = game:GetService("Players").LocalPlayer
  2. Character = Player.Character
  3. PlayerGui = Player.PlayerGui
  4. Backpack = Player.Backpack
  5. Torso = Character.Torso
  6. Head = Character.Head
  7. LeftArm = Character["Left Arm"]
  8. LeftLeg = Character["Left Leg"]
  9. RightArm = Character["Right Arm"]
  10. RightLeg = Character["Right Leg"]
  11. LS = Torso["Left Shoulder"]
  12. LH = Torso["Left Hip"]
  13. RS = Torso["Right Shoulder"]
  14. RH = Torso["Right Hip"]
  15. attack = false
  16. attackdebounce = false
  17. combo = 0
  18. mana = 400
  19. mouse = nil
  20. necko=CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  21. lightning = false
  22. restoring = false
  23. Style = "Normal"
  24. idleanimdelay = false
  25. fly = false
  26. seeing = true
  27. --player
  28. player = nil
  29. --save shoulders
  30. RSH, LSH = nil, nil
  31. --welds
  32. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  33. --what anim
  34. anim = "none"
  35.  
  36. if Character:findFirstChild("Present Tosser",true) ~= nil then
  37. Character:findFirstChild("Present Tosser",true).Parent = nil
  38. end
  39. if Player.PlayerGui:findFirstChild("manaGUI",true) ~= nil then
  40. Player.PlayerGui:findFirstChild("manaGUI",true).Parent = nil
  41. end
  42.  
  43.  
  44. local modelzorz = Instance.new("Model")
  45. modelzorz.Name = "Present Tosser"
  46. modelzorz.Parent = Character
  47. while true do
  48.  
  49.  
  50.  
  51. local fprt1 = Instance.new("Part")
  52. fprt1.formFactor = 3
  53. fprt1.Parent = modelzorz
  54. fprt1.CanCollide = false
  55. fprt1.BrickColor = BrickColor.new (math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random())
  56. fprt1.Name = "Blade1"
  57. fprt1.Transparency = 0.2
  58. fprt1.Reflectance = 0.1
  59. fprt1.Material = "Neon"
  60. fprt1.Size = Vector3.new(1.2,1.2,1.2)
  61. fprt1.CFrame = Torso.CFrame
  62.  
  63.  
  64.  
  65. local frprt1 = Instance.new("Part")
  66. frprt1.formFactor = 3
  67. frprt1.Parent = modelzorz
  68. frprt1.CanCollide = false
  69. frprt1.BrickColor = BrickColor.new("Institutional white")
  70. frprt1.Name = "Blade1"
  71. frprt1.Transparency = 0.2
  72. frprt1.Reflectance = 0.1
  73. frprt1.Material = "Neon"
  74. frprt1.Size = Vector3.new(1.2,1.2,1.2)
  75. frprt1.CFrame = Torso.CFrame
  76. local frprt1 = Instance.new("Part")
  77.  
  78. frprt1.formFactor = 3
  79. frprt1.Parent = modelzorz
  80. frprt1.CanCollide = false
  81. frprt1.BrickColor = BrickColor.new("Institutional white")
  82. frprt1.Name = "Blade1"
  83. frprt1.Transparency = 0.2
  84. frprt1.Reflectance = 0.1
  85. frprt1.Material = "Neon"
  86. frprt1.Size = Vector3.new(1.2,1.2,1.2)
  87. frprt1.CFrame = Torso.CFrame
  88.  
  89. local frprt1 = Instance.new("Part")
  90. frprt1.formFactor = 3
  91. frprt1.Parent = modelzorz
  92. frprt1.CanCollide = false
  93. frprt1.BrickColor = BrickColor.new (math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random())
  94. frprt1.Name = "Blade1"
  95. frprt1.Transparency = 0.2
  96. frprt1.Material = "Neon"
  97. frprt1.Reflectance = 0.1
  98. frprt1.Size = Vector3.new(1.2,1.2,1.2)
  99. frprt1.CFrame = Torso.CFrame
  100. wait(.0000000000000000000000000000000001)
  101. end
  102.  
  103.  
  104.  
  105. local msh25 = Instance.new("BlockMesh")
  106. msh25.Parent = prt1
  107. msh25.Scale = Vector3.new(1,1,1)
  108.  
  109. local tmsh25 = Instance.new("BlockMesh")
  110. tmsh25.Parent = tprt1
  111. tmsh25.Scale = Vector3.new(1,1,1)
  112.  
  113. local msh1 = Instance.new("BlockMesh")
  114. msh1.Parent = prt25
  115. msh1.Scale = Vector3.new(1,1,1)
  116.  
  117. local fmsh25 = Instance.new("BlockMesh")
  118. fmsh25.Parent = fprt1
  119. fmsh25.Scale = Vector3.new(1,1,1)
  120.  
  121. local fmsh1 = Instance.new("BlockMesh")
  122. fmsh1.Parent = fprt25
  123. fmsh1.Scale = Vector3.new(1,1,1)
  124.  
  125. local rmsh25 = Instance.new("BlockMesh")
  126. rmsh25.Parent = rprt1
  127. rmsh25.Scale = Vector3.new(1,1,1)
  128.  
  129. local rmsh1 = Instance.new("BlockMesh")
  130. rmsh1.Parent = rprt25
  131. rmsh1.Scale = Vector3.new(1,1,1)
  132.  
  133. local frmsh25 = Instance.new("BlockMesh")
  134. frmsh25.Parent = frprt1
  135. frmsh25.Scale = Vector3.new(1,1,1)
  136.  
  137. local frmsh1 = Instance.new("BlockMesh")
  138. frmsh1.Parent = frprt25
  139. frmsh1.Scale = Vector3.new(1,1,1)
  140.  
  141. local wld1 = Instance.new("Weld")
  142. wld1.Parent = prt1
  143. wld1.Part0 = prt1
  144. wld1.Part1 = LeftArm
  145. wld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,.5,0)
  146. wld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  147. local wld25 = Instance.new("Weld")
  148. wld25.Parent = prt25
  149. wld25.Part0 = prt25
  150. wld25.Part1 = LeftArm
  151. wld25.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-.5,0)
  152. wld25.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  153.  
  154. local twld1 = Instance.new("Weld")
  155. twld1.Parent = tprt1
  156. twld1.Part0 = tprt1
  157. twld1.Part1 = Torso
  158. twld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  159. twld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  160.  
  161. local fwld1 = Instance.new("Weld")
  162. fwld1.Parent = fprt1
  163. fwld1.Part0 = fprt1
  164. fwld1.Part1 = LeftLeg
  165. fwld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,.5,0)
  166. fwld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  167. local fwld25 = Instance.new("Weld")
  168. fwld25.Parent = fprt25
  169. fwld25.Part0 = fprt25
  170. fwld25.Part1 = LeftLeg
  171. fwld25.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,5,0)
  172. fwld25.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  173.  
  174. local rwld1 = Instance.new("Weld")
  175. rwld1.Parent = rprt1
  176. rwld1.Part0 = rprt1
  177. rwld1.Part1 = RightArm
  178. rwld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,.5,0)
  179. rwld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  180. local rwld25 = Instance.new("Weld")
  181. rwld25.Parent = rprt25
  182. rwld25.Part0 = rprt25
  183. rwld25.Part1 = RightArm
  184. rwld25.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-.5,0)
  185. rwld25.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  186.  
  187. local frwld1 = Instance.new("Weld")
  188. frwld1.Parent = frprt1
  189. frwld1.Part0 = frprt1
  190. frwld1.Part1 = RightLeg
  191. frwld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,.5,0)
  192. frwld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  193. local frwld25 = Instance.new("Weld")
  194. frwld25.Parent = frprt25
  195. frwld25.Part0 = frprt25
  196. frwld25.Part1 = RightLeg
  197. frwld25.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-.5,0)
  198. frwld25.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  199. local gairo = Instance.new("BodyGyro")
  200. gairo.Parent = nil
  201. gairo.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  202. gairo.P = 20e+003
  203.  
  204. if (script.Parent.className ~= "HopperBin") then
  205. Tool = Instance.new("HopperBin")
  206. Tool.Parent = Backpack
  207. Tool.Name = "Present Tosser"
  208. script.Parent = Tool
  209. end
  210. Bin = script.Parent
  211.  
  212. function ThrowSpam2(mouse)
  213. for i = 0,1,0.1 do
  214. wait()
  215. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,3.14*i,1.57) * CFrame.new(0,1,0)
  216. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  217. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+3.04*i,0,0)
  218. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  219. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  220. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  221. end
  222. wait(0.1)
  223. ss(1)
  224. coroutine.resume(coroutine.create(function()
  225. for i = 1,30 do
  226. wait(0.1)
  227. coroutine.resume(coroutine.create(function()
  228. shoottrail(mouse)
  229. end))
  230. end
  231. coroutine.resume(coroutine.create(function()
  232. for i = 0,1,0.2 do
  233. wait()
  234. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  235. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+0.57-2+1.5+2-3*i,0,0)
  236. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  237. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-1.77,0,1.4-1.4)
  238. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  239. end
  240. end))
  241. prt1.CanCollide = true
  242. shoottrail(mouse)
  243. --ShootArrow(mouse.hit.p, 200, mouse.Target)
  244. wait(1)
  245. prt1.Anchored = false
  246. wld1.Parent = prt1
  247. wld1.Part0 = prt1
  248. wld1.Part1 = LeftArm
  249. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,3.14,1.57) * CFrame.new(0,1,0)
  250. wld1.C1 = CFrame.new(0,0,0)
  251. if heromode == false then
  252. else
  253. wait(4)
  254. end
  255. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,0,1.57) * CFrame.new(0,1,0)
  256. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,0)
  257. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  258. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  259. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  260. attack = false
  261. rangepower = 10
  262. end))
  263. end
  264.  
  265. spread2 = 500
  266. range2 = 1000
  267. rangepower = 10
  268. function shoottrail2(mouse)
  269. local spreadvector = (Vector3.new(math.random(-spread2,spread2),math.random(-spread2,spread2),math.random(-spread2,spread2)) / 100) * (prt1.Position-mouse.Hit.p).magnitude/100
  270. local dir = CFrame.new((prt1.Position+mouse.Hit.p)/2,mouse.Hit.p+spreadvector)
  271. local hit2,pos = rayCast(prt1.Position,dir.lookVector,10,Character)
  272. local rangepos = range2
  273. local function drawtrail(From,To)
  274. local effectsmsh = Instance.new("CylinderMesh")
  275. effectsmsh.Scale = Vector3.new(1,1,1)
  276. effectsmsh.Name = "Mesh"
  277. local effectsg = Instance.new("Part")
  278. effectsg.formFactor = 3
  279. effectsg.CanCollide = false
  280. effectsg.Name = "Eff"
  281. effectsg.Locked = true
  282. effectsg.Anchored = true
  283. effectsg.Size = Vector3.new(2,0.2,2)
  284. effectsg.Parent = Character
  285. effectsmsh.Parent = effectsg
  286. if heromode == true then
  287. effectsg.BrickColor = BrickColor.new("New Yeller")
  288. else
  289. if RAEG == true then
  290. effectsg.BrickColor = BrickColor.new("Bright red")
  291. else
  292. effectsg.BrickColor = BrickColor.new("white")
  293. end
  294. end
  295. effectsg.Reflectance = 0.25
  296. local LP = From
  297. local point1 = To
  298. local mg = (LP - point1).magnitude
  299. effectsmsh.Scale = Vector3.new(1,mg*5,1)
  300. effectsg.CFrame = CFrame.new((LP+point1)/2,point1) * CFrame.Angles(math.rad(90),0,0)
  301. coroutine.resume(coroutine.create(function()
  302. for i = 0 , 1 , 0.2 do
  303. wait()
  304. effectsg.Transparency = 1*i
  305. effectsmsh.Scale = Vector3.new(1-1*i,mg*5,1-1*i)
  306. end
  307. effectsg.Parent = nil
  308. end))
  309. end
  310. local newpos = prt1.Position
  311. local inc = rangepower
  312. repeat
  313. wait()
  314. rangepos = rangepos - 10
  315. dir = dir * CFrame.Angles(math.rad(-1),0,0)
  316. hit2,pos = rayCast(newpos,dir.lookVector,inc,Character)
  317. drawtrail(newpos,pos)
  318. newpos = newpos + (dir.lookVector * inc)
  319. if inc >= 20 then
  320. inc = inc - 10
  321. end
  322. if hit2 ~= nil then
  323. rangepos = 0
  324. end
  325. until rangepos <= 0
  326. if hit2 ~= nil then
  327. local effectsmsh = Instance.new("SpecialMesh")
  328. effectsmsh.MeshId = "http://www.roblox.com/asset/?id=15887356"
  329. --effectsmsh.Scale = Vector3.new(1,1,2.5)
  330. effectsmsh.Scale = Vector3.new(3,3,3)
  331. local effectsg = Instance.new("Part")
  332. effectsg.formFactor = 3
  333. effectsg.CanCollide = false
  334. effectsg.Name = "Arrow"
  335. effectsg.Locked = true
  336. effectsg.Size = Vector3.new(0.2,0.2,0.2)
  337. effectsg.Parent = modelzorz
  338. if heromode == true then
  339. effectsg.BrickColor = BrickColor.new("New Yeller")
  340. else
  341. if RAEG == true then
  342. effectsg.BrickColor = BrickColor.new("Bright red")
  343. else
  344. effectsg.BrickColor = BrickColor.new("white")
  345. end
  346. end
  347. effectsmsh.Parent = effectsg
  348. effectsg.CFrame = CFrame.new(newpos,pos) + CFrame.new(newpos,pos).lookVector*2.5*2
  349. local efwel = Instance.new("Weld")
  350. efwel.Parent = effectsg
  351. efwel.Part0 = effectsg
  352. efwel.Part1 = hit2
  353. local HitPos = effectsg.Position + CFrame.new(newpos,pos).lookVector*0.75
  354. --local HitPos = prt1.Position + CFrame.new(newpos,pos).lookVector*0.75
  355. --local HitPos = prt1.Position + (prt1.CFrame.lookVector * .5)
  356. local CJ = CFrame.new(HitPos)
  357. local C0 = effectsg.CFrame:inverse() * CJ
  358. local C1 = hit2.CFrame:inverse() * CJ
  359. efwel.C0 = C0
  360. efwel.C1 = C1
  361. efwel.Parent = effectsg
  362. Damg = 20
  363. if RAEG == true then
  364. Damg=Damg+5
  365. end
  366. hs(0.8)
  367. if heromode == true then
  368. magicsound(0.7)
  369. local c = game.Workspace:GetChildren();
  370. for i = 1, #c do
  371. local hum = c[i]:findFirstChild("Humanoid")
  372. if hum ~= nil and hum.Health ~= 0 then
  373. local head = c[i]:findFirstChild("Head");
  374. if head ~= nil then
  375. local targ = head.Position - effectsg.Position;
  376. local mag = targ.magnitude;
  377. if mag <= 15 and c[i].Name ~= Player.Name then
  378. wait()
  379. DBHit(head,effectsg,5)
  380. end
  381. end
  382. end
  383. end
  384. local msh1 = Instance.new("SpecialMesh") --Messy Script incoming >_>
  385. msh1.Scale = Vector3.new(0.01,0.01,0.01)
  386. msh1.MeshType = "Sphere"
  387. S=Instance.new("Part")
  388. S.Name="Effect"
  389. S.formFactor=0
  390. S.Size=Vector3.new(3,3,3)
  391. S.BrickColor=BrickColor.new("New Yeller")
  392. S.Reflectance = 0
  393. S.TopSurface=0
  394. S.BottomSurface=0
  395. S.Transparency=0
  396. S.Anchored=true
  397. S.CanCollide=false
  398. S.CFrame=effectsg.CFrame*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  399. S.Parent=workspace
  400. msh1.Parent = S
  401. r=Instance.new("Part")
  402. r.Anchored=true
  403. r.Name="Ring"
  404. r.CanCollide=false
  405. r.TopSurface=0
  406. r.BottomSurface=0
  407. r.CFrame=effectsg.CFrame*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(1,0,0)
  408. r.Parent=workspace
  409. local ring = Instance.new("SpecialMesh")
  410. ring.Parent = r
  411. ring.MeshId = "http://www.roblox.com/asset/?id=3270017"
  412. ring.Name = "RingMesh"
  413. r.RingMesh.Scale=Vector3.new(0.1,0.1,0.1)
  414. r.BrickColor=BrickColor.new("New Yeller")
  415. coroutine.resume(coroutine.create(function(par) for i=1, 9 do par.Transparency=i/9 par.RingMesh.Scale=par.RingMesh.Scale+Vector3.new(3,3,3) wait() end par.Parent=nil end),r)
  416. r=Instance.new("Part")
  417. r.Anchored=true
  418. r.Name="Ring"
  419. r.CanCollide=false
  420. r.TopSurface=0
  421. r.BottomSurface=0
  422. r.CFrame=effectsg.CFrame*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(-1,0,0)
  423. r.Parent=workspace
  424. local ring = Instance.new("SpecialMesh")
  425. ring.Parent = r
  426. ring.MeshId = "http://www.roblox.com/asset/?id=3270017"
  427. ring.Name = "RingMesh"
  428. r.RingMesh.Scale=Vector3.new(0.1,0.1,0.1)
  429. r.BrickColor=BrickColor.new("New Yeller")
  430. coroutine.resume(coroutine.create(function(par) for i=1, 9 do par.Transparency=i/9 par.RingMesh.Scale=par.RingMesh.Scale+Vector3.new(3,3,3) wait() end par.Parent=nil end),r)
  431. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.4,0.4,0.4) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=Part.Transparency+0.1 wait() end Part.Parent=nil end),S,S.CFrame)
  432.  
  433. local msh1 = Instance.new("SpecialMesh")
  434. msh1.Scale = Vector3.new(0.01,0.01,0.01)
  435. msh1.MeshType = "Sphere"
  436. S=Instance.new("Part")
  437. S.Name="Effect"
  438. S.formFactor=0
  439. S.Size=Vector3.new(3,3,3)
  440. S.BrickColor=BrickColor.new("New Yeller")
  441. S.Reflectance = 0
  442. S.TopSurface=0
  443. S.BottomSurface=0
  444. S.Transparency=0
  445. S.Anchored=true
  446. S.CanCollide=false
  447. S.CFrame=effectsg.CFrame*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  448. S.Parent=Character
  449. msh1.Parent = S
  450. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.3,0.3,0.3) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=Part.Transparency+0.1 wait() end Part.Parent=nil end),S,S.CFrame)
  451.  
  452. local msh1 = Instance.new("SpecialMesh")
  453. msh1.Scale = Vector3.new(1,0.5,1)
  454. msh1.MeshType = "Sphere"
  455. S=Instance.new("Part")
  456. S.Name="Effect"
  457. S.formFactor=0
  458. S.Size=Vector3.new(8,8,8)
  459. S.BrickColor=BrickColor.new("New Yeller")
  460. S.Reflectance = 0
  461. S.TopSurface=0
  462. S.BottomSurface=0
  463. S.Transparency=0
  464. S.Anchored=true
  465. S.CanCollide=false
  466. S.CFrame=effectsg.CFrame*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0,0,0)
  467. S.Parent=workspace
  468. msh1.Parent = S
  469. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15,0.3,0.15) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  470. end
  471. coroutine.resume(coroutine.create(function()
  472. wait(3)
  473. effectsg.Parent = nil
  474. end))
  475. if hit2.Parent:FindFirstChild("Humanoid") ~= nil then
  476. hum = hit2.Parent.Humanoid
  477. attackdebounce = false
  478. Damagefunc1(hit2,Damg,15)
  479. elseif hit2.Parent.Parent ~= nil and hit2.Parent.Parent:FindFirstChild("Humanoid") ~= nil then
  480. hum = hit2.Parent.Parent.Humanoid
  481. attackdebounce = false
  482. Damagefunc1(hit2,Damg,15)
  483. end
  484. end
  485. end
  486.  
  487. function BouncingSpear(mouse)
  488. attack = true
  489. for i = 0,1,0.1 do
  490. wait()
  491. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,3.14*i,1.57) * CFrame.new(0,1,0)
  492. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  493. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+3.04*i,0,0)
  494. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  495. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  496. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  497. end
  498. wait(0.1)
  499. ss(1)
  500. coroutine.resume(coroutine.create(function()
  501. for i = 0,1,0.2 do
  502. wait()
  503. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  504. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+0.57-2+1.5+2-3*i,0,0)
  505. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  506. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-1.77,0,1.4-1.4)
  507. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  508. end
  509. end))
  510. Bouncing = true
  511. prt1.CanCollide = true
  512. spread2 = 100000
  513. cloning = 0
  514. wait()
  515. attack = true
  516. while wld1.Parent ~= nil and Bouncing == true and attack == true do
  517. if wld1.Parent == nil then
  518. Bouncing = false
  519. end
  520. cloning = cloning + 1
  521. if cloning == 5 and heromode == false then
  522. cloning = 0
  523. for i = 1,2 do
  524. coroutine.resume(coroutine.create(function()
  525. shoottrail2(mouse)
  526. end))
  527. end
  528. end
  529. shoottrail(mouse)
  530. --ShootArrow(mouse.hit.p, 200, mouse.Target)
  531. if heromode == true then
  532. rangepower = 40
  533. spread = 2000
  534. spread2 = 2500
  535. --spread2 = 100000
  536. --spread = 100000
  537. range = 30
  538. range2 = 200
  539. elseif heromode == false then
  540. rangepower = 10
  541. spread = 2000
  542. spread2 = 2500
  543. --spread2 = 100000
  544. --spread = 100000
  545. range = 50
  546. range2 = 200
  547. end
  548. wait(0)
  549. end
  550. wait(1)
  551. rangepower = 10
  552. spread = 0
  553. range = 1000
  554. range2 = 1000
  555. spread2 = 500
  556. cloning = 0
  557. Bouncing = false
  558. prt1.Anchored = false
  559. wld1.Parent = prt1
  560. wld1.Part0 = prt1
  561. wld1.Part1 = LeftArm
  562. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,3.14,1.57) * CFrame.new(0,1,0)
  563. wld1.C1 = CFrame.new(0,0,0)
  564. if heromode == false then
  565. else
  566. wait(4)
  567. end
  568. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,0,1.57) * CFrame.new(0,1,0)
  569. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,0)
  570. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  571. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  572. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  573. attack = false
  574. rangepower = 10
  575. end
  576.  
  577. function Smack()
  578. attack = true
  579. for i = 0,1,0.1 do
  580. wait()
  581. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,3.14*i,1.57) * CFrame.new(0,.5,0)
  582. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  583. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+3.04*i,0,0)
  584. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  585. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  586. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  587. end
  588. wait(0.1)
  589. ss(1)
  590. coroutine.resume(coroutine.create(function()
  591. for i = 0,1,0.2 do
  592. wait()
  593. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  594. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+0.57-2+1.5+2-3*i,0,0)
  595. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  596. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-1.77,0,1.4-1.4)
  597. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  598. end
  599. end))
  600. con1=prt1.Touched:connect(function(hit) Damagefunc1(hit,20,15) end)
  601. --ShootArrow(mouse.hit.p, 200, mouse.Target)
  602. wait(1)
  603. prt1.Anchored = false
  604. wld1.Parent = prt1
  605. wld1.Part0 = prt1
  606. wld1.Part1 = LeftArm
  607. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,3.14,1.57) * CFrame.new(0,.5,0)
  608. wld1.C1 = CFrame.new(0,0,0)
  609. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,0,1.57) * CFrame.new(0,.5,0)
  610. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,0)
  611. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  612. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  613. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  614. attack = false
  615. con1:disconnect()
  616. end
  617.  
  618. function BodyThrow(mouse)
  619. attack = true
  620. for i = 0,1,0.1 do
  621. wait()
  622. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,3.14*i,1.57) * CFrame.new(0,.5,0)
  623. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  624. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+3.04*i,0,0)
  625. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  626. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  627. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  628. end
  629. wait(0.1)
  630. ss(1)
  631. coroutine.resume(coroutine.create(function()
  632. for i = 0,1,0.2 do
  633. wait()
  634. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  635. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+0.57-2+1.5+2-3*i,0,0)
  636. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  637. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-1.77,0,1.4-1.4)
  638. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  639. end
  640. end))
  641. prt1.CanCollide = true
  642. shoottrail(mouse)
  643. --ShootArrow(mouse.hit.p, 200, mouse.Target)
  644. wait(1)
  645. prt1.Anchored = false
  646. wld1.Parent = prt1
  647. wld1.Part0 = prt1
  648. wld1.Part1 = LeftArm
  649. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,3.14,1.57) * CFrame.new(0,.5,0)
  650. wld1.C1 = CFrame.new(0,0,0)
  651. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,0,1.57) * CFrame.new(0,.5,0)
  652. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,0)
  653. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  654. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  655. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  656. attack = false
  657. rangepower = 10
  658. prt1.CanCollide = false
  659. end
  660.  
  661. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  662. return game.Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  663. end
  664.  
  665. spread = 0
  666. range = 1000
  667. rangepower = 10
  668. function shoottrail(mouse)
  669. local spreadvector = (Vector3.new(math.random(-spread,spread),math.random(-spread,spread),math.random(-spread,spread)) / 100) * (prt1.Position-mouse.Hit.p).magnitude/100
  670. local dir = CFrame.new((prt1.Position+mouse.Hit.p)/2,mouse.Hit.p+spreadvector)
  671. local hit,pos = rayCast(prt1.Position,dir.lookVector,10,Character)
  672. local rangepos = range
  673. local function drawtrail(From,To)
  674. local effectsmsh = Instance.new("CylinderMesh")
  675. effectsmsh.Scale = Vector3.new(1,1,1)
  676. effectsmsh.Name = "Mesh"
  677. local effectsg = Instance.new("Part")
  678. effectsg.formFactor = 3
  679. effectsg.CanCollide = false
  680. effectsg.Name = "Eff"
  681. effectsg.Locked = true
  682. effectsg.Anchored = true
  683. effectsg.Size = Vector3.new(2,0.5,2)
  684. effectsg.Parent = workspace
  685. effectsmsh.Parent = effectsg
  686. effectsg.BrickColor = BrickColor.new("Navy blue")
  687. effectsg.Reflectance = 0.25
  688. local LP = From
  689. local point1 = To
  690. local mg = (LP - point1).magnitude
  691. effectsmsh.Scale = Vector3.new(1,mg*5,1)
  692. effectsg.CFrame = CFrame.new((LP+point1)/2,point1) * CFrame.Angles(math.rad(90),0,0)
  693. --prt25.CFrame = effectsg.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(180),1.57,0)
  694. prt25.CFrame = effectsg.CFrame * CFrame.fromEulerAnglesXYZ(-1.57,0,1.57)
  695. wld1.Part0 = prt25
  696. wld1.Part1 = effectsg
  697. --wld1.C0 = CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57)
  698. wld1.C0 = CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57)
  699. wld1.C1 = CFrame.new(0,0,0)
  700. coroutine.resume(coroutine.create(function()
  701. for i = 0 , 1 , 0.1 do
  702. wait()
  703. prt1.CFrame = effectsg.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(180),1.57,0)
  704. effectsg.Transparency = 1*i
  705. effectsmsh.Scale = Vector3.new(1-1*i,mg*5,1-1*i)
  706. end
  707. effectsg.Parent = nil
  708. end))
  709. end
  710. local newpos = prt1.Position
  711. local inc = rangepower
  712. repeat
  713. wait()
  714. rangepos = rangepos - 10
  715. dir = dir * CFrame.Angles(math.rad(-1),0,0)
  716. hit,pos = rayCast(newpos,dir.lookVector,inc,Character)
  717. drawtrail(newpos,pos)
  718. newpos = newpos + (dir.lookVector * inc)
  719. if inc >= 20 then
  720. inc = inc - 10
  721. end
  722. if hit ~= nil then
  723. rangepos = 0
  724. end
  725. until rangepos <= 0
  726. if hit ~= nil then
  727. local effectsmsh = Instance.new("SpecialMesh")
  728. effectsmsh.MeshId = "http://www.roblox.com/asset/?id=15887356"
  729. effectsmsh.TextureId = "http://www.roblox.com/asset/?id=15886781"
  730. effectsmsh.Scale = Vector3.new(1,1,2.5)
  731. local effectsg = Instance.new("Part")
  732. effectsg.formFactor = 3
  733. effectsg.CanCollide = false
  734. effectsg.Name = "Arrow"
  735. effectsg.Locked = true
  736. effectsg.Size = Vector3.new(0.2,0.2,0.2)
  737. effectsg.Parent = nil
  738. effectsmsh.Parent = effectsg
  739. effectsg.CFrame = CFrame.new(newpos,pos) + CFrame.new(newpos,pos).lookVector*2.5*2
  740. prt1.CFrame = effectsg.CFrame
  741. wld1.Part0 = prt1
  742. wld1.Part1 = hit
  743. --local HitPos = effectsg.Position + CFrame.new(newpos,pos).lookVector*0.75
  744. --local HitPos = prt1.Position + CFrame.new(newpos,pos).lookVector*0.75
  745. local HitPos = prt1.Position + (prt1.CFrame.lookVector * .5)
  746. prt1.CFrame = CFrame.new(HitPos) * CFrame.fromEulerAnglesXYZ(0,1.57,0)
  747. local CJ = CFrame.new(HitPos)
  748. local C0 = prt1.CFrame:inverse() * CJ
  749. local C1 = hit.CFrame:inverse() * CJ
  750. wld1.C0 = C0
  751. wld1.C1 = C1
  752. wld1.Parent = prt1
  753. Damg = 40
  754. hs(0.8)
  755. magicsound(0.7)
  756. local c = game.Workspace:GetChildren();
  757. for i = 1, #c do
  758. local hum = c[i]:findFirstChild("Humanoid")
  759. if hum ~= nil and hum.Health ~= 0 then
  760. local head = c[i]:findFirstChild("Head");
  761. if head ~= nil then
  762. local targ = head.Position - prt25.Position;
  763. local mag = targ.magnitude;
  764. if mag <= 15 and c[i].Name ~= Player.Name then
  765. wait()
  766. DBHit(head,prt25,30)
  767. end
  768. end
  769. end
  770. end
  771. coroutine.resume(coroutine.create(function()
  772. wait(15)
  773. effectsg.Parent = nil
  774. end))
  775. if hit.Parent:FindFirstChild("Humanoid") ~= nil then
  776. hum = hit.Parent.Humanoid
  777. Damagefunc1(hit,Damg,15)
  778. elseif hit.Parent.Parent ~= nil and hit.Parent.Parent:FindFirstChild("Humanoid") ~= nil then
  779. hum = hit.Parent.Parent.Humanoid
  780. Damagefunc1(hit,Damg,15)
  781. end
  782. end
  783. end
  784.  
  785. function Jump()
  786. attack=true
  787. local vel2 = Instance.new("BodyVelocity")
  788. vel2.Parent = Player.Character.Torso
  789. vel2.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1
  790. vel2.velocity = Vector3.new(0,1,0) * 100
  791. wait(0.1)
  792. vel2.Parent=nil
  793. attack=false
  794. end
  795.  
  796. Damagefunc1=function(hit,Damage,Knockback)
  797. if attackdebounce == false then
  798. attackdebounce = true
  799. coroutine.resume(coroutine.create(function()
  800. wait(0.1)
  801. attackdebounce = false
  802. end))
  803. if hit.Parent==nil then
  804. return
  805. end
  806. CPlayer=Bin
  807. h=hit.Parent:FindFirstChild("Humanoid")
  808. if h==nil then
  809. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  810. end
  811. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  812. if mana < 400 then
  813. mana = mana + math.random(20,30)
  814. end
  815. if mana > 400 then
  816. mana = 400
  817. end
  818. Damage=Damage
  819. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil or game.Players:GetPlayerFromCharacter(hit.Parent.Parent)~=nil then
  820. return
  821. end]]
  822. c=Instance.new("ObjectValue")
  823. c.Name="creator"
  824. c.Value=game.Players.LocalPlayer
  825. c.Parent=h
  826. game:GetService("Debris"):AddItem(c,.5)
  827. -- print(c.Value)
  828. if math.random(0,99)+math.random()<=5 then
  829. CRIT=true
  830. Damage=Damage*1.5
  831. --[[ Knockback=Knockback*2
  832. r=Instance.new("BodyAngularVelocity")
  833. r.P=3000
  834. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  835. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  836. r.Parent=hit.Parent.Torso]]
  837. critsound(2)
  838.  
  839. end
  840. Damage=Damage+math.random(0,10)
  841. -- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2))
  842. h:TakeDamage(Damage)
  843. showDamage(hit.Parent,Damage,.5)
  844. vp=Instance.new("BodyVelocity")
  845. vp.P=500
  846. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  847. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  848. vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05
  849. if Knockback>0 then
  850. vp.Parent=hit.Parent.Torso
  851. end
  852. game:GetService("Debris"):AddItem(vp,.25)
  853. --[[ r=Instance.new("BodyAngularVelocity")
  854. r.P=3000
  855. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  856. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  857. r.Parent=hit.Parent.Torso]]
  858. game:GetService("Debris"):AddItem(r,.5)
  859. c=Instance.new("ObjectValue")
  860. c.Name="creator"
  861. c.Value=Player
  862. c.Parent=h
  863. game:GetService("Debris"):AddItem(c,.5)
  864. CRIT=false
  865. hitDeb=true
  866. AttackPos=6
  867. end
  868. end
  869. end
  870.  
  871. function ss(pitch)
  872.  
  873. local SlashSound = Instance.new("Sound")
  874. --SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  875. SlashSound.SoundId = "http://roblox.com/asset/?id=10209645"
  876. SlashSound.Parent = workspace
  877. SlashSound.Volume = .7
  878. SlashSound.Pitch = pitch
  879. SlashSound.PlayOnRemove = true
  880. coroutine.resume(coroutine.create(function()
  881. wait(0)
  882. SlashSound.Parent = nil
  883. end))
  884. end
  885.  
  886. function hs(pitch)
  887. local SlashSound = Instance.new("Sound")
  888. SlashSound.SoundId = "http://roblox.com/asset/?id=10209590"
  889. SlashSound.Parent = workspace
  890. SlashSound.Volume = .5
  891. SlashSound.Pitch = pitch
  892. SlashSound.PlayOnRemove = true
  893. coroutine.resume(coroutine.create(function()
  894. wait(0)
  895. SlashSound.Parent = nil
  896. end))
  897. end
  898.  
  899. function magicsound(pitch)
  900.  
  901. local SlashSound = Instance.new("Sound")
  902. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2248511"
  903. SlashSound.Parent = workspace
  904. SlashSound.Volume = .5
  905. SlashSound.Pitch = pitch
  906. SlashSound.PlayOnRemove = true
  907. coroutine.resume(coroutine.create(function()
  908. wait(0)
  909. SlashSound.Parent = nil
  910. end))
  911. end
  912.  
  913. DBHit=function(hit,DB,Dmg) --credits to turdulator for making this function :D
  914. if hit.Parent==nil then
  915. return
  916. end
  917. h=hit.Parent:FindFirstChild("Humanoid")
  918. if h==nil then
  919. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  920. end
  921. t=hit.Parent:FindFirstChild("Torso")
  922. if h~=nil and t~=nil then
  923. if h.Parent==Character then
  924. return
  925. end
  926. Damage=Dmg+math.random(2,10)
  927. h:TakeDamage(Damage)
  928. c=Instance.new("ObjectValue")
  929. c.Name="creator"
  930. c.Value=game.Players.LocalPlayer
  931. c.Parent=h
  932. game:GetService("Debris"):AddItem(c,.5)
  933. showDamage(hit.Parent,Damage,.5)
  934. vl=Instance.new("BodyVelocity")
  935. vl.P=4500
  936. vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  937. vl.velocity=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)*1.05+Vector3.new(0,3,0)
  938. vl.Parent=t
  939. game:GetService("Debris"):AddItem(vl,.2)
  940. rl=Instance.new("BodyAngularVelocity")
  941. rl.P=3000
  942. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  943. rl.angularvelocity=Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  944. rl.Parent=t
  945. game:GetService("Debris"):AddItem(rl,.2)
  946. else
  947. if hit.CanCollide==false then
  948. return
  949. end
  950. MagicCom:disconnect()
  951. -- DBExplode(DB)
  952. end
  953. end
  954.  
  955. function ob1d(mouse)
  956. if attack == true then return end
  957. hold = true
  958. Smack()
  959. end
  960.  
  961. function ob1u(mouse)
  962. hold = false
  963. end
  964.  
  965. function Key(key,mouse)
  966. if key == "u" then
  967. coroutine.resume(coroutine.create(function()
  968. wait(0.1)
  969. wld1.Parent = prt1
  970. wld1.Part0 = prt1
  971. wld1.Part1 = LeftArm
  972. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,0,1.57) * CFrame.new(0,.5,0)
  973. wld1.C1 = CFrame.new(0,0,0)
  974. attack = false
  975. end))
  976. end
  977. if key == " " then
  978. Jump(mouse)
  979. end
  980. if key == "r" then
  981. hold = true
  982. BodyThrow(mouse)
  983. end
  984. if key == "t" then
  985. ThrowSpam2(mouse)
  986. end
  987. if key == "y" then
  988. BouncingSpear(mouse)
  989. end
  990. end
  991.  
  992. function s(mouse)
  993. mouse.Button1Down:connect(function() ob1d(mouse) end)
  994. mouse.Button1Up:connect(function() ob1u(mouse) end)
  995. mouse.KeyDown:connect(function(key) Key(key,mouse) end)
  996. --mouse.KeyDown:connect(key,mouse)
  997. mouse.KeyUp:connect(key2,mouse)
  998. player = Player
  999. ch = Character
  1000. RSH = ch.Torso["Right Shoulder"]
  1001. LSH = ch.Torso["Left Shoulder"]
  1002. --
  1003. RW.Part0 = ch.Torso
  1004. RW.C0 = CFrame.new(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1005. RW.C1 = CFrame.new(0, 0.5, 0)
  1006. RW.Part1 = ch["Right Arm"]
  1007. RW.Parent = ch.Torso
  1008. --_G.R = RW
  1009. --
  1010. LW.Part0 = ch.Torso
  1011. LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1012. LW.C1 = CFrame.new(0, 0.5, 0)
  1013. LW.Part1 = ch["Left Arm"]
  1014. LW.Parent = ch.Torso
  1015. --_G.L = LW
  1016. --
  1017. end
  1018.  
  1019. function ds(mouse)
  1020. RW.Parent = nil
  1021. LW.Parent = nil
  1022. RSH.Parent = player.Character.Torso
  1023. LSH.Parent = player.Character.Torso
  1024. end
  1025.  
  1026. Bin.Selected:connect(s)
  1027. Bin.Deselected:connect(ds)
  1028.  
  1029. while true do
  1030. wait(0)
  1031. LeftArm.Transparency = 1
  1032. RightArm.Transparency = 1
  1033. LeftLeg.Transparency = 1
  1034. RightLeg.Transparency = 1
  1035. Torso.Transparency = 1
  1036. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement