Advertisement
Guest User

Untitled

a guest
Jul 21st, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.12 KB | None | 0 0
  1. -----------------------
  2. --[[ Name : Some gay animations (gat) ]]--
  3. -------------------------------------------------------
  4. --A script By makhail07
  5. --Footplanting added by Nebula_Zorua (Nebula the Zorua#6969)
  6.  
  7. --Discord Creterisk#2958
  8.  
  9. --NOTE THIS SCRIPT WAS PURELY MADE FROM MY FUCKING IMAGINATION
  10. --IF IT HAPPENS TO LOOK LIKE ANOTHER SCRIPT
  11. --DONT CALL IT A FUCKING BOOTLEG THANK YOU AND ENJOY THE SCRIPT
  12. --YOU FUCKING SKIDS,
  13. --For Those who log/decompile this, If you sell or trade this,
  14. --and I find out who you are, i will take massive action.
  15. -------------------------------------------------------
  16.  
  17. local FavIDs = {
  18. 340106355, --Nefl Crystals
  19. 927529620, --Dimension
  20. 876981900, --Fantasy
  21. 398987889, --Ordinary Days
  22. 1117396305, --Oh wait, it's you.
  23. 885996042, --Action Winter Journey
  24. 919231299, --Sprawling Idiot Effigy
  25. 743466274, --Good Day Sunshine
  26. 727411183, --Knife Fight
  27. 1402748531, --The Earth Is Counting On You!
  28. 595230126 --Robot Language
  29. }
  30.  
  31.  
  32.  
  33. --The reality of my life isn't real but a Universe -makhail07
  34. wait()
  35. local plr = game:service'Players'.LocalPlayer
  36. print('Local User is '..plr.Name)
  37. local char = plr.Character
  38. local hum = char.Humanoid
  39. local ra = char["Right Arm"]
  40. local la= char["Left Arm"]
  41. local rl= char["Right Leg"]
  42. local ll = char["Left Leg"]
  43. local hed = char.Head
  44. local root = char.HumanoidRootPart
  45. local rootj = root.RootJoint
  46. local tors = char.Torso
  47. local mouse = plr:GetMouse()
  48. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  49. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  50. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  51. -------------------------------------------------------
  52. --Start Whitelist and Invincibility--
  53. -------------------------------------------------------
  54. function checkfriendlist(model)
  55. local friend = false
  56. local target = nil
  57. if model.ClassName == "Player" then
  58. target = model
  59. else
  60. target = game:GetService("Players"):GetPlayerFromCharacter(model)
  61. end
  62. if target ~= nil then
  63. if target:IsFriendsWith(30136348) then friend = true end
  64. end
  65. return friend
  66. end
  67. if checkfriendlist(game:GetService("Players").LocalPlayer) == true then
  68. warn('Youre whitelisted/friends with the creator, Have fun! ' ..plr.Name)
  69. end
  70.  
  71. if checkfriendlist(game:GetService("Players").LocalPlayer) == false then
  72. warn('How did you even get this script? ' ..plr.Name)
  73. error"Your are not whitelisted/Friends with the creator."
  74. end
  75.  
  76. ff = Instance.new("ForceField",char)
  77. ff.Visible = false
  78. hum.Name = "Base"
  79. hum.MaxHealth = 1.0E298
  80. hum.Health = 1.0E298
  81. game:GetService("RunService"):BindToRenderStep("Bbae", 0, function()
  82. if hum.Health > 0.1 and hum.Health < 1.0E298 then
  83. hum.MaxHealth = 1.0E298
  84. hum.Health = 1.0E298
  85. end
  86. end)
  87. -------------------------------------------------------
  88. --End Whitelist and Invincibility--
  89. -------------------------------------------------------
  90.  
  91. -------------------------------------------------------
  92. --Start Good Stuff--
  93. -------------------------------------------------------
  94. CF = CFrame.new
  95. angles = CFrame.Angles
  96. attack = false
  97. Euler = CFrame.fromEulerAnglesXYZ
  98. Rad = math.rad
  99. IT = Instance.new
  100. BrickC = BrickColor.new
  101. Cos = math.cos
  102. Acos = math.acos
  103. Sin = math.sin
  104. Asin = math.asin
  105. Abs = math.abs
  106. Mrandom = math.random
  107. Floor = math.floor
  108. -------------------------------------------------------
  109. --End Good Stuff--
  110. -------------------------------------------------------
  111. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  112. RSH, LSH = nil, nil
  113. RW = Instance.new("Weld")
  114. LW = Instance.new("Weld")
  115. RH = tors["Right Hip"]
  116. LH = tors["Left Hip"]
  117. RSH = tors["Right Shoulder"]
  118. LSH = tors["Left Shoulder"]
  119. RSH.Parent = nil
  120. LSH.Parent = nil
  121. RW.Name = "RW"
  122. RW.Part0 = tors
  123. RW.C0 = CF(1.5, 0.5, 0)
  124. RW.C1 = CF(0, 0.5, 0)
  125. RW.Part1 = ra
  126. RW.Parent = tors
  127. LW.Name = "LW"
  128. LW.Part0 = tors
  129. LW.C0 = CF(-1.5, 0.5, 0)
  130. LW.C1 = CF(0, 0.5, 0)
  131. LW.Part1 = la
  132. LW.Parent = tors
  133. Effects = {}
  134.  
  135. -------------------------------------------------------
  136. --Start HeartBeat--
  137. -------------------------------------------------------
  138. ArtificialHB = Instance.new("BindableEvent", script)
  139. ArtificialHB.Name = "Heartbeat"
  140. script:WaitForChild("Heartbeat")
  141.  
  142. frame = 1 / 60
  143. tf = 0
  144. allowframeloss = false
  145. tossremainder = false
  146.  
  147.  
  148. lastframe = tick()
  149. script.Heartbeat:Fire()
  150.  
  151.  
  152. game:GetService("RunService").Heartbeat:connect(function(s, p)
  153. tf = tf + s
  154. if tf >= frame then
  155. if allowframeloss then
  156. script.Heartbeat:Fire()
  157. lastframe = tick()
  158. else
  159. for i = 1, math.floor(tf / frame) do
  160. script.Heartbeat:Fire()
  161. end
  162. lastframe = tick()
  163. end
  164. if tossremainder then
  165. tf = 0
  166. else
  167. tf = tf - frame * math.floor(tf / frame)
  168. end
  169. end
  170. end)
  171. -------------------------------------------------------
  172. --End HeartBeat--
  173. -------------------------------------------------------
  174.  
  175. -------------------------------------------------------
  176. --Start Important Functions--
  177. -------------------------------------------------------
  178.  
  179. function thread(f)
  180. coroutine.resume(coroutine.create(f))
  181. end
  182. function clerp(a, b, t)
  183. local qa = {
  184. QuaternionFromCFrame(a)
  185. }
  186. local qb = {
  187. QuaternionFromCFrame(b)
  188. }
  189. local ax, ay, az = a.x, a.y, a.z
  190. local bx, by, bz = b.x, b.y, b.z
  191. local _t = 1 - t
  192. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  193. end
  194. function QuaternionFromCFrame(cf)
  195. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  196. local trace = m00 + m11 + m22
  197. if trace > 0 then
  198. local s = math.sqrt(1 + trace)
  199. local recip = 0.5 / s
  200. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  201. else
  202. local i = 0
  203. if m00 < m11 then
  204. i = 1
  205. end
  206. if m22 > (i == 0 and m00 or m11) then
  207. i = 2
  208. end
  209. if i == 0 then
  210. local s = math.sqrt(m00 - m11 - m22 + 1)
  211. local recip = 0.5 / s
  212. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  213. elseif i == 1 then
  214. local s = math.sqrt(m11 - m22 - m00 + 1)
  215. local recip = 0.5 / s
  216. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  217. elseif i == 2 then
  218. local s = math.sqrt(m22 - m00 - m11 + 1)
  219. local recip = 0.5 / s
  220. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  221. end
  222. end
  223. end
  224. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  225. local xs, ys, zs = x + x, y + y, z + z
  226. local wx, wy, wz = w * xs, w * ys, w * zs
  227. local xx = x * xs
  228. local xy = x * ys
  229. local xz = x * zs
  230. local yy = y * ys
  231. local yz = y * zs
  232. local zz = z * zs
  233. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  234. end
  235. function QuaternionSlerp(a, b, t)
  236. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  237. local startInterp, finishInterp
  238. if cosTheta >= 1.0E-4 then
  239. if 1 - cosTheta > 1.0E-4 then
  240. local theta = math.acos(cosTheta)
  241. local invSinTheta = 1 / Sin(theta)
  242. startInterp = Sin((1 - t) * theta) * invSinTheta
  243. finishInterp = Sin(t * theta) * invSinTheta
  244. else
  245. startInterp = 1 - t
  246. finishInterp = t
  247. end
  248. elseif 1 + cosTheta > 1.0E-4 then
  249. local theta = math.acos(-cosTheta)
  250. local invSinTheta = 1 / Sin(theta)
  251. startInterp = Sin((t - 1) * theta) * invSinTheta
  252. finishInterp = Sin(t * theta) * invSinTheta
  253. else
  254. startInterp = t - 1
  255. finishInterp = t
  256. end
  257. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  258. end
  259. function rayCast(Position, Direction, Range, Ignore)
  260. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  261. end
  262. local RbxUtility = LoadLibrary("RbxUtility")
  263. local Create = RbxUtility.Create
  264.  
  265.  
  266. local ArtificialHB = Instance.new("BindableEvent", script)
  267. ArtificialHB.Name = "Heartbeat"
  268.  
  269. script:WaitForChild("Heartbeat")
  270.  
  271. local tf = 0
  272. local allowframeloss = false
  273. local tossremainder = false
  274. local lastframe = tick()
  275. local frame = 1/60
  276. ArtificialHB:Fire()
  277.  
  278. game:GetService("RunService").Heartbeat:connect(function(s, p)
  279. tf = tf + s
  280. if tf >= frame then
  281. if allowframeloss then
  282. script.Heartbeat:Fire()
  283. lastframe = tick()
  284. else
  285. for i = 1, math.floor(tf / frame) do
  286. ArtificialHB:Fire()
  287. end
  288. lastframe = tick()
  289. end
  290. if tossremainder then
  291. tf = 0
  292. else
  293. tf = tf - frame * math.floor(tf / frame)
  294. end
  295. end
  296. end)
  297.  
  298. function swait(num)
  299. if num == 0 or num == nil then
  300. ArtificialHB.Event:wait()
  301. else
  302. for i = 0, num do
  303. ArtificialHB.Event:wait()
  304. end
  305. end
  306. end
  307.  
  308. -------------------------------------------------------
  309. --Start Damage Function--
  310. -------------------------------------------------------
  311. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  312. if hit.Parent == nil then
  313. return
  314. end
  315. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  316. for _, v in pairs(hit.Parent:children()) do
  317. if v:IsA("Humanoid") then
  318. h = v
  319. end
  320. end
  321. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  322.  
  323. hit.Parent:FindFirstChild("Head"):BreakJoints()
  324. end
  325.  
  326. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  327. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  328. if hit.Parent.DebounceHit.Value == true then
  329. return
  330. end
  331. end
  332. if insta == true then
  333. hit.Parent:FindFirstChild("Head"):BreakJoints()
  334. end
  335. local c = Create("ObjectValue"){
  336. Name = "creator",
  337. Value = game:service("Players").LocalPlayer,
  338. Parent = h,
  339. }
  340. game:GetService("Debris"):AddItem(c, .5)
  341. if HitSound ~= nil and HitPitch ~= nil then
  342. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  343. end
  344. local Damage = math.random(minim, maxim)
  345. local blocked = false
  346. local block = hit.Parent:findFirstChild("Block")
  347. if block ~= nil then
  348. if block.className == "IntValue" then
  349. if block.Value > 0 then
  350. blocked = true
  351. block.Value = block.Value - 1
  352. print(block.Value)
  353. end
  354. end
  355. end
  356. if blocked …
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement