Dark_EccentricYT

Untitled

Jun 29th, 2018 (edited)
14,038
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 73.21 KB | None | 0 0
  1. wait(0.016666666666667)
  2. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  3. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  4. local C3 = {tRGB= function(c3) return c3.r*255,c3.g*255,c3.b*255 end,N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  5. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  6. local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
  7. local R3 = {N=Region3.new}
  8. local De = S.Debris
  9. local WS = workspace
  10. local Lght = S.Lighting
  11. local RepS = S.ReplicatedStorage
  12. local IN = Instance.new
  13. local Plrs = S.Players
  14. local Plr = Plrs.LocalPlayer
  15. local Char = Plr.Character
  16. local Hum = Char:FindFirstChildOfClass'Humanoid'
  17. local RArm = Char["Right Arm"]
  18. local LArm = Char["Left Arm"]
  19. local RLeg = Char["Right Leg"]
  20. local LLeg = Char["Left Leg"]
  21. local Root = Char:FindFirstChild'HumanoidRootPart'
  22. local Torso = Char.Torso
  23. local Head = Char.Head
  24. local NeutralAnims = true
  25. local Attack = false
  26. local Debounces = {Debounces={}}
  27. local Mouse = Plr:GetMouse()
  28. local Hit = {}
  29. local Sine = 0
  30. local Change = 1
  31. local BloodPuddles = {}
  32. local Glitching = false
  33. local Target;
  34. local Cam = workspace.CurrentCamera
  35. local Effects = IN("Folder",Char)
  36. Effects.Name = "Effects"
  37. local Kills = 0;
  38. local PlrGui = Plr:WaitForChild'PlayerGui'
  39. function Debounces:New(name,cooldown)
  40. local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
  41. setmetatable(aaaaa,{__index = Debounces})
  42. Debounces.Debounces[name] = aaaaa
  43. return aaaaa
  44. end
  45. function Debounces:Use(overrideUsable)
  46. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  47. if(self.Usable or overrideUsable)then
  48. self.Usable = false
  49. self.CoolingDown = true
  50. local LastUse = time()
  51. self.LastUse = LastUse
  52. delay(self.Cooldown or 2,function()
  53. if(self.LastUse == LastUse)then
  54. self.CoolingDown = false
  55. self.Usable = true
  56. end
  57. end)
  58. end
  59. end
  60. function Debounces:Get(name)
  61. assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
  62. for i,v in next, Debounces.Debounces do
  63. if(i == name)then
  64. return v;
  65. end
  66. end
  67. end
  68. function Debounces:GetProgressPercentage()
  69. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  70. if(self.CoolingDown and not self.Usable)then
  71. return math.max(
  72. math.floor(
  73. (
  74. (time()-self.LastUse)/self.Cooldown or 2
  75. )*100
  76. )
  77. )
  78. else
  79. return 100
  80. end
  81. end
  82. local baseSound = IN("Sound")
  83. function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
  84. local Sound = baseSound:Clone()
  85. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  86. Sound.Pitch = pitch or 1
  87. Sound.Volume = volume or 1
  88. Sound.Looped = looped or false
  89. if(autoPlay)then
  90. coroutine.wrap(function()
  91. repeat wait() until Sound.IsLoaded
  92. Sound.Playing = autoPlay or false
  93. end)()
  94. end
  95. if(not looped and effect)then
  96. Sound.Stopped:connect(function()
  97. Sound.Volume = 0
  98. Sound:destroy()
  99. end)
  100. elseif(effect)then
  101. warn("Sound can't be looped and a sound effect!")
  102. end
  103. Sound.Parent =parent or Torso
  104. return Sound
  105. end
  106. function Part(parent,color,material,size,cframe,anchored,cancollide)
  107. local part = IN("Part")
  108. part.Parent = parent or Char
  109. part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
  110. part.Material = material or Enum.Material.SmoothPlastic
  111. part.TopSurface,part.BottomSurface=10,10
  112. part.Size = size or V3.N(1,1,1)
  113. part.CFrame = cframe or CF.N(0,0,0)
  114. part.CanCollide = cancollide or false
  115. part.Anchored = anchored or false
  116. return part
  117. end
  118. function Weld(part0,part1,c0,c1)
  119. local weld = IN("Weld")
  120. weld.Parent = part0
  121. weld.Part0 = part0
  122. weld.Part1 = part1
  123. weld.C0 = c0 or CF.N()
  124. weld.C1 = c1 or CF.N()
  125. return weld
  126. end
  127. function Mesh(parent,meshtype,meshid,textid,scale,offset)
  128. local part = IN("SpecialMesh")
  129. part.MeshId = meshid or ""
  130. part.TextureId = textid or ""
  131. part.Scale = scale or V3.N(1,1,1)
  132. part.Offset = offset or V3.N(0,0,0)
  133. part.MeshType = meshtype or Enum.MeshType.Sphere
  134. part.Parent = parent
  135. return part
  136. end
  137. NewInstance = function(instance,parent,properties)
  138. local inst = Instance.new(instance)
  139. inst.Parent = parent
  140. if(properties)then
  141. for i,v in next, properties do
  142. pcall(function() inst[i] = v end)
  143. end
  144. end
  145. return inst;
  146. end
  147. function Clone(instance,parent,properties)
  148. local inst = instance:Clone()
  149. inst.Parent = parent
  150. if(properties)then
  151. for i,v in next, properties do
  152. pcall(function() inst[i] = v end)
  153. end
  154. end
  155. return inst;
  156. end
  157. function SoundPart(id,pitch,volume,looped,effect,autoPlay,cf)
  158. local soundPart = NewInstance("Part",Effects,{Transparency=1,CFrame=cf or Torso.CFrame,Anchored=true,CanCollide=false,Size=V3.N()})
  159. local Sound = IN("Sound")
  160. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  161. Sound.Pitch = pitch or 1
  162. Sound.Volume = volume or 1
  163. Sound.Looped = looped or false
  164. if(autoPlay)then
  165. coroutine.wrap(function()
  166. repeat wait() until Sound.IsLoaded
  167. Sound.Playing = autoPlay or false
  168. end)()
  169. end
  170. if(not looped and effect)then
  171. Sound.Stopped:connect(function()
  172. Sound.Volume = 0
  173. soundPart:destroy()
  174. end)
  175. elseif(effect)then
  176. warn("Sound can't be looped and a sound effect!")
  177. end
  178. Sound.Parent = soundPart
  179. return Sound
  180. end
  181. local Instance = setmetatable({ClearChildrenOfClass = function(where,class,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do if(v:IsA(class))then v:destroy();end;end;end},{__index = Instance})
  182. function CamShake(who,times,intense,origin)
  183. coroutine.wrap(function()
  184. if(script:FindFirstChild'CamShake')then
  185. local cam = script.CamShake:Clone()
  186. cam:WaitForChild'intensity'.Value = intense
  187. cam:WaitForChild'times'.Value = times
  188.  
  189. if(origin)then NewInstance((typeof(origin) == 'Instance' and "ObjectValue" or typeof(origin) == 'Vector3' and 'Vector3Value'),cam,{Name='origin',Value=origin}) end
  190. cam.Parent = who
  191. wait()
  192. cam.Disabled = false
  193. elseif(who == Plr or who == Char or who:IsDescendantOf(Plr))then
  194. local intensity = intense
  195. if(Hum and not Hum:FindFirstChild'CamShaking')then
  196. local cam = workspace.CurrentCamera
  197. local oCO = Hum.CameraOffset
  198. local cs = Instance.new("BoolValue",Hum)
  199. cs.Name = "CamShaking"
  200. for i = 1, times do
  201. local camDistFromOrigin
  202. if(typeof(origin) == 'Instance' and origin:IsA'BasePart')then
  203. camDistFromOrigin = math.floor( (cam.CoordinateFrame.p-origin.Position).magnitude )/25
  204. elseif(typeof(origin) == 'Vector3')then
  205. camDistFromOrigin = math.floor( (cam.CoordinateFrame.p-origin).magnitude )/25
  206. end
  207. if(camDistFromOrigin)then
  208. intensity = math.min(intense, math.floor(intense/camDistFromOrigin))
  209. end
  210. if(Hum)then
  211. Hum.CameraOffset = Vector3.new(math.random(-intensity,intensity)/200,math.random(-intensity,intensity)/200,math.random(-intensity,intensity)/200)
  212. end
  213. swait()
  214. end
  215. if(Hum)then
  216. Hum.CameraOffset = oCO
  217. end
  218. cs:destroy()
  219. end
  220. end
  221. end)()
  222. end
  223.  
  224.  
  225. function CamShakeAll(times,intense,origin)
  226. for _,v in next, Plrs:players() do
  227. CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,times,intense,origin)
  228. end
  229. end
  230.  
  231. function ServerScript(code)
  232. if(script:FindFirstChild'Loadstring')then
  233. local load = script.Loadstring:Clone()
  234. load:WaitForChild'Sauce'.Value = code
  235. load.Disabled = false
  236. load.Parent = workspace
  237. elseif(NS and typeof(NS) == 'function')then
  238. NS(code,workspace)
  239. else
  240. warn("no serverscripts lol")
  241. end
  242. end
  243.  
  244. function LocalOnPlayer(who,code)
  245. ServerScript([[
  246. wait()
  247. script.Parent=nil
  248. if(not _G.Http)then _G.Http = game:service'HttpService' end
  249.  
  250. local Http = _G.Http or game:service'HttpService'
  251.  
  252. local source = ]].."[["..code.."]]"..[[
  253. local link = "https://api.vorth.xyz/R_API/R.UPLOAD/NEW_LOCAL.php"
  254. local asd = Http:PostAsync(link,source)
  255. repeat wait() until asd and Http:JSONDecode(asd) and Http:JSONDecode(asd).Result and Http:JSONDecode(asd).Result.Require_ID
  256. local ID = Http:JSONDecode(asd).Result.Require_ID
  257. local vs = require(ID).VORTH_SCRIPT
  258. vs.Parent = game:service'Players'.]]..who.Name..[[.Character
  259. ]])
  260. end
  261.  
  262. function Nametag(color,tag)
  263. local r,g,b = C3.tRGB(color)
  264. local c3 = C3.RGB(r/2,g/2,b/2)
  265. local name = script:FindFirstChild'Nametag' and script.Nametag:Clone();
  266. if(not name)then
  267. name = NewInstance("BillboardGui",nil,{MaxDistance=150,AlwaysOnTop=true,Active=false,Size=UDim2.new(5,0,1,0),SizeOffset=Vector2.new(0,6)})
  268. NewInstance("TextLabel",name,{Name='Title',BackgroundTransparency=1,Size=UDim2.new(2.5,0,1.5,0),Position=UDim2.new(-.75,0,.9,0),Text=tag,Font=Enum.Font.Fantasy,TextColor3 = color,TextStrokeColor3 = c3,TextStrokeTransparency=0,TextSize=14,TextScaled=true,TextWrapped=true,})
  269. end
  270. name.Title.Text = tag
  271. name.Title.TextColor3 = color
  272. name.Title.TextStrokeColor3 = c3
  273.  
  274.  
  275. name.Parent = Char
  276. name.Adornee = Head
  277. name.PlayerToHideFrom = Plr
  278.  
  279. return name
  280. end
  281.  
  282. local Frame_Speed = 60
  283. local Remove_Hats = false
  284. local Remove_Clothing = false
  285. local PlayerSize = 1
  286. local DamageColor = BrickColor.new'Really red'
  287. local MusicID = 486598641
  288. local God = false
  289. local Muted = false
  290. local WalkSpeed = 8
  291. if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end
  292. if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end
  293. New = function(Object, Parent, Name, Data)
  294. local Object = Instance.new(Object)
  295. for Index, Value in pairs(Data or {}) do
  296. Object[Index] = Value
  297. end
  298. Object.Parent = Parent
  299. Object.Name = Name
  300. return Object
  301. end
  302. local NoClear = {}
  303. local Voodoo = New("Model",Char,"Voodoo",{})
  304. local VTorso = New("Part",Voodoo,"Torso",{Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.60029155, 0.60029155, 0.300145775),CFrame = CFrame.new(16.9809666, 34.1897087, 12.3049202, 0.979014099, -0.138922885, 0.149103805, 0.203679025, 0.691457033, -0.693110347, -0.0068100011, 0.708934069, 0.705241799),LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,})
  305. local VHead = New("Part",Voodoo,"Head",{FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.60029155, 0.300145775, 0.300145775),CFrame = CFrame.new(16.9182777, 34.5018272, 12.6228008, 0.981222212, -0.146387979, 0.125594378, 0.192836046, 0.730337858, -0.655302107, 0.0042019859, 0.667215884, 0.744852483),TopSurface = Enum.SurfaceType.Smooth,})
  306. local SMesh = New("SpecialMesh",VHead,"Mesh",{Scale = Vector3.new(1.25, 1.25, 1.25),})
  307. local mot = New("Motor",Head,"mot",{Part0 = VHead,Part1 = VTorso,C0 = CFrame.new(0, 0, 0, 0.981222093, 0.192836031, 0.00420200033, -0.146387964, 0.730337918, 0.667215943, 0.125594392, -0.655302107, 0.744852543),C1 = CFrame.new(3.43322754e-05, 0.449882507, -0.00149726868, 0.979014099, 0.203679025, -0.0068100011, -0.138922885, 0.691457033, 0.708934069, 0.149103805, -0.693110347, 0.705241799),})
  308. local VLA = New("Part",Voodoo,"Left Arm",{Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.300145775, 0.60029155, 0.300145775),CFrame = CFrame.new(16.5398445, 34.0791664, 12.4485207, 0.842483878, 0.427749634, 0.327492595, -0.371340811, 0.901513815, -0.222213656, -0.390290886, 0.0656000972, 0.918351531),})
  309. local mot = New("Motor",VLA,"mot",{Part0 = VLA,Part1 = VTorso,C0 = CFrame.new(0, 0, 0, 0.842483819, -0.371340901, -0.390290916, 0.427749544, 0.901513815, 0.0656001195, 0.327492595, -0.222213745, 0.91835165),C1 = CFrame.new(-0.455356598, 0.0866508484, 0.112116814, 0.979014099, 0.203679025, -0.0068100011, -0.138922885, 0.691457033, 0.708934069, 0.149103805, -0.693110347, 0.705241799),})
  310. local VLL = New("Part",Voodoo,"Left Leg",{Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.300145775, 0.60029155, 0.300145775),CFrame = CFrame.new(16.9056549, 33.7453232, 11.9883003, 0.984823465, -0.0888315961, 0.149104908, 0.137862071, 0.922279239, -0.361102521, -0.10543903, 0.376178026, 0.920528531),BottomSurface = Enum.SurfaceType.Smooth,})
  311. local mot = New("Motor",VLL,"mot",{Part0 = VLL,Part1 = VTorso,C0 = CFrame.new(0, 0, 0, 0.984823227, 0.137862027, -0.105439022, -0.0888316259, 0.922279298, 0.376178056, 0.149104908, -0.361102551, 0.920528591),C1 = CFrame.new(-0.162086487, -0.521272659, 0.0734844208, 0.979014099, 0.203679025, -0.0068100011, -0.138922885, 0.691457033, 0.708934069, 0.149103805, -0.693110347, 0.705241799),})
  312. local VRL = New("Part",Voodoo,"Right Leg",{Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.300145775, 0.60029155, 0.300145775),CFrame = CFrame.new(17.2400646, 33.8107071, 11.9597893, 0.959730387, -0.238088086, 0.149103299, 0.276998103, 0.890439391, -0.36109513, -0.0467950329, 0.387855232, 0.920531631),BottomSurface = Enum.SurfaceType.Smooth,})
  313. local mot = New("Motor",VRL,"mot",{Part0 = VRL,Part1 = VTorso,C0 = CFrame.new(0, 0, 0, 0.959730327, 0.276998103, -0.0467950143, -0.238088101, 0.89043951, 0.387855232, 0.149103299, -0.361095101, 0.92053175),C1 = CFrame.new(0.178815842, -0.542732239, 0.0579204559, 0.979014099, 0.203679025, -0.0068100011, -0.138922885, 0.691457033, 0.708934069, 0.149103805, -0.693110347, 0.705241799),})
  314. local VRA = New("Part",Voodoo,"Right Arm",{Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.300145775, 0.60029155, 0.300145775),CFrame = CFrame.new(17.508316, 34.2938004, 12.3892946, 0.695788145, -0.716024339, -0.0564649031, 0.695248008, 0.651688695, 0.303202778, -0.180302992, -0.250221908, 0.951251626),})
  315. local mot = New("Motor",VRA,"mot",{Part0 = VRA,Part1 = VTorso,C0 = CFrame.new(0, 0, 0, 0.695788085, 0.695248067, -0.180303007, -0.71602428, 0.651688814, -0.250221968, -0.0564648844, 0.303202778, 0.951251745),C1 = CFrame.new(0.536909103, 0.0585308075, 0.0659856796, 0.979014099, 0.203679025, -0.0068100011, -0.138922885, 0.691457033, 0.708934069, 0.149103805, -0.693110347, 0.705241799),})
  316.  
  317. local VHum = NewInstance("Humanoid",Voodoo,{PlatformStand=true,Health=0,DisplayDistanceType=Enum.HumanoidDisplayDistanceType.None})
  318.  
  319. for _,v in next, Voodoo:GetDescendants() do
  320. NoClear[v] = true
  321. end
  322.  
  323. local knife = Part(Char,BrickColor.new'Medium stone grey',Enum.Material.SmoothPlastic,V3.N(.3,3,.5),CF.N(),false,false)
  324. Mesh(knife,Enum.MeshType.FileMesh,'rbxassetid://1245215297','rbxassetid://1245215354',V3.N(1.25,1.45,1.25))
  325.  
  326. if(PlayerSize ~= 1)then
  327. for _,v in next, Char:GetDescendants() do
  328. if(v:IsA'BasePart')then
  329. v.Size = v.Size * PlayerSize
  330. end
  331. end
  332. end
  333.  
  334. Nametag(C3.N(.75,.75,.75),"The Voodoo Master")
  335.  
  336. local gui = NewInstance("ScreenGui",PlrGui,{})
  337. local txt = NewInstance("TextLabel",gui,{TextStrokeTransparency=.3,TextStrokeColor3=C3.RGB(107,0,0),Font=Enum.Font.Antique,BackgroundTransparency=1,Size=UDim2.new(.48,0,.1,0),Position=UDim2.new(.279,0,.842,0),Text='Target:',TextColor3=C3.RGB(214,0,0),TextScaled=true,TextWrapped=true,})
  338. local ktxt = NewInstance("TextLabel",gui,{TextStrokeTransparency=.3,TextStrokeColor3=C3.RGB(107,0,0),Font=Enum.Font.Antique,BackgroundTransparency=1,Size=UDim2.new(.48,0,.1,0),Position=UDim2.new(.279,0,.742,0),Text='Target:',TextColor3=C3.RGB(214,0,0),TextScaled=true,TextWrapped=true,})
  339.  
  340. local Music = Sound(Char,MusicID,1,3,true,false,true)
  341. Music.Name = 'Music'
  342. for _,v in next, Hum:GetPlayingAnimationTracks() do
  343. v:Stop();
  344. end
  345.  
  346. pcall(game.Destroy,Char:FindFirstChild'Animate')
  347. pcall(game.Destroy,Hum:FindFirstChild'Animator')
  348. local LS = NewInstance('Motor',Char,{Part0=Torso,Part1=LArm,C0 = CF.N(-1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)})
  349. local RS = NewInstance('Motor',Char,{Part0=Torso,Part1=RArm,C0 = CF.N(1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)})
  350. local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)})
  351. local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  352. local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  353. local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
  354.  
  355. local KW = NewInstance('Motor',Char,{Part0=LArm,Part1=knife,C0=CF.N(0,-1,0)*CF.A(M.R(90),0,0),C1=CF.N(0,-1,0)})
  356. local VW = NewInstance('Motor',Char,{Part0=RArm,Part1=VTorso,C0=CF.N(0,-.8,-.5)*CF.A(M.R(-43),0,0)})
  357.  
  358. local LSC0 = LS.C0
  359. local RSC0 = RS.C0
  360. local NKC0 = NK.C0
  361. local LHC0 = LH.C0
  362. local RHC0 = RH.C0
  363. local RJC0 = RJ.C0
  364. local ArtificialHB = IN("BindableEvent", script)
  365. ArtificialHB.Name = "Heartbeat"
  366.  
  367. script:WaitForChild("Heartbeat")
  368.  
  369. local tf = 0
  370. local allowframeloss = false
  371. local tossremainder = false
  372. local lastframe = tick()
  373. local frame = 1/Frame_Speed
  374. ArtificialHB:Fire()
  375.  
  376. game:GetService("RunService").Heartbeat:connect(function(s, p)
  377. tf = tf + s
  378. if tf >= frame then
  379. if allowframeloss then
  380. script.Heartbeat:Fire()
  381. lastframe = tick()
  382. else
  383. for i = 1, math.floor(tf / frame) do
  384. ArtificialHB:Fire()
  385. end
  386. lastframe = tick()
  387. end
  388. if tossremainder then
  389. tf = 0
  390. else
  391. tf = tf - frame * math.floor(tf / frame)
  392. end
  393. end
  394. end)
  395.  
  396. function swait(num)
  397. if num == 0 or num == nil then
  398. ArtificialHB.Event:wait()
  399. else
  400. for i = 0, num do
  401. ArtificialHB.Event:wait()
  402. end
  403. end
  404. end
  405. function NoobySphere(Lifetime,Speed,Type,Pos,StartSize,Inc,Color,Range,MeshId,Axis)
  406. local fxP = Part(Effects,Color,Enum.Material.Neon,V3.N(1,1,1),Pos+Pos.lookVector*Range,true,false)
  407. local fxM = Mesh(fxP,(MeshId and Enum.MeshType.FileMesh or Enum.MeshType.Sphere),(MeshId and "rbxassetid://"..MeshId or ""),"",StartSize,V3.N())
  408. local Scale = 1
  409. local speeder = Speed
  410. if(Type == "Multiply")then
  411. Scale = 1*Inc
  412. elseif(Type == "Divide")then
  413. Scale = 1/Inc
  414. end
  415. coroutine.wrap(function()
  416. for i = 0,10/Lifetime,.1 do
  417.  
  418. if(Type == "Multiply")then
  419. Scale = Scale - 0.01*Inc/Lifetime
  420. elseif(Type == "Divide")then
  421. Scale = Scale - 0.01/Inc*Lifetime
  422. end
  423. speeder = speeder - 0.01*Speed*Lifetime
  424. fxP.CFrame = fxP.CFrame + fxP.CFrame.lookVector*speeder*Lifetime
  425. fxP.Transparency = fxP.Transparency + 0.01*Lifetime
  426. if(Axis == 'x')then
  427. fxM.Scale = fxM.Scale + Vector3.new(Scale*Lifetime, 0, 0)
  428. elseif(Axis == 'y')then
  429. fxM.Scale = fxM.Scale + Vector3.new(0, Scale*Lifetime, 0)
  430. elseif(Axis == 'z')then
  431. fxM.Scale = fxM.Scale + Vector3.new(0, 0, Scale*Lifetime)
  432. elseif(Axis == 'xyz')then
  433. fxM.Scale = fxM.Scale + Vector3.new(Scale*Lifetime,Scale*Lifetime,Scale*Lifetime)
  434. elseif(Axis == 'yz')then
  435. fxM.Scale = fxM.Scale + Vector3.new(0,Scale*Lifetime,Scale*Lifetime)
  436. elseif(Axis == 'xz')then
  437. fxM.Scale = fxM.Scale + Vector3.new(Scale*Lifetime,0,Scale*Lifetime)
  438. else
  439. fxM.Scale = fxM.Scale + Vector3.new(Scale*Lifetime, Scale*Lifetime, 0)
  440. end
  441. if(fxP.Transparency >= 1)then break end
  442. swait()
  443. end
  444. fxP:destroy()
  445. end)()
  446. return fxP
  447. end
  448.  
  449. function NoobySphere2(Lifetime,Type,Pos,StartSize,Inc,Color,MeshId)
  450. local fxP = Part(Effects,Color,Enum.Material.Neon,V3.N(1,1,1),Pos,true,false)
  451. local fxM = Mesh(fxP,(MeshId and Enum.MeshType.FileMesh or Enum.MeshType.Sphere),(MeshId and "rbxassetid://"..MeshId or ""),"",StartSize,V3.N())
  452.  
  453. local Scale = 1
  454. if(Type == "Multiply")then
  455. Scale = 1*Inc
  456. elseif(Type == "Divide")then
  457. Scale = 1/Inc
  458. end
  459. coroutine.wrap(function()
  460. for i = 0,10/Lifetime,.1 do
  461.  
  462. if(Type == "Multiply")then
  463. Scale = Scale - 0.01*Inc/Lifetime
  464. elseif(Type == "Divide")then
  465. Scale = Scale - 0.01/Inc*Lifetime
  466. end
  467. fxP.Transparency = fxP.Transparency + 0.01*Lifetime
  468. fxM.Scale = fxM.Scale + Vector3.new(Scale*Lifetime, Scale*Lifetime, Scale*Lifetime)
  469. swait()
  470. end
  471. fxP:destroy()
  472. end)()
  473. end
  474.  
  475. function NoobyBlock(Lifetime,Speed,Type,Pos,StartSize,Inc,Color,Range,Fade,MeshId)
  476. local fxP = Part(Effects,Color,Enum.Material.Neon,V3.N(1,1,1),Pos+Pos.lookVector*Range,true,false)
  477. local fxM = Mesh(fxP,(MeshId and Enum.MeshType.FileMesh or Enum.MeshType.Brick),(MeshId and "rbxassetid://"..MeshId or ""),"",StartSize,V3.N())
  478. local Scale = 1
  479. local speeder = Speed
  480. if(Type == "Multiply")then
  481. Scale = 1*Inc
  482. elseif(Type == "Divide")then
  483. Scale = 1/Inc
  484. end
  485. coroutine.wrap(function()
  486. for i = 0,10/Lifetime,.1 do
  487. if(Type == "Multiply")then
  488. Scale = Scale - 0.01*Inc/Lifetime
  489. elseif(Type == "Divide")then
  490. Scale = Scale - 0.01/Inc*Lifetime
  491. end
  492. if(Fade)then
  493. fxP.Transparency = i/(10/Lifetime)
  494. end
  495. speeder = speeder - 0.01*Speed*Lifetime/10
  496. fxP.CFrame = fxP.CFrame + fxP.CFrame.lookVector*speeder*Lifetime
  497. fxM.Scale = fxM.Scale - Vector3.new(Scale*Lifetime, Scale*Lifetime, Scale*Lifetime)
  498. swait()
  499. end
  500. fxP:destroy()
  501. end)()
  502. end
  503.  
  504. function Bezier(startpos, pos2, pos3, endpos, t)
  505. local A = startpos:lerp(pos2, t)
  506. local B = pos2:lerp(pos3, t)
  507. local C = pos3:lerp(endpos, t)
  508. local lerp1 = A:lerp(B, t)
  509. local lerp2 = B:lerp(C, t)
  510. local cubic = lerp1:lerp(lerp2, t)
  511. return cubic
  512. end
  513. function Puddle(hit,pos,norm,data)
  514. local material = data.Material or Enum.Material.SmoothPlastic
  515. local color = data.Color or BrickColor.new'Crimson'
  516. local size = data.Size or 1
  517.  
  518. if(hit.Name ~= 'BloodPuddle')then
  519. local Puddle = NewInstance('Part',workspace,{Material=material,BrickColor=color,Size=V3.N(size,.1,size),CFrame=CF.N(pos,pos+norm)*CF.A(90*M.P/180,0,0),Anchored=true,CanCollide=false,Archivable=false,Locked=true,Name='BloodPuddle'})
  520. local Cyl = NewInstance('CylinderMesh',Puddle,{Name='CylinderMesh'})
  521. BloodPuddles[Puddle] = 0
  522. else
  523. local cyl = hit:FindFirstChild'CylinderMesh'
  524. if(cyl)then
  525. BloodPuddles[hit] = 0
  526. cyl.Scale = cyl.Scale + V3.N(size,0,size)
  527. hit.Transparency = 0
  528. end
  529. end
  530. end
  531.  
  532. function Droplet(data)
  533. local Size = data.Size or 1
  534. local Color = data.Color or BrickColor.new'Crimson'
  535. local StudsPerFrame = data.Speed or 1
  536. local Shape = data.Shape or 'Ball'
  537. local Frames = (data.Frames or 160)+1
  538. local Pos = data.Origin or Root.CFrame
  539. local Direction = data.Direction or Root.CFrame.lookVector*100000
  540. local Material = data.Material or Enum.Material.SmoothPlastic
  541. local Drop = data.Drop or .05
  542. local Ignorelist = data.Ignorelist or nil
  543.  
  544. local Bullet = Part(Effects,Color,Material,V3.N(Size,Size,Size),Pos,true,false)
  545. local BMesh = Mesh(Bullet,Enum.MeshType.Brick,"","",V3.N(1,1,1),V3.N())
  546. if(Shape == 'Ball')then
  547. BMesh.MeshType = Enum.MeshType.Sphere
  548. elseif(Shape == 'Head')then
  549. BMesh.MeshType = Enum.MeshType.Head
  550. elseif(Shape == 'Cylinder')then
  551. BMesh.MeshType = Enum.MeshType.Cylinder
  552. end
  553.  
  554. coroutine.wrap(function()
  555. for i = 1, Frames do
  556. Pos = Pos * CF.N(0,-(Drop*i),0)
  557. local hit,pos,norm,dist = CastRay(Bullet.CFrame.p,CF.N(Pos.p,Direction)*CF.N(0,0,-(StudsPerFrame*i)).p,StudsPerFrame)
  558. if(hit and (not hit.Parent or not hit.Parent:FindFirstChildOfClass'Humanoid' and not hit.Parent:IsA'Accessory'))then
  559. Puddle(hit,pos,norm,data)
  560. break;
  561. else
  562. Bullet.CFrame = CF.N(Pos.p,Direction)*CF.N(0,0,-(StudsPerFrame*i))
  563. end
  564. swait()
  565. end
  566. Bullet:destroy()
  567. end)()
  568. end
  569.  
  570. function SphereFX(duration,color,scale,pos,endScale,increment)
  571. return Effect{
  572. Effect='ResizeAndFade',
  573. Color=color,
  574. Size=scale,
  575. Mesh={MeshType=Enum.MeshType.Sphere},
  576. CFrame=pos,
  577. FXSettings={
  578. EndSize=endScale,
  579. EndIsIncrement=increment
  580. }
  581. }
  582. end
  583.  
  584. function BlastFX(duration,color,scale,pos,endScale,increment)
  585. return Effect{
  586. Effect='ResizeAndFade',
  587. Color=color,
  588. Size=scale,
  589. Mesh={MeshType=Enum.MeshType.FileMesh,MeshId='rbxassetid://20329976'},
  590. CFrame=pos,
  591. FXSettings={
  592. EndSize=endScale,
  593. EndIsIncrement=increment
  594. }
  595. }
  596. end
  597.  
  598. function BlockFX(duration,color,scale,pos,endScale,increment)
  599. return Effect{
  600. Effect='ResizeAndFade',
  601. Color=color,
  602. Size=scale,
  603. CFrame=pos,
  604. FXSettings={
  605. EndSize=endScale,
  606. EndIsIncrement=increment
  607. }
  608. }
  609. end
  610.  
  611. function ShootBullet(data)
  612. local Size = data.Size or V3.N(2,2,2)
  613. local Color = data.Color or BrickColor.new'Crimson'
  614. local StudsPerFrame = data.Speed or 10
  615. local Shape = data.Shape or 'Ball'
  616. local Frames = data.Frames or 160
  617. local Pos = data.Origin or Torso.CFrame
  618. local Direction = data.Direction or Mouse.Hit
  619. local Material = data.Material or Enum.Material.Neon
  620. local OnHit = data.HitFunction or function(hit,pos)
  621. Effect{
  622. Effect='ResizeAndFade',
  623. Color=Color,
  624. Size=V3.N(10,10,10),
  625. Mesh={MeshType=Enum.MeshType.Sphere},
  626. CFrame=CF.N(pos),
  627. FXSettings={
  628. EndSize=V3.N(.05,.05,.05),
  629. EndIsIncrement=true
  630. }
  631. }
  632. for i = 1, 5 do
  633. local angles = CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180))
  634. Effect{
  635. Effect='Fade',
  636. Frames=65,
  637. Size=V3.N(5,5,10),
  638. CFrame=CF.N(CF.N(pos)*angles*CF.N(0,0,-10).p,pos),
  639. Mesh = {MeshType=Enum.MeshType.Sphere},
  640. Material=Enum.Material.Neon,
  641. Color=Color,
  642. MoveDirection=CF.N(CF.N(pos)*angles*CF.N(0,0,-50).p,pos).p,
  643. }
  644. end
  645. end
  646.  
  647. local Bullet = Part(Effects,Color,Material,Size,Pos,true,false)
  648. local BMesh = Mesh(Bullet,Enum.MeshType.Brick,"","",V3.N(1,1,1),V3.N())
  649. if(Shape == 'Ball')then
  650. BMesh.MeshType = Enum.MeshType.Sphere
  651. elseif(Shape == 'Head')then
  652. BMesh.MeshType = Enum.MeshType.Head
  653. elseif(Shape == 'Cylinder')then
  654. BMesh.MeshType = Enum.MeshType.Cylinder
  655. end
  656.  
  657. coroutine.wrap(function()
  658. for i = 1, Frames+1 do
  659. local hit,pos,norm,dist = CastRay(Bullet.CFrame.p,CF.N(Bullet.CFrame.p,Direction.p)*CF.N(0,0,-StudsPerFrame).p,StudsPerFrame)
  660. if(hit)then
  661. OnHit(hit,pos,norm,dist)
  662. break;
  663. else
  664. Bullet.CFrame = CF.N(Bullet.CFrame.p,Direction.p)*CF.N(0,0,-StudsPerFrame)
  665. end
  666. swait()
  667. end
  668. Bullet:destroy()
  669. end)()
  670.  
  671. end
  672.  
  673.  
  674. function Zap(data)
  675. local sCF,eCF = data.StartCFrame,data.EndCFrame
  676. assert(sCF,"You need a start CFrame!")
  677. assert(eCF,"You need an end CFrame!")
  678. local parts = data.PartCount or 15
  679. local zapRot = data.ZapRotation or {-5,5}
  680. local startThick = data.StartSize or 3;
  681. local endThick = data.EndSize or startThick/2;
  682. local color = data.Color or BrickColor.new'Electric blue'
  683. local delay = data.Delay or 35
  684. local delayInc = data.DelayInc or 0
  685. local lastLightning;
  686. local MagZ = (sCF.p - eCF.p).magnitude
  687. local thick = startThick
  688. local inc = (startThick/parts)-(endThick/parts)
  689.  
  690. for i = 1, parts do
  691. local pos = sCF.p
  692. if(lastLightning)then
  693. pos = lastLightning.CFrame*CF.N(0,0,MagZ/parts/2).p
  694. end
  695. delay = delay + delayInc
  696. local zapPart = Part(Effects,color,Enum.Material.Neon,V3.N(thick,thick,MagZ/parts),CF.N(pos),true,false)
  697. local posie = CF.N(pos,eCF.p)*CF.N(0,0,MagZ/parts).p+V3.N(M.RNG(unpack(zapRot)),M.RNG(unpack(zapRot)),M.RNG(unpack(zapRot)))
  698. if(parts == i)then
  699. local MagZ = (pos-eCF.p).magnitude
  700. zapPart.Size = V3.N(endThick,endThick,MagZ)
  701. zapPart.CFrame = CF.N(pos, eCF.p)*CF.N(0,0,-MagZ/2)
  702. Effect{Effect='ResizeAndFade',Size=V3.N(thick,thick,thick),CFrame=eCF*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)),Color=color,Frames=delay*2,FXSettings={EndSize=V3.N(thick*8,thick*8,thick*8)}}
  703. else
  704. zapPart.CFrame = CF.N(pos,posie)*CF.N(0,0,MagZ/parts/2)
  705. end
  706.  
  707. lastLightning = zapPart
  708. Effect{Effect='Fade',Manual=zapPart,Frames=delay}
  709.  
  710. thick=thick-inc
  711.  
  712. end
  713. end
  714.  
  715. function Zap2(data)
  716. local Color = data.Color or BrickColor.new'Electric blue'
  717. local StartPos = data.Start or Torso.Position
  718. local EndPos = data.End or Mouse.Hit.p
  719. local SegLength = data.SegL or 2
  720. local Thicc = data.Thickness or 0.5
  721. local Fades = data.Fade or 45
  722. local Parent = data.Parent or Effects
  723. local MaxD = data.MaxDist or 200
  724. local Branch = data.Branches or false
  725. local Material = data.Material or Enum.Material.Neon
  726. local Raycasts = data.Raycasts or false
  727. local Offset = data.Offset or {0,360}
  728. local AddMesh = (data.Mesh == nil and true or data.Mesh)
  729. if((StartPos-EndPos).magnitude > MaxD)then
  730. EndPos = CF.N(StartPos,EndPos)*CF.N(0,0,-MaxD).p
  731. end
  732. local hit,pos,norm,dist=nil,EndPos,nil,(StartPos-EndPos).magnitude
  733. if(Raycasts)then
  734. hit,pos,norm,dist = CastRay(StartPos,EndPos,MaxD)
  735. end
  736. local segments = dist/SegLength
  737. local model = IN("Model",Parent)
  738. model.Name = 'Lightning'
  739. local Last;
  740. for i = 1, segments do
  741. local size = (segments-i)/25
  742. local prt = Part(model,Color,Material,V3.N(Thicc+size,SegLength,Thicc+size),CF.N(),true,false)
  743. if(AddMesh)then IN("CylinderMesh",prt) end
  744. if(Last and math.floor(segments) == i)then
  745. local MagZ = (Last.CFrame*CF.N(0,-SegLength/2,0).p-EndPos).magnitude
  746. prt.Size = V3.N(Thicc+size,MagZ,Thicc+size)
  747. prt.CFrame = CF.N(Last.CFrame*CF.N(0,-SegLength/2,0).p,EndPos)*CF.A(M.R(90),0,0)*CF.N(0,-MagZ/2,0)
  748. elseif(not Last)then
  749. prt.CFrame = CF.N(StartPos,pos)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
  750. else
  751. prt.CFrame = CF.N(Last.CFrame*CF.N(0,-SegLength/2,0).p,CF.N(pos)*CF.A(M.R(M.RNG(0,360)),M.R(M.RNG(0,360)),M.R(M.RNG(0,360)))*CF.N(0,0,SegLength/3+(segments-i)).p)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
  752. end
  753. Last = prt
  754. if(Branch)then
  755. local choice = M.RNG(1,7+((segments-i)*2))
  756. if(choice == 1)then
  757. local LastB;
  758. for i2 = 1,M.RNG(2,5) do
  759. local size2 = ((segments-i)/35)/i2
  760. local prt = Part(model,Color,Material,V3.N(Thicc+size2,SegLength,Thicc+size2),CF.N(),true,false)
  761. if(AddMesh)then IN("CylinderMesh",prt) end
  762. if(not LastB)then
  763. prt.CFrame = CF.N(Last.CFrame*CF.N(0,-SegLength/2,0).p,Last.CFrame*CF.N(0,-SegLength/2,0)*CF.A(0,0,M.RRNG(0,360))*CF.N(0,Thicc*7,0)*CF.N(0,0,-1).p)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
  764. else
  765. prt.CFrame = CF.N(LastB.CFrame*CF.N(0,-SegLength/2,0).p,LastB.CFrame*CF.N(0,-SegLength/2,0)*CF.A(0,0,M.RRNG(0,360))*CF.N(0,Thicc*7,0)*CF.N(0,0,-1).p)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
  766. end
  767. LastB = prt
  768. end
  769. end
  770. end
  771. end
  772. if(Fades > 0)then
  773. coroutine.wrap(function()
  774. for i = 1, Fades do
  775. for _,v in next, model:children() do
  776. if(v:IsA'BasePart')then
  777. v.Transparency = (i/Fades)
  778. end
  779. end
  780. swait()
  781. end
  782. model:destroy()
  783. end)()
  784. else
  785. S.Debris:AddItem(model,.01)
  786. end
  787. return {End=(Last and Last.CFrame*CF.N(0,-Last.Size.Y/2,0).p),Last=Last,Model=model}
  788. end
  789.  
  790. function Tween(obj,props,time,easing,direction,repeats,backwards)
  791. local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false)
  792. local tween = S.TweenService:Create(obj, info, props)
  793.  
  794. tween:Play()
  795. end
  796.  
  797. function Effect(data)
  798. local FX = data.Effect or 'ResizeAndFade'
  799. local Parent = data.Parent or Effects
  800. local Color = data.Color or C3.N(0,0,0)
  801. local Size = data.Size or V3.N(1,1,1)
  802. local MoveDir = data.MoveDirection or nil
  803. local MeshData = data.Mesh or nil
  804. local SndData = data.Sound or nil
  805. local Frames = data.Frames or 45
  806. local Manual = data.Manual or nil
  807. local Material = data.Material or nil
  808. local CFra = data.CFrame or Torso.CFrame
  809. local Settings = data.FXSettings or {}
  810. local Shape = data.Shape or Enum.PartType.Block
  811. local Snd,Prt,Msh;
  812. local RotInc = data.RotInc or {0,0,0}
  813. if(typeof(RotInc) == 'number')then
  814. RotInc = {RotInc,RotInc,RotInc}
  815. end
  816. coroutine.wrap(function()
  817. if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
  818. Prt = Manual
  819. else
  820. Prt = Part(Parent,Color,Material,Size,CFra,true,false)
  821. Prt.Shape = Shape
  822. end
  823. if(typeof(MeshData) == 'table')then
  824. Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
  825. elseif(typeof(MeshData) == 'Instance')then
  826. Msh = MeshData:Clone()
  827. Msh.Parent = Prt
  828. elseif(Shape == Enum.PartType.Block)then
  829. Msh = Mesh(Prt,Enum.MeshType.Brick)
  830. end
  831. if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
  832. Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
  833. end
  834. if(Snd)then
  835. repeat swait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
  836. Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
  837. end
  838. Size = (Msh and Msh.Scale or Size)
  839. local grow = Size-(Settings.EndSize or (Msh and Msh.Scale or Size)/2)
  840.  
  841. local MoveSpeed = nil;
  842. if(MoveDir)then
  843. MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  844. end
  845. if(FX ~= 'Arc')then
  846. for Frame = 1, Frames do
  847. if(FX == "Fade")then
  848. Prt.Transparency = (Frame/Frames)
  849. elseif(FX == "Resize")then
  850. if(not Settings.EndSize)then
  851. Settings.EndSize = V3.N(0,0,0)
  852. end
  853. if(Settings.EndIsIncrement)then
  854. if(Msh)then
  855. Msh.Scale = Msh.Scale + Settings.EndSize
  856. else
  857. Prt.Size = Prt.Size + Settings.EndSize
  858. end
  859. else
  860. if(Msh)then
  861. Msh.Scale = Msh.Scale - grow/Frames
  862. else
  863. Prt.Size = Prt.Size - grow/Frames
  864. end
  865. end
  866. elseif(FX == "ResizeAndFade")then
  867. if(not Settings.EndSize)then
  868. Settings.EndSize = V3.N(0,0,0)
  869. end
  870. if(Settings.EndIsIncrement)then
  871. if(Msh)then
  872. Msh.Scale = Msh.Scale + Settings.EndSize
  873. else
  874. Prt.Size = Prt.Size + Settings.EndSize
  875. end
  876. else
  877. if(Msh)then
  878. Msh.Scale = Msh.Scale - grow/Frames
  879. else
  880. Prt.Size = Prt.Size - grow/Frames
  881. end
  882. end
  883. Prt.Transparency = (Frame/Frames)
  884. end
  885. if(Settings.RandomizeCFrame)then
  886. Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  887. else
  888. Prt.CFrame = Prt.CFrame * CF.A(unpack(RotInc))
  889. end
  890. if(MoveDir and MoveSpeed)then
  891. local Orientation = Prt.Orientation
  892. Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  893. Prt.Orientation = Orientation
  894. end
  895. swait()
  896. end
  897. Prt:destroy()
  898. else
  899. local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  900. if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  901. if(start and endP)then
  902. local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  903. local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  904. for Frame = 0, 1, (Settings.Speed or 0.01) do
  905. if(Settings.Home)then
  906. endP = Settings.Home.CFrame
  907. end
  908. Prt.CFrame = Bezier(start, quarter, threequarter, endP, Frame)
  909. end
  910. if(Settings.RemoveOnGoal)then
  911. Prt:destroy()
  912. end
  913. else
  914. Prt:destroy()
  915. assert(start,"You need a start position!")
  916. assert(endP,"You need a start position!")
  917. end
  918. end
  919. end)()
  920. return Prt,Msh,Snd
  921. end
  922. function SoulSteal(whom)
  923. local torso = (whom:FindFirstChild'Head' or whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart')
  924. print(torso)
  925. if(torso and torso:IsA'BasePart')then
  926. local Model = Instance.new("Model",Effects)
  927. Model.Name = whom.Name.."'s Soul"
  928. whom:BreakJoints()
  929. local Soul = Part(Model,BrickColor.new'Really red','Glass',V3.N(.5,.5,.5),torso.CFrame,true,false)
  930. Soul.Name = 'Head'
  931. NewInstance("Humanoid",Model,{Health=0,MaxHealth=0})
  932. Effect{
  933. Effect="Arc",
  934. Manual = Soul,
  935. FXSettings={
  936. Start=torso.CFrame,
  937. Home = Torso,
  938. RemoveOnGoal = true,
  939. }
  940. }
  941. local lastPoint = Soul.CFrame.p
  942.  
  943. for i = 0, 1, 0.01 do
  944. local point = CFrame.new(lastPoint, Soul.Position) * CFrame.Angles(-math.pi/2, 0, 0)
  945. local mag = (lastPoint - Soul.Position).magnitude
  946. Effect{
  947. Effect = "Fade",
  948. CFrame = point * CF.N(0, mag/2, 0),
  949. Size = V3.N(.5,mag+.5,.5),
  950. Color = Soul.BrickColor
  951. }
  952. lastPoint = Soul.CFrame.p
  953. swait()
  954. end
  955. for i = 1, 5 do
  956. Effect{
  957. Effect="Fade",
  958. Color = BrickColor.new'Really red',
  959. MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
  960. }
  961. end
  962. end
  963. end
  964.  
  965. function MultiplyCF(cf,mult)
  966. local a,b,c,d,e,f,g,h,i,j,k,l = cf:components()
  967. return CF.N(a*mult,b*mult,c*mult,d*mult,e*mult,f*mult,g*mult,h*mult,i*mult,j*mult,k*mult,l*mult)
  968. end
  969.  
  970. function ResetVoodoo()
  971. for _,v in next, Voodoo:GetDescendants() do
  972. if(not NoClear[v])then
  973. v:destroy()
  974. end
  975. end
  976. VRA.Color = C3.RGB(163,162,165)
  977. VLA.Color = C3.RGB(163,162,165)
  978. VRL.Color = C3.RGB(163,162,165)
  979. VLL.Color = C3.RGB(163,162,165)
  980. VTorso.Color = C3.RGB(163,162,165)
  981. VHead.Color = C3.RGB(163,162,165)
  982. end
  983.  
  984. function ChangeTarget(who)
  985. local h = who:FindFirstChildOfClass'Humanoid'
  986. ResetVoodoo()
  987. if(h and h.Health <= 0)then return end
  988. Target = who
  989. for _,v in next, who:children() do
  990. if(v:IsA'Clothing' or v:IsA'CharacterMesh')then
  991. v:Clone().Parent = Voodoo
  992. elseif(v:FindFirstChild'face' and v.Name == 'Head')then
  993. v.face:Clone().Parent = VHead
  994. elseif(v:IsA'BodyColors')then
  995. VTorso.BrickColor = v.TorsoColor
  996. VHead.BrickColor = v.HeadColor
  997. VLA.BrickColor = v.LeftArmColor
  998. VRA.BrickColor = v.RightArmColor
  999. VLL.BrickColor = v.LeftLegColor
  1000. VRL.BrickColor = v.RightLegColor
  1001. elseif(Voodoo:FindFirstChild(v.Name) and Voodoo[v.Name]:IsA'BasePart' and v:IsA'BasePart')then
  1002. Voodoo[v.Name].Color = v.Color
  1003. end
  1004. end
  1005. end
  1006.  
  1007. function CastRay(startPos,endPos,range,ignoreList)
  1008. local ray = Ray.new(startPos,(endPos-startPos).unit*range)
  1009. local part,pos,norm = workspace:FindPartOnRayWithIgnoreList(ray,ignoreList or {Char},false,true)
  1010. return part,pos,norm,(pos and (startPos-pos).magnitude)
  1011. end
  1012.  
  1013. function getRegion(point,range,ignore)
  1014. return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
  1015. end
  1016.  
  1017. function clerp(startCF,endCF,alpha)
  1018. return startCF:lerp(endCF, alpha)
  1019. end
  1020.  
  1021. function GetTorso(char)
  1022. return char and (char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart')
  1023. end
  1024.  
  1025. function ShowDamage(Pos, Text, Time, Color)
  1026. coroutine.wrap(function()
  1027. local Rate = (1 / Frame_Speed)
  1028. local Pos = (Pos or Vector3.new(0, 0, 0))
  1029. local Text = (Text or "")
  1030. local Time = (Time or 2)
  1031. local Color = (Color or Color3.new(1, 0, 1))
  1032. local EffectPart = NewInstance("Part",Effects,{
  1033. Material=Enum.Material.SmoothPlastic,
  1034. Reflectance = 0,
  1035. Transparency = 1,
  1036. BrickColor = BrickColor.new(Color),
  1037. Name = "Effect",
  1038. Size = Vector3.new(0,0,0),
  1039. Anchored = true,
  1040. CFrame = CF.N(Pos)
  1041. })
  1042. local BillboardGui = NewInstance("BillboardGui",EffectPart,{
  1043. Size = UDim2.new(1.25, 0, 1.25, 0),
  1044. Adornee = EffectPart,
  1045. })
  1046. local TextLabel = NewInstance("TextLabel",BillboardGui,{
  1047. BackgroundTransparency = 1,
  1048. Size = UDim2.new(1, 0, 1, 0),
  1049. Text = Text,
  1050. Font = "Bodoni",
  1051. TextColor3 = Color,
  1052. TextStrokeColor3 = Color3.new(0,0,0),
  1053. TextStrokeTransparency=0,
  1054. TextScaled = true,
  1055. })
  1056. S.Debris:AddItem(EffectPart, (Time))
  1057. EffectPart.Parent = workspace
  1058. delay(0, function()
  1059. Tween(EffectPart,{CFrame=CF.N(Pos)*CF.N(0,3,0)},Time,Enum.EasingStyle.Elastic,Enum.EasingDirection.Out)
  1060. local Frames = (Time / Rate)
  1061. for Frame = 1, Frames do
  1062. swait()
  1063. local Percent = (Frame / Frames)
  1064. TextLabel.TextTransparency = Percent
  1065. TextLabel.TextStrokeTransparency = Percent
  1066. end
  1067. if EffectPart and EffectPart.Parent then
  1068. EffectPart:Destroy()
  1069. end
  1070. end) end)()
  1071. end
  1072.  
  1073. function DealDamage(data)
  1074. local Who = data.Who;
  1075. local MinDam = data.MinimumDamage or 15;
  1076. local MaxDam = data.MaximumDamage or 30;
  1077. local MaxHP = data.MaxHP or 1e5;
  1078.  
  1079. local DB = data.Debounce or .2;
  1080.  
  1081. local CritData = data.Crit or {}
  1082. local CritChance = CritData.Chance or 0;
  1083. local CritMultiplier = CritData.Multiplier or 1;
  1084.  
  1085. local DamageEffects = data.DamageFX or {}
  1086. local DamageType = DamageEffects.Type or "Normal"
  1087. local DeathFunction = DamageEffects.DeathFunction
  1088.  
  1089. assert(Who,"Specify someone to damage!")
  1090.  
  1091. local Humanoid = Who:FindFirstChildOfClass'Humanoid'
  1092. local DoneDamage = M.RNG(MinDam,MaxDam) * (M.RNG(1,100) <= CritChance and CritMultiplier or 1)
  1093.  
  1094. local canHit = true
  1095. if(Humanoid)then
  1096. for _, p in pairs(Hit) do
  1097. if p[1] == Humanoid then
  1098. if(time() - p[2] <= DB) then
  1099. canHit = false
  1100. else
  1101. Hit[_] = nil
  1102. end
  1103. end
  1104. end
  1105. if(canHit)then
  1106. table.insert(Hit,{Humanoid,time()})
  1107. local HitTorso = GetTorso(Who)
  1108. local player = S.Players:GetPlayerFromCharacter(Who)
  1109. if(not player or player.UserId ~= 5719877 and player.UserId ~= 61573184 and player.UserId ~= 19081129)then
  1110. if(Humanoid.MaxHealth >= MaxHP and Humanoid.Health > 0)then
  1111. print'Got kill'
  1112. Humanoid.Health = 0;
  1113. Who:BreakJoints();
  1114. if(DeathFunction)then DeathFunction(Who,Humanoid) end
  1115. else
  1116. local c = Instance.new("ObjectValue",Hum)
  1117. c.Name = "creator"
  1118. c.Value = Plr
  1119. S.Debris:AddItem(c,0.35)
  1120. if(Who:FindFirstChild'Head' and Humanoid.Health > 0)then
  1121. ShowDamage((Who.Head.CFrame * CF.N(0, 0, (Who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), DoneDamage, 1.5, DamageColor.Color)
  1122. end
  1123. if(Humanoid.Health > 0 and Humanoid.Health-DoneDamage <= 0)then print'Got kill' if(DeathFunction)then DeathFunction(Who,Humanoid) end end
  1124. Humanoid.Health = Humanoid.Health - DoneDamage
  1125.  
  1126. if(DamageType == 'Knockback' and HitTorso)then
  1127. local up = DamageEffects.KnockUp or 25
  1128. local back = DamageEffects.KnockBack or 25
  1129. local origin = DamageEffects.Origin or Root
  1130. local decay = DamageEffects.Decay or .5;
  1131.  
  1132. local bfos = Instance.new("BodyVelocity",HitTorso)
  1133. bfos.P = 20000
  1134. bfos.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1135. bfos.Velocity = Vector3.new(0,up,0) + (origin.CFrame.lookVector * back)
  1136. S.Debris:AddItem(bfos,decay)
  1137. end
  1138. end
  1139. end
  1140. end
  1141. end
  1142. end
  1143.  
  1144. function Kill(dude)
  1145. Kills = Kills + 1
  1146. local t = GetTorso(dude)
  1147. local h = dude:FindFirstChildOfClass'Humanoid'
  1148. if(dude == Target)then
  1149. Target = nil
  1150. ResetVoodoo()
  1151. end
  1152. if(h)then Instance.new("BoolValue",h).Name = 'Killed' end
  1153. if(t)then
  1154. Sound(t,429400881,.7,3,false,true,true)
  1155. local pe = NewInstance("ParticleEmitter",t,{Size=NumberSequence.new(.2,5),Enabled=false,Texture='rbxassetid://771221224',Speed=NumberRange.new(15),VelocitySpread=90,Color=ColorSequence.new(C3.N(1,0,0)),Transparency=NumberSequence.new(0,1),ZOffset=.8,Acceleration=V3.N(0,-25,0),EmissionDirection=Enum.NormalId.Top,Lifetime=NumberRange.new(1),Rate=2500,Rotation=NumberRange.new(-100,100),RotSpeed=NumberRange.new(-100,100),})
  1156. pe:Emit(250)
  1157. NoobySphere(1,0,'Multiply',t.CFrame,V3.N(1,1,1),.1,C3.N(.4,0,0),0,nil,'xyz')
  1158. ResetVoodoo()
  1159. coroutine.wrap(function()
  1160. swait(60)
  1161. for i = 0, 1, .025 do
  1162. for _,v in next, dude:children() do
  1163. if(v:IsA'BasePart' and v.Name ~= 'HumanoidRootPart')then
  1164. v.Transparency = i
  1165. end
  1166. end
  1167. swait()
  1168. end
  1169. for _,v in next, dude:children() do
  1170. if(v:IsA'BasePart')then
  1171. v:destroy()
  1172. end
  1173. end
  1174. end)()
  1175. end
  1176. dude:breakJoints()
  1177. end
  1178.  
  1179. function Burn(dude)
  1180. local t = GetTorso(dude)
  1181. local h = dude:FindFirstChildOfClass'Humanoid'
  1182. if(t and h)then
  1183. local pe = NewInstance("ParticleEmitter",t,{Color=ColorSequence.new(C3.RGB(255,105,19),C3.RGB(255,255,127)),LightEmission=.8,Size=NumberSequence.new(1,0),Transparency=NumberSequence.new(0,1),Texture='rbxassetid://242102147',ZOffset=.3,EmissionDirection=Enum.NormalId.Top,Rate=1000,Lifetime=NumberRange.new(1),Speed=NumberRange.new(5)})
  1184. Sound(t,192104941,.8,5,false,true,true)
  1185. Sound(t,147758746,1,5,false,true,true)
  1186. coroutine.wrap(function()
  1187. repeat h.Health = h.Health - (h.MaxHealth/200) swait() until h.Health <= 0
  1188. dude:breakJoints()
  1189. if(not h:FindFirstChild'Killed')then Kills = Kills + 1 end
  1190. h:destroy()
  1191. if(dude == Target)then
  1192. Target = nil
  1193. ResetVoodoo()
  1194. end
  1195. NoobySphere(1,0,'Multiply',t.CFrame,V3.N(1,1,1),.1,C3.N(.4,0,0),0,nil,'xyz')
  1196. swait(60)
  1197. for i = 0, 1, .025 do
  1198. for _,v in next, dude:children() do
  1199. if(v:IsA'BasePart' and v.Name ~= 'HumanoidRootPart')then
  1200. v.Transparency = i
  1201. v.Color = C3.N(0,0,0)
  1202. v.Material = Enum.Material.Slate
  1203. end
  1204. end
  1205. swait()
  1206. end
  1207. for _,v in next, dude:children() do
  1208. if(v:IsA'BasePart')then
  1209. v:destroy()
  1210. end
  1211. end
  1212. end)()
  1213. end
  1214. end
  1215.  
  1216. function AOEDamage(where,range,options)
  1217. local hit = {}
  1218. for _,v in next, getRegion(where,range,{Char}) do
  1219. if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' and not hit[v.Parent])then
  1220. local callTable = {Who=v.Parent}
  1221. hit[v.Parent] = true
  1222. for _,v in next, options do callTable[_] = v end
  1223. DealDamage(callTable)
  1224. end
  1225. end
  1226. return hit
  1227. end
  1228.  
  1229. function AOEHeal(where,range,amount)
  1230. local healed = {}
  1231. for _,v in next, getRegion(where,range,{Char}) do
  1232. local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil)
  1233. if(hum and not healed[hum])then
  1234. hum.Health = hum.Health + amount
  1235. if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then
  1236. ShowDamage((v.Parent.Head.CFrame * CF.N(0, 0, (v.Parent.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "+"..amount, 1.5, BrickColor.new'Lime green'.Color)
  1237. end
  1238. end
  1239. end
  1240. end
  1241.  
  1242. function BurnANigga()
  1243. Attack = true
  1244. NeutralAnims = false
  1245. local Target = Target
  1246. for i = 0, 3, 0.1 do
  1247. swait()
  1248. local Alpha = .2
  1249. RJ.C0 = RJ.C0:lerp(CFrame.new(-7.21813294e-08, -0.0789605454, -7.5250864e-07, 0.999996543, 8.32955209e-07, 4.22970459e-07, 9.11652307e-07, 0.965796173, 0.259301841, 1.96043004e-07, -0.259301394, 0.965792596),Alpha)
  1250. LH.C0 = LH.C0:lerp(CFrame.new(-0.499999344, -1.02113664, -2.92062759e-06, 0.996191025, 0.0871564001, 1.89523718e-07, -0.0841739103, 0.962121129, -0.259301454, -0.0225992389, 0.258315265, 0.965792596),Alpha)
  1251. RH.C0 = RH.C0:lerp(CFrame.new(0.499997526, -1.0211345, -1.49011612e-07, 0.996191263, -0.087154597, 2.02503998e-07, 0.0841755792, 0.96212101, -0.259301454, 0.0226000845, 0.258315176, 0.965792596),Alpha)
  1252. LS.C0 = LS.C0:lerp(CFrame.new(-1.48020887, 0.396520793, -0.0840251297, 0.125036538, -0.110845402, 0.985939026, -0.0894355327, 0.988434374, 0.122468963, -0.988111138, -0.103490412, 0.113677412),Alpha)
  1253. RS.C0 = RS.C0:lerp(CFrame.new(1.49998105, 0.499911726, 1.90734863e-06, 0.902840197, -0.0815670565, 0.422160357, 0.389566094, -0.260352403, -0.883433402, 0.18197079, 0.962058306, -0.20328176),Alpha)
  1254. NK.C0 = NK.C0:lerp(CFrame.new(2.08616257e-06, 1.50000572, 1.21630728e-06, 0.102758601, -0.164331287, 0.981036484, -0.0197002441, 0.985729218, 0.167181715, -0.994509459, -0.0365053862, 0.098055318),Alpha)
  1255. end
  1256. knife.Transparency = 1
  1257. local Match = New("Model",Char,"Match",{})
  1258. local Handle = New("Part",Match,"Handle",{BrickColor = BrickColor.new("Brick yellow"),Material = Enum.Material.Wood,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 1.2069068, 0.200000003),CFrame = CFrame.new(22.6316547, 30.6187859, 20.0125217, 0.836512625, -0.224143878, -0.499997824, 0.258817941, 0.965925753, 2.13843787e-08, 0.482960761, -0.129409477, 0.866021514),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.843137, 0.772549, 0.603922),})
  1259.  
  1260. local FXHead = New("Part",Match,"FXHead",{BrickColor = BrickColor.new("Dusty Rose"),Material = Enum.Material.Concrete,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.144828811, 0.225289285, 0.144828811),CFrame = CFrame.new(22.4783554, 31.2793884, 19.9240131, 0.836508334, -0.224146977, -0.499995291, 0.258818597, 0.965925217, -3.05112985e-06, 0.482958704, -0.129407614, 0.866017997),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.639216, 0.294118, 0.294118),})
  1261. local Mesh = New("SpecialMesh",FXHead,"Mesh",{MeshType = Enum.MeshType.Sphere,})
  1262. local mot = New("Motor",FXHead,"mot",{Part0 = FXHead,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.836515725, 0.258820862, 0.482963055, -0.224147007, 0.965925395, -0.129407734, -0.499999642, -3.10509813e-06, 0.866025686),C1 = CFrame.new(-7.62939453e-06, 0.683908463, -9.53674316e-07, 0.836512625, 0.258817941, 0.482960761, -0.224143878, 0.965925753, -0.129409477, -0.499997824, 2.13843787e-08, 0.866021514),})
  1263. local MHead = New("Part",Match,"MHead",{BrickColor = BrickColor.new("Dusty Rose"),Material = Enum.Material.Concrete,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.0804604515, 0.0482763015, 0.0804604515),CFrame = CFrame.new(22.4945812, 31.209444, 19.9333839, 0.836508274, -0.224147394, -0.499995291, 0.258818835, 0.965925217, -3.39144185e-06, 0.482958704, -0.12940748, 0.866017878),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.639216, 0.294118, 0.294118),})
  1264. local mot = New("Motor",MHead,"mot",{Part0 = MHead,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.836515665, 0.2588211, 0.482963055, -0.224147394, 0.965925276, -0.12940757, -0.499999642, -3.44821296e-06, 0.866025627),C1 = CFrame.new(-1.14440918e-05, 0.611497879, 1.90734863e-06, 0.836512625, 0.258817941, 0.482960761, -0.224143878, 0.965925753, -0.129409477, -0.499997824, 2.13843787e-08, 0.866021514),}) local Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(0.400000006, 1, 0.400000006),})
  1265.  
  1266. local fire = NewInstance("ParticleEmitter",FXHead,{
  1267. Color = ColorSequence.new(C3.RGB(255,237,210),C3.RGB(255,170,0)),
  1268. LightEmission=1,
  1269. LightInfluence=0,
  1270. Size=NumberSequence.new{NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.3,.25),NumberSequenceKeypoint.new(.597,.312),NumberSequenceKeypoint.new(1,0)},
  1271. Texture='rbxassetid://242461088',
  1272. Transparency=NumberSequence.new{NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.199,.825),NumberSequenceKeypoint.new(.6,1),NumberSequenceKeypoint.new(1,1)},
  1273. ZOffset=.2,
  1274. Acceleration=V3.N(0,.75,0),
  1275. LockedToPart=true,
  1276. EmissionDirection=Enum.NormalId.Top,
  1277. Lifetime=NumberRange.new(.75),
  1278. Rate=50,
  1279. Speed=NumberRange.new(0)
  1280. })
  1281. local HW = NewInstance('Weld',Char,{Part0=LArm,Part1=Handle,C0=CF.N(0,-1,0)*CF.A(M.R(-90),0,0)})
  1282. for i = 0, 7, 0.1 do
  1283. swait()
  1284. local Alpha = .1
  1285. RJ.C0 = RJ.C0:lerp(CFrame.new(-7.21805193e-08, -0.0789600536, 1.08964741e-06, 0.999996543, 8.32955209e-07, 4.22970459e-07, 9.11652307e-07, 0.965796173, 0.259301841, 1.96043004e-07, -0.259301394, 0.965792596),Alpha)
  1286. LH.C0 = LH.C0:lerp(CFrame.new(-0.499998987, -1.02113318, -1.04308128e-06, 0.996191025, 0.0871564001, 1.89523718e-07, -0.0841739103, 0.962121129, -0.259301454, -0.0225992389, 0.258315265, 0.965792596),Alpha)
  1287. RH.C0 = RH.C0:lerp(CFrame.new(0.499997348, -1.02113235, -5.96046448e-07, 0.996191263, -0.087154597, 2.02503998e-07, 0.0841755792, 0.96212101, -0.259301454, 0.0226000845, 0.258315176, 0.965792596),Alpha)
  1288. LS.C0 = LS.C0:lerp(CFrame.new(-1.28626728, 0.457301795, 0.0561587811, 0.779788852, 0.617777467, -0.101375088, -0.0164614469, -0.141639799, -0.98978132, -0.625823021, 0.773489416, -0.100280359),Alpha)
  1289. RS.C0 = RS.C0:lerp(CFrame.new(1.49997759, 0.499910235, 1.22189522e-06, 0.902840197, -0.0815670565, 0.422160357, 0.389566094, -0.260352403, -0.883433402, 0.18197079, 0.962058306, -0.20328176),Alpha)
  1290. NK.C0 = NK.C0:lerp(CFrame.new(3.81376594e-06, 1.5000037, 3.7914142e-06, 0.561061919, 0.0163413882, 0.827610493, -0.0240478665, 0.999704778, -0.00343565643, -0.827422142, -0.0179739445, 0.561289608),Alpha)
  1291. end
  1292. for i = 0, 1, 0.1 do
  1293. swait()
  1294. local Alpha = .15
  1295. RJ.C0 = RJ.C0:lerp(CFrame.new(-7.21813294e-08, -0.0789605454, -7.5250864e-07, 0.999996543, 8.32955209e-07, 4.22970459e-07, 9.11652307e-07, 0.965796173, 0.259301841, 1.96043004e-07, -0.259301394, 0.965792596),Alpha)
  1296. LH.C0 = LH.C0:lerp(CFrame.new(-0.499998987, -1.02113295, -1.96695328e-06, 0.996191025, 0.0871564001, 1.89523718e-07, -0.0841739103, 0.962121129, -0.259301454, -0.0225992389, 0.258315265, 0.965792596),Alpha)
  1297. RH.C0 = RH.C0:lerp(CFrame.new(0.499997348, -1.02113235, -5.96046448e-07, 0.996191263, -0.087154597, 2.02503998e-07, 0.0841755792, 0.96212101, -0.259301454, 0.0226000845, 0.258315176, 0.965792596),Alpha)
  1298. LS.C0 = LS.C0:lerp(CFrame.new(-0.56364888, 0.845062912, -0.882486701, 0.556871235, -0.829850614, 0.0351991951, -0.0293087214, -0.0619851053, -0.99764663, 0.830079675, 0.554528773, -0.0588402748),Alpha)
  1299. RS.C0 = RS.C0:lerp(CFrame.new(1.49997818, 0.499908328, 1.7285347e-06, 0.902840197, -0.0815670565, 0.422160357, 0.389566094, -0.260352403, -0.883433402, 0.18197079, 0.962058306, -0.20328176),Alpha)
  1300. NK.C0 = NK.C0:lerp(CFrame.new(-2.10106373e-06, 1.50000787, -1.17905438e-06, 0.744260013, 0.016378643, -0.667686522, -0.000203326344, 0.999704778, 0.0242953151, 0.667887568, -0.0179455429, 0.74404341),Alpha)
  1301. end
  1302. Burn(Target)
  1303. for i = 0, 6, 0.1 do
  1304. swait()
  1305. local Alpha = .15
  1306. RJ.C0 = RJ.C0:lerp(CFrame.new(-7.21813294e-08, -0.0789605454, -7.5250864e-07, 0.999996543, 8.32955209e-07, 4.22970459e-07, 9.11652307e-07, 0.965796173, 0.259301841, 1.96043004e-07, -0.259301394, 0.965792596),Alpha)
  1307. LH.C0 = LH.C0:lerp(CFrame.new(-0.499998987, -1.02113318, -1.04308128e-06, 0.996191025, 0.0871564001, 1.89523718e-07, -0.0841739103, 0.962121129, -0.259301454, -0.0225992389, 0.258315265, 0.965792596),Alpha)
  1308. RH.C0 = RH.C0:lerp(CFrame.new(0.499997348, -1.02113235, -5.96046448e-07, 0.996191263, -0.087154597, 2.02503998e-07, 0.0841755792, 0.96212101, -0.259301454, 0.0226000845, 0.258315176, 0.965792596),Alpha)
  1309. LS.C0 = LS.C0:lerp(CFrame.new(-0.431874216, 0.854955196, -0.97056669, 0.117097467, -0.829880476, -0.545511901, -0.991014123, -0.0618889406, -0.118577883, 0.064643696, 0.554494739, -0.829670548),Alpha)
  1310. RS.C0 = RS.C0:lerp(CFrame.new(1.55841696, 0.530878901, -0.013287276, 0.846236467, 0.325094491, 0.422130316, 0.464434087, -0.0617963374, -0.883448958, -0.261117637, 0.943658531, -0.203279719),Alpha)
  1311. NK.C0 = NK.C0:lerp(CFrame.new(-3.43844295e-06, 1.50000417, 3.09199095e-07, 0.744260013, 0.016378643, -0.667686522, -0.000203326344, 0.999704778, 0.0242953151, 0.667887568, -0.0179455429, 0.74404341),Alpha)
  1312. end
  1313. for i = 0, 3, 0.1 do
  1314. swait()
  1315. local Alpha = .1
  1316. RJ.C0 = RJ.C0:lerp(CFrame.new(-7.21813294e-08, -0.0789605454, -7.5250864e-07, 0.999996543, 8.32955209e-07, 4.22970459e-07, 9.11652307e-07, 0.965796173, 0.259301841, 1.96043004e-07, -0.259301394, 0.965792596),Alpha)
  1317. LH.C0 = LH.C0:lerp(CFrame.new(-0.499999344, -1.02113664, -2.92062759e-06, 0.996191025, 0.0871564001, 1.89523718e-07, -0.0841739103, 0.962121129, -0.259301454, -0.0225992389, 0.258315265, 0.965792596),Alpha)
  1318. RH.C0 = RH.C0:lerp(CFrame.new(0.499997526, -1.0211345, -1.49011612e-07, 0.996191263, -0.087154597, 2.02503998e-07, 0.0841755792, 0.96212101, -0.259301454, 0.0226000845, 0.258315176, 0.965792596),Alpha)
  1319. LS.C0 = LS.C0:lerp(CFrame.new(-1.48020887, 0.396520793, -0.0840251297, 0.125036538, -0.110845402, 0.985939026, -0.0894355327, 0.988434374, 0.122468963, -0.988111138, -0.103490412, 0.113677412),Alpha)
  1320. RS.C0 = RS.C0:lerp(CFrame.new(1.49998105, 0.499911726, 1.90734863e-06, 0.902840197, -0.0815670565, 0.422160357, 0.389566094, -0.260352403, -0.883433402, 0.18197079, 0.962058306, -0.20328176),Alpha)
  1321. NK.C0 = NK.C0:lerp(CFrame.new(2.08616257e-06, 1.50000572, 1.21630728e-06, 0.102758601, -0.164331287, 0.981036484, -0.0197002441, 0.985729218, 0.167181715, -0.994509459, -0.0365053862, 0.098055318),Alpha)
  1322. end
  1323. knife.Transparency = 0
  1324. Match:destroy()
  1325. Attack = false
  1326. NeutralAnims = true
  1327.  
  1328. end
  1329.  
  1330. function KillVoodoo()
  1331. Attack = true
  1332. NeutralAnims = false
  1333. WalkSpeed = 0
  1334. local Target = Target
  1335. for i = 0, 1.9, 0.1 do
  1336. swait()
  1337. local Alpha = .1
  1338. RJ.C0 = RJ.C0:lerp(CFrame.new(-7.21813294e-08, -0.0789605454, -7.5250864e-07, 0.999996543, 8.32955209e-07, 4.22970459e-07, 9.11652307e-07, 0.965796173, 0.259301841, 1.96043004e-07, -0.259301394, 0.965792596),Alpha)
  1339. LH.C0 = LH.C0:lerp(CFrame.new(-0.500003159, -1.02113652, -1.87754631e-06, 0.996191025, 0.0871564001, 1.89523718e-07, -0.0841739103, 0.962121129, -0.259301454, -0.0225992389, 0.258315265, 0.965792596),Alpha)
  1340. RH.C0 = RH.C0:lerp(CFrame.new(0.500005007, -1.02113163, -4.17232513e-07, 0.996191263, -0.087154597, 2.02503998e-07, 0.0841755792, 0.96212101, -0.259301454, 0.0226000845, 0.258315176, 0.965792596),Alpha)
  1341. LS.C0 = LS.C0:lerp(CFrame.new(-1.30809402, 0.707052946, -0.212298125, 0.324948817, 0.857990444, 0.397815555, 0.638829648, -0.509305477, 0.576632023, 0.697354972, 0.0667604953, -0.71360743),Alpha)
  1342. RS.C0 = RS.C0:lerp(CFrame.new(1.17349327, 0.596340418, -0.226585925, 0.880390525, 0.216107711, 0.422145128, 0.452990264, -0.119689628, -0.883444428, -0.140392065, 0.969003797, -0.203268766),Alpha)
  1343. NK.C0 = NK.C0:lerp(CFrame.new(4.42750752e-06, 1.50000238, 4.23006713e-06, 0.827343702, 0.0163316131, -0.561455429, -0.00340057909, 0.99970448, 0.024066925, 0.56168288, -0.0180016756, 0.827154636),Alpha)
  1344. end
  1345. local gay = Plrs:GetPlayerFromCharacter(Target)
  1346. if(not gay or Plr.UserId == 5719877 or gay.UserId ~= 5719877 and gay.UserId ~= 19909695 and gay.UserId ~= 33104243)then
  1347. Kill(Target)
  1348. for i = 0, 1.2, 0.1 do
  1349. swait()
  1350. local Alpha = .2
  1351. RJ.C0 = RJ.C0:lerp(CFrame.new(-7.21813294e-08, -0.0789605454, -7.5250864e-07, 0.999996543, 8.32955209e-07, 4.22970459e-07, 9.11652307e-07, 0.965796173, 0.259301841, 1.96043004e-07, -0.259301394, 0.965792596),Alpha)
  1352. LH.C0 = LH.C0:lerp(CFrame.new(-0.500003159, -1.02113652, -1.87754631e-06, 0.996191025, 0.0871564001, 1.89523718e-07, -0.0841739103, 0.962121129, -0.259301454, -0.0225992389, 0.258315265, 0.965792596),Alpha)
  1353. RH.C0 = RH.C0:lerp(CFrame.new(0.500005007, -1.02113163, -4.17232513e-07, 0.996191263, -0.087154597, 2.02503998e-07, 0.0841755792, 0.96212101, -0.259301454, 0.0226000845, 0.258315176, 0.965792596),Alpha)
  1354. LS.C0 = LS.C0:lerp(CFrame.new(-0.765871823, 0.875704765, -0.619495153, 0.324934751, -0.587293684, 0.74128288, 0.638849139, -0.441647798, -0.629935622, 0.697343588, 0.678255379, 0.231685296),Alpha)
  1355. RS.C0 = RS.C0:lerp(CFrame.new(1.17349327, 0.596340418, -0.226585925, 0.880390525, 0.216107711, 0.422145128, 0.452990264, -0.119689628, -0.883444428, -0.140392065, 0.969003797, -0.203268766),Alpha)
  1356. NK.C0 = NK.C0:lerp(CFrame.new(4.42750752e-06, 1.50000238, 4.23006713e-06, 0.827343702, 0.0163316131, -0.561455429, -0.00340057909, 0.99970448, 0.024066925, 0.56168288, -0.0180016756, 0.827154636),Alpha)
  1357. end
  1358. for i = 0, .9, 0.1 do
  1359. swait()
  1360. local Alpha = .2
  1361. RJ.C0 = RJ.C0:lerp(CFrame.new(-2.16149999e-07, -0.0789605081, -7.11530447e-07, 0.999989629, 2.49221875e-06, 1.27442513e-06, 2.73494675e-06, 0.965795875, 0.259301215, 5.88124067e-07, -0.259299994, 0.965785265),Alpha)
  1362. LH.C0 = LH.C0:lerp(CFrame.new(-0.500001371, -1.02113628, -5.54323196e-06, 0.996183932, 0.0871576071, 5.81604752e-07, -0.0841722414, 0.96212101, -0.259300053, -0.0225983392, 0.258314729, 0.965785265),Alpha)
  1363. RH.C0 = RH.C0:lerp(CFrame.new(0.49999243, -1.02113175, -5.66244125e-06, 0.996184528, -0.0871521831, 5.94584947e-07, 0.0841772109, 0.962120533, -0.259300053, 0.0226008799, 0.25831449, 0.965785265),Alpha)
  1364. LS.C0 = LS.C0:lerp(CFrame.new(-1.34198368, 0.383808315, 0.099660337, 0.324967146, 0.259882778, 0.90930742, 0.638826787, -0.76930356, -0.00842937827, 0.697345734, 0.583627462, -0.416016668),Alpha)
  1365. RS.C0 = RS.C0:lerp(CFrame.new(1.1734798, 0.596339762, -0.226573557, 0.880385041, 0.216106832, 0.422140598, 0.452991217, -0.1196879, -0.883443415, -0.140389711, 0.968996823, -0.203268081),Alpha)
  1366. NK.C0 = NK.C0:lerp(CFrame.new(4.42750752e-06, 1.50000238, 4.23006713e-06, 0.827343702, 0.0163316131, -0.561455429, -0.00340057909, 0.99970448, 0.024066925, 0.56168288, -0.0180016756, 0.827154636),Alpha)
  1367. end
  1368. else
  1369. for i = 0, 1.2, 0.1 do
  1370. swait()
  1371. local Alpha = .2
  1372. RJ.C0 = RJ.C0:lerp(CFrame.new(-7.21813294e-08, -0.0789605454, -7.5250864e-07, 0.999996543, 8.32955209e-07, 4.22970459e-07, 9.11652307e-07, 0.965796173, 0.259301841, 1.96043004e-07, -0.259301394, 0.965792596),Alpha)
  1373. LH.C0 = LH.C0:lerp(CFrame.new(-0.500003159, -1.02113652, -1.87754631e-06, 0.996191025, 0.0871564001, 1.89523718e-07, -0.0841739103, 0.962121129, -0.259301454, -0.0225992389, 0.258315265, 0.965792596),Alpha)
  1374. RH.C0 = RH.C0:lerp(CFrame.new(0.500005007, -1.02113163, -4.17232513e-07, 0.996191263, -0.087154597, 2.02503998e-07, 0.0841755792, 0.96212101, -0.259301454, 0.0226000845, 0.258315176, 0.965792596),Alpha)
  1375. LS.C0 = LS.C0:lerp(CFrame.new(-0.765871823, 0.875704765, -0.619495153, 0.324934751, -0.587293684, 0.74128288, 0.638849139, -0.441647798, -0.629935622, 0.697343588, 0.678255379, 0.231685296),Alpha)
  1376. RS.C0 = RS.C0:lerp(CFrame.new(1.34997082, 0.691436887, -0.00414918363, 0.308846682, -0.493054748, -0.813330948, -0.13198103, 0.824647903, -0.550033391, 0.94190836, 0.277220637, 0.18961516),Alpha)
  1377. NK.C0 = NK.C0:lerp(CFrame.new(4.42750752e-06, 1.50000238, 4.23006713e-06, 0.827343702, 0.0163316131, -0.561455429, -0.00340057909, 0.99970448, 0.024066925, 0.56168288, -0.0180016756, 0.827154636),Alpha)
  1378. end
  1379. for i = 0, .9, 0.1 do
  1380. swait()
  1381. local Alpha = .2
  1382. RJ.C0 = RJ.C0:lerp(CFrame.new(-2.16149999e-07, -0.0789605081, -7.11530447e-07, 0.999989629, 2.49221875e-06, 1.27442513e-06, 2.73494675e-06, 0.965795875, 0.259301215, 5.88124067e-07, -0.259299994, 0.965785265),Alpha)
  1383. LH.C0 = LH.C0:lerp(CFrame.new(-0.500001371, -1.02113628, -5.54323196e-06, 0.996183932, 0.0871576071, 5.81604752e-07, -0.0841722414, 0.96212101, -0.259300053, -0.0225983392, 0.258314729, 0.965785265),Alpha)
  1384. RH.C0 = RH.C0:lerp(CFrame.new(0.49999243, -1.02113175, -5.66244125e-06, 0.996184528, -0.0871521831, 5.94584947e-07, 0.0841772109, 0.962120533, -0.259300053, 0.0226008799, 0.25831449, 0.965785265),Alpha)
  1385. LS.C0 = LS.C0:lerp(CFrame.new(-1.34198368, 0.383808315, 0.099660337, 0.324967146, 0.259882778, 0.90930742, 0.638826787, -0.76930356, -0.00842937827, 0.697345734, 0.583627462, -0.416016668),Alpha)
  1386. RS.C0 = RS.C0:lerp(CFrame.new(1.34997082, 0.691436887, -0.00414918363, 0.308846682, -0.493054748, -0.813330948, -0.13198103, 0.824647903, -0.550033391, 0.94190836, 0.277220637, 0.18961516),Alpha)
  1387. NK.C0 = NK.C0:lerp(CFrame.new(4.42750752e-06, 1.50000238, 4.23006713e-06, 0.827343702, 0.0163316131, -0.561455429, -0.00340057909, 0.99970448, 0.024066925, 0.56168288, -0.0180016756, 0.827154636),Alpha)
  1388. end
  1389. end
  1390. WalkSpeed = 8
  1391. Attack = false
  1392. NeutralAnims = true
  1393. end
  1394.  
  1395. Mouse.KeyDown:connect(function(k)
  1396. if(Attack)then return end
  1397. if(k == 'q')then
  1398. local targ = (Mouse.Target and Mouse.Target.Parent)
  1399. if(targ and GetTorso(targ) and targ:FindFirstChildOfClass'Humanoid')then
  1400. ChangeTarget(targ)
  1401. end
  1402. elseif(k == 'z' and Target)then
  1403. BurnANigga()
  1404. end
  1405. end)
  1406.  
  1407. Mouse.Button1Down:connect(function()
  1408. if(Attack)then return end
  1409. if(Target)then
  1410. KillVoodoo()
  1411. else
  1412. end
  1413. end)
  1414.  
  1415. coroutine.wrap(function()
  1416. while true do
  1417. if(M.RNG(1,350) == 1 and not Glitching)then
  1418. for i = 1, M.RNG(100,300)/100 do
  1419. local TP = Music.TimePosition
  1420. Glitching = true
  1421. swait(M.RNG(15,30))
  1422. Glitching = false
  1423. Music.TimePosition = TP
  1424. end
  1425. end
  1426. swait()
  1427. end
  1428. end)()
  1429.  
  1430. local Texts = {"INSANITY","BURN","DIE","CRY","VOODOO","NO STRINGS ATTACHED"}
  1431. coroutine.wrap(function()
  1432. while true do
  1433. if(M.RNG(1,65) >= (Glitching and 5 or 40))then
  1434. local frame = NewInstance("Frame",gui,{Size=UDim2.new(.26,0,.07,0),BackgroundTransparency=1,Position=UDim2.new(M.RNG(0,100)/100,0,M.RNG(0,100)/100,0)})
  1435. local fat = Texts[M.RNG(1,#Texts)]
  1436. local toxt = "";
  1437. for i = 1, #fat do
  1438. if(M.RNG(1,2) == 1)then
  1439. toxt = toxt..fat:sub(i,i):lower()
  1440. else
  1441. toxt = toxt..fat:sub(i,i)
  1442. end
  1443. end
  1444. local rot = M.RNG(-15,15)
  1445. local txt = NewInstance('TextLabel',frame,{Rotation=rot,TextTransparency=1,Text=toxt,TextColor3=C3.N(M.RNG(50,100)/100,0,0),FontSize=M.RNG(8,14),Font=Enum.Font.Antique})
  1446. coroutine.wrap(function()
  1447. for i = 1, 30 do
  1448. swait()
  1449. txt.Rotation = rot+M.RNG(-15,15)
  1450. txt.TextTransparency = txt.TextTransparency - 1/30
  1451. end
  1452. for i = 1, 30 do
  1453. swait()
  1454. txt.Rotation = rot+M.RNG(-15,15)
  1455. txt.TextTransparency = txt.TextTransparency + 1/30
  1456. end
  1457. txt:destroy()
  1458. end)()
  1459. end
  1460. swait()
  1461. end
  1462. end)()
  1463.  
  1464. local FT,RA,LA,RL,LL = Instance.new("BlockMesh"),Instance.new("BlockMesh"),Instance.new("BlockMesh"),Instance.new("BlockMesh"),Instance.new("BlockMesh")
  1465.  
  1466. local Meshes = {FT,RA,LA,RL,LL}
  1467.  
  1468. for _,v in next, Char:GetDescendants() do
  1469. if(v:IsA'DataModelMesh')then
  1470. table.insert(Meshes,v)
  1471. end
  1472. end
  1473.  
  1474. while true do
  1475. swait()
  1476.  
  1477. if(Target and (not Target.Parent or not Target:FindFirstChildOfClass'Humanoid' or Target:FindFirstChildOfClass'Humanoid'.Health <= 0))then
  1478. Target = nil
  1479. ResetVoodoo()
  1480. end
  1481. txt.Rotation = M.RNG(-150,150)/150
  1482. txt.Text = 'Target: '..(Target and Target.Name or '')
  1483.  
  1484. ktxt.Rotation = M.RNG(-150,150)/150
  1485. ktxt.Text = 'Kills: '..Kills
  1486.  
  1487. Hum.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
  1488.  
  1489. VHum.PlatformStand = true
  1490. VHum:ChangeState(Enum.HumanoidStateType.Physics)
  1491. VHum:SetStateEnabled(Enum.HumanoidStateType.Dead,false)
  1492.  
  1493. Sine = Sine + Change
  1494. if(not Music or not Music.Parent)then
  1495. local tp = (Music and Music.TimePosition)
  1496. Music = Sound(Char,MusicID,1,10,true,false,true)
  1497. Music.Name = 'Music'
  1498. Music.TimePosition = tp
  1499. end
  1500. Music.SoundId = "rbxassetid://"..MusicID
  1501. Music.Parent = Torso
  1502. Music.Pitch = (Glitching and M.RNG(55,175)/100 or 1)
  1503. Music.Volume = 3
  1504. if(not Muted)then
  1505. Music:Resume()
  1506. else
  1507. Music:Pause()
  1508. end
  1509.  
  1510. if(God)then
  1511. Hum.MaxHealth = 1e100
  1512. Hum.Health = 1e100
  1513. if(not Char:FindFirstChildOfClass'ForceField')then IN("ForceField",Char).Visible = false end
  1514. Hum.Name = M.RNG()*100
  1515. end
  1516.  
  1517. local hitfloor,posfloor = workspace:FindPartOnRay(Ray.new(Root.CFrame.p,((CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector).unit * (4*PlayerSize)), Char)
  1518.  
  1519. local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1)
  1520. local State = (Hum.PlatformStand and 'Paralyzed' or Hum.Sit and 'Sit' or not hitfloor and Root.Velocity.y < -1 and "Fall" or not hitfloor and Root.Velocity.y > 1 and "Jump" or hitfloor and Walking and (Hum.WalkSpeed < 24 and "Walk" or "Run") or hitfloor and "Idle")
  1521. if(not Effects or not Effects.Parent)then
  1522. Effects = IN("Model",Char)
  1523. Effects.Name = "Effects"
  1524. end
  1525. if(State == 'Run')then
  1526. local wsVal = 16 / (Hum.WalkSpeed/16)
  1527. local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
  1528. Change = 1
  1529. RH.C1 = RH.C1:lerp(CF.N(0,1-.5*M.C(Sine/wsVal)/2,.5*M.C(Sine/wsVal)/2)*CF.A(M.R(25-15*M.C(Sine/wsVal))+-M.S(Sine/wsVal)/2,0,0),Alpha)
  1530. LH.C1 = LH.C1:lerp(CF.N(0,1+.5*M.C(Sine/wsVal)/2,-.5*M.C(Sine/wsVal)/2)*CF.A(M.R(25+15*M.C(Sine/wsVal))+M.S(Sine/wsVal)/2,0,0),Alpha)
  1531. elseif(State == 'Walk')then
  1532. local wsVal = 7 / (Hum.WalkSpeed/16)
  1533. local Alpha = math.min(.15 * (Hum.WalkSpeed/16),1)
  1534. Change = 1
  1535. RH.C1 = RH.C1:lerp(CF.N(0,1-.5*M.C(Sine/wsVal)/2,.5*M.C(Sine/wsVal)/2)*CF.A(M.R(15-5*M.C(Sine/wsVal))+-M.S(Sine/wsVal)/2,0,0),Alpha)
  1536. LH.C1 = LH.C1:lerp(CF.N(0,1+.5*M.C(Sine/wsVal)/2,-.5*M.C(Sine/wsVal)/2)*CF.A(M.R(15+5*M.C(Sine/wsVal))+M.S(Sine/wsVal)/2,0,0),Alpha)
  1537. else
  1538. RH.C1 = RH.C1:lerp(CF.N(0,1,0),.2)
  1539. LH.C1 = LH.C1:lerp(CF.N(0,1,0),.2)
  1540. end
  1541. Hum.WalkSpeed = WalkSpeed
  1542. if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end
  1543. if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end
  1544.  
  1545. if(Glitching)then
  1546. Hum.CameraOffset = V3.N(M.RNG(-25,25)/100,M.RNG(-25,25)/100,M.RNG(-25,25)/100)
  1547. elseif(not Hum:FindFirstChild'CamShaking')then
  1548. Hum.CameraOffset = V3.N(0,0,0)
  1549. end
  1550.  
  1551. if(Glitching)then
  1552. RA.Parent = RArm
  1553. LA.Parent = LArm
  1554. FT.Parent = Torso
  1555. RL.Parent = RLeg
  1556. LL.Parent = LLeg
  1557. for _,v in next, Meshes do
  1558. v.Offset = V3.N(M.RNG(-25,25)/100,M.RNG(-25,25)/100,M.RNG(-25,25)/100)
  1559. end
  1560.  
  1561. RLeg.Material = Enum.Material.Neon
  1562. LLeg.Material = Enum.Material.Neon
  1563. RArm.Material = Enum.Material.Neon
  1564. LArm.Material = Enum.Material.Neon
  1565. Torso.Material = Enum.Material.Neon
  1566. Head.Material = Enum.Material.Neon
  1567. else
  1568. for _,v in next, Meshes do
  1569. v.Offset = V3.N(0,0,0)
  1570. end
  1571. RA.Parent = nil
  1572. LA.Parent = nil
  1573. FT.Parent = nil
  1574. RL.Parent = nil
  1575. LL.Parent = nil
  1576. RLeg.Material = Enum.Material.SmoothPlastic
  1577. LLeg.Material = Enum.Material.SmoothPlastic
  1578. RArm.Material = Enum.Material.SmoothPlastic
  1579. LArm.Material = Enum.Material.SmoothPlastic
  1580. Torso.Material = Enum.Material.SmoothPlastic
  1581. Head.Material = Enum.Material.SmoothPlastic
  1582. end
  1583.  
  1584. if(NeutralAnims)then
  1585. if(State == 'Idle')then
  1586. local Alpha = .1
  1587. Change = 1
  1588. NK.C0 = NK.C0:lerp(NKC0*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),.3)
  1589. if(M.RNG(1,45) == 45)then
  1590. NK.C0 = NK.C0:lerp(NKC0*CF.N(0,0,0)*CF.A(M.RRNG(15,65),M.RRNG(-35,35),0),1)
  1591. end
  1592. if(not Glitching)then
  1593. RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0,-.1+.05*M.C(Sine/24),0)*CF.A(M.R(-15),0,0),Alpha)
  1594. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(15),0,M.R(-5-5*M.C(Sine/24))),Alpha)
  1595. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(105-5*M.C(Sine/24)),M.R(25),M.R(5+5*M.C(Sine/16))),Alpha)
  1596. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0-.05*M.C(Sine/24),0)*CF.A(M.R(15),0,M.R(-5)),Alpha)
  1597. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0-.05*M.C(Sine/24),0)*CF.A(M.R(15),0,M.R(5)),Alpha)
  1598. else
  1599. RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0,-.2+.1*M.C(Sine/24),0)*CF.A(M.R(-45),0,0),1)
  1600. LS.C0 = LS.C0:lerp(LSC0*CF.N(0,.1*M.C(Sine/24),0)*CF.A(M.R(180),0,M.R(25)+M.RRNG(-3,3)),1)
  1601. RS.C0 = RS.C0:lerp(RSC0*CF.N(0,.1*M.C(Sine/24),0)*CF.A(M.R(180),0,M.R(-25)+M.RRNG(-3,3)),1)
  1602. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,-.1*M.C(Sine/24),0)*CF.A(M.R(45),0,M.R(-5)),1)
  1603. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,-.1*M.C(Sine/24),0)*CF.A(M.R(45),0,M.R(5)),1)
  1604. NK.C0 = NK.C0:lerp(NKC0*CF.N(0,0,-.2)*CF.A(M.R(-25),0,0)*CF.A(M.RRNG(-5,5),M.RRNG(-3,3),0),.1)
  1605. end
  1606.  
  1607. elseif(State == 'Run')then
  1608. local wsVal = 7 / (Hum.WalkSpeed/16)
  1609. local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
  1610. RJ.C0 = RJ.C0:lerp(CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(-15+2.5*M.C(Sine/(wsVal/2))),M.R(8*M.C(Sine/wsVal)),0),Alpha)
  1611. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1612. LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,0-.3*M.S(Sine/wsVal))*CF.A(M.R(0+45*M.S(Sine/wsVal)),0,M.R(-5)),Alpha)
  1613. RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,0+.3*M.S(Sine/wsVal))*CF.A(M.R(0-45*M.S(Sine/wsVal)),0,M.R(5)),Alpha)
  1614. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
  1615. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
  1616. elseif(State == 'Walk')then
  1617. local wsVal = 7 / (Hum.WalkSpeed/16)
  1618. local Alpha = math.min(.15 * (Hum.WalkSpeed/16),1)
  1619. NK.C0 = NK.C0:lerp(NKC0*CF.A(0,-Head.RotVelocity.y/75,0)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),.3)
  1620. if(M.RNG(1,45) == 45)then
  1621. NK.C0 = NK.C0:lerp(NKC0*CF.N(0,0,0)*CF.A(M.RRNG(15,65),M.RRNG(-35,35),0),1)
  1622. end
  1623. if(not Glitching)then
  1624. RJ.C0 = RJ.C0:lerp(CF.N(0,-.075+.1*M.C(Sine/(wsVal/2)+-M.S(Sine/(wsVal/2))/7),0)*CF.A(M.R(-15-2.5*M.C(Sine/(wsVal/2))),M.R(4*M.C(Sine/wsVal)),Root.RotVelocity.y/75),Alpha)
  1625. LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,-.27*M.C(Sine/wsVal))*CF.A(M.R(28*M.C(Sine/wsVal)),0,M.R(-5-7*M.S(Sine/wsVal))+LArm.RotVelocity.y/35),Alpha)
  1626. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(105-5*M.C(Sine/24)),M.R(25),M.R(5+5*M.C(Sine/16))),Alpha)
  1627. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(15+2.5*M.C(Sine/(wsVal/2))),M.R(-4*M.C(Sine/wsVal)),0),Alpha)
  1628. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(15+2.5*M.C(Sine/(wsVal/2))),M.R(-4*M.C(Sine/wsVal)),0),Alpha)
  1629. else
  1630. RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0,-.2+.1*M.C(Sine/24),0)*CF.A(M.R(-45),0,0),1)
  1631. LS.C0 = LS.C0:lerp(LSC0*CF.N(0,.1*M.C(Sine/24),0)*CF.A(M.R(180),0,M.R(25)+M.RRNG(-3,3)),1)
  1632. RS.C0 = RS.C0:lerp(RSC0*CF.N(0,.1*M.C(Sine/24),0)*CF.A(M.R(180),0,M.R(-25)+M.RRNG(-3,3)),1)
  1633. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,-.1*M.C(Sine/24),0)*CF.A(M.R(45),0,M.R(-5)),1)
  1634. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,-.1*M.C(Sine/24),0)*CF.A(M.R(45),0,M.R(5)),1)
  1635. NK.C0 = NK.C0:lerp(NKC0*CF.N(0,0,-.2)*CF.A(M.R(-25),0,0)*CF.A(M.RRNG(-5,5),M.RRNG(-3,3),0),.1)
  1636. end
  1637.  
  1638. elseif(State == 'Jump')then
  1639. local Alpha = .1
  1640. local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90))
  1641. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)),Alpha)
  1642. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)),Alpha)
  1643. RJ.C0 = RJ.C0:lerp(RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  1644. NK.C0 = NK.C0:lerp(NKC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  1645. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  1646. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  1647. elseif(State == 'Fall')then
  1648. local Alpha = .1
  1649. local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90))
  1650. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)+idk),Alpha)
  1651. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)-idk),Alpha)
  1652. RJ.C0 = RJ.C0:lerp(RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  1653. NK.C0 = NK.C0:lerp(NKC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  1654. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  1655. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  1656. elseif(State == 'Paralyzed')then
  1657. elseif(State == 'Sit')then
  1658. end
  1659. end
  1660.  
  1661. for i,v in next, BloodPuddles do
  1662. local mesh = i:FindFirstChild'CylinderMesh'
  1663. BloodPuddles[i] = v + 1
  1664. if(not mesh or i.Transparency >= 1)then
  1665. i:destroy()
  1666. BloodPuddles[i] = nil
  1667. elseif(v >= Frame_Speed*4)then
  1668. local trans = (v-Frame_Speed*4)/(Frame_Speed*2)
  1669. i.Transparency = trans
  1670. if(mesh.Scale.Z > 0)then
  1671. mesh.Scale = mesh.Scale-V3.N(.05,0,.05)
  1672. end
  1673. else
  1674. i.Transparency = 0
  1675. end
  1676. end
  1677. end
Add Comment
Please, Sign In to add comment