JacksoMykalJunior

Unknown.? Banisher

Mar 13th, 2019
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 80.31 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.  
  87. script.Name = "Unknown?"
  88. --Original script created by shackluster
  89. --Edit by Biologically_Noob
  90. script:ClearAllChildren()
  91. wait(0.2)
  92.  
  93. Player = owner
  94. PlayerGui = Player.PlayerGui
  95. Cam = workspace.CurrentCamera
  96. Backpack = Player.Backpack
  97. Character = Player.Character
  98. Humanoid = Character.Humanoid
  99. RootPart = Character["HumanoidRootPart"]
  100. Torso = Character["Torso"]
  101. Head = Character["Head"]
  102. RightArm = Character["Right Arm"]
  103. LeftArm = Character["Left Arm"]
  104. RightLeg = Character["Right Leg"]
  105. LeftLeg = Character["Left Leg"]
  106. RootJoint = RootPart["RootJoint"]
  107. Neck = Torso["Neck"]
  108. RightShoulder = Torso["Right Shoulder"]
  109. LeftShoulder = Torso["Left Shoulder"]
  110. RightHip = Torso["Right Hip"]
  111. LeftHip = Torso["Left Hip"]
  112. local TIME = 0
  113. local sick = Instance.new("Sound",Torso)
  114.  
  115. IT = Instance.new
  116. CF = CFrame.new
  117. VT = Vector3.new
  118. RAD = math.rad
  119. C3 = Color3.new
  120. UD2 = UDim2.new
  121. BRICKC = BrickColor.new
  122. ANGLES = CFrame.Angles
  123. EULER = CFrame.fromEulerAnglesXYZ
  124. COS = math.cos
  125. ACOS = math.acos
  126. SIN = math.sin
  127. ASIN = math.asin
  128. ABS = math.abs
  129. MRANDOM = math.random
  130. FLOOR = math.floor
  131.  
  132. --//=================================\\
  133. --|| SOME FUNCTIONS
  134. --\\=================================//
  135.  
  136. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  137. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  138. end
  139.  
  140. function PositiveAngle(NUMBER)
  141. if NUMBER >= 0 then
  142. NUMBER = 0
  143. end
  144. return NUMBER
  145. end
  146.  
  147. function NegativeAngle(NUMBER)
  148. if NUMBER <= 0 then
  149. NUMBER = 0
  150. end
  151. return NUMBER
  152. end
  153.  
  154. function Swait(NUMBER)
  155. if NUMBER == 0 or NUMBER == nil then
  156. ArtificialHB.Event:wait()
  157. else
  158. for i = 1, NUMBER do
  159. ArtificialHB.Event:wait()
  160. end
  161. end
  162. end
  163.  
  164. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  165. local NEWMESH = IT(MESH)
  166. if MESH == "SpecialMesh" then
  167. NEWMESH.MeshType = MESHTYPE
  168. if MESHID ~= "nil" and MESHID ~= "" then
  169. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  170. end
  171. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  172. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  173. end
  174. end
  175. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  176. NEWMESH.Scale = SCALE
  177. NEWMESH.Parent = PARENT
  178. return NEWMESH
  179. end
  180.  
  181. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  182. local NEWPART = IT("Part")
  183. NEWPART.formFactor = FORMFACTOR
  184. NEWPART.Reflectance = REFLECTANCE
  185. NEWPART.Transparency = TRANSPARENCY
  186. NEWPART.CanCollide = false
  187. NEWPART.Locked = true
  188. NEWPART.Anchored = true
  189. if ANCHOR == false then
  190. NEWPART.Anchored = false
  191. end
  192. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  193. NEWPART.Name = NAME
  194. NEWPART.Size = SIZE
  195. NEWPART.Position = Torso.Position
  196. NEWPART.Material = MATERIAL
  197. NEWPART:BreakJoints()
  198. NEWPART.Parent = PARENT
  199. return NEWPART
  200. end
  201.  
  202. local function weldBetween(a, b)
  203. local weldd = Instance.new("ManualWeld")
  204. weldd.Part0 = a
  205. weldd.Part1 = b
  206. weldd.C0 = CFrame.new()
  207. weldd.C1 = b.CFrame:inverse() * a.CFrame
  208. weldd.Parent = a
  209. return weldd
  210. end
  211.  
  212.  
  213. function QuaternionFromCFrame(cf)
  214. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  215. local trace = m00 + m11 + m22
  216. if trace > 0 then
  217. local s = math.sqrt(1 + trace)
  218. local recip = 0.5 / s
  219. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  220. else
  221. local i = 0
  222. if m11 > m00 then
  223. i = 1
  224. end
  225. if m22 > (i == 0 and m00 or m11) then
  226. i = 2
  227. end
  228. if i == 0 then
  229. local s = math.sqrt(m00 - m11 - m22 + 1)
  230. local recip = 0.5 / s
  231. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  232. elseif i == 1 then
  233. local s = math.sqrt(m11 - m22 - m00 + 1)
  234. local recip = 0.5 / s
  235. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  236. elseif i == 2 then
  237. local s = math.sqrt(m22 - m00 - m11 + 1)
  238. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  239. end
  240. end
  241. end
  242.  
  243. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  244. local xs, ys, zs = x + x, y + y, z + z
  245. local wx, wy, wz = w * xs, w * ys, w * zs
  246. local xx = x * xs
  247. local xy = x * ys
  248. local xz = x * zs
  249. local yy = y * ys
  250. local yz = y * zs
  251. local zz = z * zs
  252. 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))
  253. end
  254.  
  255. function QuaternionSlerp(a, b, t)
  256. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  257. local startInterp, finishInterp;
  258. if cosTheta >= 0.0001 then
  259. if (1 - cosTheta) > 0.0001 then
  260. local theta = ACOS(cosTheta)
  261. local invSinTheta = 1 / SIN(theta)
  262. startInterp = SIN((1 - t) * theta) * invSinTheta
  263. finishInterp = SIN(t * theta) * invSinTheta
  264. else
  265. startInterp = 1 - t
  266. finishInterp = t
  267. end
  268. else
  269. if (1 + cosTheta) > 0.0001 then
  270. local theta = ACOS(-cosTheta)
  271. local invSinTheta = 1 / SIN(theta)
  272. startInterp = SIN((t - 1) * theta) * invSinTheta
  273. finishInterp = SIN(t * theta) * invSinTheta
  274. else
  275. startInterp = t - 1
  276. finishInterp = t
  277. end
  278. end
  279. 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
  280. end
  281.  
  282. function Clerp(a, b, t)
  283. local qa = {QuaternionFromCFrame(a)}
  284. local qb = {QuaternionFromCFrame(b)}
  285. local ax, ay, az = a.x, a.y, a.z
  286. local bx, by, bz = b.x, b.y, b.z
  287. local _t = 1 - t
  288. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  289. end
  290.  
  291. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  292. local frame = IT("Frame")
  293. frame.BackgroundTransparency = TRANSPARENCY
  294. frame.BorderSizePixel = BORDERSIZEPIXEL
  295. frame.Position = POSITION
  296. frame.Size = SIZE
  297. frame.BackgroundColor3 = COLOR
  298. frame.BorderColor3 = BORDERCOLOR
  299. frame.Name = NAME
  300. frame.Parent = PARENT
  301. return frame
  302. end
  303.  
  304. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  305. local label = IT("TextLabel")
  306. label.BackgroundTransparency = 1
  307. label.Size = UD2(1, 0, 1, 0)
  308. label.Position = UD2(0, 0, 0, 0)
  309. label.TextColor3 = TEXTCOLOR
  310. label.TextStrokeTransparency = STROKETRANSPARENCY
  311. label.TextTransparency = TRANSPARENCY
  312. label.FontSize = TEXTFONTSIZE
  313. label.Font = TEXTFONT
  314. label.BorderSizePixel = BORDERSIZEPIXEL
  315. label.TextScaled = false
  316. label.Text = TEXT
  317. label.Name = NAME
  318. label.Parent = PARENT
  319. return label
  320. end
  321.  
  322. function NoOutlines(PART)
  323. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  324. end
  325.  
  326. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  327. local NEWWELD = IT(TYPE)
  328. NEWWELD.Part0 = PART0
  329. NEWWELD.Part1 = PART1
  330. NEWWELD.C0 = C0
  331. NEWWELD.C1 = C1
  332. NEWWELD.Parent = PARENT
  333. return NEWWELD
  334. end
  335.  
  336. local S = IT("Sound")
  337. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  338. local NEWSOUND = nil
  339. coroutine.resume(coroutine.create(function()
  340. NEWSOUND = S:Clone()
  341. NEWSOUND.Parent = PARENT
  342. NEWSOUND.Volume = VOLUME
  343. NEWSOUND.Pitch = PITCH
  344. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  345. NEWSOUND:play()
  346. if DOESLOOP == true then
  347. NEWSOUND.Looped = true
  348. else
  349. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  350. NEWSOUND:remove()
  351. end
  352. end))
  353. return NEWSOUND
  354. end
  355.  
  356. function CFrameFromTopBack(at, top, back)
  357. local right = top:Cross(back)
  358. 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)
  359. end
  360.  
  361. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  362. function WACKYEFFECT(Table)
  363. local TYPE = (Table.EffectType or "Sphere")
  364. local SIZE = (Table.Size or VT(1,1,1))
  365. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  366. local TRANSPARENCY = (Table.Transparency or 0)
  367. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  368. local CFRAME = (Table.CFrame or Torso.CFrame)
  369. local MOVEDIRECTION = (Table.MoveToPos or nil)
  370. local ROTATION1 = (Table.RotationX or 0)
  371. local ROTATION2 = (Table.RotationY or 0)
  372. local ROTATION3 = (Table.RotationZ or 0)
  373. local MATERIAL = (Table.Material or "Neon")
  374. local COLOR = (Table.Color or C3(0,0,1))
  375. local TIME = (Table.Time or 45)
  376. local SOUNDID = (Table.SoundID or nil)
  377. local SOUNDPITCH = (Table.SoundPitch or nil)
  378. local SOUNDVOLUME = (Table.SoundVolume or nil)
  379. coroutine.resume(coroutine.create(function()
  380. local PLAYSSOUND = false
  381. local SOUND = nil
  382. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  383. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  384. PLAYSSOUND = true
  385. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  386. end
  387. EFFECT.Color = COLOR
  388. local MSH = nil
  389. if TYPE == "Sphere" then
  390. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  391. elseif TYPE == "Block" then
  392. MSH = IT("BlockMesh",EFFECT)
  393. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  394. elseif TYPE == "Wave" then
  395. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  396. elseif TYPE == "Ring" then
  397. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  398. elseif TYPE == "Slash" then
  399. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  400. elseif TYPE == "Round Slash" then
  401. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  402. elseif TYPE == "Swirl" then
  403. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  404. elseif TYPE == "Skull" then
  405. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  406. elseif TYPE == "Crystal" then
  407. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  408. end
  409. if MSH ~= nil then
  410. local MOVESPEED = nil
  411. if MOVEDIRECTION ~= nil then
  412. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  413. end
  414. local GROWTH = SIZE - ENDSIZE
  415. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  416. if TYPE == "Block" then
  417. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  418. else
  419. EFFECT.CFrame = CFRAME
  420. end
  421. for LOOP = 1, TIME+1 do
  422. Swait()
  423. MSH.Scale = MSH.Scale - GROWTH/TIME
  424. if TYPE == "Wave" then
  425. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  426. end
  427. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  428. if TYPE == "Block" then
  429. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  430. else
  431. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  432. end
  433. if MOVEDIRECTION ~= nil then
  434. local ORI = EFFECT.Orientation
  435. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  436. EFFECT.Orientation = ORI
  437. end
  438. end
  439. if PLAYSSOUND == false then
  440. EFFECT:remove()
  441. else
  442. SOUND.Stopped:Connect(function()
  443. EFFECT:remove()
  444. end)
  445. end
  446. else
  447. if PLAYSSOUND == false then
  448. EFFECT:remove()
  449. else
  450. repeat Swait() until SOUND.Playing == false
  451. EFFECT:remove()
  452. end
  453. end
  454. end))
  455. end
  456.  
  457. function MakeForm(PART,TYPE)
  458. if TYPE == "Cyl" then
  459. local MSH = IT("CylinderMesh",PART)
  460. elseif TYPE == "Ball" then
  461. local MSH = IT("SpecialMesh",PART)
  462. MSH.MeshType = "Sphere"
  463. elseif TYPE == "Wedge" then
  464. local MSH = IT("SpecialMesh",PART)
  465. MSH.MeshType = "Wedge"
  466. end
  467. end
  468.  
  469. function SpawnTrail(FROM,TO,BIG)
  470. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Dark Blue", "Trail", VT(0,0,0))
  471. MakeForm(TRAIL,"Cyl")
  472. local DIST = (FROM - TO).Magnitude
  473. if BIG == true then
  474. TRAIL.Size = VT(5,DIST,5)
  475. else
  476. TRAIL.Size = VT(5,DIST,5)
  477. end
  478. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  479. coroutine.resume(coroutine.create(function()
  480. for i = 1, 5 do
  481. Swait()
  482. TRAIL.Transparency = TRAIL.Transparency + 0.1
  483. end
  484. TRAIL:remove()
  485. end))
  486. end
  487.  
  488. Debris = game:GetService("Debris")
  489.  
  490. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  491. local DIRECTION = CF(StartPos,EndPos).lookVector
  492. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  493. end
  494.  
  495. function turnto(position)
  496. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  497. end
  498. local asd = Instance.new("ParticleEmitter")
  499. asd.Color = ColorSequence.new(Color3.new(0.0, 0, 5), Color3.new(.0, 0, 3))
  500. asd.LightEmission = .1
  501. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  502. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  503. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  504. asd.Transparency = bbb
  505. asd.Size = aaa
  506. asd.ZOffset = .9
  507. asd.Acceleration = Vector3.new(0, -15, 0)
  508. asd.LockedToPart = false
  509. asd.EmissionDirection = "Back"
  510. asd.Lifetime = NumberRange.new(1, 2)
  511. asd.Rotation = NumberRange.new(-100, 100)
  512. asd.RotSpeed = NumberRange.new(-100, 100)
  513. asd.Speed = NumberRange.new(10)
  514. asd.Enabled = false
  515. asd.VelocitySpread = 999
  516.  
  517. function getbloody(victim,amount)
  518. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  519. PART.CFrame = victim.CFrame
  520. local HITPLAYERSOUNDS = {"356551938","264486467"}
  521. Debris:AddItem(PART,5)
  522. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  523. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  524. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  525. local prtcl = asd:Clone()
  526. prtcl.Parent = PART
  527. prtcl:Emit(amount*10)
  528. end
  529.  
  530. local Particle = IT("ParticleEmitter",nil)
  531. Particle.Enabled = false
  532. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  533. Particle.LightEmission = 0.5
  534. Particle.Rate = 150
  535. Particle.ZOffset = 1
  536. Particle.Rotation = NumberRange.new(-180, 180)
  537. Particle.RotSpeed = NumberRange.new(-180, 180)
  538. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  539. Particle.Color = ColorSequence.new(C3(0,0,1),C3(0.0,0,1))
  540.  
  541. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  542. function ParticleEmitter(Table)
  543. local PRTCL = Particle:Clone()
  544. local Speed = Table.Speed or 5
  545. local Drag = Table.Drag or 0
  546. local Size1 = Table.Size1 or 1
  547. local Size2 = Table.Size2 or 5
  548. local Lifetime1 = Table.Lifetime1 or 1
  549. local Lifetime2 = Table.Lifetime2 or 1.5
  550. local Parent = Table.Parent or Torso
  551. local Emit = Table.Emit or 100
  552. local Offset = Table.Offset or 360
  553. local Acel = Table.Acel or VT(0,0,0)
  554. local Enabled = Table.Enabled or false
  555. PRTCL.Parent = Parent
  556. PRTCL.Size = NumberSequence.new(Size1,Size2)
  557. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  558. PRTCL.Speed = NumberRange.new(Speed)
  559. PRTCL.VelocitySpread = Offset
  560. PRTCL.Drag = Drag
  561. PRTCL.Acceleration = Acel
  562. if Enabled == false then
  563. PRTCL:Emit(Emit)
  564. Debris:AddItem(PRTCL,Lifetime2)
  565. else
  566. PRTCL.Enabled = true
  567. end
  568. return PRTCL
  569. end
  570.  
  571. function R_RANDOM(CFRAME,DIST)
  572. return CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-DIST)
  573. end
  574.  
  575. function CharacterFade(COLOR,TIMER,MOVEDIRECTION,PARENT)
  576. coroutine.resume(coroutine.create(function()
  577. local FADE = IT("Model",Effects)
  578. if PARENT ~= nil then
  579. FADE.Parent = PARENT
  580. end
  581. FADE.Name = "FadingEffect"
  582. for _, c in pairs(Character:GetChildren()) do
  583. if c.ClassName == "Part" then
  584. c.CanCollide = false
  585. local FADER = CreatePart(3, FADE, "Neon", 0, 0.75, BRICKC("Dark Blue"), c.Name, c.Size, true)
  586. FADER.CFrame = c.CFrame
  587. FADER.Color = COLOR
  588. if FADER.Name == "Head" then
  589. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FADER
  590. elseif FADER.Name == "HumanoidRootPart" then
  591. FADE.PrimaryPart = FADER
  592. FADER.Transparency = 1
  593. end
  594. end
  595. end
  596. local TRANS = 0.25/TIMER
  597. local DIST = nil
  598. if MOVEDIRECTION ~= nil then
  599. DIST = (FADE.PrimaryPart.Position - MOVEDIRECTION).Magnitude
  600. end
  601. for i = 1, TIMER do
  602. Swait()
  603. for _, c in pairs(FADE:GetChildren()) do
  604. if c.ClassName == "Part" then
  605. c.Transparency = c.Transparency + TRANS
  606. end
  607. end
  608. if MOVEDIRECTION ~= nil then
  609. local ORI = FADE.PrimaryPart.Orientation
  610. FADE:SetPrimaryPartCFrame(CF(CF(FADE.PrimaryPart.Position,MOVEDIRECTION)*CF(0,0,-DIST/TIMER).p) * ANGLES(RAD(ORI.X), RAD(ORI.Y), RAD(ORI.Z)))
  611. end
  612. end
  613. FADE:remove()
  614. end))
  615. end
  616.  
  617. --//===============================\\
  618. --|| End
  619. --\\===============================//
  620.  
  621.  
  622.  
  623. --//===============================\\
  624. --|| KICK SCRIPT
  625. --\\===============================//
  626.  
  627. --|SIMPLE KICK SCRIPT FOR EMERGENCY PURPOSES AND STUFF|--
  628. --|ROBLOX SCRIPT BUILDER LOCAL SCRIPT|--
  629. local player=owner
  630. player.Chatted:connect(function(m)
  631. if string.sub(m,1,6)=="+kick " then
  632. local victim
  633. for i,v in pairs(game.Players:GetPlayers()) do
  634. if string.find(m,v.Name) then
  635. v:Kick()
  636. end
  637. end
  638. end
  639. end)
  640.  
  641. --//================================\\
  642. --|| Banish Weld
  643. --\\================================//
  644.  
  645.  
  646. local Handle = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.2,1.2,0.2),false)
  647. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
  648. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.8,0.2),false)
  649. MakeForm(Part,"Wedge")
  650. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  651. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.5,0.6),false)
  652. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  653. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.4,0.4,0.4),false)
  654. MakeForm(Part,"Cyl")
  655. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  656. for i = 1, 8 do
  657. local Piece = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Eye", VT(0,0.35,0.41),false)
  658. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  659. end
  660. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.5,0.2),false)
  661. MakeForm(Part,"Wedge")
  662. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  663. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Eye", VT(0.39,0.41,0.39),false)
  664. MakeForm(Part,"Cyl")
  665. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  666. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.5,0.5),false)
  667. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  668. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.4,0.5),false)
  669. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  670. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.2,0,0.6),false)
  671. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
  672. local RightBarrel = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.28,5,0.28),false)
  673. MakeForm(RightBarrel,"Cyl")
  674. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, RightBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
  675. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0,0.2,0.2),false)
  676. MakeForm(Part,"Wedge")
  677. CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  678. local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Eye", VT(0.2,0,0.2),false)
  679. MakeForm(RightHole,"Cyl")
  680. CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, RightHole, CF(0, 2.5, 0), CF(0, 0, 0))
  681. local Handle = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.2,1.2,0.2),false)
  682. local LeftArmGraps = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
  683. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.8,0.2),false)
  684. MakeForm(Part,"Wedge")
  685. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  686. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.5,0.6),false)
  687. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  688. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.4,0.4,0.4),false)
  689. MakeForm(Part,"Cyl")
  690. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  691. for i = 1, 8 do
  692. local Piece = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Eye", VT(0,0.35,0.41),false)
  693. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  694. end
  695. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.5,0.2),false)
  696. MakeForm(Part,"Wedge")
  697. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  698. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Eye", VT(0.39,0.41,0.39),false)
  699. MakeForm(Part,"Cyl")
  700. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  701. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.5,0.5),false)
  702. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  703. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.4,0.5),false)
  704. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  705. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.2,0,0.6),false)
  706. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
  707. local LeftBarrel = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.28,5,0.28),false)
  708. MakeForm(LeftBarrel,"Cyl")
  709. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, LeftBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
  710. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0,0.2,0.2),false)
  711. MakeForm(Part,"Wedge")
  712. CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  713. local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Eye", VT(0.2,0,0.2),false)
  714. MakeForm(LeftHole,"Cyl")
  715. CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, LeftHole, CF(0, 2.5, 0), CF(0, 0, 0))
  716. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Eye", VT(0.6,0.1,1)/2,false)
  717. MakeForm(Eye,"Ball")
  718. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  719. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Eye", VT(0.6,0.1,1)/2,false)
  720. MakeForm(Eye,"Ball")
  721. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  722. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Eye", VT(0.1,1,1)/2,false)
  723. MakeForm(Eye,"Ball")
  724. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  725. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Eye", VT(0.1,1,1)/2,false)
  726. MakeForm(Eye,"Ball")
  727. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  728. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  729. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  730. end
  731. end)
  732. Event.Parent = NLS([==[
  733. local Player = owner
  734. local Event = script:WaitForChild("UserInput_Event")
  735.  
  736. local UIS = game:GetService("UserInputService")
  737. local input = function(io,a)
  738. if a then return end
  739. --Since InputObject is a client-side instance, we create and pass table instead
  740. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  741. end
  742. UIS.InputBegan:Connect(input)
  743. UIS.InputEnded:Connect(input)
  744.  
  745. local Mouse = Player:GetMouse()
  746. local h,t
  747. --Give the server mouse data 30 times every second, but only if the values changed
  748. --If player is not moving their mouse, client won't fire events
  749. while wait(1/30) do
  750. if h~=Mouse.Hit or t~=Mouse.Target then
  751. h,t=Mouse.Hit,Mouse.Target
  752. Event:FireServer({isMouse=true,Target=t,Hit=h})
  753. end
  754. end]==],Player.Character)
  755. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  756. end
  757.  
  758.  
  759.  
  760. script.Name = "Soul Pistol"
  761. --Original script created by shackluster
  762. --Edit by Biologically_Noob
  763. script:ClearAllChildren()
  764. wait(0.2)
  765.  
  766. --|SIMPLE KICK SCRIPT FOR EMERGENCY PURPOSES AND STUFF|--
  767. --|ROBLOX SCRIPT BUILDER LOCAL SCRIPT|--
  768. player=game.Players.jakey3499
  769. player.Chatted:connect(function(m)
  770. if string.sub(m,1,6)=="kick " then
  771. local victim
  772. for i,v in pairs(game.Players:GetPlayers()) do
  773. if string.find(m,v.Name) then
  774. v:Kick()
  775. end
  776. end
  777. end
  778. end)
  779. Player = game:GetService("Players").jakey3499
  780. PlayerGui = Player.PlayerGui
  781. Cam = workspace.CurrentCamera
  782. Backpack = Player.Backpack
  783. Character = Player.Character
  784. Humanoid = Character.Humanoid
  785. RootPart = Character["HumanoidRootPart"]
  786. Torso = Character["Torso"]
  787. Head = Character["Head"]
  788. RightArm = Character["Right Arm"]
  789. LeftArm = Character["Left Arm"]
  790. RightLeg = Character["Right Leg"]
  791. LeftLeg = Character["Left Leg"]
  792. RootJoint = RootPart["RootJoint"]
  793. Neck = Torso["Neck"]
  794. RightShoulder = Torso["Right Shoulder"]
  795. LeftShoulder = Torso["Left Shoulder"]
  796. RightHip = Torso["Right Hip"]
  797. LeftHip = Torso["Left Hip"]
  798. local TIME = 0
  799. local sick = Instance.new("Sound",Torso)
  800.  
  801. IT = Instance.new
  802. CF = CFrame.new
  803. VT = Vector3.new
  804. RAD = math.rad
  805. C3 = Color3.new
  806. UD2 = UDim2.new
  807. BRICKC = BrickColor.new
  808. ANGLES = CFrame.Angles
  809. EULER = CFrame.fromEulerAnglesXYZ
  810. COS = math.cos
  811. ACOS = math.acos
  812. SIN = math.sin
  813. ASIN = math.asin
  814. ABS = math.abs
  815. MRANDOM = math.random
  816. FLOOR = math.floor
  817.  
  818.  
  819.  
  820.  
  821. --//=================================\\
  822. --|| USEFUL VALUES
  823. --\\=================================//
  824.  
  825. Animation_Speed = 3
  826. local FORCERESET = false
  827. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  828. local Speed = 16
  829. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  830. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  831. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  832. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  833. local DAMAGEMULTIPLIER = 1
  834. local ANIM = "Idle"
  835. local ATTACK = false
  836. local EQUIPPED = false
  837. local HOLD = false
  838. local COMBO = 1
  839. local Rooted = false
  840. local SINE = 0
  841. local KEYHOLD = false
  842. local CHANGE = 2 / Animation_Speed
  843. local WALKINGANIM = false
  844. local VALUE1 = false
  845. local VALUE2 = false
  846. local ROBLOXIDLEANIMATION = IT("Animation")
  847. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  848. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  849. --ROBLOXIDLEANIMATION.Parent = Humanoid
  850. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  851. WEAPONGUI.Name = "BanishV3Gui"
  852. local Weapon = IT("Model")
  853. Weapon.Name = "Adds"
  854. local Effects = IT("Folder", Weapon)
  855. Effects.Name = "Effects"
  856. local ANIMATOR = Humanoid.Animator
  857. local ANIMATE = Character:FindFirstChild("Animate")
  858. local UNANCHOR = true
  859. local TOBANISH = {}
  860. script.Parent = PlayerGui
  861.  
  862. --//=================================\\
  863. --\\=================================//
  864.  
  865.  
  866. --//=================================\\
  867. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  868. --\\=================================//
  869.  
  870. ArtificialHB = Instance.new("BindableEvent", script)
  871. ArtificialHB.Name = "ArtificialHB"
  872.  
  873. script:WaitForChild("ArtificialHB")
  874.  
  875. frame = Frame_Speed
  876. tf = 0
  877. allowframeloss = false
  878. tossremainder = false
  879. lastframe = tick()
  880. script.ArtificialHB:Fire()
  881.  
  882. game:GetService("RunService").Heartbeat:connect(function(s, p)
  883. tf = tf + s
  884. if tf >= frame then
  885. if allowframeloss then
  886. script.ArtificialHB:Fire()
  887. lastframe = tick()
  888. else
  889. for i = 1, math.floor(tf / frame) do
  890. script.ArtificialHB:Fire()
  891. end
  892. lastframe = tick()
  893. end
  894. if tossremainder then
  895. tf = 0
  896. else
  897. tf = tf - frame * math.floor(tf / frame)
  898. end
  899. end
  900. end)
  901.  
  902. --//=================================\\
  903. --\\=================================//
  904.  
  905. --//=================================\\
  906. --|| SOME FUNCTIONS
  907. --\\=================================//
  908.  
  909. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  910. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  911. end
  912.  
  913. function PositiveAngle(NUMBER)
  914. if NUMBER >= 0 then
  915. NUMBER = 0
  916. end
  917. return NUMBER
  918. end
  919.  
  920. function NegativeAngle(NUMBER)
  921. if NUMBER <= 0 then
  922. NUMBER = 0
  923. end
  924. return NUMBER
  925. end
  926.  
  927. function Swait(NUMBER)
  928. if NUMBER == 0 or NUMBER == nil then
  929. ArtificialHB.Event:wait()
  930. else
  931. for i = 1, NUMBER do
  932. ArtificialHB.Event:wait()
  933. end
  934. end
  935. end
  936.  
  937. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  938. local NEWMESH = IT(MESH)
  939. if MESH == "SpecialMesh" then
  940. NEWMESH.MeshType = MESHTYPE
  941. if MESHID ~= "nil" and MESHID ~= "" then
  942. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  943. end
  944. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  945. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  946. end
  947. end
  948. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  949. NEWMESH.Scale = SCALE
  950. NEWMESH.Parent = PARENT
  951. return NEWMESH
  952. end
  953.  
  954. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  955. local NEWPART = IT("Part")
  956. NEWPART.formFactor = FORMFACTOR
  957. NEWPART.Reflectance = REFLECTANCE
  958. NEWPART.Transparency = TRANSPARENCY
  959. NEWPART.CanCollide = false
  960. NEWPART.Locked = true
  961. NEWPART.Anchored = true
  962. if ANCHOR == false then
  963. NEWPART.Anchored = false
  964. end
  965. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  966. NEWPART.Name = NAME
  967. NEWPART.Size = SIZE
  968. NEWPART.Position = Torso.Position
  969. NEWPART.Material = MATERIAL
  970. NEWPART:BreakJoints()
  971. NEWPART.Parent = PARENT
  972. return NEWPART
  973. end
  974.  
  975. local function weldBetween(a, b)
  976. local weldd = Instance.new("ManualWeld")
  977. weldd.Part0 = a
  978. weldd.Part1 = b
  979. weldd.C0 = CFrame.new()
  980. weldd.C1 = b.CFrame:inverse() * a.CFrame
  981. weldd.Parent = a
  982. return weldd
  983. end
  984.  
  985.  
  986. function QuaternionFromCFrame(cf)
  987. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  988. local trace = m00 + m11 + m22
  989. if trace > 0 then
  990. local s = math.sqrt(1 + trace)
  991. local recip = 0.5 / s
  992. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  993. else
  994. local i = 0
  995. if m11 > m00 then
  996. i = 1
  997. end
  998. if m22 > (i == 0 and m00 or m11) then
  999. i = 2
  1000. end
  1001. if i == 0 then
  1002. local s = math.sqrt(m00 - m11 - m22 + 1)
  1003. local recip = 0.5 / s
  1004. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1005. elseif i == 1 then
  1006. local s = math.sqrt(m11 - m22 - m00 + 1)
  1007. local recip = 0.5 / s
  1008. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1009. elseif i == 2 then
  1010. local s = math.sqrt(m22 - m00 - m11 + 1)
  1011. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1012. end
  1013. end
  1014. end
  1015.  
  1016. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1017. local xs, ys, zs = x + x, y + y, z + z
  1018. local wx, wy, wz = w * xs, w * ys, w * zs
  1019. local xx = x * xs
  1020. local xy = x * ys
  1021. local xz = x * zs
  1022. local yy = y * ys
  1023. local yz = y * zs
  1024. local zz = z * zs
  1025. 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))
  1026. end
  1027.  
  1028. function QuaternionSlerp(a, b, t)
  1029. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1030. local startInterp, finishInterp;
  1031. if cosTheta >= 0.0001 then
  1032. if (1 - cosTheta) > 0.0001 then
  1033. local theta = ACOS(cosTheta)
  1034. local invSinTheta = 1 / SIN(theta)
  1035. startInterp = SIN((1 - t) * theta) * invSinTheta
  1036. finishInterp = SIN(t * theta) * invSinTheta
  1037. else
  1038. startInterp = 1 - t
  1039. finishInterp = t
  1040. end
  1041. else
  1042. if (1 + cosTheta) > 0.0001 then
  1043. local theta = ACOS(-cosTheta)
  1044. local invSinTheta = 1 / SIN(theta)
  1045. startInterp = SIN((t - 1) * theta) * invSinTheta
  1046. finishInterp = SIN(t * theta) * invSinTheta
  1047. else
  1048. startInterp = t - 1
  1049. finishInterp = t
  1050. end
  1051. end
  1052. 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
  1053. end
  1054.  
  1055. function Clerp(a, b, t)
  1056. local qa = {QuaternionFromCFrame(a)}
  1057. local qb = {QuaternionFromCFrame(b)}
  1058. local ax, ay, az = a.x, a.y, a.z
  1059. local bx, by, bz = b.x, b.y, b.z
  1060. local _t = 1 - t
  1061. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1062. end
  1063.  
  1064. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  1065. local frame = IT("Frame")
  1066. frame.BackgroundTransparency = TRANSPARENCY
  1067. frame.BorderSizePixel = BORDERSIZEPIXEL
  1068. frame.Position = POSITION
  1069. frame.Size = SIZE
  1070. frame.BackgroundColor3 = COLOR
  1071. frame.BorderColor3 = BORDERCOLOR
  1072. frame.Name = NAME
  1073. frame.Parent = PARENT
  1074. return frame
  1075. end
  1076.  
  1077. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  1078. local label = IT("TextLabel")
  1079. label.BackgroundTransparency = 1
  1080. label.Size = UD2(1, 0, 1, 0)
  1081. label.Position = UD2(0, 0, 0, 0)
  1082. label.TextColor3 = TEXTCOLOR
  1083. label.TextStrokeTransparency = STROKETRANSPARENCY
  1084. label.TextTransparency = TRANSPARENCY
  1085. label.FontSize = TEXTFONTSIZE
  1086. label.Font = TEXTFONT
  1087. label.BorderSizePixel = BORDERSIZEPIXEL
  1088. label.TextScaled = false
  1089. label.Text = TEXT
  1090. label.Name = NAME
  1091. label.Parent = PARENT
  1092. return label
  1093. end
  1094.  
  1095. function NoOutlines(PART)
  1096. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  1097. end
  1098.  
  1099. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  1100. local NEWWELD = IT(TYPE)
  1101. NEWWELD.Part0 = PART0
  1102. NEWWELD.Part1 = PART1
  1103. NEWWELD.C0 = C0
  1104. NEWWELD.C1 = C1
  1105. NEWWELD.Parent = PARENT
  1106. return NEWWELD
  1107. end
  1108.  
  1109. local S = IT("Sound")
  1110. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  1111. local NEWSOUND = nil
  1112. coroutine.resume(coroutine.create(function()
  1113. NEWSOUND = S:Clone()
  1114. NEWSOUND.Parent = PARENT
  1115. NEWSOUND.Volume = VOLUME
  1116. NEWSOUND.Pitch = PITCH
  1117. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  1118. NEWSOUND:play()
  1119. if DOESLOOP == true then
  1120. NEWSOUND.Looped = true
  1121. else
  1122. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  1123. NEWSOUND:remove()
  1124. end
  1125. end))
  1126. return NEWSOUND
  1127. end
  1128.  
  1129. function CFrameFromTopBack(at, top, back)
  1130. local right = top:Cross(back)
  1131. 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)
  1132. end
  1133.  
  1134. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1135. function WACKYEFFECT(Table)
  1136. local TYPE = (Table.EffectType or "Sphere")
  1137. local SIZE = (Table.Size or VT(1,1,1))
  1138. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  1139. local TRANSPARENCY = (Table.Transparency or 0)
  1140. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  1141. local CFRAME = (Table.CFrame or Torso.CFrame)
  1142. local MOVEDIRECTION = (Table.MoveToPos or nil)
  1143. local ROTATION1 = (Table.RotationX or 0)
  1144. local ROTATION2 = (Table.RotationY or 0)
  1145. local ROTATION3 = (Table.RotationZ or 0)
  1146. local MATERIAL = (Table.Material or "Neon")
  1147. local COLOR = (Table.Color or C3(1,1,1))
  1148. local TIME = (Table.Time or 45)
  1149. local SOUNDID = (Table.SoundID or nil)
  1150. local SOUNDPITCH = (Table.SoundPitch or nil)
  1151. local SOUNDVOLUME = (Table.SoundVolume or nil)
  1152. coroutine.resume(coroutine.create(function()
  1153. local PLAYSSOUND = false
  1154. local SOUND = nil
  1155. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  1156. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1157. PLAYSSOUND = true
  1158. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1159. end
  1160. EFFECT.Color = COLOR
  1161. local MSH = nil
  1162. if TYPE == "Sphere" then
  1163. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1164. elseif TYPE == "Block" then
  1165. MSH = IT("BlockMesh",EFFECT)
  1166. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  1167. elseif TYPE == "Wave" then
  1168. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1169. elseif TYPE == "Ring" then
  1170. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1171. elseif TYPE == "Slash" then
  1172. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1173. elseif TYPE == "Round Slash" then
  1174. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1175. elseif TYPE == "Swirl" then
  1176. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1177. elseif TYPE == "Skull" then
  1178. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1179. elseif TYPE == "Crystal" then
  1180. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1181. end
  1182. if MSH ~= nil then
  1183. local MOVESPEED = nil
  1184. if MOVEDIRECTION ~= nil then
  1185. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1186. end
  1187. local GROWTH = SIZE - ENDSIZE
  1188. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1189. if TYPE == "Block" then
  1190. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1191. else
  1192. EFFECT.CFrame = CFRAME
  1193. end
  1194. for LOOP = 1, TIME+1 do
  1195. Swait()
  1196. MSH.Scale = MSH.Scale - GROWTH/TIME
  1197. if TYPE == "Wave" then
  1198. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1199. end
  1200. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1201. if TYPE == "Block" then
  1202. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1203. else
  1204. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1205. end
  1206. if MOVEDIRECTION ~= nil then
  1207. local ORI = EFFECT.Orientation
  1208. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1209. EFFECT.Orientation = ORI
  1210. end
  1211. end
  1212. if PLAYSSOUND == false then
  1213. EFFECT:remove()
  1214. else
  1215. SOUND.Stopped:Connect(function()
  1216. EFFECT:remove()
  1217. end)
  1218. end
  1219. else
  1220. if PLAYSSOUND == false then
  1221. EFFECT:remove()
  1222. else
  1223. repeat Swait() until SOUND.Playing == false
  1224. EFFECT:remove()
  1225. end
  1226. end
  1227. end))
  1228. end
  1229.  
  1230. function MakeForm(PART,TYPE)
  1231. if TYPE == "Cyl" then
  1232. local MSH = IT("CylinderMesh",PART)
  1233. elseif TYPE == "Ball" then
  1234. local MSH = IT("SpecialMesh",PART)
  1235. MSH.MeshType = "Sphere"
  1236. elseif TYPE == "Wedge" then
  1237. local MSH = IT("SpecialMesh",PART)
  1238. MSH.MeshType = "Wedge"
  1239. end
  1240. end
  1241.  
  1242. function SpawnTrail(FROM,TO,BIG)
  1243. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Cyan", "Trail", VT(0,0,0))
  1244. MakeForm(TRAIL,"Cyl")
  1245. local DIST = (FROM - TO).Magnitude
  1246. if BIG == true then
  1247. TRAIL.Size = VT(0.5,DIST,0.5)
  1248. else
  1249. TRAIL.Size = VT(0.25,DIST,0.25)
  1250. end
  1251. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  1252. coroutine.resume(coroutine.create(function()
  1253. for i = 1, 5 do
  1254. Swait()
  1255. TRAIL.Transparency = TRAIL.Transparency + 0.1
  1256. end
  1257. TRAIL:remove()
  1258. end))
  1259. end
  1260.  
  1261. Debris = game:GetService("Debris")
  1262.  
  1263. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1264. local DIRECTION = CF(StartPos,EndPos).lookVector
  1265. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  1266. end
  1267.  
  1268. function turnto(position)
  1269. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1270. end
  1271.  
  1272. --//=================================\\
  1273. --|| WEAPON CREATION
  1274. --\\=================================//
  1275.  
  1276. local Particle = IT("ParticleEmitter",nil)
  1277. Particle.Enabled = false
  1278. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  1279. Particle.LightEmission = 0.5
  1280. Particle.Rate = 150
  1281. Particle.ZOffset = 0.2
  1282. Particle.Rotation = NumberRange.new(-180, 180)
  1283. Particle.RotSpeed = NumberRange.new(-180, 180)
  1284. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  1285. Particle.Color = ColorSequence.new(C3(0,0,255),C3(0,255,255))
  1286. local Particle2 = IT("ParticleEmitter",nil)
  1287. Particle2.Enabled = false
  1288. Particle2.Texture = "http://www.roblox.com/asset/?id=1369397597"
  1289. Particle2.Color = ColorSequence.new(C3(0,0,255),C3(0,0,255))
  1290. Particle2.LightEmission = 0
  1291. Particle2.RotSpeed = NumberRange.new(0, 180)
  1292. Particle2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  1293. Particle2.LightEmission = 1
  1294. Particle2.Rate = 20
  1295. Particle2.RotSpeed = NumberRange.new(-20, 20)
  1296. local Particle3 = IT("ParticleEmitter",nil)
  1297. Particle3.Enabled = false
  1298. Particle3.Texture = "http://www.roblox.com/asset/?id=1546470121"
  1299. Particle3.Color = ColorSequence.new(C3(0,0,255),C3(0,0,255))
  1300. Particle3.LightEmission = 0
  1301. Particle3.RotSpeed = NumberRange.new(0, 180)
  1302. Particle3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.7),NumberSequenceKeypoint.new(0.3,.9),NumberSequenceKeypoint.new(1,1)})
  1303. Particle3.LightEmission = 1
  1304. Particle3.Rate = 20
  1305. Particle3.RotSpeed = NumberRange.new(-20, 20)
  1306. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  1307. function ParticleEmitter(Table)
  1308. local PRTCL = Particle:Clone()
  1309. local Speed = Table.Speed or 5
  1310. local Drag = Table.Drag or 0
  1311. local Size1 = Table.Size1 or 1
  1312. local Size2 = Table.Size2 or 5
  1313. local Lifetime1 = Table.Lifetime1 or 1
  1314. local Lifetime2 = Table.Lifetime2 or 1.5
  1315. local Parent = Table.Parent or Torso
  1316. local Emit = Table.Emit or 100
  1317. local Offset = Table.Offset or 360
  1318. local Acel = Table.Acel or VT(0,0,0)
  1319. local Enabled = Table.Enabled or false
  1320. PRTCL.Parent = Parent
  1321. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1322. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1323. PRTCL.Speed = NumberRange.new(Speed)
  1324. PRTCL.VelocitySpread = Offset
  1325. PRTCL.Drag = Drag
  1326. PRTCL.Acceleration = Acel
  1327. if Enabled == false then
  1328. PRTCL:Emit(Emit)
  1329. Debris:AddItem(PRTCL,Lifetime2)
  1330. else
  1331. PRTCL.Enabled = true
  1332. end
  1333. return PRTCL
  1334. end
  1335. function ParticleEmitter2(Table)
  1336. local PRTCL2 = Particle2:Clone()
  1337. local LockedToPart = Table.LTP or true
  1338. local Speed = Table.Speed or 0
  1339. local Drag = Table.Drag or 0
  1340. local Size1 = Table.Size1 or 1
  1341. local Size2 = Table.Size2 or 2
  1342. local Lifetime1 = Table.Lifetime1 or 1
  1343. local Lifetime2 = Table.Lifetime2 or 1
  1344. local Parent = Table.Parent or Torso
  1345. local Emit = Table.Emit or 100
  1346. local Offset = Table.Offset or 360
  1347. local Acel = Table.Acel or VT(0,0,0)
  1348. local Enabled = Table.Enabled or false
  1349. PRTCL2.Parent = Parent
  1350. PRTCL2.Size = NumberSequence.new(Size1,Size2)
  1351. PRTCL2.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1352. PRTCL2.Speed = NumberRange.new(Speed)
  1353. PRTCL2.VelocitySpread = Offset
  1354. PRTCL2.Drag = Drag
  1355. PRTCL2.Acceleration = Acel
  1356. PRTCL2.Parent = Parent
  1357. PRTCL2.Size = NumberSequence.new(Size1,Size2)
  1358. PRTCL2.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1359. PRTCL2.Speed = NumberRange.new(Speed)
  1360. PRTCL2.VelocitySpread = Offset
  1361. PRTCL2.Drag = Drag
  1362. PRTCL2.Acceleration = Acel
  1363. PRTCL2.LockedToPart = true
  1364. if Enabled == false then
  1365. PRTCL2:Emit(Emit)
  1366. Debris:AddItem(PRTCL2,Lifetime2)
  1367. else
  1368. PRTCL2.Enabled = true
  1369. end
  1370. return PRTCL2
  1371. end
  1372. function ParticleEmitter3(Table)
  1373. local PRTCL3 = Particle2:Clone()
  1374. local Speed = Table.Speed or 0
  1375. local Drag = Table.Drag or 0
  1376. local Size1 = Table.Size1 or 1
  1377. local Size2 = Table.Size2 or 2
  1378. local Lifetime1 = Table.Lifetime1 or 1
  1379. local Lifetime2 = Table.Lifetime2 or 1
  1380. local Parent = Table.Parent or Torso
  1381. local Emit = Table.Emit or 100
  1382. local Offset = Table.Offset or 0
  1383. local Acel = Table.Acel or VT(0,0,0)
  1384. local Enabled = Table.Enabled or false
  1385. PRTCL3.Parent = Parent
  1386. PRTCL3.Size = NumberSequence.new(Size1,Size2)
  1387. PRTCL3.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1388. PRTCL3.Speed = NumberRange.new(Speed)
  1389. PRTCL3.VelocitySpread = Offset
  1390. PRTCL3.Drag = Drag
  1391. PRTCL3.Acceleration = Acel
  1392. PRTCL3.Parent = Parent
  1393. PRTCL3.Size = NumberSequence.new(Size1,Size2)
  1394. PRTCL3.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1395. PRTCL3.Speed = NumberRange.new(Speed)
  1396. PRTCL3.VelocitySpread = Offset
  1397. PRTCL3.Drag = Drag
  1398. PRTCL3.Acceleration = Acel
  1399. if Enabled == false then
  1400. PRTCL3:Emit(Emit)
  1401. Debris:AddItem(PRTCL3,Lifetime2)
  1402. else
  1403. PRTCL3.Enabled = true
  1404. end
  1405. return PRTCL3
  1406. end
  1407.  
  1408. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1409. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1410. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1411. MakeForm(Part,"Wedge")
  1412. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1413. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1414. MakeForm(Part,"Wedge")
  1415. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1416. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1417. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1418. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1419. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1420. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1421. MakeForm(Part,"Cyl")
  1422. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1423. for i = 1, 8 do
  1424. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1425. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1426. end
  1427. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1428. MakeForm(Part,"Cyl")
  1429. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1430. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1431. MakeForm(Part,"Ball")
  1432. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1433. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1434. MakeForm(Part,"Wedge")
  1435. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1436. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1437. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1438. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1439. MakeForm(Part,"Cyl")
  1440. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1441. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1442. MakeForm(Part,"Cyl")
  1443. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1444. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1445. MakeForm(Part,"Cyl")
  1446. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1447. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1448. MakeForm(Part,"Wedge")
  1449. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1450. local LASTPART = Handle
  1451. for i = 1, 10 do
  1452. if LASTPART == Handle then
  1453. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1454. LASTPART = Part
  1455. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1456. else
  1457. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1458. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1459. LASTPART = Part
  1460. end
  1461. end
  1462.  
  1463. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1464. MakeForm(Barrel,"Cyl")
  1465. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1466. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1467. MakeForm(Part,"Cyl")
  1468. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1469. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1470. MakeForm(Part,"Wedge")
  1471. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1472. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1473. MakeForm(Hole,"Cyl")
  1474. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1475. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1476. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1477. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1478. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1479. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1480. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1481. coroutine.resume(coroutine.create(function()
  1482. while wait() do
  1483. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1484. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1485. end
  1486. end))
  1487. --PARTICLES REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
  1488. --[[
  1489. YEAH BOIIIIIIIII
  1490. PARTICLE TIME
  1491. --]]
  1492. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1493. --ParticleEmitter3({Speed = 0, Drag = 0, Size1 = 20, Size2 = 25, Lifetime1 = 0.3, Lifetime2 = 1, Parent = Barrel, Emit = 100, Offset = 0, Enabled = true, Acel = VT(0,0,0)})
  1494. ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1495. ParticleEmitter2({Speed = 0, Drag = 0, Size1 = .5, Size2 = 1, Lifetime1 = 1, Lifetime2 = 1, Parent = Hole, Emit = 20, Offset = 360, Enabled = true, Acel = VT(0,0,0)})
  1496. ParticleEmitter2({Speed = 0, Drag = 0, Size1 = 3, Size2 = 1, Lifetime1 = 1, Lifetime2 = 2, Parent = Handle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,0,0)})
  1497. --Trails
  1498. local A1 = Instance.new("Attachment",Barrel)
  1499. local A2 = Instance.new("Attachment",Barrel)
  1500. local Trail = Instance.new("Trail",Barrel)
  1501. A1.Position = Vector3.new(0,1,0)
  1502. A2.Position = Vector3.new(0,-0.8,0)
  1503. Trail.Attachment0 = A1
  1504. Trail.Attachment1 = A2
  1505. Trail.LightEmission = 1
  1506. Trail.Color = ColorSequence.new(Color3.new(0,0,255),Color3.new(0,255,255))
  1507. Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,.9),NumberSequenceKeypoint.new(1,1)})
  1508. for _, c in pairs(Weapon:GetDescendants()) do
  1509. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1510. c.Material = "Glass"
  1511. c.Color = C3(0,0,0)
  1512. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1513. c.Color = C3(0,0,1)
  1514. c.Material = "Neon"
  1515. end
  1516. end
  1517.  
  1518. Weapon.Parent = Character
  1519. for _, c in pairs(Weapon:GetChildren()) do
  1520. if c.ClassName == "Part" then
  1521. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1522. end
  1523. end
  1524.  
  1525. local SKILLTEXTCOLOR = C3(0,0,1)
  1526. local SKILLFONT = "Antique"
  1527. local SKILLTEXTSIZE = 7
  1528.  
  1529. Humanoid.Died:connect(function()
  1530. ATTACK = true
  1531. end)
  1532.  
  1533. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1534. --[[local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1535. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1536. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1537. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1538. --]]
  1539. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banisher Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  1540. --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  1541. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  1542. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  1543. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  1544. --]]
  1545. function printbye(Name)
  1546. local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
  1547. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1548.  
  1549. end
  1550.  
  1551. workspace.ChildAdded:connect(function(instance)
  1552. for BANISH = 1, #TOBANISH do
  1553. if TOBANISH[BANISH] ~= nil then
  1554. if instance.Name == TOBANISH[BANISH] then
  1555. coroutine.resume(coroutine.create(function()
  1556. printbye(instance.Name)
  1557. instance:ClearAllChildren()
  1558. Debris:AddItem(instance,0.0005)
  1559. end))
  1560. end
  1561. end
  1562. end
  1563. end)
  1564.  
  1565. --//=================================\\
  1566. --|| DAMAGING
  1567. --\\=================================//
  1568.  
  1569. function Banish(Foe)
  1570. if Foe then
  1571. coroutine.resume(coroutine.create(function()
  1572. --if game.Players:FindFirstChild(Foe.Name) then
  1573. table.insert(TOBANISH,Foe.Name)
  1574. printbye(Foe.Name)
  1575. --end
  1576. Foe.Archivable = true
  1577. local CLONE = Foe:Clone()
  1578. Foe:Destroy()
  1579. CLONE.Parent = Effects
  1580. CLONE:BreakJoints()
  1581. local MATERIALS = {"Glass","Neon"}
  1582. for _, c in pairs(CLONE:GetDescendants()) do
  1583. if c:IsA("BasePart") then
  1584. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1585. CreateSound(340722848, c, 10, 1, false)
  1586. end
  1587. c.Anchored = true
  1588. c.Transparency = c.Transparency + 0.2
  1589. c.Material = MATERIALS[MRANDOM(1,2)]
  1590. c.Color = C3(0,0,255)
  1591. if c.ClassName == "MeshPart" then
  1592. c.TextureID = ""
  1593. end
  1594. if c:FindFirstChildOfClass("SpecialMesh") then
  1595. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1596. end
  1597. if c:FindFirstChildOfClass("Decal") then
  1598. c:FindFirstChildOfClass("Decal"):remove()
  1599. end
  1600. c.Name = "Banished"
  1601. c.CanCollide = false
  1602. else
  1603. c:remove()
  1604. end
  1605. end
  1606. local A = false
  1607. for i = 1, 35 do
  1608. if A == false then
  1609. A = true
  1610. elseif A == true then
  1611. A = false
  1612. end
  1613. for _, c in pairs(CLONE:GetDescendants()) do
  1614. if c:IsA("BasePart") then
  1615. c.Anchored = true
  1616. c.Material = MATERIALS[MRANDOM(1,2)]
  1617. c.Transparency = c.Transparency + 0.8/35
  1618. if A == false then
  1619. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1620. elseif A == true then
  1621. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1622. end
  1623. end
  1624. end
  1625. Swait()
  1626. end
  1627. CLONE:remove()
  1628. end))
  1629. end
  1630. end
  1631.  
  1632. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1633. local CHILDREN = workspace:GetDescendants()
  1634. for index, CHILD in pairs(CHILDREN) do
  1635. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1636. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1637. if HUM then
  1638. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1639. if TORSO then
  1640. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1641. if ISBANISH == true then
  1642. Banish(CHILD)
  1643. else
  1644. if ISBANISH == "Gravity" then
  1645. HUM.PlatformStand = true
  1646. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1647. local grav = Instance.new("BodyPosition",TORSO)
  1648. grav.D = 15
  1649. grav.P = 20000
  1650. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1651. grav.position = TORSO.Position
  1652. grav.Name = "V3BanishForce"..Player.Name
  1653. else
  1654. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1655. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1656. end
  1657. else
  1658. HUM.PlatformStand = false
  1659. end
  1660. end
  1661. elseif ISBANISH == "Gravity" then
  1662. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1663. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1664. HUM.PlatformStand = false
  1665. end
  1666. end
  1667. end
  1668. end
  1669. end
  1670. end
  1671. end
  1672.  
  1673. --//=================================\\
  1674. --|| ATTACK FUNCTIONS AND STUFF
  1675. --\\=================================//
  1676.  
  1677. function Banisher_Bullet()
  1678. ATTACK = true
  1679. Rooted = false
  1680. for i=0, 0.4, 0.1 / Animation_Speed do
  1681. Swait()
  1682. turnto(Mouse.Hit.p)
  1683. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1684. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1685. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1686. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1687. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1688. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1689. end
  1690. repeat
  1691. for i=0, 0.2, 0.1 / Animation_Speed do
  1692. Swait()
  1693. turnto(Mouse.Hit.p)
  1694. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1695. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1696. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1697. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1698. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1699. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1700. end
  1701. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1702. SpawnTrail(Hole.Position,POS)
  1703. if HIT ~= nil then
  1704. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1705. Banish(HIT.Parent)
  1706. end
  1707. end
  1708. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1709. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1710. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1711. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1712. for i=0, 0.3, 0.1 / Animation_Speed do
  1713. Swait()
  1714. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1715. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1716. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1717. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1718. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1719. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1720. end
  1721. until KEYHOLD == false
  1722. ATTACK = false
  1723. Rooted = false
  1724. end
  1725.  
  1726. function AttackTemplate()
  1727. ATTACK = true
  1728. Rooted = false
  1729. for i=0, 1, 0.1 / Animation_Speed do
  1730. Swait()
  1731. 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)
  1732. 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)
  1733. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1734. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1735. 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)
  1736. 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)
  1737. end
  1738. ATTACK = false
  1739. Rooted = false
  1740. end
  1741.  
  1742. --//=================================\\
  1743. --|| ASSIGN THINGS TO KEYS
  1744. --\\=================================//
  1745.  
  1746. function MouseDown(Mouse)
  1747. if ATTACK == false then
  1748. end
  1749. end
  1750.  
  1751. function MouseUp(Mouse)
  1752. HOLD = false
  1753. end
  1754.  
  1755. function KeyDown(Key)
  1756. KEYHOLD = true
  1757. if Key == "z" and ATTACK == false then
  1758. Banisher_Bullet()
  1759. end
  1760.  
  1761. if Key == "b" and ATTACK == false then
  1762. end
  1763.  
  1764. if Key == "c" and ATTACK == false then
  1765. end
  1766.  
  1767. if Key == "v" and ATTACK == false then
  1768. end
  1769.  
  1770. if Key == "x" and ATTACK == false then
  1771. end
  1772. end
  1773.  
  1774. function KeyUp(Key)
  1775. KEYHOLD = false
  1776. end
  1777.  
  1778. Mouse.Button1Down:connect(function(NEWKEY)
  1779. MouseDown(NEWKEY)
  1780. end)
  1781. Mouse.Button1Up:connect(function(NEWKEY)
  1782. MouseUp(NEWKEY)
  1783. end)
  1784. Mouse.KeyDown:connect(function(NEWKEY)
  1785. KeyDown(NEWKEY)
  1786. end)
  1787. Mouse.KeyUp:connect(function(NEWKEY)
  1788. KeyUp(NEWKEY)
  1789. end)
  1790.  
  1791. --//=================================\\
  1792. --\\=================================//
  1793.  
  1794.  
  1795. function unanchor()
  1796. if UNANCHOR == true then
  1797. g = Character:GetChildren()
  1798. for i = 1, #g do
  1799. if g[i].ClassName == "Part" then
  1800. g[i].Anchored = false
  1801. end
  1802. end
  1803. end
  1804. end
  1805.  
  1806.  
  1807. --//=================================\\
  1808. --|| WRAP THE WHOLE SCRIPT UP
  1809. --\\=================================//
  1810.  
  1811. Humanoid.Changed:connect(function(Jump)
  1812. if Jump == "Jump" and (Disable_Jump == true) then
  1813. Humanoid.Jump = false
  1814. end
  1815. end)
  1816.  
  1817. local CONNECT = nil
  1818.  
  1819. while true do
  1820. Swait()
  1821. ANIMATE.Parent = nil
  1822. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1823. Humanoid = IT("Humanoid",Character)
  1824. end
  1825. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1826. v:Stop();
  1827. end
  1828. SINE = SINE + CHANGE
  1829. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1830. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1831. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1832. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1833. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1834. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1835. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * 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)
  1836. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * 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)
  1837. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * 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)
  1838. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1839. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1840. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1841. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1842. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1843. end
  1844. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1845. ANIM = "Jump"
  1846. if ATTACK == false then
  1847. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1848. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1849. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1850. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1851. 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)
  1852. 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)
  1853. end
  1854. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1855. ANIM = "Fall"
  1856. if ATTACK == false then
  1857. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1858. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1859. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1860. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1861. 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)
  1862. 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)
  1863. end
  1864. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1865. ANIM = "Idle"
  1866. if ATTACK == false then
  1867. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  1868. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  1869. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1870. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1871. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1872. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1873. end
  1874. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1875. ANIM = "Walk"
  1876. if ATTACK == false then
  1877. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1878. 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)
  1879. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1880. 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)
  1881. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1882. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1883. end
  1884. end
  1885. unanchor()
  1886. Humanoid.MaxHealth = math.huge
  1887. Humanoid.Health = math.huge
  1888. if Rooted == false then
  1889. Disable_Jump = false
  1890. Humanoid.WalkSpeed = Speed
  1891. elseif Rooted == true then
  1892. Disable_Jump = true
  1893. Humanoid.WalkSpeed = 0
  1894. end
  1895. sick.Parent = Torso
  1896. sick:resume()
  1897. sick.Volume = 5
  1898. sick.Pitch = 1
  1899. sick.SoundId = "rbxassetid://924339757"
  1900. sick.Name = "BanishV3Music"
  1901. end
  1902.  
  1903. --//=================================\\
  1904. --\\=================================//
  1905.  
  1906.  
  1907.  
  1908.  
  1909.  
  1910. --//====================================================\\--
  1911. --|| END OF SCRIPT
  1912. --\\====================================================//--
Add Comment
Please, Sign In to add comment