Advertisement
Guest User

1231

a guest
Dec 14th, 2016
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.07 KB | None | 0 0
  1. --[[User: TheDarkRevenant
  2. Script: Absalom (Armored).lua
  3. Pass: cUpnjTnT]]
  4.  
  5. local p = game.Players.LocalPlayer
  6. local char = p.Character
  7. local mouse = p:GetMouse()
  8. local larm = char["Left Arm"]
  9. local rarm = char["Right Arm"]
  10. local lleg = char["Left Leg"]
  11. local rleg = char["Right Leg"]
  12. local hed = char.Head
  13. local torso = char.Torso
  14. local hum = char.Humanoid
  15. local cam = game.Workspace.CurrentCamera
  16. local root = char.HumanoidRootPart
  17. local deb = false
  18. local shot = 0
  19. local l = game:GetService("Lighting")
  20. local rs = game:GetService("RunService").RenderStepped
  21. local debris=game:service"Debris"
  22. local stanceToggle = "Normal"
  23. math.randomseed(os.time())
  24. hum.WalkSpeed = 7
  25. char.Health:Destroy()
  26. hum.MaxHealth = 50000
  27. wait(0.1)
  28. hum.Health = 50000
  29. ----------------------------------------------------
  30. ypcall(function()
  31. char.Shirt:Destroy()
  32. char.Pants:Destroy()
  33. shirt = Instance.new("Shirt", char)
  34. shirt.Name = "Shirt"
  35. pants = Instance.new("Pants", char)
  36. pants.Name = "Pants"
  37. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=236410507"
  38. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=236412261"
  39. end)
  40. ----------------------------------------------------
  41. Debounces = {
  42. on = false;
  43. ks = false;
  44. CanAttack = true;
  45. CanJoke = true;
  46. NoIdl = false;
  47. Slashing = false;
  48. Slashed = false;
  49. Grabbing = false;
  50. Grabbed = false;
  51. }
  52. local Touche = {char.Name, }
  53. ----------------------------------------------------
  54. function lerp(a, b, t) -- Linear interpolation
  55. return a + (b - a)*t
  56. end
  57.  
  58. function slerp(a, b, t) --Spherical interpolation
  59. dot = a:Dot(b)
  60. if dot > 0.99999 or dot < -0.99999 then
  61. return t <= 0.5 and a or b
  62. else
  63. r = math.acos(dot)
  64. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  65. end
  66. end
  67.  
  68. function matrixInterpolate(a, b, t)
  69. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  70. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  71. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  72. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  73. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  74. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  75. local t = v1:Dot(v2)
  76. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  77. return CFrame.new()
  78. end
  79. return CFrame.new(
  80. v0.x, v0.y, v0.z,
  81. v1.x, v1.y, v1.z,
  82. v2.x, v2.y, v2.z,
  83. v3.x, v3.y, v3.z)
  84. end
  85. ----------------------------------------------------
  86. function genWeld(a,b)
  87. local w = Instance.new("Weld",a)
  88. w.Part0 = a
  89. w.Part1 = b
  90. return w
  91. end
  92. function weld(a, b)
  93. local weld = Instance.new("Weld")
  94. weld.Name = "W"
  95. weld.Part0 = a
  96. weld.Part1 = b
  97. weld.C0 = a.CFrame:inverse() * b.CFrame
  98. weld.Parent = a
  99. return weld;
  100. end
  101. ----------------------------------------------------
  102. function Lerp(c1,c2,al)
  103. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  104. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  105. for i,v in pairs(com1) do
  106. com1[i] = v+(com2[i]-v)*al
  107. end
  108. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  109. end
  110. ----------------------------------------------------
  111. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  112. local wld = Instance.new("Weld", wp1)
  113. wld.Part0 = wp0
  114. wld.Part1 = wp1
  115. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  116. end
  117. ----------------------------------------------------
  118. function Tween(a,b,c)
  119. return a+(b-a)*c
  120. end
  121. ----------------------------------------------------
  122. function nwPrt(prnt,siz,cf,col)
  123. local prt=Instance.new("Part")
  124. prt.Parent=prnt
  125. prt.FormFactor=3
  126. prt.Name="Part"
  127. prt.Size=siz
  128. prt.CanCollide=false
  129. prt.Anchored=true
  130. prt.Locked=true
  131. prt.TopSurface=10
  132. prt.BottomSurface=10
  133. prt.FrontSurface=10
  134. prt.BackSurface=10
  135. prt.LeftSurface=10
  136. prt.RightSurface=10
  137. prt:BreakJoints()
  138. prt.CFrame=cf or CFrame.new(30,10,30)
  139. prt.Material="Neon"
  140. prt.BrickColor=BrickColor.new(col)
  141. m=Instance.new("SpecialMesh",prt)
  142. m.MeshType=6
  143. return prt
  144. end
  145. ----------------------------------------------------
  146. function nwSnd(prnt,pch,vol,id)
  147. local s=Instance.new("Sound",prnt)
  148. s.Pitch=pch
  149. s.Volume=vol
  150. s.SoundId="rbxassetid://"..id
  151. s.PlayOnRemove=true
  152. return s
  153. end
  154. ----------------------------------------------------
  155. function newRay(start,face,range,wat)
  156. local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  157. hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat)
  158. return rey,hit,pos
  159. end
  160. ----------------------------------------------------
  161. for i,v in pairs(char:children()) do
  162. if v:IsA("Hat") then
  163. v:Destroy()
  164. end
  165. end
  166. for i,v in pairs(hed:children()) do
  167. if v:IsA("Sound") then
  168. v:Destroy()
  169. end
  170. end
  171. ----------------------------------------------------
  172. function HasntTouched(plrname)
  173. local ret = true
  174. for _, v in pairs(Touche) do
  175. if v == plrname then
  176. ret = false
  177. end
  178. end
  179. return ret
  180. end
  181. ----------------------------------------------------
  182. larm.Size = larm.Size * 2
  183. rarm.Size = rarm.Size * 2
  184. lleg.Size = lleg.Size * 2
  185. rleg.Size = rleg.Size * 2
  186. torso.Size = torso.Size * 2
  187. hed.Size = hed.Size * 2
  188. root.Size = root.Size * 2
  189. ----------------------------------------------------
  190. newWeld(torso, larm, -1.5, 0.5, 0)
  191. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  192. newWeld(torso, rarm, 1.5, 0.5, 0)
  193. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  194. newWeld(torso, hed, 0, 1.5, 0)
  195. newWeld(torso, lleg, -0.5, -1, 0)
  196. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  197. newWeld(torso, rleg, 0.5, -1, 0)
  198. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  199. newWeld(root, torso, 0, -1, 0)
  200. torso.Weld.C1 = CFrame.new(0, -1, 0)
  201. ----------------------------------------------------
  202. hed.face.Texture = "rbxassetid://272299908"
  203. z=Instance.new('Decal',hed)
  204. z.Face = 'Front'
  205. z.Texture='rbxassetid://99174105'
  206. z1=Instance.new('Decal',hed)
  207. z1.Face = 'Right'
  208. hed.BrickColor = BrickColor.new("Really black")
  209. lite = Instance.new("PointLight", torso)
  210. lite.Brightness = 14
  211. lite.Range = 10
  212. lite.Color = Color3.new(1, 0, 0)
  213. --[[local hed2 = hed:Clone()
  214. hed2.CanCollide = false
  215. hed2.Parent = char
  216. hed2:ClearAllChildren()
  217. hed2.Transparency = 1
  218. hed2.Name = "DARP"
  219. local w = Instance.new("Weld",hed2)
  220. w.Part0 = hed
  221. w.Part1 = hed2
  222. w.C0 = CFrame.new(0,0,-0.175)
  223. z=Instance.new("SurfaceGui",hed2)
  224. z.Enabled = true
  225. z.Face = "Front"
  226. z.Adornee = hed2
  227. z.CanvasSize = Vector2.new(100,100)
  228. local face = Instance.new("ImageLabel",z)
  229. face.Size = UDim2.new(1,-30,1,0)
  230. face.Position = UDim2.new(0,15,0,0)
  231. face.BackgroundTransparency = 1
  232. face.Image='rbxassetid://46282671']]--
  233. ----------------------------------------------------
  234. z = Instance.new("Sound", char)
  235. z.SoundId = "rbxassetid://557663992"--557663992
  236. z.Looped = true
  237. z.Pitch = 1
  238. z.Volume = 1
  239. wait(.01)
  240. z:Play()
  241. ----------------------------------------------------
  242. local l = game.Lighting
  243. local sky = Instance.new("Sky",l)
  244. sky.CelestialBodiesShown = false
  245. sky.SkyboxBk = "http://www.roblox.com/asset/?id=156925041"
  246. sky.SkyboxDn = "http://www.roblox.com/asset/?id=156925047"
  247. sky.SkyboxFt = "http://www.roblox.com/asset/?id=156925045"
  248. sky.SkyboxLf = "http://www.roblox.com/asset/?id=156925043"
  249. sky.SkyboxRt = "http://www.roblox.com/asset/?id=156925038"
  250. sky.SkyboxUp = "http://www.roblox.com/asset/?id=156925055"
  251. sky.StarCount = 0
  252. sky.Name = "GreenSpace"
  253. ----------------------------------------------------
  254. local m = Instance.new("Model")
  255. m.Name = "Absolution"
  256. p1 = Instance.new("Part", m)
  257. p1.BrickColor = BrickColor.new("Bright blue")
  258. p1.Material = "Neon"
  259. p1.FormFactor = Enum.FormFactor.Custom
  260. p1.Size = Vector3.new(1, 0.600000024, 1.5)
  261. p1.CFrame = CFrame.new(67.4994888, 12.1560526, 73.0205841, 0.999972522, -3.59117985e-005, -8.00192356e-006, -1.39250187e-005, 0.358383715, -0.933530986, 5.28097153e-005, 0.933500648, 0.358406395)
  262. p1.CanCollide = false
  263. p1.Locked = true
  264. p1.Elasticity = 0
  265. p1.BottomSurface = Enum.SurfaceType.Smooth
  266. p1.TopSurface = Enum.SurfaceType.Smooth
  267. b1 = Instance.new("SpecialMesh", p1)
  268. b1.MeshType = Enum.MeshType.Wedge
  269. b1.Name = "Mesh"
  270. b1.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928)
  271. p2 = Instance.new("Part", m)
  272. p2.BrickColor = BrickColor.new("Really black")
  273. p2.FormFactor = Enum.FormFactor.Custom
  274. p2.Size = Vector3.new(1, 2.9000001, 1)
  275. p2.CFrame = CFrame.new(67.4995728, 11.7633543, 74.2129135, -1.30959779e-005, 2.79811252e-006, 0.999972522, 0.961226642, 0.275612593, -7.50799518e-006, -0.275637805, 0.96119839, 1.01176247e-005)
  276. p2.CanCollide = false
  277. p2.Locked = true
  278. p2.Elasticity = 0
  279. p2.BottomSurface = Enum.SurfaceType.Smooth
  280. p2.TopSurface = Enum.SurfaceType.Smooth
  281. b2 = Instance.new("BlockMesh", p2)
  282. b2.Name = "Mesh"
  283. b2.Scale = Vector3.new(0.400000006, 1, 0.400000006)
  284. p3 = Instance.new("Part", m)
  285. p3.BrickColor = BrickColor.new("Bright blue")
  286. p3.Material = "Neon"
  287. p3.FormFactor = Enum.FormFactor.Custom
  288. p3.Size = Vector3.new(1, 1.20000005, 2.0999999)
  289. p3.CFrame = CFrame.new(67.4994965, 12.6401453, 73.9670334, 0.999972522, -3.52207899e-005, -8.10639358e-006, -1.61500211e-005, 0.309035271, -0.951007903, 5.24176576e-005, 0.950978875, 0.309059501)
  290. p3.CanCollide = false
  291. p3.Locked = true
  292. p3.Elasticity = 0
  293. p3.BottomSurface = Enum.SurfaceType.Smooth
  294. p3.TopSurface = Enum.SurfaceType.Smooth
  295. b3 = Instance.new("SpecialMesh", p3)
  296. b3.MeshType = Enum.MeshType.Wedge
  297. b3.Name = "Mesh"
  298. b3.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928)
  299. p4 = Instance.new("Part", m)
  300. p4.BrickColor = BrickColor.new("Bright blue")
  301. p4.Material = "Neon"
  302. p4.FormFactor = Enum.FormFactor.Custom
  303. p4.Size = Vector3.new(1, 1.43999994, 2.05000019)
  304. p4.CFrame = CFrame.new(67.4995575, 11.8683414, 76.1565704, 0.999972522, -2.5085672e-005, -1.53700166e-005, -4.86194367e-005, -0.800831437, -0.598821938, 1.9131101e-005, 0.598835468, -0.800796151)
  305. p4.CanCollide = false
  306. p4.Locked = true
  307. p4.Elasticity = 0
  308. p4.BottomSurface = Enum.SurfaceType.Smooth
  309. p4.TopSurface = Enum.SurfaceType.Smooth
  310. b4 = Instance.new("SpecialMesh", p4)
  311. b4.MeshType = Enum.MeshType.Wedge
  312. b4.Name = "Mesh"
  313. b4.Scale = Vecto…
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement