Advertisement
PowerSans124

Hood

Jul 18th, 2018
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. wait(0.2)
  3.  
  4. Player = game:GetService("Players").LocalPlayer
  5. PlayerGui = Player.PlayerGui
  6. Cam = workspace.CurrentCamera
  7. Backpack = Player.Backpack
  8. Character = Player.Character
  9. Humanoid = Character.Humanoid
  10. Mouse = Player:GetMouse()
  11. RootPart = Character["HumanoidRootPart"]
  12. Torso = Character["Torso"]
  13. Head = Character["Head"]
  14. RightArm = Character["Right Arm"]
  15. LeftArm = Character["Left Arm"]
  16. RightLeg = Character["Right Leg"]
  17. LeftLeg = Character["Left Leg"]
  18. RootJoint = RootPart["RootJoint"]
  19. Neck = Torso["Neck"]
  20. RightShoulder = Torso["Right Shoulder"]
  21. LeftShoulder = Torso["Left Shoulder"]
  22. RightHip = Torso["Right Hip"]
  23. LeftHip = Torso["Left Hip"]
  24. local sick = Instance.new("Sound",Torso)
  25. sick.SoundId = "rbxassetid://0"
  26. sick.Looped = true
  27. sick.Pitch = 1
  28. sick.Volume = 1
  29. sick:Play()
  30. for i,v in pairs(Character:GetChildren()) do
  31. if v.ClassName == "CharacterMesh" then
  32. v:Destroy()
  33. end
  34. end
  35. for i,v in pairs(Character:GetChildren()) do
  36. if v.ClassName == "Hat" or v.ClassName == "Accessory" then
  37. v:Destroy()
  38. end
  39. end
  40.  
  41. IT = Instance.new
  42. CF = CFrame.new
  43. VT = Vector3.new
  44. RAD = math.rad
  45. C3 = Color3.new
  46. UD2 = UDim2.new
  47. BRICKC = BrickColor.new
  48. ANGLES = CFrame.Angles
  49. EULER = CFrame.fromEulerAnglesXYZ
  50. COS = math.cos
  51. ACOS = math.acos
  52. SIN = math.sin
  53. ASIN = math.asin
  54. ABS = math.abs
  55. MRANDOM = math.random
  56. FLOOR = math.floor
  57.  
  58. --//=================================\\
  59. --|| SOME FUNCTIONS
  60. --\\=================================//
  61.  
  62. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  63. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  64. end
  65.  
  66. function PositiveAngle(NUMBER)
  67. if NUMBER >= 0 then
  68. NUMBER = 0
  69. end
  70. return NUMBER
  71. end
  72.  
  73. function NegativeAngle(NUMBER)
  74. if NUMBER <= 0 then
  75. NUMBER = 0
  76. end
  77. return NUMBER
  78. end
  79.  
  80. function Swait(NUMBER)
  81. if NUMBER == 0 or NUMBER == nil then
  82. ArtificialHB.Event:wait()
  83. else
  84. for i = 1, NUMBER do
  85. ArtificialHB.Event:wait()
  86. end
  87. end
  88. end
  89.  
  90. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  91. local NEWMESH = IT(MESH)
  92. if MESH == "SpecialMesh" then
  93. NEWMESH.MeshType = MESHTYPE
  94. if MESHID ~= "nil" and MESHID ~= "" then
  95. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  96. end
  97. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  98. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  99. end
  100. end
  101. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  102. NEWMESH.Scale = SCALE
  103. NEWMESH.Parent = PARENT
  104. return NEWMESH
  105. end
  106.  
  107. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  108. local NEWPART = IT("Part")
  109. NEWPART.formFactor = FORMFACTOR
  110. NEWPART.Reflectance = REFLECTANCE
  111. NEWPART.Transparency = TRANSPARENCY
  112. NEWPART.CanCollide = false
  113. NEWPART.Locked = true
  114. NEWPART.Anchored = true
  115. if ANCHOR == false then
  116. NEWPART.Anchored = false
  117. end
  118. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  119. NEWPART.Name = NAME
  120. NEWPART.Size = SIZE
  121. NEWPART.Position = Torso.Position
  122. NEWPART.Material = MATERIAL
  123. NEWPART:BreakJoints()
  124. NEWPART.Parent = PARENT
  125. return NEWPART
  126. end
  127.  
  128. local function weldBetween(a, b)
  129. local weldd = Instance.new("ManualWeld")
  130. weldd.Part0 = a
  131. weldd.Part1 = b
  132. weldd.C0 = CFrame.new()
  133. weldd.C1 = b.CFrame:inverse() * a.CFrame
  134. weldd.Parent = a
  135. return weldd
  136. end
  137.  
  138.  
  139. function QuaternionFromCFrame(cf)
  140. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  141. local trace = m00 + m11 + m22
  142. if trace > 0 then
  143. local s = math.sqrt(1 + trace)
  144. local recip = 0.5 / s
  145. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  146. else
  147. local i = 0
  148. if m11 > m00 then
  149. i = 1
  150. end
  151. if m22 > (i == 0 and m00 or m11) then
  152. i = 2
  153. end
  154. if i == 0 then
  155. local s = math.sqrt(m00 - m11 - m22 + 1)
  156. local recip = 0.5 / s
  157. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  158. elseif i == 1 then
  159. local s = math.sqrt(m11 - m22 - m00 + 1)
  160. local recip = 0.5 / s
  161. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  162. elseif i == 2 then
  163. local s = math.sqrt(m22 - m00 - m11 + 1)
  164. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  165. end
  166. end
  167. end
  168.  
  169. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  170. local xs, ys, zs = x + x, y + y, z + z
  171. local wx, wy, wz = w * xs, w * ys, w * zs
  172. local xx = x * xs
  173. local xy = x * ys
  174. local xz = x * zs
  175. local yy = y * ys
  176. local yz = y * zs
  177. local zz = z * zs
  178. 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))
  179. end
  180.  
  181. function QuaternionSlerp(a, b, t)
  182. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  183. local startInterp, finishInterp;
  184. if cosTheta >= 0.0001 then
  185. if (1 - cosTheta) > 0.0001 then
  186. local theta = ACOS(cosTheta)
  187. local invSinTheta = 1 / SIN(theta)
  188. startInterp = SIN((1 - t) * theta) * invSinTheta
  189. finishInterp = SIN(t * theta) * invSinTheta
  190. else
  191. startInterp = 1 - t
  192. finishInterp = t
  193. end
  194. else
  195. if (1 + cosTheta) > 0.0001 then
  196. local theta = ACOS(-cosTheta)
  197. local invSinTheta = 1 / SIN(theta)
  198. startInterp = SIN((t - 1) * theta) * invSinTheta
  199. finishInterp = SIN(t * theta) * invSinTheta
  200. else
  201. startInterp = t - 1
  202. finishInterp = t
  203. end
  204. end
  205. 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
  206. end
  207.  
  208. function Clerp(a, b, t)
  209. local qa = {QuaternionFromCFrame(a)}
  210. local qb = {QuaternionFromCFrame(b)}
  211. local ax, ay, az = a.x, a.y, a.z
  212. local bx, by, bz = b.x, b.y, b.z
  213. local _t = 1 - t
  214. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  215. end
  216.  
  217. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  218. local frame = IT("Frame")
  219. frame.BackgroundTransparency = TRANSPARENCY
  220. frame.BorderSizePixel = BORDERSIZEPIXEL
  221. frame.Position = POSITION
  222. frame.Size = SIZE
  223. frame.BackgroundColor3 = COLOR
  224. frame.BorderColor3 = BORDERCOLOR
  225. frame.Name = NAME
  226. frame.Parent = PARENT
  227. return frame
  228. end
  229.  
  230. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  231. local label = IT("TextLabel")
  232. label.BackgroundTransparency = 1
  233. label.Size = UD2(1, 0, 1, 0)
  234. label.Position = UD2(0, 0, 0, 0)
  235. label.TextColor3 = TEXTCOLOR
  236. label.TextStrokeTransparency = STROKETRANSPARENCY
  237. label.TextTransparency = TRANSPARENCY
  238. label.FontSize = TEXTFONTSIZE
  239. label.Font = TEXTFONT
  240. label.BorderSizePixel = BORDERSIZEPIXEL
  241. label.TextScaled = false
  242. label.Text = TEXT
  243. label.Name = NAME
  244. label.Parent = PARENT
  245. return label
  246. end
  247.  
  248. function NoOutlines(PART)
  249. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  250. end
  251.  
  252. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  253. local NEWWELD = IT(TYPE)
  254. NEWWELD.Part0 = PART0
  255. NEWWELD.Part1 = PART1
  256. NEWWELD.C0 = C0
  257. NEWWELD.C1 = C1
  258. NEWWELD.Parent = PARENT
  259. return NEWWELD
  260. end
  261.  
  262. local S = IT("Sound")
  263. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  264. local NEWSOUND = nil
  265. coroutine.resume(coroutine.create(function()
  266. NEWSOUND = S:Clone()
  267. NEWSOUND.Parent = PARENT
  268. NEWSOUND.Volume = VOLUME
  269. NEWSOUND.Pitch = PITCH
  270. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  271. NEWSOUND:play()
  272. if DOESLOOP == true then
  273. NEWSOUND.Looped = true
  274. else
  275. repeat wait(1) until NEWSOUND.Playing == false
  276. NEWSOUND:remove()
  277. end
  278. end))
  279. return NEWSOUND
  280. end
  281.  
  282. function CFrameFromTopBack(at, top, back)
  283. local right = top:Cross(back)
  284. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  285. end
  286.  
  287. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  288. function WACKYEFFECT(Table)
  289. local TYPE = (Table.EffectType or "Sphere")
  290. local SIZE = (Table.Size or VT(1,1,1))
  291. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  292. local TRANSPARENCY = (Table.Transparency or 0)
  293. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  294. local CFRAME = (Table.CFrame or Torso.CFrame)
  295. local MOVEDIRECTION = (Table.MoveToPos or nil)
  296. local ROTATION1 = (Table.RotationX or 0)
  297. local ROTATION2 = (Table.RotationY or 0)
  298. local ROTATION3 = (Table.RotationZ or 0)
  299. local MATERIAL = (Table.Material or "Neon")
  300. local COLOR = (Table.Color or C3(1,1,1))
  301. local TIME = (Table.Time or 45)
  302. local SOUNDID = (Table.SoundID or nil)
  303. local SOUNDPITCH = (Table.SoundPitch or nil)
  304. local SOUNDVOLUME = (Table.SoundVolume or nil)
  305. coroutine.resume(coroutine.create(function()
  306. local PLAYSSOUND = false
  307. local SOUND = nil
  308. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  309. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  310. PLAYSSOUND = true
  311. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  312. end
  313. EFFECT.Color = COLOR
  314. local MSH = nil
  315. if TYPE == "Sphere" then
  316. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  317. elseif TYPE == "Block" then
  318. MSH = IT("BlockMesh",EFFECT)
  319. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  320. elseif TYPE == "Wave" then
  321. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  322. elseif TYPE == "Ring" then
  323. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  324. elseif TYPE == "Slash" then
  325. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  326. elseif TYPE == "Round Slash" then
  327. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  328. elseif TYPE == "Swirl" then
  329. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  330. elseif TYPE == "Skull" then
  331. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  332. elseif TYPE == "Crystal" then
  333. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  334. end
  335. if MSH ~= nil then
  336. local MOVESPEED = nil
  337. if MOVEDIRECTION ~= nil then
  338. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  339. end
  340. local GROWTH = SIZE - ENDSIZE
  341. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  342. if TYPE == "Block" then
  343. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  344. else
  345. EFFECT.CFrame = CFRAME
  346. end
  347. for LOOP = 1, TIME+1 do
  348. Swait()
  349. MSH.Scale = MSH.Scale - GROWTH/TIME
  350. if TYPE == "Wave" then
  351. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  352. end
  353. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  354. if TYPE == "Block" then
  355. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  356. else
  357. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  358. end
  359. if MOVEDIRECTION ~= nil then
  360. local ORI = EFFECT.Orientation
  361. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  362. EFFECT.Orientation = ORI
  363. end
  364. end
  365. if PLAYSSOUND == false then
  366. EFFECT:remove()
  367. else
  368. SOUND.Stopped:Connect(function()
  369. EFFECT:remove()
  370. end)
  371. end
  372. else
  373. if PLAYSSOUND == false then
  374. EFFECT:remove()
  375. else
  376. repeat Swait() until SOUND.Playing == false
  377. EFFECT:remove()
  378. end
  379. end
  380. end))
  381. end
  382.  
  383. function MakeForm(PART,TYPE)
  384. if TYPE == "Cyl" then
  385. local MSH = IT("CylinderMesh",PART)
  386. elseif TYPE == "Ball" then
  387. local MSH = IT("SpecialMesh",PART)
  388. MSH.MeshType = "Sphere"
  389. elseif TYPE == "Wedge" then
  390. local MSH = IT("SpecialMesh",PART)
  391. MSH.MeshType = "Wedge"
  392. end
  393. end
  394.  
  395. Debris = game:GetService("Debris")
  396.  
  397. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  398. local DIRECTION = CF(StartPos,EndPos).lookVector
  399. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  400. end
  401.  
  402. local EyeSizes={
  403. NumberSequenceKeypoint.new(0,1,0),
  404. NumberSequenceKeypoint.new(1,0,0)
  405. }
  406. local EyeTrans={
  407. NumberSequenceKeypoint.new(0,0.8,0),
  408. NumberSequenceKeypoint.new(1,1,0)
  409. }
  410. local PE=Instance.new("ParticleEmitter",nil)
  411. PE.LightEmission=.8
  412. PE.Color = ColorSequence.new(BRICKC("Really red").Color)
  413. PE.Size=NumberSequence.new(EyeSizes)
  414. PE.Transparency=NumberSequence.new(EyeTrans)
  415. PE.Lifetime=NumberRange.new(0.35,1.5)
  416. PE.Rotation=NumberRange.new(0,360)
  417. PE.Rate=999
  418. PE.VelocitySpread = 10000
  419. PE.Acceleration = Vector3.new(0,0,0)
  420. PE.Drag = 5
  421. PE.Speed = NumberRange.new(0,0,0)
  422. PE.Texture="http://www.roblox.com/asset/?id=1351966707"
  423. PE.ZOffset = -0
  424. PE.Name = "PE"
  425. PE.Enabled = false
  426.  
  427. function particles(art)
  428. local PARTICLES = PE:Clone()
  429. PARTICLES.Parent = art
  430. end
  431.  
  432. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  433. if FLOOR ~= nil then
  434. coroutine.resume(coroutine.create(function()
  435. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  436. PART.CFrame = CF(POSITION)
  437. for i = 1, 45 do
  438. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  439. RingPiece.Material = FLOOR.Material
  440. RingPiece.Color = FLOOR.Color
  441. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  442. Debris:AddItem(RingPiece,SWAIT)
  443. end
  444. PART:remove()
  445. end))
  446. end
  447. end
  448.  
  449. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  450. if FLOOR ~= nil then
  451. for i = 1, AMOUNT do
  452. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  453. DEBREE.Material = FLOOR.Material
  454. DEBREE.Color = FLOOR.Color
  455. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  456. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  457. coroutine.resume(coroutine.create(function()
  458. Swait(15)
  459. DEBREE.Parent = workspace
  460. DEBREE.CanCollide = true
  461. Debris:AddItem(DEBREE,SWAIT)
  462. end))
  463. end
  464. end
  465. end
  466.  
  467. --//=================================\\
  468. --|| WEAPON CREATION
  469. --\\=================================//
  470.  
  471. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
  472. PRT.Color = C3(0,0,0)
  473. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
  474. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
  475. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Scarf", VT(1,1,1),false)
  476. PRT.Color = C3(0,0,0)
  477. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
  478. CreateMesh("SpecialMesh", PRT, "FileMesh", "0", "", VT(1.1,1,1.1), VT(0,0,0))
  479. local LASTPART = Head
  480. for i = 1, 20 do
  481. local MATH = (1-(i/25))
  482. if LASTPART == Head then
  483. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  484. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  485. LASTPART = Horn
  486. Horn.Color = C3((i*3-3)/255,0,0)
  487. else
  488. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  489. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
  490. LASTPART = Horn
  491. Horn.Color = C3((i*3-3)/255,0,0)
  492. end
  493. end
  494. local LASTPART = Head
  495. for i = 1, 20 do
  496. local MATH = (1-(i/25))
  497. if LASTPART == Head then
  498. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  499. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
  500. LASTPART = Horn
  501. Horn.Color = C3((i*3-3)/255,0,0)
  502. else
  503. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  504. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0))
  505. LASTPART = Horn
  506. Horn.Color = C3((i*3-3)/255,0,0)
  507. end
  508. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement