Advertisement
BAconTUbe

Sword FE

Jan 19th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 41.40 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do
  6. print("FE Compatibility code V2 by Mokiros")
  7. local RealPlayer = RealPlayer
  8. script.Parent = RealPlayer.Character
  9.  
  10. --Fake event to make stuff like Mouse.KeyDown work
  11. local Disconnect_Function = function(this)
  12. this[1].Functions[this[2]] = nil
  13. end
  14. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  15. local FakeEvent_Metatable = {__index={
  16. Connect = function(this,f)
  17. local i = tostring(math.random(0,10000))
  18. while this.Functions[i] do
  19. i = tostring(math.random(0,10000))
  20. end
  21. this.Functions[i] = f
  22. return setmetatable({this,i},Disconnect_Metatable)
  23. end
  24. }}
  25. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  26. local function fakeEvent()
  27. return setmetatable({Functions={}},FakeEvent_Metatable)
  28. end
  29.  
  30. --Creating fake input objects with fake variables
  31. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  32. FakeMouse.keyUp = FakeMouse.KeyUp
  33. FakeMouse.keyDown = FakeMouse.KeyDown
  34. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  35. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  36. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  37. end}
  38. --Merged 2 functions into one by checking amount of arguments
  39. CAS.UnbindAction = CAS.BindAction
  40.  
  41. --This function will trigger the events that have been :Connect()'ed
  42. local function TriggerEvent(self,ev,...)
  43. for _,f in pairs(self[ev].Functions) do
  44. f(...)
  45. end
  46. end
  47. FakeMouse.TriggerEvent = TriggerEvent
  48. UIS.TriggerEvent = TriggerEvent
  49.  
  50. --Client communication
  51. local Event = Instance.new("RemoteEvent")
  52. Event.Name = "UserInput_Event"
  53. Event.OnServerEvent:Connect(function(plr,io)
  54. if plr~=RealPlayer then return end
  55. FakeMouse.Target = io.Target
  56. FakeMouse.Hit = io.Hit
  57. if not io.isMouse then
  58. local b = io.UserInputState == Enum.UserInputState.Begin
  59. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  60. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  61. end
  62. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  63. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  64. end
  65. for _,t in pairs(CAS.Actions) do
  66. for _,k in pairs(t.Keys) do
  67. if k==io.KeyCode then
  68. t.Function(t.Name,io.UserInputState,io)
  69. end
  70. end
  71. end
  72. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  73. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  74. end
  75. end)
  76. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  77. local Mouse = owner:GetMouse()
  78. local UIS = game:GetService("UserInputService")
  79. local input = function(io,RobloxHandled)
  80. if RobloxHandled then return end
  81. --Since InputObject is a client-side instance, we create and pass table instead
  82. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  83. end
  84. UIS.InputBegan:Connect(input)
  85. UIS.InputEnded:Connect(input)
  86.  
  87. local h,t
  88. --Give the server mouse data every second frame, but only if the values changed
  89. --If player is not moving their mouse, client won't fire events
  90. local HB = game:GetService("RunService").Heartbeat
  91. while true do
  92. if h~=Mouse.Hit or t~=Mouse.Target then
  93. h,t=Mouse.Hit,Mouse.Target
  94. Event:FireServer({isMouse=true,Target=t,Hit=h})
  95. end
  96. --Wait 2 frames
  97. for i=1,2 do
  98. HB:Wait()
  99. end
  100. end]==],script)
  101.  
  102. ----Sandboxed game object that allows the usage of client-side methods and services
  103. --Real game object
  104. local RealGame = game
  105.  
  106. --Metatable for fake service
  107. local FakeService_Metatable = {
  108. __index = function(self,k)
  109. local s = rawget(self,"_RealService")
  110. if s then
  111. return typeof(s[k])=="function"
  112. and function(_,...)return s[k](s,...)end or s[k]
  113. end
  114. end,
  115. __newindex = function(self,k,v)
  116. local s = rawget(self,"_RealService")
  117. if s then s[k]=v end
  118. end
  119. }
  120. local function FakeService(t,RealService)
  121. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  122. return setmetatable(t,FakeService_Metatable)
  123. end
  124.  
  125. --Fake game object
  126. local FakeGame = {
  127. GetService = function(self,s)
  128. return rawget(self,s) or RealGame:GetService(s)
  129. end,
  130. Players = FakeService({
  131. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  132. },"Players"),
  133. UserInputService = FakeService(UIS,"UserInputService"),
  134. ContextActionService = FakeService(CAS,"ContextActionService"),
  135. RunService = FakeService({
  136. _btrs = {},
  137. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  138. BindToRenderStep = function(self,name,_,fun)
  139. self._btrs[name] = self.Heartbeat:Connect(fun)
  140. end,
  141. UnbindFromRenderStep = function(self,name)
  142. self._btrs[name]:Disconnect()
  143. end,
  144. },"RunService")
  145. }
  146. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  147. FakeGame.service = FakeGame.GetService
  148. FakeService(FakeGame,game)
  149. --Changing owner to fake player object to support owner:GetMouse()
  150. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  151. end
  152.  
  153. -------------------------------------------------
  154. --Black Onslaught by CKbackup (ChocolateKnight)--
  155. -------------------------------------------------
  156. --Player stuff--
  157. player = game:GetService("Players").LocalPlayer
  158. chara = player.Character
  159. hitdude = nil
  160. debby = game:GetService("Debris")
  161. chara.Humanoid.MaxHealth = math.huge
  162. chara.Humanoid.Health = math.huge
  163. chara.Humanoid.JumpPower = 100
  164. local moosek = 0
  165. local prevthing = 0
  166. local timeofday = "Day"
  167. taip = 1
  168.  
  169. --Objects--
  170. local tool = Instance.new("Tool",player.Backpack)
  171. tool.Name = "Hellma"
  172. tool.GripForward = Vector3.new(-1,0,0)
  173. tool.GripPos = Vector3.new(0,-2,0)
  174. tool.GripRight = Vector3.new(0,0,-1)
  175. tool.GripUp = Vector3.new(0,-1,0)
  176. tool.CanBeDropped = false
  177. local tool2 = Instance.new("Tool",player.Backpack)
  178. tool2.Name = "Nilshade"
  179. tool2.GripForward = Vector3.new(0,0,-1)
  180. tool2.GripPos = Vector3.new(0.1,-2.2,0.1)
  181. tool2.GripRight = Vector3.new(1,0,0)
  182. tool2.GripUp = Vector3.new(0,1,0)
  183. tool2.CanBeDropped = false
  184. local handle = Instance.new("Part", tool)
  185. handle.Name = "Handle"
  186. handle.Size = Vector3.new(1,5,1)
  187. local mesh = Instance.new("SpecialMesh", handle)
  188. mesh.MeshId = "http://www.roblox.com/asset/?id=83509558"
  189. mesh.TextureId = "http://www.roblox.com/asset/?id=83509797"
  190. mesh.VertexColor = Vector3.new(0.7,0,1)
  191. local mesh2 = Instance.new("SpecialMesh", tool)
  192. mesh2.MeshId = "http://www.roblox.com/asset/?id=95891318"
  193. mesh2.TextureId = "http://www.roblox.com/asset/?id=95891299"
  194. mesh2.VertexColor = Vector3.new(0.7,0,1)
  195. mesh2.Scale = Vector3.new(-0.8,0.8,-0.8)
  196. mesh2.Offset = Vector3.new(1,0.5,0)
  197. local handle2 = Instance.new("Part", tool2)
  198. handle2.Name = "Handle"
  199. handle2.Size = Vector3.new(1,5,1)
  200. local mesh3 = Instance.new("SpecialMesh", handle2)
  201. mesh3.MeshId = "http://www.roblox.com/asset/?id=86290540"
  202. mesh3.TextureId = "http://www.roblox.com/asset/?id=86290896"
  203. mesh3.Scale = Vector3.new(0.6,1,0.6)
  204. mesh3.VertexColor = Vector3.new(0.7,0,1)
  205. local spt1 = NumberSequenceKeypoint.new(0,1,0)
  206. local spt2 = NumberSequenceKeypoint.new(.8,1,0)
  207. local spt3 = NumberSequenceKeypoint.new(1,0,0)
  208. local cpt1 = ColorSequenceKeypoint.new(0,BrickColor.new("Royal purple").Color)
  209. local cpt2 = ColorSequenceKeypoint.new(1,BrickColor.new("Alder").Color)
  210. local fira = Instance.new("ParticleEmitter",handle)
  211. fira.Texture = "rbxasset://textures/particles/fire_main.dds"
  212. fira.Color = ColorSequence.new({cpt1,cpt2})
  213. fira.LightEmission = 1
  214. fira.Lifetime = NumberRange.new(2,2)
  215. fira.Size = NumberSequence.new({spt1,spt2,spt3})
  216. fira.Speed = NumberRange.new(0,0)
  217. fira.Rate = 10000
  218. fira.RotSpeed = NumberRange.new(100,100)
  219. fira.Enabled = false
  220. local rpt1 = NumberSequenceKeypoint.new(0,1,0)
  221. local rpt2 = NumberSequenceKeypoint.new(1,0,0)
  222. local deffecto = Instance.new("ParticleEmitter",chara["Left Arm"])
  223. deffecto.Texture = "rbxasset://textures/particles/smoke_main.dds"
  224. deffecto.Color = ColorSequence.new(Color3.new(0,0,0))
  225. deffecto.Rate = 10000
  226. deffecto.Lifetime = NumberRange.new(1,1)
  227. deffecto.Size = NumberSequence.new({rpt1,rpt2})
  228. deffecto.Speed = NumberRange.new(0,0)
  229. deffecto.RotSpeed = NumberRange.new(100,100)
  230. deffecto.Enabled = false
  231. local sspt1 = NumberSequenceKeypoint.new(0,0,0)
  232. local sspt2 = NumberSequenceKeypoint.new(1,10,0)
  233. local tspt1 = NumberSequenceKeypoint.new(0,0,0)
  234. local tspt2 = NumberSequenceKeypoint.new(1,1,0)
  235. local eeeffecto = Instance.new("ParticleEmitter",chara.Torso)
  236. eeeffecto.Texture = "http://www.roblox.com/asset/?id=205525524"
  237. eeeffecto.LightEmission = 1
  238. eeeffecto.LockedToPart = true
  239. eeeffecto.Rate = 1
  240. eeeffecto.Lifetime = NumberRange.new(5,5)
  241. eeeffecto.Size = NumberSequence.new({sspt1,sspt2})
  242. eeeffecto.Transparency = NumberSequence.new({tspt1,tspt2})
  243. eeeffecto.Speed = NumberRange.new(0,0)
  244. eeeffecto.RotSpeed = NumberRange.new(100,100)
  245. --local musictool = Instance.new("Tool",player.Backpack)
  246. --musictool.Name = "Music"
  247. --musictool.RequiresHandle = false
  248. --musictool.CanBeDropped = false
  249. --local taunttool = Instance.new("Tool",player.Backpack)
  250. --taunttool.Name = "Taunt"
  251. --taunttool.RequiresHandle = false
  252. --taunttool.CanBeDropped = false
  253. --local changetool = Instance.new("Tool",player.Backpack)
  254. --changetool.Name = "Turn Sexy"
  255. --changetool.RequiresHandle = false
  256. --changetool.CanBeDropped = false
  257.  
  258. local naeeym = Instance.new("BillboardGui",chara)
  259. naeeym.Size = UDim2.new(0,100,0,40)
  260. naeeym.StudsOffset = Vector3.new(0,2,0)
  261. naeeym.Adornee = chara.Head
  262. local tecks = Instance.new("TextLabel",naeeym)
  263. tecks.BackgroundTransparency = 1
  264. tecks.BorderSizePixel = 0
  265. tecks.Text = "Master of Star"
  266. tecks.Font = "Fantasy"
  267. tecks.FontSize = "Size24"
  268. tecks.TextStrokeTransparency = 0
  269. tecks.TextColor3 = Color3.new(0,0,0)
  270. tecks.TextStrokeColor3 = BrickColor.new("Royal purple").Color
  271. tecks.Size = UDim2.new(1,0,0.5,0)
  272. fhandle = handle:clone()
  273. fhandle.CanCollide = false
  274. fhandle.Name = "FakeHandle"
  275. fhandle.Parent = chara
  276. local weld = Instance.new("Weld")
  277. weld.Name = "BackWeld"
  278. weld.Part0 = chara.Torso
  279. weld.Part1 = fhandle
  280. weld.C0 = CFrame.new(0,-.6,.4)
  281. weld.C0 = weld.C0 * CFrame.fromEulerAnglesXYZ(math.rad(180),math.rad(0),math.rad(80))
  282. weld.Parent = fhandle
  283. fhandle2 = handle2:clone()
  284. fhandle2.CanCollide = false
  285. fhandle2.Name = "FakeHandle2"
  286. fhandle2.Parent = chara
  287. local weld2 = Instance.new("Weld")
  288. weld2.Name = "BackWeld"
  289. weld2.Part0 = chara.Torso
  290. weld2.Part1 = fhandle2
  291. weld2.C0 = CFrame.new(0,-.6,.6)
  292. weld2.C0 = weld.C0 * CFrame.fromEulerAnglesXYZ(math.rad(180),math.rad(180),math.rad(60))
  293. weld2.Parent = fhandle2
  294. fhandle3 = handle2:clone()
  295. fhandle3.CanCollide = false
  296. fhandle3.Name = "FakeHandle3"
  297. fhandle3.Parent = chara
  298. fhandle3.BrickColor = BrickColor.new("Really black")
  299. fhandle3.Mesh.MeshId = "rbxasset://fonts/torso.mesh"
  300. fhandle3.Mesh.Offset = Vector3.new(0, 0.8, 0)
  301. fhandle3.Mesh.Scale = Vector3.new(0.05, 2.5, 0.3)
  302. fhandle3.Mesh.TextureId = ""
  303. local weld3 = Instance.new("Weld")
  304. weld3.Name = "BackWeld"
  305. weld3.Part0 = chara.Torso
  306. weld3.Part1 = fhandle3
  307. weld3.C0 = CFrame.new(0,-.6,.6)
  308. weld3.C0 = weld.C0 * CFrame.fromEulerAnglesXYZ(math.rad(180),math.rad(180),math.rad(60))
  309. weld3.Parent = fhandle3
  310.  
  311. local orbuu = Instance.new("Part", chara)
  312. orbuu.Size = Vector3.new(1,1,1)
  313. orbuu.Name = "Diamond"
  314. orbuu.Anchored = true
  315. orbuu.CanCollide = false
  316. orbuu.BrickColor = BrickColor.new("Really black")
  317. local meshooo = Instance.new("SpecialMesh", orbuu)
  318. meshooo.MeshType = "FileMesh"
  319. meshooo.MeshId = "http://www.roblox.com/asset/?id=9756362"
  320. local RotationSpeed = 6
  321. local BobSpeed = 1
  322. local RotationDist = Vector3.new(5, 0, 0)
  323. local dt = 0
  324. local currentTime = 0
  325.  
  326. local enablehit = Instance.new("BoolValue", tool)
  327. enablehit.Value = false
  328. local didhit = Instance.new("BoolValue", tool)
  329. didhit.Value = false
  330. local dreadecl = Instance.new("BoolValue", tool)
  331. dreadecl.Value = false
  332. local zanny = Instance.new("BoolValue", tool2)
  333. zanny.Value = false
  334. local revoruva = Instance.new("BoolValue", tool)
  335. revoruva.Value = false
  336. local blawk = Instance.new("BoolValue", tool2)
  337. blawk.Value = false
  338. local enablehit2 = Instance.new("BoolValue", tool)
  339. enablehit2.Value = false
  340. local didhit2 = Instance.new("BoolValue", tool)
  341. didhit2.Value = false
  342.  
  343. local equipanim = Instance.new("Animation", tool)
  344. equipanim.AnimationId = "http://www.roblox.com/asset/?id=66702743"
  345. local scytheanim = Instance.new("Animation", tool)
  346. scytheanim.AnimationId = "http://www.roblox.com/asset/?id=96065457"
  347. local scytheleft = Instance.new("Animation", tool)
  348. scytheleft.AnimationId = "http://www.roblox.com/asset/?id=184573779"
  349. local scytheright = Instance.new("Animation", tool)
  350. scytheright.AnimationId = "http://www.roblox.com/asset/?id=184573748"
  351. local scythedown = Instance.new("Animation", tool)
  352. scythedown.AnimationId = "http://www.roblox.com/asset/?id=94160738"
  353. local swordabsorb = Instance.new("Animation", tool)
  354. swordabsorb.AnimationId = "http://www.roblox.com/asset/?id=83994319"
  355. local swordstab = Instance.new("Animation", tool)
  356. swordstab.AnimationId = "http://www.roblox.com/asset/?id=54504034"
  357. local stormv = Instance.new("Animation", tool)
  358. stormv.AnimationId = "http://www.roblox.com/asset/?id=184574340"
  359. local blasta = Instance.new("Animation", tool)
  360. blasta.AnimationId = "http://www.roblox.com/asset/?id=86504773"
  361. local equipanim2 = Instance.new("Animation", tool)
  362. equipanim2.AnimationId = "http://www.roblox.com/asset/?id=184572142"
  363. local kickanim = Instance.new("Animation", tool)
  364. kickanim.AnimationId = "http://www.roblox.com/asset/?id=45738282"
  365. local katsla1 = Instance.new("Animation", tool2)
  366. katsla1.AnimationId = "http://www.roblox.com/asset/?id=93060724"
  367. local katsla2 = Instance.new("Animation", tool2)
  368. katsla2.AnimationId = "http://www.roblox.com/asset/?id=93060716"
  369. local katsla3 = Instance.new("Animation", tool2)
  370. katsla3.AnimationId = "http://www.roblox.com/asset/?id=93060712"
  371. local katsla4 = Instance.new("Animation", tool2)
  372. katsla4.AnimationId = "http://www.roblox.com/asset/?id=93060709"
  373.  
  374. local equipa = chara.Humanoid:LoadAnimation(equipanim)
  375. local scythea = chara.Humanoid:LoadAnimation(scytheanim)
  376. local scytheal = chara.Humanoid:LoadAnimation(scytheleft)
  377. local scythear = chara.Humanoid:LoadAnimation(scytheright)
  378. local scythead = chara.Humanoid:LoadAnimation(scythedown)
  379. local swordabs = chara.Humanoid:LoadAnimation(swordabsorb)
  380. local swordstb = chara.Humanoid:LoadAnimation(swordstab)
  381. local stormvip = chara.Humanoid:LoadAnimation(stormv)
  382. local blastanim = chara.Humanoid:LoadAnimation(blasta)
  383. local equipa2 = chara.Humanoid:LoadAnimation(equipanim2)
  384. local kicka = chara.Humanoid:LoadAnimation(kickanim)
  385. local ktsl1 = chara.Humanoid:LoadAnimation(katsla1)
  386. local ktsl2 = chara.Humanoid:LoadAnimation(katsla2)
  387. local ktsl3 = chara.Humanoid:LoadAnimation(katsla3)
  388. local ktsl4 = chara.Humanoid:LoadAnimation(katsla4)
  389.  
  390. local swordequip = Instance.new("Sound", tool)
  391. swordequip.SoundId = "rbxasset://sounds/unsheath.wav"
  392. swordequip.PlaybackSpeed = 0.6
  393. swordequip.Volume = 1
  394. local chargesound = Instance.new("Sound", tool)
  395. chargesound.SoundId = "http://www.roblox.com/asset/?id=2101137"
  396. chargesound.PlaybackSpeed = 0.6
  397. chargesound.Volume = 1
  398. local swordsound = Instance.new("Sound", tool)
  399. swordsound.SoundId = "rbxasset://sounds/swordlunge.wav"
  400. swordsound.PlaybackSpeed = 0.6
  401. swordsound.Volume = 1
  402. local swordland = Instance.new("Sound", tool)
  403. swordland.SoundId = "http://www.roblox.com/asset/?id=46153268"
  404. swordland.PlaybackSpeed = 0.5
  405. swordland.Volume = 1
  406. local scytheland = Instance.new("Sound", tool)
  407. scytheland.SoundId = "http://www.roblox.com/asset/?id=28144425"
  408. scytheland.PlaybackSpeed = 0.265
  409. scytheland.Volume = 1
  410. local finalhits1 = Instance.new("Sound", tool)
  411. finalhits1.SoundId = "http://www.roblox.com/asset/?id=62339698"
  412. finalhits1.PlaybackSpeed = 0.3
  413. finalhits1.Volume = 1
  414. local finalhits2 = Instance.new("Sound", tool)
  415. finalhits2.SoundId = "http://www.roblox.com/asset/?id=2697431"
  416. finalhits2.PlaybackSpeed = 0.3
  417. finalhits2.Volume = 1
  418. local blasts = Instance.new("Sound", tool)
  419. blasts.SoundId = "http://www.roblox.com/asset/?id=2248511"
  420. blasts.PlaybackSpeed = .5
  421. blasts.Volume = 1
  422. local katanaslash = Instance.new("Sound", tool)
  423. katanaslash.SoundId = "http://www.roblox.com/asset/?id=62339698"
  424. katanaslash.PlaybackSpeed = 0.8
  425. katanaslash.Volume = 1
  426. local foxs = Instance.new("Sound", tool)
  427. foxs.SoundId = "http://www.roblox.com/asset/?id=501536185"
  428. foxs.PlaybackSpeed = 1
  429. foxs.Volume = 1
  430. local music1 = Instance.new("Sound", chara.Torso)
  431. music1.SoundId = "http://www.roblox.com/asset/?id=157916553"
  432. music1.PlaybackSpeed = 1
  433. music1.Volume = 1
  434. music1.Looped = true
  435. local music2 = Instance.new("Sound", chara.Torso)
  436. music2.SoundId = "http://www.roblox.com/asset/?id=248249480"
  437. music2.PlaybackSpeed = 1
  438. music2.Volume = 1
  439. music2.Looped = true
  440. local music3 = Instance.new("Sound", chara.Torso)
  441. music3.SoundId = "http://www.roblox.com/asset/?id=432543624"
  442. music3.PlaybackSpeed = 1
  443. music3.Volume = 1
  444. music3.Looped = true
  445.  
  446. function scythehold()
  447. tool.GripForward = Vector3.new(-1,0,0)
  448. tool.GripPos = Vector3.new(0,-2,0)
  449. tool.GripRight = Vector3.new(0,0,-1)
  450. tool.GripUp = Vector3.new(0,-1,0)
  451. end
  452. function posslashleft()
  453. tool.GripForward = Vector3.new(1,0,0)
  454. tool.GripPos = Vector3.new(0,-4,0)
  455. tool.GripRight = Vector3.new(0,1,0)
  456. tool.GripUp = Vector3.new(0,0,-1)
  457. end
  458. function posslashright()
  459. tool.GripForward = Vector3.new(-1,0,0)
  460. tool.GripPos = Vector3.new(0,-4,0)
  461. tool.GripRight = Vector3.new(0,1,0)
  462. tool.GripUp = Vector3.new(0,0,1)
  463. end
  464. function posslashdown()
  465. tool.GripForward = Vector3.new(0,1,-.5)
  466. tool.GripPos = Vector3.new(0,-4,0)
  467. tool.GripRight = Vector3.new(0,0,1)
  468. tool.GripUp = Vector3.new(-1,0,0)
  469. end
  470. function regularswordpos()
  471. tool.GripForward = Vector3.new(-1,0,0)
  472. tool.GripPos = Vector3.new(0,-2,0)
  473. tool.GripRight = Vector3.new(0,0,-1)
  474. tool.GripUp = Vector3.new(0,-1,0)
  475. end
  476. function absorbswordm()
  477. tool.GripForward = Vector3.new(1,1,0)
  478. tool.GripPos = Vector3.new(0,-2,0)
  479. tool.GripRight = Vector3.new(0,0,1)
  480. tool.GripUp = Vector3.new(-1,1,0)
  481. end
  482. function createblack(part)
  483. local pt1 = NumberSequenceKeypoint.new(0,1,0)
  484. local pt2 = NumberSequenceKeypoint.new(1,0,0)
  485. local effecto = Instance.new("ParticleEmitter",part)
  486. effecto.Texture = "rbxasset://textures/particles/smoke_main.dds"
  487. effecto.Color = ColorSequence.new(Color3.new(0,0,0))
  488. effecto.Rate = 10000
  489. effecto.Lifetime = NumberRange.new(1,1)
  490. effecto.Size = NumberSequence.new({pt1,pt2})
  491. effecto.Speed = NumberRange.new(0,0)
  492. effecto.RotSpeed = NumberRange.new(100,100)
  493. end
  494. function createhugeblack(part)
  495. local pt1 = NumberSequenceKeypoint.new(0,10,0)
  496. local pt2 = NumberSequenceKeypoint.new(1,0,0)
  497. local effecto = Instance.new("ParticleEmitter",part)
  498. effecto.Texture = "rbxasset://textures/particles/smoke_main.dds"
  499. effecto.Color = ColorSequence.new(Color3.new(0,0,0))
  500. effecto.Rate = 10000
  501. effecto.Lifetime = NumberRange.new(1,1)
  502. effecto.Size = NumberSequence.new({pt1,pt2})
  503. effecto.Speed = NumberRange.new(0,0)
  504. effecto.RotSpeed = NumberRange.new(100,100)
  505. end
  506.  
  507. createblack(orbuu)
  508. orbuu.ParticleEmitter.Color = ColorSequence.new(Color3.new(1,0,1))
  509. orbuu.ParticleEmitter.LightEmission = 1
  510. --Spell Circle--
  511.  
  512. Void = nil
  513. VoidParts = {}
  514. Equipped = false
  515.  
  516. function RayCast(Position, Direction, MaxDistance, IgnoreList)
  517. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
  518. end
  519.  
  520. Player = player
  521. Character = chara
  522.  
  523. Humanoid = Character:FindFirstChild("Humanoid")
  524. Torso = Character:FindFirstChild("Torso")
  525. if not Player or not Humanoid or Humanoid.Health == 0 or not Torso then
  526. return
  527. end
  528. Equipped = true
  529. Void = Instance.new("Model")
  530. Void.Name = "Void"
  531. Angle = 0
  532. for i = 1, 1 do
  533. local VoidPart = Instance.new("Part")
  534. VoidPart.Name = "VoidPart"
  535. VoidPart.Transparency = 1
  536. VoidPart.BrickColor = BrickColor.new("Really black")
  537. VoidPart.Material = Enum.Material.Plastic
  538. VoidPart.Shape = Enum.PartType.Block
  539. VoidPart.FormFactor = Enum.FormFactor.Custom
  540. VoidPart.TopSurface = Enum.SurfaceType.Smooth
  541. VoidPart.BottomSurface = Enum.SurfaceType.Smooth
  542. VoidPart.Anchored = true
  543. VoidPart.CanCollide = false
  544. VoidPart.Locked = true
  545. VoidPart.Size = Vector3.new(10, 0.2, 10)
  546. local BlockMesh = Instance.new("BlockMesh")
  547. BlockMesh.Scale = Vector3.new(1, (1 + (0.005 * i)), 1)
  548. BlockMesh.Parent = VoidPart
  549. VoidPart.Parent = Void
  550. local Star = Instance.new("Decal", VoidPart)
  551. Star.Texture = "http://www.roblox.com/asset/?id=205525524"
  552. Star.Face = "Top"
  553. local Light = Instance.new("PointLight", VoidPart)
  554. Light.Color = Color3.new(1,0,1)
  555. Light.Brightness = 100
  556. Light.Range = 10
  557. table.insert(VoidParts, VoidPart)
  558. end
  559. Spawn(function()
  560. while Equipped and Humanoid.Parent and Humanoid.Health > 0 and Torso.Parent do
  561. if Angle == 360 then
  562. Angle = 0
  563. end
  564. Angle = Angle + 0.05
  565. chara.Humanoid.MaxHealth = math.huge
  566. chara.Humanoid.Health = math.huge
  567. local parentPos = chara.Torso.CFrame
  568. --Rotate Fluffy around the player's head
  569. local rotation = CFrame.Angles(0 , RotationSpeed * currentTime, 0)
  570. local bob = Vector3.new(0, BobSpeed * math.sin(currentTime), 0)
  571. orbuu.CFrame = ((parentPos + bob) + (rotation * RotationDist))
  572. --Wait some time so we aren't going plaid
  573. dt, currentTime = wait(1/40)
  574. local cheeed = chara:GetChildren()
  575. for i = 1, #cheeed do
  576. if cheeed[i].ClassName == "Part" then
  577. if cheeed[i].Name ~= "Right Arm" and cheeed[i].Name ~= "Left Arm" and cheeed[i].Name ~= "Right Leg" and cheeed[i].Name ~= "Left Leg" and cheeed[i].Name ~= "Torso" and cheeed[i].Name ~= "HumanoidRootPart" and cheeed[i].Name ~= "Head" and cheeed[i].Name ~= "FakeHandle" and cheeed[i].Name ~= "FakeHandle2" and cheeed[i].Name ~= "FakeHandle3" and cheeed[i].Name ~= "Diamond" then
  578. cheeed[i]:Destroy()
  579. else end
  580. end
  581. end
  582. local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character})
  583. if Hit then
  584. if not Void.Parent then
  585. Void.Parent = Character
  586. end
  587. for i, v in pairs(VoidParts) do
  588. v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0)
  589. end
  590. else
  591. Void.Parent = nil
  592. end
  593. wait()
  594. end
  595. end)
  596.  
  597. --Now the real stuff!--
  598.  
  599. function chat(string)
  600. --ch = game:GetService("Chat"):Chat(chara.Head, string, "Red")
  601. if chara:FindFirstChild("TalkingBillBoard") ~= nil then
  602. chara:FindFirstChild("TalkingBillBoard"):destroy()
  603. end
  604. local naeeym2 = Instance.new("BillboardGui",chara)
  605. naeeym2.Size = UDim2.new(0,100,0,40)
  606. naeeym2.StudsOffset = Vector3.new(0,4,0)
  607. naeeym2.Adornee = chara.Head
  608. naeeym2.Name = "TalkingBillBoard"
  609. local tecks2 = Instance.new("TextLabel",naeeym2)
  610. tecks2.BackgroundTransparency = 1
  611. tecks2.BorderSizePixel = 0
  612. tecks2.Text = string
  613. tecks2.Font = "Fantasy"
  614. tecks2.FontSize = "Size24"
  615. tecks2.TextStrokeTransparency = 0
  616. tecks2.TextColor3 = Color3.new(0,0,0)
  617. tecks2.TextStrokeColor3 = BrickColor.new("Royal purple").Color
  618. tecks2.Size = UDim2.new(1,0,0.5,0)
  619. debby:AddItem(naeeym2,1)
  620. end
  621.  
  622. function createorb(origin,target)
  623. local orb = Instance.new("Part", game.Workspace)
  624. orb.Shape = "Ball"
  625. orb.CanCollide = false
  626. orb.Size = Vector3.new(1,1,1)
  627. orb.BrickColor = BrickColor.new("White")
  628. orb.Material = "Neon"
  629. orb.Position = origin.Position
  630. orb.Velocity = Vector3.new(math.random() - .5, 0, math.random() - .5).unit * 80
  631. local firr = Instance.new("Fire", orb)
  632. firr.Color = Color3.new(1,1,1)
  633. firr.SecondaryColor = Color3.new(1,1,1)
  634. firr.Size = 2
  635. local gotoforce = Instance.new("BodyPosition", orb)
  636. gotoforce.Position = target.Position
  637. debby:AddItem(orb,1)
  638. end
  639.  
  640. function kicktouch(hit)
  641. if revoruva.Value == true then
  642. if hit ~= nil and hit.Parent:FindFirstChild("kicko") == nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("Humanoid") ~= nil then
  643. swordland:Play()
  644. hitdude = hit.Parent
  645. valood = Instance.new("NumberValue", hit.Parent)
  646. valood.Name = "kicko"
  647. hitdude.Humanoid.Health = hitdude.Humanoid.Health - 20
  648. hitdude.Humanoid.PlatformStand = true
  649. faws = Instance.new("BodyVelocity", hit.Parent.Torso)
  650. faws.Velocity = (hitdude.Torso.Position - chara.HumanoidRootPart.Position) * 20
  651. wait(.5)
  652. hitdude.Humanoid.PlatformStand = false
  653. valood:Destroy()
  654. faws:Destroy()
  655. end
  656. end
  657. end
  658.  
  659. function onTouched(hit)
  660. --EENFERNOH DEEVAIDER!--
  661. if dreadecl.Value == true then
  662. if hit ~= nil and hit.Parent:FindFirstChild("dreaded") == nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("Humanoid") ~= nil then
  663. finalhits1:Play()
  664. hitdude = hit.Parent
  665. valood = Instance.new("NumberValue", hit.Parent)
  666. valood.Name = "dreaded"
  667. hitdude.Humanoid.Health = hitdude.Humanoid.Health - 30
  668. hitdude.Humanoid.PlatformStand = true
  669. faws = Instance.new("BodyVelocity", hit.Parent.Torso)
  670. faws.Velocity = Vector3.new(0,50,0)
  671. wait(1)
  672. hitdude.Humanoid.PlatformStand = false
  673. valood:Destroy()
  674. faws:Destroy()
  675. end
  676. end
  677. --BLEK AWNSLOT!--
  678. if enablehit.Value == true then
  679. if hit ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("Humanoid") ~= nil then
  680. swordland:play()
  681. didhit.Value = true
  682. enablehit.Value = false
  683. hitdude = hit.Parent
  684. if hitdude.Name == "grgrgry21" then
  685. chat("I'm sorry, you were a great man, Gry.")
  686. elseif hitdude then
  687. chat("Sorry, but you need to die.")
  688. end
  689. hitdude.Humanoid.Health = 80
  690. hitdude.Humanoid.MaxHealth = 100
  691. hitdude.Humanoid.PlatformStand = true
  692. hitdude.Humanoid.WalkSpeed = 0
  693. chara.Humanoid.WalkSpeed = 0
  694. if hitdude:FindFirstChild("Torso") ~= nil then
  695. hitdude.Torso.CFrame = chara.Torso.CFrame + (chara.Torso.CFrame.lookVector*5)
  696. local standstill = Instance.new("BodyPosition", hitdude.Torso)
  697. standstill.Position = hitdude.Torso.Position
  698. end
  699. if hitdude:FindFirstChild("Left Arm") ~= nil then
  700. hitdude["Left Arm"]:destroy()
  701. end
  702. if hitdude:FindFirstChild("Right Arm") ~= nil then
  703. hitdude["Right Arm"]:destroy()
  704. end
  705. wait(1)
  706. chat("Hell Zagan!")
  707. swordequip:play()
  708. swordabs:Stop()
  709. scythea:Play()
  710. fira.Enabled = true
  711. --fira.Size = 5
  712. mesh.Parent = tool
  713. mesh2.Parent = handle
  714. wait(1)
  715. scythea:Stop()
  716. posslashleft()
  717. for i = 1,2 do
  718. handle.CanCollide = true
  719. scytheland:play()
  720. scytheal:Play()
  721. posslashleft()
  722. swordsound:play()
  723. swordland:play()
  724. hitdude.Humanoid.Health = hitdude.Humanoid.Health - 2
  725. createorb(hitdude.Torso,chara.Torso)
  726. chara.Humanoid.Health = chara.Humanoid.Health + 10
  727. --fira.Size = fira.Size + .5
  728. wait(0.4)
  729. scytheal:Stop()
  730. scythear:Play()
  731. posslashright()
  732. swordsound:play()
  733. swordland:play()
  734. hitdude.Humanoid.Health = hitdude.Humanoid.Health - 2
  735. createorb(hitdude.Torso,chara.Torso)
  736. chara.Humanoid.Health = chara.Humanoid.Health + 10
  737. --fira.Size = fira.Size + .5
  738. wait(0.4)
  739. handle.CanCollide = false
  740. scythear:Stop()
  741. scythead:Play()
  742. posslashdown()
  743. swordsound:play()
  744. swordland:play()
  745. hitdude.Humanoid.Health = hitdude.Humanoid.Health - 2
  746. createorb(hitdude.Torso,chara.Torso)
  747. chara.Humanoid.Health = chara.Humanoid.Health + 10
  748. --fira.Size = fira.Size + .5
  749. wait(0.4)
  750. scythead:Stop()
  751. end
  752. chat("Hell Reign!")
  753. mesh2.Parent = tool
  754. mesh.Parent = handle
  755. chargesound:play()
  756. swordabs:Play()
  757. absorbswordm()
  758. for i = 1, 4 do
  759. wait(.25)
  760. hitdude.Humanoid.Health = hitdude.Humanoid.Health - 2
  761. createorb(hitdude.Torso,handle)
  762. --fira.Size = fira.Size + 1
  763. chara.Humanoid.Health = chara.Humanoid.Health + 10
  764. finalhits2:play()
  765. end
  766. regularswordpos()
  767. swordabs:Stop()
  768. swordstb:Play()
  769. for i = 1, 4 do
  770. wait(.25)
  771. hitdude.Humanoid.Health = hitdude.Humanoid.Health - 2
  772. createorb(hitdude.Torso,handle)
  773. --fira.Size = fira.Size + 1
  774. chara.Humanoid.Health = chara.Humanoid.Health + 10
  775. finalhits2:play()
  776. end
  777. chat("OBLITERATION!")
  778. finalhits1:play()
  779. finalhits2:play()
  780. hitdude.Humanoid.Health = 0
  781. local childs = hitdude:GetChildren()
  782. for i=1,#childs do
  783. if (childs[i].className == "Part") then
  784. childs[i].BrickColor = BrickColor.new("Really black")
  785. childs[i]:BreakJoints()
  786. local b = Instance.new("BodyVelocity")
  787. b.velocity = Vector3.new(math.random() - .5, 0, math.random() - .5).unit * 80
  788. b.maxForce = Vector3.new(1e5,1e5,1e5)
  789. b.Parent = childs[i]
  790. createblack(childs[i])
  791. end
  792. end
  793. wait(2)
  794. if hitdude.Name == "grgrgry21" then
  795. chat("I'm sorry...")
  796. elseif hitdude then
  797. chat("Die.")
  798. end
  799. wait(1)
  800. tool.Enabled = true
  801. didhit.Value = false
  802. fira.Enabled = false
  803. chara.Humanoid.WalkSpeed = 50
  804. end
  805. end
  806. end
  807.  
  808. function onTouched2(hit)
  809. if zanny.Value == true then
  810. if hit ~= nil and hit.Parent:FindFirstChild("zanned") == nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("Humanoid") ~= nil then
  811. hitdude = hit.Parent
  812. valood = Instance.new("NumberValue", hit.Parent)
  813. valood.Name = "zanned"
  814. hitdude.Humanoid.Health = hitdude.Humanoid.Health - 10
  815. faws = Instance.new("BodyVelocity", hit.Parent.Torso)
  816. faws.Velocity = (hitdude.Torso.Position - chara.HumanoidRootPart.Position) * 1
  817. wait(.3)
  818. valood:Destroy()
  819. faws:Destroy()
  820. end
  821. else end
  822. if blawk.Value == true then
  823. if hit ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("Humanoid") ~= nil then
  824. blawk.Value = false
  825. chara.Torso.CFrame = chara.Torso.CFrame + (chara.Torso.CFrame.lookVector*20)
  826. tool2.Enabled = false
  827. hitdude = hit.Parent
  828. hitdude.Humanoid.Health = hitdude.Humanoid.Health - 50
  829. hitdude.Torso.Anchored = true
  830. chat("Demonic Riposte!")
  831. ktsl1:Play()
  832. local sspt1 = NumberSequenceKeypoint.new(0,1,0)
  833. local sspt2 = NumberSequenceKeypoint.new(1,0,0)
  834. local ddeffecto = Instance.new("ParticleEmitter",hitdude.Torso)
  835. ddeffecto.Texture = "rbxasset://textures/particles/smoke_main.dds"
  836. ddeffecto.Color = ColorSequence.new(Color3.new(0,0,0))
  837. ddeffecto.Rate = 10000
  838. ddeffecto.Lifetime = NumberRange.new(1,1)
  839. ddeffecto.Size = NumberSequence.new({sspt1,sspt2})
  840. ddeffecto.Speed = NumberRange.new(50,50)
  841. ddeffecto.RotSpeed = NumberRange.new(100,100)
  842. ddeffecto.VelocitySpread = 50
  843. ddeffecto.EmissionDirection = "Front"
  844. finalhits1:Play()
  845. finalhits2:Play()
  846. wait(1)
  847. ddeffecto:Destroy()
  848. scythea:Stop()
  849. ktsl1:Stop()
  850. hitdude.Torso.Anchored = false
  851. chara.Humanoid.WalkSpeed = 50
  852. tool2.Enabled = true
  853. end
  854. end
  855. if enablehit2.Value == true then
  856. if hit ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("Humanoid") ~= nil then
  857. scythea:Stop()
  858. finalhits2:play()
  859. didhit2.Value = true
  860. enablehit2.Value = false
  861. hitdude = hit.Parent
  862. if hitdude.Name == "grgrgry21" then
  863. chat("I'm sorry, Gry.")
  864. elseif hitdude then
  865. chat("Haha, how unfortunate.")
  866. end
  867. hitdude.Humanoid.Health = 100
  868. hitdude.Humanoid.MaxHealth = 100
  869. hitdude.Humanoid.PlatformStand = true
  870. hitdude.Humanoid.WalkSpeed = 0
  871. chara.Humanoid.WalkSpeed = 0
  872. if hitdude:FindFirstChild("Torso") ~= nil then
  873. createblack(hitdude.Torso)
  874. hitdude.Torso.CFrame = chara.Torso.CFrame + (chara.Torso.CFrame.lookVector*5)
  875. local standstill = Instance.new("BodyPosition", hitdude.Torso)
  876. standstill.Position = hitdude.Torso.Position
  877. end
  878. if hitdude:FindFirstChild("Left Arm") ~= nil then
  879. hitdude["Left Arm"]:destroy()
  880. end
  881. if hitdude:FindFirstChild("Right Arm") ~= nil then
  882. hitdude["Right Arm"]:destroy()
  883. end
  884. wait(1)
  885. local ssspt1 = NumberSequenceKeypoint.new(0,1,0)
  886. local ssspt2 = NumberSequenceKeypoint.new(1,0,0)
  887. local dddeffecto = Instance.new("ParticleEmitter",hitdude.Torso)
  888. dddeffecto.Texture = "rbxasset://textures/particles/smoke_main.dds"
  889. dddeffecto.Color = ColorSequence.new(Color3.new(0,0,0))
  890. dddeffecto.Rate = 10000
  891. dddeffecto.Lifetime = NumberRange.new(1,1)
  892. dddeffecto.Size = NumberSequence.new({ssspt1,ssspt2})
  893. dddeffecto.Speed = NumberRange.new(50,50)
  894. dddeffecto.RotSpeed = NumberRange.new(100,100)
  895. dddeffecto.VelocitySpread = 50
  896. dddeffecto.EmissionDirection = "Back"
  897. for i = 1, 5 do
  898. katanaslash:Play()
  899. ktsl1:Play()
  900. wait(0.1)
  901. katanaslash:Play()
  902. ktsl1:Stop()
  903. ktsl2:Play()
  904. wait(0.1)
  905. katanaslash:Play()
  906. ktsl2:Stop()
  907. ktsl3:Play()
  908. wait(0.1)
  909. katanaslash:Play()
  910. ktsl3:Stop()
  911. ktsl4:Play()
  912. wait(0.1)
  913. ktsl4:Stop()
  914. end
  915. dddeffecto:Destroy()
  916. wait(.5)
  917. chara.Torso.CFrame = chara.Torso.CFrame + (chara.Torso.CFrame.lookVector*15)
  918. wait(1)
  919. if hitdude.Name == "grgrgry21" then
  920. chat("Goodbye, Gry.")
  921. elseif hitdude then
  922. chat("Now die.")
  923. end
  924. wait(0.2)
  925. ktsl1:Play()
  926. swordsound:Play()
  927. wait(0.1)
  928. finalhits1:play()
  929. finalhits2:play()
  930. hitdude.Humanoid.Health = 0
  931. local childs = hitdude:GetChildren()
  932. for i=1,#childs do
  933. if (childs[i].className == "Part") then
  934. childs[i].BrickColor = BrickColor.new("Really black")
  935. childs[i]:BreakJoints()
  936. local b = Instance.new("BodyVelocity")
  937. b.velocity = Vector3.new(math.random() - .5, 0, math.random() - .5).unit * 80
  938. b.maxForce = Vector3.new(1e5,1e5,1e5)
  939. b.Parent = childs[i]
  940. createblack(childs[i])
  941. end
  942. end
  943. wait(2)
  944. ktsl1:Stop()
  945. tool2.Enabled = true
  946. didhit2.Value = false
  947. chara.Humanoid.WalkSpeed = 50
  948. end
  949. end
  950. end
  951.  
  952. function blowprojectile(hit)
  953. if (hit.Parent == nil) then return end -- happens when bullet hits sword
  954.  
  955. local humanoid = nil
  956. if hit.Parent ~= chara and hit.Parent:FindFirstChild("Humanoid") ~= nil then
  957. humanoid = hit.Parent:FindFirstChild("Humanoid")
  958. end
  959. if humanoid then
  960. hit:BreakJoints()
  961. hit.BrickColor = BrickColor.new("Really black")
  962. createblack(hit)
  963. end
  964. local vCharacter = tool.Parent
  965. local vPlayer = game.Players:playerFromCharacter(vCharacter)
  966. local hum = vCharacter:findFirstChild("Humanoid") -- non-nil if tool held by a character
  967. if humanoid~=nil and humanoid ~= hum and hum ~= nil then
  968. -- final check, make sure sword is in-hand
  969.  
  970. local right_arm = vCharacter:FindFirstChild("Right Arm")
  971. if (right_arm ~= nil) then
  972. local joint = right_arm:FindFirstChild("RightGrip")
  973. if (joint ~= nil and (joint.Part0 == sword or joint.Part1 == sword)) then
  974. wait(1)
  975. end
  976. end
  977. end
  978. end
  979.  
  980. function fire(v, part)
  981.  
  982. local vCharacter = chara
  983. local vPlayer = player
  984.  
  985. local missile = Instance.new("Part")
  986.  
  987.  
  988.  
  989. missile.CFrame = part.CFrame * CFrame.Angles(math.pi/2,0,0)
  990. missile.Size = Vector3.new(2,2,2)
  991. missile.Velocity = v.unit * 200
  992. missile.BrickColor = BrickColor.new("Really black")
  993. missile.BottomSurface = 0
  994. missile.TopSurface = 0
  995. missile.CanCollide = false
  996. missile.Elasticity = .05
  997. missile.Friction = .7
  998. missile.Name = "Bullet"
  999.  
  1000. missile.Touched:connect(blowprojectile)
  1001.  
  1002. local mesh = Instance.new("SpecialMesh")
  1003. mesh.MeshType = "Sphere"
  1004. mesh.Parent = missile
  1005.  
  1006. local force = Instance.new("BodyForce")
  1007. force.force = Vector3.new(0,1100,0)
  1008. force.Parent = missile
  1009.  
  1010. createblack(missile)
  1011.  
  1012. -- local force = Instance.new("BodyForce")
  1013. -- force.Name = "BulletFloat"
  1014. -- force.force = Vector3.new(0,98.1,0)
  1015. -- force.Parent = missile
  1016.  
  1017. debby:AddItem(missile,5)
  1018. missile.Parent = game.Workspace
  1019.  
  1020. blasts:play()
  1021. end
  1022.  
  1023. function keydowns(key)
  1024. if tool.Enabled == true then
  1025. if key == "v" then
  1026. chat("HELL ONSLAUGHT!")
  1027. tool.Enabled = false
  1028. swordequip:Play()
  1029. wait(1)
  1030. chara.Humanoid.WalkSpeed = 0
  1031. enablehit.Value = true
  1032. swordsound:play()
  1033. swordabs:Play()
  1034. wait(2)
  1035. if didhit.Value == false then
  1036. swordabs:Stop()
  1037. enablehit.Value = false
  1038. tool.Enabled = true
  1039. chara.Humanoid.WalkSpeed = 50
  1040. chat("CHEESE")
  1041. print("Failed to land...")
  1042. elseif didhit.Value == true then end
  1043. else end
  1044. if key == "c" then
  1045. chat("Demon Viper!")
  1046. chara.Humanoid.WalkSpeed = 5
  1047. tool.Enabled = false
  1048. dreadecl.Value = true
  1049. stormvip:Play()
  1050. finalhits2:Play()
  1051. scytheland:Play()
  1052. fira.Enabled = true
  1053. wait(1)
  1054. chara.Humanoid.WalkSpeed = 50
  1055. dreadecl.Value = false
  1056. tool.Enabled = true
  1057. fira.Enabled = false
  1058. stormvip:Stop()
  1059. else end
  1060. if key == "x" then
  1061. chat("Shadow Blast!")
  1062. tool.Enabled = false
  1063. blastanim:Play()
  1064. chargesound:Play()
  1065. deffecto.Enabled = true
  1066. wait(1.5)
  1067. for i = 1, 10 do
  1068. wait(0.1)
  1069. fire(chara.HumanoidRootPart.CFrame.lookVector, orbuu)
  1070. end
  1071. wait(0.5)
  1072. blastanim:Stop()
  1073. deffecto.Enabled = false
  1074. tool.Enabled = true
  1075. else end
  1076. if key == "z" then
  1077. tool.Enabled = false
  1078. chat("Devil Revolver!")
  1079. kicka:Play()
  1080. chara.Humanoid.WalkSpeed = 5
  1081. revoruva.Value = true
  1082. swordsound:Play()
  1083. wait(1)
  1084. kicka:Stop()
  1085. tool.Enabled = true
  1086. chara.Humanoid.WalkSpeed = 50
  1087. revoruva.Value = false
  1088. end
  1089. end
  1090. if key == "g" then
  1091. Taunt()
  1092. elseif key == "m" then
  1093. Moosik()
  1094. elseif key == "h" then
  1095. changeclothes()
  1096. end
  1097. end
  1098.  
  1099. function keydowns2(key)
  1100. if tool2.Enabled == true then
  1101. if key == "z" and blawk.Value == false then
  1102. tool2.Enabled = false
  1103. chat("Devil Revolver!")
  1104. kicka:Play()
  1105. chara.Humanoid.WalkSpeed = 5
  1106. revoruva.Value = true
  1107. swordsound:Play()
  1108. wait(1)
  1109. kicka:Stop()
  1110. tool2.Enabled = true
  1111. chara.Humanoid.WalkSpeed = 50
  1112. revoruva.Value = false
  1113. end
  1114. if key == "x" and blawk.Value == false then
  1115. chat("Zantetsu!")
  1116. chara.Humanoid.WalkSpeed = 5
  1117. tool2.Enabled = false
  1118. zanny.Value = true
  1119. for i = 1, 2 do
  1120. katanaslash:Play()
  1121. ktsl1:Play()
  1122. wait(0.1)
  1123. katanaslash:Play()
  1124. ktsl1:Stop()
  1125. ktsl2:Play()
  1126. wait(0.1)
  1127. katanaslash:Play()
  1128. ktsl2:Stop()
  1129. ktsl3:Play()
  1130. wait(0.1)
  1131. katanaslash:Play()
  1132. ktsl3:Stop()
  1133. ktsl4:Play()
  1134. wait(0.1)
  1135. ktsl4:Stop()
  1136. end
  1137. chara.Humanoid.WalkSpeed = 50
  1138. tool2.Enabled = true
  1139. zanny.Value = false
  1140. end
  1141. if key == "c" then
  1142. if blawk.Value == false then
  1143. chat("With little to no trace...")
  1144. scythea:Play()
  1145. blawk.Value = true
  1146. chara.Humanoid.WalkSpeed = 5
  1147. elseif blawk.Value == true then
  1148. scythea:Stop()
  1149. blawk.Value = false
  1150. chara.Humanoid.WalkSpeed = 50
  1151. end
  1152. end
  1153. if key == "v" then
  1154. chat("Koukuujin Ougi...")
  1155. tool2.Enabled = false
  1156. swordequip:Play()
  1157. chara.Humanoid.WalkSpeed = 0
  1158. enablehit2.Value = true
  1159. scythea:Play()
  1160. wait(5)
  1161. if didhit2.Value == false then
  1162. enablehit2.Value = false
  1163. tool2.Enabled = true
  1164. chara.Humanoid.WalkSpeed = 50
  1165. print("Failed to land...")
  1166. scythea:Stop()
  1167. elseif didhit2.Value == true then end
  1168. end
  1169. end
  1170. if key == "g" then
  1171. Taunt()
  1172. elseif key == "m" then
  1173. Moosik()
  1174. elseif key == "h" then
  1175. changeclothes()
  1176. end
  1177. end
  1178.  
  1179. function onEquipped(mouse)
  1180. swordequip:play()
  1181. equipa:play()
  1182. chara.Humanoid.WalkSpeed = 50
  1183. if fhandle ~= nil then
  1184. fhandle.Transparency = 1
  1185. end
  1186. if mouse then mouse.KeyDown:connect(keydowns)
  1187. end
  1188. end
  1189.  
  1190. function onUnequipped()
  1191. equipa:stop()
  1192. chara.Humanoid.WalkSpeed = 16
  1193. if fhandle ~= nil then
  1194. fhandle.Transparency = 0
  1195. end
  1196. end
  1197.  
  1198. function onEquipped2(mouse)
  1199. swordequip:play()
  1200. equipa2:play()
  1201. chara.Humanoid.WalkSpeed = 50
  1202. if fhandle2 ~= nil then
  1203. fhandle2.Transparency = 1
  1204. end
  1205. if mouse then mouse.KeyDown:connect(keydowns2)
  1206. end
  1207. end
  1208.  
  1209. function onUnequipped2()
  1210. equipa2:stop()
  1211. chara.Humanoid.WalkSpeed = 16
  1212. if fhandle2 ~= nil then
  1213. fhandle2.Transparency = 0
  1214. end
  1215. end
  1216.  
  1217. function Taunt()
  1218. thing = math.random(1,4)
  1219. foxs:Play()
  1220. if taip == 1 then
  1221. if thing == 1 and prevthing ~= 1 then
  1222. chat("You're too weak.")
  1223. prevthing = 1
  1224. elseif thing == 2 and prevthing ~= 2 then
  1225. chat("Don't let your guard down.")
  1226. prevthing = 2
  1227. elseif thing == 3 and prevthing ~= 3 then
  1228. chat("Too naive.")
  1229. prevthing = 3
  1230. elseif thing == 4 and prevthing ~= 4 then
  1231. chat("Someone like you...")
  1232. wait(1)
  1233. chat("...can't defeat me!")
  1234. prevthing = 4
  1235. end
  1236. elseif taip == 2 then
  1237. chat("please fahk me")
  1238. end
  1239. end
  1240.  
  1241. function Moosik()
  1242. if moosek == 0 then
  1243. music1:Play()
  1244. moosek = 1
  1245. elseif moosek == 1 then
  1246. music1:Stop()
  1247. moosek = 0
  1248. end
  1249. end
  1250.  
  1251. function changeclothes()
  1252. if taip == 1 then
  1253. shirt.ShirtTemplate = ""
  1254. pants.PantsTemplate = "http://www.roblox.com/asset/?id=196429174"
  1255. tshirt.Graphic = "http://www.roblox.com/asset/?id=130291831"
  1256. taip = 2
  1257. tecks.Text = "ghey"
  1258. elseif taip == 2 then
  1259. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=555077915"
  1260. pants.PantsTemplate = "http://www.roblox.com/asset/?id=482320178"
  1261. tshirt.Graphic = ""
  1262. taip = 1
  1263. tecks.Text = "Enma the Null Kitsune"
  1264. end
  1265. end
  1266.  
  1267. tool.Equipped:connect(onEquipped)
  1268. tool.Unequipped:connect(onUnequipped)
  1269. tool2.Equipped:connect(onEquipped2)
  1270. tool2.Unequipped:connect(onUnequipped2)
  1271. --musictool.Activated:connect(Moosik)
  1272. --taunttool.Activated:connect(Taunt)
  1273. handle.Touched:connect(onTouched)
  1274. handle2.Touched:connect(onTouched2)
  1275. chara["Left Leg"].Touched:connect(kicktouch)
  1276. --changetool.Activated:connect(changeclothes)
  1277.  
  1278. --DEATH--
  1279. local deathed = false
  1280. function onDied()
  1281. deathed = true
  1282. chat("To be defeated by a weakling like you..")
  1283. shirt:Destroy()
  1284. pants:Destroy()
  1285. Void:Destroy()
  1286. orbuu:Destroy()
  1287. fhandle:Destroy()
  1288. fhandle2:Destroy()
  1289. fhandle3:Destroy()
  1290. music1.Volume = 0
  1291. local dmusic = Instance.new("Sound", game.Workspace)
  1292. dmusic.SoundId = "http://www.roblox.com/asset/?id=19094700"
  1293. dmusic.PlaybackSpeed = 1
  1294. dmusic.Volume = 1
  1295. dmusic.Looped = true
  1296. dmusic:Play()
  1297. debby:AddItem(dmusic, 5)
  1298. local shah = chara:GetChildren()
  1299. for i = 1, #shah do
  1300. if shah[i].ClassName == "Part" then
  1301. shah[i].Anchored = true
  1302. shah[i].BrickColor = BrickColor.new("Really black")
  1303. createhugeblack(shah[i])
  1304. elseif shah[i].ClassName == "Attachment" then
  1305. shah[i].Handle.Mesh.VertexColor = Color3.new(0,0,0)
  1306. shah[i].Handle.Anchored = true
  1307. end
  1308. end
  1309. for i = 1, 3 do
  1310. wait(1.2)
  1311. dmusic.PlaybackSpeed = dmusic.PlaybackSpeed - 0.2
  1312. end
  1313. for i = 1, #shah do
  1314. if shah[i].ClassName == "Part" then
  1315. shah[i].Anchored = false
  1316. createhugeblack(shah[i])
  1317. elseif shah[i].ClassName == "Attachment" then
  1318. shah[i].Handle.Anchored = false
  1319. end
  1320. end
  1321. local exx = Instance.new("Explosion", game.Workspace)
  1322. exx.Position = chara.Torso.Position
  1323. exx.BlastPressure = 500000000
  1324. exx.BlastRadius = 10000000000
  1325. exx.Visible = false
  1326. exx.ExplosionType = "CratersAndDebris"
  1327. finalhits1:Play()
  1328. end
  1329.  
  1330. while deathed == true do
  1331. wait(0.1)
  1332. if timeofday == "Day" then
  1333. game.Lighting.TimeOfDay = "18:00:00"
  1334. timeofday = "Dawn"
  1335. elseif timeofday == "Dawn" then
  1336. game.Lighting.TimeOfDay = "00:00:00"
  1337. timeofday = "Night"
  1338. elseif timeofday == "Night" then
  1339. game.Lighting.TimeOfDay = "6:00:00"
  1340. timeofday = "Morning"
  1341. elseif timeofday == "Morning" then
  1342. game.Lighting.TimeOfDay = "12:00:00"
  1343. timeofday = "Day"
  1344. end
  1345. end
  1346.  
  1347. chara.Humanoid.Died:connect(onDied)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement