Advertisement
Void_scripter0

Comfortabledatdm's Coffee

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