Dark_EccentricYT

Untitled

May 30th, 2018
1,612
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.66 KB | None | 0 0
  1. Player=game:GetService("Players").LocalPlayer
  2. Character=Player.Character
  3. PlayerGui=Player.PlayerGui
  4. Backpack=Player.Backpack
  5. Torso=Character.Torso
  6. Head=Character.Head
  7. Humanoid=Character.Humanoid
  8. LeftArm=Character["Left Arm"]
  9. LeftLeg=Character["Left Leg"]
  10. RightArm=Character["Right Arm"]
  11. RightLeg=Character["Right Leg"]
  12. LS=Torso["Left Shoulder"]
  13. LH=Torso["Left Hip"]
  14. RS=Torso["Right Shoulder"]
  15. RH=Torso["Right Hip"]
  16. Face = Head.face
  17. Neck=Torso.Neck
  18. it=Instance.new
  19. attacktype=1
  20. vt=Vector3.new
  21. cf=CFrame.new
  22. euler=CFrame.fromEulerAnglesXYZ
  23. angles=CFrame.Angles
  24. cloaked=false
  25. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  26. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  27. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  28. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  29. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  30. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  31. RootPart=Character.HumanoidRootPart
  32. RootJoint=RootPart.RootJoint
  33. RootCF=euler(-1.57,0,3.14)
  34. attack = false
  35. attackdebounce = false
  36. deb=false
  37. equipped=true
  38. hand=false
  39. MMouse=nil
  40. combo=0
  41. mana=0
  42. trispeed=.2
  43. attackmode='none'
  44. local idle=0
  45. local Anim="Idle"
  46. local Effects={}
  47. local gun=false
  48. local shoot=false
  49. player=nil
  50. mana=0
  51. cam = workspace.CurrentCamera
  52. ZTarget = nil
  53. RocketTarget = nil
  54. local m = Instance.new("Model",Character)
  55. m.Name = "WeaponModel"
  56. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  57. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  58. local LHCF = (CFrame.fromEulerAnglesXYZ(0, -1.6, 0))
  59. Humanoid.Animator:Destroy()
  60. Character.Animate:Destroy()
  61.  
  62. mouse=Player:GetMouse()
  63. --save shoulders
  64. RSH, LSH=nil, nil
  65. --welds
  66. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  67. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  68. LH=Torso["Left Hip"]
  69. RH=Torso["Right Hip"]
  70. TorsoColor=Torso.BrickColor
  71. function NoOutline(Part)
  72. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  73. end
  74. player=Player
  75. ch=Character
  76. RSH=ch.Torso["Right Shoulder"]
  77. LSH=ch.Torso["Left Shoulder"]
  78. --
  79. RSH.Parent=nil
  80. LSH.Parent=nil
  81. --
  82. RW.Name="Right Shoulder"
  83. RW.Part0=ch.Torso
  84. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  85. RW.C1=cf(0, 0.5, 0)
  86. RW.Part1=ch["Right Arm"]
  87. RW.Parent=ch.Torso
  88. --
  89. LW.Name="Left Shoulder"
  90. LW.Part0=ch.Torso
  91. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  92. LW.C1=cf(0, 0.5, 0)
  93. LW.Part1=ch["Left Arm"]
  94. LW.Parent=ch.Torso
  95.  
  96.  
  97. local RbxUtility = LoadLibrary("RbxUtility")
  98. local Create = RbxUtility.Create
  99.  
  100. ArtificialHB = Instance.new("BindableEvent", Player.PlayerGui)
  101. ArtificialHB.Name = "Heartbeat"
  102. Player.PlayerGui:WaitForChild("Heartbeat")
  103. frame = 0.033333333333333
  104. tf = 0
  105. allowframeloss = false
  106. tossremainder = false
  107. lastframe = tick()
  108. Player.PlayerGui.Heartbeat:Fire()
  109. local gg = false
  110. game:GetService("RunService").Heartbeat:connect(function(s, p)
  111.  
  112. if Player.PlayerGui:FindFirstChild("Heartbeat") == nil then
  113. gg = true
  114. end
  115. if gg == true then
  116. return
  117. end
  118. tf = tf + s
  119. if frame <= tf then
  120. if allowframeloss then
  121. Player.PlayerGui.Heartbeat:Fire()
  122. lastframe = tick()
  123. else
  124. for i = 1, math.floor(tf / frame) do
  125. Player.PlayerGui.Heartbeat:Fire()
  126. end
  127. lastframe = tick()
  128. end
  129. if tossremainder then
  130. tf = 0
  131. else
  132. tf = tf - frame * math.floor(tf / frame)
  133. end
  134. end
  135. end
  136. )
  137. swait = function(num)
  138.  
  139. if num == 0 or num == nil then
  140. ArtificialHB.Event:wait()
  141. else
  142. for i = 0, num do
  143. ArtificialHB.Event:wait()
  144. end
  145. end
  146. end
  147. NoOutline = function(Part)
  148. Part.TopSurface = 10
  149. end
  150. part = function(formfactor, parent, reflectance, transparency, brickcolor, name, size)
  151. local fp = it("Part")
  152. fp.formFactor = formfactor
  153. fp.Parent = parent
  154. fp.Reflectance = reflectance
  155. fp.Transparency = transparency
  156. fp.CanCollide = false
  157. fp.Locked = true
  158. fp.BrickColor = brickcolor
  159. fp.Name = name
  160. fp.Size = size
  161. fp.Position = Torso.Position
  162. NoOutline(fp)
  163. fp.Material = "SmoothPlastic"
  164. fp:BreakJoints()
  165. return fp
  166. end
  167. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  168. local mesh = it(Mesh)
  169. mesh.Parent = part
  170. if Mesh == "SpecialMesh" then
  171. mesh.MeshType = meshtype
  172. if meshid ~= "nil" then
  173. mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid
  174. end
  175. end
  176. mesh.Offset = offset
  177. mesh.Scale = scale
  178. return mesh
  179. end
  180. weld = function(parent, part0, part1, c0)
  181. local weld = it("Motor")
  182. weld.Parent = parent
  183. weld.Part0 = part0
  184. weld.Part1 = part1
  185. weld.C0 = c0
  186. return weld
  187. end
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194. ---maek efokts hurrrrrLOOOL
  195.  
  196.  
  197. WaveEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  198.  
  199. local prt = part(3, Character, 0, 0, brickcolor, "Effect", vt())
  200. prt.Anchored = true
  201. prt.CFrame = cframe
  202. msh = mesh("SpecialMesh", prt, "FileMesh", "20329976", vt(0, 0, 0), vt(x1, y1, z1))
  203. game:GetService("Debris"):AddItem(prt, 2)
  204. coroutine.resume(coroutine.create(function(Part, Mesh)
  205.  
  206. for i = 0, 1, delay do
  207. swait()
  208. Part.CFrame = Part.CFrame * cf(0, y3 / 2, 0)
  209. Part.Transparency = i
  210. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  211. end
  212. Part.Parent = nil
  213. end
  214. ), prt, msh)
  215. end
  216.  
  217.  
  218.  
  219. so = function(id,par,vol,pit)
  220. coroutine.resume(coroutine.create(function()
  221. local sou = Instance.new("Sound",par or workspace)
  222. sou.Volume=vol
  223. sou.Pitch=pit or 1
  224. sou.SoundId=id
  225. wait()
  226. sou:play()
  227. game:GetService("Debris"):AddItem(sou,6)
  228. end))
  229. end
  230.  
  231. function clerp(a,b,t)
  232. return a:lerp(b,t)
  233. end
  234.  
  235. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  236. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  237. end
  238.  
  239. function attackone()
  240. attack = true
  241. for i = 0,1,0.1 do
  242. swait()
  243. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  244. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  245. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0),math.rad(0),math.rad(10)), 0.3)
  246. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0),math.rad(0),math.rad(-10)), 0.3)
  247. RH.C0=clerp(RH.C0,cf(1,-0.5,-1)*RHCF*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  248. LH.C0=clerp(LH.C0,cf(-1,-1,0)*LHCF*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  249. end
  250. WaveEffect(BrickColor.new('Royal purple'), cf(RightLeg.Position) * cf(0, -1, 0), 1, 0.4, 1, 0.8, 0, 0.8, 0.1)
  251. so("rbxassetid://541909913", RightLeg, 3, 1)
  252. for i = 0,1,0.1 do
  253. swait()
  254. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  255. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  256. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30),math.rad(0),math.rad(20)), 0.3)
  257. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30),math.rad(0),math.rad(-20)), 0.3)
  258. RH.C0=clerp(RH.C0,cf(1,-1,-1)*RHCF*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  259. LH.C0=clerp(LH.C0,cf(-1,-1,0)*LHCF*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  260. end
  261. attack = false
  262. end
  263.  
  264. function attacktwo()
  265. attack = true
  266. for i = 0,1,0.1 do
  267. swait()
  268. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
  269. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.3)
  270. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0),math.rad(110),math.rad(30)), 0.3)
  271. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0),math.rad(-30),math.rad(-100)), 0.3)
  272. RH.C0=clerp(RH.C0,cf(1,-1,0)*RHCF*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  273. LH.C0=clerp(LH.C0,cf(-1,-1,0)*LHCF*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  274. end
  275. for i = 0,1,0.1 do
  276. swait()
  277. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  278. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  279. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0),math.rad(0),math.rad(90)), 0.3)
  280. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0),math.rad(0),math.rad(0)), 0.3)
  281. RH.C0=clerp(RH.C0,cf(1,-1,0)*RHCF*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  282. LH.C0=clerp(LH.C0,cf(-1,-1,0)*LHCF*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  283. end
  284. attack = false
  285. end
  286.  
  287. function TEST_TEST()
  288. attack = true
  289. for i = 0, 1, 0.1 do
  290. swait()
  291. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0, 0.961833477, -0.00788648799, -0.27352196, 0.0523625501, 0.986416817, 0.155690223, 0.268578887, -0.164070383, 0.949181795), 0.3)
  292. Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(-0.00688448548, 1.51605177, -0.114893898, 0.954184473, -0.0946972966, 0.283838987, 0.0260075796, 0.971256316, 0.236610562, -0.298086852, -0.218388155, 0.929220438), 0.3)
  293. RW.C0 = clerp(RW.C0, CFrame.new(1.52784705, -0.00666735694, 0.0751213133, 0.954337537, 0.0342054293, -0.296765685, -0.00165810436, 0.994013786, 0.10923858, 0.298725665, -0.103758499, 0.948681593), 0.3)
  294. LW.C0 = clerp(LW.C0, CFrame.new(-1.65858412, 0.279855609, 0.138465181, -0.467972785, 0.634874582, 0.614764869, 0.487056375, -0.395170778, 0.778855443, 0.737412691, 0.663908362, -0.124290556), 0.3)
  295. RH.C0 = clerp(RH.C0, CFrame.new(0.43218857, -1.95232046, -0.147927433, 0.969767928, 0.00492880493, -0.243979692, -0.00197404251, 0.99992156, 0.0123538077, 0.244021446, -0.0114987046, 0.969701529), 0.3)
  296. LH.C0 = clerp(LH.C0, CFrame.new(-0.612137794, -2.06104279, -0.148482472, 0.970677614, 0.177090734, 0.16255492, -0.165461957, 0.982751429, -0.0825935081, -0.174377695, 0.0532749891, 0.983236551), 0.3)
  297. end
  298. for i = 0, 1, 0.1 do
  299. swait()
  300. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0, 0.995687187, -0.0635262504, 0.0676127002, 0.0523625501, 0.986416817, 0.155690223, -0.0765848011, -0.15147838, 0.98548907), 0.3)
  301. Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0.117683239, 1.51080942, -0.123570919, 0.964007199, -0.0818148404, 0.252975434, 0.0202799924, 0.971332371, 0.236858353, -0.26510185, -0.223202825, 0.938030601), 0.3)
  302. RW.C0 = clerp(RW.C0, CFrame.new(1.41027629, -0.0812128484, 0.586966157, 0.796212673, 0.123129472, -0.592355013, -0.0413837768, 0.987862349, 0.149715379, 0.603599668, -0.0946914554, 0.791644216), 0.3)
  303. LW.C0 = clerp(LW.C0, CFrame.new(-1.58970571, 0.366315603, -0.432485044, -0.697778463, 0.360251397, 0.619131863, 0.332571715, -0.602596223, 0.725447118, 0.634429932, 0.712107122, 0.300669193), 0.3)
  304. RH.C0 = clerp(RH.C0, CFrame.new(0.366373658, -1.96062434, -0.073182106, 0.829126179, 0.0648658425, -0.555285811, -0.0439591445, 0.997735023, 0.0509130061, 0.557330608, -0.0178034008, 0.830099642), 0.3)
  305. LH.C0 = clerp(LH.C0, CFrame.new(-0.641470313, -2.03103423, -0.328743041, 0.961717844, 0.203884661, -0.183112353, -0.218594894, 0.973721504, -0.0638933629, 0.165273502, 0.101474784, 0.981013477), 0.3)
  306. end
  307. attack = false
  308. end
  309.  
  310. mouse.Button1Down:connect(function()
  311. if attack == false and attacktype == 1 then
  312. attacktype = 2
  313. attackone()
  314. elseif attack == false and attacktype == 2 then
  315. attacktype = 1
  316. attacktwo()
  317. end
  318. end)
  319.  
  320. mouse.KeyDown:connect(function(k)
  321. k=k:lower()
  322. if attack == false and k == 'q' then
  323. TEST_TEST()
  324. end
  325. end)
  326.  
  327.  
  328. local sine = 0
  329. local change = 1
  330. local val = 0
  331.  
  332. z=Instance.new('Sound',Torso)
  333. z.Name="hi"
  334. z.SoundId="rbxassetid://605319592"
  335. z.Pitch=1
  336. z.Volume=3
  337. z.Looped=true
  338. z:Play()
  339.  
  340. while true do
  341. swait()
  342. sine = sine + change
  343. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  344. local velderp=RootPart.Velocity.y
  345. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  346. if equipped==true or equipped==false then
  347. if attack==false then
  348. idle=idle+1
  349. else
  350. idle=0
  351. end
  352. if idle>=500 then
  353. if attack==false then
  354. end
  355. end
  356. if RootPart.Velocity.y > 1 and hitfloor==nil then
  357. Anim="Jump"
  358. if attack==false then
  359. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  360. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  361. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0),math.rad(0),math.rad(0)), 0.3)
  362. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0),math.rad(0),math.rad(0)), 0.3)
  363. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  364. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  365. end
  366. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  367. Anim="Fall"
  368. if attack==false then
  369. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  370. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  371. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0),math.rad(0),math.rad(0)), 0.3)
  372. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0),math.rad(0),math.rad(0)), 0.3)
  373. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  374. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  375. end
  376. elseif torvel<1 and hitfloor~=nil then
  377. Anim="Idle"
  378. change=1
  379. if attack==false then
  380. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0 - 0.1 * math.cos((sine) / 20))* angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  381. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  382. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(110),math.rad(0),math.rad(-20)), 0.3)
  383. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0),math.rad(-20),math.rad(-120)), 0.3)
  384. RH.C0=clerp(RH.C0,cf(1,-1 + 0.1 * math.cos((sine) / 20),-0.2)*RHCF*angles(math.rad(0),math.rad(-20),math.rad(0)),.3)
  385. LH.C0=clerp(LH.C0,cf(-1,-1 + 0.1 * math.cos((sine) / 20),-0.5)*LHCF*angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  386. end
  387. elseif torvel>2 and hitfloor~=nil then
  388. Anim="Walk"
  389. if attack==false then
  390. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0 - 0.1 * math.cos((sine) / 20))* angles(math.rad(10),math.rad(0),math.rad(-60)),.3)
  391. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(-10),math.rad(60)),.3)
  392. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(120),math.rad(0),math.rad(-30)), 0.3)
  393. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0),math.rad(-30),math.rad(-130)), 0.3)
  394. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos((sine) / 20), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0 - 50 * math.cos((sine) / 3))), 0.3)
  395. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.1 * math.cos((sine) / 20), 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0 - 50 * math.cos((sine) / 3))), 0.3)
  396. end
  397. end
  398. end
  399. if #Effects>0 then
  400. for e=1,#Effects do
  401. if Effects[e]~=nil then
  402. local Thing=Effects[e]
  403. if Thing~=nil then
  404. local Part=Thing[1]
  405. local Mode=Thing[2]
  406. local Delay=Thing[3]
  407. local IncX=Thing[4]
  408. local IncY=Thing[5]
  409. local IncZ=Thing[6]
  410. if Thing[1].Transparency<=1 then
  411. if Thing[2]=="Block1" then
  412. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  413. Mesh=Thing[1].Mesh
  414. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  415. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  416. elseif Thing[2]=="Cylinder" then
  417. Mesh=Thing[1].Mesh
  418. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  419. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  420. elseif Thing[2]=="Blood" then
  421. Mesh=Thing[7]
  422. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  423. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  424. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  425. elseif Thing[2]=="Elec" then
  426. Mesh=Thing[1].Mesh
  427. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  428. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  429. elseif Thing[2]=="Disappear" then
  430. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  431. end
  432. else
  433. Part.Parent=nil
  434. table.remove(Effects,e)
  435. end
  436. end
  437. end
  438. end
  439. end
  440. end
Add Comment
Please, Sign In to add comment