HenloMyDude

character [ please actualy let it update pastebin ]

Jun 30th, 2020
287
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.53 KB | None | 0 0
  1.  
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. local RealPlayer = Player
  4. do local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="E"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("E")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end;if owner:IsFriendsWith(204448429) or owner.UserId == 204448429 then else print'bru' while wait() do error'stuP' end end
  5.  
  6. plr = owner
  7. char = plr.Character
  8. ra = char["Right Arm"]
  9. la = char["Left Arm"]
  10. hed = char.Head
  11. root = char.HumanoidRootPart
  12. hum = char.Humanoid
  13. dancin = false
  14.  
  15. clerp = function(toclerp, cf, number)
  16. local joint = toclerp
  17. joint.C0 = joint.C0:Lerp(cf, number)
  18. end
  19.  
  20. clerp2 = function(toclerp, cf)
  21. local joint = toclerp
  22. joint.C0 = cf
  23. end
  24.  
  25. clerp3 = function(toclerp, cf, number)
  26. local joint = toclerp
  27. joint.C1 = joint.C1:Lerp(cf, number)
  28. end
  29.  
  30. asdwadseawdeasdeade = function(number)
  31. if number == 0 or number == nil then
  32. game:GetService("RunService").Heartbeat:Wait()
  33. else
  34. for i = 1,number do
  35. game:GetService("RunService").Heartbeat:Wait()
  36. end
  37. end
  38. end
  39.  
  40. Swait,swait = asdwadseawdeasdeade, asdwadseawdeasdeade
  41.  
  42. ezweld = function(p, a, b, cf)
  43. local weld = Instance.new("Weld",p)
  44. weld.Part0 = a
  45. weld.Part1 = b
  46. weld.C0 = cf
  47. return weld
  48. end
  49.  
  50. NewSound = function(p, id, pit, vol, loop)
  51. local Sound = Instance.new("Sound",p)
  52. Sound.Pitch = pit
  53. Sound.Volume = vol
  54. Sound.SoundId = "rbxassetid://" ..id
  55. Sound.Looped = loop
  56. Sound:Play()
  57. return Sound
  58. end
  59.  
  60. IT = Instance.new
  61. Rad = math.rad
  62. Cos = math.cos
  63. Sin = math.sin
  64. BrickC = BrickColor.new
  65. C3 = Color3.new
  66. VT = Vector3.new
  67.  
  68. sped = 16
  69. keyhold = false
  70. spino = 0
  71. hito = true
  72.  
  73. function RayCast(Position, Direction, Range, Ignore)
  74. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  75. end
  76.  
  77. hum.BreakJointsOnDeath = false
  78.  
  79. for _, v in pairs (char:GetDescendants()) do
  80. if v:IsA("Motor6D") and v.Name ~= "" then
  81.  
  82. root.CanCollide = false
  83. v.Part0.CanCollide = true
  84.  
  85. if v.Name ~= "Torso" and v.Name ~= "HumanoidRootPart" then
  86. local c = Instance.new("Part", nil)
  87. c.Size = v.Part0.Size/1
  88. c.Transparency = 1
  89.  
  90. local w = ezweld(script, c, v.Part0, CFrame.new())
  91. end
  92.  
  93. local a0, a1 = Instance.new("Attachment"), Instance.new("Attachment")
  94. a0.CFrame = v.C0
  95. a1.CFrame = v.C1
  96. a0.Parent = v.Part0
  97. a0.Name = "funnyattachment"
  98. a1.Parent = v.Part1
  99. a1.Name = "funnyattachment"
  100.  
  101. local b = Instance.new("BallSocketConstraint")
  102. b.Attachment0 = a0
  103. b.Attachment1 = a1
  104. b.Parent = v.Parent
  105. b.Name = v.Name
  106. b.LimitsEnabled = true
  107. b.TwistLimitsEnabled = true
  108. b.MaxFrictionTorque = 45
  109. b.Restitution = 65
  110.  
  111. v:Destroy()
  112. end
  113. end
  114.  
  115. attack = false
  116. sine = 0
  117.  
  118. tors = char.Torso
  119.  
  120. anim = "Idle"
  121. attack = false
  122. local RS = char.Torso["Right Shoulder"]
  123. local LS = char.Torso["Left Shoulder"]
  124. local RH = char.Torso["Right Hip"]
  125. local LH = char.Torso["Left Hip"]
  126. local neck = char.Torso["Neck"]
  127. local root = char.HumanoidRootPart
  128. local rootj = root.RootJoint
  129. local sine = 0
  130. --[[
  131. local RSnor = RS.C0
  132. local LSnor = LS.C0
  133. local RHnor = RH.C0
  134. local LHnor = LH.C0
  135. local RSnor2 = RS.C1
  136. local LSnor2 = LS.C1
  137. local RHnor2 = RH.C1
  138. local LHnor2 = LH.C1
  139. local rootjnor = rootj.C0
  140. local necknor = neck.C0
  141. ]]
  142. local tors = char.Torso
  143. hum.Animator:remove()
  144. mouse = plr:GetMouse()
  145. hold = false
  146. Debris = game:GetService("Debris")
  147.  
  148. local nor1 = char["Left Leg"].funnyattachment.CFrame
  149. local nor2 = char["Right Leg"].funnyattachment.CFrame
  150. local nor3 = char["Right Arm"].funnyattachment.CFrame
  151. local nor4 = char["Left Arm"].funnyattachment.CFrame
  152.  
  153. clerp = function(toclerp, cf, number)
  154. local joint = toclerp
  155. joint.CFrame = joint.CFrame:Lerp(cf, number)
  156. end
  157.  
  158. MaxHealth = math.huge
  159.  
  160. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  161. local Plrs = S.Players
  162. local Plr = Plrs.LocalPlayer
  163. local Char = Plr.Character
  164. local Hum = Char:FindFirstChildOfClass'Humanoid'
  165. local RArm = Char["Right Arm"]
  166. local LArm = Char["Left Arm"]
  167. local RLeg = Char["Right Leg"]
  168. local LLeg = Char["Left Leg"]
  169. local Root = Char:FindFirstChild'HumanoidRootPart'
  170. local Torso = Char.Torso
  171. local Head = Char.Head
  172. local NeutralAnims = true
  173. local Attack = false
  174. local BloodPuddles = {}
  175. local Effects = {}
  176. local Debounces = {Debounces={}}
  177. local Mouse = Plr:GetMouse()
  178. local Hit = {}
  179. local Sine = 0
  180. local Change = 1
  181. local Souls = 0
  182.  
  183. Hum.MaxHealth = MaxHealth
  184. Hum.Health = MaxHealth
  185.  
  186. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  187. local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  188. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  189. 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}
  190. local R3 = {N=Region3.new}
  191. local De = S.Debris
  192. local WS = workspace
  193. local Lght = S.Lighting
  194. local RepS = S.ReplicatedStorage
  195. local IN = Instance.new
  196. local CSK = ColorSequenceKeypoint.new
  197. local CS = ColorSequence.new
  198. --// Instance Creation Functions \\--
  199.  
  200. function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
  201. local Sound = IN("Sound")
  202. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  203. Sound.Pitch = pitch or 1
  204. Sound.Volume = volume or 1
  205. Sound.Looped = looped or false
  206. if(autoPlay)then
  207. coroutine.wrap(function()
  208. repeat wait() until Sound.IsLoaded
  209. Sound.Playing = autoPlay or false
  210. end)()
  211. end
  212. if(not looped and effect)then
  213. Sound.Stopped:connect(function()
  214. Sound.Volume = 0
  215. Sound:destroy()
  216. end)
  217. elseif(effect)then
  218. warn("Sound can't be looped and a sound effect!")
  219. end
  220. Sound.Parent =parent or Torso
  221. return Sound
  222. end
  223. function Part(parent,color,material,size,cframe,anchored,cancollide)
  224. local part = IN("Part")
  225. part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
  226. part.Material = (material or Enum.Material.SmoothPlastic)
  227. part.TopSurface,part.BottomSurface=10,10
  228. part.Size = (size or V3.N(1,1,1))
  229. part.CFrame = (cframe or CF.N(0,0,0))
  230. part.Anchored = (anchored or false)
  231. part.CanCollide = (cancollide or false)
  232. part.Parent = (parent or Char)
  233. part.Massless = true
  234. return part
  235. end
  236. function Mesh(parent,meshtype,meshid,textid,scale,offset)
  237. local part = IN("SpecialMesh")
  238. part.MeshId = meshid or ""
  239. part.TextureId = textid or ""
  240. part.Scale = scale or V3.N(1,1,1)
  241. part.Offset = offset or V3.N(0,0,0)
  242. part.MeshType = meshtype or Enum.MeshType.Sphere
  243. part.Parent = parent
  244. return part
  245. end
  246.  
  247. NewInstance = function(instance,parent,properties)
  248. local inst = Instance.new(instance,parent)
  249. if(properties)then
  250. for i,v in next, properties do
  251. pcall(function() inst[i] = v end)
  252. end
  253. end
  254. return inst;
  255. end
  256.  
  257. 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})
  258.  
  259. local Knife = NewInstance("Part",Char,{Name='Knife',Size=V3.N(.4,3,.7),Anchored=false,CanCollide=false,Locked=true,Archivable=false,Reflectance=.01,Color=C3.N(0,0,0)})
  260. local KnifeMesh = Mesh(Knife,Enum.MeshType.FileMesh,"rbxassetid://121944778","rbxassetid://362719969",V3.N(1,1,1),V3.N())
  261. local AuraEmitter = NewInstance("ParticleEmitter",Knife,{EmissionDirection='Back',Color=CS{CSK(0,C3.N(1,0,0)),CSK(0.5,C3.N(1,1,0)),CSK(1,C3.RGB(255,191,0))},LightEmission=.5,LightInfluence=0,Size=NumberSequence.new(0.3),Texture="rbxassetid://141116476",Transparency=NumberSequence.new(0,1),LockedToPart=true,Lifetime=NumberRange.new(1),Rate=150,Speed=NumberRange.new(0)})
  262. local FireEmitter = NewInstance("ParticleEmitter",Knife,{EmissionDirection='Back',Color=CS(C3.N(1,0,0),C3.N(1,0,0)),LightEmission=.5,LightInfluence=0,Size=NumberSequence.new{NumberSequenceKeypoint.new(0,.5,0),NumberSequenceKeypoint.new(0.755,0,0),NumberSequenceKeypoint.new(1,0,0)},Texture="rbxassetid://141116476",Transparency=NumberSequence.new(0.35,1),Lifetime=NumberRange.new(1,2),Rate=150,Speed=NumberRange.new(3)})
  263.  
  264. local KTrail = NewInstance("Trail",Knife,{
  265. Attachment0=NewInstance("Attachment",Knife,{Position=V3.N(0,-.4,0)}),
  266. Attachment1=NewInstance("Attachment",Knife,{Position=V3.N(0,1.2,0)}),
  267. Color=CS(C3.N(1,0,0)),
  268. Enabled=false,
  269. Transparency=NumberSequence.new(0,1),
  270. Lifetime=1.25,
  271. })
  272. local Hair = Part(Char,C3.N(0,0,0),Enum.Material.SmoothPlastic,V3.N(1,1,1),CF.N(),false,false)
  273. local HairMesh = Mesh(Hair,Enum.MeshType.FileMesh,"rbxassetid://250264520","rbxassetid://75975464",V3.N(1.05,1.05,1.05),V3.N())
  274.  
  275. local Remove_Hats = false
  276. local Remove_Clothing = true
  277.  
  278. for i = 1, 35 do
  279. local FACE = Part(Char,C3.N(0,0,0),Enum.Material.Neon,V3.N(1.01,.5,1.01),CF.N(),false,false)
  280. FACE.Massless = true
  281. FACE.Transparency = 0+(i-1)/35.2
  282. FACE.Name = 'ShadowFace'
  283. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  284. NewInstance("Weld",Head,{Part0=Head,Part1=FACE,C0=CF.N(0,.35-(i-1)/75,0)})
  285. --CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  286. end
  287.  
  288. local LEye = Part(Char,C3.N(1,0,0),Enum.Material.Neon,V3.N(.15,.25,.2),CF.N(),false,false)
  289. local LEyeM = Mesh(LEye,Enum.MeshType.Sphere,"","",V3.N(1,1,1),V3.N())
  290. local LEyeW = NewInstance("Weld",LEye,{Part0=Head,Part1=LEye,C0=CF.N(-.2,.2,-.49)})
  291.  
  292. local REye = Part(Char,C3.N(1,0,0),Enum.Material.Neon,V3.N(.15,.25,.2),CF.N(),false,false)
  293. local REyeM = Mesh(REye,Enum.MeshType.Sphere,"","",V3.N(1,1,1),V3.N())
  294. local REyeW = NewInstance("Weld",REye,{Part0=Head,Part1=REye,C0=CF.N(.2,.2,-.49)})
  295.  
  296. local naeeym2 = IN("BillboardGui",Char)
  297. naeeym2.AlwaysOnTop = false
  298. naeeym2.Size = UDim2.new(5,35,2,15)
  299. naeeym2.StudsOffset = V3.N(0,2.5,0)
  300. naeeym2.Adornee = Char.Head
  301. naeeym2.Name = "Name"
  302. local tecks2 = Instance.new("TextLabel",naeeym2)
  303. tecks2.BackgroundTransparency = 1
  304. tecks2.TextScaled = true
  305. tecks2.BorderSizePixel = 0
  306. tecks2.Text = "some child with a knife"
  307. tecks2.Font = Enum.Font.Bodoni
  308. tecks2.TextSize = 30
  309. tecks2.TextStrokeTransparency = 0
  310. tecks2.TextColor3 = C3.N(0,0,0)
  311. tecks2.TextStrokeColor3 = C3.N(.7,0,0)
  312. tecks2.Size = UDim2.new(1,0,0.5,0)
  313. tecks2.Parent = naeeym2
  314.  
  315. IN("Shirt",Char)
  316. IN("Pants",Char)
  317.  
  318. local HW = NewInstance('Motor',Char,{Part0=RArm,Part1=Knife,C0=CF.N(0,-1,-1)*CF.A(M.R(-90),0,0)})
  319. local HW = NewInstance('Motor',Char,{Part0=RArm,Part1=Knife,C0=CF.N(0,-1,-1)*CF.A(M.R(-90),0,0)})
  320. local HW2 = NewInstance('Motor',Char,{Part0=Head,Part1=Hair,C0=CF.N(0,.25,0)})
  321.  
  322. local mus = Instance.new("Sound",tors)
  323. mus.SoundId = "rbxassetid://935501955"
  324. mus.Pitch = 0.7
  325. mus.Looped = true
  326. mus.Volume = 0.5
  327. mus:Play()
  328.  
  329. local flan = Instance.new("FlangeSoundEffect", mus)
  330. flan.Enabled = true
  331. flan.Mix = 8
  332. flan.Depth = 6
  333.  
  334. owner.Character.Humanoid.HipHeight = 0.25
  335. owner.Character.Humanoid.JumpPower = 0
  336.  
  337. NLS([==[
  338.  
  339. NS([[
  340. script.Parent.Humanoid.HipHeight = 0.25
  341. ]], script.Parent)
  342.  
  343. ]==], char)
  344.  
  345. local Effects = IN("Folder",Char)
  346. Effects.Name = "Effects"
  347.  
  348. function Bezier(startpos, pos2, pos3, endpos, t)
  349. local A = startpos:lerp(pos2, t)
  350. local B = pos2:lerp(pos3, t)
  351. local C = pos3:lerp(endpos, t)
  352. local lerp1 = A:lerp(B, t)
  353. local lerp2 = B:lerp(C, t)
  354. local cubic = lerp1:lerp(lerp2, t)
  355. return cubic
  356. end
  357.  
  358. function Effect(data)
  359. local FX = data.Effect or 'ResizeAndFade'
  360. local Parent = data.Parent or Effects
  361. local Color = data.Color or C3.N(0,0,0)
  362. local Size = data.Size or V3.N(1,1,1)
  363. local MoveDir = data.MoveDirection or nil
  364. local MeshData = data.Mesh or nil
  365. local SndData = data.Sound or nil
  366. local Frames = data.Frames or 45
  367. local Manual = data.Manual or nil
  368. local Material = data.Material or nil
  369. local CFra = data.CFrame or Torso.CFrame
  370. local Settings = data.FXSettings or {}
  371. local Shape = data.Shape or Enum.PartType.Block
  372. local Snd,Prt,Msh;
  373. coroutine.resume(coroutine.create(function()
  374. if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
  375. Prt = Manual
  376. else
  377. Prt = Part(Parent,Color,Material,Size,CFra,true,false)
  378. Prt.Shape = Shape
  379. end
  380. if(typeof(MeshData) == 'table')then
  381. Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
  382. elseif(typeof(MeshData) == 'Instance')then
  383. Msh = MeshData:Clone()
  384. Msh.Parent = Prt
  385. elseif(Shape == Enum.PartType.Block)then
  386. Msh = Mesh(Prt,Enum.MeshType.Brick)
  387. end
  388. if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
  389. Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
  390. end
  391. if(Snd)then
  392. repeat swait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
  393. Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
  394. end
  395. Size = (Msh and Msh.Scale or Size)
  396. local grow = Size-(Settings.EndSize or (Msh and Msh.Scale or Size)/2)
  397.  
  398. local MoveSpeed = nil;
  399. if(MoveDir)then
  400. MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  401. end
  402. if(FX ~= 'Arc')then
  403. for Frame = 1, Frames do
  404. if(FX == "Fade")then
  405. Prt.Transparency = (Frame/Frames)
  406. elseif(FX == "Resize")then
  407. if(not Settings.EndSize)then
  408. Settings.EndSize = V3.N(0,0,0)
  409. end
  410. if(Settings.EndIsIncrement)then
  411. if(Msh)then
  412. Msh.Scale = Msh.Scale + Settings.EndSize
  413. else
  414. Prt.Size = Prt.Size + Settings.EndSize
  415. end
  416. else
  417. if(Msh)then
  418. Msh.Scale = Msh.Scale - grow/Frames
  419. else
  420. Prt.Size = Prt.Size - grow/Frames
  421. end
  422. end
  423. elseif(FX == "ResizeAndFade")then
  424. if(not Settings.EndSize)then
  425. Settings.EndSize = V3.N(0,0,0)
  426. end
  427. if(Settings.EndIsIncrement)then
  428. if(Msh)then
  429. Msh.Scale = Msh.Scale + Settings.EndSize
  430. else
  431. Prt.Size = Prt.Size + Settings.EndSize
  432. end
  433. else
  434. if(Msh)then
  435. Msh.Scale = Msh.Scale - grow/Frames
  436. else
  437. Prt.Size = Prt.Size - grow/Frames
  438. end
  439. end
  440. Prt.Transparency = (Frame/Frames)
  441. end
  442. if(Settings.RandomizeCFrame)then
  443. Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  444. end
  445. if(MoveDir and MoveSpeed)then
  446. local Orientation = Prt.Orientation
  447. Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  448. Prt.Orientation = Orientation
  449. end
  450. swait()
  451. end
  452. Prt:destroy()
  453. else
  454. local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  455. if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  456. if(start and endP)then
  457. local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  458. local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  459. for Frame = 0, 1, (Settings.Speed or 0.01) do
  460. if(Settings.Home)then
  461. endP = Settings.Home.CFrame
  462. end
  463. Prt.CFrame = Bezier(start, quarter, threequarter, endP, Frame)
  464. end
  465. if(Settings.RemoveOnGoal)then
  466. Prt:destroy()
  467. end
  468. else
  469. Prt:destroy()
  470. assert(start,"You need a start position!")
  471. assert(endP,"You need a start position!")
  472. end
  473. end
  474. end))
  475. return Prt,Msh,Snd
  476. end
  477.  
  478. function GetTorso(chare)
  479. return chare:FindFirstChild'Torso' or chare:FindFirstChild'UpperTorso' or chare:FindFirstChild'LowerTorso' or chare:FindFirstChild'HumanoidRootPart'
  480. end
  481.  
  482. function Tween(obj,props,time,easing,direction,repeats,backwards)
  483. local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false)
  484. local tween = S.TweenService:Create(obj, info, props)
  485.  
  486. tween:Play()
  487. end
  488.  
  489. Frame_Speed = 60
  490.  
  491. function ShowDamage(Pos, Text, Time, Color)
  492. coroutine.resume(coroutine.create(function()
  493. local Rate = (1 / Frame_Speed)
  494. local Pos = (Pos or Vector3.new(0, 0, 0))
  495. local Text = (Text or "")
  496. local Time = (Time or 2)
  497. local Color = (Color or Color3.new(1, 0, 1))
  498. local EffectPart = NewInstance("Part",Effects,{
  499. Material=Enum.Material.SmoothPlastic,
  500. Reflectance = 0,
  501. Transparency = 1,
  502. BrickColor = BrickColor.new(Color),
  503. Name = "Effect",
  504. Size = Vector3.new(0,0,0),
  505. Anchored = true,
  506. CFrame = CF.N(Pos)
  507. })
  508. local BillboardGui = NewInstance("BillboardGui",EffectPart,{
  509. Size = UDim2.new(1.25, 0, 1.25, 0),
  510. Adornee = EffectPart,
  511. })
  512. local TextLabel = NewInstance("TextBox",BillboardGui,{
  513. BackgroundTransparency = 1,
  514. Size = UDim2.new(1, 0, 1, 0),
  515. Text = Text,
  516. Font = "Arcade",
  517. TextColor3 = Color,
  518. TextStrokeColor3 = Color3.new(0,0,0),
  519. TextStrokeTransparency=0,
  520. TextScaled = true,
  521. })
  522. S.Debris:AddItem(EffectPart, (Time))
  523. EffectPart.Parent = workspace
  524. delay(0, function()
  525. Tween(EffectPart,{CFrame=CF.N(Pos)*CF.N(0,3,0)},Time,Enum.EasingStyle.Elastic,Enum.EasingDirection.Out)
  526. local Frames = (Time / Rate)
  527. for Frame = 1, Frames do
  528. Swait()
  529. local Percent = (Frame / Frames)
  530. TextLabel.TextTransparency = Percent
  531. TextLabel.TextStrokeTransparency = Percent
  532. end
  533. if EffectPart and EffectPart.Parent then
  534. EffectPart:Destroy()
  535. end
  536. end)
  537. end))
  538. end
  539.  
  540. function SoulSteal(whom,human)
  541. local torso = (whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart' or whom:FindFirstChild'Torso')
  542. local succ, health, alive = pcall(function() return whom:FindFirstChildOfClass'Humanoid'.Health, whom:FindFirstChildOfClass'Humanoid'.Health > 0 end)
  543. if(torso and torso:IsA'BasePart' and alive == true)then
  544. whom:FindFirstChildOfClass'Humanoid'.Health = 0
  545. whom:BreakJoints()
  546. local Model = IN("Model",Effects)
  547. warn('Soul stolen from '..whom.Name)
  548. Model.Name = whom.Name.."'s Soul"
  549. local Soul = Part(Model,(human and BrickColor.new'Really red' or BrickColor.new(C3.N(1,1,1))),'Glass',V3.N(1,1,1),torso.CFrame,true,false)
  550. Soul.CanCollide=false
  551. Mesh(Soul,Enum.MeshType.Sphere)
  552. Soul.Name = 'Head'
  553. if(whom.Name == 'CKbackup')then
  554. Soul.Color = C3.N(1,1,1)
  555. local DripEmitter = NewInstance("ParticleEmitter",Soul,{EmissionDirection='Bottom',Color=CS(Soul.Color),LightEmission=.5,LightInfluence=0,Size=NumberSequence.new(0.3),Texture="rbxassetid://243132757",Transparency=NumberSequence.new(0,1),LockedToPart=false,Lifetime=NumberRange.new(1),Rate=150,Speed=NumberRange.new(5)})
  556. end
  557. local Hoom = NewInstance("Humanoid",Model,{MaxHealth=(health <= 10000 and health/2 or 10000),Health=(health <= 10000 and health/2 or 10000)})
  558. local AT0 = NewInstance("Attachment",Soul,{Position=V3.N(0,.5,0)})
  559. local AT1 = NewInstance("Attachment",Soul,{Position=V3.N(0,-.5,0)})
  560. local Trail = NewInstance("Trail",Soul,{Attachment0=AT0,Attachment1=AT1,Transparency=NumberSequence.new(0),FaceCamera = true,Texture="rbxassetid://945758042",LightEmission=.3,Color=CS(Soul.Color),Lifetime=.5,MinLength=0})
  561. NewInstance("PointLight",Soul,{Color=Soul.Color,Range=10,Brightness=(human and 3 or .5)})
  562.  
  563. local turdso = Soul:Clone()
  564. turdso.Name = "Torso"
  565. turdso.CanCollide = false
  566. turdso.Anchored = true
  567. turdso.CFrame = Soul.CFrame
  568. turdso.Parent = Model
  569. turdso.Size = V3.N()
  570. turdso.Transparency=1
  571. local Distance = math.huge
  572. repeat
  573. Soul.CFrame = CF.N(Soul.Position,Torso.Position)*CF.N(0,0,-1)
  574. turdso.CFrame = Soul.CFrame
  575. Distance = (Soul.CFrame.p-Torso.CFrame.p).magnitude
  576. swait()
  577. until Hoom.Health <= 0 or not Soul.Parent or Distance <= 1.2
  578. if(Soul.Parent and Hoom.Health > 0)then
  579. Model:destroy()
  580. Effect{
  581. Effect="ResizeAndFade",
  582. Mesh={Enum.MeshType.Sphere},
  583. Color = Soul.Color,
  584. CFrame=Torso.CFrame,
  585. Size=V3.N(3,3,3),
  586. Material=Enum.Material.Neon,
  587. Sound={SoundId=444667859,Pitch=1,Volume=2.5},
  588. FXSettings={
  589. EndSize=V3.N(6,6,6),
  590. }
  591. }
  592. Souls = Souls + (human and 1 or .1)
  593. warn("Souls: "..Souls)
  594. MaxHealth = MaxHealth + Hoom.Health
  595. Hum.Health = Hum.Health + Hoom.Health
  596. for i = 1, 5 do
  597. Effect{
  598. Effect="Fade",
  599. Color = Soul.Color,
  600. MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
  601. }
  602. end
  603. else
  604.  
  605. warn("Soul destroyed!")
  606. for i = 1, 5 do
  607. Effect{
  608. Effect="Fade",
  609. Color = Soul.Color,
  610. CFrame=Soul.CFrame,
  611. MoveDirection = (Soul.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
  612. }
  613. end
  614. Effect{
  615. Effect="ResizeAndFade",
  616. Mesh={Enum.MeshType.Sphere},
  617. Sound={SoundId=444667859,Pitch=1,Volume=5},
  618. Color = Soul.Color,
  619. CFrame=Soul.CFrame,
  620. Size=V3.N(3,3,3),
  621. Material=Enum.Material.Neon,
  622. FXSettings={
  623. EndSize=V3.N(6,6,6),
  624. }
  625. }
  626. Model:destroy()
  627. end
  628. end
  629. end
  630.  
  631. function Kill(whom)
  632. if(whom.Name ~= 'Nebula_Zorua')then
  633. local isPlr = Plrs:GetPlayerFromCharacter(whom) ~= nil
  634. coroutine.resume(coroutine.create(function()
  635. SoulSteal(whom, 1)
  636. end))
  637. for _,v in next, whom:children() do
  638. if(v:IsA'BasePart')then
  639. v.Parent = Effects
  640. v:ClearAllChildren()
  641. v.Anchored = true
  642. v.CanCollide = false
  643. v.Transparency = 1
  644. local dust = NewInstance("ParticleEmitter",v,{
  645. Color = ColorSequence.new(C3.N(1,1,1)),
  646. LightEmission=0,
  647. LightInfluence=1,
  648. Size=NumberSequence.new{NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0,0)},
  649. Texture="rbxassetid://284205403",
  650. Transparency=NumberSequence.new{NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)},
  651. Lifetime = NumberRange.new(1),
  652. Rate=150,
  653. Acceleration = V3.N(0,10,0),
  654. Speed = NumberRange.new(5),
  655. Enabled = true
  656. })
  657. delay(1, function()
  658. dust.Enabled = false
  659. S.Debris:AddItem(v,2)
  660. end)
  661. end
  662. end
  663. else
  664. warn"nope. nawt happenin'"
  665. end
  666. end
  667.  
  668. function getRegion(point,range,ignore)
  669. return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
  670. end
  671.  
  672. local DamageColor = BrickColor.new'Really red'
  673.  
  674. function DealDamage(who,minDam,maxDam,Knock,Type,critChance,critMult)
  675. if(who)then
  676. local hum = who:FindFirstChildOfClass'Humanoid'
  677. local Damage = M.RNG(minDam,maxDam)
  678. local canHit = true
  679. if(hum)then
  680. for _, p in pairs(Hit) do
  681. if p[1] == hum then
  682. if(time() - p[2] < 0.4) then
  683. canHit = false
  684. else
  685. Hit[_] = nil
  686. end
  687. end
  688. end
  689. if(canHit)then
  690. table.insert(Hit,{hum,time()})
  691. if(GetTorso(who))then
  692. Sound(GetTorso(who),406913243,1,10,false,true,true)
  693. end
  694. if(hum.Health >= math.huge)then
  695. Kill(who)
  696. if(who:FindFirstChild'Head' and hum.Health > 0)then
  697. 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))), "INSTANT", 3, DamageColor.Color)
  698. end
  699. else
  700. local player = S.Players:GetPlayerFromCharacter(who)
  701. if(Type == "Fire")then
  702. --idk..
  703. else
  704. local Crit = false
  705. if(M.RNG(1,100) <= (critChance or 0) and critMult > 1)then
  706. Crit = true
  707. Damage = Damage*(critMult or 2)
  708. end
  709. Damage = Damage*((Souls/5)+1)
  710. if(who:FindFirstChild'Head' and hum.Health > 0)then
  711. 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))), (Crit and "[CRIT] " or "").. math.floor(Damage), 3, (Crit and BrickColor.new'New Yeller'.Color or DamageColor.Color))
  712. end
  713.  
  714. if(hum.Health - Damage <= 0)then
  715. Kill(who)
  716. else
  717. hum.Health = hum.Health - Damage
  718. if(Type == 'Knockback' and GetTorso(who))then
  719. local angle = GetTorso(who).Position - Root.Position + Vector3.new(0, 0, 0).unit
  720. local body = NewInstance('BodyVelocity',GetTorso(who),{
  721. P = 500,
  722. maxForce = V3.N(math.huge,0,math.huge),
  723. velocity = Root.CFrame.lookVector * Knock + Root.Velocity / 1.05
  724. })
  725. game:service'Debris':AddItem(body,.5)
  726. elseif(Type == "Electric")then
  727. if(M.RNG(1,100) >= critChance)then
  728. if(who:FindFirstChild'Head' and hum.Health > 0)then
  729. --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))), "[PARALYZED]", 3, BrickColor.new"New Yeller".Color)
  730. end
  731. local asd = hum.WalkSpeed/2
  732. hum.WalkSpeed = asd
  733. local paralyzed = true
  734. coroutine.wrap(function()
  735. while paralyzed do
  736. swait(25)
  737. if(M.RNG(1,25) == 1)then
  738. if(who:FindFirstChild'Head' and hum.Health > 0)then
  739. 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))), "[STATIC]", 3, BrickColor.new"New Yeller".Color)
  740. end
  741. hum.PlatformStand = true
  742. end
  743. end
  744. end)()
  745. delay(4, function()
  746. paralyzed = false
  747. hum.WalkSpeed = hum.WalkSpeed + asd
  748. end)
  749. end
  750.  
  751. elseif(Type == 'Knockdown' and GetTorso(who))then
  752. local rek = GetTorso(who)
  753. hum.PlatformStand = true
  754. delay(1,function()
  755. hum.PlatformStand = false
  756. end)
  757. local angle = (GetTorso(who).Position - (Root.Position + Vector3.new(0, 0, 0))).unit
  758. local bodvol = NewInstance("BodyVelocity",rek,{
  759. velocity = angle * Knock,
  760. P = 5000,
  761. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  762. })
  763. local rl = NewInstance("BodyAngularVelocity",rek,{
  764. P = 3000,
  765. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  766. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  767. })
  768. game:GetService("Debris"):AddItem(bodvol, .5)
  769. game:GetService("Debris"):AddItem(rl, .5)
  770. end
  771. end
  772. end
  773. end
  774. end
  775. end
  776. end
  777. end
  778.  
  779.  
  780. function AOEDamage(where,range,minDam,maxDam,Knock,Type,critChance,critMult)
  781. for _,v in next, getRegion(where,range,{Char}) do
  782. if(v.Name ~= 'Nebula_Zorua')then
  783. if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then
  784. DealDamage(v.Parent,minDam,maxDam,Knock,Type,critChance,critMult)
  785. end
  786. end
  787. end
  788. end
  789.  
  790. function cooltext()
  791. local E = tecks2:Clone()
  792. E.Parent = tecks2.Parent
  793. E.TextTransparency = 0.8
  794. E.TextStrokeTransparency = 0.8
  795. Debris:AddItem(E, 0.3)
  796. end
  797.  
  798. function slash()
  799. attack = true
  800. local sound = Sound(Knife,437475935,1,5,false,true,false)
  801. KTrail.Enabled = true
  802. for i=1,20 do
  803. Swait()
  804. AOEDamage(Knife.CFrame.p,1,15,30,0,"Normal",0,1)
  805. clerp(char["Right Arm"].funnyattachment, nor3 * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-35), Rad(0), Rad(-100)), 0.3)
  806. clerp(char["Left Arm"].funnyattachment, nor4 * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-35), Rad(0), Rad(0)), 0.3)
  807. end
  808. KTrail.Enabled = false
  809. attack = false
  810. end
  811.  
  812. mouse.Button1Down:connect(function()
  813. if attack == true then return end
  814. slash()
  815. end)
  816.  
  817. while true do
  818. Swait()
  819. hum.JumpPower = 0
  820. cooltext()
  821. tecks2.Position = tecks2.Position:lerp(UDim2.new(math.random(-1, 1)/4,0,math.random(-1, 1)/4,0), 0.025)
  822. tecks2.Rotation = math.random(-7, 7)
  823. tecks2.ZIndex = 3
  824. mus.Playing = true
  825. sine = sine + 1
  826. local TiltVelocity = CFrame.new(root.CFrame:vectorToObjectSpace(root.Velocity/1.6))
  827. local TORSOVELOCITY = (root.Velocity * VT(1, 0, 1)).magnitude
  828. local WALKSPEEDVALUE = 8 / (sped / 16)
  829. torsverticalvel = root.Velocity.y
  830. hitfloor = RayCast(root.Position, (CFrame.new(root.Position, root.Position + Vector3.new(0, -1, 0))).lookVector, tors.Size.y+2+hum.HipHeight, char)
  831. if TORSOVELOCITY < 1 and hitfloor ~= nil then
  832. anim = "Idle"
  833. if attack == false then
  834. clerp(char["Right Leg"].funnyattachment, nor1 * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(55), Rad(0), Rad(0)), 0.3)
  835. clerp(char["Left Leg"].funnyattachment, nor2 * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(55), Rad(0), Rad(0)), 0.3)
  836. clerp(char["Right Arm"].funnyattachment, nor3 * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(55), Rad(0), Rad(0)), 0.3)
  837. clerp(char["Left Arm"].funnyattachment, nor4 * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(25)), 0.3)
  838. end
  839. elseif TORSOVELOCITY > 1 and hitfloor ~= nil then
  840. anim = "Walk"
  841. if attack == false then
  842. clerp(char["Right Leg"].funnyattachment, nor1 * CFrame.new(0 * Cos(sine / 6), 0, 0) * CFrame.Angles(Rad(-((TiltVelocity.x)*9.5) * Cos(sine / 5) - 45), Rad(0), Rad(-((TiltVelocity.z)*9.5) * Cos(sine / 5))), 0.3)
  843. clerp(char["Left Leg"].funnyattachment, nor1 * CFrame.new(0 * Cos(sine / 6), 0, 0) * CFrame.Angles(Rad(-((TiltVelocity.x)*9.5) * Cos(sine / 5) - 45), Rad(0), Rad(-((TiltVelocity.z)*9.5) * Cos(sine / 5))), 0.3)
  844. clerp(char["Right Arm"].funnyattachment, nor3 * CFrame.new(0 * Cos(sine / 6), 0, 0) * CFrame.Angles(Rad(35), Rad(0), Rad(((TiltVelocity.z)*4.5) * Cos(sine / 5))), 0.3)
  845. clerp(char["Left Arm"].funnyattachment, nor4 * CFrame.new(0 * Cos(sine / 6), 0, 0) * CFrame.Angles(Rad(35), Rad(0), Rad(((TiltVelocity.z)*9.5) * Cos(sine / 5))), 0.3)
  846. end
  847. elseif torsverticalvel > 0.5 and hitfloor == nil then
  848. anim = "Jump"
  849. if attack == false then
  850. clerp(char["Right Leg"].funnyattachment, nor1 * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(0)), 0.3)
  851. clerp(char["Left Leg"].funnyattachment, nor2 * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(0)), 0.3)
  852. clerp(char["Right Arm"].funnyattachment, nor3 * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(0)), 0.3)
  853. clerp(char["Left Arm"].funnyattachment, nor4 * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(0)), 0.3)
  854. end
  855. elseif torsverticalvel < 0.5 and hitfloor == nil then
  856. anim = "Fall"
  857. if attack == false then
  858. clerp(char["Right Leg"].funnyattachment, nor1 * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(0)), 0.3)
  859. clerp(char["Left Leg"].funnyattachment, nor2 * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(0)), 0.3)
  860. clerp(char["Right Arm"].funnyattachment, nor3 * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(0)), 0.3)
  861. clerp(char["Left Arm"].funnyattachment, nor4 * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(0)), 0.3)
  862. end
  863. end
  864. for _,v in next, Char:children() do
  865. if(v:IsA'Accessory')then
  866. v:destroy()
  867. elseif(v:IsA'Shirt')then
  868. v.ShirtTemplate = "rbxassetid://344089667"
  869. elseif(v:IsA'Pants')then
  870. v.PantsTemplate = "rbxassetid://344084364"
  871. elseif(v:IsA'CharacterMesh')then
  872. v:destroy()
  873. elseif(v:FindFirstChildOfClass'ShirtGraphic')then
  874. v:FindFirstChildOfClass'ShirtGraphic':destroy()
  875. end
  876. end
  877. local face = Head:FindFirstChild'face'
  878. if(not face)then
  879. NewInstance("Decal",Head,{Name='face',Face=Enum.NormalId.Front,Texture="rbxassetid://404306534"})
  880. else
  881. face.Texture = "rbxassetid://404306534"
  882. end
  883. RArm.BrickColor = BrickColor.new'Pastel brown'
  884. LArm.BrickColor = BrickColor.new'Pastel brown'
  885. RLeg.BrickColor = BrickColor.new'Pastel brown'
  886. LLeg.BrickColor = BrickColor.new'Pastel brown'
  887. Torso.BrickColor = BrickColor.new'Pastel brown'
  888. Head.BrickColor = BrickColor.new'Pastel brown'
  889. end
Add Comment
Please, Sign In to add comment