Advertisement
zephpsian

Untitled

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