Advertisement
GodOfDuckz

SAD

Mar 22nd, 2018
3,539
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.25 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER, EDIT BY PSYCHO PLAYS
  3. --\\====================================================//--
  4.  
  5.  
  6.  
  7. wait(0.2)
  8.  
  9. warn'edit by boss_kiddos abye'
  10.  
  11.  
  12.  
  13. Player = game:GetService("Players").LocalPlayer
  14. PlayerGui = Player.PlayerGui
  15. Cam = workspace.CurrentCamera
  16. Backpack = Player.Backpack
  17. Character = Player.Character
  18. Humanoid = Character.Humanoid
  19. Mouse = Player:GetMouse()
  20. RootPart = Character["HumanoidRootPart"]
  21. Torso = Character["Torso"]
  22. Head = Character["Head"]
  23. RightArm = Character["Right Arm"]
  24. LeftArm = Character["Left Arm"]
  25. RightLeg = Character["Right Leg"]
  26. LeftLeg = Character["Left Leg"]
  27. RootJoint = RootPart["RootJoint"]
  28. Neck = Torso["Neck"]
  29. RightShoulder = Torso["Right Shoulder"]
  30. LeftShoulder = Torso["Left Shoulder"]
  31. RightHip = Torso["Right Hip"]
  32. LeftHip = Torso["Left Hip"]
  33. local sick = Instance.new("Sound",Character)
  34. sick.SoundId = "rbxassetid://142748120"
  35. sick.Looped = true
  36. sick.Pitch = 1
  37. sick.Volume = 5
  38. sick:Play()
  39. Humanoid.DisplayDistanceType = "None"
  40.  
  41. local naeeym2 = Instance.new("BillboardGui",Character)
  42. naeeym2.AlwaysOnTop = true
  43. naeeym2.Size = UDim2.new(5,35,2,35)
  44. naeeym2.StudsOffset = Vector3.new(0,1,0)
  45. naeeym2.Adornee = Character.Head
  46. naeeym2.Name = "Name"
  47. naeeym2.PlayerToHideFrom = Player
  48. local tecks2 = Instance.new("TextLabel",naeeym2)
  49. tecks2.BackgroundTransparency = 1
  50. tecks2.TextScaled = true
  51. tecks2.BorderSizePixel = 0
  52. tecks2.Text = "SAD"
  53. tecks2.Font = "Bodoni"
  54. tecks2.TextSize = 30
  55. tecks2.TextStrokeTransparency = 0.5
  56. tecks2.TextColor3 = Color3.new(23,0,0)
  57. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  58. tecks2.Size = UDim2.new(1,0,0.5,0)
  59. tecks2.Parent = naeeym2
  60.  
  61. IT = Instance.new
  62. CF = CFrame.new
  63. VT = Vector3.new
  64. RAD = math.rad
  65. C3 = Color3.new
  66. UD2 = UDim2.new
  67. BRICKC = BrickColor.new
  68. ANGLES = CFrame.Angles
  69. EULER = CFrame.fromEulerAnglesXYZ
  70. COS = math.cos
  71. ACOS = math.acos
  72. SIN = math.sin
  73. ASIN = math.asin
  74. ABS = math.abs
  75. MRANDOM = math.random
  76. FLOOR = math.floor
  77.  
  78. local sound = IT("Sound")
  79.  
  80. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  81. local NEWMESH = IT(MESH)
  82. if MESH == "SpecialMesh" then
  83. NEWMESH.MeshType = MESHTYPE
  84. if MESHID ~= "nil" and MESHID ~= "" then
  85. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  86. end
  87. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  88. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  89. end
  90. end
  91. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  92. NEWMESH.Scale = SCALE
  93. NEWMESH.Parent = PARENT
  94. return NEWMESH
  95. end
  96.  
  97. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE)
  98. local NEWPART = IT("Part")
  99. NEWPART.formFactor = FORMFACTOR
  100. NEWPART.Reflectance = REFLECTANCE
  101. NEWPART.Transparency = TRANSPARENCY
  102. NEWPART.CanCollide = false
  103. NEWPART.Locked = true
  104. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  105. NEWPART.Name = NAME
  106. NEWPART.Size = SIZE
  107. NEWPART.Position = Torso.Position
  108. NEWPART.Material = MATERIAL
  109. NEWPART:BreakJoints()
  110. NEWPART.Parent = PARENT
  111. return NEWPART
  112. end
  113.  
  114. local EyeSizes={
  115. NumberSequenceKeypoint.new(0,1,0),
  116. NumberSequenceKeypoint.new(1,0.2,0)
  117. }
  118. local EyeTrans={
  119. NumberSequenceKeypoint.new(0,0.8,0),
  120. NumberSequenceKeypoint.new(1,1,0)
  121. }
  122. local PE=Instance.new("ParticleEmitter")
  123. PE.LightEmission=0
  124. PE.Size=NumberSequence.new(EyeSizes)
  125. PE.Transparency=NumberSequence.new(EyeTrans)
  126. PE.Lifetime=NumberRange.new(0.35,0.35,0.35)
  127. PE.Rotation=NumberRange.new(0,360)
  128. PE.Rate=15
  129. PE.Acceleration = Vector3.new(0,75,0)
  130. PE.Drag = 5
  131. PE.Enabled = false
  132. PE.Speed = NumberRange.new(0,0,0)
  133. PE.Texture="http://www.roblox.com/asset/?id=1179557490"
  134. PE.ZOffset = 0
  135. PE.Name = "Inferno"
  136.  
  137. function particles(art)
  138. local particle = PE:Clone()
  139. particle.Parent = art
  140. particle.Enabled = true
  141. end
  142.  
  143. --//=================================\\
  144. --|| CUSTOMIZATION
  145. --\\=================================//
  146.  
  147. Class_Name = "SAD"
  148. Weapon_Name = "Add-ons"
  149.  
  150. Custom_Colors = {
  151. Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
  152. Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
  153.  
  154. Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  155. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  156. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  157. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  158. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  159.  
  160. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  161. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  162. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  163. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  164. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  165. }
  166.  
  167.  
  168. Player_Size = 1 --Size of the player.
  169. Animation_Speed = 3
  170. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  171.  
  172. local Speed = 16
  173. local Effects2 = {}
  174.  
  175. --//=================================\\
  176. --|| END OF CUSTOMIZATION
  177. --\\=================================//
  178.  
  179. local function weldBetween(a, b)
  180. local weldd = Instance.new("ManualWeld")
  181. weldd.Part0 = a
  182. weldd.Part1 = b
  183. weldd.C0 = CFrame.new()
  184. weldd.C1 = b.CFrame:inverse() * a.CFrame
  185. weldd.Parent = a
  186. return weldd
  187. end
  188.  
  189. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  190. local acs = Instance.new("Part")
  191. acs.CanCollide = false
  192. acs.Anchored = false
  193. acs.Size = Vector3.new(0,0,0)
  194. acs.CFrame = attachmentpart.CFrame
  195. acs.Parent = Character
  196. acs.BrickColor = color
  197. local meshs = Instance.new("SpecialMesh")
  198. meshs.MeshId = mesh
  199. meshs.TextureId = texture
  200. meshs.Parent = acs
  201. meshs.Scale = scale
  202. meshs.Offset = offset
  203. weldBetween(attachmentpart,acs)
  204. end
  205.  
  206. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  207. if TYPE == "Gem" then
  208. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  209. acs.Anchored = false
  210. acs.CanCollide = false
  211. acs.CFrame = PART.CFrame
  212. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  213. weldBetween(PART,acs)
  214. elseif TYPE == "Skull" then
  215. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  216. acs.Anchored = false
  217. acs.CanCollide = false
  218. acs.CFrame = PART.CFrame
  219. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  220. weldBetween(PART,acs)
  221. elseif TYPE == "Eye" then
  222. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  223. acs.Anchored = false
  224. acs.CanCollide = false
  225. acs.CFrame = PART.CFrame
  226. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  227. weldBetween(PART,acs)
  228. end
  229. end
  230.  
  231. --//=================================\\
  232. --|| USEFUL VALUES
  233. --\\=================================//
  234.  
  235. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  236. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  237. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  238. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  239. local CO1 = 0
  240. local CO2 = 0
  241. local CO3 = 0
  242. local CO4 = 0
  243. local CHANGEDEFENSE = 0
  244. local CHANGEDAMAGE = 0
  245. local CHANGEMOVEMENT = 0
  246. local ANIM = "Idle"
  247. local ATTACK = false
  248. local EQUIPPED = false
  249. local HOLD = false
  250. local COMBO = 1
  251. local LASTPOINT = nil
  252. local BLCF = nil
  253. local SCFR = nil
  254. local STAGGERHITANIM = false
  255. local STAGGERANIM = false
  256. local STUNANIM = false
  257. local CRITCHANCENUMBER = 0
  258. local IDLENUMBER = 0
  259. local DONUMBER = 0
  260. local HANDIDLE = false
  261. local SINE = 0
  262. local CHANGE = 2 / Animation_Speed
  263. local WALKINGANIM = false
  264. local WALK = 0
  265. local DISABLEJUMPING = false
  266. local HASBEENBLOCKED = false
  267. local STUNDELAYNUMBER = 0
  268. local MANADELAYNUMBER = 0
  269. local OTHERWORLD = false
  270. local SECONDARYMANADELAYNUMBER = 0
  271. local ROBLOXIDLEANIMATION = IT("Animation")
  272. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  273. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=1531934905"
  274. --ROBLOXIDLEANIMATION.Parent = Humanoid
  275. local WEAPONGUI = IT("ScreenGui", nil)
  276. WEAPONGUI.Name = "Weapon GUI"
  277. local WEAPONTOOL = IT("HopperBin", nil)
  278. WEAPONTOOL.Name = Weapon_Name
  279. local Weapon = IT("Model")
  280. Weapon.Name = Weapon_Name
  281. local Effects = IT("Folder", Weapon)
  282. Effects.Name = "Effects"
  283. local ANIMATOR = Humanoid.Animator
  284. local ANIMATE = Character.Animate
  285. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  286. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  287. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  288. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  289. local UNANCHOR = true
  290.  
  291. --//=================================\\
  292. --\\=================================//
  293.  
  294.  
  295.  
  296.  
  297. --//=================================\\
  298. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  299. --\\=================================//
  300.  
  301. ArtificialHB = Instance.new("BindableEvent", script)
  302. ArtificialHB.Name = "ArtificialHB"
  303.  
  304. script:WaitForChild("ArtificialHB")
  305.  
  306. frame = Frame_Speed
  307. tf = 0
  308. allowframeloss = false
  309. tossremainder = false
  310. lastframe = tick()
  311. script.ArtificialHB:Fire()
  312.  
  313. game:GetService("RunService").Heartbeat:connect(function(s, p)
  314. tf = tf + s
  315. if tf >= frame then
  316. if allowframeloss then
  317. script.ArtificialHB:Fire()
  318. lastframe = tick()
  319. else
  320. for i = 1, math.floor(tf / frame) do
  321. script.ArtificialHB:Fire()
  322. end
  323. lastframe = tick()
  324. end
  325. if tossremainder then
  326. tf = 0
  327. else
  328. tf = tf - frame * math.floor(tf / frame)
  329. end
  330. end
  331. end)
  332.  
  333. --//=================================\\
  334. --\\=================================//
  335.  
  336.  
  337.  
  338.  
  339.  
  340. --//=================================\\
  341. --|| SOME FUNCTIONS
  342. --\\=================================//
  343.  
  344. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  345. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  346. end
  347.  
  348. function PositiveAngle(NUMBER)
  349. if NUMBER >= 0 then
  350. NUMBER = 0
  351. end
  352. return NUMBER
  353. end
  354.  
  355. function NegativeAngle(NUMBER)
  356. if NUMBER <= 0 then
  357. NUMBER = 0
  358. end
  359. return NUMBER
  360. end
  361.  
  362. function Swait(NUMBER)
  363. if NUMBER == 0 or NUMBER == nil then
  364. ArtificialHB.Event:wait()
  365. else
  366. for i = 1, NUMBER do
  367. ArtificialHB.Event:wait()
  368. end
  369. end
  370. end
  371.  
  372. function QuaternionFromCFrame(cf)
  373. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  374. local trace = m00 + m11 + m22
  375. if trace > 0 then
  376. local s = math.sqrt(1 + trace)
  377. local recip = 0.5 / s
  378. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  379. else
  380. local i = 0
  381. if m11 > m00 then
  382. i = 1
  383. end
  384. if m22 > (i == 0 and m00 or m11) then
  385. i = 2
  386. end
  387. if i == 0 then
  388. local s = math.sqrt(m00 - m11 - m22 + 1)
  389. local recip = 0.5 / s
  390. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  391. elseif i == 1 then
  392. local s = math.sqrt(m11 - m22 - m00 + 1)
  393. local recip = 0.5 / s
  394. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  395. elseif i == 2 then
  396. local s = math.sqrt(m22 - m00 - m11 + 1)
  397. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  398. end
  399. end
  400. end
  401.  
  402. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  403. local xs, ys, zs = x + x, y + y, z + z
  404. local wx, wy, wz = w * xs, w * ys, w * zs
  405. local xx = x * xs
  406. local xy = x * ys
  407. local xz = x * zs
  408. local yy = y * ys
  409. local yz = y * zs
  410. local zz = z * zs
  411. 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))
  412. end
  413.  
  414. function QuaternionSlerp(a, b, t)
  415. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  416. local startInterp, finishInterp;
  417. if cosTheta >= 0.0001 then
  418. if (1 - cosTheta) > 0.0001 then
  419. local theta = ACOS(cosTheta)
  420. local invSinTheta = 1 / SIN(theta)
  421. startInterp = SIN((1 - t) * theta) * invSinTheta
  422. finishInterp = SIN(t * theta) * invSinTheta
  423. else
  424. startInterp = 1 - t
  425. finishInterp = t
  426. end
  427. else
  428. if (1 + cosTheta) > 0.0001 then
  429. local theta = ACOS(-cosTheta)
  430. local invSinTheta = 1 / SIN(theta)
  431. startInterp = SIN((t - 1) * theta) * invSinTheta
  432. finishInterp = SIN(t * theta) * invSinTheta
  433. else
  434. startInterp = t - 1
  435. finishInterp = t
  436. end
  437. end
  438. 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
  439. end
  440.  
  441. function Clerp(a, b, t)
  442. local qa = {QuaternionFromCFrame(a)}
  443. local qb = {QuaternionFromCFrame(b)}
  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.  
  450.  
  451. function CreateSound(ID, PARENT, VOLUME, PITCH)
  452. coroutine.resume(coroutine.create(function()
  453. local NEWSOUND = IT("Sound", PARENT)
  454. NEWSOUND.Volume = VOLUME
  455. NEWSOUND.Pitch = PITCH
  456. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  457. Swait()
  458. NEWSOUND:play()
  459. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  460. end))
  461. end
  462.  
  463. local decal = IT("Decal")
  464.  
  465. function CreatePentagram(size,doesrotate,rotatedirection,waitt,cframe,offset,doeskill)
  466. local sinkhole = IT("Part",workspace)
  467. if doeskill == true then
  468. local hit = sinkhole.Touched:Connect(function(hit)
  469. if hit.Parent ~= Character and hit.Parent:FindFirstChild("Humanoid") then
  470. kill(hit.Parent,true)
  471. hit.Parent:remove()
  472. end
  473. end)
  474. end
  475. sinkhole.Size = VT(size,0,size)
  476. sinkhole.CFrame = cframe * CF(0,offset,0)
  477. sinkhole.Material = "Granite"
  478. sinkhole.Color = C3(1,0,0)
  479. sinkhole.Anchored = true
  480. sinkhole.CanCollide = false
  481. sinkhole.Transparency = 1
  482. local decal = decal:Clone()
  483. decal.Parent = sinkhole
  484. decal.Face = "Top"
  485. decal.Texture = "http://www.roblox.com/asset/?id=0"
  486. coroutine.resume(coroutine.create(function(PART)
  487. for i = 1, waitt do
  488. Swait()
  489. if doesrotate == true then
  490. sinkhole.CFrame = sinkhole.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  491. end
  492. if i > waitt-11 then
  493. decal.Transparency = decal.Transparency + 0.1
  494. end
  495. end
  496. sinkhole:remove()
  497. end))
  498. return sinkhole
  499. end
  500.  
  501. Weapon.Parent = Character
  502.  
  503. Humanoid.Died:connect(function()
  504. workspace:ClearAllChildren()
  505. end)
  506.  
  507. --//=================================\\
  508. --\\=================================//
  509.  
  510.  
  511. --//=================================\\
  512. --|| DAMAGING
  513. --\\=================================//
  514.  
  515. function kill(target,extratrue)
  516. if OTHERWORLD == false or extratrue == true then
  517. f = target:GetChildren()
  518. for i = 1, #f do
  519. if f[i].ClassName == "Part" or f[i].ClassName == "MeshPart" then
  520. local effect = f[i]:Clone()
  521. effect.Color = C3(1,1,1)
  522. effect.Material = "Granite"
  523. effect.Parent = workspace
  524. effect.Anchored = true
  525. effect.CanCollide = false
  526. local hit = effect.Touched:Connect(function(hit)
  527. if hit.Parent ~= Character and hit.Parent:FindFirstChild("Humanoid") then
  528. kill(hit.Parent)
  529. hit.Parent:remove()
  530. end
  531. end)
  532. m = effect:GetChildren()
  533. for j = 1, #m do
  534. if m[j].ClassName ~= "SpecialMesh" and m[j].ClassName ~= "BlockMesh" then
  535. m[j]:remove()
  536. end
  537. end
  538. table.insert(Effects2,{effect,"Disappear",0.01,1,1,1,15})
  539. end
  540. end
  541. target:remove()
  542. end
  543. end
  544.  
  545. --//=================================\\
  546. --|| ATTACK FUNCTIONS AND STUFF
  547. --\\=================================//
  548.  
  549. local hit = Torso.Touched:Connect(function(hit)
  550. if hit.Parent:FindFirstChild("Humanoid") then
  551. kill(hit.Parent)
  552. end
  553. end)
  554. local hit = RightArm.Touched:Connect(function(hit)
  555. if hit.Parent:FindFirstChild("Humanoid") then
  556. kill(hit.Parent)
  557. end
  558. end)
  559. local hit = LeftArm.Touched:Connect(function(hit)
  560. if hit.Parent:FindFirstChild("Humanoid") then
  561. kill(hit.Parent)
  562. end
  563. end)
  564. local hit = RightLeg.Touched:Connect(function(hit)
  565. if hit.Parent:FindFirstChild("Humanoid") then
  566. kill(hit.Parent)
  567. end
  568. end)
  569. local hit = LeftLeg.Touched:Connect(function(hit)
  570. if hit.Parent:FindFirstChild("Humanoid") then
  571. kill(hit.Parent)
  572. end
  573. end)
  574. local hit = Head.Touched:Connect(function(hit)
  575. if hit.Parent:FindFirstChild("Humanoid") then
  576. kill(hit.Parent)
  577. end
  578. end)
  579.  
  580. function Warp()
  581. ATTACK = true
  582. local originalcframe = RootPart.CFrame
  583. RootPart.CFrame = CF(VT(Mouse.Hit.p.X,Mouse.Hit.p.Y+(RootPart.Size.Y+1.5),Mouse.Hit.Z),originalcframe.p)
  584. if OTHERWORLD == false then
  585. local penta = CreatePentagram(15,false,0,100,CF(RootPart.Position),-3.2)
  586. CreateSound("971126018", penta, 2, 1)
  587. end
  588. ATTACK = false
  589. end
  590.  
  591. function burnchildren(v)
  592. local get = v:GetChildren()
  593. for i = 1, #get do
  594. local child = get[i]
  595. if child.ClassName == "Part" or child.ClassName == "MeshPart" then
  596. particles(child)
  597. child.Color = C3(0,0,0)
  598. elseif child.ClassName == "CharacterMesh" then
  599. child.OverlayTextureId = "99174105"
  600. elseif child.ClassName == "Hat" or child.ClassName == "Accessory" then
  601. child.Handle.Color = C3(0,0,0)
  602. child.Handle.Mesh.TextureId = ""
  603. particles(child.Handle)
  604. end
  605. end
  606. end
  607.  
  608. function dragnearest(position,range)
  609. for i,v in ipairs(workspace:GetChildren()) do
  610. if game.Players:FindFirstChild(v.Name) == nil then
  611. local body = v:GetChildren()
  612. for part = 1, #body do
  613. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  614. if(body[part].Position - position).Magnitude < range then
  615. v.Parent = Cam
  616. burnchildren(v)
  617. if v:FindFirstChild("Humanoid") then
  618. v.Humanoid:remove()
  619. end
  620. end
  621. end
  622. end
  623. if v.ClassName == "Part" then
  624. if v.Anchored == false and (v.Position - position).Magnitude < range then
  625. v.Parent = Cam
  626. particles(v)
  627. v.Color = C3(0,0,0)
  628. end
  629. end
  630. end
  631. end
  632. end
  633.  
  634. function Drag()
  635. local penta = CreatePentagram(25,true,0.3,100,CF(Mouse.Hit.p),0)
  636. CreateSound("971126018", penta, 2, 1, false)
  637. dragnearest(penta.Position,15)
  638. end
  639.  
  640. --//=================================\\
  641. --|| ASSIGN THINGS TO KEYS
  642. --\\=================================//
  643.  
  644. local light2 = nil
  645.  
  646. function MouseDown(Mouse)
  647. HOLD = true
  648. if OTHERWORLD then
  649. repeat
  650. Swait()
  651. CreatePentagram(15,false,0,12,CF(RootPart.Position),-2.8,true)
  652. until HOLD == false
  653. end
  654. end
  655.  
  656. function MouseUp(Mouse)
  657. HOLD = false
  658. end
  659.  
  660. function KeyDown(Key)
  661. if Key == "e" then
  662. Warp()
  663. end
  664. if Key == "h" then
  665. camchild = Cam:GetChildren()
  666. for child = 1, #camchild do
  667. if camchild[child] ~= Character and camchild[child].Name ~= "ColorCorrection" then
  668. camchild[child].Parent = workspace
  669. end
  670. end
  671. end
  672. if Key == "q" then
  673. Drag()
  674. end
  675. if Key == "r" and ATTACK == false then
  676. if OTHERWORLD == false then
  677. OTHERWORLD = true
  678. light2 = IT("ColorCorrectionEffect",Cam)
  679. light2.Brightness = -0.300
  680. light2.Contrast = 1
  681. light2.Saturation = -2
  682. local penta = CreatePentagram(25,false,0,50,CF(RootPart.Position),-2.8)
  683. CreateSound("971126018", penta, 2, 1.5)
  684. Character.Parent = Cam
  685. elseif OTHERWORLD == true then
  686. OTHERWORLD = false
  687. local penta = CreatePentagram(25,false,0,50,CF(RootPart.Position),-2.8)
  688. CreateSound("971126018", penta, 2, 1.5)
  689. light2:remove()
  690. Character.Parent = workspace
  691. end
  692. end
  693. if Key == "g" and OTHERWORLD == true and ATTACK == false then
  694. ATTACK = true
  695. local del = 35
  696. for i =1, 35 do
  697. Swait(del)
  698. del = del - 1
  699. local head = IT("Part",workspace)
  700. head.Size = VT(0.2,0.2,0.2)
  701. head.CFrame = Head.CFrame * CF(math.random(-700,700),0,math.random(-700,700))
  702. head.Transparency = 1
  703. head.CanCollide = false
  704. head.Anchored = true
  705. CreateSound("305685800", head, 10, 2)
  706. coroutine.resume(coroutine.create(function()
  707. for i = 1, 100 do
  708. Swait()
  709. end
  710. if head then
  711. head:remove()
  712. end
  713. end))
  714. end
  715. Swait(100)
  716. CreateSound("305685800", workspace, 10, 0.8)
  717. Swait(250)
  718. ATTACK = false
  719. end
  720. if Key == "t" and ATTACK == false then
  721. if OTHERWORLD == false then
  722. CreateSound("305685800", Head, 5, 2)
  723. elseif OTHERWORLD == true then
  724. local head = IT("Part",workspace)
  725. head.Size = VT(0.2,0.2,0.2)
  726. head.CFrame = Head.CFrame
  727. head.Transparency = 1
  728. head.CanCollide = false
  729. head.Anchored = true
  730. CreateSound("305685800", head, 5, 2)
  731. coroutine.resume(coroutine.create(function()
  732. for i = 1, 100 do
  733. Swait()
  734. if head then
  735. head.CFrame = Head.CFrame
  736. end
  737. end
  738. if head then
  739. head:remove()
  740. end
  741. end))
  742. end
  743. end
  744. end
  745.  
  746. function KeyUp(Key)
  747. end
  748.  
  749. Mouse.Button1Down:connect(function(NEWKEY)
  750. MouseDown(NEWKEY)
  751. end)
  752. Mouse.Button1Up:connect(function(NEWKEY)
  753. MouseUp(NEWKEY)
  754. end)
  755. Mouse.KeyDown:connect(function(NEWKEY)
  756. KeyDown(NEWKEY)
  757. end)
  758. Mouse.KeyUp:connect(function(NEWKEY)
  759. KeyUp(NEWKEY)
  760. end)
  761.  
  762. --//=================================\\
  763. --\\=================================//
  764.  
  765.  
  766. function unanchor()
  767. if UNANCHOR == true then
  768. g = Character:GetChildren()
  769. for i = 1, #g do
  770. if g[i].ClassName == "Part" then
  771. g[i].Anchored = false
  772. end
  773. end
  774. end
  775. end
  776.  
  777.  
  778. --//=================================\\
  779. --|| WRAP THE WHOLE SCRIPT UP
  780. --\\=================================//
  781.  
  782. while true do
  783. Swait()
  784.  
  785. if #Effects2>0 then
  786. for e=1,#Effects2 do
  787. if Effects2[e]~=nil then
  788. local Thing=Effects2[e]
  789. if Thing~=nil then
  790. local Part=Thing[1]
  791. local Mode=Thing[2]
  792. local Delay=Thing[3]
  793. local IncX=Thing[4]
  794. local IncY=Thing[5]
  795. local IncZ=Thing[6]
  796. local Part2=Thing[8]
  797. if Thing[1].Transparency<=1 then
  798. if Thing[2]=="Block1" then
  799. Thing[1].CFrame=Thing[1].CFrame
  800. Mesh=Thing[1].Mesh
  801. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  802. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  803. elseif Thing[2]=="Cylinder" then
  804. Mesh=Thing[1].Mesh
  805. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  806. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  807. elseif Thing[2]=="Blood" then
  808. Mesh=Thing[7]
  809. Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
  810. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  811. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  812. elseif Thing[2]=="Elec" then
  813. Mesh=Thing[1].Mesh
  814. Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
  815. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  816. elseif Thing[2]=="Disappear" then
  817. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  818. end
  819. else
  820. Part.Parent=nil
  821. table.remove(Effects2,e)
  822. end
  823. end
  824. end
  825. end
  826. end
  827. unanchor()
  828. Humanoid.MaxHealth = "inf"
  829. Humanoid.Health = "inf"
  830. q = Character:GetChildren()
  831. for u = 1, #q do
  832. if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
  833. q[u]:remove()
  834. elseif q[u].ClassName == "Shirt" then
  835. q[u]:Destroy()
  836. elseif q[u].ClassName == "Pants" then
  837. q[u]:Destroy()
  838. elseif q[u].ClassName == "CharacterMesh" then
  839. q[u]:remove()
  840. elseif q[u].ClassName == "ShirtGraphic" then
  841. q[u]:remove()
  842. elseif q[u].ClassName == "Part" and q[u].Name ~= "HumanoidRootPart" then
  843. q[u].Color = Color3.new(200/255, 200/255, 200/255)
  844. if OTHERWORLD == false then
  845. q[u].Transparency = 0
  846. Humanoid.WalkSpeed = 16
  847. sick.Parent = Character
  848. sick.Pitch = 0.8
  849. elseif OTHERWORLD == true then
  850. Humanoid.WalkSpeed = 75
  851. sick.Parent = workspace
  852. sick.Pitch = 0.3
  853. end
  854. end
  855. end
  856. if Head:FindFirstChild("Mesh") then
  857. local mesh = Head.Mesh
  858. if mesh.ClassName == "SpecialMesh" then
  859. mesh:remove()
  860. local m = IT("BlockMesh",Head)
  861. end
  862. end
  863. if Head:FindFirstChild("face") then
  864. if math.random(1,50) == 1 then
  865. Head.face.Texture = "rbxassetid://1471407701"
  866. tecks2.Text = "EVIL"
  867. else
  868. Head.face.Texture = "rbxassetid://595644042"
  869. tecks2.Text = "SAD"
  870. end
  871. end
  872. if sick == nil then
  873. local sick = Instance.new("Sound",Character)
  874. sick.SoundId = "rbxassetid://142748120"
  875. sick.Looped = true
  876. sick.Pitch = 0.9
  877. sick.Volume = 5
  878. sick:Play()
  879. end
  880. if OTHERWORLD == false then
  881. CreatePentagram(7,false,0,15,CF(RootPart.Position),-2.8,true)
  882. end
  883. end
  884.  
  885. --//=================================\\
  886. --\\=================================//
  887.  
  888.  
  889.  
  890.  
  891.  
  892. --//====================================================\\--
  893. --|| END OF SCRIPT
  894. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement