Advertisement
Vintage-Furry

The Possessed God

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