Advertisement
JacksoMykalJunior

BAN HAMMER [EDIT]

Mar 17th, 2019
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 60.97 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. do
  4. print("FE Covered By Red_Jack142 | FE Made By Red_Jack142")
  5. print("Have Fun!")
  6. script.Parent = Player.Character
  7.  
  8. --RemoteEvent for communicating
  9. local Event = Instance.new("RemoteEvent")
  10. Event.Name = "UserInput_Event"
  11.  
  12. --Fake event to make stuff like Mouse.KeyDown work
  13. local function fakeEvent()
  14. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  15. t.connect = t.Connect
  16. return t
  17. end
  18.  
  19. --Creating fake input objects with fake variables
  20. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  21. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  22. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  23. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  24. end}
  25. --Merged 2 functions into one by checking amount of arguments
  26. CAS.UnbindAction = CAS.BindAction
  27.  
  28. --This function will trigger the events that have been :Connect()'ed
  29. local function te(self,ev,...)
  30. local t = m[ev]
  31. if t and t._fakeEvent and t.Function then
  32. t.Function(...)
  33. end
  34. end
  35. m.TrigEvent = te
  36. UIS.TrigEvent = te
  37.  
  38. Event.OnServerEvent:Connect(function(plr,io)
  39. if plr~=Player then return end
  40. if io.isMouse then
  41. m.Target = io.Target
  42. m.Hit = io.Hit
  43. else
  44. local b = io.UserInputState == Enum.UserInputState.Begin
  45. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  46. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  47. end
  48. for _,t in pairs(CAS.Actions) do
  49. for _,k in pairs(t.Keys) do
  50. if k==io.KeyCode then
  51. t.Function(t.Name,io.UserInputState,io)
  52. end
  53. end
  54. end
  55. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  56. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  57. end
  58. end)
  59. Event.Parent = NLS([==[
  60. local Player = owner
  61. local Event = script:WaitForChild("UserInput_Event")
  62.  
  63. local UIS = game:GetService("UserInputService")
  64. local input = function(io,a)
  65. if a then return end
  66. --Since InputObject is a client-side instance, we create and pass table instead
  67. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  68. end
  69. UIS.InputBegan:Connect(input)
  70. UIS.InputEnded:Connect(input)
  71.  
  72. local Mouse = Player:GetMouse()
  73. local h,t
  74. --Give the server mouse data 30 times every second, but only if the values changed
  75. --If player is not moving their mouse, client won't fire events
  76. while wait(1/30) do
  77. if h~=Mouse.Hit or t~=Mouse.Target then
  78. h,t=Mouse.Hit,Mouse.Target
  79. Event:FireServer({isMouse=true,Target=t,Hit=h})
  80. end
  81. end]==],Player.Character)
  82. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  83. end
  84.  
  85. --//===================================================\\--
  86. --|| PARTICLS
  87. --\\===================================================//--
  88.  
  89.  
  90. ParticleEmitter = {
  91. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  92. local fp = Create("ParticleEmitter")({
  93. Parent = Parent,
  94. Color = ColorSequence.new(Color1, Color2),
  95. LightEmission = LightEmission,
  96. Size = Size,
  97. Texture = Texture,
  98. Transparency = Transparency,
  99. ZOffset = ZOffset,
  100. Acceleration = Accel,
  101. Drag = Drag,
  102. LockedToPart = LockedToPart,
  103. VelocityInheritance = VelocityInheritance,
  104. EmissionDirection = EmissionDirection,
  105. Enabled = Enabled,
  106. Lifetime = LifeTime,
  107. Rate = Rate,
  108. Rotation = Rotation,
  109. RotSpeed = RotSpeed,
  110. Speed = Speed,
  111. VelocitySpread = VelocitySpread
  112. })
  113. return fp
  114. end
  115. }
  116. }
  117. function RemoveOutlines(part)
  118. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  119. end
  120. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  121. local Part = Create("Part")({
  122. formFactor = FormFactor,
  123. Parent = Parent,
  124. Reflectance = Reflectance,
  125. Transparency = Transparency,
  126. CanCollide = false,
  127. Locked = true,
  128. BrickColor = BrickColor.new(tostring(BColor)),
  129. Name = Name,
  130. Size = Size,
  131. Material = Material
  132. })
  133. RemoveOutlines(Part)
  134. return Part
  135. end
  136. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  137. local Msh = Create(Mesh)({
  138. Parent = Part,
  139. Offset = OffSet,
  140. Scale = Scale
  141. })
  142. if Mesh == "SpecialMesh" then
  143. Msh.MeshType = MeshType
  144. Msh.MeshId = MeshId
  145. end
  146. return Msh
  147. end
  148. function CreateWeld(Parent, Part0, Part1, C0, C1)
  149. local Weld = Create("Weld")({
  150. Parent = Parent,
  151. Part0 = Part0,
  152. Part1 = Part1,
  153. C0 = C0,
  154. C1 = C1
  155. })
  156. return Weld
  157. end
  158.  
  159.  
  160. -------------------------------------------------------
  161. --Start Effect Function--
  162. -------------------------------------------------------
  163. EffectModel = Instance.new("Model", char)
  164. Effects = {
  165. Block = {
  166. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  167. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  168. prt.Anchored = true
  169. prt.CFrame = cframe
  170. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  171. game:GetService("Debris"):AddItem(prt, 10)
  172. if Type == 1 or Type == nil then
  173. table.insert(Effects, {
  174. prt,
  175. "Block1",
  176. delay,
  177. x3,
  178. y3,
  179. z3,
  180. msh
  181. })
  182. elseif Type == 2 then
  183. table.insert(Effects, {
  184. prt,
  185. "Block2",
  186. delay,
  187. x3,
  188. y3,
  189. z3,
  190. msh
  191. })
  192. else
  193. table.insert(Effects, {
  194. prt,
  195. "Block3",
  196. delay,
  197. x3,
  198. y3,
  199. z3,
  200. msh
  201. })
  202. end
  203. end
  204. },
  205. Sphere = {
  206. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  207. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  208. prt.Anchored = true
  209. prt.CFrame = cframe
  210. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  211. game:GetService("Debris"):AddItem(prt, 10)
  212. table.insert(Effects, {
  213. prt,
  214. "Cylinder",
  215. delay,
  216. x3,
  217. y3,
  218. z3,
  219. msh
  220. })
  221. end
  222. },
  223. Cylinder = {
  224. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  225. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  226. prt.Anchored = true
  227. prt.CFrame = cframe
  228. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  229. game:GetService("Debris"):AddItem(prt, 10)
  230. table.insert(Effects, {
  231. prt,
  232. "Cylinder",
  233. delay,
  234. x3,
  235. y3,
  236. z3,
  237. msh
  238. })
  239. end
  240. },
  241. Wave = {
  242. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  243. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  244. prt.Anchored = true
  245. prt.CFrame = cframe
  246. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  247. game:GetService("Debris"):AddItem(prt, 10)
  248. table.insert(Effects, {
  249. prt,
  250. "Cylinder",
  251. delay,
  252. x3 / 60,
  253. y3 / 60,
  254. z3 / 60,
  255. msh
  256. })
  257. end
  258. },
  259. Ring = {
  260. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  261. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  262. prt.Anchored = true
  263. prt.CFrame = cframe
  264. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  265. game:GetService("Debris"):AddItem(prt, 10)
  266. table.insert(Effects, {
  267. prt,
  268. "Cylinder",
  269. delay,
  270. x3,
  271. y3,
  272. z3,
  273. msh
  274. })
  275. end
  276. },
  277. Break = {
  278. Create = function(brickcolor, cframe, x1, y1, z1)
  279. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  280. prt.Anchored = true
  281. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  282. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  283. local num = math.random(10, 50) / 1000
  284. game:GetService("Debris"):AddItem(prt, 10)
  285. table.insert(Effects, {
  286. prt,
  287. "Shatter",
  288. num,
  289. prt.CFrame,
  290. math.random() - math.random(),
  291. 0,
  292. math.random(50, 100) / 100
  293. })
  294. end
  295. },
  296. Spiral = {
  297. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  298. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  299. prt.Anchored = true
  300. prt.CFrame = cframe
  301. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  302. game:GetService("Debris"):AddItem(prt, 10)
  303. table.insert(Effects, {
  304. prt,
  305. "Cylinder",
  306. delay,
  307. x3,
  308. y3,
  309. z3,
  310. msh
  311. })
  312. end
  313. },
  314. Push = {
  315. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  316. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  317. prt.Anchored = true
  318. prt.CFrame = cframe
  319. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  320. game:GetService("Debris"):AddItem(prt, 10)
  321. table.insert(Effects, {
  322. prt,
  323. "Cylinder",
  324. delay,
  325. x3,
  326. y3,
  327. z3,
  328. msh
  329. })
  330. end
  331. }
  332. }
  333. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  334. local fp = IT("Part")
  335. fp.formFactor = formfactor
  336. fp.Parent = parent
  337. fp.Reflectance = reflectance
  338. fp.Transparency = transparency
  339. fp.CanCollide = false
  340. fp.Locked = true
  341. fp.BrickColor = brickcolor
  342. fp.Name = name
  343. fp.Size = size
  344. fp.Position = tors.Position
  345. RemoveOutlines(fp)
  346. fp.Material = "SmoothPlastic"
  347. fp:BreakJoints()
  348. return fp
  349. end
  350.  
  351. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  352. local mesh = IT(Mesh)
  353. mesh.Parent = part
  354. if Mesh == "SpecialMesh" then
  355. mesh.MeshType = meshtype
  356. if meshid ~= "nil" then
  357. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  358. end
  359. end
  360. mesh.Offset = offset
  361. mesh.Scale = scale
  362. return mesh
  363. end
  364.  
  365. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  366. local type = type
  367. local rng = Instance.new("Part", char)
  368. rng.Anchored = true
  369. rng.BrickColor = color
  370. rng.CanCollide = false
  371. rng.FormFactor = 3
  372. rng.Name = "Ring"
  373. rng.Material = "Neon"
  374. rng.Size = Vector3.new(1, 1, 1)
  375. rng.Transparency = 0
  376. rng.TopSurface = 0
  377. rng.BottomSurface = 0
  378. rng.CFrame = pos
  379. local rngm = Instance.new("SpecialMesh", rng)
  380. rngm.MeshType = MType
  381. rngm.Scale = scale
  382. local scaler2 = 1
  383. if type == "Add" then
  384. scaler2 = 1 * value
  385. elseif type == "Divide" then
  386. scaler2 = 1 / value
  387. end
  388. coroutine.resume(coroutine.create(function()
  389. for i = 0, 10 / bonuspeed, 0.1 do
  390. swait()
  391. if type == "Add" then
  392. scaler2 = scaler2 - 0.01 * value / bonuspeed
  393. elseif type == "Divide" then
  394. scaler2 = scaler2 - 0.01 / value * bonuspeed
  395. end
  396. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  397. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  398. end
  399. rng:Destroy()
  400. end))
  401. end
  402.  
  403. function Eviscerate(dude)
  404. if dude.Name ~= char then
  405. local bgf = IT("BodyGyro", dude.Head)
  406. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  407. local val = IT("BoolValue", dude)
  408. val.Name = "IsHit"
  409. local ds = coroutine.wrap(function()
  410. dude:WaitForChild("Head"):BreakJoints()
  411. wait(0.5)
  412. target = nil
  413. coroutine.resume(coroutine.create(function()
  414. for i, v in pairs(dude:GetChildren()) do
  415. if v:IsA("Accessory") then
  416. v:Destroy()
  417. end
  418. if v:IsA("Humanoid") then
  419. v:Destroy()
  420. end
  421. if v:IsA("CharacterMesh") then
  422. v:Destroy()
  423. end
  424. if v:IsA("Model") then
  425. v:Destroy()
  426. end
  427. if v:IsA("Part") or v:IsA("MeshPart") then
  428. for x, o in pairs(v:GetChildren()) do
  429. if o:IsA("Decal") then
  430. o:Destroy()
  431. end
  432. end
  433. coroutine.resume(coroutine.create(function()
  434. v.Material = "Neon"
  435. v.CanCollide = false
  436. local PartEmmit1 = IT("ParticleEmitter", v)
  437. PartEmmit1.LightEmission = 1
  438. PartEmmit1.Texture = "rbxassetid://284205403"
  439. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  440. PartEmmit1.Rate = 150
  441. PartEmmit1.Lifetime = NumberRange.new(1)
  442. PartEmmit1.Size = NumberSequence.new({
  443. NumberSequenceKeypoint.new(0, 0.75, 0),
  444. NumberSequenceKeypoint.new(1, 0, 0)
  445. })
  446. PartEmmit1.Transparency = NumberSequence.new({
  447. NumberSequenceKeypoint.new(0, 0, 0),
  448. NumberSequenceKeypoint.new(1, 1, 0)
  449. })
  450. PartEmmit1.Speed = NumberRange.new(0, 0)
  451. PartEmmit1.VelocitySpread = 30000
  452. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  453. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  454. local BodPoss = IT("BodyPosition", v)
  455. BodPoss.P = 3000
  456. BodPoss.D = 1000
  457. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  458. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  459. v.Color = maincolor.Color
  460. coroutine.resume(coroutine.create(function()
  461. for i = 0, 49 do
  462. swait(1)
  463. v.Transparency = v.Transparency + 0.08
  464. end
  465. wait(0.5)
  466. PartEmmit1.Enabled = false
  467. wait(3)
  468. v:Destroy()
  469. dude:Destroy()
  470. end))
  471. end))
  472. end
  473. end
  474. end))
  475. end)
  476. ds()
  477. end
  478. end
  479.  
  480. function FindNearestHead(Position, Distance, SinglePlayer)
  481. if SinglePlayer then
  482. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  483. end
  484. local List = {}
  485. for i, v in pairs(workspace:GetChildren()) do
  486. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  487. table.insert(List, v)
  488. end
  489. end
  490. return List
  491. end
  492.  
  493. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  494. local type = type
  495. local rng = Instance.new("Part", char)
  496. rng.Anchored = true
  497. rng.BrickColor = color
  498. rng.CanCollide = false
  499. rng.FormFactor = 3
  500. rng.Name = "Ring"
  501. rng.Material = "Neon"
  502. rng.Size = Vector3.new(1, 1, 1)
  503. rng.Transparency = 0
  504. rng.TopSurface = 0
  505. rng.BottomSurface = 0
  506. rng.CFrame = pos
  507. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  508. local rngm = Instance.new("SpecialMesh", rng)
  509. rngm.MeshType = MType
  510. rngm.Scale = Vector3.new(x1, y1, z1)
  511. local scaler2 = 1
  512. local speeder = FastSpeed
  513. if type == "Add" then
  514. scaler2 = 1 * value
  515. elseif type == "Divide" then
  516. scaler2 = 1 / value
  517. end
  518. coroutine.resume(coroutine.create(function()
  519. for i = 0, 10 / bonuspeed, 0.1 do
  520. swait()
  521. if type == "Add" then
  522. scaler2 = scaler2 - 0.01 * value / bonuspeed
  523. elseif type == "Divide" then
  524. scaler2 = scaler2 - 0.01 / value * bonuspeed
  525. end
  526. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  527. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  528. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  529. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  530. end
  531. rng:Destroy()
  532. end))
  533. end
  534.  
  535. function SoulSteal(dude)
  536. if dude.Name ~= char then
  537. local bgf = IT("BodyGyro", dude.Head)
  538. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  539. local val = IT("BoolValue", dude)
  540. val.Name = "IsHit"
  541. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  542. local soulst = coroutine.wrap(function()
  543. local soul = Instance.new("Part",dude)
  544. soul.Size = Vector3.new(1,1,1)
  545. soul.CanCollide = false
  546. soul.Anchored = false
  547. soul.Position = torso.Position
  548. soul.Transparency = 1
  549. local PartEmmit1 = IT("ParticleEmitter", soul)
  550. PartEmmit1.LightEmission = 1
  551. PartEmmit1.Texture = "rbxassetid://569507414"
  552. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  553. PartEmmit1.Rate = 250
  554. PartEmmit1.Lifetime = NumberRange.new(1.6)
  555. PartEmmit1.Size = NumberSequence.new({
  556. NumberSequenceKeypoint.new(0, 1, 0),
  557. NumberSequenceKeypoint.new(1, 0, 0)
  558. })
  559. PartEmmit1.Transparency = NumberSequence.new({
  560. NumberSequenceKeypoint.new(0, 0, 0),
  561. NumberSequenceKeypoint.new(1, 1, 0)
  562. })
  563. PartEmmit1.Speed = NumberRange.new(0, 0)
  564. PartEmmit1.VelocitySpread = 30000
  565. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  566. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  567. local BodPoss = IT("BodyPosition", soul)
  568. BodPoss.P = 3000
  569. BodPoss.D = 1000
  570. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  571. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  572. wait(1.6)
  573. soul.Touched:connect(function(hit)
  574. if hit.Parent == char then
  575. soul:Destroy()
  576. end
  577. end)
  578. wait(1.2)
  579. while soul do
  580. swait()
  581. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  582. BodPoss.Position = tors.Position
  583. end
  584. end)
  585. soulst()
  586. end
  587. end
  588. function FaceMouse()
  589. local Cam = workspace.CurrentCamera
  590. return {
  591. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  592. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  593. }
  594. end
  595.  
  596. --//====================================================\\--
  597. --|| CUSTOMIZATION
  598. --\\====================================================//--
  599.  
  600. local SONG = 2490605666
  601. local SONG2 = 0
  602. local Music = Instance.new("Sound",tors)
  603. Music.Volume = 2.5
  604. Music.Looped = true
  605. Music.Pitch = 1 --Pitcher
  606. ----------------------------------------------------------------------------------
  607. local Orin = "http://www.roblox.com/asset/?id=81134287"
  608. Head.face.Texture = Orin
  609. function weld(a, b, acf)
  610. local w = Instance.new("Weld", a)
  611. w.Part0 = a
  612. w.Part1 = b
  613. w.C0 = acf
  614. end
  615. for i,v in pairs(char:GetChildren()) do
  616. if v.ClassName == "Accessory" or v.ClassName == "Hat" then
  617. v:destroy()
  618. end
  619. end
  620.  
  621. local Hair = Instance.new("Part")
  622. Hair.Parent = char
  623. Hair.Name = "Hair"
  624. Hair.Size = Vector3.new(0.1, 0.1, 0.1)
  625. Hair.CFrame = char.Head.CFrame
  626. Hair:BreakJoints()
  627. Hair.CanCollide = false
  628. Hair.BrickColor = BrickColor.new("New Yeller")
  629. Hair.TopSurface = "Smooth"
  630. Hair.BottomSurface = "Smooth"
  631. Weld = Instance.new("Weld")
  632. Weld.Name = "Weld"
  633. Weld.Part0 = char.Torso
  634. Weld.Part1 = Hair
  635. Weld.Parent = char.Torso
  636. Weld.C0 = CFrame.new(0, 0.3, 0.6)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  637. Mesh = Instance.new("SpecialMesh")
  638. Mesh.Parent = Hair
  639. Mesh.MeshId = "rbxassetid://67993325"
  640. Mesh.TextureId = "http://www.roblox.com/asset/?id=93367455"
  641. Mesh.Scale = Vector3.new(0.7, 0.7, 0.7)
  642. ----------------------------------------------------------------------------------
  643. local Hair = Instance.new("Part")
  644. Hair.Parent = char
  645. Hair.Name = "Hair"
  646. Hair.Size = Vector3.new(1, 0.4, 1)
  647. Hair.CFrame = char.Head.CFrame
  648. Hair:BreakJoints()
  649. Hair.CanCollide = false
  650. Hair.BrickColor = BrickColor.new("New Yeller")
  651. Hair.TopSurface = "Smooth"
  652. Hair.BottomSurface = "Smooth"
  653. Weld = Instance.new("Weld")
  654. Weld.Name = "Weld"
  655. Weld.Part0 = char.Head
  656. Weld.Part1 = Hair
  657. Weld.Parent = char.Head
  658. Weld.C0 = CFrame.new(0, 0.2, -0.2)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  659. Mesh = Instance.new("SpecialMesh")
  660. Mesh.Parent = Hair
  661. Mesh.MeshId = "rbxassetid://0"
  662. Mesh.TextureId = "http://www.roblox.com/asset/?id=0"
  663. Mesh.Scale = Vector3.new(1, 1, 1)
  664. ----------------------------------------------------------------------------------
  665. local Hair = Instance.new("Part")
  666. Hair.Parent = char
  667. Hair.Name = "Hair"
  668. Hair.Size = Vector3.new(1, 0.4, 1)
  669. Hair.CFrame = char.Head.CFrame
  670. Hair:BreakJoints()
  671. Hair.CanCollide = false
  672. Hair.BrickColor = BrickColor.new("New Yeller")
  673. Hair.TopSurface = "Smooth"
  674. Hair.BottomSurface = "Smooth"
  675. Weld = Instance.new("Weld")
  676. Weld.Name = "Weld"
  677. Weld.Part0 = char.Head
  678. Weld.Part1 = Hair
  679. Weld.Parent = char.Head
  680. Weld.C0 = CFrame.new(0, 0.5, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  681. Mesh = Instance.new("SpecialMesh")
  682. Mesh.Parent = Hair
  683. Mesh.MeshId = "rbxassetid://16627529"
  684. Mesh.TextureId = "http://www.roblox.com/asset/?id=1543772519"
  685. Mesh.Scale = Vector3.new(1.1, 1.1, 1.1)
  686. ----------------------------------------------------------------------------------
  687. local Hair = Instance.new("Part")
  688. Hair.Parent = char
  689. Hair.Name = "Hair"
  690. Hair.Size = Vector3.new(0.99, 2.03, 2.45)
  691. Hair.CFrame = char.Head.CFrame
  692. Hair:BreakJoints()
  693. Hair.CanCollide = false
  694. Hair.BrickColor = BrickColor.new("New Yeller")
  695. Hair.TopSurface = "Smooth"
  696. Hair.BottomSurface = "Smooth"
  697. Weld = Instance.new("Weld")
  698. Weld.Name = "Weld"
  699. Weld.Part0 = char.Torso
  700. Weld.Part1 = Hair
  701. Weld.Parent = char.Torso
  702. Weld.C0 = CFrame.new(0.3, 0.1, 1.8)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  703. Mesh = Instance.new("SpecialMesh")
  704. Mesh.Parent = Hair
  705. Mesh.MeshId = "rbxassetid://0"
  706. Mesh.TextureId = "http://www.roblox.com/asset/?id=0"
  707. Mesh.Scale = Vector3.new(1, 1, 1)
  708. ----------------------------------------------------------------------------------
  709. local Shirt = "rbxassetid://230542128"
  710. local Pants = "rbxassetid://365540807"
  711.  
  712. ypcall(function()
  713. shirt = Instance.new("Shirt", char)
  714. shirt.Name = "Shirt"
  715. pants = Instance.new("Pants", char)
  716. pants.Name = "Pants"
  717. char.Shirt.ShirtTemplate = Shirt
  718. char.Pants.PantsTemplate = Pants
  719. end)
  720.  
  721.  
  722. --//====================================================\\--
  723. --|| CREATED BY SHACKLUSTER
  724. --\\====================================================//--
  725.  
  726. local Player = game:GetService("Players").Red_Jack1142
  727. local Mouse,mouse,UserInputService,ContextActionService
  728. do
  729. script.Parent = Player.Character
  730. local CAS = {Actions={}}
  731. local Event = Instance.new("RemoteEvent")
  732. Event.Name = "UserInput_Event"
  733. Event.Parent = Player.Character
  734. local fakeEvent = function()
  735. local t = {_fakeEvent=true}
  736. t.Connect = function(self,f)self.Function=f end
  737. t.connect = t.Connect
  738. return t
  739. end
  740. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  741. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  742. function CAS:BindAction(name,fun,touch,...)
  743. CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  744. end
  745. function CAS:UnbindAction(name)
  746. CAS.Actions[name] = nil
  747. end
  748. local function te(self,ev,...)
  749. local t = m[ev]
  750. if t and t._fakeEvent and t.Function then
  751. t.Function(...)
  752. end
  753. end
  754. m.TrigEvent = te
  755. UIS.TrigEvent = te
  756. Event.OnServerEvent:Connect(function(plr,io)
  757. if plr~=Player then return end
  758. if io.isMouse then
  759. m.Target = io.Target
  760. m.Hit = io.Hit
  761. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  762. if io.UserInputState == Enum.UserInputState.Begin then
  763. m:TrigEvent("Button1Down")
  764. else
  765. m:TrigEvent("Button1Up")
  766. end
  767. else
  768. for n,t in pairs(CAS.Actions) do
  769. for _,k in pairs(t.Keys) do
  770. if k==io.KeyCode then
  771. t.Function(t.Name,io.UserInputState,io)
  772. end
  773. end
  774. end
  775. if io.UserInputState == Enum.UserInputState.Begin then
  776. m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  777. UIS:TrigEvent("InputBegan",io,false)
  778. else
  779. m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  780. UIS:TrigEvent("InputEnded",io,false)
  781. end
  782. end
  783. end)
  784. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  785. end
  786.  
  787.  
  788. wait(0.2)
  789.  
  790.  
  791.  
  792. Player = owner
  793. PlayerGui = Player.PlayerGui
  794. Cam = workspace.CurrentCamera
  795. Backpack = Player.Backpack
  796. Character = Player.Character
  797. Humanoid = Character.Humanoid
  798. RootPart = Character["HumanoidRootPart"]
  799. Torso = Character["Torso"]
  800. Head = Character["Head"]
  801. RightArm = Character["Right Arm"]
  802. LeftArm = Character["Left Arm"]
  803. RightLeg = Character["Right Leg"]
  804. LeftLeg = Character["Left Leg"]
  805. RootJoint = RootPart["RootJoint"]
  806. Neck = Torso["Neck"]
  807. RightShoulder = Torso["Right Shoulder"]
  808. LeftShoulder = Torso["Left Shoulder"]
  809. RightHip = Torso["Right Hip"]
  810. LeftHip = Torso["Left Hip"]
  811. local sick = Instance.new("Sound",Character)
  812. sick.SoundId = "rbxassetid://853707984"
  813. sick.Looped = true
  814. sick.Pitch = 1
  815. sick.Volume = 1
  816. sick:Play()
  817.  
  818. IT = Instance.new
  819. CF = CFrame.new
  820. VT = Vector3.new
  821. RAD = math.rad
  822. C3 = Color3.new
  823. UD2 = UDim2.new
  824. BRICKC = BrickColor.new
  825. ANGLES = CFrame.Angles
  826. EULER = CFrame.fromEulerAnglesXYZ
  827. COS = math.cos
  828. ACOS = math.acos
  829. SIN = math.sin
  830. ASIN = math.asin
  831. ABS = math.abs
  832. MRANDOM = math.random
  833. FLOOR = math.floor
  834.  
  835. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  836. local NEWMESH = IT(MESH)
  837. if MESH == "SpecialMesh" then
  838. NEWMESH.MeshType = MESHTYPE
  839. if MESHID ~= "nil" and MESHID ~= "" then
  840. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  841. end
  842. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  843. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  844. end
  845. end
  846. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  847. NEWMESH.Scale = SCALE
  848. NEWMESH.Parent = PARENT
  849. return NEWMESH
  850. end
  851.  
  852. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  853. local NEWPART = IT("Part")
  854. NEWPART.formFactor = FORMFACTOR
  855. NEWPART.Reflectance = REFLECTANCE
  856. NEWPART.Transparency = TRANSPARENCY
  857. NEWPART.CanCollide = false
  858. NEWPART.Locked = true
  859. NEWPART.Anchored = true
  860. if ANCHOR == false then
  861. NEWPART.Anchored = false
  862. end
  863. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  864. NEWPART.Name = NAME
  865. NEWPART.Size = SIZE
  866. NEWPART.Position = Torso.Position
  867. NEWPART.Material = MATERIAL
  868. NEWPART:BreakJoints()
  869. NEWPART.Parent = PARENT
  870. return NEWPART
  871. end
  872.  
  873. --//=================================\\
  874. --|| CUSTOMIZATION
  875. --\\=================================//
  876.  
  877. Player_Size = 1 --Size of the player.
  878. Animation_Speed = 3
  879. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  880.  
  881. local Speed = 16
  882. local Effects2 = {}
  883.  
  884. --//=================================\\
  885. --|| END OF CUSTOMIZATION
  886. --\\=================================//
  887.  
  888. local function weldBetween(a, b)
  889. local weldd = Instance.new("ManualWeld")
  890. weldd.Part0 = a
  891. weldd.Part1 = b
  892. weldd.C0 = CFrame.new()
  893. weldd.C1 = b.CFrame:inverse() * a.CFrame
  894. weldd.Parent = a
  895. return weldd
  896. end
  897.  
  898. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  899. local acs = Instance.new("Part")
  900. acs.CanCollide = false
  901. acs.Anchored = false
  902. acs.Size = Vector3.new(0,0,0)
  903. acs.CFrame = attachmentpart.CFrame
  904. acs.Parent = Character
  905. acs.BrickColor = color
  906. local meshs = Instance.new("SpecialMesh")
  907. meshs.MeshId = mesh
  908. meshs.TextureId = texture
  909. meshs.Parent = acs
  910. meshs.Scale = scale
  911. meshs.Offset = offset
  912. weldBetween(attachmentpart,acs)
  913. end
  914.  
  915. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  916. if TYPE == "Gem" then
  917. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  918. acs.Anchored = false
  919. acs.CanCollide = false
  920. acs.CFrame = PART.CFrame
  921. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  922. weldBetween(PART,acs)
  923. elseif TYPE == "Skull" then
  924. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  925. acs.Anchored = false
  926. acs.CanCollide = false
  927. acs.CFrame = PART.CFrame
  928. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  929. weldBetween(PART,acs)
  930. elseif TYPE == "Eye" then
  931. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  932. acs.Anchored = false
  933. acs.CanCollide = false
  934. acs.CFrame = PART.CFrame
  935. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  936. weldBetween(PART,acs)
  937. end
  938. end
  939.  
  940. --//=================================\\
  941. --|| USEFUL VALUES
  942. --\\=================================//
  943.  
  944. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  945. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  946. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  947. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  948. local CHANGEDEFENSE = 0
  949. local CHANGEDAMAGE = 0
  950. local CHANGEMOVEMENT = 0
  951. local ANIM = "Idle"
  952. local ATTACK = false
  953. local EQUIPPED = false
  954. local HOLD = false
  955. local COMBO = 1
  956. local Rooted = false
  957. local SINE = 0
  958. local KEYHOLD = false
  959. local CHANGE = 2 / Animation_Speed
  960. local WALKINGANIM = false
  961. local WALK = 0
  962. local VALUE1 = false
  963. local HITFLOOR = nil
  964. local VALUE2 = false
  965. local ROBLOXIDLEANIMATION = IT("Animation")
  966. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  967. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=2971808194"
  968. --ROBLOXIDLEANIMATION.Parent = Humanoid
  969. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  970. WEAPONGUI.Name = "Weapon GUI"
  971. local Weapon = IT("Model")
  972. Weapon.Name = "Adds"
  973. local Delete = IT("Model",Character)
  974. Delete.Name = "Banlist"
  975. local Effects = IT("Folder", Weapon)
  976. Effects.Name = "Effects"
  977. local ANIMATOR = Humanoid.Animator
  978. local ANIMATE = Character.Animate
  979. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  980. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  981. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  982. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  983. local UNANCHOR = true
  984.  
  985. local SKILLTEXTCOLOR = C3(0,0,0)
  986.  
  987. --//=================================\\
  988. --\\=================================//
  989.  
  990.  
  991. --//=================================\\
  992. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  993. --\\=================================//
  994.  
  995. ArtificialHB = Instance.new("BindableEvent", script)
  996. ArtificialHB.Name = "ArtificialHB"
  997.  
  998. script:WaitForChild("ArtificialHB")
  999.  
  1000. frame = Frame_Speed
  1001. tf = 0
  1002. allowframeloss = false
  1003. tossremainder = false
  1004. lastframe = tick()
  1005. script.ArtificialHB:Fire()
  1006.  
  1007. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1008. tf = tf + s
  1009. if tf >= frame then
  1010. if allowframeloss then
  1011. script.ArtificialHB:Fire()
  1012. lastframe = tick()
  1013. else
  1014. for i = 1, math.floor(tf / frame) do
  1015. script.ArtificialHB:Fire()
  1016. end
  1017. lastframe = tick()
  1018. end
  1019. if tossremainder then
  1020. tf = 0
  1021. else
  1022. tf = tf - frame * math.floor(tf / frame)
  1023. end
  1024. end
  1025. end)
  1026.  
  1027. --//=================================\\
  1028. --\\=================================//
  1029.  
  1030.  
  1031.  
  1032.  
  1033.  
  1034. --//=================================\\
  1035. --|| SOME FUNCTIONS
  1036. --\\=================================//
  1037.  
  1038. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1039. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1040. end
  1041.  
  1042. function PositiveAngle(NUMBER)
  1043. if NUMBER >= 0 then
  1044. NUMBER = 0
  1045. end
  1046. return NUMBER
  1047. end
  1048.  
  1049. function NegativeAngle(NUMBER)
  1050. if NUMBER <= 0 then
  1051. NUMBER = 0
  1052. end
  1053. return NUMBER
  1054. end
  1055.  
  1056. function Swait(NUMBER)
  1057. if NUMBER == 0 or NUMBER == nil then
  1058. ArtificialHB.Event:wait()
  1059. else
  1060. for i = 1, NUMBER do
  1061. ArtificialHB.Event:wait()
  1062. end
  1063. end
  1064. end
  1065.  
  1066. function QuaternionFromCFrame(cf)
  1067. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1068. local trace = m00 + m11 + m22
  1069. if trace > 0 then
  1070. local s = math.sqrt(1 + trace)
  1071. local recip = 0.5 / s
  1072. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1073. else
  1074. local i = 0
  1075. if m11 > m00 then
  1076. i = 1
  1077. end
  1078. if m22 > (i == 0 and m00 or m11) then
  1079. i = 2
  1080. end
  1081. if i == 0 then
  1082. local s = math.sqrt(m00 - m11 - m22 + 1)
  1083. local recip = 0.5 / s
  1084. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1085. elseif i == 1 then
  1086. local s = math.sqrt(m11 - m22 - m00 + 1)
  1087. local recip = 0.5 / s
  1088. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1089. elseif i == 2 then
  1090. local s = math.sqrt(m22 - m00 - m11 + 1)
  1091. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1092. end
  1093. end
  1094. end
  1095.  
  1096. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1097. local xs, ys, zs = x + x, y + y, z + z
  1098. local wx, wy, wz = w * xs, w * ys, w * zs
  1099. local xx = x * xs
  1100. local xy = x * ys
  1101. local xz = x * zs
  1102. local yy = y * ys
  1103. local yz = y * zs
  1104. local zz = z * zs
  1105. 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))
  1106. end
  1107.  
  1108. function QuaternionSlerp(a, b, t)
  1109. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1110. local startInterp, finishInterp;
  1111. if cosTheta >= 0.0001 then
  1112. if (1 - cosTheta) > 0.0001 then
  1113. local theta = ACOS(cosTheta)
  1114. local invSinTheta = 1 / SIN(theta)
  1115. startInterp = SIN((1 - t) * theta) * invSinTheta
  1116. finishInterp = SIN(t * theta) * invSinTheta
  1117. else
  1118. startInterp = 1 - t
  1119. finishInterp = t
  1120. end
  1121. else
  1122. if (1 + cosTheta) > 0.0001 then
  1123. local theta = ACOS(-cosTheta)
  1124. local invSinTheta = 1 / SIN(theta)
  1125. startInterp = SIN((t - 1) * theta) * invSinTheta
  1126. finishInterp = SIN(t * theta) * invSinTheta
  1127. else
  1128. startInterp = t - 1
  1129. finishInterp = t
  1130. end
  1131. end
  1132. 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
  1133. end
  1134.  
  1135. function Clerp(a, b, t)
  1136. local qa = {QuaternionFromCFrame(a)}
  1137. local qb = {QuaternionFromCFrame(b)}
  1138. local ax, ay, az = a.x, a.y, a.z
  1139. local bx, by, bz = b.x, b.y, b.z
  1140. local _t = 1 - t
  1141. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1142. end
  1143.  
  1144. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  1145. local frame = IT("Frame")
  1146. frame.BackgroundTransparency = TRANSPARENCY
  1147. frame.BorderSizePixel = BORDERSIZEPIXEL
  1148. frame.Position = POSITION
  1149. frame.Size = SIZE
  1150. frame.BackgroundColor3 = COLOR
  1151. frame.BorderColor3 = BORDERCOLOR
  1152. frame.Name = NAME
  1153. frame.Parent = PARENT
  1154. return frame
  1155. end
  1156.  
  1157. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  1158. local label = IT("TextLabel")
  1159. label.BackgroundTransparency = 1
  1160. label.Size = UD2(1, 0, 1, 0)
  1161. label.Position = UD2(0, 0, 0, 0)
  1162. label.TextColor3 = TEXTCOLOR
  1163. label.TextStrokeTransparency = STROKETRANSPARENCY
  1164. label.TextTransparency = TRANSPARENCY
  1165. label.FontSize = TEXTFONTSIZE
  1166. label.Font = TEXTFONT
  1167. label.BorderSizePixel = BORDERSIZEPIXEL
  1168. label.TextScaled = false
  1169. label.Text = TEXT
  1170. label.Name = NAME
  1171. label.Parent = PARENT
  1172. return label
  1173. end
  1174.  
  1175. function NoOutlines(PART)
  1176. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  1177. end
  1178.  
  1179.  
  1180. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  1181. local NEWWELD = IT(TYPE)
  1182. NEWWELD.Part0 = PART0
  1183. NEWWELD.Part1 = PART1
  1184. NEWWELD.C0 = C0
  1185. NEWWELD.C1 = C1
  1186. NEWWELD.Parent = PARENT
  1187. return NEWWELD
  1188. end
  1189.  
  1190. local SOUND = IT("Sound",nil)
  1191.  
  1192. function CreateSound(ID, PARENT, VOLUME, PITCH)
  1193. local NEWSOUND = nil
  1194. coroutine.resume(coroutine.create(function()
  1195. NEWSOUND = SOUND:Clone()
  1196. NEWSOUND.Parent = PARENT
  1197. NEWSOUND.Volume = VOLUME
  1198. NEWSOUND.Pitch = PITCH
  1199. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  1200. Swait()
  1201. NEWSOUND:play()
  1202. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  1203. end))
  1204. return NEWSOUND
  1205. end
  1206.  
  1207. function CFrameFromTopBack(at, top, back)
  1208. local right = top:Cross(back)
  1209. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  1210. end
  1211.  
  1212. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  1213. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  1214. local mesh = IT("SpecialMesh",wave)
  1215. mesh.MeshType = "FileMesh"
  1216. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1217. mesh.Scale = SIZE
  1218. mesh.Offset = VT(0,0,-SIZE.X/8)
  1219. wave.CFrame = CFRAME
  1220. coroutine.resume(coroutine.create(function(PART)
  1221. for i = 1, WAIT do
  1222. Swait()
  1223. mesh.Scale = mesh.Scale + GROW
  1224. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  1225. if DOESROT == true then
  1226. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  1227. end
  1228. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1229. if wave.Transparency > 0.99 then
  1230. wave:remove()
  1231. end
  1232. end
  1233. end))
  1234. end
  1235.  
  1236. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  1237. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  1238. local mesh = IT("SpecialMesh",wave)
  1239. mesh.MeshType = "Sphere"
  1240. mesh.Scale = SIZE
  1241. mesh.Offset = VT(0,0,0)
  1242. wave.CFrame = CFRAME
  1243. coroutine.resume(coroutine.create(function(PART)
  1244. for i = 1, WAIT do
  1245. Swait()
  1246. mesh.Scale = mesh.Scale + GROW
  1247. wave.Transparency = wave.Transparency + (1/WAIT)
  1248. if wave.Transparency > 0.99 then
  1249. wave:remove()
  1250. end
  1251. end
  1252. end))
  1253. end
  1254.  
  1255. function MakeForm(PART,TYPE)
  1256. if TYPE == "Cyl" then
  1257. local MSH = IT("CylinderMesh",PART)
  1258. elseif TYPE == "Ball" then
  1259. local MSH = IT("SpecialMesh",PART)
  1260. MSH.MeshType = "Sphere"
  1261. elseif TYPE == "Wedge" then
  1262. local MSH = IT("SpecialMesh",PART)
  1263. MSH.MeshType = "Wedge"
  1264. end
  1265. end
  1266.  
  1267. function CheckTableForString(Table, String)
  1268. for i, v in pairs(Table) do
  1269. if string.find(string.lower(String), string.lower(v)) then
  1270. return true
  1271. end
  1272. end
  1273. return false
  1274. end
  1275.  
  1276. function CheckIntangible(Hit)
  1277. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  1278. if Hit and Hit.Parent then
  1279. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  1280. return true
  1281. end
  1282. end
  1283. return false
  1284. end
  1285.  
  1286. Debris = game:GetService("Debris")
  1287.  
  1288. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  1289. local Direction = CFrame.new(StartPos, Vec).lookVector
  1290. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  1291. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  1292. if RayHit and CheckIntangible(RayHit) then
  1293. if DelayIfHit then
  1294. wait()
  1295. end
  1296. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  1297. end
  1298. return RayHit, RayPos, RayNormal
  1299. end
  1300.  
  1301. function turnto(position)
  1302. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1303. end
  1304.  
  1305. --//=================================\\
  1306. --|| WEAPON CREATION
  1307. --\\=================================//
  1308.  
  1309. local HandlePart = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false)
  1310. local HandleMesh = CreateMesh("SpecialMesh", HandlePart, "FileMesh", "10604848", "10605252", VT(1,1,1), VT(0, 2.7, 0))
  1311. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0,-0.8,0) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  1312.  
  1313. for _, c in pairs(Weapon:GetChildren()) do
  1314. if c.ClassName == "Part" then
  1315. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1316. end
  1317. end
  1318.  
  1319. Weapon.Parent = Character
  1320.  
  1321. Humanoid.Died:connect(function()
  1322. ATTACK = true
  1323. end)
  1324.  
  1325. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1326. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1327.  
  1328. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[CLICK+HOLD] Ban Slam", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 1")
  1329. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Teleport", SKILLTEXTCOLOR, 8, "Garamond", 0, 2, 1, "Text 2")
  1330.  
  1331. --//=================================\\
  1332. --|| DAMAGING
  1333. --\\=================================//
  1334.  
  1335. function BAN(CHARACTER)
  1336. local BANFOLDER = IT("Folder",Effects)
  1337. local naeeym2 = Instance.new("BillboardGui",BANFOLDER)
  1338. naeeym2.AlwaysOnTop = false
  1339. naeeym2.Size = UDim2.new(5,35,2,35)
  1340. naeeym2.StudsOffset = Vector3.new(0,1,0)
  1341. naeeym2.Name = "AAAA"
  1342. local tecks2 = Instance.new("TextLabel",naeeym2)
  1343. tecks2.BackgroundTransparency = 1
  1344. tecks2.TextScaled = true
  1345. tecks2.BorderSizePixel = 0
  1346. tecks2.Text = "BANNED"
  1347. tecks2.Font = "Code"
  1348. tecks2.TextSize = 30
  1349. tecks2.TextStrokeTransparency = 1
  1350. tecks2.TextColor3 = Color3.new(1,0,0)
  1351. tecks2.TextStrokeColor3 = Color3.new(1,0,0)
  1352. tecks2.Size = UDim2.new(1,0,0.5,0)
  1353. tecks2.Parent = naeeym2
  1354. for i,v in ipairs(CHARACTER:GetChildren()) do
  1355. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  1356. if v.Name ~= "HumanoidRootPart" then
  1357. local BOD = v:Clone()
  1358. BOD.CanCollide = false
  1359. BOD.Anchored = true
  1360. BOD.CFrame = v.CFrame
  1361. BOD.Parent = BANFOLDER
  1362. BOD.Material = "Neon"
  1363. BOD.Color = C3(1,0,0)
  1364. if BOD:FindFirstChildOfClass("Decal") then
  1365. BOD:FindFirstChildOfClass("Decal"):remove()
  1366. end
  1367. if BOD.Name == "Head" then
  1368. naeeym2.Adornee = BOD
  1369. end
  1370. if BOD.ClassName == "MeshPart" then
  1371. BOD.TextureID = ""
  1372. end
  1373. end
  1374. end
  1375. end
  1376. CHARACTER:remove()
  1377. coroutine.resume(coroutine.create(function()
  1378. for i = 1, 50 do
  1379. Swait()
  1380. for i,v in ipairs(BANFOLDER:GetChildren()) do
  1381. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  1382. v.Transparency = 1
  1383. end
  1384. naeeym2.Enabled = false
  1385. end
  1386. Swait()
  1387. for i,v in ipairs(BANFOLDER:GetChildren()) do
  1388. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  1389. v.Transparency = 0
  1390. end
  1391. naeeym2.Enabled = true
  1392. end
  1393. end
  1394. BANFOLDER:remove()
  1395. end))
  1396. end
  1397.  
  1398. function BANNEAREST(POS,RANGE)
  1399. for i,v in ipairs(workspace:GetChildren()) do
  1400. local body = v:GetChildren()
  1401. for part = 1, #body do
  1402. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1403. if(body[part].Position - POS).Magnitude < RANGE then
  1404. if v:FindFirstChildOfClass("Humanoid") then
  1405. BAN(v)
  1406. if game.Players:FindFirstChild(v.Name) then
  1407. local Value = IT("BoolValue",Delete)
  1408. Value.Name = v.Name
  1409. end
  1410. end
  1411. end
  1412. end
  1413. end
  1414. end
  1415. end
  1416.  
  1417. --//=================================\\
  1418. --|| ATTACK FUNCTIONS AND STUFF
  1419. --\\=================================//
  1420.  
  1421. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  1422. if FLOOR ~= nil then
  1423. coroutine.resume(coroutine.create(function()
  1424. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  1425. PART.CFrame = CF(POSITION)
  1426. for i = 1, 45 do
  1427. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  1428. RingPiece.Material = FLOOR.Material
  1429. RingPiece.Color = FLOOR.Color
  1430. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  1431. Debris:AddItem(RingPiece,SWAIT/100)
  1432. end
  1433. PART:remove()
  1434. end))
  1435. end
  1436. end
  1437.  
  1438. function BANSLAM()
  1439. ATTACK = true
  1440. Rooted = false
  1441. repeat
  1442. for i=0, 0.2, 0.1 / Animation_Speed do
  1443. Swait()
  1444. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -0.8, 0) * ANGLES(RAD(-90), RAD(-45), RAD(0)),2 / Animation_Speed)
  1445. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 7) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1446. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 2 / Animation_Speed)
  1447. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(250), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1448. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(250), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1449. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
  1450. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
  1451. end
  1452. for i=0, 0.08, 0.1 / Animation_Speed do
  1453. Swait()
  1454. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-90), RAD(-45), RAD(0)), 2 / Animation_Speed)
  1455. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 2) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed)
  1456. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
  1457. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(120), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1458. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(120), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1459. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1460. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1461. end
  1462. for i=0, 0.08, 0.1 / Animation_Speed do
  1463. Swait()
  1464. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-70), RAD(-45), RAD(0)), 2 / Animation_Speed)
  1465. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 2) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed)
  1466. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
  1467. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1468. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1469. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1470. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1471. end
  1472. CreateSound("147722910", Effects, 10, 1)
  1473. BANNEAREST(RootPart.CFrame*CF(0,0,-6).p,25)
  1474. if HITFLOOR ~= nil then
  1475. CreateSound("289842971", HandlePart, 10, 1)
  1476. CreateSound("289842971", HandlePart, 10, 1)
  1477. CreateSound("289842971", HandlePart, 10, 1)
  1478. CreateSound("289842971", HandlePart, 10, 1)
  1479. CreateDebreeRing(HITFLOOR,RootPart.CFrame*CF(0,-5,-6).p,5,VT(8,8,8),35)
  1480. end
  1481. CreateWave(VT(25,0,25),45,RootPart.CFrame*CF(0,-5,-6),true,2,"Really red",VT(0,3,0))
  1482. CreateWave(VT(25,0,25),45,RootPart.CFrame*CF(0,-5,-6),true,-2,"Really red",VT(0,3,0))
  1483. for i=0, 0.1, 0.1 / Animation_Speed do
  1484. Swait()
  1485. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-70), RAD(-45), RAD(0)), 2 / Animation_Speed)
  1486. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.8) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed)
  1487. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
  1488. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1489. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1490. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1491. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1492. end
  1493. if HOLD == true then
  1494. for i=0, 0.08, 0.1 / Animation_Speed do
  1495. Swait()
  1496. if HOLD == false then
  1497. break
  1498. end
  1499. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-90), RAD(-45), RAD(0)), 2 / Animation_Speed)
  1500. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 2) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed)
  1501. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
  1502. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(120), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1503. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(120), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1504. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1505. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1506. end
  1507. end
  1508. until HOLD == false
  1509. for i=0, 1, 0.1 / Animation_Speed do
  1510. Swait()
  1511. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-70), RAD(-45), RAD(0)), 2 / Animation_Speed)
  1512. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.8) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed)
  1513. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
  1514. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1515. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1516. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1517. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1518. end
  1519. for i=0, 5, 0.1 / Animation_Speed do
  1520. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, 0) * ANGLES(RAD(200), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1521. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -0.8, 0) * ANGLES(RAD(-90), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1522. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1523. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1524. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1525. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1526. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1527. end
  1528. ATTACK = false
  1529. Rooted = false
  1530. end
  1531.  
  1532. --//=================================\\
  1533. --|| ASSIGN THINGS TO KEYS
  1534. --\\=================================//
  1535.  
  1536. function MouseDown(Mouse)
  1537. HOLD = true
  1538. if ATTACK == false then
  1539. BANSLAM()
  1540. end
  1541. end
  1542.  
  1543. function MouseUp(Mouse)
  1544. HOLD = false
  1545. end
  1546.  
  1547. function KeyDown(Key)
  1548. KEYHOLD = true
  1549. if Key == "b" and ATTACK == false then
  1550. local pos = RootPart.Position
  1551. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),pos)
  1552. CreateSound("769380905", Torso, 10, 1)
  1553. end
  1554.  
  1555. if Key == "t" then
  1556. CreateSound("1058417264", Head, 10, 1)
  1557. Delete:ClearAllChildren()
  1558. end
  1559. end
  1560.  
  1561. function KeyUp(Key)
  1562. KEYHOLD = false
  1563. end
  1564.  
  1565. Mouse.Button1Down:connect(function(NEWKEY)
  1566. MouseDown(NEWKEY)
  1567. end)
  1568. Mouse.Button1Up:connect(function(NEWKEY)
  1569. MouseUp(NEWKEY)
  1570. end)
  1571. Mouse.KeyDown:connect(function(NEWKEY)
  1572. KeyDown(NEWKEY)
  1573. end)
  1574. Mouse.KeyUp:connect(function(NEWKEY)
  1575. KeyUp(NEWKEY)
  1576. end)
  1577.  
  1578. --//=================================\\
  1579. --\\=================================//
  1580.  
  1581.  
  1582. function unanchor()
  1583. if UNANCHOR == true then
  1584. g = Character:GetChildren()
  1585. for i = 1, #g do
  1586. if g[i].ClassName == "Part" then
  1587. g[i].Anchored = false
  1588. end
  1589. end
  1590. end
  1591. end
  1592.  
  1593.  
  1594. --//=================================\\
  1595. --|| WRAP THE WHOLE SCRIPT UP
  1596. --\\=================================//
  1597.  
  1598. Humanoid.Changed:connect(function(Jump)
  1599. if Jump == "Jump" and (Disable_Jump == true) then
  1600. Humanoid.Jump = false
  1601. end
  1602. end)
  1603.  
  1604. Speed = 23
  1605.  
  1606. while true do
  1607. Swait()
  1608. ANIMATE.Parent = nil
  1609. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1610. IDLEANIMATION:Play()
  1611. SINE = SINE + CHANGE
  1612. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1613. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1614. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1615. HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1616. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1617. if ATTACK == false then
  1618. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, 0) * ANGLES(RAD(200), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1619. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -0.8, 0) * ANGLES(RAD(-90), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1620. end
  1621. if ANIM == "Walk" and TORSOVELOCITY > 1 and ATTACK == false then
  1622. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1623. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1624. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1625. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1626. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or (ATTACK == true) then
  1627. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1628. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1629. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1630. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1631. end
  1632. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1633. ANIM = "Jump"
  1634. if ATTACK == false then
  1635. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1636. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1637. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1638. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1639. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1640. end
  1641. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1642. ANIM = "Fall"
  1643. if ATTACK == false then
  1644. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1645. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1646. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1647. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1648. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1649. end
  1650. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1651. ANIM = "Idle"
  1652. if ATTACK == false then
  1653. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1654. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1655. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1656. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1657. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1658. end
  1659. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1660. ANIM = "Walk"
  1661. WALK = WALK + 1 / Animation_Speed
  1662. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1663. WALK = 0
  1664. if WALKINGANIM == true then
  1665. WALKINGANIM = false
  1666. elseif WALKINGANIM == false then
  1667. WALKINGANIM = true
  1668. end
  1669. end
  1670. --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1671. --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1672. if ATTACK == false then
  1673. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1674. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1675. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  1676. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1677. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1678. end
  1679. end
  1680. unanchor()
  1681. Humanoid.MaxHealth = 5e15
  1682. Humanoid.Health = 5e15
  1683. if Rooted == false then
  1684. Disable_Jump = false
  1685. Humanoid.WalkSpeed = Speed
  1686. elseif Rooted == true then
  1687. Disable_Jump = true
  1688. Humanoid.WalkSpeed = 0
  1689. end
  1690. local MATHS = {"0","1"}
  1691. Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]
  1692. Humanoid.PlatformStand = false
  1693. local GAME = game.Players:GetChildren()
  1694. for PLAYER = 1, #GAME do
  1695. local PLAY = GAME[PLAYER]
  1696. if PLAY.Character ~= nil and Delete:FindFirstChild(PLAY.Name) then
  1697. PLAY.Character:remove()
  1698. end
  1699. end
  1700. end
  1701.  
  1702. --//=================================\\
  1703. --\\=================================//
  1704.  
  1705.  
  1706.  
  1707.  
  1708.  
  1709. --//====================================================\\--
  1710. --|| END OF SCRIPT
  1711. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement