Advertisement
Corrundum

Fists

Aug 23rd, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.38 KB | None | 0 0
  1. --[[Nocturna_A._Alteriano_Night.Owl.Inc]]-- (Edit by kiukiubol & lilh3)
  2. wait(1 / 60)
  3. p = game.Players.LocalPlayer
  4. char = p.Character
  5. torso = char.Torso
  6. neck = char.Torso.Neck
  7. hum = char.Humanoid
  8. hum.MaxHealth = 75000
  9. wait()
  10. hum.Health =hum.MaxHealth
  11. end
  12.  
  13. z = Instance.new("Sound", torso)
  14. z.SoundId = "rbxassetid://264396581" -- Put Music ID Here.
  15. z.Looped = true
  16. z.Volume = 1
  17. wait(.1)
  18. z:Play()
  19.  
  20. char["Body Colors"].HeadColor = BrickColor.new("Pastel Blue")
  21. char["Body Colors"].TorsoColor = BrickColor.new("Pastel Blue")
  22. char["Body Colors"].LeftArmColor = BrickColor.new("Pastel Blue")
  23. char["Body Colors"].RightArmColor = BrickColor.new("Pastel Blue")
  24. char["Body Colors"].LeftLegColor = BrickColor.new("Pastel Blue")
  25. char["Body Colors"].RightLegColor = BrickColor.new("Pastel Blue")
  26.  
  27. shirt = Instance.new("Shirt", char)
  28. shirt.Name = "Shirt"
  29. pants = Instance.new("Pants", char)
  30. pants.Name = "Pants"
  31. char.Shirt.ShirtTemplate = "rbxassetid://496506720"
  32. char.Pants.PantsTemplate = "rbxassetid://496512137"
  33.  
  34. Hat = Instance.new("Model")
  35. Hat.Parent = char
  36. Hat.Name = "Hat"
  37. rh = Instance.new("Part")
  38. rh.Parent = Hat
  39. rh.BrickColor = BrickColor.new("Really black")
  40. rh.Locked = true
  41. rh.CanCollide = false
  42. mesh = Instance.new("SpecialMesh")
  43. rh.formFactor = "Symmetric"
  44. mesh.MeshType = "FileMesh"
  45. mesh.MeshId = "rbxassetid://439736904"
  46. mesh.Parent = rh
  47. local weld = Instance.new("Weld")
  48. weld.Parent = rh
  49. weld.Part0 = rh
  50. weld.Part1 =char.Head
  51. weld.C0 = CFrame.new(0, -0.5, 0.5)*CFrame.Angles(0, 3, 0)
  52. mesh.Scale = Vector3.new(0.002,0.002, 0.002)
  53.  
  54. Effects = { }
  55. local Player = game.Players.localPlayer
  56. local Character = Player.Character
  57. local Humanoid = Character.Humanoid
  58. Humanoid.WalkSpeed = 20
  59. local Mouse = Player:GetMouse()
  60. local LeftArm = Character["Left Arm"]
  61. local RightArm = Character["Right Arm"]
  62. local LeftLeg = Character["Left Leg"]
  63. local RightLeg = Character["Right Leg"]
  64. local Head = Character.Head
  65. local Torso = Character.Torso
  66. local Camera = game.Workspace.CurrentCamera
  67. local RootPart = Character.HumanoidRootPart
  68. local RootJoint = RootPart.RootJoint
  69. local attack = false
  70. local Anim = 'Idle'
  71. local attacktype = 1
  72. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  73. local velocity = RootPart.Velocity.y
  74. local sine = 0
  75. local change = 1
  76. local Create = LoadLibrary("RbxUtility").Create
  77. local TimeStop = false
  78.  
  79. local m = Create("Model"){
  80. Parent = Character,
  81. Name = "WeaponModel",
  82. }
  83.  
  84. Humanoid.Animator.Parent = nil
  85. Character.Animate.Parent = nil
  86.  
  87. local newMotor = function(part0, part1, c0, c1)
  88. local w = Create('Motor'){
  89. Parent = part0,
  90. Part0 = part0,
  91. Part1 = part1,
  92. C0 = c0,
  93. C1 = c1,
  94. }
  95. return w
  96. end
  97.  
  98. function clerp(a, b, t)
  99. return a:lerp(b, t)
  100. end
  101.  
  102. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  103. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  104.  
  105. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  106. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  107. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  108. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  109. RootJoint.C1 = CFrame.new(0, 0, 0)
  110. RootJoint.C0 = CFrame.new(0, 0, 0)
  111. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  112. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  113.  
  114. local rarmc1 = RW.C1
  115. local larmc1 = LW.C1
  116. local rlegc1 = RH.C1
  117. local llegc1 = LH.C1
  118.  
  119. local resetc1 = false
  120.  
  121. function PlayAnimationFromTable(table, speed, bool)
  122. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  123. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  124. RW.C0 = clerp(RW.C0, table[3], speed)
  125. LW.C0 = clerp(LW.C0, table[4], speed)
  126. RH.C0 = clerp(RH.C0, table[5], speed)
  127. LH.C0 = clerp(LH.C0, table[6], speed)
  128. if bool == true then
  129. if resetc1 == false then
  130. resetc1 = true
  131. RootJoint.C1 = RootJoint.C1
  132. Torso.Neck.C1 = Torso.Neck.C1
  133. RW.C1 = rarmc1
  134. LW.C1 = larmc1
  135. RH.C1 = rlegc1
  136. LH.C1 = llegc1
  137. end
  138. end
  139. end
  140.  
  141. ArtificialHB = Create("BindableEvent", script){
  142. Parent = script,
  143. Name = "Heartbeat",
  144. }
  145.  
  146. script:WaitForChild("Heartbeat")
  147.  
  148. frame = 1 / 35
  149. tf = 0
  150. allowframeloss = false
  151. tossremainder = false
  152. lastframe = tick()
  153. script.Heartbeat:Fire()
  154.  
  155. game:GetService("RunService").Heartbeat:connect(function(s, p)
  156. tf = tf + s
  157. if tf >= frame then
  158. if allowframeloss then
  159. script.Heartbeat:Fire()
  160. lastframe = tick()
  161. else
  162. for i = 1, math.floor(tf / frame) do
  163. script.Heartbeat:Fire()
  164. end
  165. lastframe = tick()
  166. end
  167. if tossremainder then
  168. tf = 0
  169. else
  170. tf = tf - frame * math.floor(tf / frame)
  171. end
  172. end
  173. end)
  174.  
  175. function swait(num)
  176. if num == 0 or num == nil then
  177. ArtificialHB.Event:wait()
  178. else
  179. for i = 0, num do
  180. ArtificialHB.Event:wait()
  181. end
  182. end
  183. end
  184.  
  185. function RemoveOutlines(part)
  186. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  187. end
  188.  
  189. CFuncs = {
  190. Part = {
  191. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  192. local Part = Create("Part"){
  193. Parent = Parent,
  194. Reflectance = Reflectance,
  195. Transparency = Transparency,
  196. CanCollide = false,
  197. Locked = true,
  198. BrickColor = BrickColor.new(tostring(BColor)),
  199. Name = Name,
  200. Size = Size,
  201. Material = Material,
  202. }
  203. RemoveOutlines(Part)
  204. return Part
  205. end;
  206. };
  207.  
  208. Mesh = {
  209. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  210. local Msh = Create(Mesh){
  211. Parent = Part,
  212. Offset = OffSet,
  213. Scale = Scale,
  214. }
  215. if Mesh == "SpecialMesh" then
  216. Msh.MeshType = MeshType
  217. Msh.MeshId = MeshId
  218. end
  219. return Msh
  220. end;
  221. };
  222.  
  223. Weld = {
  224. Create = function(Parent, Part0, Part1, C0, C1)
  225. local Weld = Create("Weld"){
  226. Parent = Parent,
  227. Part0 = Part0,
  228. Part1 = Part1,
  229. C0 = C0,
  230. C1 = C1,
  231. }
  232. return Weld
  233. end;
  234. };
  235.  
  236. Sound = {
  237. Create = function(id, par, vol, pit)
  238. local Sound = Create("Sound"){
  239. Volume = vol,
  240. Pitch = pit or 1,
  241. SoundId = "rbxassetid://" .. id,
  242. Parent = par or workspace,
  243. }
  244. Sound:play()
  245. return Sound
  246. end;
  247. };
  248.  
  249. Decal = {
  250. Create = function(Color, Texture, Transparency, Name, Parent)
  251. local Decal = Create("Decal"){
  252. Color3 = Color,
  253. Texture = "rbxassetid://" .. Texture,
  254. Transparency = Transparency,
  255. Name = Name,
  256. Parent = Parent,
  257. }
  258. return Decal
  259. end;
  260. };
  261.  
  262. BillboardGui = {
  263. Create = function(Parent, Image, Position, Size)
  264. local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
  265. BillPar.CFrame = CFrame.new(Position)
  266. local Bill = Create("BillboardGui"){
  267. Parent = BillPar,
  268. Adornee = BillPar,
  269. Size = UDim2.new(1, 0, 1, 0),
  270. SizeOffset = Vector2.new(Size, Size),
  271. }
  272. local d = Create("ImageLabel", Bill){
  273. Parent = Bill,
  274. BackgroundTransparency = 1,
  275. Size = UDim2.new(1, 0, 1, 0),
  276. Image = "rbxassetid://" .. Image,
  277. }
  278. return BillPar
  279. end
  280. };
  281.  
  282. ParticleEmitter = {
  283. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  284. local Particle = Create("ParticleEmitter"){
  285. Parent = Parent,
  286. Color = ColorSequence.new(Color1, Color2),
  287. LightEmission = LightEmission,
  288. Size = Size,
  289. Texture = Texture,
  290. Transparency = Transparency,
  291. ZOffset = ZOffset,
  292. Acceleration = Accel,
  293. Drag = Drag,
  294. LockedToPart = LockedToPart,
  295. VelocityInheritance = VelocityInheritance,
  296. EmissionDirection = EmissionDirection,
  297. Enabled = Enabled,
  298. Lifetime = LifeTime,
  299. Rate = Rate,
  300. Rotation = Rotation,
  301. RotSpeed = RotSpeed,
  302. Speed = Speed,
  303. VelocitySpread = VelocitySpread,
  304. }
  305. return Particle
  306. end;
  307. };
  308.  
  309. CreateTemplate = {
  310.  
  311. };
  312. }
  313.  
  314. function rayCast(Position, Direction, Range, Ignore)
  315. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  316. end
  317.  
  318. function FindNearestTorso(Position, Distance, SinglePlayer)
  319. if SinglePlayer then
  320. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  321. end
  322. local List = {}
  323. for i, v in pairs(workspace:GetChildren()) do
  324. if v:IsA("Model") then
  325. if v:findFirstChild("Torso") then
  326. if v ~= Character then
  327. if (v.Torso.Position - Position).magnitude <= Distance then
  328. table.insert(List, v)
  329. end
  330. end
  331. end
  332. end
  333. end
  334. return List
  335. end
  336.  
  337. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  338. if hit.Parent == nil then
  339. return
  340. end
  341. local h = hit.Parent:FindFirstChild("Humanoid")
  342. for _, v in pairs(hit.Parent:children()) do
  343. if v:IsA("Humanoid") then
  344. h = v
  345. end
  346. end
  347. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  348. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  349. if hit.Parent.DebounceHit.Value == true then
  350. return
  351. end
  352. end
  353. local c = Create("ObjectValue"){
  354. Name = "creator",
  355. Value = game:service("Players").LocalPlayer,
  356. Parent = h,
  357. }
  358. game:GetService("Debris"):AddItem(c, .5)
  359. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  360. local Damage = math.random(minim, maxim)
  361. local blocked = fal…
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement