Advertisement
Mediakiller7Cool

evil morty

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