Advertisement
Void_scripter0

Coffee

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