Advertisement
okban

test

Mar 17th, 2018
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 79.09 KB | None | 0 0
  1. local p = game.Players.LocalPlayer.Character
  2. local weld = Instance.new("Weld",p.Torso)
  3. weld.Part0 = p.Torso
  4.  
  5. --[[Uganda Knuckles Body]]------------------------------------------------
  6. local Uganda = Instance.new("Part",p.Torso)
  7. Uganda.Orientation = Vector3.new(0, -100, 0)
  8. Uganda.Anchored = true
  9. Uganda.Shape = Enum.PartType.Ball
  10. Uganda.CanCollide = false
  11. Uganda.Material = Enum.Material.Glass
  12. Uganda.Transparency = 0.999
  13. Uganda.BrickColor = BrickColor.new("Institutional white")
  14. Uganda.Size = Vector3.new(15, 15, 15)
  15. Uganda.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  16. weld.Part1 = Uganda
  17. weld.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(-360),0)
  18. Uganda.Anchored = false
  19. ---------------------------------------------------------------------------
  20.  
  21. --[[Uganda Knuckles Eye's]]------------------------------------------------
  22. local weld2 = Instance.new("Weld",p.Torso)
  23. weld2.Part0 = p.Torso
  24. local Knuckles = Instance.new("Part",p.Torso)
  25. Knuckles.Orientation = Vector3.new(0, -100, 0)
  26. Knuckles.Anchored = true
  27. Knuckles.CanCollide = false
  28. Knuckles.Size = Vector3.new(1,1,1)
  29. Knuckles.Transparency = 0.01
  30. Knuckles.Size = Vector3.new(0.925, 0.925, 0.925)
  31. Knuckles.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  32. weld2.Part1 = Knuckles
  33. weld2.C1 = CFrame.new(0,0,0)-- * CFrame.Angles(0,math.rad(180),0)
  34. Knuckles.Anchored = false
  35. local KnucklesMesh = Instance.new("SpecialMesh",Knuckles)
  36. KnucklesMesh.MeshType = Enum.MeshType.FileMesh
  37. KnucklesMesh.Scale = Vector3.new(19.839, -19.839, 19.839)
  38. KnucklesMesh.MeshId = "http://www.roblox.com/asset/?id=1185246"
  39. KnucklesMesh.TextureId = "rbxassetid://149433627"
  40. ---------------------------------------------------------------------------
  41. --[[Uganda Knuckles Eye's]]------------------------------------------------
  42. local weld3 = Instance.new("Weld",p.Torso)
  43. weld3.Part0 = p.Torso
  44. local Knuckles2 = Instance.new("Part",p.Torso)
  45. Knuckles2.Orientation = Vector3.new(0, -100, 0)
  46. Knuckles2.Anchored = true
  47. Knuckles2.CanCollide = false
  48. Knuckles2.Size = Vector3.new(1,1,1)
  49. Knuckles2.Transparency = 0.01
  50. Knuckles2.Size = Vector3.new(0.925, 0.925, 0.925)
  51. Knuckles2.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  52. weld3.Part1 = Knuckles2
  53. weld3.C1 = CFrame.new(0,0,0)-- * CFrame.Angles(0,math.rad(180),0)
  54. Knuckles2.Anchored = false
  55. local KnucklesMesh2 = Instance.new("SpecialMesh",Knuckles2)
  56. KnucklesMesh2.MeshType = Enum.MeshType.FileMesh
  57. KnucklesMesh2.Scale = Vector3.new(19.839, -19.839, 19.839)
  58. KnucklesMesh2.MeshId = "http://www.roblox.com/asset/?id=1185246"
  59. KnucklesMesh2.TextureId = "rbxassetid://149433627"
  60. ---------------------------------------------------------------------------
  61.  
  62. local p = game.Players.LocalPlayer
  63. local char = p.Character
  64. local Character = char
  65. local Mau5 = p:GetMouse()
  66. local larm = char["Left Arm"]
  67. local rarm = char["Right Arm"]
  68. local lleg = char["Left Leg"]
  69. local rleg = char["Right Leg"]
  70. local hed = char.Head
  71. local torso = char.Torso
  72. local hum = char.Humanoid
  73. local cam = game.Workspace.CurrentCamera
  74. local root = char.HumanoidRootPart
  75. local RootPart = root
  76. local l = game:GetService("Lighting")
  77. local debris = game:GetService("Debris")
  78. local rs = game:GetService("RunService").RenderStepped
  79. local Damaged = {}
  80. it = Instance.new
  81. vt = Vector3.new
  82. cn = CFrame.new
  83. euler = CFrame.fromEulerAnglesXYZ
  84. angles = CFrame.Angles
  85. local HandCF = CFrame.new(root.Position - Vector3.new(0, 3, 0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  86. Debounces = {
  87. CanAttack = true,
  88. NoIdle = false,
  89. Anger = false,
  90. OrbMove1 = false,
  91. OrbMove2 = false,
  92. OrbMove3 = false,
  93. OrbMove4 = false,
  94. OrbMove5 = false,
  95. OrbMove6 = false,
  96. OrbMove7 = false,
  97. OrbMove8 = false
  98. }
  99. function Lerp(a, b, t)
  100. local qa = {
  101. QuaternionFromCFrame(a)
  102. }
  103. local qb = {
  104. QuaternionFromCFrame(b)
  105. }
  106. local ax, ay, az = a.x, a.y, a.z
  107. local bx, by, bz = b.x, b.y, b.z
  108. local _t = 1 - t
  109. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  110. end
  111. local Lerp = CFrame.new().lerp
  112. function QuaternionFromCFrame(cf)
  113. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  114. local trace = m00 + m11 + m22
  115. if trace > 0 then
  116. local s = math.sqrt(1 + trace)
  117. local recip = 0.5 / s
  118. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  119. else
  120. local i = 0
  121. if m00 < m11 then
  122. i = 1
  123. end
  124. if i == 0 and m00 or m11 < m22 then
  125. i = 2
  126. end
  127. if i == 0 then
  128. local s = math.sqrt(m00 - m11 - m22 + 1)
  129. local recip = 0.5 / s
  130. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  131. elseif i == 1 then
  132. local s = math.sqrt(m11 - m22 - m00 + 1)
  133. local recip = 0.5 / s
  134. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  135. elseif i == 2 then
  136. local s = math.sqrt(m22 - m00 - m11 + 1)
  137. local recip = 0.5 / s
  138. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  139. end
  140. end
  141. end
  142. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  143. local xs, ys, zs = x + x, y + y, z + z
  144. local wx, wy, wz = w * xs, w * ys, w * zs
  145. local xx = x * xs
  146. local xy = x * ys
  147. local xz = x * zs
  148. local yy = y * ys
  149. local yz = y * zs
  150. local zz = z * zs
  151. 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))
  152. end
  153. function QuaternionSlerp(a, b, t)
  154. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  155. local startInterp, finishInterp
  156. if cosTheta >= 1.0E-4 then
  157. if 1 - cosTheta > 1.0E-4 then
  158. local theta = math.acos(cosTheta)
  159. local invSinTheta = 1 / math.sin(theta)
  160. startInterp = math.sin((1 - t) * theta) * invSinTheta
  161. finishInterp = math.sin(t * theta) * invSinTheta
  162. else
  163. startInterp = 1 - t
  164. finishInterp = t
  165. if 1 + cosTheta > 1.0E-4 then
  166. local theta = math.acos(-cosTheta)
  167. local invSinTheta = 1 / math.sin(theta)
  168. startInterp = math.sin((t - 1) * theta) * invSinTheta
  169. finishInterp = math.sin(t * theta) * invSinTheta
  170. else
  171. startInterp = t - 1
  172. finishInterp = t
  173. 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
  174. end
  175. end
  176. end
  177. end
  178. function scaleTween(strt, fnsh, tim)
  179. local com1 = {
  180. strt.X,
  181. strt.Y,
  182. strt.Z
  183. }
  184. local com2 = {
  185. fnsh.X,
  186. fnsh.Y,
  187. fnsh.Z
  188. }
  189. for i, v in pairs(com1) do
  190. com1[i] = v + (com2[i] - v) * tim
  191. end
  192. return Vector3.new(com1[1], com1[2], com1[3])
  193. end
  194. function newWeld(wp0, wp1, wc0x, wc0y, wc0z)
  195. local wld = Instance.new("Weld", wp1)
  196. wld.Part0 = wp0
  197. wld.Part1 = wp1
  198. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  199. end
  200.  
  201. function TakeDamage(a, b)
  202. a:TakeDamage(b)
  203. end
  204.  
  205. function WeldBetween(a, b)
  206. weld = Instance.new("Weld", a)
  207. weld.Name = "W"
  208. weld.Part0 = a
  209. weld.Part1 = b
  210. weld.C0 = a.CFrame:inverse() * b.CFrame
  211. return weld
  212. end
  213. function Lerp2(a, b, i)
  214. return a:lerp(b, i)
  215. end
  216. function HasntDamaged(plrname)
  217. local ret = true
  218. for _, v in pairs(Damaged) do
  219. if v == plrname then
  220. ret = false
  221. end
  222. end
  223. return ret
  224. end
  225. function nooutline(part)
  226. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  227. end
  228. function part(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  229. local fp = it("Part")
  230. fp.formFactor = formfactor
  231. fp.Parent = parent
  232. fp.Reflectance = reflectance
  233. fp.Transparency = transparency
  234. fp.CanCollide = false
  235. fp.Locked = true
  236. fp.BrickColor = BrickColor.new(tostring(brickcolor))
  237. fp.Name = name
  238. fp.Size = size
  239. fp.Position = Character.Torso.Position
  240. nooutline(fp)
  241. fp.Material = material
  242. fp:BreakJoints()
  243. return fp
  244. end
  245. function mesh(Mesh, part, meshtype, meshid, offset, scale)
  246. local mesh = it(Mesh)
  247. mesh.Parent = part
  248. if Mesh == "SpecialMesh" then
  249. mesh.MeshType = meshtype
  250. mesh.MeshId = meshid
  251. end
  252. mesh.Offset = offset
  253. mesh.Scale = scale
  254. return mesh
  255. end
  256. function weld(parent, part0, part1, c0, c1)
  257. local weld = it("Weld")
  258. weld.Parent = parent
  259. weld.Part0 = part0
  260. weld.Part1 = part1
  261. weld.C0 = c0
  262. weld.C1 = c1
  263. return weld
  264. end
  265. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, decreaseblock)
  266. if hit.Parent == nil then
  267. return
  268. end
  269. local h = hit.Parent:FindFirstChild("Humanoid")
  270. for _, v in pairs(hit.Parent:children()) do
  271. if v:IsA("Humanoid") then
  272. h = v
  273. end
  274. end
  275. if hit.Parent.Parent:FindFirstChild("Torso") ~= nil then
  276. h = hit.Parent.Parent:FindFirstChild("Humanoid")
  277. end
  278. if hit.Parent.className == "Hat" then
  279. hit = hit.Parent.Parent:findFirstChild("Head")
  280. end
  281. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  282. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  283. return
  284. end
  285. local c = Instance.new("ObjectValue")
  286. c.Name = "creator"
  287. c.Value = game:service("Players").LocalPlayer
  288. c.Parent = h
  289. game:GetService("Debris"):AddItem(c, 0.5)
  290. local Damage = math.random(minim, maxim)
  291. local blocked = false
  292. local block = hit.Parent:findFirstChild("Block")
  293. if block ~= nil then
  294. print(block.className)
  295. if block.className == "NumberValue" and block.Value > 0 then
  296. blocked = true
  297. if decreaseblock == nil then
  298. block.Value = block.Value - 1
  299. end
  300. end
  301. if block.className == "IntValue" and block.Value > 0 then
  302. blocked = true
  303. if decreaseblock ~= nil then
  304. block.Value = block.Value - 1
  305. end
  306. end
  307. end
  308. if blocked == false then
  309. TakeDamage(h, Damage)
  310. ShowDamage(hit.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  311. else
  312. TakeDamage(h, Damage / 2)
  313. ShowDamage(hit.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.new("Bright blue").Color)
  314. end
  315. if Type == "Knockdown" then
  316. hum = hit.Parent.Humanoid
  317. hum.PlatformStand = true
  318. coroutine.resume(coroutine.create(function(HHumanoid)
  319. swait(1)
  320. HHumanoid.PlatformStand = false
  321. end), hum)
  322. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  323. local bodvol = Instance.new("BodyVelocity")
  324. bodvol.velocity = angle * knockback
  325. bodvol.P = 5000
  326. bodvol.maxForce = Vector3.new(8000, 8000, 8000)
  327. bodvol.Parent = hit
  328. local rl = Instance.new("BodyAngularVelocity")
  329. rl.P = 3000
  330. rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  331. rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  332. rl.Parent = hit
  333. game:GetService("Debris"):AddItem(bodvol, 0.5)
  334. game:GetService("Debris"):AddItem(rl, 0.5)
  335. elseif Type == "Normal" then
  336. local vp = Instance.new("BodyVelocity")
  337. vp.P = 500
  338. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  339. if KnockbackType == 1 then
  340. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  341. elseif KnockbackType == 2 then
  342. vp.velocity = Property.CFrame.lookVector * knockback
  343. end
  344. if knockback > 0 then
  345. vp.Parent = hit.Parent.Torso
  346. end
  347. game:GetService("Debris"):AddItem(vp, 0.1)
  348. elseif Type == "Up" then
  349. local bodyVelocity = Instance.new("BodyVelocity")
  350. bodyVelocity.velocity = vt(0, 60, 0)
  351. bodyVelocity.P = 5000
  352. bodyVelocity.maxForce = Vector3.new(8000, 8000, 8000)
  353. bodyVelocity.Parent = hit
  354. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  355. local rl = Instance.new("BodyAngularVelocity")
  356. rl.P = 3000
  357. rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  358. rl.angularvelocity = Vector3.new(math.random(-30, 30), math.random(-30, 30), math.random(-30, 30))
  359. rl.Parent = hit
  360. game:GetService("Debris"):AddItem(rl, 0.5)
  361. elseif Type == "Snare" then
  362. local bp = Instance.new("BodyPosition")
  363. bp.P = 2000
  364. bp.D = 100
  365. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  366. bp.position = hit.Parent.Torso.Position
  367. bp.Parent = hit.Parent.Torso
  368. game:GetService("Debris"):AddItem(bp, 1)
  369. elseif Type == "Target" then
  370. local Targetting = false
  371. if Targetting == false then
  372. local ZTarget = hit.Parent.Torso
  373. coroutine.resume(coroutine.create(function(Part)
  374. so("http://www.roblox.com/asset/?id=15666462", Part, 1, 1.5)
  375. swait(5)
  376. so("http://www.roblox.com/asset/?id=15666462", Part, 1, 1.5)
  377. end), ZTarget)
  378. local TargHum = ZTarget.Parent:findFirstChild("Humanoid")
  379. local targetgui = Instance.new("BillboardGui")
  380. targetgui.Parent = ZTarget
  381. targetgui.Size = UDim2.new(10, 100, 10, 100)
  382. local targ = Instance.new("ImageLabel")
  383. targ.Parent = targetgui
  384. targ.BackgroundTransparency = 1
  385. targ.Image = "rbxassetid://4834067"
  386. targ.Size = UDim2.new(1, 0, 1, 0)
  387. cam.CameraType = "Scriptable"
  388. cam.CoordinateFrame = CFrame.new(Head.CFrame.p, ZTarget.Position)
  389. local dir = Vector3.new(cam.CoordinateFrame.lookVector.x, 0, cam.CoordinateFrame.lookVector.z)
  390. workspace.CurrentCamera.CoordinateFrame = CFrame.new(Head.CFrame.p, ZTarget.Position)
  391. Targetting = true
  392. local RocketTarget = ZTarget
  393. for i = 1, Property do
  394. if 0 < TargHum.Health and Character.Parent ~= nil and 0 < TargHum.Health and TargHum.Parent ~= nil and Targetting == true then
  395. swait()
  396. end
  397. cam.CoordinateFrame = CFrame.new(Head.CFrame.p, ZTarget.Position)
  398. dir = Vector3.new(cam.CoordinateFrame.lookVector.x, 0, cam.CoordinateFrame.lookVector.z)
  399. cam.CoordinateFrame = CFrame.new(Head.CFrame.p, ZTarget.Position) * cf(0, 5, 10) * euler(-0.3, 0, 0)
  400. end
  401. Targetting = false
  402. RocketTarget = nil
  403. targetgui.Parent = nil
  404. cam.CameraType = "Custom"
  405. end
  406. end
  407. local debounce = Instance.new("BoolValue")
  408. debounce.Name = "DebounceHit"
  409. debounce.Parent = hit.Parent
  410. debounce.Value = true
  411. game:GetService("Debris"):AddItem(debounce, Delay)
  412. c = Instance.new("ObjectValue")
  413. c.Name = "creator"
  414. c.Value = Player
  415. c.Parent = h
  416. game:GetService("Debris"):AddItem(c, 0.5)
  417. end
  418. end
  419. function ShowDamage(Pos, Text, Time, Color)
  420. local Rate = 0.03333333333333333
  421. local Pos = Pos or Vector3.new(0, 0, 0)
  422. local Text = Text or ""
  423. local Time = Time or 2
  424. local Color = Color or Color3.new(1, 0, 0)
  425. local EffectPart = part("Custom", workspace, "Neon", 0, 1, BrickColor.new(Color), "Effect", vt(0, 0, 0))
  426. EffectPart.Anchored = true
  427. local BillboardGui = Instance.new("BillboardGui")
  428. BillboardGui.Size = UDim2.new(3, 3, 3, 3)
  429. BillboardGui.Adornee = EffectPart
  430. local TextLabel = Instance.new("TextLabel")
  431. TextLabel.BackgroundTransparency = 1
  432. TextLabel.Size = UDim2.new(3, 3, 3, 3)
  433. TextLabel.Text = Text
  434. TextLabel.TextColor3 = Color
  435. TextLabel.TextStrokeColor3 = BrickColor.new("Really black").Color
  436. TextLabel.TextScaled = true
  437. TextLabel.TextStrokeTransparency = 0
  438. TextLabel.Font = Enum.Font.SourceSansBold
  439. TextLabel.Parent = BillboardGui
  440. BillboardGui.Parent = EffectPart
  441. game.Debris:AddItem(EffectPart, Time + 0.1)
  442. EffectPart.Parent = game:GetService("Workspace")
  443. Delay(0, function()
  444. local Frames = Time / Rate
  445. for Frame = 1, Frames do
  446. wait(Rate)
  447. local Percent = Frame / Frames
  448. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  449. TextLabel.TextTransparency = Percent
  450. TextLabel.TextStrokeTransparency = Percent
  451. end
  452. if EffectPart and EffectPart.Parent then
  453. EffectPart:Destroy()
  454. end
  455. end)
  456. end
  457. function LoadOutfit()
  458. local Player = game.Players.LocalPlayer
  459. local InsertService = game:GetService("InsertService")
  460. local char = Player.Character
  461. local face = char.Head.face
  462. local color = char["Body Colors"]
  463. local Data = {
  464. Pants = "rbxassetid://163845518",
  465. Shirt = "rbxassetid://225706293",
  466. Hat = 30380659,
  467. Face = "rbxassetid://159139241",
  468. BodyColor = "Pastel brown"
  469. }
  470. for i, v in pairs(char:children()) do
  471. if v.ClassName == "Hat" then
  472. v:Destroy()
  473. elseif v.ClassName == "Shirt" then
  474. v:Destroy()
  475. elseif v.ClassName == "Pants" then
  476. v:Destroy()
  477. end
  478. end
  479. color.HeadColor = BrickColor.new("Pastel brown")
  480. color.TorsoColor = BrickColor.new("Pastel brown")
  481. color.LeftArmColor = BrickColor.new("Pastel brown")
  482. color.LeftLegColor = BrickColor.new("Pastel brown")
  483. color.RightArmColor = BrickColor.new("Pastel brown")
  484. color.RightLegColor = BrickColor.new("Pastel brown")
  485. face.Texture = Data.Face
  486. InsertService:LoadAsset(Data.Hat):children()[1].Parent = char
  487. local shirt = Instance.new("Shirt", char)
  488. shirt.ShirtTemplate = Data.Shirt
  489. local pants = Instance.new("Pants", char)
  490. pants.PantsTemplate = Data.Pants
  491. end
  492. function MakeOrb(Type)
  493. local this = {}
  494. local LightOrDark
  495. if Type == nil then
  496. LightOrDark = math.random(0, 1)
  497. else
  498. LightOrDark = Type
  499. end
  500. local Orb = Instance.new("Part", Orbs)
  501. Orb.Anchored = true
  502. Orb.Material = "Neon"
  503. if LightOrDark == 1 then
  504. Orb.BrickColor = BrickColor.new("Fucking Gray")
  505. else
  506. Orb.BrickColor = BrickColor.new("Fucking Gray")
  507. end
  508. Orb.CFrame = torso.CFrame
  509. Orb.CanCollide = false
  510. Orb.Shape = "Ball"
  511. Orb.Size = Vector3.new(0.9, 0.9, 0.9)
  512. Orb.BottomSurface = "Smooth"
  513. Orb.TopSurface = "Smooth"
  514. Orb.Locked = true
  515. local Outline = Instance.new("Part", Orbs)
  516. Outline.Anchored = true
  517. Outline.Material = "Neon"
  518. if LightOrDark == 1 then
  519. Outline.BrickColor = BrickColor.new("Fucking Gray")
  520. else
  521. Outline.BrickColor = BrickColor.new("Fucking Gray")
  522. end
  523. Outline.CFrame = torso.CFrame
  524. Outline.CanCollide = false
  525. Outline.Shape = "Ball"
  526. Outline.Size = Vector3.new(1, 1, 1)
  527. Outline.BottomSurface = "Smooth"
  528. Outline.TopSurface = "Smooth"
  529. Outline.Transparency = 0.75
  530. Outline.Locked = true
  531. local OrbWeld = newWeld(Outline, Orb, 0, 0, 0)
  532. weld = Instance.new("Weld", Orb)
  533. weld.Part0 = Orb
  534. weld.Part1 = Outline
  535. weld.C0 = CFrame.new(0, 0, 0)
  536. local OrbMesh = Instance.new("SpecialMesh", Orb)
  537. OrbMesh.MeshType = "Sphere"
  538. OrbMesh.Scale = Vector3.new(0.9, 0.9, 0.9)
  539. local OutlineMesh = Instance.new("SpecialMesh", Outline)
  540. OutlineMesh.MeshType = "Sphere"
  541. OutlineMesh.Scale = Vector3.new(1, 1, 1)
  542. function this.Size(v3)
  543. OrbMesh.Scale = Lerp2(OrbMesh.Scale, v3 - Vector3.new(0.1, 0.1, 0.1), 0.3)
  544. OutlineMesh.Scale = Lerp2(OutlineMesh.Scale, v3, 0.3)
  545. end
  546. function this.CFrame(cf)
  547. Orb.CFrame = cf
  548. Outline.CFrame = Orb.CFrame
  549. end
  550. return Orb, Outline, this
  551. end
  552. function TailedBeastBomb()
  553. local this = {}
  554. local TailedBeastBomb = Instance.new("Model", char)
  555. local Outer = Instance.new("Part", TailedBeastBomb)
  556. Outer.Material = "Neon"
  557. Outer.Name = "Outer"
  558. Outer.BrickColor = BrickColor.new("Really black")
  559. Outer.CFrame = CFrame.new(0, 0, 0)
  560. Outer.Locked = true
  561. Outer.Size = Vector3.new(4, 4, 4)
  562. Outer.CanCollide = false
  563. Outer.Transparency = 0.25
  564. local OuterMesh = Instance.new("SpecialMesh", Outer)
  565. OuterMesh.MeshType = "Sphere"
  566. OuterMesh.Scale = Vector3.new(1, 1, 1)
  567. local Inner = Instance.new("Part", TailedBeastBomb)
  568. Inner.Material = "Neon"
  569. Inner.Name = "Inner"
  570. Inner.BrickColor = BrickColor.new("Institutional white")
  571. Inner.CFrame = Outer.CFrame
  572. Inner.Locked = true
  573. Inner.Size = Outer.Size - Vector3.new(1, 1, 1)
  574. Inner.CanCollide = false
  575. Inner.Transparency = 0.8
  576. local InnerMesh = Instance.new("SpecialMesh", Inner)
  577. InnerMesh.MeshType = "Sphere"
  578. InnerMesh.Scale = Vector3.new(1, 1, 1)
  579. local InnerOuterWeld = Instance.new("Weld", Inner)
  580. InnerOuterWeld.Part0 = Inner
  581. InnerOuterWeld.Part1 = Outer
  582. InnerOuterWeld.C0 = CFrame.new(0, 0, 0)
  583. local Core = Instance.new("Part", TailedBeastBomb)
  584. Core.Material = "Neon"
  585. Core.Name = "Core"
  586. Core.BrickColor = BrickColor.new("New Yeller")
  587. Core.CFrame = Outer.CFrame
  588. Core.Locked = true
  589. Core.Size = Inner.Size - Vector3.new(2, 2, 2)
  590. Core.CanCollide = false
  591. Core.Shape = 0
  592. Core.Transparency = 0
  593. local CoreMesh = Instance.new("SpecialMesh", Core)
  594. CoreMesh.MeshType = "Sphere"
  595. CoreMesh.Scale = Vector3.new(1, 1, 1)
  596. local InnerCoreWeld = Instance.new("Weld", Inner)
  597. InnerCoreWeld.Part0 = Inner
  598. InnerCoreWeld.Part1 = Core
  599. InnerCoreWeld.C0 = CFrame.new(0, 0, 0)
  600. function this.reSize(v3)
  601. Outer.Size = Lerp2(Outer.Size, v3, 0.3)
  602. Inner.Size = Lerp2(Inner.Size, Outer.Size - Vector3.new(1, 1, 1), 0.3)
  603. Core.Size = Lerp2(Core.Size, Inner.Size - Vector3.new(2, 2, 2), 0.3)
  604. end
  605. return Outer, Inner, Core, this
  606. end
  607. function SpawnRasengan(m, cf)
  608. local Rasengan = Instance.new("Part", m)
  609. Rasengan.BrickColor = BrickColor.new("Bright blue")
  610. Rasengan.Material = "Neon"
  611. Rasengan.Anchored = true
  612. Rasengan.CFrame = cf or CFrame.new(0, 0, 0)
  613. Rasengan.CanCollide = false
  614. Rasengan.CanCollide = true
  615. Rasengan.BottomSurface = "Smooth"
  616. Rasengan.TopSurface = "Smooth"
  617. Rasengan.Locked = true
  618. Rasengan.Size = Vector3.new(0.9, 0.9, 0.9)
  619. local RasenganMesh = Instance.new("SpecialMesh", Rasengan)
  620. RasenganMesh.MeshType = "Sphere"
  621. local Outline = Instance.new("Part", m)
  622. Outline.BrickColor = BrickColor.new("Institutional white")
  623. Outline.Material = "Neon"
  624. Outline.Transparency = 0.7
  625. Outline.Anchored = true
  626. Outline.CanCollide = false
  627. Outline.CanCollide = true
  628. Outline.BottomSurface = "Smooth"
  629. Outline.TopSurface = "Smooth"
  630. Outline.Locked = true
  631. Outline.CFrame = Rasengan.CFrame
  632. Outline.Size = Rasengan.Size + Vector3.new(0.1, 0.1, 0.1)
  633. local OutlineMesh = Instance.new("SpecialMesh", Outline)
  634. OutlineMesh.MeshType = "Sphere"
  635. local RasenWeld = Instance.new("Weld", Rasengan)
  636. RasenWeld.Part0 = Rasengan
  637. RasenWeld.Part1 = Outline
  638. RasenWeld.C0 = CFrame.new(0, 0, 0)
  639. return Rasengan, Outline
  640. end
  641. function SpawnRasenShurikan(m, cf)
  642. local Rasengan, Outline = SpawnRasengan(m, cf)
  643. local this = {}
  644. local interval = 0
  645. Rasengan.BrickColor = BrickColor.new("Crimson")
  646. Outline.BrickColor = BrickColor.new("Really black")
  647. local Shurikan = Instance.new("Part", m)
  648. Shurikan.BrickColor = BrickColor.new("Institutional white")
  649. Shurikan.Material = "Neon"
  650. Shurikan.Anchored = true
  651. Shurikan.CanCollide = false
  652. Shurikan.BottomSurface = "Smooth"
  653. Shurikan.TopSurface = "Smooth"
  654. Shurikan.Locked = true
  655. Shurikan.Size = Vector3.new(1, 1, 1)
  656. Shurikan.CFrame = Rasengan.CFrame
  657. local ShurikanMesh = Instance.new("SpecialMesh", Shurikan)
  658. ShurikanMesh.MeshType = "FileMesh"
  659. ShurikanMesh.MeshId = "rbxassetid://11376946"
  660. ShurikanMesh.Scale = Vector3.new(7, 7, 7)
  661. ShurikanMesh.TextureId = "rbxassetid://269748808"
  662. function this.Start()
  663. local Event = game:GetService("RunService").RenderStepped:connect(function()
  664. interval = interval + 60
  665. Shurikan.CFrame = Rasengan.CFrame * CFrame.Angles(math.rad(0), math.rad(interval), math.rad(0))
  666. end)
  667. this.Connections = Event
  668. end
  669. function this.Stop()
  670. this.Connections:disconnect()
  671. Shurikan.CFrame = Rasengan.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  672. end
  673. return Rasengan, Outline, Shurikan, ShurikanMesh, this
  674. end
  675. function InstanceService()
  676. local OldInstance = Instance
  677. local Instance = newproxy(true)
  678. local Meta = getmetatable(Instance)
  679. local InstanceData = {
  680. Properties = {
  681. __READONLY = {ClassName = "Instance"}
  682. },
  683. Methods = {},
  684. Events = {},
  685. Private = {
  686. Registered = {},
  687. Util = LoadLibrary("RbxUtility")
  688. },
  689. __META = {SERVICE_MODEL_VERSION = "0.1.0"}
  690. }
  691. local Properties = InstanceData.Properties
  692. local Methods = InstanceData.Methods
  693. local Events = InstanceData.Events
  694. local Private = InstanceData.Private
  695. local function CreateEvent(EventName)
  696. Events[EventName] = {}
  697. local Signal = Private.Util.CreateSignal()
  698. local Event = InstanceData.Events[EventName]
  699. function Event:connect(func)
  700. local this = {}
  701. if self ~= Event then
  702. error("connect must be called with `:`, not `.`", 2)
  703. end
  704. if type(func) ~= "function" then
  705. error("Argument #1 of connect must be a function, got a " .. type(func), 2)
  706. end
  707. Signal:connect(func)
  708. function this:disconnect()
  709. if self ~= this then
  710. error("disconnect must be called with `:`, not `.`", 2)
  711. end
  712. Signal:disconnect()
  713. end
  714. return this
  715. end
  716. return Signal
  717. end
  718. local CheckSelf = function(self)
  719. repeat
  720. if not self then
  721. return false, "\":\" Expected, got \".\""
  722. else
  723. if not self or type(self) == "table" then
  724. end
  725. do return false, "\"userdata or table\" Expected, got \"" .. type(self) .. "\"" end
  726. do break end
  727. if not self or type(self) ~= "table" then
  728. end
  729. return true
  730. end
  731. until true
  732. end
  733. local function MetaIndex(_table, index)
  734. if Properties[index] and index:sub(1, 2) ~= "__" then
  735. return Properties[index]
  736. elseif Properties.__READONLY[index] then
  737. return Properties.__READONLY[index]
  738. elseif Methods[index] then
  739. return Methods[index]
  740. elseif Events[index] then
  741. return Events[index]
  742. end
  743. end
  744. local function MetaNewIndex(_table, index, value)
  745. if Properties[index] and index:sub(1, 2) ~= "__" and type(value) ~= "function" then
  746. if index:sub(1, 2) == "__" then
  747. return error(index .. " is not a valid member of " .. Properties.__READONLY.ClassName)
  748. else
  749. Properties[index] = value
  750. end
  751. end
  752. end
  753. function Methods.register(name, constructor)
  754. if type(name) ~= "string" then
  755. error("Argument #1 of register must be a string, got a " .. type(name))
  756. end
  757. if type(constructor) ~= "function" then
  758. error("Argument #2 of register must be a function, got a " .. type(constructor))
  759. end
  760. Private.Registered[name] = constructor
  761. end
  762. function Methods.new(name, parent, options)
  763. local Parent
  764. if type(parent) == "table" then
  765. if parent[Parent] then
  766. Parent = options[Parent]
  767. else
  768. Parent = nil
  769. end
  770. elseif type(parent) == "userdata" then
  771. Parent = parent
  772. end
  773. if Private.Registered[name] then
  774. return Private.Registered[name](Parent, options)
  775. else
  776. return OldInstance.new(name, Parent)
  777. end
  778. end
  779. Meta.__index = MetaIndex
  780. Meta.__newindex = MetaNewIndex
  781. Meta.__metatable = "The metatable is locked"
  782. return Instance
  783. end
  784. function TruthSeekerOrb()
  785. local O1, O2 = MakeOrb()
  786. local Orb = newproxy(true)
  787. local OrbMeta = getmetatable(Orb)
  788. local OrbProperties = {
  789. ReadOnly = {
  790. ClassName = "TruthSeekerOrb",
  791. _VERSION = "0.1.0"
  792. },
  793. Parent = Orbs,
  794. CFrame = CFrame.new(0, 0, 0),
  795. Size = Vector3.new(0, 0, 0),
  796. Touched = O1.Touched,
  797. Outline = O2
  798. }
  799. local OrbPrivateData = {Orb = O1, Outline = O2}
  800. local OrbMethods = {}
  801. function OrbMeta.__index(_table, index)
  802. if OrbProperties[index] then
  803. if index == "CFrame" then
  804. return OrbPrivateData.Orb.CFrame
  805. elseif index == "Size" then
  806. return OrbPrivateData.Orb.Size
  807. elseif index == "ReadOnly" then
  808. return nil
  809. elseif index == "Parent" then
  810. return OrbPrivateData.Orb.Parent
  811. else
  812. return OrbProperties[index]
  813. end
  814. elseif OrbProperties.ReadOnly[index] then
  815. return OrbProperties.ReadOnly[index]
  816. elseif OrbMethods[index] then
  817. return OrbMethods[index]
  818. end
  819. end
  820. function OrbMeta.__newindex(_table, index, value)
  821. if OrbProperties[index] then
  822. if not type(value) ~= "function" then
  823. if index == "CFrame" then
  824. OrbPrivateData.Orb.CFrame = value
  825. OrbPrivateData.Outline.CFrame = value
  826. elseif index == "Size" then
  827. OrbPrivateData.Orb.Mesh.Scale = Lerp2(OrbPrivateData.Orb.Mesh.Scale, value - Vector3.new(0.1, 0.1, 0.1), 0.3)
  828. OrbPrivateData.Outline.Mesh.Scale = Lerp2(OrbPrivateData.Outline.Mesh.Scale, value, 0.3)
  829. elseif index == "Parent" then
  830. OrbPrivateData.Orb.Parent = value
  831. OrbPrivateData.Outline.Parent = value
  832. elseif index == "ReadOnly" then
  833. return error("can't set protected value")
  834. else
  835. OrbProperties[index] = value
  836. end
  837. end
  838. elseif OrbProperties.ReadOnly[index] then
  839. return error("can't set value")
  840. end
  841. end
  842. local CheckSelf = function(s)
  843. if not s then
  844. return false, "\":\" Expected, got \".\""
  845. end
  846. return true, ""
  847. end
  848. function OrbMethods:Destroy()
  849. assert(CheckSelf(self))
  850. OrbPrivateData.Orb:Destroy()
  851. OrbPrivateData.Outline:Destroy()
  852. end
  853. return Orb
  854. end
  855. function Rasengan(m, options)
  856. local m = Instance.new("Model", m)
  857. local r, o = SpawnRasengan(m, options.CFrame or nil)
  858. local Rasengan = newproxy(true)
  859. local RasenganMeta = getmetatable(Rasengan)
  860. local RasenganData = {Rasengan = r, Outline = o}
  861. local RasenganProperties = {
  862. __Protected = {ClassName = "Rasengan"},
  863. Parent = m,
  864. Size = Vector3.new(0, 0, 0),
  865. CFrame = CFrame.new(0, 0, 0),
  866. Transparency = 0
  867. }
  868. local RasenganMethods = {}
  869. local RasenganEvents = {}
  870. local CreateSignal = function()
  871. local this = {}
  872. local mBindableEvent = Instance.new("BindableEvent")
  873. local mAllCns = {}
  874. function this:connect(func)
  875. if self ~= this then
  876. error("connect must be called with `:`, not `.`", 2)
  877. end
  878. if type(func) ~= "function" then
  879. error("Argument #1 of connect must be a function, got a " .. type(func), 2)
  880. end
  881. local cn = mBindableEvent.Event:connect(func)
  882. mAllCns[cn] = true
  883. local pubCn = {}
  884. function pubCn:disconnect()
  885. cn:disconnect()
  886. mAllCns[cn] = nil
  887. end
  888. return pubCn
  889. end
  890. function this:disconnect()
  891. if self ~= this then
  892. error("disconnect must be called with `:`, not `.`", 2)
  893. end
  894. for cn, _ in pairs(mAllCns) do
  895. cn:disconnect()
  896. mAllCns[cn] = nil
  897. end
  898. end
  899. function this:wait()
  900. if self ~= this then
  901. error("wait must be called with `:`, not `.`", 2)
  902. end
  903. return mBindableEvent.Event:wait()
  904. end
  905. function this:fire(...)
  906. if self ~= this then
  907. error("fire must be called with `:`, not `.`", 2)
  908. end
  909. mBindableEvent:Fire(...)
  910. end
  911. return this
  912. end
  913. local function CreateEvent(EventName)
  914. RasenganEvents[EventName] = {}
  915. local Signal = CreateSignal()
  916. local Event = RasenganEvents[EventName]
  917. function Event:connect(func)
  918. local this = {}
  919. if self ~= Event then
  920. error("connect must be called with `:`, not `.`", 2)
  921. end
  922. if type(func) ~= "function" then
  923. error("Argument #1 of connect must be a function, got a " .. type(func), 2)
  924. end
  925. Signal:connect(func)
  926. function this:disconnect()
  927. if self ~= this then
  928. error("disconnect must be called with `:`, not `.`", 2)
  929. end
  930. Signal:disconnect()
  931. end
  932. return this
  933. end
  934. return Signal
  935. end
  936. local Touched = CreateEvent("Touched")
  937. local Method = RasenganMethods
  938. local CheckSelf = function(self)
  939. if not self then
  940. return false, "\":\" Expected, got \".\""
  941. else
  942. return true
  943. end
  944. end
  945. function Method:Destroy()
  946. assert(CheckSelf(self))
  947. if m then
  948. m:Destroy()
  949. end
  950. if RasenganData.Outline then
  951. RasenganData.Outline:Destroy()
  952. end
  953. if RasenganData.Rasengan then
  954. RasenganData.Rasengan:Destroy()
  955. end
  956. end
  957. local function Handle_GET_Property(index)
  958. if index == "Parent" then
  959. return RasenganData.Rasengan.Parent
  960. elseif index == "Size" then
  961. return RasenganData.Rasengan.Size
  962. elseif index == "CFrame" then
  963. return RasenganData.Rasengan.CFrame
  964. elseif index == "Transparency" then
  965. return RasenganData.Rasengan.Transparency
  966. end
  967. end
  968. local function Handle_SET_Property(index, value)
  969. if index == "Parent" then
  970. RasenganData.Rasengan.Parent = value
  971. RasenganData.Outline.Parent = value
  972. elseif index == "Size" then
  973. RasenganData.Rasengan.Size = Lerp2(RasenganData.Rasengan.Size, value - Vector3.new(0.1, 0.1, 0.1) * value, 0.3)
  974. RasenganData.Outline.Size = Lerp2(RasenganData.Outline.Size, value, 0.3)
  975. elseif index == "CFrame" then
  976. RasenganData.Rasengan.CFrame = value
  977. RasenganData.Outline.CFrame = value
  978. elseif index == "Transparency" then
  979. RasenganData.Rasengan.Transparency = value / 0.7
  980. RasenganData.Outline.Transparency = value / 0.7
  981. end
  982. end
  983. function RasenganMeta.__index(_table, index)
  984. if RasenganProperties[index] then
  985. if index:sub(1, 2) == "__" then
  986. return nil
  987. else
  988. return Handle_GET_Property(index)
  989. end
  990. elseif RasenganProperties.__Protected[index] then
  991. return RasenganProperties.__Protected[index]
  992. elseif RasenganMethods[index] then
  993. return RasenganMethods[index]
  994. elseif RasenganEvents[index] then
  995. return RasenganEvents[index]
  996. else
  997. error(index .. " is not a valid member of " .. RasenganProperties.__Protected.ClassName)
  998. end
  999. end
  1000. function RasenganMeta.__newindex(_table, index, value)
  1001. if RasenganProperties[index] then
  1002. if not type(value) ~= "function" then
  1003. if index:sub(1, 2) == "__" then
  1004. return error(index .. " is not a valid member of " .. RasenganProperties.__Protected.ClassName)
  1005. else
  1006. Handle_SET_Property(index, value)
  1007. end
  1008. end
  1009. elseif RasenganProperties.__Protected[index] then
  1010. return error("can't set value")
  1011. else
  1012. error(index .. " is not a valid member of " .. RasenganProperties.__Protected.ClassName)
  1013. end
  1014. end
  1015. RasenganMeta.__metatable = "The metatable is locked"
  1016. return Rasengan
  1017. end
  1018. function RasenShurikan(m, options)
  1019. local m = Instance.new("Model", m)
  1020. local r, o, s, sm, lib = SpawnRasenShurikan(m, options.CFrame or nil)
  1021. local Rasengan = newproxy(true)
  1022. local RasenganMeta = getmetatable(Rasengan)
  1023. local RasenganData = {
  1024. Rasengan = r,
  1025. Outline = o,
  1026. Shurikan = s,
  1027. ShurikanMesh = sm,
  1028. Lib = lib
  1029. }
  1030. local RasenganProperties = {
  1031. __Protected = {ClassName = "Rasengan"},
  1032. Parent = m,
  1033. Size = Vector3.new(0, 0, 0),
  1034. CFrame = CFrame.new(0, 0, 0),
  1035. Transparency = 0,
  1036. Base = r,
  1037. Outline = o
  1038. }
  1039. local RasenganMethods = {}
  1040. local RasenganEvents = {}
  1041. local CreateSignal = function()
  1042. local this = {}
  1043. local mBindableEvent = Instance.new("BindableEvent")
  1044. local mAllCns = {}
  1045. function this:connect(func)
  1046. if self ~= this then
  1047. error("connect must be called with `:`, not `.`", 2)
  1048. end
  1049. if type(func) ~= "function" then
  1050. error("Argument #1 of connect must be a function, got a " .. type(func), 2)
  1051. end
  1052. local cn = mBindableEvent.Event:connect(func)
  1053. mAllCns[cn] = true
  1054. local pubCn = {}
  1055. function pubCn:disconnect()
  1056. cn:disconnect()
  1057. mAllCns[cn] = nil
  1058. end
  1059. return pubCn
  1060. end
  1061. function this:disconnect()
  1062. if self ~= this then
  1063. error("disconnect must be called with `:`, not `.`", 2)
  1064. end
  1065. for cn, _ in pairs(mAllCns) do
  1066. cn:disconnect()
  1067. mAllCns[cn] = nil
  1068. end
  1069. end
  1070. function this:wait()
  1071. if self ~= this then
  1072. error("wait must be called with `:`, not `.`", 2)
  1073. end
  1074. return mBindableEvent.Event:wait()
  1075. end
  1076. function this:fire(...)
  1077. if self ~= this then
  1078. error("fire must be called with `:`, not `.`", 2)
  1079. end
  1080. mBindableEvent:Fire(...)
  1081. end
  1082. return this
  1083. end
  1084. local function CreateEvent(EventName)
  1085. RasenganEvents[EventName] = {}
  1086. local Signal = CreateSignal()
  1087. local Event = RasenganEvents[EventName]
  1088. function Event:connect(func)
  1089. local this = {}
  1090. if self ~= Event then
  1091. error("connect must be called with `:`, not `.`", 2)
  1092. end
  1093. if type(func) ~= "function" then
  1094. error("Argument #1 of connect must be a function, got a " .. type(func), 2)
  1095. end
  1096. Signal:connect(func)
  1097. function this:disconnect()
  1098. if self ~= this then
  1099. error("disconnect must be called with `:`, not `.`", 2)
  1100. end
  1101. Signal:disconnect()
  1102. end
  1103. return this
  1104. end
  1105. return Signal
  1106. end
  1107. local Method = RasenganMethods
  1108. local CheckSelf = function(self)
  1109. if not self then
  1110. return false, "\":\" Expected, got \".\""
  1111. else
  1112. return true
  1113. end
  1114. end
  1115. function Method:Start()
  1116. assert(CheckSelf(self))
  1117. RasenganData.Lib.Start()
  1118. end
  1119. function Method:Stop()
  1120. assert(CheckSelf(self))
  1121. RasenganData.Lib.Stop()
  1122. end
  1123. function Method:Destroy(t)
  1124. assert(CheckSelf(self))
  1125. if t == "Rasengan" then
  1126. RasenganData.Rasengan:Destroy()
  1127. elseif t == "Outline" then
  1128. RasenganData.Outline:Destroy()
  1129. elseif t == "Shurikan" then
  1130. RasenganData.Shurikan:Destroy()
  1131. else
  1132. if m then
  1133. m:Destroy()
  1134. end
  1135. if RasenganData.Rasengan then
  1136. RasenganData.Rasengan:Destroy()
  1137. end
  1138. if RasenganData.Outline then
  1139. RasenganData.Outline:Destroy()
  1140. end
  1141. if RasenganData.Shurikan then
  1142. RasenganData.Shurikan:Destroy()
  1143. end
  1144. end
  1145. end
  1146. local function Handle_GET_Property(index)
  1147. if index == "Parent" then
  1148. return RasenganData.Rasengan.Parent
  1149. elseif index == "Size" then
  1150. return RasenganData.Rasengan.Size
  1151. elseif index == "CFrame" then
  1152. return RasenganData.Rasengan.CFrame
  1153. elseif index == "Transparency" then
  1154. return RasenganData.Rasengan.Transparency
  1155. else
  1156. return RasenganProperties[index]
  1157. end
  1158. end
  1159. local function Handle_SET_Property(index, value)
  1160. if index == "Parent" then
  1161. RasenganData.Rasengan.Parent = value
  1162. RasenganData.Outline.Parent = value
  1163. RasenganData.Shurikan.Parent = value
  1164. elseif index == "Size" then
  1165. RasenganData.Rasengan.Size = Lerp2(RasenganData.Rasengan.Size, value - Vector3.new(0.1, 0.1, 0.1) * value, 0.3)
  1166. RasenganData.Outline.Size = Lerp2(RasenganData.Outline.Size, value, 0.3)
  1167. RasenganData.ShurikanMesh.Scale = Lerp2(RasenganData.ShurikanMesh.Scale, value * 5.5, 0.3)
  1168. elseif index == "CFrame" then
  1169. RasenganData.Rasengan.CFrame = value
  1170. RasenganData.Outline.CFrame = value
  1171. RasenganData.Shurikan.CFrame = value
  1172. elseif index == "Transparency" then
  1173. RasenganData.Rasengan.Transparency = value / 0.7
  1174. RasenganData.Outline.Transparency = value / 0.7
  1175. end
  1176. end
  1177. function RasenganMeta.__index(_table, index)
  1178. if RasenganProperties[index] then
  1179. if index:sub(1, 2) == "__" then
  1180. return nil
  1181. else
  1182. return Handle_GET_Property(index)
  1183. end
  1184. elseif RasenganProperties.__Protected[index] then
  1185. return RasenganProperties.__Protected[index]
  1186. elseif RasenganMethods[index] then
  1187. return RasenganMethods[index]
  1188. elseif RasenganEvents[index] then
  1189. return RasenganEvents[index]
  1190. else
  1191. error(index .. " is not a valid member of " .. RasenganProperties.__Protected.ClassName)
  1192. end
  1193. end
  1194. function RasenganMeta.__newindex(_table, index, value)
  1195. if RasenganProperties[index] then
  1196. if not type(value) ~= "function" then
  1197. if index:sub(1, 2) == "__" then
  1198. return error(index .. " is not a valid member of " .. RasenganProperties.__Protected.ClassName)
  1199. else
  1200. Handle_SET_Property(index, value)
  1201. end
  1202. end
  1203. elseif RasenganProperties.__Protected[index] then
  1204. return error("can't set value")
  1205. else
  1206. error(index .. " is not a valid member of " .. RasenganProperties.__Protected.ClassName)
  1207. end
  1208. end
  1209. RasenganMeta.__metatable = "The metatable is locked"
  1210. return Rasengan
  1211. end
  1212. local Instance = InstanceService()
  1213. Instance.register("TruthSeekerOrb", TruthSeekerOrb)
  1214. Instance.register("Rasengan", Rasengan)
  1215. Instance.register("RasenShurikan", RasenShurikan)
  1216. newWeld(torso, larm, -1.5, 0.5, 0)
  1217. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  1218. newWeld(torso, rarm, 1.5, 0.5, 0)
  1219. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  1220. newWeld(torso, hed, 0, 1.5, 0)
  1221. newWeld(torso, lleg, -0.5, -1, 0)
  1222. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  1223. newWeld(torso, rleg, 0.5, -1, 0)
  1224. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  1225. newWeld(root, torso, 0, -1, 0)
  1226. torso.Weld.C1 = CFrame.new(0, -1, 0)
  1227. local laDef = CFrame.new(-1.5, 0.5, 0)
  1228. local raDef = CFrame.new(1.5, 0.5, 0)
  1229. local hDef = CFrame.new(0, 1.5, 0)
  1230. local tDef = CFrame.new(0, -1, 0)
  1231. local llDef = CFrame.new(-0.5, -1, 0)
  1232. local rlDef = CFrame.new(0.5, -1, 0)
  1233. Orbs = Instance.new("Model", char)
  1234. Orbs.Name = "TruthseekerOrbs"
  1235. local Orb1 = Instance.new("TruthSeekerOrb")
  1236. local Orb2 = Instance.new("TruthSeekerOrb")
  1237. local Orb3 = Instance.new("TruthSeekerOrb")
  1238. local Orb4 = Instance.new("TruthSeekerOrb")
  1239. local Orb5 = Instance.new("TruthSeekerOrb")
  1240. local Orb6 = Instance.new("TruthSeekerOrb")
  1241. local Orb7 = Instance.new("TruthSeekerOrb")
  1242. local Orb8 = Instance.new("TruthSeekerOrb")
  1243. local Orbs_ = {
  1244. Orb1 = Orb1,
  1245. Orb2 = Orb2,
  1246. Orb3 = Orb3,
  1247. Orb4 = Orb4,
  1248. Orb5 = Orb5,
  1249. Orb6 = Orb6,
  1250. Orb7 = Orb7,
  1251. Orb8 = Orb8
  1252. }
  1253. local CurrentHealth = hum.Health
  1254. local DebounceShot = false
  1255. local OGDesign = 1
  1256. function TailedBeastBombAttack()
  1257. hum.WalkSpeed = 0
  1258. Debounces.CanAttack = false
  1259. Debounces.NoIdle = true
  1260. for i = 1, 10 do
  1261. larm.Weld.C0 = Lerp(larm.Weld.C0, laDef * CFrame.Angles(math.rad(0), math.rad(20), math.rad(-80)), 0.2)
  1262. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 45, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.2)
  1263. rarm.Weld.C0 = Lerp(rarm.Weld.C0, raDef * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(80)), 0.2)
  1264. hed.Weld.C0 = Lerp(hed.Weld.C0, hDef * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.2)
  1265. lleg.Weld.C0 = Lerp(lleg.Weld.C0, llDef * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.2)
  1266. rleg.Weld.C0 = Lerp(rleg.Weld.C0, rlDef * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.2)
  1267. wait()
  1268. end
  1269. function FindNearestTorso(Position, Distance, SinglePlayer)
  1270. if SinglePlayer then
  1271. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1272. end
  1273. local List = {}
  1274. for i, v in pairs(workspace:GetChildren()) do
  1275. if v:IsA("Model") and v:findFirstChild("Torso") and v ~= char and Distance >= (v.Torso.Position - Position).magnitude then
  1276. table.insert(List, v)
  1277. end
  1278. end
  1279. return List
  1280. end
  1281. local Outer, Inner, Core, Control = TailedBeastBomb()
  1282. local SetupWeld = Instance.new("Weld", Inner)
  1283. SetupWeld.Part0 = Inner
  1284. SetupWeld.Part1 = torso
  1285. SetupWeld.C0 = CFrame.new(0, 0, 10)
  1286. wait()
  1287. Core.Anchored = true
  1288. Outer.Anchored = true
  1289. Inner.Anchored = true
  1290. for i = 1, 16 do
  1291. Control.reSize(Lerp2(Outer.Size, Vector3.new(23, 23, 23), 0.3))
  1292. wait()
  1293. end
  1294. wait(0.5)
  1295. for i = 1, 20 do
  1296. larm.Weld.C0 = Lerp(larm.Weld.C0, laDef * CFrame.Angles(math.rad(0), math.rad(-80), math.rad(-80)), 0.2)
  1297. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 45, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  1298. rarm.Weld.C0 = Lerp(rarm.Weld.C0, raDef * CFrame.Angles(math.rad(0), math.rad(80), math.rad(80)), 0.2)
  1299. hed.Weld.C0 = Lerp(hed.Weld.C0, hDef * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2)
  1300. lleg.Weld.C0 = Lerp(lleg.Weld.C0, llDef * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.2)
  1301. rleg.Weld.C0 = Lerp(rleg.Weld.C0, rlDef * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.2)
  1302. wait()
  1303. end
  1304. SetupWeld:remove()
  1305. Core.Anchored = false
  1306. Outer.Anchored = false
  1307. Inner.Anchored = false
  1308. Shooter = Instance.new("BodyVelocity", Inner)
  1309. Shooter.maxForce = Vector3.new(1, 1, 1) * math.huge
  1310. Shooter.velocity = torso.CFrame.lookVector * 100
  1311. Shooter2 = Instance.new("BodyVelocity", Core)
  1312. Shooter2.maxForce = Vector3.new(1, 1, 1) * math.huge
  1313. Shooter2.velocity = torso.CFrame.lookVector * 100
  1314. Shooter3 = Instance.new("BodyVelocity", Outer)
  1315. Shooter3.maxForce = Vector3.new(1, 1, 1) * math.huge
  1316. Shooter3.velocity = torso.CFrame.lookVector * 100
  1317. Explode = Core.Touched:connect(function(hit)
  1318. if hit ~= char and hit.Name ~= "Outer" and hit.Name ~= "Inner" then
  1319. Inner:Destroy()
  1320. Outer:Destroy()
  1321. do
  1322. local cf = Core.CFrame
  1323. Shooter2:Destroy()
  1324. Core.Anchored = true
  1325. Explode:disconnect()
  1326. Core.Size = Vector3.new(3, 3, 3)
  1327. Core.Touched:connect(function(hit)
  1328. end)
  1329. Core.CanCollide = false
  1330. local part3 = Instance.new("Part", rarm)
  1331. part3.Anchored = true
  1332. part3.CanCollide = false
  1333. part3.Locked = true
  1334. part3.TopSurface = "SmoothNoOutlines"
  1335. part3.BottomSurface = "SmoothNoOutlines"
  1336. part3.FormFactor = "Custom"
  1337. part3.Size = Vector3.new(1, 1, 1)
  1338. part3.CFrame = Core.CFrame
  1339. part3.Transparency = 0
  1340. part3.BrickColor = BrickColor.new("Institutional white")
  1341. local mesh3 = Instance.new("SpecialMesh", part3)
  1342. mesh3.MeshType = "Sphere"
  1343. mesh3.Scale = Vector3.new(1, 1, 1)
  1344. local part4 = Instance.new("Part", rarm)
  1345. part4.Material = "Neon"
  1346. part4.Anchored = true
  1347. part4.CanCollide = false
  1348. part4.Locked = true
  1349. part4.TopSurface = "SmoothNoOutlines"
  1350. part4.BottomSurface = "SmoothNoOutlines"
  1351. part4.FormFactor = "Custom"
  1352. part4.Size = Vector3.new(1, 1, 1)
  1353. part4.CFrame = Core.CFrame
  1354. part4.Transparency = 1
  1355. part4.BrickColor = BrickColor.new("New Yeller")
  1356. local mesh4 = Instance.new("SpecialMesh", part4)
  1357. mesh4.MeshType = "Sphere"
  1358. mesh4.Scale = Vector3.new(0.5, 0.5, 0.5)
  1359. local part7 = Instance.new("Part", rarm)
  1360. part7.Material = "Neon"
  1361. part7.Anchored = true
  1362. part7.CanCollide = false
  1363. part7.Locked = true
  1364. part7.TopSurface = "SmoothNoOutlines"
  1365. part7.BottomSurface = "SmoothNoOutlines"
  1366. part7.FormFactor = "Custom"
  1367. part7.Size = Vector3.new(1, 1, 1)
  1368. part7.CFrame = Core.CFrame
  1369. part7.Transparency = 0
  1370. part7.BrickColor = BrickColor.new("Really black")
  1371. local mesh7 = Instance.new("SpecialMesh", part7)
  1372. mesh7.MeshType = "Sphere"
  1373. mesh7.Scale = Vector3.new(0.1, 0.1, 0.1)
  1374. for i, v in pairs(FindNearestTorso(Core.CFrame.p, 80)) do
  1375. if v:FindFirstChild("Humanoid") then
  1376. Damagefunc(Core, v.Torso, 10, 20, math.random(3, 6), "Normal", RootPart, 0.05, 1)
  1377. v.Humanoid.PlatformStand = true
  1378. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  1379. end
  1380. end
  1381. local acos = math.acos
  1382. local sqrt = math.sqrt
  1383. local Vec3 = Vector3.new
  1384. local fromAxisAngle = CFrame.fromAxisAngle
  1385. local function toAxisAngle(CFr)
  1386. local X, Y, Z, R00, R01, R02, R10, R11, R12, R20, R21, R22 = CFr:components()
  1387. local Angle = math.acos((R00 + R11 + R22 - 1) / 2)
  1388. local A = (R21 - R12) ^ 2 + (R02 - R20) ^ 2 + (R10 - R01) ^ 2
  1389. A = A == 0 and 1.0E-5 or A
  1390. local B = (R21 - R12) ^ 2 + (R02 - R20) ^ 2 + (R10 - R01) ^ 2
  1391. B = B == 0 and 1.0E-5 or B
  1392. local C = (R21 - R12) ^ 2 + (R02 - R20) ^ 2 + (R10 - R01) ^ 2
  1393. C = C == 0 and 1.0E-5 or C
  1394. local x = (R21 - R12) / sqrt(A)
  1395. local y = (R02 - R20) / sqrt(B)
  1396. local z = (R10 - R01) / sqrt(C)
  1397. return Vec3(x, y, z), Angle
  1398. end
  1399. function ApplyTrig(Num, Func)
  1400. local Min, Max = Func(0), Func(1)
  1401. local i = Func(Num)
  1402. return (i - Min) / (Max - Min)
  1403. end
  1404. function LerpCFrame(CFrame1, CFrame2, Num)
  1405. local Vec, Ang = toAxisAngle(CFrame1:inverse() * CFrame2)
  1406. return CFrame1 * fromAxisAngle(Vec, Ang * Num) + (CFrame2.p - CFrame1.p) * Num
  1407. end
  1408. function Crater(Torso, Radius)
  1409. Spawn(function()
  1410. local Ray = Ray.new(Torso.Position, Vector3.new(0, -1, 0) * 10)
  1411. local Ignore = {}
  1412. for i, v in pairs(game:GetService("Players"):GetPlayers()) do
  1413. if v.Character ~= nil then
  1414. Ignore[#Ignore + 1] = v.Character
  1415. end
  1416. end
  1417. local Hit, Pos, SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray, Ignore)
  1418. if Hit == nil then
  1419. return
  1420. end
  1421. local Parts = {}
  1422. for i = 1, 360, 10 do
  1423. local P = Instance.new("Part", Torso.Parent)
  1424. P.Anchored = true
  1425. P.FormFactor = "Custom"
  1426. P.BrickColor = BrickColor.new("Really black")
  1427. P.Material = "Neon"
  1428. P.TopSurface = "Smooth"
  1429. P.BottomSurface = "Smooth"
  1430. P.Size = Vector3.new(5, 10, 10) * (math.random(80, 100) / 100)
  1431. P.CFrame = (CFrame.new(Pos, Pos + SurfaceNorm) * CFrame.Angles(math.rad(90), 0, 0) - Vector3.new(0, 7, 0)) * CFrame.Angles(math.rad(math.random(-50, 50)), math.rad(math.random(-50, 50)), math.rad(math.random(-50, 50)))
  1432. Parts[#Parts + 1] = {
  1433. P,
  1434. P.CFrame,
  1435. (CFrame.new(Pos, Pos + SurfaceNorm) * CFrame.Angles(math.rad(90), 0, 0) - Vector3.new(0, 1, 0)) * CFrame.Angles(0, math.rad(i), 0) * CFrame.new(0, 0, -Radius) * CFrame.Angles(math.rad(math.random(-50, -20)), math.rad(math.random(-15, 15)), math.rad(math.random(-15, 15))),
  1436. P.Size
  1437. }
  1438. if math.random(0, 5) == 0 then
  1439. local P = Instance.new("Part", Torso.Parent)
  1440. P.Anchored = true
  1441. P.FormFactor = "Custom"
  1442. P.BrickColor = Hit.BrickColor
  1443. P.Material = Hit.Material
  1444. P.TopSurface = "Smooth"
  1445. P.BottomSurface = "Smooth"
  1446. P.Size = Vector3.new(2, 2, 2) * (math.random(80, 100) / 100)
  1447. P.CFrame = (CFrame.new(Pos, Pos + SurfaceNorm) * CFrame.Angles(math.rad(90), 0, 0) - Vector3.new(0, 2.5, 0)) * CFrame.Angles(math.rad(math.random(-50, 50)), math.rad(math.random(-50, 50)), math.rad(math.random(-50, 50)))
  1448. Parts[#Parts + 1] = {
  1449. P,
  1450. P.CFrame,
  1451. CFrame.new(Pos, Pos + SurfaceNorm) * CFrame.Angles(math.rad(90), 0, 0) * CFrame.Angles(0, math.rad(i), 0) * CFrame.new(0, 0, -Radius - 8) * CFrame.Angles(math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90))),
  1452. P.Size
  1453. }
  1454. end
  1455. end
  1456. for i = 0, 1, 0.05 do
  1457. for i2, v in pairs(Parts) do
  1458. v[1].CFrame = LerpCFrame(v[2], v[3], ApplyTrig(i, math.cos))
  1459. end
  1460. wait(0.02)
  1461. end
  1462. for i, v in pairs(Parts) do
  1463. if v[1].Size.X > 2.1 then
  1464. v[1].CFrame = v[1].CFrame + Vector3.new(0, 2, 0)
  1465. end
  1466. v[1].Anchored = false
  1467. end
  1468. for i = 0, 1, 0.05 do
  1469. for i2, v in pairs(Parts) do
  1470. v[1].Transparency = i
  1471. if i == 1 then
  1472. v[1]:Destroy()
  1473. elseif i >= 0.25 then
  1474. v[1].CanCollide = false
  1475. end
  1476. end
  1477. wait(0.02)
  1478. end
  1479. Parts = nil
  1480. end)
  1481. end
  1482. function ROW(out, trans, s, wt, t, ang, plus)
  1483. for i = 1, 360, 360 / t do
  1484. local c = Instance.new("Part", game.Workspace)
  1485. c.FormFactor = 3
  1486. c.TopSurface = 0
  1487. c.BottomSurface = 0
  1488. c.Size = s
  1489. c.Anchored = true
  1490. c.CanCollide = wt
  1491. c.Material = "Neon"
  1492. c.Transparency = trans
  1493. c.BrickColor = BrickColor.new("Really black")
  1494. c.CFrame = CFrame.new(Core.CFrame.x, 0, Core.CFrame.z) * CFrame.Angles(math.rad(20), math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang
  1495. c.Locked = true
  1496. game.Debris:AddItem(c, 15)
  1497. end
  1498. end
  1499. function Part(x, y, z, color, tr, cc, an, parent)
  1500. local p = Instance.new("Part", parent or Weapon)
  1501. p.formFactor = "Custom"
  1502. p.Size = Vector3.new(x, y, z)
  1503. p.BrickColor = BrickColor.new(color)
  1504. p.CanCollide = cc
  1505. p.Transparency = tr
  1506. p.Anchored = an
  1507. p.TopSurface, p.BottomSurface = 0, 0
  1508. p.Locked = true
  1509. p:BreakJoints()
  1510. return p
  1511. end
  1512. function Mesh(par, num, x, y, z)
  1513. local msh = _
  1514. if num == 1 then
  1515. msh = Instance.new("CylinderMesh", par)
  1516. elseif num == 2 then
  1517. msh = Instance.new("SpecialMesh", par)
  1518. msh.MeshType = 3
  1519. elseif num == 3 then
  1520. msh = Instance.new("BlockMesh", par)
  1521. elseif num == 4 then
  1522. msh = Instance.new("SpecialMesh", par)
  1523. msh.MeshType = "Torso"
  1524. elseif type(num) == "string" then
  1525. msh = Instance.new("SpecialMesh", par)
  1526. msh.MeshId = num
  1527. end
  1528. msh.Scale = Vector3.new(x, y, z)
  1529. return msh
  1530. end
  1531. function explosion(col1, col2, cfr, sz, rng, dmg)
  1532. local a = Part(1, 1, 1, col1, 0.5, false, true, workspace)
  1533. local a2 = Part(1, 1, 1, col2, 0.5, false, true, workspace)
  1534. local a3 = Part(1, 1, 1, col2, 0.5, false, true, workspace)
  1535. v1, v2, v3 = sz.x, sz.y, sz.z
  1536. local m = Mesh(a, "http://www.roblox.com/asset/?id=1185246", v1, v2, v3)
  1537. local m2 = Mesh(a2, 3, v1 / 3, v2 / 3, v3 / 3)
  1538. local m3 = Mesh(a3, 3, v1 / 3, v2 / 3, v3 / 3)
  1539. a.CFrame = cfr
  1540. a2.CFrame = cfr * CFrame.Angles(math.random(), math.random(), math.random())
  1541. a3.CFrame = cfr * CFrame.Angles(math.random(), math.random(), math.random())
  1542. Spawn(function()
  1543. while wait() do
  1544. if a.Transparency >= 1 then
  1545. a:Destroy()
  1546. a2:Destroy()
  1547. a3:Destroy()
  1548. break
  1549. end
  1550. m.Scale = m.Scale + Vector3.new(0.1, 0.1, 0.1)
  1551. m2.Scale = m2.Scale + Vector3.new(0.1, 0.1, 0.1)
  1552. m3.Scale = m3.Scale + Vector3.new(0.1, 0.1, 0.1)
  1553. a.Transparency = a.Transparency + 0.05
  1554. a2.Transparency = a2.Transparency + 0.05
  1555. a3.Transparency = a3.Transparency + 0.05
  1556. end
  1557. end)
  1558. end
  1559. local part = Instance.new("Part", rarm)
  1560. part.Anchored = true
  1561. part.CanCollide = false
  1562. part.Locked = true
  1563. part.FormFactor = "Custom"
  1564. part.Size = Vector3.new(1, 1, 1)
  1565. part.CFrame = Core.CFrame * CFrame.new(0, 0, 0)
  1566. part.Transparency = 1
  1567. part.BrickColor = BrickColor.new("Really black")
  1568. local mesh = Instance.new("SpecialMesh", part)
  1569. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1570. mesh.Scale = Vector3.new(2, 2, 2)
  1571. local part2 = part:clone()
  1572. part2.Parent = rarm
  1573. part2.BrickColor = BrickColor.new("Really black")
  1574. local part5 = part:clone()
  1575. part5.Parent = rarm
  1576. part5.BrickColor = BrickColor.new("New Yeller")
  1577. local part6 = part:clone()
  1578. part6.Parent = rarm
  1579. part6.BrickColor = BrickColor.new("Institutional white")
  1580. local mesh2 = mesh:clone()
  1581. mesh2.Parent = part2
  1582. mesh2.Scale = Vector3.new(3, 3, 3)
  1583. local mesh5 = mesh:clone()
  1584. mesh5.Parent = part5
  1585. mesh5.Scale = Vector3.new(3, 3, 3)
  1586. local mesh6 = mesh:clone()
  1587. mesh6.Parent = part6
  1588. mesh6.Scale = Vector3.new(3, 3, 3)
  1589. local blast = Instance.new("Part", rarm)
  1590. blast.BrickColor = BrickColor.new("Really black")
  1591. blast.Anchored = true
  1592. blast.CanCollide = false
  1593. blast.Locked = true
  1594. blast.Size = Vector3.new(1, 1, 1)
  1595. blast.TopSurface = "Smooth"
  1596. blast.BottomSurface = "Smooth"
  1597. blast.Transparency = 0.9
  1598. blast.CFrame = HandCF
  1599. local bm = Instance.new("SpecialMesh", blast)
  1600. bm.Scale = Vector3.new(5, 1, 5)
  1601. bm.MeshId = "rbxassetid://3270017"
  1602. local blast2 = Instance.new("Part", rarm)
  1603. blast2.BrickColor = BrickColor.new("New Yeller")
  1604. blast2.Anchored = true
  1605. blast2.CanCollide = false
  1606. blast2.Locked = true
  1607. blast2.Size = Vector3.new(1, 1, 1)
  1608. blast2.TopSurface = "Smooth"
  1609. blast2.BottomSurface = "Smooth"
  1610. blast2.Transparency = 0.9
  1611. blast2.CFrame = HandCF
  1612. local bm2 = Instance.new("SpecialMesh", blast2)
  1613. bm2.Scale = Vector3.new(3, 1, 3)
  1614. bm2.MeshId = "rbxassetid://3270017"
  1615. local blast3 = Instance.new("Part", rarm)
  1616. blast3.BrickColor = BrickColor.new("Institutional white")
  1617. blast3.Anchored = true
  1618. blast3.CanCollide = false
  1619. blast3.Locked = true
  1620. blast3.Size = Vector3.new(1, 1, 1)
  1621. blast3.TopSurface = "Smooth"
  1622. blast3.BottomSurface = "Smooth"
  1623. blast3.Transparency = 0.9
  1624. blast3.CFrame = HandCF
  1625. local bm3 = Instance.new("SpecialMesh", blast3)
  1626. bm3.Scale = Vector3.new(3, 1, 3)
  1627. bm3.MeshId = "rbxassetid://3270017"
  1628. for i = 1, 120 do
  1629. rs:wait()
  1630. Core.Transparency = Core.Transparency + 0.008333333333333333
  1631. part.Transparency = part.Transparency + 0.008333333333333333
  1632. part2.Transparency = part2.Transparency + 0.008333333333333333
  1633. part3.Transparency = part3.Transparency + 0.008333333333333333
  1634. part4.Transparency = part4.Transparency + 0.008333333333333333
  1635. part5.Transparency = part5.Transparency + 0.008333333333333333
  1636. part6.Transparency = part6.Transparency + 0.008333333333333333
  1637. part7.Transparency = part7.Transparency + 0.008333333333333333
  1638. blast.Transparency = blast.Transparency + 0.008333333333333333
  1639. blast2.Transparency = blast2.Transparency + 0.008333333333333333
  1640. blast3.Transparency = blast3.Transparency + 0.008333333333333333
  1641. Core.Size = Core.Size + Vector3.new(0.8, 0.8, 0.8)
  1642. mesh.Scale = mesh.Scale + Vector3.new(1, 0.2, 1)
  1643. mesh2.Scale = mesh2.Scale + Vector3.new(1.1, 0.2, 1.1)
  1644. mesh3.Scale = mesh3.Scale + Vector3.new(3, 3, 3)
  1645. mesh4.Scale = mesh4.Scale + Vector3.new(1.7, 1.7, 1.7)
  1646. mesh5.Scale = mesh5.Scale + Vector3.new(1.6, 0.2, 1.6)
  1647. mesh6.Scale = mesh6.Scale + Vector3.new(2, 0.2, 2)
  1648. mesh7.Scale = mesh7.Scale + Vector3.new(4, 4, 4)
  1649. bm.Scale = bm.Scale + Vector3.new(6, 6, 0.2)
  1650. bm2.Scale = bm2.Scale + Vector3.new(4, 4, 0.2)
  1651. bm3.Scale = bm3.Scale + Vector3.new(4, 4, 0.2)
  1652. Core.CFrame = cf
  1653. part.CFrame = Core.CFrame * CFrame.Angles(0, math.rad(i * 2), 0)
  1654. part2.CFrame = Core.CFrame * CFrame.Angles(0, math.rad(-i * 2), 0)
  1655. part3.CFrame = Core.CFrame
  1656. part4.CFrame = Core.CFrame
  1657. part7.CFrame = Core.CFrame
  1658. part5.CFrame = Core.CFrame * CFrame.Angles(0, math.rad(i * 2.6), 0)
  1659. part6.CFrame = Core.CFrame * CFrame.Angles(0, math.rad(-i * 2.4), 0)
  1660. blast.CFrame = Core.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1661. blast2.CFrame = Core.CFrame * CFrame.Angles(math.rad(-i * 4), math.rad(i * 4), math.rad(0))
  1662. blast3.CFrame = Core.CFrame * CFrame.Angles(math.rad(180 + i * 4), math.rad(90 - i * 4), math.rad(0))
  1663. rs:wait()
  1664. end
  1665. Core:Destroy()
  1666. part:Destroy()
  1667. part2:Destroy()
  1668. part3:Destroy()
  1669. part4:Destroy()
  1670. part5:Destroy()
  1671. part6:Destroy()
  1672. part7:Destroy()
  1673. blast:Destroy()
  1674. blast2:Destroy()
  1675. blast3:Destroy()
  1676. end
  1677. end
  1678. end)
  1679. Debounces.CanAttack = true
  1680. Debounces.NoIdle = false
  1681. hum.WalkSpeed = 16
  1682. end
  1683. function TruthSeekerOrbSheild()
  1684. Debounces.CanAttack = false
  1685. Debounces.NoIdle = true
  1686. Defence = true
  1687. CurrentHealth = hum.Health
  1688. torso.Anchored = true
  1689. Shield = Instance.new("Part", Orbs)
  1690. Shield.Shape = "Ball"
  1691. Shield.CanCollide = true
  1692. Shield.Anchored = true
  1693. Shield.Material = "Neon"
  1694. Shield.Name = "Shield"
  1695. Shield.Locked = true
  1696. Shield.Transparency = 0.3
  1697. Shield.BrickColor = BrickColor.new("Really black")
  1698. Shield.Size = Vector3.new(10.1, 10.1, 10.1)
  1699. Shield.CFrame = torso.CFrame
  1700. function onDamage(Part)
  1701. if Part:findFirstChild("Humanoid") == nil and Part:findFirstChild("BodyVelocity") ~= nil or Part:findFirstChild("Humanoid") == nil and Part:findFirstChild("RocketPropulsion") ~= nil then
  1702. Part.Anchored = true
  1703. if Part:findFirstChild("Mesh") ~= nil then
  1704. z = Part:findFirstChild("Mesh")
  1705. for i = 1, 5 do
  1706. z.Scale = z.Scale + Vector3.new(1, 1, 1)
  1707. wait(0.05)
  1708. end
  1709. end
  1710. end
  1711. end
  1712. Checker = Instance.new("Part", char)
  1713. Checker.Transparency = 0.99
  1714. Checker.Shape = "Ball"
  1715. Checker.Material = "Neon"
  1716. Checker.BrickColor = BrickColor.new("Institutional white")
  1717. Checker.Anchored = false
  1718. Checker.Locked = true
  1719. Checker.CFrame = torso.CFrame
  1720. Checker.CanCollide = false
  1721. Checker.Size = Vector3.new(20, 20, 20)
  1722. newWeld(Checker, torso, 0, 0, 0)
  1723. Checker.Touched:connect(onDamage)
  1724. InnerShield = Instance.new("Part", Orbs)
  1725. InnerShield.CanCollide = true
  1726. InnerShield.Anchored = true
  1727. InnerShield.Material = "Neon"
  1728. InnerShield.Name = "InnerShield"
  1729. InnerShield.Shape = "Ball"
  1730. InnerShield.Locked = true
  1731. InnerShield.BrickColor = BrickColor.new("Royal purple")
  1732. InnerShield.Size = Vector3.new(10, 10, 10)
  1733. InnerShield.CFrame = Shield.CFrame
  1734. newWeld(InnerShield, Shield, 0, 0, 0)
  1735. newWeld(Shield, torso, 0, 0, 0)
  1736. spawn(function()
  1737. while Defence == true do
  1738. hum.Health = CurrentHealth
  1739. hum.WalkSpeed = 0
  1740. wait()
  1741. end
  1742. end)
  1743. for i = 1, 16 do
  1744. for i, v in pairs(Orbs:children()) do
  1745. if v:IsA("Part") and v.Name ~= "InnerShield" and v.Name ~= "Shield" then
  1746. v.Transparency = v.Transparency + 0.1
  1747. end
  1748. end
  1749. wait()
  1750. end
  1751. end
  1752. function TruthSeekerOrbSheildUp()
  1753. Defence = false
  1754. Debounces.CanAttack = true
  1755. Debounces.NoIdle = false
  1756. Shield.CanCollide = false
  1757. InnerShield.CanCollide = false
  1758. for i = 1, 16 do
  1759. Shield.Transparency = Shield.Transparency + 0.1
  1760. InnerShield.Transparency = InnerShield.Transparency + 0.1
  1761. wait()
  1762. end
  1763. Shield:Destroy()
  1764. Checker:Destroy()
  1765. torso.Anchored = false
  1766. InnerShield:Destroy()
  1767. hum.WalkSpeed = 16
  1768. for i = 1, 16 do
  1769. for i, v in pairs(Orbs:children()) do
  1770. if v:IsA("Part") then
  1771. v.Transparency = v.Transparency - 0.1
  1772. end
  1773. end
  1774. wait()
  1775. end
  1776. end
  1777. function TruthSeekerOrbAttack()
  1778. local selected = math.random(1, 8)
  1779. local Orb = Orbs_["Orb" .. selected]
  1780. local Outline = Orb.Outline
  1781. local nPos
  1782. local sound = Instance.new("Sound", hed)
  1783. sound.SoundId = "rbxassetid://553462044"
  1784. sound.Volume = 0.35
  1785. sound.Pitch = 1.4 + math.random() / 5
  1786. sound:play()
  1787. game:service("Debris"):AddItem(sound, 5)
  1788. if Debounces["OrbMove" .. selected] == true then
  1789. return
  1790. end
  1791. Debounces["OrbMove" .. selected] = true
  1792. for i = 1, 12 do
  1793. Orb.CFrame = Lerp(Outline.CFrame, Mau5.Hit, 0.3)
  1794. nPos = Outline.CFrame.p
  1795. wait()
  1796. end
  1797. Orb.Touched:connect(function(hit)
  1798. if hit.Parent and hit.Parent:FindFirstChildOfClass'Humanoid' and hit.Parent.Name ~= game:service'Players'.LocalPlayer.Name and Debounces["OrbMove" .. selected] == true then
  1799. hit.Parent:FindFirstChildOfClass'Humanoid':TakeDamage(hit.Parent:FindFirstChildOfClass'Humanoid'.MaxHealth/2/2/2/2/2)
  1800. end
  1801. end)
  1802. Debounces["OrbMove" .. selected] = false
  1803. wait(0.1)
  1804. end
  1805. local origHealth = {}
  1806. local OrbOfHealingEquipped = false
  1807. local OrbOfDiscordEquipped = false
  1808. local Darkness = Instance.new("Sound", char.Torso)
  1809. Darkness.SoundId = "rbxassetid://418097747"
  1810. Darkness.Volume = 0.8
  1811. local Healing = Instance.new("Sound", char.Torso)
  1812. Healing.SoundId = "rbxassetid://418097928"
  1813. Healing.Volume = 0.8
  1814. function OrbOfDiscord(Target)
  1815. if Target.Parent:IsA("Accessory") then
  1816. Target = Target.Parent
  1817. end
  1818. local tplr = game:service("Players"):GetPlayerFromCharacter(Target)
  1819. if tplr and tplr.TeamColor == p.TeamColor then
  1820. return
  1821. end
  1822. if OrbOfDiscordEquipped == Target.Parent then
  1823. print("same target?")
  1824. return
  1825. end
  1826. if OrbOfHealingEquipped == Target.Parent then
  1827. OrbOfHealingEquipped = false
  1828. end
  1829. if Target.Parent:findFirstChild("ForceField") then
  1830. OrbOfDiscordEquipped = false
  1831. return
  1832. end
  1833. OrbOfDiscordEquipped = Target.Parent
  1834. local OD1, OD2 = MakeOrb(1)
  1835. OD1.BrickColor = BrickColor.new("Royal purple")
  1836. OD2.BrickColor = BrickColor.new("Really black")
  1837. OD1.Parent = Target.Parent
  1838. OD2.Parent = Target.Parent
  1839. if not origHealth[Target.Parent] then
  1840. origHealth[Target.Parent] = Target.Parent:findFirstChild("Humanoid").MaxHealth
  1841. end
  1842. Darkness:Play()
  1843. spawn(function()
  1844. while wait(0.2) and OrbOfDiscordEquipped == Target.Parent do
  1845. Target.Parent:FindFirstChild("Humanoid").MaxHealth = origHealth[Target.Parent] * 0.7
  1846. if OrbOfDiscordEquipped == false or OrbOfDiscordEquipped ~= Target.Parent then
  1847. break
  1848. end
  1849. local chars = {}
  1850. for i, v in pairs(workspace:children()) do
  1851. if v:FindFirstChild("Humanoid") then
  1852. table.insert(chars, v)
  1853. end
  1854. end
  1855. local hit, pos, surfaceNormal = workspace:FindPartOnRayWithIgnoreList(Ray.new(root.Position, Target.Parent:FindFirstChild("HumanoidRootPart").Position - root.Position), {
  1856. char,
  1857. unpack(chars)
  1858. })
  1859. if hit then
  1860. print("Line of sight broken!")
  1861. OrbOfDiscordEquipped = false
  1862. break
  1863. end
  1864. end
  1865. end)
  1866. while wait() and OrbOfDiscordEquipped == Target.Parent do
  1867. OD1.CFrame = Lerp(OD1.CFrame, Target.Parent.Torso.CFrame * CFrame.new(3, 3 + math.sin(angle2) * 0.32, 2), 0.3)
  1868. OD2.CFrame = Lerp(OD2.CFrame, Target.Parent.Torso.CFrame * CFrame.new(3, 3 + math.sin(angle2) * 0.32, 2), 0.3)
  1869. if OrbOfDiscordEquipped == false then
  1870. break
  1871. end
  1872. end
  1873. local prevHealth = Target.Parent:FindFirstChild("Humanoid").Health
  1874. Target.Parent:FindFirstChild("Humanoid").MaxHealth = origHealth[Target.Parent]
  1875. Target.Parent:FindFirstChild("Humanoid").Health = prevHealth / (origHealth[Target.Parent] * 0.7) * origHealth[Target.Parent]
  1876. OD1:Destroy()
  1877. OD2:Destroy()
  1878. if OrbOfDiscordEquipped == Target.Parent then
  1879. OrbOfDiscordEquipped = false
  1880. end
  1881. end
  1882. function OrbOfHealing(Target)
  1883. if Target.Parent:IsA("Accessory") then
  1884. Target = Target.Parent
  1885. end
  1886. local tplr = game:service("Players"):GetPlayerFromCharacter(Target)
  1887. if tplr and tplr.TeamColor ~= p.TeamColor then
  1888. return
  1889. end
  1890. if OrbOfHealingEquipped == Target.Parent then
  1891. return
  1892. end
  1893. if OrbOfDiscordEquipped == Target.Parent then
  1894. OrbOfDiscordEquipped = false
  1895. end
  1896. if OrbOfHealingEquipped ~= false then
  1897. OrbOfHealingEquipped = false
  1898. wait()
  1899. end
  1900. if Target.Parent:findFirstChild("ForceField") then
  1901. OrbOfHealingEquipped = false
  1902. return
  1903. end
  1904. OrbOfHealingEquipped = Target.Parent
  1905. local OH1, OH2 = MakeOrb(1)
  1906. OH1.BrickColor = BrickColor.new("New Yeller")
  1907. OH2.BrickColor = BrickColor.new("Institutional white")
  1908. OH1.Parent = Target.Parent
  1909. OH2.Parent = Target.Parent
  1910. Healing:Play()
  1911. spawn(function()
  1912. while wait(1) and OrbOfHealingEquipped == Target.Parent do
  1913. Target.Parent:FindFirstChild("Humanoid").Health = Target.Parent:FindFirstChild("Humanoid").Health + 5
  1914. if OrbOfHealingEquipped == false then
  1915. break
  1916. end
  1917. end
  1918. end)
  1919. spawn(function()
  1920. while wait(0.2) do
  1921. local chars = {}
  1922. for i, v in pairs(workspace:children()) do
  1923. if v:FindFirstChild("Humanoid") then
  1924. table.insert(chars, v)
  1925. end
  1926. end
  1927. local hit, pos, surfaceNormal = workspace:FindPartOnRayWithIgnoreList(Ray.new(root.Position, Target.Parent:FindFirstChild("HumanoidRootPart").Position - root.Position), {
  1928. char,
  1929. unpack(chars)
  1930. })
  1931. if hit then
  1932. print("Line of sight broken!")
  1933. OrbOfHealingEquipped = false
  1934. break
  1935. end
  1936. end
  1937. end)
  1938. while OrbOfHealingEquipped do
  1939. OH1.CFrame = Lerp(OH1.CFrame, Target.Parent.Torso.CFrame * CFrame.new(3, 1.8 + math.sin(angle2) * 0.32, 2), 0.3)
  1940. OH2.CFrame = Lerp(OH2.CFrame, Target.Parent.Torso.CFrame * CFrame.new(3, 1.8 + math.sin(angle2) * 0.32, 2), 0.3)
  1941. if OrbOfHealingEquipped == false then
  1942. break
  1943. end
  1944. wait()
  1945. end
  1946. OH1:Destroy()
  1947. OH2:Destroy()
  1948. OrbOfHealingEquipped = false
  1949. end
  1950. Mau5.KeyDown:connect(function(key)
  1951. if key == "" then
  1952. TailedBeastBombAttack()
  1953. elseif key == "" then
  1954. SpawnRasenShurikan(workspace)
  1955. end
  1956. if key == "" then
  1957. local Targ = Mau5.Target
  1958. Debounces.NoIdle = true
  1959. for i = 1, 5 do
  1960. rarm.Weld.C0 = Lerp(rarm.Weld.C0, cn(1.5, 0.5 - 0.1 * math.cos(i / 7) + math.sin(i / 7) / 7, 0) * angles(0 - 0.1 * math.cos(i / 7), 0, 0) * angles(math.rad(math.random(60, 90)), math.rad(math.random(-20, 20)), math.rad(20)), 0.8)
  1961. larm.Weld.C0 = Lerp(larm.Weld.C0, cn(-1.5, 0.5 - 0.1 * math.cos(i / 7) + math.sin(i / 7) / 7, 0) * angles(0 - 0.1 * math.cos(i / 7), 0, 0) * angles(math.rad(0), math.rad(0), math.rad(50)), 0.8)
  1962. hed.Weld.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(0))
  1963. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.5, -1, -0.5) * angles(1.2 - 0.1 * math.cos(i / 7), 0, 1.3), 0.8)
  1964. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.5, -1, -0.5) * angles(1.3 - 0.1 * math.cos(i / 7), 0, -1.2), 0.8)
  1965. torso.Weld.C0 = Lerp(torso.Weld.C0, cn(0, -1.5 - 0.1 * math.cos(i / 7), 0) * cn(0, 1 - 0.1 * math.cos(i / 7), 0) * angles(math.rad(0), 0.5, 0), 0.8)
  1966. wait()
  1967. end
  1968. Debounces.NoIdle = false
  1969. print(Targ.Parent:FindFirstChild("Humanoid"))
  1970. if Targ and Targ.Parent and Targ.Parent:FindFirstChild("Humanoid") then
  1971. OrbOfHealing(Targ.Parent:FindFirstChild("Torso") or Targ.Parent:FindFirstChild("UpperTorso"))
  1972. end
  1973. if Targ and Targ.Parent:IsA("Accessory") and Targ.Parent.Parent:FindFirstChild("Humanoid") then
  1974. OrbOfHealing(Targ.Parent.Parent:FindFirstChild("Torso") or Targ.Parent.Parent:FindFirstChild("UpperTorso"))
  1975. end
  1976. end
  1977. if key == "" then
  1978. local Targ = Mau5.Target
  1979. Debounces.NoIdle = true
  1980. for i = 1, 5 do
  1981. rarm.Weld.C0 = Lerp(rarm.Weld.C0, cn(1.5, 0.5 - 0.1 * math.cos(i / 7) + math.sin(i / 7) / 7, 0) * angles(0 - 0.1 * math.cos(i / 7), 0, 0) * angles(math.rad(math.random(60, 90)), math.rad(math.random(-20, 20)), math.rad(20)), 0.8)
  1982. larm.Weld.C0 = Lerp(larm.Weld.C0, cn(-1.5, 0.5 - 0.1 * math.cos(i / 7) + math.sin(i / 7) / 7, 0) * angles(0 - 0.1 * math.cos(i / 7), 0, 0) * angles(math.rad(0), math.rad(0), math.rad(50)), 0.8)
  1983. hed.Weld.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(0))
  1984. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.5, -1, -0.5) * angles(1.2 - 0.1 * math.cos(i / 7), 0, 1.3), 0.8)
  1985. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.5, -1, -0.5) * angles(1.3 - 0.1 * math.cos(i / 7), 0, -1.2), 0.8)
  1986. torso.Weld.C0 = Lerp(torso.Weld.C0, cn(0, -1.5 - 0.1 * math.cos(i / 7), 0) * cn(0, 1 - 0.1 * math.cos(i / 7), 0) * angles(math.rad(0), 0.5, 0), 0.8)
  1987. wait()
  1988. end
  1989. Debounces.NoIdle = false
  1990. print(Targ.Parent:FindFirstChild("Humanoid"))
  1991. if Targ and Targ.Parent and Targ.Parent:FindFirstChild("Humanoid") then
  1992. OrbOfDiscord(Targ.Parent:FindFirstChild("Torso") or Targ.Parent:FindFirstChild("UpperTorso"))
  1993. end
  1994. if Targ and Targ.Parent:IsA("Accessory") and Targ.Parent.Parent:FindFirstChild("Humanoid") then
  1995. OrbOfDiscord(Targ.Parent.Parent:FindFirstChild("Torso") or Targ.Parent.Parent:FindFirstChild("UpperTorso"))
  1996. end
  1997. end
  1998. end)
  1999. Mau5.KeyUp:connect(function(key)
  2000. end)
  2001. WhichHand = 0
  2002.  
  2003.  
  2004. local sine = 0
  2005. local twirl = 0
  2006. local change = 1
  2007. angle = 0
  2008. angle2 = 0
  2009. angle3 = 0
  2010. anglespeed = 2
  2011. anglespeed2 = 1
  2012. anglespeed3 = 0.4
  2013. game:GetService("RunService").RenderStepped:connect(function()
  2014. angle = angle % 100 + anglespeed / 10
  2015. angle2 = angle2 % 100 + anglespeed2 / 10
  2016. angle3 = angle3 % 100 + anglespeed3 / 10
  2017. char.Humanoid.FreeFalling:connect(function(f)
  2018. if f then
  2019. ffing = true
  2020. else
  2021. ffing = false
  2022. end
  2023. end)
  2024. if Debounces.Anger == false then
  2025. if Debounces.OrbMove1 == false then
  2026. Orb1.CFrame = Lerp(Orb1.CFrame, torso.CFrame * CFrame.new(0, 3 + math.sin(angle2) * 0.2, 2), 0.04)
  2027. end
  2028. if Debounces.OrbMove2 == false then
  2029. Orb2.CFrame = Lerp(Orb2.CFrame, torso.CFrame * CFrame.new(0, -3 + math.sin(angle2) * 0.32, 2), 0.03)
  2030. end
  2031. if Debounces.OrbMove3 == false then
  2032. Orb3.CFrame = Lerp(Orb3.CFrame, torso.CFrame * CFrame.new(3, 0 + math.sin(angle2) * 0.22, 2), 0.06)
  2033. end
  2034. if Debounces.OrbMove4 == false then
  2035. Orb4.CFrame = Lerp(Orb4.CFrame, torso.CFrame * CFrame.new(-3, 0 + math.sin(angle2) * 0.12, 2), 0.08)
  2036. end
  2037. if Debounces.OrbMove5 == false then
  2038. Orb5.CFrame = Lerp(Orb5.CFrame, torso.CFrame * CFrame.new(-2, -2 + math.sin(angle2) * 0.12, 2), 0.07)
  2039. end
  2040. if Debounces.OrbMove6 == false then
  2041. Orb6.CFrame = Lerp(Orb6.CFrame, torso.CFrame * CFrame.new(-2, 2 + math.sin(angle2) * 0.12, 2), 0.4)
  2042. end
  2043. if Debounces.OrbMove7 == false then
  2044. Orb7.CFrame = Lerp(Orb7.CFrame, torso.CFrame * CFrame.new(2, 2 + math.sin(angle2) * 0.12, 2), 0.2)
  2045. end
  2046. if Debounces.OrbMove8 == false then
  2047. Orb8.CFrame = Lerp(Orb8.CFrame, torso.CFrame * CFrame.new(2, -2 + math.sin(angle2) * 0.12, 2), 0.05)
  2048. end
  2049. else
  2050. if Debounces.OrbMove1 == false then
  2051. Orb1.CFrame = Lerp(Orb1.CFrame, torso.CFrame * CFrame.new(0, 3 + math.sin(angle2) * 0.2, 2) * CFrame.new(math.sin(angle / 6), math.tan(angle2 / 6), math.cos(angle3 / 6)) * CFrame.Angles(math.sin(angle / 6), math.tan(angle2 / 6), math.floor(angle3 / 6)), 0.04)
  2052. end
  2053. if Debounces.OrbMove2 == false then
  2054. Orb2.CFrame = Lerp(Orb2.CFrame, torso.CFrame * CFrame.new(0, -3 + math.sin(angle2) * 0.32, 2) * CFrame.new(math.sin(angle / 6), math.tan(angle2 / 6), math.cos(angle3 / 6)) * CFrame.Angles(math.sin(angle / 6), math.tan(angle2 / 6), math.floor(angle3 / 6)), 0.03)
  2055. end
  2056. if Debounces.OrbMove3 == false then
  2057. Orb3.CFrame = Lerp(Orb3.CFrame, torso.CFrame * CFrame.new(3, 0 + math.sin(angle2) * 0.22, 2) * CFrame.new(math.tan(angle / 6), math.sin(angle2 / 6), math.cos(angle3 / 6)) * CFrame.Angles(math.sin(angle / 6), math.tan(angle2 / 6), math.floor(angle3 / 6)), 0.06)
  2058. end
  2059. if Debounces.OrbMove4 == false then
  2060. Orb4.CFrame = Lerp(Orb4.CFrame, torso.CFrame * CFrame.new(-3, 0 + math.sin(angle2) * 0.12, 2) * CFrame.new(math.tan(angle / 6), math.sin(angle2 / 6), math.cos(angle3 / 6)) * CFrame.Angles(math.sin(angle / 6), math.tan(angle2 / 6), math.floor(angle3 / 6)), 0.08)
  2061. end
  2062. if Debounces.OrbMove5 == false then
  2063. Orb5.CFrame = Lerp(Orb5.CFrame, torso.CFrame * CFrame.new(-2, -2 + math.sin(angle2) * 0.12, 2) * CFrame.new(math.tan(angle / 6), -math.tan(angle2 / 6), math.cos(angle3 / 6)) * CFrame.Angles(math.sin(angle / 6), math.tan(angle2 / 6), math.floor(angle3 / 6)), 0.07)
  2064. end
  2065. if Debounces.OrbMove6 == false then
  2066. Orb6.CFrame = Lerp(Orb6.CFrame, torso.CFrame * CFrame.new(-2, 2 + math.sin(angle2) * 0.12, 2) * CFrame.new(math.tan(angle / 6), math.tan(angle2 / 6), math.cos(angle3 / 6)) * CFrame.Angles(math.sin(angle / 6), math.tan(angle2 / 6), math.floor(angle3 / 6)), 0.4)
  2067. end
  2068. if Debounces.OrbMove7 == false then
  2069. Orb7.CFrame = Lerp(Orb7.CFrame, torso.CFrame * CFrame.new(2, 2 + math.sin(angle2) * 0.12, 2) * CFrame.new(math.cos(angle / 6), math.tan(angle2 / 6), math.tan(angle3 / 6)) * CFrame.Angles(math.sin(angle / 6), math.tan(angle2 / 6), math.floor(angle3 / 6)), 0.2)
  2070. end
  2071. if Debounces.OrbMove8 == false then
  2072. Orb8.CFrame = Lerp(Orb8.CFrame, torso.CFrame * CFrame.new(2, -2 + math.sin(angle2) * 0.12, 2) * CFrame.new(math.cos(angle / 6), -math.tan(angle2 / 6), math.tan(angle3 / 6)) * CFrame.Angles(math.sin(angle / 6), math.tan(angle2 / 6), math.floor(angle3 / 6)), 0.05)
  2073. end
  2074. end
  2075. sine = sine + change
  2076. if jumpn == true then
  2077. animpose = "Jumping"
  2078. elseif ffing == true then
  2079. animpose = "Freefalling"
  2080. elseif 2 > (torso.Velocity * Vector3.new(1, 0, 1)).magnitude then
  2081. animpose = "Idle"
  2082. elseif (torso.Velocity * Vector3.new(1, 0, 1)).magnitude < 20 then
  2083. animpose = "Walking"
  2084. elseif (torso.Velocity * Vector3.new(1, 0, 1)).magnitude > 20 then
  2085. animpose = "Running"
  2086. end
  2087. if animpose ~= lastanimpose then
  2088. sine = 0
  2089. if Debounces.NoIdle ~= false or animpose == "Idle" then
  2090. elseif animpose == "Walking" then
  2091. else
  2092. if animpose == "Running" then
  2093. else
  2094. end
  2095. end
  2096. end
  2097. lastanimpose = animpose
  2098. if Debounces.NoIdle == false then
  2099. if animpose == "Idle" then
  2100. change = 0.5
  2101. rarm.Weld.C0 = Lerp(rarm.Weld.C0, cn(1.5, 0.5 - 0.1 * math.cos(sine / 7) + math.sin(sine / 7) / 7, 0) * angles(0 - 0.1 * math.cos(sine / 7), 0, 0) * angles(math.rad(0), math.rad(180), math.rad(-30)), 0.2)
  2102. larm.Weld.C0 = Lerp(larm.Weld.C0, cn(-1.5, 0.5 - 0.1 * math.cos(sine / 7) + math.sin(sine / 7) / 7, 0) * angles(0 - 0.1 * math.cos(sine / 7), 0, 0) * angles(math.rad(0), math.rad(180), math.rad(30)), 0.2)
  2103. hed.Weld.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(0))
  2104. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.5, -1, -0.5) * angles(1.2 - 0.1 * math.cos(sine / 7), 0, 1.3), 0.4)
  2105. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.5, -1, -0.5) * angles(1.3 - 0.1 * math.cos(sine / 7), 0, -1.2), 0.4)
  2106. torso.Weld.C0 = Lerp(torso.Weld.C0, cn(0, -1.5 - 0.1 * math.cos(sine / 7), 0) * cn(0, 1 - 0.1 * math.cos(sine / 7), 0) * angles(math.rad(0), 0, 0), 0.2)
  2107. elseif animpose == "Walking" then
  2108. change = 0.5
  2109. rarm.Weld.C0 = Lerp(rarm.Weld.C0, cn(1.5, 0.5 - 0.1 * math.cos(sine / 7) + math.sin(sine / 7) / 7, 0) * angles(0 - 0.1 * math.cos(sine / 7), 0, 0) * angles(math.rad(0), math.rad(180), math.rad(-30)), 0.2)
  2110. larm.Weld.C0 = Lerp(larm.Weld.C0, cn(-1.5, 0.5 - 0.1 * math.cos(sine / 7) + math.sin(sine / 7) / 7, 0) * angles(0 - 0.1 * math.cos(sine / 7), 0, 0) * angles(math.rad(0), math.rad(180), math.rad(30)), 0.2)
  2111. hed.Weld.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(0))
  2112. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.5, -1, -0.5) * angles(1.2 - 0.1 * math.cos(sine / 7), 0, 1.3), 0.4)
  2113. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.5, -1, -0.5) * angles(1.3 - 0.1 * math.cos(sine / 7), 0, -1.2), 0.4)
  2114. torso.Weld.C0 = Lerp(torso.Weld.C0, cn(0, -1.5 - 0.1 * math.cos(sine / 7), 0) * cn(0, 1 - 0.1 * math.cos(sine / 7), 0) * angles(math.rad(0), 0, 0), 0.2)
  2115. elseif animpose == "Running" then
  2116. change = 0.5
  2117. twirl = twirl + 1
  2118. rarm.Weld.C0 = Lerp(rarm.Weld.C0, cn(0.7, 0.5 - 0.1 * math.cos(sine / 7) + math.sin(sine / 7) / 7, -0.5) * angles(1.2 - 0.1 * math.cos(sine / 7), 0, -1.3), 0.2)
  2119. larm.Weld.C0 = Lerp(larm.Weld.C0, cn(-0.7, 0.5 - 0.1 * math.cos(sine / 7) + math.sin(sine / 7) / 7, -0.5) * angles(1.3 - 0.1 * math.cos(sine / 7), 0, 1.2), 0.2)
  2120. hed.Weld.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(10), 0.5, math.rad(0))
  2121. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)), 0.4)
  2122. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)), 0.4)
  2123. torso.Weld.C0 = Lerp(torso.Weld.C0, cn(0, -1.5 - 0.1 * math.cos(sine / 7), 0) * cn(0, 1 - 0.1 * math.cos(sine / 4), 0) * angles(math.rad(-90), 0, 0) * angles(0, sine / 10, 0), 0.5)
  2124. elseif animpose == "Freefalling" then
  2125. change = 0.5
  2126. end
  2127. end
  2128. end)
  2129. hum.MaxHealth = 150
  2130. wait()
  2131. hum.Health = 150
  2132. function dispose()
  2133. for i, v in pairs(getfenv(0)) do
  2134. v = nil
  2135. end
  2136. error = nil
  2137. print = nil
  2138. warn = nil
  2139. script:Destroy()
  2140. script = nil
  2141. end
  2142. hum.Died:connect(dispose)
  2143. char.Changed:connect(function()
  2144. if char.Parent == nil then
  2145. dispose()
  2146. end
  2147. end)
  2148. wait()
  2149. game.Workspace.KYLETHORNTON.TruthseekerOrbs:destroy()
  2150. wait(0.1)
  2151. function sandbox(var,func)
  2152. local env = getfenv(func)
  2153. local newenv = setmetatable({},{
  2154. __index = function(self,k)
  2155. if k=="script" then
  2156. return var
  2157. else
  2158. return env[k]
  2159. end
  2160. end,
  2161. })
  2162. setfenv(func,newenv)
  2163. return func
  2164. end
  2165. cors = {}
  2166. mas = Instance.new("Model",game:GetService("Lighting"))
  2167. ForceField0 = Instance.new("ForceField")
  2168. ForceField1 = Instance.new("ForceField")
  2169. ForceField2 = Instance.new("ForceField")
  2170. ForceField3 = Instance.new("ForceField")
  2171. ForceField0.Parent = mas
  2172. ForceField0.Visible = false
  2173. ForceField1.Parent = mas
  2174. ForceField1.Visible = false
  2175. ForceField2.Parent = mas
  2176. ForceField2.Visible = false
  2177. ForceField3.Parent = mas
  2178. ForceField3.Visible = false
  2179. Script0 = Instance.new("Script")
  2180. Sound1 = Instance.new("Sound")
  2181. Sound2 = Instance.new("Sound")
  2182. Sound3 = Instance.new("Sound")
  2183. Sound4 = Instance.new("Sound")
  2184. Sound5 = Instance.new("Sound")
  2185. Script0.Name = "sound's"
  2186. Script0.Parent = mas
  2187. table.insert(cors,sandbox(Script0,function()
  2188. --Uganda sound--
  2189.  
  2190. function onKeyPress(inputObject, gameProcessedEvent)
  2191. if inputObject.KeyCode == Enum.KeyCode.F10 then
  2192. script.Sound:Play()
  2193. end
  2194. end
  2195. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  2196.  
  2197. function onKeyPress(inputObject, gameProcessedEvent)
  2198. if inputObject.KeyCode == Enum.KeyCode.F8 then
  2199. script.Sound2:Play()
  2200. end
  2201. end
  2202. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  2203.  
  2204. function onKeyPress(inputObject, gameProcessedEvent)
  2205. if inputObject.KeyCode == Enum.KeyCode.F1 then
  2206. script.Sound3:Play()
  2207. end
  2208. end
  2209. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  2210.  
  2211. function onKeyPress(inputObject, gameProcessedEvent)
  2212. if inputObject.KeyCode == Enum.KeyCode.F1 then
  2213. script.Sound4:Play()
  2214. end
  2215. end
  2216. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  2217.  
  2218. function onKeyPress(inputObject, gameProcessedEvent)
  2219. if inputObject.KeyCode == Enum.KeyCode.F1 then
  2220. script.Sound5:Play()
  2221. end
  2222. end
  2223. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  2224. end))
  2225. Sound1.Parent = Script0
  2226. Sound1.SoundId = "rbxassetid://896409154"
  2227. Sound1.Volume = 10
  2228. Sound1.TimePosition = 20
  2229. Sound2.Name = "Sound2"
  2230. Sound2.Parent = Script0
  2231. Sound2.SoundId = "rbxassetid://1205014107"
  2232. Sound2.Volume = 10
  2233. Sound3.Name = "Sound3"
  2234. Sound3.Parent = Script0
  2235. Sound3.SoundId = "rbxassetid://1322795266"
  2236. Sound3.Volume = 10
  2237. Sound4.Name = "Sound4"
  2238. Sound4.Parent = Script0
  2239. Sound4.SoundId = "rbxassetid://1311432465"
  2240. Sound4.Volume = 10
  2241. Sound5.Name = "Sound5"
  2242. Sound5.Parent = Script0
  2243. Sound5.SoundId = "rbxassetid://1316278479"
  2244. Sound5.Volume = 10
  2245. for i,v in pairs(mas:GetChildren()) do
  2246. v.Parent = game:GetService("Players").LocalPlayer.Character
  2247. pcall(function() v:MakeJoints() end)
  2248. end
  2249. mas:Destroy()
  2250. for i,v in pairs(cors) do
  2251. spawn(function()
  2252. pcall(v)
  2253. end)
  2254. end
  2255. wait()
  2256. local plr = game.Players.LocalPlayer
  2257. local Player = plr.Character
  2258. local Mouse = plr:GetMouse()
  2259. local hum = Player.Humanoid
  2260. local rarm = Player["Right Arm"]
  2261. local larm= Player["Left Arm"]
  2262. local rleg= Player["Right Leg"]
  2263. local lleg = Player["Left Leg"]
  2264. local root = Player.HumanoidRootPart
  2265. local tors = Player.Torso
  2266. local head = Player.Head
  2267. hum.HipHeight = 1.7
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement