Advertisement
Corrundum

Fists

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