Advertisement
samuelrichter66

tea

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