Advertisement
DrakerMaker

KARMA

Nov 26th, 2019
312
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.45 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. do
  4. script.Parent = Player.Character
  5.  
  6. --RemoteEvent for communicating
  7. local Event = Instance.new("RemoteEvent")
  8. Event.Name = "UserInput_Event"
  9.  
  10. --Fake event to make stuff like Mouse.KeyDown work
  11. local function fakeEvent()
  12. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  13. t.connect = t.Connect
  14. return t
  15. end
  16.  
  17. --Creating fake input objects with fake variables
  18. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  19. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  20. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  21. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  22. end}
  23. --Merged 2 functions into one by checking amount of arguments
  24. CAS.UnbindAction = CAS.BindAction
  25.  
  26. --This function will trigger the events that have been :Connect()'ed
  27. local function te(self,ev,...)
  28. local t = m[ev]
  29. if t and t._fakeEvent and t.Function then
  30. t.Function(...)
  31. end
  32. end
  33. m.TrigEvent = te
  34. UIS.TrigEvent = te
  35.  
  36. Event.OnServerEvent:Connect(function(plr,io)
  37. if plr~=Player then return end
  38. if io.isMouse then
  39. m.Target = io.Target
  40. m.Hit = io.Hit
  41. else
  42. local b = io.UserInputState == Enum.UserInputState.Begin
  43. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  44. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  45. end
  46. for _,t in pairs(CAS.Actions) do
  47. for _,k in pairs(t.Keys) do
  48. if k==io.KeyCode then
  49. t.Function(t.Name,io.UserInputState,io)
  50. end
  51. end
  52. end
  53. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  54. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  55. end
  56. end)
  57. Event.Parent = NLS([==[
  58. local Player = game:GetService("Players").LocalPlayer
  59. local Event = script:WaitForChild("UserInput_Event")
  60.  
  61. local UIS = game:GetService("UserInputService")
  62. local input = function(io,a)
  63. if a then return end
  64. --Since InputObject is a client-side instance, we create and pass table instead
  65. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  66. end
  67. UIS.InputBegan:Connect(input)
  68. UIS.InputEnded:Connect(input)
  69.  
  70. local Mouse = Player:GetMouse()
  71. local h,t
  72. --Give the server mouse data 30 times every second, but only if the values changed
  73. --If player is not moving their mouse, client won't fire events
  74. while wait(1/30) do
  75. if h~=Mouse.Hit or t~=Mouse.Target then
  76. h,t=Mouse.Hit,Mouse.Target
  77. Event:FireServer({isMouse=true,Target=t,Hit=h})
  78. end
  79. end]==],Player.Character)
  80. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  81. end
  82. function wbtwe(Part0, Part1, C0)
  83. local weld = Instance.new("Weld", Part0)
  84. weld.Part0 = Part0
  85. weld.Part1 = Part1
  86. weld.C0 = Part1.CFrame:inverse() *Part1.CFrame *C0
  87. return weld
  88. end
  89. idle = 1
  90. walk = 1
  91. spin = 1
  92. deb = false
  93. animt = true
  94. hrw = wbtwe(owner.Character.Torso, owner.Character.HumanoidRootPart, CFrame.new(0, 0, 0.3) *CFrame.Angles(0.3, 0, 0))
  95. law = wbtwe(owner.Character["Left Arm"], owner.Character.Torso, CFrame.new(1.5, 0.2, 0.3) *CFrame.Angles(-0.3, 25, 0))
  96. raw = wbtwe(owner.Character["Right Arm"], owner.Character.Torso, CFrame.new(-1.5, 0.2, 0.3) *CFrame.Angles(-0.3, 0, 0))
  97. llw = wbtwe(owner.Character["Left Leg"], owner.Character.HumanoidRootPart, CFrame.new(0.45, 2.1, 0) *CFrame.Angles(0, 25, 0))
  98. rlw = wbtwe(owner.Character["Right Leg"], owner.Character.HumanoidRootPart, CFrame.new(-0.4, 2.1, 0) *CFrame.Angles(0, 0, 0))
  99. hw = wbtwe(owner.Character.Head, owner.Character.Torso, CFrame.new(0, -1.45, -0.8) *CFrame.Angles(0.8, 0, 0))
  100. local shadowhead = Instance.new("Part",owner.Character.Head)
  101. shadowhead.BrickColor = BrickColor.new("Really red")
  102. shadowhead.Size = Vector3.new(1.2, 0.6, 1)
  103. shadowhead.CanCollide = false
  104. shadowhead.Locked = true
  105. local shadowheadmesh = Instance.new("SpecialMesh",shadowhead)
  106. shadowheadmesh.MeshType = "Head"
  107. shadowheadmesh.Scale = Vector3.new(1.26, 1.5, 1.26)
  108. local weld2 = Instance.new("Weld",shadowhead)
  109. weld2.Part0 = shadowhead
  110. weld2.Part1 = owner.Character.Head
  111. weld2.C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  112. local sign = Instance.new("BillboardGui", owner.Character.Head)
  113. sign.Parent = owner.Character.Head
  114. sign.StudsOffset=Vector3.new(0.5,1,0)
  115. sign.Size=UDim2.new(3,0,6,0)
  116. text=Instance.new("TextLabel")
  117. text.Text= "KARMA"
  118. text.TextScaled = true
  119. text.TextColor3 = Color3.new(1, 1, 1)
  120. text.Size=UDim2.new(1,0,1,0)
  121. text.Position=UDim2.new(-0.125,0,-0.25,0)
  122. text.BackgroundTransparency = 1
  123. text.Font = "Fantasy"
  124. text.Parent=sign
  125. tex=Instance.new("TextLabel")
  126. tex.Text= "kArMa"
  127. tex.TextScaled = true
  128. tex.TextColor3 = Color3.new(1, 1, 1)
  129. tex.Size=UDim2.new(1,0,1,0)
  130. tex.Position=UDim2.new(-0.125,0,-0.25,0)
  131. tex.BackgroundTransparency = 1
  132. tex.Font = "Fantasy"
  133. tex.Parent=sign
  134. te=Instance.new("TextLabel")
  135. te.Text= "KaRmA"
  136. te.TextScaled = true
  137. te.TextColor3 = Color3.new(1, 1, 1)
  138. te.Size=UDim2.new(1,0,1,0)
  139. te.Position=UDim2.new(-0.125,0,-0.25,0)
  140. te.BackgroundTransparency = 1
  141. te.Font = "Fantasy"
  142. tex.Parent=sign
  143. local txtlb2 = Instance.new("TextLabel",sign)
  144. txtlb2.Text = owner.Name
  145. txtlb2.Font = "Arcade"
  146. txtlb2.TextColor3 = Color3.new(255, 255, 255)
  147. txtlb2.TextStrokeTransparency = 0
  148. txtlb2.BackgroundTransparency = 1
  149. txtlb2.TextStrokeColor3 = Color3.new(0, 0, 0)
  150. txtlb2.TextSize = 40
  151. txtlb2.Size = UDim2.new(1,0,0.25,0)
  152. txtlb2.TextXAlignment = "Left"
  153. txtlb2.Position = UDim2.new(0,0,1,0)
  154. local song = Instance.new("Sound", owner.Character.Head)
  155. song.SoundId = "rbxassetid://733456981"
  156. song.Volume = 2
  157. song.Looped = true
  158. song.TimePosition = 115.5
  159. song:Play()
  160. local static = Instance.new("Sound", owner.Character.Head)
  161. static.SoundId = "rbxassetid://1881119483"--"rbxassetid://1286253632"
  162. static.Volume = 0
  163. static.Looped = true
  164. static:Play()
  165. local scythe = Instance.new("Part", owner.Character)
  166. scythe.CFrame = owner.Character.Torso.CFrame *CFrame.new(-1, 6, 1) * CFrame.fromEulerAnglesXYZ(0, 0, 1)
  167. scythe.Anchored = true
  168. scythe.Transparency = 0.2
  169. scythe.CanCollide = false
  170. scythe.Locked = true
  171. local mesh = Instance.new("SpecialMesh", scythe)
  172. mesh.MeshId = "http://www.roblox.com/asset/?id=95891318"
  173. spawn(function()
  174. local TweenService = game:GetService("TweenService")
  175. local Colours = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,0,255),Color3.fromRGB(170,0,170)}
  176. local Int = 0
  177. while wait(0.2) do
  178. if Int == #Colours then Int = 0 end
  179. Int = Int+1
  180. TweenService:Create(shadowhead,TweenInfo.new(0.4),{Color = Colours[Int]}):Play()
  181. TweenService:Create(text,TweenInfo.new(0.4),{TextColor3 = Colours[Int]}):Play()
  182. TweenService:Create(tex,TweenInfo.new(0.4),{TextColor3 = Colours[Int]}):Play()
  183. TweenService:Create(te,TweenInfo.new(0.4),{TextColor3 = Colours[Int]}):Play()
  184. TweenService:Create(scythe,TweenInfo.new(0.4),{Color = Colours[Int]}):Play()
  185. end
  186. end)
  187. for i,v in pairs(owner.Character:GetChildren()) do
  188. if v:IsA("Accessory") then
  189. v:Destroy()
  190. end
  191. end
  192. anim = coroutine.wrap(function()
  193. while game:GetService("RunService").Stepped:wait(0) do
  194. text.Rotation = math.random(-5, 5)
  195. tex.Rotation = math.random(-5, 5)
  196. te.Rotation = math.random(-5, 5)
  197. if animt == true then
  198. if owner.Character.HumanoidRootPart.Velocity.Magnitude < 1 then
  199. scythe.CFrame = scythe.CFrame:lerp(owner.Character.HumanoidRootPart.CFrame *CFrame.new(-1, 6 +math.cos(idle) *0.3, 1) * CFrame.fromEulerAnglesXYZ(0, 0, 1), 0.1)
  200. idle = idle +0.1
  201. hrw.C0 = hrw.C0:lerp(owner.Character.HumanoidRootPart.CFrame:inverse() *owner.Character.HumanoidRootPart.CFrame * CFrame.new(0, math.cos(idle) *0.1, 0.3) *CFrame.Angles(0.3 +math.rad(math.random(-1,1)), math.rad(math.random(-1,1)), math.rad(math.random(-1,1))), 0.5)
  202. hw.C0 = hw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(0, -1.45, -0.8) *CFrame.Angles(0.8+math.rad(math.random(-1,1)), math.rad(math.random(-1,1)), math.rad(math.random(-1,1))), 0.5)
  203. law.C0 = law.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(1.5, 0.2, 0.3) *CFrame.Angles(-0.3 +math.rad(math.random(-1,1)), 25 +math.rad(math.random(-1,1)), math.rad(math.random(-1,1))), 0.5)
  204. raw.C0 = raw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(-1.5, 0.2, 0.3) *CFrame.Angles(-0.3 +math.rad(math.random(-1,1)), math.rad(math.random(-1,1)), math.rad(math.random(-1,1))), 0.5)
  205. llw.C0 = llw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(0.5, 2.1, 0) *CFrame.Angles(0, 25, 0), 0.5)
  206. rlw.C0 = rlw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(-0.5, 2.1, 0) *CFrame.Angles(0,0,0), 0.5)
  207. end
  208. if owner.Character.HumanoidRootPart.Velocity.Magnitude > 1 then
  209. walk = walk +0.1
  210. spin = spin +1
  211. scythe.CFrame = scythe.CFrame:lerp(owner.Character.HumanoidRootPart.CFrame *CFrame.new(-1, 6, 1) * CFrame.fromEulerAnglesXYZ(0, 0, 1), 0.1)
  212. hrw.C0 = hrw.C0:lerp(owner.Character.HumanoidRootPart.CFrame:inverse() *owner.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 0.3) *CFrame.Angles(0.3 +math.rad(math.random(-1,1)), math.rad(math.random(-1,1)), math.rad(math.random(-1,1))), 0.5)
  213. hw.C0 = hw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(0, -1.45, -0.8) *CFrame.Angles(0.8+math.rad(math.random(-1,1)), math.rad(math.random(-1,1)), math.rad(math.random(-1,1))), 0.5)
  214. law.C0 = law.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(1.5, 0.2, math.cos(-walk) *-0.7) *CFrame.Angles(math.cos(walk) *0.7 +math.rad(math.random(-1,1)), 25 +math.rad(math.random(-1,1)), math.rad(math.random(-1,1))), 0.5)
  215. raw.C0 = raw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(-1.5, 0.2, math.cos(-walk) *0.7) *CFrame.Angles(math.cos(walk) *-0.7 +math.rad(math.random(-1,1)), math.rad(math.random(-1,1)), math.rad(math.random(-1,1))), 0.5)
  216. llw.C0 = llw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(0.5, 2.1, math.cos(walk) *0.4) *CFrame.Angles(math.cos(-walk) *0.7, 25, 0), 0.5)
  217. rlw.C0 = rlw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(-0.5, 2.1, math.cos(-walk) *0.4) *CFrame.Angles(math.cos(-walk) *-0.7, 0, 0), 0.5)
  218. end
  219. end
  220. end
  221. end)anim()
  222. glitch = coroutine.wrap(function()
  223. while wait(math.random(2, 4)) do
  224. if owner.Character.HumanoidRootPart.Velocity.Magnitude < 1 then
  225. if animt == true then
  226. static.Volume = 3
  227. for i = 1,math.random(5, 55) do
  228. text.Rotation = math.random(-965, 965)
  229. tex.Rotation = math.random(-965, 965)
  230. te.Rotation = math.random(-965, 965)
  231. game:GetService("RunService").Stepped:wait(0)
  232. song.PlaybackSpeed = math.random(math.random(0.1,0.3), math.random(1,4))
  233. hw.C0 = owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(0, -1.45, -0.8 +math.rad(math.random(-25,25))) *CFrame.Angles(0.8+math.rad(math.random(-25,25)), math.rad(math.random(-25,25)), math.rad(math.random(-25,25)))
  234. hrw.C0 = owner.Character.HumanoidRootPart.CFrame:inverse() *owner.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 0) *CFrame.Angles(math.rad(math.random(-15,15)), math.rad(math.random(-15,15)), math.rad(math.random(-15,15)))
  235. end
  236. song.PlaybackSpeed = 1
  237. static.Volume = 0
  238. end
  239. end
  240. end
  241. end)glitch()
  242. mouse.KeyDown:connect(function(k)
  243. if k == "q" then
  244. if deb == false then
  245. local boom = Instance.new("Part", workspace)
  246. boom.Anchored = true
  247. boom.CanCollide = false
  248. boom.BrickColor = shadowhead.BrickColor
  249. boom.Material = "Neon"
  250. boom.Size = Vector3.new(5, 5, 5)
  251. boom.CFrame = owner.Character.Torso.CFrame *CFrame.Angles(math.random(-99999999999,99999999999),math.random(-99999999999,99999999999),math.random(-99999999999,99999999999))
  252. local boomII = Instance.new("Part", workspace)
  253. boomII.Anchored = true
  254. boomII.CanCollide = false
  255. boomII.Material = "Neon"
  256. boomII.Size = Vector3.new(3, 3, 3)
  257. boomII.CFrame = owner.Character.Torso.CFrame *CFrame.Angles(math.random(-99999999999,99999999999),math.random(-99999999999,99999999999),math.random(-99999999999,99999999999))
  258. local sound = Instance.new("Sound", owner.Character.Torso)
  259. sound.SoundId = "rbxassetid://1836245851"
  260. sound.Volume = 10
  261. sound:Play()
  262. owner.Character:MoveTo(mouse.Hit.p)
  263. local boomV = Instance.new("Part", workspace)
  264. boomV.Anchored = true
  265. boomV.CanCollide = false
  266. boomV.BrickColor = boom.BrickColor
  267. boomV.Material = "Neon"
  268. boomV.Size = Vector3.new(5, 5, 5)
  269. boomV.CFrame = owner.Character.Torso.CFrame
  270. *CFrame.Angles(math.random(-99999999999,99999999999),math.random(-99999999999,99999999999),math.random(-99999999999,99999999999))
  271. local boomVV = Instance.new("Part", workspace)
  272. boomVV.Anchored = true
  273. boomVV.CanCollide = false
  274. boomVV.Material = "Neon"
  275. boomVV.Size = Vector3.new(1, 1, 1)
  276. boomVV.CFrame = owner.Character.Torso.CFrame
  277. *CFrame.Angles(math.random(-99999999999,99999999999),math.random(-99999999999,99999999999),math.random(-99999999999,99999999999))
  278. for i = 1,45 do
  279. game:GetService("RunService").Stepped:wait(0)
  280. boom.CFrame = boom.CFrame *CFrame.Angles(math.random(-99999999999,99999999999),math.random(-99999999999,99999999999),math.random(-99999999999,99999999999))
  281. boom.Size = boom.Size +Vector3.new(0.6, 0.6, 0.6)
  282. boom.Transparency = boom.Transparency +0.03
  283. boomII.CFrame = boomII.CFrame *CFrame.Angles(math.random(-99999999999,99999999999),math.random(-99999999999,99999999999),math.random(-99999999999,99999999999))
  284. boomII.Size = boomII.Size +Vector3.new(0.3, 0.3, 0.3)
  285. boomII.Transparency = boomII.Transparency +0.03
  286. boomV.CFrame = boomV.CFrame *CFrame.Angles(math.random(-99999999999,99999999999),math.random(-99999999999,99999999999),math.random(-99999999999,99999999999))
  287. boomV.Size = boomV.Size +Vector3.new(0.6, 0.6, 0.6)
  288. boomV.Transparency = boomV.Transparency +0.03
  289. boomV.BrickColor = shadowhead.BrickColor
  290. boomV.BrickColor = boom.BrickColor
  291. boomV.CFrame = boomV.CFrame *CFrame.Angles(math.random(-99999999999,99999999999),math.random(-99999999999,99999999999),math.random(-99999999999,99999999999))
  292. boomVV.Size = boomVV.Size +Vector3.new(0.3, 0.3, 0.3)
  293. boomVV.Transparency = boomVV.Transparency +0.03
  294. boomVV.CFrame = boomVV.CFrame *CFrame.Angles(math.random(-99999999999,99999999999),math.random(-99999999999,99999999999),math.random(-99999999999,99999999999))
  295. end
  296. boom:Destroy()
  297. boomV:Destroy()
  298. end
  299. end
  300. if k == "f" then
  301. if deb == false then
  302. animt = false
  303. deb = true
  304. owner.Character.Humanoid.WalkSpeed = 0
  305. owner.Character.Humanoid.JumpPower = 0
  306. local sound = Instance.new("Sound", owner.Character.Torso)
  307. sound.SoundId = "http://www.roblox.com/asset/?id=96098241"
  308. sound.Volume = 8
  309. sound:Play()
  310. for i = 1,55 do
  311. game:GetService("RunService").Stepped:wait(0)
  312. hrw.C0 = hrw.C0:lerp(owner.Character.HumanoidRootPart.CFrame:inverse() *owner.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 0), 0.5)
  313. hw.C0 = hw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(0, -1.49, 0), 0.5)
  314. law.C0 = law.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(1.5, 0, 0) *CFrame.Angles(0, 25, 0), 0.5)
  315. raw.C0 = raw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(-1.5, 0, 0) *CFrame.Angles(0, 0, 0), 0.5)
  316. llw.C0 = llw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(0.5, 2.1, 0) *CFrame.Angles(0, 25, 0), 0.5)
  317. rlw.C0 = rlw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(-0.5, 2.1, 0) *CFrame.Angles(0, 0, 0), 0.5)
  318. end
  319. wait(0.6)
  320. sound.SoundId = "rbxassetid://1836245851"
  321. sound.Volume = 10
  322. sound:Play()
  323. local part = Instance.new("Part", workspace)
  324. part.Size = Vector3.new(0, 3, 0)
  325. part.CFrame = owner.Character.Torso.CFrame *CFrame.new(0, -2.6, 0)
  326. part.CanCollide = false
  327. part.Anchored = true
  328. part.Material = "Neon"
  329. part.CastShadow = false
  330. deb = false
  331. animt = true
  332. owner.Character.Humanoid.WalkSpeed = 16
  333. owner.Character.Humanoid.JumpPower = 50
  334. part.Touched:connect(function(p)
  335. if p.Parent:FindFirstChildOfClass("Humanoid") then
  336. if p.Parent.Name ~= owner.Name then
  337. p.Transparency = 1
  338. p.Parent:BreakJoints()
  339. if p:FindFirstChildOfClass("ParticleEmitter") == nil then
  340. local ParticleEmitter = Instance.new("ParticleEmitter")
  341.  
  342. ParticleEmitter.Acceleration = Vector3.new(0,5,0)
  343. ParticleEmitter.Color = ColorSequence.new(BrickColor.new("White").Color)
  344. ParticleEmitter.Lifetime = NumberRange.new(0.3,0.5)
  345. ParticleEmitter.LightEmission = 0.5
  346. ParticleEmitter.Rate = 150
  347. ParticleEmitter.RotSpeed = NumberRange.new(-180,180)
  348. ParticleEmitter.Rotation = NumberRange.new(-180,180)
  349. ParticleEmitter.Size = NumberSequence.new(1)
  350. ParticleEmitter.Speed = NumberRange.new(0.2)
  351. ParticleEmitter.SpreadAngle = Vector2.new(360,360)
  352. ParticleEmitter.Texture = "http://www.roblox.com/asset/?id=304437537"
  353. ParticleEmitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.30000001192093,0),NumberSequenceKeypoint.new(0.3,0,0),NumberSequenceKeypoint.new(1,1,0)})
  354. ParticleEmitter.ZOffset = 0.2
  355. ParticleEmitter.Parent = p
  356. Instance.new("BodyVelocity", p).Velocity = Vector3.new(0, 5, 0)
  357. end
  358. end
  359. end
  360. end)
  361. for i = 1,45 do
  362. game:GetService("RunService").Stepped:wait(0)
  363. part.Size = part.Size +Vector3.new(3, 20, 3)
  364. part.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  365. part.BrickColor = shadowhead.BrickColor
  366. part.Transparency = part.Transparency +0.03
  367. end
  368. part:Destroy()
  369. end
  370. end
  371. end)
  372. mouse.Button1Down:connect(function()
  373. if deb == false then
  374. deb = true
  375. animt = false
  376. for i = 1,25 do
  377. game:GetService("RunService").Stepped:wait(0)
  378. hrw.C0 = hrw.C0:lerp(owner.Character.HumanoidRootPart.CFrame:inverse() *owner.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 0) *CFrame.Angles(0, 0.3, 0), 0.5)
  379. hw.C0 = hw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(0, -1.49, 0) *CFrame.Angles(0, -0.3, 0), 0.5)
  380. law.C0 = law.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(1.5, 0, 0.7) *CFrame.Angles(-1.5, 25, 0.7), 0.5)
  381. raw.C0 = raw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(-1.5, 0, 0) *CFrame.Angles(0, 0, 0), 0.5)
  382. llw.C0 = llw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(0.5, 2.1, 0) *CFrame.Angles(0, 25, 0), 0.5)
  383. rlw.C0 = rlw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(-0.5, 2.1, 0) *CFrame.Angles(0, 0, 0.1), 0.5)
  384. scythe.CFrame = scythe.CFrame:lerp(owner.Character["Left Arm"].CFrame *CFrame.new(-2.1, 0, 0) * CFrame.fromEulerAnglesXYZ(0, -90, 0), 0.5)
  385. end
  386. llw.Part1 = owner.Character.Torso
  387. rlw.Part1 = owner.Character.Torso
  388. local swing = Instance.new("Sound", owner.Character.Head)
  389. swing.SoundId = "rbxassetid://62339698"
  390. swing.PlaybackSpeed = 0.3
  391. swing.Volume = 4
  392. swing:Play()
  393. for i = 1,25 do
  394. game:GetService("RunService").Stepped:wait(0)
  395. hrw.C0 = hrw.C0:lerp(owner.Character.HumanoidRootPart.CFrame:inverse() *owner.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 0) *CFrame.Angles(0, 0.73, 0), 0.5)
  396. hw.C0 = hw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(0, -1.49, 0) *CFrame.Angles(0, -0.3, 0), 0.5)
  397. law.C0 = law.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(1.5, 0, 0.7) *CFrame.Angles(0.3, 25, 0.1), 0.5)
  398. raw.C0 = raw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(-1.5, 0, 0) *CFrame.Angles(0, 0, 0), 0.5)
  399. llw.C0 = llw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(0.5, 2.1, 0) *CFrame.Angles(0, 25, 0), 0.5)
  400. rlw.C0 = rlw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(-0.5, 2.1, 0) *CFrame.Angles(0, 0, 0.1), 0.5)
  401. scythe.CFrame = scythe.CFrame:lerp(owner.Character["Left Arm"].CFrame *CFrame.new(-2.1, 0, 0) , 0.5)
  402. end
  403. llw.Part1 = owner.Character.HumanoidRootPart
  404. rlw.Part1 = owner.Character.HumanoidRootPart
  405. deb = false
  406. animt = true
  407. end
  408. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement