Advertisement
HenloMyDude

yum yum yum

Jun 27th, 2019
292
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 69.00 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
  2. do
  3. script.Parent = owner.Character
  4. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  5. local function NewFakeEvent()
  6. local Bind = Instance.new("BindableEvent")
  7. local Fake;Fake = {Connections = {},
  8. fakeEvent=true;
  9. Connect=function(self,Func)
  10. Bind.Event:connect(Func)
  11. self.Connections[Bind] = true
  12. return setmetatable({Connected = true},{
  13. __index = function (self,Index)
  14. if Index:lower() == "disconnect" then
  15. return function() Fake.Connections[Bind] = false;self.Connected = false end
  16. end
  17. return Fake[Index]
  18. end;
  19. __tostring = function() return "Connection" end;
  20. })
  21. end}
  22. Fake.connect = Fake.Connect;return Fake;
  23. end
  24. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  25. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  26. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  27. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  28. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  29. local function TriggerEvent(self,Event,...)
  30. local Trigger = Mouse[Event]
  31. if Trigger and Trigger.fakeEvent and Trigger.Connections then
  32. for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  33. end
  34. end
  35. Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  36. Event.OnServerEvent:Connect(function(FiredBy,Input)
  37. if FiredBy.Name ~= owner.Name then return end
  38. if Input.MouseEvent then
  39. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  40. else
  41. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  42. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  43. for _,Action in pairs(ContextActionService.Actions) do
  44. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  45. end
  46. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  47. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  48. end
  49. end)
  50. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  51. Event.Parent = NLS([[
  52. local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  53. local Input = function(Input,gameProcessedEvent)
  54. if gameProcessedEvent then return end
  55. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  56. end
  57. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  58. local Hit,Target
  59. while wait(1/30) do
  60. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  61. Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  62. end
  63. end
  64. ]],owner.Character)
  65. end
  66. RealGame = game;game = setmetatable({},{
  67. __index = function (self,Index)
  68. local Sandbox = function (Thing)
  69. if Thing:IsA("Player") then
  70. local RealPlayer = Thing
  71. return setmetatable({},{
  72. __index = function (self,Index)
  73. local Type = type(RealPlayer[Index])
  74. if Type == "function" then
  75. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  76. return function (self)return InternalData["Mouse"] end
  77. end
  78. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  79. end
  80. return RealPlayer[Index]
  81. end;
  82. __tostring = function(self) return RealPlayer.Name end
  83. })
  84. end
  85. end
  86. if RealGame[Index] then
  87. local Type = type(RealGame[Index])
  88. if Type == "function" then
  89. if Index:lower() == "getservice" or Index:lower() == "service" then
  90. return function (self,Service)
  91. local FakeServices = {
  92. ["players"] = function()
  93. return setmetatable({},{
  94. __index = function (self2,Index2)
  95. local RealService = RealGame:GetService(Service)
  96. local Type2 = type(Index2)
  97. if Type2 == "function" then
  98. return function (self,...) return RealService[Index2](RealService,...)end
  99. else
  100. if Index2:lower() == "localplayer" then return Sandbox(owner) end
  101. return RealService[Index2]
  102. end
  103. end;
  104. __tostring = function(self) return RealGame:GetService(Service).Name end
  105. })
  106. end;
  107. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  108. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  109. ["runservice"] = function()
  110. return setmetatable({},{
  111. __index = function(self2,Index2)
  112. local RealService = RealGame:GetService(Service)
  113. local Type2 = type(Index2)
  114. if Type2 == "function" then
  115. return function (self,...) return RealService[Index2](RealService,...) end
  116. else
  117. local RunServices = {
  118. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  119. ["renderstepped"] = function() return RealService["Stepped"] end
  120. }
  121. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  122. return RealService[Index2]
  123. end
  124. end
  125. })
  126. end
  127. }
  128. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  129. return RealGame:GetService(Service)
  130. end
  131. end
  132. return function (self,...) return RealGame[Index](RealGame,...) end
  133. else
  134. if game:GetService(Index) then return game:GetService(Index) end
  135. return RealGame[Index]
  136. end
  137. end
  138. return nil
  139. end
  140. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
  141.  
  142. wait(1 / 60)
  143.  
  144. local plr = game:service'Players'.LocalPlayer
  145. print('Local User is '..plr.Name)
  146. print('TeaCopter Loaded')
  147. print([[
  148. I honestly, don't know why I edited this,
  149. but it's a simple meme, so you've gotta appreciate it.
  150.  
  151. Controls :
  152. T - Taunt ( Random Sentences )
  153. Q - Sitt
  154. Click - Sipp
  155. ]])
  156. local char = plr.Character
  157. local hum = char:FindFirstChildOfClass'Humanoid'
  158. local hed = char.Head
  159. local root = char:FindFirstChild'HumanoidRootPart'
  160. local rootj = root.RootJoint
  161. local tors = char.Torso
  162. local ra = char["Right Arm"]
  163. local la = char["Left Arm"]
  164. local rl = char["Right Leg"]
  165. local ll = char["Left Leg"]
  166. local neck = tors["Neck"]
  167. local mouse = plr:GetMouse()
  168. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  169. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  170. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  171. local maincolor = BrickColor.new("Institutional white")
  172. -------------------------------------------------------
  173. --Start Good Stuff--
  174. -------------------------------------------------------
  175. cam = game.Workspace.CurrentCamera
  176. CF = CFrame.new
  177. angles = CFrame.Angles
  178. attack = false
  179. Euler = CFrame.fromEulerAnglesXYZ
  180. Rad = math.rad
  181. IT = Instance.new
  182. BrickC = BrickColor.new
  183. Cos = math.cos
  184. Acos = math.acos
  185. Sin = math.sin
  186. Asin = math.asin
  187. Abs = math.abs
  188. Mrandom = math.random
  189. Floor = math.floor
  190. -------------------------------------------------------
  191. --End Good Stuff--
  192. -------------------------------------------------------
  193. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  194. RSH, LSH = nil, nil
  195. RW = Instance.new("Weld")
  196. LW = Instance.new("Weld")
  197. RH = tors["Right Hip"]
  198. LH = tors["Left Hip"]
  199. RSH = tors["Right Shoulder"]
  200. LSH = tors["Left Shoulder"]
  201. RSH.Parent = nil
  202. LSH.Parent = nil
  203. RW.Name = "RW"
  204. RW.Part0 = tors
  205. RW.C0 = CF(1.5, 0.5, 0)
  206. RW.C1 = CF(0, 0.5, 0)
  207. RW.Part1 = ra
  208. RW.Parent = tors
  209. LW.Name = "LW"
  210. LW.Part0 = tors
  211. LW.C0 = CF(-1.5, 0.5, 0)
  212. LW.C1 = CF(0, 0.5, 0)
  213. LW.Part1 = la
  214. LW.Parent = tors
  215. Effects = {}
  216. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  217. local wld = Instance.new("Weld", wp1)
  218. wld.Part0 = wp0
  219. wld.Part1 = wp1
  220. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  221. end
  222. newWeld(tors, ll, -0.5, -1, 0)
  223. ll.Weld.C1 = CFrame.new(0, 1, 0)
  224. newWeld(tors, rl, 0.5, -1, 0)
  225. rl.Weld.C1 = CFrame.new(0, 1, 0)
  226. -------------------------------------------------------
  227. --Start HeartBeat--
  228. -------------------------------------------------------
  229. ArtificialHB = Instance.new("BindableEvent", script)
  230. ArtificialHB.Name = "Heartbeat"
  231. script:WaitForChild("Heartbeat")
  232.  
  233. frame = 1 / 60
  234. tf = 0
  235. allowframeloss = false
  236. tossremainder = false
  237.  
  238.  
  239. lastframe = tick()
  240. script.Heartbeat:Fire()
  241.  
  242.  
  243. game:GetService("RunService").Heartbeat:connect(function(s, p)
  244. tf = tf + s
  245. if tf >= frame then
  246. if allowframeloss then
  247. script.Heartbeat:Fire()
  248. lastframe = tick()
  249. else
  250. for i = 1, math.floor(tf / frame) do
  251. script.Heartbeat:Fire()
  252. end
  253. lastframe = tick()
  254. end
  255. if tossremainder then
  256. tf = 0
  257. else
  258. tf = tf - frame * math.floor(tf / frame)
  259. end
  260. end
  261. end)
  262. -------------------------------------------------------
  263. --End HeartBeat--
  264. -------------------------------------------------------
  265.  
  266. -------------------------------------------------------
  267. --Start Important Functions--
  268. -------------------------------------------------------
  269. function swait(num)
  270. if num == 0 or num == nil then
  271. game:service("RunService").Stepped:wait(0)
  272. else
  273. for i = 0, num do
  274. game:service("RunService").Stepped:wait(0)
  275. end
  276. end
  277. end
  278. function thread(f)
  279. coroutine.resume(coroutine.create(f))
  280. end
  281. function clerp(a, b, t)
  282. local qa = {
  283. QuaternionFromCFrame(a)
  284. }
  285. local qb = {
  286. QuaternionFromCFrame(b)
  287. }
  288. local ax, ay, az = a.x, a.y, a.z
  289. local bx, by, bz = b.x, b.y, b.z
  290. local _t = 1 - t
  291. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  292. end
  293. function QuaternionFromCFrame(cf)
  294. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  295. local trace = m00 + m11 + m22
  296. if trace > 0 then
  297. local s = math.sqrt(1 + trace)
  298. local recip = 0.5 / s
  299. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  300. else
  301. local i = 0
  302. if m00 < m11 then
  303. i = 1
  304. end
  305. if m22 > (i == 0 and m00 or m11) then
  306. i = 2
  307. end
  308. if i == 0 then
  309. local s = math.sqrt(m00 - m11 - m22 + 1)
  310. local recip = 0.5 / s
  311. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  312. elseif i == 1 then
  313. local s = math.sqrt(m11 - m22 - m00 + 1)
  314. local recip = 0.5 / s
  315. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  316. elseif i == 2 then
  317. local s = math.sqrt(m22 - m00 - m11 + 1)
  318. local recip = 0.5 / s
  319. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  320. end
  321. end
  322. end
  323. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  324. local xs, ys, zs = x + x, y + y, z + z
  325. local wx, wy, wz = w * xs, w * ys, w * zs
  326. local xx = x * xs
  327. local xy = x * ys
  328. local xz = x * zs
  329. local yy = y * ys
  330. local yz = y * zs
  331. local zz = z * zs
  332. 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))
  333. end
  334. function QuaternionSlerp(a, b, t)
  335. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  336. local startInterp, finishInterp
  337. if cosTheta >= 1.0E-4 then
  338. if 1 - cosTheta > 1.0E-4 then
  339. local theta = math.acos(cosTheta)
  340. local invSinTheta = 1 / Sin(theta)
  341. startInterp = Sin((1 - t) * theta) * invSinTheta
  342. finishInterp = Sin(t * theta) * invSinTheta
  343. else
  344. startInterp = 1 - t
  345. finishInterp = t
  346. end
  347. elseif 1 + cosTheta > 1.0E-4 then
  348. local theta = math.acos(-cosTheta)
  349. local invSinTheta = 1 / Sin(theta)
  350. startInterp = Sin((t - 1) * theta) * invSinTheta
  351. finishInterp = Sin(t * theta) * invSinTheta
  352. else
  353. startInterp = t - 1
  354. finishInterp = t
  355. end
  356. 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
  357. end
  358. function rayCast(Position, Direction, Range, Ignore)
  359. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  360. end
  361. local RbxUtility = LoadLibrary("RbxUtility")
  362. local Create = RbxUtility.Create
  363.  
  364. -------------------------------------------------------
  365. --Start Damage Function--
  366. -------------------------------------------------------
  367. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  368. if hit.Parent == nil then
  369. return
  370. end
  371. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  372. for _, v in pairs(hit.Parent:children()) do
  373. if v:IsA("Humanoid") then
  374. h = v
  375. end
  376. end
  377. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  378.  
  379. hit.Parent:FindFirstChild("Head"):BreakJoints()
  380. end
  381.  
  382. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  383. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  384. if hit.Parent.DebounceHit.Value == true then
  385. return
  386. end
  387. end
  388. if insta == true then
  389. hit.Parent:FindFirstChild("Head"):BreakJoints()
  390. end
  391. local c = Create("ObjectValue"){
  392. Name = "creator",
  393. Value = game:service("Players").LocalPlayer,
  394. Parent = h,
  395. }
  396. game:GetService("Debris"):AddItem(c, .5)
  397. if HitSound ~= nil and HitPitch ~= nil then
  398. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  399. end
  400. local Damage = math.random(minim, maxim)
  401. local blocked = false
  402. local block = hit.Parent:findFirstChild("Block")
  403. if block ~= nil then
  404. if block.className == "IntValue" then
  405. if block.Value > 0 then
  406. blocked = true
  407. block.Value = block.Value - 1
  408. print(block.Value)
  409. end
  410. end
  411. end
  412. if blocked == false then
  413. h.Health = h.Health - Damage
  414. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  415. else
  416. h.Health = h.Health - (Damage / 2)
  417. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  418. end
  419. if Type == "Knockdown" then
  420. local hum = hit.Parent.Humanoid
  421. hum.PlatformStand = true
  422. coroutine.resume(coroutine.create(function(HHumanoid)
  423. swait(1)
  424. HHumanoid.PlatformStand = false
  425. end), hum)
  426. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  427. local bodvol = Create("BodyVelocity"){
  428. velocity = angle * knockback,
  429. P = 5000,
  430. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  431. Parent = hit,
  432. }
  433. local rl = Create("BodyAngularVelocity"){
  434. P = 3000,
  435. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  436. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  437. Parent = hit,
  438. }
  439. game:GetService("Debris"):AddItem(bodvol, .5)
  440. game:GetService("Debris"):AddItem(rl, .5)
  441. elseif Type == "Normal" then
  442. local vp = Create("BodyVelocity"){
  443. P = 500,
  444. maxForce = Vector3.new(math.huge, 0, math.huge),
  445. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  446. }
  447. if knockback > 0 then
  448. vp.Parent = hit.Parent.Torso
  449. end
  450. game:GetService("Debris"):AddItem(vp, .5)
  451. elseif Type == "Up" then
  452. local bodyVelocity = Create("BodyVelocity"){
  453. velocity = Vector3.new(0, 20, 0),
  454. P = 5000,
  455. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  456. Parent = hit,
  457. }
  458. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  459. elseif Type == "DarkUp" then
  460. coroutine.resume(coroutine.create(function()
  461. for i = 0, 1, 0.1 do
  462. swait()
  463. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  464. end
  465. end))
  466. local bodyVelocity = Create("BodyVelocity"){
  467. velocity = Vector3.new(0, 20, 0),
  468. P = 5000,
  469. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  470. Parent = hit,
  471. }
  472. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  473. elseif Type == "Snare" then
  474. local bp = Create("BodyPosition"){
  475. P = 2000,
  476. D = 100,
  477. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  478. position = hit.Parent.Torso.Position,
  479. Parent = hit.Parent.Torso,
  480. }
  481. game:GetService("Debris"):AddItem(bp, 1)
  482. elseif Type == "Freeze" then
  483. local BodPos = Create("BodyPosition"){
  484. P = 50000,
  485. D = 1000,
  486. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  487. position = hit.Parent.Torso.Position,
  488. Parent = hit.Parent.Torso,
  489. }
  490. local BodGy = Create("BodyGyro") {
  491. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  492. P = 20e+003,
  493. Parent = hit.Parent.Torso,
  494. cframe = hit.Parent.Torso.CFrame,
  495. }
  496. hit.Parent.Torso.Anchored = true
  497. coroutine.resume(coroutine.create(function(Part)
  498. swait(1.5)
  499. Part.Anchored = false
  500. end), hit.Parent.Torso)
  501. game:GetService("Debris"):AddItem(BodPos, 3)
  502. game:GetService("Debris"):AddItem(BodGy, 3)
  503. end
  504. local debounce = Create("BoolValue"){
  505. Name = "DebounceHit",
  506. Parent = hit.Parent,
  507. Value = true,
  508. }
  509. game:GetService("Debris"):AddItem(debounce, Delay)
  510. c = Create("ObjectValue"){
  511. Name = "creator",
  512. Value = Player,
  513. Parent = h,
  514. }
  515. game:GetService("Debris"):AddItem(c, .5)
  516. end
  517. end
  518. -------------------------------------------------------
  519. --End Damage Function--
  520. -------------------------------------------------------
  521.  
  522. -------------------------------------------------------
  523. --Start Damage Function Customization--
  524. -------------------------------------------------------
  525. function ShowDamage(Pos, Text, Time, Color)
  526. local Rate = (1 / 30)
  527. local Pos = (Pos or Vector3.new(0, 0, 0))
  528. local Text = (Text or "")
  529. local Time = (Time or 2)
  530. local Color = (Color or Color3.new(1, 0, 1))
  531. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  532. EffectPart.Anchored = true
  533. local BillboardGui = Create("BillboardGui"){
  534. Size = UDim2.new(3, 0, 3, 0),
  535. Adornee = EffectPart,
  536. Parent = EffectPart,
  537. }
  538. local TextLabel = Create("TextLabel"){
  539. BackgroundTransparency = 1,
  540. Size = UDim2.new(1, 0, 1, 0),
  541. Text = Text,
  542. Font = "Bodoni",
  543. TextColor3 = Color,
  544. TextScaled = true,
  545. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  546. Parent = BillboardGui,
  547. }
  548. game.Debris:AddItem(EffectPart, (Time))
  549. EffectPart.Parent = game:GetService("Workspace")
  550. delay(0, function()
  551. local Frames = (Time / Rate)
  552. for Frame = 1, Frames do
  553. wait(Rate)
  554. local Percent = (Frame / Frames)
  555. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  556. TextLabel.TextTransparency = Percent
  557. end
  558. if EffectPart and EffectPart.Parent then
  559. EffectPart:Destroy()
  560. end
  561. end)
  562. end
  563. -------------------------------------------------------
  564. --End Damage Function Customization--
  565. -------------------------------------------------------
  566.  
  567. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  568. for _, c in pairs(workspace:children()) do
  569. local hum = c:findFirstChild("Humanoid")
  570. if hum ~= nil then
  571. local head = c:findFirstChild("Head")
  572. if head ~= nil then
  573. local targ = head.Position - Part.Position
  574. local mag = targ.magnitude
  575. if magni >= mag and c.Name ~= plr.Name then
  576. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  577. end
  578. end
  579. end
  580. end
  581. end
  582.  
  583.  
  584. CFuncs = {
  585. Part = {
  586. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  587. local Part = Create("Part")({
  588. Parent = Parent,
  589. Reflectance = Reflectance,
  590. Transparency = Transparency,
  591. CanCollide = false,
  592. Locked = true,
  593. BrickColor = BrickColor.new(tostring(BColor)),
  594. Name = Name,
  595. Size = Size,
  596. Material = Material
  597. })
  598. RemoveOutlines(Part)
  599. return Part
  600. end
  601. },
  602. Mesh = {
  603. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  604. local Msh = Create(Mesh)({
  605. Parent = Part,
  606. Offset = OffSet,
  607. Scale = Scale
  608. })
  609. if Mesh == "SpecialMesh" then
  610. Msh.MeshType = MeshType
  611. Msh.MeshId = MeshId
  612. end
  613. return Msh
  614. end
  615. },
  616. Mesh = {
  617. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  618. local Msh = Create(Mesh)({
  619. Parent = Part,
  620. Offset = OffSet,
  621. Scale = Scale
  622. })
  623. if Mesh == "SpecialMesh" then
  624. Msh.MeshType = MeshType
  625. Msh.MeshId = MeshId
  626. end
  627. return Msh
  628. end
  629. },
  630. Weld = {
  631. Create = function(Parent, Part0, Part1, C0, C1)
  632. local Weld = Create("Weld")({
  633. Parent = Parent,
  634. Part0 = Part0,
  635. Part1 = Part1,
  636. C0 = C0,
  637. C1 = C1
  638. })
  639. return Weld
  640. end
  641. },
  642. Sound = {
  643. Create = function(id, par, vol, pit)
  644. coroutine.resume(coroutine.create(function()
  645. local S = Create("Sound")({
  646. Volume = vol,
  647. Pitch = pit or 1,
  648. SoundId = id,
  649. Parent = par or workspace
  650. })
  651. wait()
  652. S:play()
  653. game:GetService("Debris"):AddItem(S, 6)
  654. end))
  655. end
  656. },
  657. ParticleEmitter = {
  658. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  659. local fp = Create("ParticleEmitter")({
  660. Parent = Parent,
  661. Color = ColorSequence.new(Color1, Color2),
  662. LightEmission = LightEmission,
  663. Size = Size,
  664. Texture = Texture,
  665. Transparency = Transparency,
  666. ZOffset = ZOffset,
  667. Acceleration = Accel,
  668. Drag = Drag,
  669. LockedToPart = LockedToPart,
  670. VelocityInheritance = VelocityInheritance,
  671. EmissionDirection = EmissionDirection,
  672. Enabled = Enabled,
  673. Lifetime = LifeTime,
  674. Rate = Rate,
  675. Rotation = Rotation,
  676. RotSpeed = RotSpeed,
  677. Speed = Speed,
  678. VelocitySpread = VelocitySpread
  679. })
  680. return fp
  681. end
  682. }
  683. }
  684. function RemoveOutlines(part)
  685. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  686. end
  687. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  688. local Part = Create("Part")({
  689. formFactor = FormFactor,
  690. Parent = Parent,
  691. Reflectance = Reflectance,
  692. Transparency = Transparency,
  693. CanCollide = false,
  694. Locked = true,
  695. BrickColor = BrickColor.new(tostring(BColor)),
  696. Name = Name,
  697. Size = Size,
  698. Material = Material
  699. })
  700. RemoveOutlines(Part)
  701. return Part
  702. end
  703. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  704. local Msh = Create(Mesh)({
  705. Parent = Part,
  706. Offset = OffSet,
  707. Scale = Scale
  708. })
  709. if Mesh == "SpecialMesh" then
  710. Msh.MeshType = MeshType
  711. Msh.MeshId = MeshId
  712. end
  713. return Msh
  714. end
  715. function CreateWeld(Parent, Part0, Part1, C0, C1)
  716. local Weld = Create("Weld")({
  717. Parent = Parent,
  718. Part0 = Part0,
  719. Part1 = Part1,
  720. C0 = C0,
  721. C1 = C1
  722. })
  723. return Weld
  724. end
  725.  
  726.  
  727. -------------------------------------------------------
  728. --Start Effect Function--
  729. -------------------------------------------------------
  730. EffectModel = Instance.new("Model", char)
  731. Effects = {
  732. Block = {
  733. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  734. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  735. prt.Anchored = true
  736. prt.CFrame = cframe
  737. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  738. game:GetService("Debris"):AddItem(prt, 10)
  739. if Type == 1 or Type == nil then
  740. table.insert(Effects, {
  741. prt,
  742. "Block1",
  743. delay,
  744. x3,
  745. y3,
  746. z3,
  747. msh
  748. })
  749. elseif Type == 2 then
  750. table.insert(Effects, {
  751. prt,
  752. "Block2",
  753. delay,
  754. x3,
  755. y3,
  756. z3,
  757. msh
  758. })
  759. else
  760. table.insert(Effects, {
  761. prt,
  762. "Block3",
  763. delay,
  764. x3,
  765. y3,
  766. z3,
  767. msh
  768. })
  769. end
  770. end
  771. },
  772. Sphere = {
  773. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  774. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  775. prt.Anchored = true
  776. prt.CFrame = cframe
  777. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  778. game:GetService("Debris"):AddItem(prt, 10)
  779. table.insert(Effects, {
  780. prt,
  781. "Cylinder",
  782. delay,
  783. x3,
  784. y3,
  785. z3,
  786. msh
  787. })
  788. end
  789. },
  790. Cylinder = {
  791. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  792. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  793. prt.Anchored = true
  794. prt.CFrame = cframe
  795. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  796. game:GetService("Debris"):AddItem(prt, 10)
  797. table.insert(Effects, {
  798. prt,
  799. "Cylinder",
  800. delay,
  801. x3,
  802. y3,
  803. z3,
  804. msh
  805. })
  806. end
  807. },
  808. Wave = {
  809. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  810. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  811. prt.Anchored = true
  812. prt.CFrame = cframe
  813. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  814. game:GetService("Debris"):AddItem(prt, 10)
  815. table.insert(Effects, {
  816. prt,
  817. "Cylinder",
  818. delay,
  819. x3 / 60,
  820. y3 / 60,
  821. z3 / 60,
  822. msh
  823. })
  824. end
  825. },
  826. Ring = {
  827. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  828. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  829. prt.Anchored = true
  830. prt.CFrame = cframe
  831. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  832. game:GetService("Debris"):AddItem(prt, 10)
  833. table.insert(Effects, {
  834. prt,
  835. "Cylinder",
  836. delay,
  837. x3,
  838. y3,
  839. z3,
  840. msh
  841. })
  842. end
  843. },
  844. Break = {
  845. Create = function(brickcolor, cframe, x1, y1, z1)
  846. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  847. prt.Anchored = true
  848. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  849. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  850. local num = math.random(10, 50) / 1000
  851. game:GetService("Debris"):AddItem(prt, 10)
  852. table.insert(Effects, {
  853. prt,
  854. "Shatter",
  855. num,
  856. prt.CFrame,
  857. math.random() - math.random(),
  858. 0,
  859. math.random(50, 100) / 100
  860. })
  861. end
  862. },
  863. Spiral = {
  864. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  865. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  866. prt.Anchored = true
  867. prt.CFrame = cframe
  868. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  869. game:GetService("Debris"):AddItem(prt, 10)
  870. table.insert(Effects, {
  871. prt,
  872. "Cylinder",
  873. delay,
  874. x3,
  875. y3,
  876. z3,
  877. msh
  878. })
  879. end
  880. },
  881. Push = {
  882. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  883. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  884. prt.Anchored = true
  885. prt.CFrame = cframe
  886. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  887. game:GetService("Debris"):AddItem(prt, 10)
  888. table.insert(Effects, {
  889. prt,
  890. "Cylinder",
  891. delay,
  892. x3,
  893. y3,
  894. z3,
  895. msh
  896. })
  897. end
  898. }
  899. }
  900. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  901. local fp = IT("Part")
  902. fp.formFactor = formfactor
  903. fp.Parent = parent
  904. fp.Reflectance = reflectance
  905. fp.Transparency = transparency
  906. fp.CanCollide = false
  907. fp.Locked = true
  908. fp.BrickColor = brickcolor
  909. fp.Name = name
  910. fp.Size = size
  911. fp.Position = tors.Position
  912. RemoveOutlines(fp)
  913. fp.Material = "SmoothPlastic"
  914. fp:BreakJoints()
  915. return fp
  916. end
  917.  
  918. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  919. local mesh = IT(Mesh)
  920. mesh.Parent = part
  921. if Mesh == "SpecialMesh" then
  922. mesh.MeshType = meshtype
  923. if meshid ~= "nil" then
  924. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  925. end
  926. end
  927. mesh.Offset = offset
  928. mesh.Scale = scale
  929. return mesh
  930. end
  931.  
  932. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  933. local type = type
  934. local rng = Instance.new("Part", char)
  935. rng.Anchored = true
  936. rng.BrickColor = color
  937. rng.CanCollide = false
  938. rng.FormFactor = 3
  939. rng.Name = "Ring"
  940. rng.Material = "Neon"
  941. rng.Size = Vector3.new(1, 1, 1)
  942. rng.Transparency = 0
  943. rng.TopSurface = 0
  944. rng.BottomSurface = 0
  945. rng.CFrame = pos
  946. local rngm = Instance.new("SpecialMesh", rng)
  947. rngm.MeshType = MType
  948. rngm.Scale = scale
  949. local scaler2 = 1
  950. if type == "Add" then
  951. scaler2 = 1 * value
  952. elseif type == "Divide" then
  953. scaler2 = 1 / value
  954. end
  955. coroutine.resume(coroutine.create(function()
  956. for i = 0, 10 / bonuspeed, 0.1 do
  957. swait()
  958. if type == "Add" then
  959. scaler2 = scaler2 - 0.01 * value / bonuspeed
  960. elseif type == "Divide" then
  961. scaler2 = scaler2 - 0.01 / value * bonuspeed
  962. end
  963. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  964. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  965. end
  966. rng:Destroy()
  967. end))
  968. end
  969.  
  970. function Eviscerate(dude)
  971. if dude.Name ~= char then
  972. local bgf = IT("BodyGyro", dude.Head)
  973. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  974. local val = IT("BoolValue", dude)
  975. val.Name = "IsHit"
  976. local ds = coroutine.wrap(function()
  977. dude:WaitForChild("Head"):BreakJoints()
  978. wait(0.5)
  979. target = nil
  980. coroutine.resume(coroutine.create(function()
  981. for i, v in pairs(dude:GetChildren()) do
  982. if v:IsA("Accessory") then
  983. v:Destroy()
  984. end
  985. if v:IsA("Humanoid") then
  986. v:Destroy()
  987. end
  988. if v:IsA("CharacterMesh") then
  989. v:Destroy()
  990. end
  991. if v:IsA("Model") then
  992. v:Destroy()
  993. end
  994. if v:IsA("Part") or v:IsA("MeshPart") then
  995. for x, o in pairs(v:GetChildren()) do
  996. if o:IsA("Decal") then
  997. o:Destroy()
  998. end
  999. end
  1000. coroutine.resume(coroutine.create(function()
  1001. v.Material = "Neon"
  1002. v.CanCollide = false
  1003. local PartEmmit1 = IT("ParticleEmitter", v)
  1004. PartEmmit1.LightEmission = 1
  1005. PartEmmit1.Texture = "rbxassetid://284205403"
  1006. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1007. PartEmmit1.Rate = 150
  1008. PartEmmit1.Lifetime = NumberRange.new(1)
  1009. PartEmmit1.Size = NumberSequence.new({
  1010. NumberSequenceKeypoint.new(0, 0.75, 0),
  1011. NumberSequenceKeypoint.new(1, 0, 0)
  1012. })
  1013. PartEmmit1.Transparency = NumberSequence.new({
  1014. NumberSequenceKeypoint.new(0, 0, 0),
  1015. NumberSequenceKeypoint.new(1, 1, 0)
  1016. })
  1017. PartEmmit1.Speed = NumberRange.new(0, 0)
  1018. PartEmmit1.VelocitySpread = 30000
  1019. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  1020. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  1021. local BodPoss = IT("BodyPosition", v)
  1022. BodPoss.P = 3000
  1023. BodPoss.D = 1000
  1024. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1025. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1026. v.Color = maincolor.Color
  1027. coroutine.resume(coroutine.create(function()
  1028. for i = 0, 49 do
  1029. swait(1)
  1030. v.Transparency = v.Transparency + 0.08
  1031. end
  1032. wait(0.5)
  1033. PartEmmit1.Enabled = false
  1034. wait(3)
  1035. v:Destroy()
  1036. dude:Destroy()
  1037. end))
  1038. end))
  1039. end
  1040. end
  1041. end))
  1042. end)
  1043. ds()
  1044. end
  1045. end
  1046.  
  1047. function FindNearestHead(Position, Distance, SinglePlayer)
  1048. if SinglePlayer then
  1049. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1050. end
  1051. local List = {}
  1052. for i, v in pairs(workspace:GetChildren()) do
  1053. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  1054. table.insert(List, v)
  1055. end
  1056. end
  1057. return List
  1058. end
  1059.  
  1060. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  1061. local type = type
  1062. local rng = Instance.new("Part", char)
  1063. rng.Anchored = true
  1064. rng.BrickColor = color
  1065. rng.CanCollide = false
  1066. rng.FormFactor = 3
  1067. rng.Name = "Ring"
  1068. rng.Material = "Neon"
  1069. rng.Size = Vector3.new(1, 1, 1)
  1070. rng.Transparency = 0
  1071. rng.TopSurface = 0
  1072. rng.BottomSurface = 0
  1073. rng.CFrame = pos
  1074. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1075. local rngm = Instance.new("SpecialMesh", rng)
  1076. rngm.MeshType = MType
  1077. rngm.Scale = Vector3.new(x1, y1, z1)
  1078. local scaler2 = 1
  1079. local speeder = FastSpeed
  1080. if type == "Add" then
  1081. scaler2 = 1 * value
  1082. elseif type == "Divide" then
  1083. scaler2 = 1 / value
  1084. end
  1085. coroutine.resume(coroutine.create(function()
  1086. for i = 0, 10 / bonuspeed, 0.1 do
  1087. swait()
  1088. if type == "Add" then
  1089. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1090. elseif type == "Divide" then
  1091. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1092. end
  1093. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1094. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1095. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1096. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1097. end
  1098. rng:Destroy()
  1099. end))
  1100. end
  1101.  
  1102. function SoulSteal(dude)
  1103. if dude.Name ~= char then
  1104. local bgf = IT("BodyGyro", dude.Head)
  1105. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1106. local val = IT("BoolValue", dude)
  1107. val.Name = "IsHit"
  1108. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  1109. local soulst = coroutine.wrap(function()
  1110. local soul = Instance.new("Part",dude)
  1111. soul.Size = Vector3.new(1,1,1)
  1112. soul.CanCollide = false
  1113. soul.Anchored = false
  1114. soul.Position = torso.Position
  1115. soul.Transparency = 1
  1116. local PartEmmit1 = IT("ParticleEmitter", soul)
  1117. PartEmmit1.LightEmission = 1
  1118. PartEmmit1.Texture = "rbxassetid://569507414"
  1119. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1120. PartEmmit1.Rate = 250
  1121. PartEmmit1.Lifetime = NumberRange.new(1.6)
  1122. PartEmmit1.Size = NumberSequence.new({
  1123. NumberSequenceKeypoint.new(0, 1, 0),
  1124. NumberSequenceKeypoint.new(1, 0, 0)
  1125. })
  1126. PartEmmit1.Transparency = NumberSequence.new({
  1127. NumberSequenceKeypoint.new(0, 0, 0),
  1128. NumberSequenceKeypoint.new(1, 1, 0)
  1129. })
  1130. PartEmmit1.Speed = NumberRange.new(0, 0)
  1131. PartEmmit1.VelocitySpread = 30000
  1132. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  1133. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1134. local BodPoss = IT("BodyPosition", soul)
  1135. BodPoss.P = 3000
  1136. BodPoss.D = 1000
  1137. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1138. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1139. wait(1.6)
  1140. soul.Touched:connect(function(hit)
  1141. if hit.Parent == char then
  1142. soul:Destroy()
  1143. end
  1144. end)
  1145. wait(1.2)
  1146. while soul do
  1147. swait()
  1148. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1149. BodPoss.Position = tors.Position
  1150. end
  1151. end)
  1152. soulst()
  1153. end
  1154. end
  1155. function FaceMouse()
  1156. local Cam = workspace.CurrentCamera
  1157. return {
  1158. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1159. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1160. }
  1161. end
  1162. Effects = {
  1163. Block = function(cf,partsize,meshstart,meshadd,matr,colour,spin,inverse,factor)
  1164. local p = Instance.new("Part",EffectModel)
  1165. p.BrickColor = BrickColor.new(colour)
  1166. p.Size = partsize
  1167. p.Anchored = true
  1168. p.CanCollide = false
  1169. p.Material = matr
  1170. p.CFrame = cf
  1171. if inverse == true then
  1172. p.Transparency = 1
  1173. else
  1174. p.Transparency = 0
  1175. end
  1176. local m = Instance.new("BlockMesh",p)
  1177. m.Scale = meshstart
  1178. coroutine.wrap(function()
  1179. for i = 0, 1, factor do
  1180. swait()
  1181. if inverse == true then
  1182. p.Transparency = 1-i
  1183. else
  1184. p.Transparency = i
  1185. end
  1186. m.Scale = m.Scale + meshadd
  1187. if spin == true then
  1188. p.CFrame = p.CFrame * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1189. end
  1190. end
  1191. p:Destroy()
  1192. end)()
  1193. return p
  1194. end,
  1195. Sphere = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
  1196. local p = Instance.new("Part",EffectModel)
  1197. p.BrickColor = BrickColor.new(colour)
  1198. p.Size = partsize
  1199. p.Anchored = true
  1200. p.CanCollide = false
  1201. p.Material = matr
  1202. p.CFrame = cf
  1203. if inverse == true then
  1204. p.Transparency = 1
  1205. else
  1206. p.Transparency = 0
  1207. end
  1208. local m = Instance.new("SpecialMesh",p)
  1209. m.MeshType = "Sphere"
  1210. m.Scale = meshstart
  1211. coroutine.wrap(function()
  1212. for i=0,1,factor do
  1213. swait()
  1214. if inverse == true then
  1215. p.Transparency = 1-i
  1216. else
  1217. p.Transparency = i
  1218. end
  1219. m.Scale = m.Scale + meshadd
  1220. end
  1221. p:Destroy()
  1222. end)()
  1223. return p
  1224. end,
  1225.  
  1226. Cylinder = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
  1227. local p = Instance.new("Part",EffectModel)
  1228. p.BrickColor = BrickColor.new(colour)
  1229. p.Size = partsize
  1230. p.Anchored = true
  1231. p.CanCollide = false
  1232. p.Material = matr
  1233. p.CFrame = cf
  1234. if inverse == true then
  1235. p.Transparency = 1
  1236. else
  1237. p.Transparency = 0
  1238. end
  1239. local m = Instance.new("CylinderMesh",p)
  1240. m.Scale = meshstart
  1241. coroutine.wrap(function()
  1242. for i=0,1,factor do
  1243. swait()
  1244. if inverse == true then
  1245. p.Transparency = 1-i
  1246. else
  1247. p.Transparency = i
  1248. end
  1249. m.Scale = m.Scale + meshadd
  1250. end
  1251. p:Destroy()
  1252. end)()
  1253. return p
  1254. end,
  1255.  
  1256. Wave = function(cf,meshstart,meshadd,colour,spin,inverse,factor)
  1257. local p = Instance.new("Part",EffectModel)
  1258. p.BrickColor = BrickColor.new(colour)
  1259. p.Size = Vector3.new()
  1260. p.Anchored = true
  1261. p.CanCollide = false
  1262. p.CFrame = cf
  1263. if inverse == true then
  1264. p.Transparency = 1
  1265. else
  1266. p.Transparency = 0
  1267. end
  1268. local m = Instance.new("SpecialMesh",p)
  1269. m.MeshId = "rbxassetid://20329976"
  1270. m.Scale = meshstart
  1271. coroutine.wrap(function()
  1272. for i=0,1,factor do
  1273. swait()
  1274. if inverse == true then
  1275. p.Transparency = 1-i
  1276. else
  1277. p.Transparency = i
  1278. end
  1279. m.Scale = m.Scale + meshadd
  1280. p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
  1281. end
  1282. p:Destroy()
  1283. end)()
  1284. return p
  1285. end,
  1286.  
  1287. Ring = function(cf,meshstart,meshadd,colour,inverse,factor)
  1288. local p = Instance.new("Part",EffectModel)
  1289. p.BrickColor = BrickColor.new(colour)
  1290. p.Size = Vector3.new()
  1291. p.Anchored = true
  1292. p.CanCollide = false
  1293. p.CFrame = cf
  1294. if inverse == true then
  1295. p.Transparency = 1
  1296. else
  1297. p.Transparency = 0
  1298. end
  1299. local m = Instance.new("SpecialMesh",p)
  1300. m.MeshId = "rbxassetid://3270017"
  1301. m.Scale = meshstart
  1302. coroutine.wrap(function()
  1303. for i=0,1,factor do
  1304. swait()
  1305. if inverse == true then
  1306. p.Transparency = 1-i
  1307. else
  1308. p.Transparency = i
  1309. end
  1310. m.Scale = m.Scale + meshadd
  1311. end
  1312. p:Destroy()
  1313. end)()
  1314. return p
  1315. end,
  1316.  
  1317. Meshed = function(cf,meshstart,meshadd,colour,meshid,textid,spin,inverse,factor)
  1318. local p = Instance.new("Part",EffectModel)
  1319. p.BrickColor = BrickColor.new(colour)
  1320. p.Size = Vector3.new()
  1321. p.Anchored = true
  1322. p.CanCollide = false
  1323. p.CFrame = cf
  1324. if inverse == true then
  1325. p.Transparency = 1
  1326. else
  1327. p.Transparency = 0
  1328. end
  1329. local m = Instance.new("SpecialMesh",p)
  1330. m.MeshId = meshid
  1331. m.TextureId = textid
  1332. m.Scale = meshstart
  1333. coroutine.wrap(function()
  1334. for i=0,1,factor do
  1335. swait()
  1336. if inverse == true then
  1337. p.Transparency = 1-i
  1338. else
  1339. p.Transparency = i
  1340. end
  1341. m.Scale = m.Scale + meshadd
  1342. p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
  1343. end
  1344. p:Destroy()
  1345. end)()
  1346. return p
  1347. end,
  1348.  
  1349. Explode = function(cf,partsize,meshstart,meshadd,matr,colour,move,inverse,factor)
  1350. local p = Instance.new("Part",EffectModel)
  1351. p.BrickColor = BrickColor.new(colour)
  1352. p.Size = partsize
  1353. p.Anchored = true
  1354. p.CanCollide = false
  1355. p.Material = matr
  1356. p.CFrame = cf * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  1357. if inverse == true then
  1358. p.Transparency = 1
  1359. else
  1360. p.Transparency = 0
  1361. end
  1362. local m = Instance.new("SpecialMesh",p)
  1363. m.MeshType = "Sphere"
  1364. m.Scale = meshstart
  1365. coroutine.wrap(function()
  1366. for i=0,1,factor do
  1367. swait()
  1368. if inverse == true then
  1369. p.Transparency = 1-i
  1370. else
  1371. p.Transparency = i
  1372. end
  1373. m.Scale = m.Scale + meshadd
  1374. p.CFrame = p.CFrame * CFrame.new(0,move,0)
  1375. end
  1376. p:Destroy()
  1377. end)()
  1378. return p
  1379. end,
  1380.  
  1381. }
  1382. -------------------------------------------------------
  1383. --End Effect Function--
  1384. -------------------------------------------------------
  1385. function Cso(ID, PARENT, VOLUME, PITCH)
  1386. local NSound = nil
  1387. coroutine.resume(coroutine.create(function()
  1388. NSound = IT("Sound", PARENT)
  1389. NSound.Volume = VOLUME
  1390. NSound.Pitch = PITCH
  1391. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1392. swait()
  1393. NSound:play()
  1394. game:GetService("Debris"):AddItem(NSound, 10)
  1395. end))
  1396. return NSound
  1397. end
  1398. function CamShake(Length, Intensity)
  1399. coroutine.resume(coroutine.create(function()
  1400. local intensity = 1 * Intensity
  1401. local rotM = 0.01 * Intensity
  1402. for i = 0, Length, 0.1 do
  1403. swait()
  1404. intensity = intensity - 0.05 * Intensity / Length
  1405. rotM = rotM - 5.0E-4 * Intensity / Length
  1406. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1407. 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)
  1408. end
  1409. hum.CameraOffset = Vector3.new(0, 0, 0)
  1410. end))
  1411. end
  1412. NewInstance = function(instance,parent,properties)
  1413. local inst = Instance.new(instance)
  1414. inst.Parent = parent
  1415. if(properties)then
  1416. for i,v in next, properties do
  1417. pcall(function() inst[i] = v end)
  1418. end
  1419. end
  1420. return inst;
  1421. end
  1422. hum.MaxHealth = 1.0E298
  1423. hum.Health = 1.0E298
  1424. game:GetService("RunService"):BindToRenderStep("HOT", 0, function()
  1425. if hum.Health > 0.1 and hum.Health < 1.0E298 then
  1426. hum.MaxHealth = 1.0E298
  1427. hum.Health = 1.0E298
  1428. end
  1429. end)
  1430. function chatfunc(text, color)
  1431. local chat = coroutine.wrap(function()
  1432. if char:FindFirstChild("TalkingBillBoard") ~= nil then
  1433. char:FindFirstChild("TalkingBillBoard"):destroy()
  1434. end
  1435. local naeeym2 = Instance.new("BillboardGui", char)
  1436. naeeym2.Size = UDim2.new(0, 100, 0, 40)
  1437. naeeym2.StudsOffset = Vector3.new(0, 1.5, 0)
  1438. naeeym2.Adornee = hed
  1439. naeeym2.Name = "TalkingBillBoard"
  1440. local tecks2 = Instance.new("TextLabel", naeeym2)
  1441. tecks2.BackgroundTransparency = 1
  1442. tecks2.BorderSizePixel = 0
  1443. tecks2.Text = ""
  1444. tecks2.Font = "Fantasy"
  1445. tecks2.TextSize = 30
  1446. tecks2.TextStrokeTransparency = 0
  1447. tecks2.TextColor3 = color
  1448. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  1449. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  1450. for i = 1, string.len(text) do
  1451. CFuncs.Sound.Create("rbxassetid://418252437", hed, 1, Mrandom(8,12)/15)
  1452. tecks2.Text = string.sub(text, 1, i)
  1453. swait(1)
  1454. end
  1455. wait(1)
  1456. naeeym2:Destroy()
  1457. end)
  1458. chat()
  1459. end
  1460. New = function(Object, Parent, Name, Data)
  1461. local Object = Instance.new(Object)
  1462. for Index, Value in pairs(Data or {}) do
  1463. Object[Index] = Value
  1464. end
  1465. Object.Parent = Parent
  1466. Object.Name = Name
  1467. return Object
  1468. end
  1469.  
  1470. Cupo = New("Model",char,"Cupo",{})
  1471. Handle = New("Part",Cupo,"Handle",{BrickColor = BrickColor.new("Institutional white"),Reflectance = 0.10000000149012,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-132.232986, 1.05098712, -175.132965, -2.66358597e-06, 0.50003612, -0.866004288, 0.999999762, 3.72325388e-08, -3.4009206e-06, -2.13981866e-06, -0.866004527, -0.500036418),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  1472. Mesh = New("SpecialMesh",Handle,"Mesh",{Scale = Vector3.new(0.600000024, 0.600000024, 1),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
  1473. Part = New("Part",Cupo,"Part",{BrickColor = BrickColor.new("Institutional white"),Reflectance = 0.10000000149012,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-132.482986, 1.05098701, -174.699982, 0.866004169, -0.500036061, 4.80877497e-06, 3.40900579e-06, -4.61425361e-06, -0.999999642, 0.500036597, 0.866004586, -1.59157071e-06),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  1474. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 6),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
  1475. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.866004348, 3.3928352e-06, 0.500036359, -0.500036299, -4.34130516e-06, 0.866004407, 4.95926542e-06, -0.999999881, -1.81985979e-06),C1 = CFrame.new(-1.1920929e-07, -0.499977112, 0, -2.81334178e-06, 1, -1.89662967e-06, 0.50003624, -2.4825286e-07, -0.866004586, -0.866004467, -3.39283588e-06, -0.500036418),})
  1476. Part = New("Part",Cupo,"Part",{BrickColor = BrickColor.new("Institutional white"),Reflectance = 0.10000000149012,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1, 0.400000006, 1),CFrame = CFrame.new(-132.482986, 0.75998807, -174.699982, 0.500036061, -4.80877497e-06, 0.866004169, 4.61425361e-06, 0.999999642, 3.40900579e-06, -0.866004586, 1.59157071e-06, 0.500036597),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  1477. Mesh = New("CylinderMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.200000003, 0),Scale = Vector3.new(1, 0.100000001, 1),})
  1478. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.500036299, 4.34130516e-06, -0.866004407, -4.95926542e-06, 0.999999881, 1.81985979e-06, 0.866004348, 3.3928352e-06, 0.500036359),C1 = CFrame.new(-0.290999115, -0.499977112, 0, -2.81334178e-06, 1, -1.89662967e-06, 0.50003624, -2.4825286e-07, -0.866004586, -0.866004467, -3.39283588e-06, -0.500036418),})
  1479. Coffee = New("Part",Cupo,"Coffee",{BrickColor = BrickColor.new("Light yellow"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1, 0.400000006, 1),CFrame = CFrame.new(-132.482986, 1.15998101, -174.699982, 0.500036299, -4.95926542e-06, 0.866004348, 4.34130516e-06, 0.999999881, 3.3928352e-06, -0.866004407, 1.81985979e-06, 0.500036359),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.411765, 0.25098, 0.156863),})
  1480. Mesh = New("CylinderMesh",Coffee,"Mesh",{Scale = Vector3.new(1, 1.20000005, 1),})
  1481. mot = New("Motor",Coffee,"mot",{Part0 = Coffee,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.500036299, 4.34130516e-06, -0.866004407, -4.95926542e-06, 0.999999881, 1.81985979e-06, 0.866004348, 3.3928352e-06, 0.500036359),C1 = CFrame.new(0.108993888, -0.499977112, -1.52587891e-05, -2.81334178e-06, 1, -1.89662967e-06, 0.50003624, -2.4825286e-07, -0.866004586, -0.866004467, -3.39283588e-06, -0.500036418),})
  1482.  
  1483. local HW = NewInstance('Weld',char,{Part0 = ra, Part1 = Handle, C0 = CFrame.new(0, -1.1, -0.1) * CFrame.Angles(Rad(0), Rad(90), Rad(0))})
  1484.  
  1485. -------------------------------------------------------
  1486. --End Important Functions--
  1487. -------------------------------------------------------
  1488.  
  1489.  
  1490. -------------------------------------------------------
  1491. --Start Customization--
  1492. -------------------------------------------------------
  1493. local Player_Size = 1
  1494. if Player_Size ~= 1 then
  1495. root.Size = root.Size * Player_Size
  1496. tors.Size = tors.Size * Player_Size
  1497. hed.Size = hed.Size * Player_Size
  1498. ra.Size = ra.Size * Player_Size
  1499. la.Size = la.Size * Player_Size
  1500. rl.Size = rl.Size * Player_Size
  1501. ll.Size = ll.Size * Player_Size
  1502. ----------------------------------------------------------------------------------
  1503. rootj.Parent = root
  1504. neck.Parent = tors
  1505. RW.Parent = tors
  1506. LW.Parent = tors
  1507. RH.Parent = tors
  1508. LH.Parent = tors
  1509. ----------------------------------------------------------------------------------
  1510. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1511. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1512. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  1513. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  1514. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  1515. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  1516. ----------------------------------------------------------------------------------
  1517. 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))
  1518. 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))
  1519. 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))
  1520. 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))
  1521. --hat.Parent = Character
  1522. end
  1523. ----------------------------------------------------------------------------------
  1524. local SONG = 0
  1525. local SONG2 = 0
  1526. local Music = Instance.new("Sound",tors)
  1527. Music.Volume = 2.5
  1528. Music.Looped = true
  1529. Music.Pitch = 1 --Pitcher
  1530. ----------------------------------------------------------------------------------
  1531. local equipped = false
  1532. local idle = 0
  1533. local change = 1
  1534. local val = 0
  1535. local toim = 0
  1536. local idleanim = 0.4
  1537. local sine = 0
  1538. local Sit = 1
  1539. local WasAir = false
  1540. local InAir = false
  1541. local LandTick = 0
  1542. local movelegs = false
  1543. local FF = Instance.new("ForceField",char)
  1544. FF.Visible = false
  1545. local Speed = 16
  1546. local Sitt = false
  1547. local VALUE1 = false
  1548. ----------------------------------------------------------------------------------
  1549. hum.JumpPower = 55
  1550. hum.Animator.Parent = nil
  1551. -------------------------------------------------------
  1552. --End Customization--
  1553. -------------------------------------------------------
  1554.  
  1555.  
  1556. -------------------------------------------------------
  1557. --Start Attacks N Stuff--
  1558. -------------------------------------------------------
  1559. function AttackTemplate()
  1560. attack = true
  1561. for i = 0, 2, 0.1 do
  1562. swait()
  1563. 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.1)
  1564. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1)
  1565. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  1566. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  1567. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 + 5 * Sin(sine / 20)), Rad(10 + 5 * Sin(sine / 20))), 0.1)
  1568. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1)
  1569. end
  1570. attack = false
  1571. end
  1572. function Taunt()
  1573. attack = true
  1574. movelegs = true
  1575. Speed = 12
  1576. local Chatty = Mrandom(1,5)
  1577. if Chatty == 1 then
  1578. chatfunc("ok", maincolor.Color)
  1579. elseif Chatty == 2 then
  1580. chatfunc("perfect tea", maincolor.Color)
  1581. elseif Chatty == 3 then
  1582. chatfunc("let me test my new volcabulary... PECK NECK!", maincolor.Color)
  1583. elseif Chatty == 4 then
  1584. chatfunc("too much sugar.... SUGARRRRRR... ROLLING AROUND AT THE SPEED OF SOUNDDDDDDDDDDDDD AAAAAAAA", maincolor.Color)
  1585. elseif Chatty == 5 then
  1586. chatfunc("*sippppppppppppppppppppppp*", maincolor.Color)
  1587. end
  1588. if Chatty ~= 5 then
  1589. for i = 0, 9, 0.1 do
  1590. swait()
  1591. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15)
  1592. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.3)
  1593. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.001 * Cos(sine / 20)) * RHCF * angles (math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15)
  1594. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.001 * Cos(sine / 20)) * LHCF * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15)
  1595. RW.C0 = clerp(RW.C0, CF(1.2, 0.5 + 0.05 * Sin(sine / 30), 0.001 * Cos(sine / 20)) * angles (math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.1)
  1596. LW.C0 = clerp(LW.C0, CF(-1.2, 0.5 + 0.05 * Sin(sine / 30), 0.001 * Cos(sine / 20)) * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.1)
  1597. end
  1598. else
  1599. for i = 0, 9, 0.1 do
  1600. swait()
  1601. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15)
  1602. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.3)
  1603. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.001 * Cos(sine / 20)) * RHCF * angles (math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15)
  1604. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.001 * Cos(sine / 20)) * LHCF * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15)
  1605. RW.C0 = clerp(RW.C0, CF(1.2, 0.5 + 0.05 * Sin(sine / 30), 0.001 * Cos(sine / 20)) * angles (math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.1)
  1606. LW.C0 = clerp(LW.C0, CF(-1.2, 0.5 + 0.05 * Sin(sine / 30), 0.001 * Cos(sine / 20)) * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.1)
  1607. end
  1608. end
  1609. movelegs = false
  1610. attack = false
  1611. Speed = 16
  1612. end
  1613. function Sippy()
  1614. attack = true
  1615. Speed = 0
  1616. local Sip = Cso("1420260652", hed, 1.2, 1)
  1617. swait()
  1618. repeat
  1619. swait()
  1620. 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(-10)), 0.1)
  1621. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-10 - 5 * Sin(sine / 20)), Rad(0), Rad(10)), 0.1)
  1622. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  1623. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  1624. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.4 + 0.05 * Sin(sine / 20)* Player_Size, 0.1* Player_Size) * angles(Rad(125), Rad(0), Rad(-45)), 0.1)
  1625. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(10 - 5 * Sin(sine / 20))), 0.1)
  1626. until Sip.Playing == false
  1627. Speed = 16
  1628. attack = false
  1629. end
  1630. function SittyBoi()
  1631. attack = true
  1632. Sitt = true
  1633. Speed = 0
  1634. repeat
  1635. swait()
  1636. for i = 0, 1, 0.1 do
  1637. swait()
  1638. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -1.6 + 0.1 * Player_Size * Cos(sine / 20)) * angles(Rad(-15), Rad(0), Rad(0)), 0.1)
  1639. neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1)
  1640. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(75), Rad(0), Rad(5)), 0.1)
  1641. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(75), Rad(0), Rad(-5)), 0.1)
  1642. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(70), Rad(0 + 5 * Sin(sine / 20)), Rad(-30 + 5 * Sin(sine / 20))), 0.1)
  1643. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.2 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-15), Rad(20), Rad(-15)), 0.1)
  1644. end
  1645. until Sitt == false
  1646. attack = false
  1647. Speed = 16
  1648. end
  1649. -------------------------------------------------------
  1650. --End Attacks N Stuff--
  1651. -------------------------------------------------------
  1652. mouse.Button1Down:connect(function(key)
  1653. if attack == false then
  1654. Sippy()
  1655. end
  1656. end)
  1657. mouse.KeyDown:connect(function(key)
  1658. if (VALUE1 == false and attack == false) or Sitt == true then
  1659. if key == "q" then
  1660. if Sitt == false then
  1661. SittyBoi()
  1662. elseif Sitt == true then
  1663. Sitt = false
  1664. end
  1665. end
  1666. end
  1667. if attack == false then
  1668. if key == "t" then
  1669. Taunt()
  1670. end
  1671. end
  1672. end)
  1673.  
  1674.  
  1675.  
  1676.  
  1677.  
  1678.  
  1679.  
  1680.  
  1681. -------------------------------------------------------
  1682. --Start Animations--
  1683. -------------------------------------------------------
  1684. print("By Makhail07")
  1685. while true do
  1686. swait()
  1687. sine = sine + change
  1688. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1689. local velderp = root.Velocity.y
  1690. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  1691. if equipped == true or equipped == false then
  1692. if attack == false then
  1693. idle = idle + 1
  1694. else
  1695. idle = 0
  1696. end
  1697. local Landed = false
  1698. if(hitfloor)then
  1699. WasAir = false
  1700. else
  1701. WasAir = true
  1702. end
  1703. if(WasAir == false)then
  1704. if(InAir == true)then
  1705. LandTick = time()
  1706. Landed = true
  1707. end
  1708. end
  1709. if(time()-LandTick < .3)then
  1710. Landed = true
  1711. end
  1712. if(hitfloor)then
  1713. InAir = false
  1714. else
  1715. InAir = true
  1716. end
  1717. local Walking = (math.abs(root.Velocity.x) > 1 or math.abs(root.Velocity.z) > 1)
  1718. local State = (hum.PlatformStand and 'Paralyzed' or hum.Sit and 'Sit' or Landed and 'Land' or not hitfloor and root.Velocity.y < -1 and "Fall" or not hitfloor and root.Velocity.y > 1 and "Jump" or hitfloor and Walking and "Walk" or hitfloor and "Idle")
  1719. local WALKSPEEDVALUE = 6 / (hum.WalkSpeed / 16)
  1720. if(State == 'Jump')then
  1721. hum.JumpPower = 55
  1722. if attack == false then
  1723. 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.1)
  1724. 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)
  1725. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -.2 - 0.1 * Cos(sine / 20), -.3* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.1)
  1726. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.1)
  1727. 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)
  1728. 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)
  1729. end
  1730. elseif(State == 'Fall')then
  1731. if attack == false then
  1732. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(25), Rad(0), Rad(0)), 0.1)
  1733. 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)
  1734. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(25), Rad(0), Rad(0)), 0.1)
  1735. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(25), Rad(0), Rad(0)), 0.1)
  1736. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(165), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
  1737. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(165), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
  1738. end
  1739. elseif(State == 'Land')then
  1740. hum.JumpPower = 0
  1741. if attack == false then
  1742. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  1743. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(35 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1744. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, 0.1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(-3.5), Rad(0), Rad(5)), 0.15)
  1745. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, 0.1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(-3.5), Rad(0), Rad(-5)), 0.15)
  1746. 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(0), Rad(25 + 4.5 * Sin(sine / 20))), 0.1)
  1747. 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(0), Rad(-25 - 4.5 * Sin(sine / 20))), 0.1)
  1748. end
  1749. elseif(State == 'Idle')then
  1750. change = 0.90
  1751. if attack == false then
  1752. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 24) * Player_Size) * angles(Rad(0 - 4 * Sin(sine / 24)), Rad(0 + 1 * Cos(sine / 24)), Rad(-10)), 0.1)
  1753. neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(7 - 2 * Sin(sine / 20)), Rad(0), Rad(10)), 0.1)
  1754. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 * Player_Size - 0.1 * Cos(sine / 24) - Rad(0 + 1 * Cos(sine / 24)) * Player_Size, 0* Player_Size) * angles(Rad(0 - 6 * Sin(sine / 24)), Rad(0 + 1 * Cos(sine / 24)), Rad(0)) * angles(Rad(0 + 1 * Cos(sine / 24)), Rad(0), Rad(5)), 0.1)
  1755. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 * Player_Size - 0.1 * Cos(sine / 24) + Rad(0 + 1 * Cos(sine / 24)) * Player_Size, 0* Player_Size) * angles(Rad(0 - 6 * Sin(sine / 24)), Rad(-0 + 1 * Cos(sine / 24)), Rad(0)) * angles(Rad(0 - 1 * Cos(sine / 24)), Rad(0), Rad(-5)), 0.1)
  1756. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(70), Rad(0 + 5 * Sin(sine / 20)), Rad(-30 + 5 * Sin(sine / 20))), 0.1)
  1757. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(10 - 5 * Sin(sine / 20))), 0.1)
  1758. end
  1759. elseif(State == 'Walk')then
  1760. change = 0.76
  1761. hum.JumpPower = 55
  1762. if attack == false then
  1763. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.3 - 0.15 * Cos(sine / (WALKSPEEDVALUE / 2))) * angles(Rad(10), Rad(0), Rad(0 - 0.75 * Cos(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / 75), 0.1)
  1764. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 + 5 * Sin(sine / (WALKSPEEDVALUE / 2))), Rad(0), Rad(0 - 0.75 * Cos(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / 13), 0.1)
  1765. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.8 - 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, 0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-10 - 25 * Sin(sine / WALKSPEEDVALUE)) - root.RotVelocity.Y / 75 + -Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
  1766. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.8 + 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, -0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-10 + 25 * Sin(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / -75 + Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
  1767. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / WALKSPEEDVALUE)* Player_Size, 0* Player_Size) * angles(Rad(70), Rad(0 + 5 * Sin(sine / WALKSPEEDVALUE)), Rad(-30 + 5 * Sin(sine / WALKSPEEDVALUE))), 0.1)
  1768. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / WALKSPEEDVALUE)* Player_Size, 0 + 0.5 * Sin(sine / WALKSPEEDVALUE)* Player_Size) * angles(Rad(-45 * Sin(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / 75, Rad(10 * Cos(sine / WALKSPEEDVALUE)), Rad(-10) + root.RotVelocity.Y / -75), 0.1)
  1769. elseif attack == true and movelegs == true then
  1770. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.8 - 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, 0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-10 - 25 * Sin(sine / WALKSPEEDVALUE)) - root.RotVelocity.Y / 75 + -Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
  1771. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.8 + 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, -0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-10 + 25 * Sin(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / -75 + Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
  1772. end
  1773. end
  1774. end
  1775. hum.Name = "HUM"
  1776. hum.WalkSpeed = Speed
  1777. Music.SoundId = "rbxassetid://"..SONG
  1778. Music.Looped = true
  1779. Music.Pitch = 1
  1780. Music.Volume = 1.5
  1781. Music.Parent = tors
  1782. Music.Playing = true
  1783. if 0 < #Effects then
  1784. for e = 1, #Effects do
  1785. if Effects[e] ~= nil then
  1786. local Thing = Effects[e]
  1787. if Thing ~= nil then
  1788. local Part = Thing[1]
  1789. local Mode = Thing[2]
  1790. local Delay = Thing[3]
  1791. local IncX = Thing[4]
  1792. local IncY = Thing[5]
  1793. local IncZ = Thing[6]
  1794. if 1 >= Thing[1].Transparency then
  1795. if Thing[2] == "Block1" then
  1796. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1797. local Mesh = Thing[1].Mesh
  1798. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1799. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1800. elseif Thing[2] == "Block2" then
  1801. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1802. local Mesh = Thing[7]
  1803. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1804. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1805. elseif Thing[2] == "Block3" then
  1806. 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)
  1807. local Mesh = Thing[7]
  1808. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1809. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1810. elseif Thing[2] == "Cylinder" then
  1811. local Mesh = Thing[1].Mesh
  1812. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1813. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1814. elseif Thing[2] == "Blood" then
  1815. local Mesh = Thing[7]
  1816. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1817. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1818. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1819. elseif Thing[2] == "Elec" then
  1820. local Mesh = Thing[1].Mesh
  1821. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1822. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1823. elseif Thing[2] == "Disappear" then
  1824. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1825. elseif Thing[2] == "Shatter" then
  1826. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1827. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1828. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1829. Thing[6] = Thing[6] + Thing[5]
  1830. end
  1831. else
  1832. Part.Parent = nil
  1833. table.remove(Effects, e)
  1834. end
  1835. end
  1836. end
  1837. end
  1838. end
  1839. end
  1840. -------------------------------------------------------
  1841. --End Animations And Script--
  1842. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement