Advertisement
Guest User

Untitled

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