Advertisement
com_ww

!

Jan 5th, 2020
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 62.68 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do
  6. print("FE Compatibility code V2 by Mokiros")
  7. local RealPlayer = RealPlayer
  8. script.Parent = RealPlayer.Character
  9.  
  10. --Fake event to make stuff like Mouse.KeyDown work
  11. local Disconnect_Function = function(this)
  12. this[1].Functions[this[2]] = nil
  13. end
  14. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  15. local FakeEvent_Metatable = {__index={
  16. Connect = function(this,f)
  17. local i = tostring(math.random(0,10000))
  18. while this.Functions[i] do
  19. i = tostring(math.random(0,10000))
  20. end
  21. this.Functions[i] = f
  22. return setmetatable({this,i},Disconnect_Metatable)
  23. end
  24. }}
  25. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  26. local function fakeEvent()
  27. return setmetatable({Functions={}},FakeEvent_Metatable)
  28. end
  29.  
  30. --Creating fake input objects with fake variables
  31. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  32. FakeMouse.keyUp = FakeMouse.KeyUp
  33. FakeMouse.keyDown = FakeMouse.KeyDown
  34. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  35. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  36. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  37. end}
  38. --Merged 2 functions into one by checking amount of arguments
  39. CAS.UnbindAction = CAS.BindAction
  40.  
  41. --This function will trigger the events that have been :Connect()'ed
  42. local function TriggerEvent(self,ev,...)
  43. for _,f in pairs(self[ev].Functions) do
  44. f(...)
  45. end
  46. end
  47. FakeMouse.TriggerEvent = TriggerEvent
  48. UIS.TriggerEvent = TriggerEvent
  49.  
  50. --Client communication
  51. local Event = Instance.new("RemoteEvent")
  52. Event.Name = "UserInput_Event"
  53. Event.OnServerEvent:Connect(function(plr,io)
  54. if plr~=RealPlayer then return end
  55. FakeMouse.Target = io.Target
  56. FakeMouse.Hit = io.Hit
  57. if not io.isMouse then
  58. local b = io.UserInputState == Enum.UserInputState.Begin
  59. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  60. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  61. end
  62. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  63. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  64. end
  65. for _,t in pairs(CAS.Actions) do
  66. for _,k in pairs(t.Keys) do
  67. if k==io.KeyCode then
  68. t.Function(t.Name,io.UserInputState,io)
  69. end
  70. end
  71. end
  72. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  73. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  74. end
  75. end)
  76. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  77. local Mouse = owner:GetMouse()
  78. local UIS = game:GetService("UserInputService")
  79. local input = function(io,RobloxHandled)
  80. if RobloxHandled then return end
  81. --Since InputObject is a client-side instance, we create and pass table instead
  82. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  83. end
  84. UIS.InputBegan:Connect(input)
  85. UIS.InputEnded:Connect(input)
  86.  
  87. local h,t
  88. --Give the server mouse data every second frame, but only if the values changed
  89. --If player is not moving their mouse, client won't fire events
  90. local HB = game:GetService("RunService").Heartbeat
  91. while true do
  92. if h~=Mouse.Hit or t~=Mouse.Target then
  93. h,t=Mouse.Hit,Mouse.Target
  94. Event:FireServer({isMouse=true,Target=t,Hit=h})
  95. end
  96. --Wait 2 frames
  97. for i=1,2 do
  98. HB:Wait()
  99. end
  100. end]==],script)
  101.  
  102. ----Sandboxed game object that allows the usage of client-side methods and services
  103. --Real game object
  104. local RealGame = game
  105.  
  106. --Metatable for fake service
  107. local FakeService_Metatable = {
  108. __index = function(self,k)
  109. local s = rawget(self,"_RealService")
  110. if s then
  111. return typeof(s[k])=="function"
  112. and function(_,...)return s[k](s,...)end or s[k]
  113. end
  114. end,
  115. __newindex = function(self,k,v)
  116. local s = rawget(self,"_RealService")
  117. if s then s[k]=v end
  118. end
  119. }
  120. local function FakeService(t,RealService)
  121. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  122. return setmetatable(t,FakeService_Metatable)
  123. end
  124.  
  125. --Fake game object
  126. local FakeGame = {
  127. GetService = function(self,s)
  128. return rawget(self,s) or RealGame:GetService(s)
  129. end,
  130. Players = FakeService({
  131. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  132. },"Players"),
  133. UserInputService = FakeService(UIS,"UserInputService"),
  134. ContextActionService = FakeService(CAS,"ContextActionService"),
  135. RunService = FakeService({
  136. _btrs = {},
  137. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  138. BindToRenderStep = function(self,name,_,fun)
  139. self._btrs[name] = self.Heartbeat:Connect(fun)
  140. end,
  141. UnbindFromRenderStep = function(self,name)
  142. self._btrs[name]:Disconnect()
  143. end,
  144. },"RunService")
  145. }
  146. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  147. FakeGame.service = FakeGame.GetService
  148. FakeService(FakeGame,game)
  149. --Changing owner to fake player object to support owner:GetMouse()
  150. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  151. end
  152. -----------------------
  153. --[[ Name : God ]]--
  154. -------------------------------------------------------
  155. --A script By makhail07
  156.  
  157. --Discord Creterisk#2958
  158.  
  159. --NOTE THIS SCRIPT WAS PURELY MADE FROM MY FUCKING IMAGINATION
  160. --IF IT HAPPENS TO LOOK LIKE ANOTHER SCRIPT
  161. --DONT CALL IT A FUCKING BOOTLEG THANK YOU AND ENJOY THE SCRIPT
  162. --YOU FUCKING SKIDS,
  163. --For Those who log/decompile this, If you sell or trade this,
  164. --and I find out who you are, i will take massive action.
  165.  
  166. -------------------------------------------------------
  167.  
  168. local FavIDs = {
  169. 340106355, --Nefl Crystals
  170. 927529620, --Dimension
  171. 876981900, --Fantasy
  172. 398987889, --Ordinary Days
  173. 1117396305, --Oh wait, it's you.
  174. 885996042, --Action Winter Journey
  175. 919231299, --Sprawling Idiot Effigy
  176. 743466274, --Good Day Sunshine
  177. 727411183, --Knife Fight
  178. 1402748531, --The Earth Is Counting On You!
  179. 595230126 --Robot Language
  180. }
  181.  
  182.  
  183.  
  184. --The reality of my life isn't real but a Universe -makhail07
  185. wait()
  186. local plr = game:service'Players'.LocalPlayer
  187. print('Local User is '..plr.Name)
  188. print('God Loaded')
  189. print('hahahAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA')
  190. local char = plr.Character
  191. local hum = char.Humanoid
  192. local hed = char.Head
  193. local root = char.HumanoidRootPart
  194. local rootj = root.RootJoint
  195. local tors = char.Torso
  196. local ra = char["Right Arm"]
  197. local la = char["Left Arm"]
  198. local rl = char["Right Leg"]
  199. local ll = char["Left Leg"]
  200. local neck = tors["Neck"]
  201. local mouse = plr:GetMouse()
  202. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  203. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  204. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  205. local maincolor = BrickColor.new("Really red")
  206.  
  207.  
  208. -------------------------------------------------------
  209. --Start Good Stuff--
  210. -------------------------------------------------------
  211. cam = game.Workspace.CurrentCamera
  212. CF = CFrame.new
  213. angles = CFrame.Angles
  214. attack = false
  215. Euler = CFrame.fromEulerAnglesXYZ
  216. Rad = math.rad
  217. IT = Instance.new
  218. BrickC = BrickColor.new
  219. Cos = math.cos
  220. Acos = math.acos
  221. Sin = math.sin
  222. Asin = math.asin
  223. Abs = math.abs
  224. Mrandom = math.random
  225. Floor = math.floor
  226. -------------------------------------------------------
  227. --End Good Stuff--
  228. -------------------------------------------------------
  229. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  230. RSH, LSH = nil, nil
  231. RW = Instance.new("Weld")
  232. LW = Instance.new("Weld")
  233. RH = tors["Right Hip"]
  234. LH = tors["Left Hip"]
  235. RSH = tors["Right Shoulder"]
  236. LSH = tors["Left Shoulder"]
  237. RSH.Parent = nil
  238. LSH.Parent = nil
  239. RW.Name = "RW"
  240. RW.Part0 = tors
  241. RW.C0 = CF(1.5, 0.5, 0)
  242. RW.C1 = CF(0, 0.5, 0)
  243. RW.Part1 = ra
  244. RW.Parent = tors
  245. LW.Name = "LW"
  246. LW.Part0 = tors
  247. LW.C0 = CF(-1.5, 0.5, 0)
  248. LW.C1 = CF(0, 0.5, 0)
  249. LW.Part1 = la
  250. LW.Parent = tors
  251. Effects = {}
  252. -------------------------------------------------------
  253. --Start HeartBeat--
  254. -------------------------------------------------------
  255. ArtificialHB = Instance.new("BindableEvent", script)
  256. ArtificialHB.Name = "Heartbeat"
  257. script:WaitForChild("Heartbeat")
  258.  
  259. frame = 1 / 60
  260. tf = 0
  261. allowframeloss = false
  262. tossremainder = false
  263.  
  264.  
  265. lastframe = tick()
  266. script.Heartbeat:Fire()
  267.  
  268.  
  269. game:GetService("RunService").Heartbeat:connect(function(s, p)
  270. tf = tf + s
  271. if tf >= frame then
  272. if allowframeloss then
  273. script.Heartbeat:Fire()
  274. lastframe = tick()
  275. else
  276. for i = 1, math.floor(tf / frame) do
  277. script.Heartbeat:Fire()
  278. end
  279. lastframe = tick()
  280. end
  281. if tossremainder then
  282. tf = 0
  283. else
  284. tf = tf - frame * math.floor(tf / frame)
  285. end
  286. end
  287. end)
  288. -------------------------------------------------------
  289. --End HeartBeat--
  290. -------------------------------------------------------
  291.  
  292. -------------------------------------------------------
  293. --Start Important Functions--
  294. -------------------------------------------------------
  295. function swait(num)
  296. if num == 0 or num == nil then
  297. game:service("RunService").Stepped:wait(0)
  298. else
  299. for i = 0, num do
  300. game:service("RunService").Stepped:wait(0)
  301. end
  302. end
  303. end
  304. function thread(f)
  305. coroutine.resume(coroutine.create(f))
  306. end
  307. function clerp(a, b, t)
  308. local qa = {
  309. QuaternionFromCFrame(a)
  310. }
  311. local qb = {
  312. QuaternionFromCFrame(b)
  313. }
  314. local ax, ay, az = a.x, a.y, a.z
  315. local bx, by, bz = b.x, b.y, b.z
  316. local _t = 1 - t
  317. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  318. end
  319. function QuaternionFromCFrame(cf)
  320. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  321. local trace = m00 + m11 + m22
  322. if trace > 0 then
  323. local s = math.sqrt(1 + trace)
  324. local recip = 0.5 / s
  325. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  326. else
  327. local i = 0
  328. if m00 < m11 then
  329. i = 1
  330. end
  331. if m22 > (i == 0 and m00 or m11) then
  332. i = 2
  333. end
  334. if i == 0 then
  335. local s = math.sqrt(m00 - m11 - m22 + 1)
  336. local recip = 0.5 / s
  337. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  338. elseif i == 1 then
  339. local s = math.sqrt(m11 - m22 - m00 + 1)
  340. local recip = 0.5 / s
  341. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  342. elseif i == 2 then
  343. local s = math.sqrt(m22 - m00 - m11 + 1)
  344. local recip = 0.5 / s
  345. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  346. end
  347. end
  348. end
  349. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  350. local xs, ys, zs = x + x, y + y, z + z
  351. local wx, wy, wz = w * xs, w * ys, w * zs
  352. local xx = x * xs
  353. local xy = x * ys
  354. local xz = x * zs
  355. local yy = y * ys
  356. local yz = y * zs
  357. local zz = z * zs
  358. 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))
  359. end
  360. function QuaternionSlerp(a, b, t)
  361. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  362. local startInterp, finishInterp
  363. if cosTheta >= 1.0E-4 then
  364. if 1 - cosTheta > 1.0E-4 then
  365. local theta = math.acos(cosTheta)
  366. local invSinTheta = 1 / Sin(theta)
  367. startInterp = Sin((1 - t) * theta) * invSinTheta
  368. finishInterp = Sin(t * theta) * invSinTheta
  369. else
  370. startInterp = 1 - t
  371. finishInterp = t
  372. end
  373. elseif 1 + cosTheta > 1.0E-4 then
  374. local theta = math.acos(-cosTheta)
  375. local invSinTheta = 1 / Sin(theta)
  376. startInterp = Sin((t - 1) * theta) * invSinTheta
  377. finishInterp = Sin(t * theta) * invSinTheta
  378. else
  379. startInterp = t - 1
  380. finishInterp = t
  381. end
  382. 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
  383. end
  384. function rayCast(Position, Direction, Range, Ignore)
  385. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  386. end
  387. local RbxUtility = LoadLibrary("RbxUtility")
  388. local Create = RbxUtility.Create
  389.  
  390. -------------------------------------------------------
  391. --Start Damage Function--
  392. -------------------------------------------------------
  393. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  394. if hit.Parent == nil then
  395. return
  396. end
  397. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  398. for _, v in pairs(hit.Parent:children()) do
  399. if v:IsA("Humanoid") then
  400. h = v
  401. end
  402. end
  403. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  404.  
  405. hit.Parent:FindFirstChild("Head"):BreakJoints()
  406. end
  407.  
  408. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  409. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  410. if hit.Parent.DebounceHit.Value == true then
  411. return
  412. end
  413. end
  414. if insta == true then
  415. hit.Parent:FindFirstChild("Head"):BreakJoints()
  416. end
  417. local c = Create("ObjectValue"){
  418. Name = "creator",
  419. Value = game:service("Players").LocalPlayer,
  420. Parent = h,
  421. }
  422. game:GetService("Debris"):AddItem(c, .5)
  423. if HitSound ~= nil and HitPitch ~= nil then
  424. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  425. end
  426. local Damage = math.random(minim, maxim)
  427. local blocked = false
  428. local block = hit.Parent:findFirstChild("Block")
  429. if block ~= nil then
  430. if block.className == "IntValue" then
  431. if block.Value > 0 then
  432. blocked = true
  433. block.Value = block.Value - 1
  434. print(block.Value)
  435. end
  436. end
  437. end
  438. if blocked == false then
  439. h.Health = h.Health - Damage
  440. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  441. else
  442. h.Health = h.Health - (Damage / 2)
  443. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  444. end
  445. if Type == "Knockdown" then
  446. local hum = hit.Parent.Humanoid
  447. hum.PlatformStand = true
  448. coroutine.resume(coroutine.create(function(HHumanoid)
  449. swait(1)
  450. HHumanoid.PlatformStand = false
  451. end), hum)
  452. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  453. local bodvol = Create("BodyVelocity"){
  454. velocity = angle * knockback,
  455. P = 5000,
  456. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  457. Parent = hit,
  458. }
  459. local rl = Create("BodyAngularVelocity"){
  460. P = 3000,
  461. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  462. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  463. Parent = hit,
  464. }
  465. game:GetService("Debris"):AddItem(bodvol, .5)
  466. game:GetService("Debris"):AddItem(rl, .5)
  467. elseif Type == "Normal" then
  468. local vp = Create("BodyVelocity"){
  469. P = 500,
  470. maxForce = Vector3.new(math.huge, 0, math.huge),
  471. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  472. }
  473. if knockback > 0 then
  474. vp.Parent = hit.Parent.Torso
  475. end
  476. game:GetService("Debris"):AddItem(vp, .5)
  477. elseif Type == "Up" then
  478. local bodyVelocity = Create("BodyVelocity"){
  479. velocity = Vector3.new(0, 20, 0),
  480. P = 5000,
  481. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  482. Parent = hit,
  483. }
  484. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  485. elseif Type == "DarkUp" then
  486. coroutine.resume(coroutine.create(function()
  487. for i = 0, 1, 0.1 do
  488. swait()
  489. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  490. end
  491. end))
  492. local bodyVelocity = Create("BodyVelocity"){
  493. velocity = Vector3.new(0, 20, 0),
  494. P = 5000,
  495. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  496. Parent = hit,
  497. }
  498. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  499. elseif Type == "Snare" then
  500. local bp = Create("BodyPosition"){
  501. P = 2000,
  502. D = 100,
  503. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  504. position = hit.Parent.Torso.Position,
  505. Parent = hit.Parent.Torso,
  506. }
  507. game:GetService("Debris"):AddItem(bp, 1)
  508. elseif Type == "Freeze" then
  509. local BodPos = Create("BodyPosition"){
  510. P = 50000,
  511. D = 1000,
  512. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  513. position = hit.Parent.Torso.Position,
  514. Parent = hit.Parent.Torso,
  515. }
  516. local BodGy = Create("BodyGyro") {
  517. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  518. P = 20e+003,
  519. Parent = hit.Parent.Torso,
  520. cframe = hit.Parent.Torso.CFrame,
  521. }
  522. hit.Parent.Torso.Anchored = true
  523. coroutine.resume(coroutine.create(function(Part)
  524. swait(1.5)
  525. Part.Anchored = false
  526. end), hit.Parent.Torso)
  527. game:GetService("Debris"):AddItem(BodPos, 3)
  528. game:GetService("Debris"):AddItem(BodGy, 3)
  529. end
  530. local debounce = Create("BoolValue"){
  531. Name = "DebounceHit",
  532. Parent = hit.Parent,
  533. Value = true,
  534. }
  535. game:GetService("Debris"):AddItem(debounce, Delay)
  536. c = Create("ObjectValue"){
  537. Name = "creator",
  538. Value = Player,
  539. Parent = h,
  540. }
  541. game:GetService("Debris"):AddItem(c, .5)
  542. end
  543. end
  544. -------------------------------------------------------
  545. --End Damage Function--
  546. -------------------------------------------------------
  547.  
  548. -------------------------------------------------------
  549. --Start Damage Function Customization--
  550. -------------------------------------------------------
  551. function ShowDamage(Pos, Text, Time, Color)
  552. local Rate = (1 / 30)
  553. local Pos = (Pos or Vector3.new(0, 0, 0))
  554. local Text = (Text or "")
  555. local Time = (Time or 2)
  556. local Color = (Color or Color3.new(1, 0, 1))
  557. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  558. EffectPart.Anchored = true
  559. local BillboardGui = Create("BillboardGui"){
  560. Size = UDim2.new(3, 0, 3, 0),
  561. Adornee = EffectPart,
  562. Parent = EffectPart,
  563. }
  564. local TextLabel = Create("TextLabel"){
  565. BackgroundTransparency = 1,
  566. Size = UDim2.new(1, 0, 1, 0),
  567. Text = Text,
  568. Font = "Bodoni",
  569. TextColor3 = Color,
  570. TextScaled = true,
  571. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  572. Parent = BillboardGui,
  573. }
  574. game.Debris:AddItem(EffectPart, (Time))
  575. EffectPart.Parent = game:GetService("Workspace")
  576. delay(0, function()
  577. local Frames = (Time / Rate)
  578. for Frame = 1, Frames do
  579. wait(Rate)
  580. local Percent = (Frame / Frames)
  581. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  582. TextLabel.TextTransparency = Percent
  583. end
  584. if EffectPart and EffectPart.Parent then
  585. EffectPart:Destroy()
  586. end
  587. end)
  588. end
  589. -------------------------------------------------------
  590. --End Damage Function Customization--
  591. -------------------------------------------------------
  592.  
  593. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  594. for _, c in pairs(workspace:children()) do
  595. local hum = c:findFirstChild("Humanoid")
  596. if hum ~= nil then
  597. local head = c:findFirstChild("Head")
  598. if head ~= nil then
  599. local targ = head.Position - Part.Position
  600. local mag = targ.magnitude
  601. if magni >= mag and c.Name ~= plr.Name then
  602. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  603. end
  604. end
  605. end
  606. end
  607. end
  608.  
  609.  
  610. CFuncs = {
  611. Part = {
  612. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  613. local Part = Create("Part")({
  614. Parent = Parent,
  615. Reflectance = Reflectance,
  616. Transparency = Transparency,
  617. CanCollide = false,
  618. Locked = true,
  619. BrickColor = BrickColor.new(tostring(BColor)),
  620. Name = Name,
  621. Size = Size,
  622. Material = Material
  623. })
  624. RemoveOutlines(Part)
  625. return Part
  626. end
  627. },
  628. Mesh = {
  629. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  630. local Msh = Create(Mesh)({
  631. Parent = Part,
  632. Offset = OffSet,
  633. Scale = Scale
  634. })
  635. if Mesh == "SpecialMesh" then
  636. Msh.MeshType = MeshType
  637. Msh.MeshId = MeshId
  638. end
  639. return Msh
  640. end
  641. },
  642. Mesh = {
  643. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  644. local Msh = Create(Mesh)({
  645. Parent = Part,
  646. Offset = OffSet,
  647. Scale = Scale
  648. })
  649. if Mesh == "SpecialMesh" then
  650. Msh.MeshType = MeshType
  651. Msh.MeshId = MeshId
  652. end
  653. return Msh
  654. end
  655. },
  656. Weld = {
  657. Create = function(Parent, Part0, Part1, C0, C1)
  658. local Weld = Create("Weld")({
  659. Parent = Parent,
  660. Part0 = Part0,
  661. Part1 = Part1,
  662. C0 = C0,
  663. C1 = C1
  664. })
  665. return Weld
  666. end
  667. },
  668. Sound = {
  669. Create = function(id, par, vol, pit)
  670. coroutine.resume(coroutine.create(function()
  671. local S = Create("Sound")({
  672. Volume = vol,
  673. Pitch = pit or 1,
  674. SoundId = id,
  675. Parent = par or workspace
  676. })
  677. wait()
  678. S:play()
  679. game:GetService("Debris"):AddItem(S, 6)
  680. end))
  681. end
  682. },
  683. ParticleEmitter = {
  684. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  685. local fp = Create("ParticleEmitter")({
  686. Parent = Parent,
  687. Color = ColorSequence.new(Color1, Color2),
  688. LightEmission = LightEmission,
  689. Size = Size,
  690. Texture = Texture,
  691. Transparency = Transparency,
  692. ZOffset = ZOffset,
  693. Acceleration = Accel,
  694. Drag = Drag,
  695. LockedToPart = LockedToPart,
  696. VelocityInheritance = VelocityInheritance,
  697. EmissionDirection = EmissionDirection,
  698. Enabled = Enabled,
  699. Lifetime = LifeTime,
  700. Rate = Rate,
  701. Rotation = Rotation,
  702. RotSpeed = RotSpeed,
  703. Speed = Speed,
  704. VelocitySpread = VelocitySpread
  705. })
  706. return fp
  707. end
  708. }
  709. }
  710. function RemoveOutlines(part)
  711. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  712. end
  713. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  714. local Part = Create("Part")({
  715. formFactor = FormFactor,
  716. Parent = Parent,
  717. Reflectance = Reflectance,
  718. Transparency = Transparency,
  719. CanCollide = false,
  720. Locked = true,
  721. BrickColor = BrickColor.new(tostring(BColor)),
  722. Name = Name,
  723. Size = Size,
  724. Material = Material
  725. })
  726. RemoveOutlines(Part)
  727. return Part
  728. end
  729. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  730. local Msh = Create(Mesh)({
  731. Parent = Part,
  732. Offset = OffSet,
  733. Scale = Scale
  734. })
  735. if Mesh == "SpecialMesh" then
  736. Msh.MeshType = MeshType
  737. Msh.MeshId = MeshId
  738. end
  739. return Msh
  740. end
  741. function CreateWeld(Parent, Part0, Part1, C0, C1)
  742. local Weld = Create("Weld")({
  743. Parent = Parent,
  744. Part0 = Part0,
  745. Part1 = Part1,
  746. C0 = C0,
  747. C1 = C1
  748. })
  749. return Weld
  750. end
  751.  
  752.  
  753. -------------------------------------------------------
  754. --Start Effect Function--
  755. -------------------------------------------------------
  756. EffectModel = Instance.new("Model", char)
  757. Effects = {
  758. Block = {
  759. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  760. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  761. prt.Anchored = true
  762. prt.CFrame = cframe
  763. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  764. game:GetService("Debris"):AddItem(prt, 10)
  765. if Type == 1 or Type == nil then
  766. table.insert(Effects, {
  767. prt,
  768. "Block1",
  769. delay,
  770. x3,
  771. y3,
  772. z3,
  773. msh
  774. })
  775. elseif Type == 2 then
  776. table.insert(Effects, {
  777. prt,
  778. "Block2",
  779. delay,
  780. x3,
  781. y3,
  782. z3,
  783. msh
  784. })
  785. else
  786. table.insert(Effects, {
  787. prt,
  788. "Block3",
  789. delay,
  790. x3,
  791. y3,
  792. z3,
  793. msh
  794. })
  795. end
  796. end
  797. },
  798. Sphere = {
  799. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  800. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  801. prt.Anchored = true
  802. prt.CFrame = cframe
  803. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  804. game:GetService("Debris"):AddItem(prt, 10)
  805. table.insert(Effects, {
  806. prt,
  807. "Cylinder",
  808. delay,
  809. x3,
  810. y3,
  811. z3,
  812. msh
  813. })
  814. end
  815. },
  816. Cylinder = {
  817. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  818. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  819. prt.Anchored = true
  820. prt.CFrame = cframe
  821. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  822. game:GetService("Debris"):AddItem(prt, 10)
  823. table.insert(Effects, {
  824. prt,
  825. "Cylinder",
  826. delay,
  827. x3,
  828. y3,
  829. z3,
  830. msh
  831. })
  832. end
  833. },
  834. Wave = {
  835. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  836. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  837. prt.Anchored = true
  838. prt.CFrame = cframe
  839. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  840. game:GetService("Debris"):AddItem(prt, 10)
  841. table.insert(Effects, {
  842. prt,
  843. "Cylinder",
  844. delay,
  845. x3 / 60,
  846. y3 / 60,
  847. z3 / 60,
  848. msh
  849. })
  850. end
  851. },
  852. Ring = {
  853. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  854. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  855. prt.Anchored = true
  856. prt.CFrame = cframe
  857. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  858. game:GetService("Debris"):AddItem(prt, 10)
  859. table.insert(Effects, {
  860. prt,
  861. "Cylinder",
  862. delay,
  863. x3,
  864. y3,
  865. z3,
  866. msh
  867. })
  868. end
  869. },
  870. Break = {
  871. Create = function(brickcolor, cframe, x1, y1, z1)
  872. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  873. prt.Anchored = true
  874. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  875. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  876. local num = math.random(10, 50) / 1000
  877. game:GetService("Debris"):AddItem(prt, 10)
  878. table.insert(Effects, {
  879. prt,
  880. "Shatter",
  881. num,
  882. prt.CFrame,
  883. math.random() - math.random(),
  884. 0,
  885. math.random(50, 100) / 100
  886. })
  887. end
  888. },
  889. Spiral = {
  890. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  891. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  892. prt.Anchored = true
  893. prt.CFrame = cframe
  894. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  895. game:GetService("Debris"):AddItem(prt, 10)
  896. table.insert(Effects, {
  897. prt,
  898. "Cylinder",
  899. delay,
  900. x3,
  901. y3,
  902. z3,
  903. msh
  904. })
  905. end
  906. },
  907. Push = {
  908. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  909. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  910. prt.Anchored = true
  911. prt.CFrame = cframe
  912. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  913. game:GetService("Debris"):AddItem(prt, 10)
  914. table.insert(Effects, {
  915. prt,
  916. "Cylinder",
  917. delay,
  918. x3,
  919. y3,
  920. z3,
  921. msh
  922. })
  923. end
  924. }
  925. }
  926. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  927. local fp = IT("Part")
  928. fp.formFactor = formfactor
  929. fp.Parent = parent
  930. fp.Reflectance = reflectance
  931. fp.Transparency = transparency
  932. fp.CanCollide = false
  933. fp.Locked = true
  934. fp.BrickColor = brickcolor
  935. fp.Name = name
  936. fp.Size = size
  937. fp.Position = tors.Position
  938. RemoveOutlines(fp)
  939. fp.Material = "SmoothPlastic"
  940. fp:BreakJoints()
  941. return fp
  942. end
  943.  
  944. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  945. local mesh = IT(Mesh)
  946. mesh.Parent = part
  947. if Mesh == "SpecialMesh" then
  948. mesh.MeshType = meshtype
  949. if meshid ~= "nil" then
  950. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  951. end
  952. end
  953. mesh.Offset = offset
  954. mesh.Scale = scale
  955. return mesh
  956. end
  957.  
  958. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  959. local type = type
  960. local rng = Instance.new("Part", char)
  961. rng.Anchored = true
  962. rng.BrickColor = color
  963. rng.CanCollide = false
  964. rng.FormFactor = 3
  965. rng.Name = "Ring"
  966. rng.Material = "Neon"
  967. rng.Size = Vector3.new(1, 1, 1)
  968. rng.Transparency = 0
  969. rng.TopSurface = 0
  970. rng.BottomSurface = 0
  971. rng.CFrame = pos
  972. local rngm = Instance.new("SpecialMesh", rng)
  973. rngm.MeshType = MType
  974. rngm.Scale = scale
  975. local scaler2 = 1
  976. if type == "Add" then
  977. scaler2 = 1 * value
  978. elseif type == "Divide" then
  979. scaler2 = 1 / value
  980. end
  981. coroutine.resume(coroutine.create(function()
  982. for i = 0, 10 / bonuspeed, 0.1 do
  983. swait()
  984. if type == "Add" then
  985. scaler2 = scaler2 - 0.01 * value / bonuspeed
  986. elseif type == "Divide" then
  987. scaler2 = scaler2 - 0.01 / value * bonuspeed
  988. end
  989. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  990. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  991. end
  992. rng:Destroy()
  993. end))
  994. end
  995.  
  996. function Eviscerate(dude)
  997. if dude.Name ~= char then
  998. local bgf = IT("BodyGyro", dude.Head)
  999. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1000. local val = IT("BoolValue", dude)
  1001. val.Name = "IsHit"
  1002. local ds = coroutine.wrap(function()
  1003. dude:WaitForChild("Head"):BreakJoints()
  1004. wait(0.5)
  1005. target = nil
  1006. coroutine.resume(coroutine.create(function()
  1007. for i, v in pairs(dude:GetChildren()) do
  1008. if v:IsA("Accessory") then
  1009. v:Destroy()
  1010. end
  1011. if v:IsA("Humanoid") then
  1012. v:Destroy()
  1013. end
  1014. if v:IsA("CharacterMesh") then
  1015. v:Destroy()
  1016. end
  1017. if v:IsA("Model") then
  1018. v:Destroy()
  1019. end
  1020. if v:IsA("Part") or v:IsA("MeshPart") then
  1021. for x, o in pairs(v:GetChildren()) do
  1022. if o:IsA("Decal") then
  1023. o:Destroy()
  1024. end
  1025. end
  1026. coroutine.resume(coroutine.create(function()
  1027. v.Material = "Neon"
  1028. v.CanCollide = false
  1029. local PartEmmit1 = IT("ParticleEmitter", v)
  1030. PartEmmit1.LightEmission = 1
  1031. PartEmmit1.Texture = "rbxassetid://284205403"
  1032. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1033. PartEmmit1.Rate = 150
  1034. PartEmmit1.Lifetime = NumberRange.new(1)
  1035. PartEmmit1.Size = NumberSequence.new({
  1036. NumberSequenceKeypoint.new(0, 0.75, 0),
  1037. NumberSequenceKeypoint.new(1, 0, 0)
  1038. })
  1039. PartEmmit1.Transparency = NumberSequence.new({
  1040. NumberSequenceKeypoint.new(0, 0, 0),
  1041. NumberSequenceKeypoint.new(1, 1, 0)
  1042. })
  1043. PartEmmit1.Speed = NumberRange.new(0, 0)
  1044. PartEmmit1.VelocitySpread = 30000
  1045. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  1046. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  1047. local BodPoss = IT("BodyPosition", v)
  1048. BodPoss.P = 3000
  1049. BodPoss.D = 1000
  1050. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1051. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1052. v.Color = maincolor.Color
  1053. coroutine.resume(coroutine.create(function()
  1054. for i = 0, 49 do
  1055. swait(1)
  1056. v.Transparency = v.Transparency + 0.08
  1057. end
  1058. wait(0.5)
  1059. PartEmmit1.Enabled = false
  1060. wait(3)
  1061. v:Destroy()
  1062. dude:Destroy()
  1063. end))
  1064. end))
  1065. end
  1066. end
  1067. end))
  1068. end)
  1069. ds()
  1070. end
  1071. end
  1072.  
  1073. function FindNearestHead(Position, Distance, SinglePlayer)
  1074. if SinglePlayer then
  1075. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1076. end
  1077. local List = {}
  1078. for i, v in pairs(workspace:GetChildren()) do
  1079. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  1080. table.insert(List, v)
  1081. end
  1082. end
  1083. return List
  1084. end
  1085.  
  1086. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  1087. local type = type
  1088. local rng = Instance.new("Part", char)
  1089. rng.Anchored = true
  1090. rng.BrickColor = color
  1091. rng.CanCollide = false
  1092. rng.FormFactor = 3
  1093. rng.Name = "Ring"
  1094. rng.Material = "Neon"
  1095. rng.Size = Vector3.new(1, 1, 1)
  1096. rng.Transparency = 0
  1097. rng.TopSurface = 0
  1098. rng.BottomSurface = 0
  1099. rng.CFrame = pos
  1100. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1101. local rngm = Instance.new("SpecialMesh", rng)
  1102. rngm.MeshType = MType
  1103. rngm.Scale = Vector3.new(x1, y1, z1)
  1104. local scaler2 = 1
  1105. local speeder = FastSpeed
  1106. if type == "Add" then
  1107. scaler2 = 1 * value
  1108. elseif type == "Divide" then
  1109. scaler2 = 1 / value
  1110. end
  1111. coroutine.resume(coroutine.create(function()
  1112. for i = 0, 10 / bonuspeed, 0.1 do
  1113. swait()
  1114. if type == "Add" then
  1115. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1116. elseif type == "Divide" then
  1117. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1118. end
  1119. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1120. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1121. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1122. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1123. end
  1124. rng:Destroy()
  1125. end))
  1126. end
  1127.  
  1128. function SoulSteal(dude)
  1129. if dude.Name ~= char then
  1130. local bgf = IT("BodyGyro", dude.Head)
  1131. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1132. local val = IT("BoolValue", dude)
  1133. val.Name = "IsHit"
  1134. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  1135. local soulst = coroutine.wrap(function()
  1136. local soul = Instance.new("Part",dude)
  1137. soul.Size = Vector3.new(1,1,1)
  1138. soul.CanCollide = false
  1139. soul.Anchored = false
  1140. soul.Position = torso.Position
  1141. soul.Transparency = 1
  1142. local PartEmmit1 = IT("ParticleEmitter", soul)
  1143. PartEmmit1.LightEmission = 1
  1144. PartEmmit1.Texture = "rbxassetid://569507414"
  1145. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1146. PartEmmit1.Rate = 250
  1147. PartEmmit1.Lifetime = NumberRange.new(1.6)
  1148. PartEmmit1.Size = NumberSequence.new({
  1149. NumberSequenceKeypoint.new(0, 1, 0),
  1150. NumberSequenceKeypoint.new(1, 0, 0)
  1151. })
  1152. PartEmmit1.Transparency = NumberSequence.new({
  1153. NumberSequenceKeypoint.new(0, 0, 0),
  1154. NumberSequenceKeypoint.new(1, 1, 0)
  1155. })
  1156. PartEmmit1.Speed = NumberRange.new(0, 0)
  1157. PartEmmit1.VelocitySpread = 30000
  1158. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  1159. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1160. local BodPoss = IT("BodyPosition", soul)
  1161. BodPoss.P = 3000
  1162. BodPoss.D = 1000
  1163. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1164. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1165. wait(1.6)
  1166. soul.Touched:connect(function(hit)
  1167. if hit.Parent == char then
  1168. soul:Destroy()
  1169. end
  1170. end)
  1171. wait(1.2)
  1172. while soul do
  1173. swait()
  1174. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1175. BodPoss.Position = tors.Position
  1176. end
  1177. end)
  1178. soulst()
  1179. end
  1180. end
  1181. function FaceMouse()
  1182. local Cam = workspace.CurrentCamera
  1183. return {
  1184. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1185. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1186. }
  1187. end
  1188. -------------------------------------------------------
  1189. --End Effect Function--
  1190. -------------------------------------------------------
  1191. function Cso(ID, PARENT, VOLUME, PITCH)
  1192. local NSound = nil
  1193. coroutine.resume(coroutine.create(function()
  1194. NSound = IT("Sound", PARENT)
  1195. NSound.Volume = VOLUME
  1196. NSound.Pitch = PITCH
  1197. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1198. swait()
  1199. NSound:play()
  1200. game:GetService("Debris"):AddItem(NSound, 10)
  1201. end))
  1202. return NSound
  1203. end
  1204. function CameraEnshaking(Length, Intensity)
  1205. coroutine.resume(coroutine.create(function()
  1206. local intensity = 1 * Intensity
  1207. local rotM = 0.01 * Intensity
  1208. for i = 0, Length, 0.1 do
  1209. swait()
  1210. intensity = intensity - 0.05 * Intensity / Length
  1211. rotM = rotM - 5.0E-4 * Intensity / Length
  1212. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1213. cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
  1214. end
  1215. hum.CameraOffset = Vector3.new(0, 0, 0)
  1216. end))
  1217. end
  1218. function chatfunc(text, color)
  1219. local chat = coroutine.wrap(function()
  1220. if char:FindFirstChild("TalkingBillBoard") ~= nil then
  1221. char:FindFirstChild("TalkingBillBoard"):destroy()
  1222. end
  1223. local naeeym2 = Instance.new("BillboardGui", char)
  1224. naeeym2.Size = UDim2.new(0, 100, 0, 40)
  1225. naeeym2.StudsOffset = Vector3.new(0, 5, 0)
  1226. naeeym2.Adornee = hed
  1227. naeeym2.Name = "TalkingBillBoard"
  1228. local tecks2 = Instance.new("TextLabel", naeeym2)
  1229. tecks2.BackgroundTransparency = 1
  1230. tecks2.BorderSizePixel = 0
  1231. tecks2.Text = ""
  1232. tecks2.Font = "SciFi"
  1233. tecks2.TextSize = 30
  1234. tecks2.TextStrokeTransparency = 0
  1235. tecks2.TextColor3 = color
  1236. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  1237. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  1238. coroutine.resume(coroutine.create(function()
  1239. while true do
  1240. swait(1)
  1241. tecks2.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5))
  1242. tecks2.Rotation = math.random(-5, 5)
  1243. end
  1244. end))
  1245. for i = 1, string.len(text) do
  1246. CFuncs.Sound.Create("rbxassetid://274118116", hed, 5.25, 0.115)
  1247. tecks2.Text = string.sub(text, 1, i)
  1248. swait(1)
  1249. end
  1250. wait(1)
  1251. naeeym2:Destroy()
  1252. end)
  1253. chat()
  1254. end
  1255. -------------------------------------------------------
  1256. --End Important Functions--
  1257. -------------------------------------------------------
  1258.  
  1259.  
  1260. -------------------------------------------------------
  1261. --Start Customization--
  1262. -------------------------------------------------------
  1263. local Player_Size = 1
  1264. if Player_Size ~= 1 then
  1265. root.Size = root.Size * Player_Size
  1266. tors.Size = tors.Size * Player_Size
  1267. hed.Size = hed.Size * Player_Size
  1268. ra.Size = ra.Size * Player_Size
  1269. la.Size = la.Size * Player_Size
  1270. rl.Size = rl.Size * Player_Size
  1271. ll.Size = ll.Size * Player_Size
  1272. ----------------------------------------------------------------------------------
  1273. rootj.Parent = root
  1274. neck.Parent = tors
  1275. RW.Parent = tors
  1276. LW.Parent = tors
  1277. RH.Parent = tors
  1278. LH.Parent = tors
  1279. ----------------------------------------------------------------------------------
  1280. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1281. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1282. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  1283. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  1284. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  1285. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  1286. ----------------------------------------------------------------------------------
  1287. RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1288. LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1289. RH.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))
  1290. LH.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))
  1291. --hat.Parent = Character
  1292. end
  1293. ----------------------------------------------------------------------------------
  1294. local SONG = 363112742
  1295. local SONG2 = 363112742
  1296. local Music = Instance.new("Sound",tors)
  1297. Music.Volume = 2.5
  1298. Music.Looped = true
  1299. Music.Pitch = 1 --Pitcher
  1300. ----------------------------------------------------------------------------------
  1301. local equipped = false
  1302. local idle = 0
  1303. local change = 1
  1304. local val = 0
  1305. local toim = 0
  1306. local idleanim = 0.4
  1307. local sine = 0
  1308. local Sit = 1
  1309. ----------------------------------------------------------------------------------
  1310. hum.WalkSpeed = 16
  1311. hum.JumpPower = 57
  1312. hum.Animator.Parent = nil
  1313. ----------------------------------------------------------------------------------
  1314. local Blobby = Instance.new("Part", char)
  1315. Blobby.Name = "Blob"
  1316. Blobby.CanCollide = false
  1317. Blobby.BrickColor = BrickColor.new("Really black")
  1318. Blobby.Transparency = 0
  1319. Blobby.Material = "Plastic"
  1320. Blobby.Size = Vector3.new(1, 1, 2)
  1321. Blobby.TopSurface = Enum.SurfaceType.Smooth
  1322. Blobby.BottomSurface = Enum.SurfaceType.Smooth
  1323.  
  1324. local Weld = Instance.new("Weld", Blobby)
  1325. Weld.Part0 = ra
  1326. Weld.Part1 = Blobby
  1327. Weld.C1 = CFrame.new(0, -2, 1.1)
  1328. Weld.C0 = CFrame.Angles(Rad(-86),0,0)
  1329.  
  1330. local M2 = Instance.new("SpecialMesh")
  1331. M2.Parent = Blobby
  1332. M2.MeshId = "http://www.roblox.com/asset/?id=10604848"
  1333. M2.TextureId = "http://www.roblox.com/asset/?id=10605252"
  1334. M2.Scale = Vector3.new(1, 1, 1)
  1335.  
  1336. --[[local naeeym2 = Instance.new("BillboardGui",char)
  1337. naeeym2.AlwaysOnTop = true
  1338. naeeym2.Size = UDim2.new(5,35,2,15)
  1339. naeeym2.StudsOffset = Vector3.new(0, 3.5, 0)
  1340. naeeym2.Adornee = hed
  1341. naeeym2.Name = "Name"
  1342. --naeeym2.PlayerToHideFrom = Player
  1343. local tecks2 = Instance.new("TextLabel",naeeym2)
  1344. tecks2.BackgroundTransparency = 1
  1345. tecks2.TextScaled = true
  1346. tecks2.BorderSizePixel = 0
  1347. tecks2.Text = "GRRRRRRRRRRRRRR............"
  1348. tecks2.Font = Enum.Font.Bodoni
  1349. tecks2.TextSize = 30
  1350. tecks2.TextStrokeTransparency = 0
  1351. tecks2.TextColor3 = Color3.new(0, 0, 0)
  1352. tecks2.TextStrokeColor3 = Color3.new(1, 1, 1)
  1353. tecks2.Size = UDim2.new(1,0,0.5,0)
  1354. tecks2.Parent = naeeym2]]
  1355. -------------------------------------------------------
  1356. --End Customization--
  1357. -------------------------------------------------------
  1358.  
  1359.  
  1360. -------------------------------------------------------
  1361. --Start Attacks N Stuff--
  1362. -------------------------------------------------------
  1363. function Ban()
  1364. attack = true
  1365. for i = 0, 2.6, 0.1 do
  1366. swait()
  1367. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-60)), 0.2)
  1368. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-7.5 * Sin(sine / 30)), Rad(0), Rad(60)), 0.2)
  1369. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.2)
  1370. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(20)), 0.2)
  1371. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(160), Rad(-.6), Rad(13)), 0.2)
  1372. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.2)
  1373. end
  1374. Cso("147722910", tors, 10, 1)
  1375. CameraEnshaking(2, 15)
  1376. Effects.Wave.Create(BrickColor.new("Navy blue"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  1377. Effects.Wave.Create(BrickColor.new("Really red"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  1378. Effects.Wave.Create(BrickColor.new("Navy blue"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  1379. for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 9.5)) do
  1380. if v:FindFirstChild("Head") then
  1381. Eviscerate(v)
  1382. end
  1383. end
  1384. for i = 0, 3, 0.1 do
  1385. swait()
  1386. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-15)), 0.3)
  1387. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 7.5 * Sin(sine / 30)), Rad(0), Rad(15)), 0.3)
  1388. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-20)), 0.3)
  1389. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.3)
  1390. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(5), Rad(-.6), Rad(-25)), 0.3)
  1391. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.3)
  1392. end
  1393. attack = false
  1394. end
  1395. function BigBan()
  1396. attack = true
  1397. Weld.C0 = CFrame.Angles(Rad(-90), Rad(-25), Rad(0))
  1398. for i = 0, 3.6, 0.1 do
  1399. swait()
  1400. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.2)
  1401. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-45 - 7.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.2)
  1402. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-45)), 0.2)
  1403. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(45)), 0.2)
  1404. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-225), Rad(-.6), Rad(-45)), 0.2)
  1405. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-225), Rad(-6), Rad(45)), 0.2)
  1406. end
  1407. Cso("147722910", tors, 10, 1)
  1408. CameraEnshaking(2, 15)
  1409. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  1410. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  1411. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  1412. for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 14.5)) do
  1413. if v:FindFirstChild("Head") then
  1414. Eviscerate(v)
  1415. end
  1416. end
  1417. for i = 0, 2.6, 0.1 do
  1418. swait()
  1419. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(75), Rad(0), Rad(0)), 0.2)
  1420. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(45 - 7.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.2)
  1421. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-45)), 0.2)
  1422. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(45)), 0.2)
  1423. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-325), Rad(-.6), Rad(-45)), 0.2)
  1424. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-325), Rad(-6), Rad(45)), 0.2)
  1425. end
  1426. Weld.C0 = CFrame.Angles(Rad(-86),0,0)
  1427. attack = false
  1428. end
  1429. function BANN()
  1430. attack = true
  1431. M2.Scale = Vector3.new(2, 2, 2)
  1432. for i = 0, 4.6, 0.1 do
  1433. swait()
  1434. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-60)), 0.2)
  1435. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-7.5 * Sin(sine / 30)), Rad(0), Rad(60)), 0.2)
  1436. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-16.5), Rad(0), Rad(-20)), 0.2)
  1437. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-16.5), Rad(0), Rad(20)), 0.2)
  1438. RW.C0 = clerp(RW.C0, CF(.6* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(160), Rad(-.6), Rad(13)), 0.2)
  1439. LW.C0 = clerp(LW.C0, CF(-.8* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(156), Rad(-.6), Rad(45)), 0.2)
  1440. end
  1441. Cso("147722910", char, 10, 1)
  1442. CameraEnshaking(2, 35)
  1443. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  1444. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  1445. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  1446. Effects.Ring.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.1, 2, 2, 0, 0.04)
  1447. Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0), 10, 7, 10, 15, -0.1, 15, 0.04)
  1448. Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0), 10, 6, 10, 15, -0.1, 15, 0.02)
  1449. Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0), 10, 4, 10, 15, -0.1, 15, 0.01)
  1450. for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 19.5)) do
  1451. if v:FindFirstChild("Head") then
  1452. Eviscerate(v)
  1453. end
  1454. end
  1455. for i = 0, 3, 0.1 do
  1456. swait()
  1457. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-15)), 0.3)
  1458. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 7.5 * Sin(sine / 30)), Rad(0), Rad(15)), 0.3)
  1459. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-20)), 0.3)
  1460. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.3)
  1461. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(5), Rad(-.6), Rad(-25)), 0.3)
  1462. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.3)
  1463. end
  1464. M2.Scale = Vector3.new(1, 1, 1)
  1465. attack = false
  1466. end
  1467. -------------------------------------------------------
  1468. --End Attacks N Stuff--
  1469. -------------------------------------------------------
  1470. mouse.KeyDown:connect(function(key)
  1471. if string.byte(key) == 48 then
  1472. Swing = 2
  1473. hum.WalkSpeed = 38.82
  1474. end
  1475. end)
  1476. mouse.KeyUp:connect(function(key)
  1477. if string.byte(key) == 48 then
  1478. Swing = 1
  1479. hum.WalkSpeed = 16
  1480. end
  1481. end)
  1482. mouse.KeyDown:connect(function(key)
  1483. if attack == false then
  1484. if key == 'e' then
  1485. BigBan()
  1486. elseif key == 'r' then
  1487. BANN()
  1488. elseif key == 't' then
  1489. Cso("1450018171", hed, 10, 1)
  1490. end
  1491. end
  1492. end)
  1493. mouse.Button1Down:connect(function(key)
  1494. if attack == false then
  1495. Ban()
  1496. end
  1497. end)
  1498.  
  1499.  
  1500.  
  1501.  
  1502.  
  1503.  
  1504.  
  1505. -------------------------------------------------------
  1506. --Start Animations--
  1507. -------------------------------------------------------
  1508. while true do
  1509. swait()
  1510. sine = sine + change
  1511. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1512. local velderp = root.Velocity.y
  1513. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  1514. if equipped == true or equipped == false then
  1515. if attack == false then
  1516. idle = idle + 1
  1517. else
  1518. idle = 0
  1519. end
  1520. --Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-5, 5), -10, math.random(-5, 5)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, maincolor, 0, "Sphere")
  1521. if 1 < root.Velocity.y and hitfloor == nil then
  1522. Anim = "Jump"
  1523. if attack == false then
  1524. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15)
  1525. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1526. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1527. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1528. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
  1529. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  1530. end
  1531. elseif -1 > root.Velocity.y and hitfloor == nil then
  1532. Anim = "Fall"
  1533. if attack == false then
  1534. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15)
  1535. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1536. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  1537. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  1538. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
  1539. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
  1540. end
  1541. elseif torvel < 1 and hitfloor ~= nil then
  1542. Anim = "Idle"
  1543. change = 1
  1544. if attack == false then
  1545. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1546. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-7.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1547. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  1548. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  1549. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(190), Rad(-.6), Rad(13)), 0.1)
  1550. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.1)
  1551. end
  1552. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  1553. Anim = "Walk"
  1554. change = 1
  1555. if attack == false then
  1556. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
  1557. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(6 - 6.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  1558. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8* Player_Size - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 - 25 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1559. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8* Player_Size + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 + 25 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1560. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(190) , Rad(8 * Cos(sine / 7)), Rad(13) - ra.RotVelocity.Y / 75), 0.1)
  1561. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-37) * Cos(sine / 7) , Rad(8 * Cos(sine / 7)) , Rad(-6) + la.RotVelocity.Y / 75), 0.1)
  1562. end
  1563. elseif torvel >= 25 and hitfloor ~= nil then
  1564. Anim = "Sprint"
  1565. change = 1.35
  1566. if attack == false then
  1567. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
  1568. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-45 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  1569. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.925* Player_Size - 0.5* Player_Size * Cos(sine / 7) / 2* Player_Size, 0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1570. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.925* Player_Size + 0.5* Player_Size * Cos(sine / 7) / 2* Player_Size, -0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1571. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(215) , Rad(8 * Cos(sine / 7)), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
  1572. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, -0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(-75) , Rad(8 * Cos(sine / 7)) , Rad(-13) + la.RotVelocity.Y / 75), 0.15)
  1573. end
  1574. end
  1575. end
  1576. Music.SoundId = "rbxassetid://"..SONG
  1577. Music.Looped = true
  1578. Music.Pitch = 1
  1579. Music.Volume = 1.5
  1580. Music.Parent = tors
  1581. Music:Resume()
  1582. if 0 < #Effects then
  1583. for e = 1, #Effects do
  1584. if Effects[e] ~= nil then
  1585. local Thing = Effects[e]
  1586. if Thing ~= nil then
  1587. local Part = Thing[1]
  1588. local Mode = Thing[2]
  1589. local Delay = Thing[3]
  1590. local IncX = Thing[4]
  1591. local IncY = Thing[5]
  1592. local IncZ = Thing[6]
  1593. if 1 >= Thing[1].Transparency then
  1594. if Thing[2] == "Block1" then
  1595. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1596. local Mesh = Thing[1].Mesh
  1597. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1598. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1599. elseif Thing[2] == "Block2" then
  1600. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1601. local Mesh = Thing[7]
  1602. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1603. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1604. elseif Thing[2] == "Block3" then
  1605. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
  1606. local Mesh = Thing[7]
  1607. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1608. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1609. elseif Thing[2] == "Cylinder" then
  1610. local Mesh = Thing[1].Mesh
  1611. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1612. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1613. elseif Thing[2] == "Blood" then
  1614. local Mesh = Thing[7]
  1615. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1616. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1617. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1618. elseif Thing[2] == "Elec" then
  1619. local Mesh = Thing[1].Mesh
  1620. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1621. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1622. elseif Thing[2] == "Disappear" then
  1623. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1624. elseif Thing[2] == "Shatter" then
  1625. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1626. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1627. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1628. Thing[6] = Thing[6] + Thing[5]
  1629. end
  1630. else
  1631. Part.Parent = nil
  1632. table.remove(Effects, e)
  1633. end
  1634. end
  1635. end
  1636. end
  1637. end
  1638. end
  1639. -------------------------------------------------------
  1640. --End Animations And Script--
  1641. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement