Tetezaza1542

???

Aug 25th, 2018
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 33.89 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  4. local RealPlayer = Player
  5. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  6. Player = game:GetService("Players").LocalPlayer
  7. PlayerGui = Player.PlayerGui
  8. Cam = workspace.CurrentCamera
  9. Backpack = Player.Backpack
  10. Character = Player.Character
  11. Humanoid = Character.Humanoid
  12. Mouse = Player:GetMouse()
  13. RootPart = Character["HumanoidRootPart"]
  14. Torso = Character["Torso"]
  15. Head = Character["Head"]
  16. RightArm = Character["Right Arm"]
  17. LeftArm = Character["Left Arm"]
  18. RightLeg = Character["Right Leg"]
  19. LeftLeg = Character["Left Leg"]
  20. RootJoint = RootPart["RootJoint"]
  21. Neck = Torso["Neck"]
  22. RightShoulder = Torso["Right Shoulder"]
  23. LeftShoulder = Torso["Left Shoulder"]
  24. RightHip = Torso["Right Hip"]
  25. LeftHip = Torso["Left Hip"]
  26. JointService = game:GetService("JointsService")
  27.  
  28. RootJoint.Parent = JointService
  29. Neck.Parent = JointService
  30. RightShoulder.Parent = JointService
  31. LeftShoulder.Parent = JointService
  32. RightHip.Parent = JointService
  33. LeftHip.Parent = JointService
  34.  
  35. IT = Instance.new
  36. CF = CFrame.new
  37. VT = Vector3.new
  38. RAD = math.rad
  39. C3 = Color3.new
  40. UD2 = UDim2.new
  41. BRICKC = BrickColor.new
  42. ANGLES = CFrame.Angles
  43. EULER = CFrame.fromEulerAnglesXYZ
  44. COS = math.cos
  45. ACOS = math.acos
  46. SIN = math.sin
  47. ASIN = math.asin
  48. ABS = math.abs
  49. MRANDOM = math.random
  50. FLOOR = math.floor
  51. HUGE = VT(math.huge,math.huge,math.huge)
  52.  
  53. local Animation_Speed = 3
  54. local SINE = 0
  55. local CHANGE = 1 / Animation_Speed
  56. local Attack = false
  57. local Equipped = false
  58. local Rooted = false
  59. local SecondForm = false
  60.  
  61. local Effects = IT("Folder",Character)
  62. Effects.Name = "Effects"
  63.  
  64. local MESH = Head:WaitForChild("Mesh")
  65. local FACE = Head:WaitForChild("face")
  66.  
  67. local Sick = IT("Sound",Character)
  68. Sick.SoundId = "rbxassetid://1703475948"
  69. Sick.Volume = math.huge
  70. Sick.Looped = true
  71. Sick.TimePosition = 2
  72. Sick.PlaybackSpeed = 0.8
  73. Sick:Play()
  74.  
  75. --//=================================\\
  76. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  77. --\\=================================//
  78.  
  79. ArtificialHB = Instance.new("BindableEvent", script)
  80. ArtificialHB.Name = "ArtificialHB"
  81.  
  82. script:WaitForChild("ArtificialHB")
  83.  
  84. frame = 1/60
  85. tf = 0
  86. allowframeloss = false
  87. tossremainder = false
  88. lastframe = tick()
  89. script.ArtificialHB:Fire()
  90.  
  91. game:GetService("RunService").Heartbeat:connect(function(s, p)
  92. tf = tf + s
  93. if tf >= frame then
  94. if allowframeloss then
  95. script.ArtificialHB:Fire()
  96. lastframe = tick()
  97. else
  98. for i = 1, math.floor(tf / frame) do
  99. script.ArtificialHB:Fire()
  100. end
  101. lastframe = tick()
  102. end
  103. if tossremainder then
  104. tf = 0
  105. else
  106. tf = tf - frame * math.floor(tf / frame)
  107. end
  108. end
  109. end)
  110.  
  111. --//=================================\\
  112. --\\=================================//
  113.  
  114. function Swait(NUMBER)
  115. if NUMBER == 0 or NUMBER == nil then
  116. ArtificialHB.Event:wait()
  117. else
  118. for i = 1, NUMBER do
  119. ArtificialHB.Event:wait()
  120. end
  121. end
  122.  
  123. return true
  124. end
  125.  
  126. function weldBetween(a, b)
  127. local weldd = Instance.new("ManualWeld")
  128. weldd.Part0 = a
  129. weldd.Part1 = b
  130. weldd.C0 = CFrame.new()
  131. weldd.C1 = b.CFrame:inverse() * a.CFrame
  132. weldd.Parent = a
  133. return weldd
  134. end
  135.  
  136. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  137. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  138. end
  139.  
  140. local S = IT("Sound")
  141. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  142. local NEWSOUND = nil
  143. coroutine.resume(coroutine.create(function()
  144. NEWSOUND = S:Clone()
  145. NEWSOUND.Parent = PARENT
  146. NEWSOUND.Volume = VOLUME
  147. NEWSOUND.Pitch = PITCH
  148. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  149. NEWSOUND:play()
  150. if DOESLOOP == true then
  151. NEWSOUND.Looped = true
  152. else
  153. repeat wait(1) until NEWSOUND.Playing == false
  154. NEWSOUND:remove()
  155. end
  156. end))
  157. return NEWSOUND
  158. end
  159.  
  160. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  161. local NEWPART = IT("Part")
  162. NEWPART.formFactor = FORMFACTOR
  163. NEWPART.Reflectance = REFLECTANCE
  164. NEWPART.Transparency = TRANSPARENCY
  165. NEWPART.CanCollide = false
  166. NEWPART.Locked = true
  167. NEWPART.Anchored = true
  168. if ANCHOR == false then
  169. NEWPART.Anchored = false
  170. end
  171. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  172. NEWPART.Name = NAME
  173. NEWPART.Size = SIZE
  174. NEWPART.Position = Torso.Position
  175. NEWPART.Material = MATERIAL
  176. NEWPART:BreakJoints()
  177. NEWPART.Parent = PARENT
  178. return NEWPART
  179. end
  180.  
  181. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  182. local NEWMESH = IT(MESH)
  183. if MESH == "SpecialMesh" then
  184. NEWMESH.MeshType = MESHTYPE
  185. if MESHID ~= "nil" and MESHID ~= "" then
  186. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  187. end
  188. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  189. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  190. end
  191. end
  192. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  193. NEWMESH.Scale = SCALE
  194. NEWMESH.Parent = PARENT
  195. return NEWMESH
  196. end
  197.  
  198. --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})
  199. function WACKYEFFECT(Table)
  200. local TYPE = (Table.EffectType or "Sphere")
  201. local SIZE = (Table.Size or VT(1,1,1))
  202. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  203. local TRANSPARENCY = (Table.Transparency or 0)
  204. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  205. local CFRAME = (Table.CFrame or Torso.CFrame)
  206. local MOVEDIRECTION = (Table.MoveToPos or nil)
  207. local ROTATION1 = (Table.RotationX or 0)
  208. local ROTATION2 = (Table.RotationY or 0)
  209. local ROTATION3 = (Table.RotationZ or 0)
  210. local MATERIAL = (Table.Material or "Neon")
  211. local COLOR = (Table.Color or C3(1,1,1))
  212. local TIME = (Table.Time or 45)
  213. local SOUNDID = (Table.SoundID or nil)
  214. local SOUNDPITCH = (Table.SoundPitch or nil)
  215. local SOUNDVOLUME = (Table.SoundVolume or nil)
  216. coroutine.resume(coroutine.create(function()
  217. local PLAYSSOUND = false
  218. local SOUND = nil
  219. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  220. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  221. PLAYSSOUND = true
  222. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  223. end
  224. EFFECT.Color = COLOR
  225. local MSH = nil
  226. if TYPE == "Sphere" then
  227. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  228. elseif TYPE == "Block" then
  229. MSH = IT("BlockMesh",EFFECT)
  230. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  231. elseif TYPE == "Wave" then
  232. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  233. elseif TYPE == "Ring" then
  234. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  235. elseif TYPE == "Slash" then
  236. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  237. elseif TYPE == "Round Slash" then
  238. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  239. elseif TYPE == "Swirl" then
  240. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  241. elseif TYPE == "Skull" then
  242. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  243. elseif TYPE == "Crystal" then
  244. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  245. elseif TYPE == "Cloud" then
  246. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1290033", "", SIZE, VT(0,0,0))
  247. end
  248. if MSH ~= nil then
  249. local MOVESPEED = nil
  250. if MOVEDIRECTION ~= nil then
  251. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  252. end
  253. local GROWTH = SIZE - ENDSIZE
  254. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  255. if TYPE == "Block" then
  256. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  257. else
  258. EFFECT.CFrame = CFRAME
  259. end
  260. for LOOP = 1, TIME+1 do
  261. Swait()
  262. MSH.Scale = MSH.Scale - GROWTH/TIME
  263. if TYPE == "Wave" then
  264. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  265. end
  266. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  267. if TYPE == "Block" then
  268. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  269. else
  270. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  271. end
  272. if MOVEDIRECTION ~= nil then
  273. local ORI = EFFECT.Orientation
  274. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  275. EFFECT.Orientation = ORI
  276. end
  277. end
  278. if PLAYSSOUND == false then
  279. EFFECT:remove()
  280. else
  281. repeat Swait() until SOUND.Playing == false
  282. EFFECT:remove()
  283. end
  284. else
  285. if PLAYSSOUND == false then
  286. EFFECT:remove()
  287. else
  288. repeat Swait() until SOUND.Playing == false
  289. EFFECT:remove()
  290. end
  291. end
  292. end))
  293. end
  294.  
  295. function MakeForm(PART,TYPE)
  296. if TYPE == "Cyl" then
  297. local MSH = IT("CylinderMesh",PART)
  298. elseif TYPE == "Ball" then
  299. local MSH = IT("SpecialMesh",PART)
  300. MSH.MeshType = "Sphere"
  301. elseif TYPE == "Wedge" then
  302. local MSH = IT("SpecialMesh",PART)
  303. MSH.MeshType = "Wedge"
  304. end
  305. end
  306.  
  307. function QuaternionFromCFrame(cf)
  308. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  309. local trace = m00 + m11 + m22
  310. if trace > 0 then
  311. local s = math.sqrt(1 + trace)
  312. local recip = 0.5 / s
  313. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  314. else
  315. local i = 0
  316. if m11 > m00 then
  317. i = 1
  318. end
  319. if m22 > (i == 0 and m00 or m11) then
  320. i = 2
  321. end
  322. if i == 0 then
  323. local s = math.sqrt(m00 - m11 - m22 + 1)
  324. local recip = 0.5 / s
  325. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  326. elseif i == 1 then
  327. local s = math.sqrt(m11 - m22 - m00 + 1)
  328. local recip = 0.5 / s
  329. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  330. elseif i == 2 then
  331. local s = math.sqrt(m22 - m00 - m11 + 1)
  332. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  333. end
  334. end
  335. end
  336.  
  337. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  338. local xs, ys, zs = x + x, y + y, z + z
  339. local wx, wy, wz = w * xs, w * ys, w * zs
  340. local xx = x * xs
  341. local xy = x * ys
  342. local xz = x * zs
  343. local yy = y * ys
  344. local yz = y * zs
  345. local zz = z * zs
  346. 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))
  347. end
  348.  
  349. function QuaternionSlerp(a, b, t)
  350. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  351. local startInterp, finishInterp;
  352. if cosTheta >= 0.0001 then
  353. if (1 - cosTheta) > 0.0001 then
  354. local theta = ACOS(cosTheta)
  355. local invSinTheta = 1 / SIN(theta)
  356. startInterp = SIN((1 - t) * theta) * invSinTheta
  357. finishInterp = SIN(t * theta) * invSinTheta
  358. else
  359. startInterp = 1 - t
  360. finishInterp = t
  361. end
  362. else
  363. if (1 + cosTheta) > 0.0001 then
  364. local theta = ACOS(-cosTheta)
  365. local invSinTheta = 1 / SIN(theta)
  366. startInterp = SIN((t - 1) * theta) * invSinTheta
  367. finishInterp = SIN(t * theta) * invSinTheta
  368. else
  369. startInterp = t - 1
  370. finishInterp = t
  371. end
  372. end
  373. 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
  374. end
  375.  
  376. function Clerp(a, b, t)
  377. local qa = {QuaternionFromCFrame(a)}
  378. local qb = {QuaternionFromCFrame(b)}
  379. local ax, ay, az = a.x, a.y, a.z
  380. local bx, by, bz = b.x, b.y, b.z
  381. local _t = 1 - t
  382. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  383. end
  384.  
  385. --// CUSTOMIZATION --\\
  386. Humanoid.DisplayDistanceType = "None"
  387.  
  388. local txt = Instance.new("BillboardGui", Character)
  389. txt.Adornee = Character.Head
  390. txt.Name = "_status"
  391. txt.Size = UDim2.new(2, 0, 1.2, 0)
  392. txt.StudsOffset = Vector3.new(-9, 8, 0)
  393.  
  394. local String = "Void Master"
  395. local String2 = "Fate Predictor"
  396.  
  397. local text = Instance.new("TextLabel", txt)
  398. text.Size = UDim2.new(10, 0, 7, 0)
  399. text.FontSize = "Size24"
  400. text.TextScaled = true
  401. text.TextTransparency = 0
  402. text.BackgroundTransparency = 1
  403. text.TextTransparency = 0
  404. text.TextStrokeTransparency = 0
  405. text.Font = "Antique"
  406. text.TextStrokeColor3 = Color3.new(1,0,1)
  407.  
  408. coroutine.wrap(function()
  409. for i = 1,string.len(String2) do
  410. text.Text = string.sub(String2,1,i)
  411. wait(0.1)
  412. end
  413.  
  414. for i = string.len(text.Text),0,-1 do
  415. text.Text = string.sub(String2,1,i)
  416. wait(0.1)
  417. end
  418.  
  419. for i = 1,string.len(String) do
  420. text.Text = string.sub(String,1,i)
  421. wait(0.1)
  422. end
  423. end)()
  424.  
  425. Character.Animate.Parent = nil
  426.  
  427. for i,v in pairs(Humanoid:GetPlayingAnimationTracks()) do
  428. v:Stop()
  429. end
  430.  
  431. local Mask = IT("Part")
  432. Mask.Name = "Mask"
  433. Mask.Color = BrickColor.new("Really black").Color
  434. Mask.CanCollide = false
  435. Mask.CFrame = Head.CFrame * CF(0,0,-0.6)
  436.  
  437. local MaskMesh = IT("SpecialMesh")
  438. MaskMesh.MeshId = "http://www.roblox.com/asset/?id=13520257"
  439. MaskMesh.Name = "MaskMesh"
  440.  
  441. local MaskWeld = weldBetween(Head,Mask)
  442. MaskWeld.Name = "The-Very-Handy-And-Weldy-Weld-Of-The-Weld-Land-To-Weld-The-Mask"
  443.  
  444. local Eyo = IT("Part")
  445. Eyo.CanCollide = false
  446. Eyo.Color = Color3.fromRGB(61, 21, 133)
  447. Eyo.Size = VT(0.3, 0.3, 0.3)
  448. Eyo.CFrame = Mask.CFrame * CF(-0.2,0.2,0.1)
  449. Eyo.Material = "Neon"
  450. MakeForm(Eyo,"Ball")
  451. Eyo.Name = "Eyo"
  452.  
  453. local Eyo2 = IT("Part")
  454. Eyo2.CanCollide = false
  455. Eyo2.Color = Color3.fromRGB(61, 21, 133)
  456. Eyo2.Size = VT(0.3, 0.3, 0.3)
  457. Eyo2.CFrame = Mask.CFrame * CF(0.2,0.2,0.1)
  458. Eyo2.Material = "Neon"
  459. MakeForm(Eyo2,"Ball")
  460. Eyo2.Name = "Eyo2"
  461.  
  462. local Hood = IT("Part")
  463. Hood.CanCollide = false
  464. Hood.Name = "Hood"
  465. Hood.Material = "Fabric"
  466. Hood.CFrame = Head.CFrame * CF(0,0.2,0)
  467. Hood.BrickColor = BRICKC("Really black")
  468.  
  469. local Scarf = IT("Part")
  470. Scarf.CanCollide = false
  471. Scarf.CFrame = Head.CFrame * CF(0,-1,0)
  472. Scarf.BrickColor = BRICKC("Really black")
  473. Scarf.Name = "Scarf"
  474.  
  475. local Scepter = IT("Part")
  476. Scepter.BrickColor = BRICKC("Dark indigo")
  477. Scepter.Name = "Scepter"
  478. Scepter.CFrame = RightArm.CFrame * CF(0,-1,0) * ANGLES(RAD(-90),RAD(0),RAD(0))
  479.  
  480. local ScepterMesh = IT("SpecialMesh")
  481. ScepterMesh.MeshId = "http://www.roblox.com/asset?id=86374096"
  482.  
  483. local ScepterWeld = weldBetween(RightArm,Scepter)
  484. ScepterWeld.Name = "The-Very-Handy-And-Weldy-Weld-Of-The-Weld-Land-To-Weld-The-Scepter"
  485.  
  486. local ScarfMesh = IT("SpecialMesh")
  487. ScarfMesh.MeshId = "http://www.roblox.com/asset/?id=99856331"
  488. ScarfMesh.Name = "ScarfMesh"
  489.  
  490. local HoodMesh = IT("SpecialMesh")
  491. HoodMesh.MeshId = "http://www.roblox.com/asset/?id=76062497"
  492. HoodMesh.Name = "HoodMesh"
  493.  
  494. local HoodWeld = weldBetween(Head,Hood)
  495. HoodWeld.Name = "The-Very-Handy-And-Weldy-Weld-Of-The-Weld-LandTo-Weld-The-Hood"
  496.  
  497. local EyoWeld = weldBetween(Head,Eyo)
  498. EyoWeld.Name = "The-Very-Handy-And-Weldy-Weld-Of-The-Weld-Land-To-Weld-The-Eye"
  499.  
  500. local Eyo2Weld = weldBetween(Head,Eyo2)
  501. Eyo2Weld.Name = "The-Very-Handy-And-Weldy-Weld-Of-The-Weld-Land-To-Weld-The-Second-Eye"
  502.  
  503. local ScarfWeld = weldBetween(Head,Scarf)
  504. ScarfWeld.Name = "The-Very-Handy-And-Weldy-Weld-Of-The-Weld-Land-To-Weld-The-Scarf"
  505.  
  506. local Shirt = IT("Shirt")
  507. local Pants = IT("Pants")
  508.  
  509. Shirt.Name = "Cloth"
  510. Pants.Name = "Cloth"
  511. Shirt.ShirtTemplate = "rbxassetid://1192334683"
  512. Pants.PantsTemplate = "rbxassetid://1503163457"
  513.  
  514. Mask.Parent = Character
  515. MaskMesh.Parent = Mask
  516. Eyo.Parent = Character
  517. Shirt.Parent = Character
  518. Pants.Parent = Character
  519. Hood.Parent = Character
  520. HoodMesh.Parent = Hood
  521. Scarf.Parent = Character
  522. ScarfMesh.Parent = Scarf
  523. Eyo2.Parent = Character
  524. Scepter.Parent = Character
  525. ScepterMesh.Parent = Scepter
  526.  
  527. local Weld = Instance.new("Weld")
  528. local a = workspace.nutta1258.Head
  529. local b = workspace.nutta1258.Part
  530.  
  531. Weld.Part0 = a
  532. Weld.Part1 = b
  533. Weld.C0 = CFrame.new()
  534. Weld.C1 = b.CFrame:inverse() * a.CFrame
  535. Weld.Parent = workspace.Dummy.Head
  536. print(Weld.C1)
  537. print(Weld.C0)
  538.  
  539. --// END OF CUSTOMIZATION --\\
  540.  
  541. --// FUNCTIONS --\\
  542.  
  543. --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})
  544. function Transform()
  545. Attack = true
  546. Rooted = true
  547.  
  548. for i = 0,1,0.02 do
  549. Swait()
  550. Eyo.Mesh.Scale = VT(0.7,0.7,0.7)
  551. RightShoulder.C0 = RightShoulder.C0:lerp(CF(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), i)
  552. RightShoulder.C1 = RightShoulder.C1:lerp(CF(-0.49999994, 0.745599985, 0.162099972, 0.684326112, 0.446992218, 0.576103866, -0.403130829, -0.426427096, 0.809719324, 0.607604563, -0.786357403, -0.1116188911), i)
  553. end
  554.  
  555. Eyo2.Parent = nil
  556.  
  557. for i = 0,1,0.02 do
  558. Swait()
  559. RightShoulder.C0 = RightShoulder.C0:lerp(CF(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), i)
  560. RightShoulder.C1 = RightShoulder.C1:lerp(CF(-0.23269999, 0.742500007, -0.165699959, 0, 0.866025448, 0.49999997, -0.422618449, 0.453153819, -0.784885526, -0.906307697, -0.211309209, 0.365998328), i)
  561. MaskWeld.C0 = MaskWeld.C0:lerp(CF(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), i)
  562. MaskWeld.C1 = MaskWeld.C1:lerp(CF(-2.54846001, -0.720100403, 0.408808231, 0.756472647, -0.498946786, -0.422849059, 0.565166354, 0.173320174, 0.806565166, -0.329144806, -0.849124372, 0.413099855), i)
  563. end
  564.  
  565. for i = 1,15 do
  566. Mask.Parent = nil
  567. wait()
  568. WACKYEFFECT({EffectType = "Block", Size = VT(1,1,1), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = Mask.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  569. end
  570.  
  571. wait(2)
  572.  
  573. local blastwave = Instance.new("Part",Torso)
  574. blastwave.CFrame = Torso.CFrame
  575. blastwave.Anchored = true
  576. blastwave.Material = "Neon"
  577. blastwave.CanCollide = false
  578. blastwave.Shape = "Ball"
  579. blastwave.Size = Vector3.new(3,3,3)
  580.  
  581. for i = 1, 20 do
  582. blastwave.Size = blastwave.Size + Vector3.new(2,2,2)
  583. blastwave.Transparency = blastwave.Transparency + 0.05
  584. Swait()
  585. end
  586.  
  587. Sick.SoundId = "rbxassetid://417312039"
  588. Sick:Play()
  589.  
  590. local SG = IT("ScreenGui",PlayerGui)
  591. framee = Instance.new("Frame")
  592. framee.Parent = SG
  593. framee.Position = UDim2.new(0, 8, 0, -500)
  594. framee.Size = UDim2.new(100000000,10000000,10000000,10000000)
  595. framee.BackgroundColor3 = BrickColor.new("White").Color
  596. framee.BackgroundTransparency = 0
  597.  
  598. coroutine.wrap(function()
  599. wait(.2)
  600. for i = 1, 40 do
  601. Humanoid.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-0,0))
  602. framee.BackgroundTransparency = framee.BackgroundTransparency + 0.025
  603. Swait()
  604. end
  605. Humanoid.CameraOffset = Vector3.new(0,0,0)
  606. framee:Destroy()
  607. SG:Destroy()
  608. end)()
  609.  
  610. ScepterWeld.Parent = nil
  611.  
  612. SecondForm = true
  613. Attack = false
  614. Rooted = false
  615. end
  616.  
  617. function Blink()
  618. for i = 0,1,0.1 do
  619. wait()
  620. Eyo.Mesh.Scale = Eyo.Mesh.Scale:lerp(VT(1,0,1),i)
  621. end
  622.  
  623. for i = 0,1,0.1 do
  624. wait()
  625. Eyo.Mesh.Scale = Eyo.Mesh.Scale:lerp(VT(0.7,0.7,0.7),i)
  626. end
  627. end
  628.  
  629. --// BINDING FUNCTIONS TO KEY --\\
  630.  
  631. game:GetService("UserInputService").InputBegan:Connect(function(Input,GameProccesed)
  632. local Key = Input.KeyCode
  633. if not GameProccesed and not Attack then
  634. if Key == Enum.KeyCode.F then
  635. Transform()
  636. end
  637. end
  638. end)
  639.  
  640. --// WRAPPING THE WHOLE SCRIPT UP --\\
  641. OrgnC0 = Neck.C0
  642.  
  643. local ToDelet = {}
  644. local ANIM
  645.  
  646. FACE = Head:WaitForChild('face')
  647. local BlinkLoop = 0
  648.  
  649. while Swait() do
  650. if SecondForm == true then
  651. Humanoid.HipHeight = 2
  652. TrsoLV = Torso.CFrame.lookVector
  653.  
  654. local _, Point = workspace:FindPartOnRay(Ray.new(Head.CFrame.p, Mouse.Hit.lookVector), workspace, false, true)
  655. local Dist = (Head.CFrame.p - Point).Magnitude
  656. local Diff = Head.CFrame.Y - Point.Y
  657. local _, Point2 = workspace:FindPartOnRay(Ray.new(LeftArm.CFrame.p, Mouse.Hit.lookVector), workspace, false, true)
  658. local Dist2 = (LeftArm.CFrame.p - Point).Magnitude
  659. local Diff2 = LeftArm.CFrame.Y - Point.Y
  660.  
  661. Neck.C0 = Neck.C0:lerp(OrgnC0*CFrame.Angles((math.tan(Diff / Dist) * 1), 0, (((Head.CFrame.p - Point).Unit):Cross(Torso.CFrame.LookVector)).Y * 1), .1)
  662. end
  663. SINE = SINE + CHANGE
  664.  
  665. RootJoint.Parent,Neck.Parent,RightShoulder.Parent,LeftShoulder.Parent,RightHip.Parent,LeftHip.Parent = JointService,JointService,JointService,JointService,JointService,JointService
  666.  
  667. Humanoid.PlatformStand = false
  668. for i,v in pairs(Humanoid:GetPlayingAnimationTracks()) do
  669. v:Stop()
  670. end
  671.  
  672. RootPart.Parent = Character
  673.  
  674. if not Character:FindFirstChildOfClass("Humanoid") then
  675. Humanoid = IT("Humanoid",Character)
  676. end
  677.  
  678. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).Magnitude
  679. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  680. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  681.  
  682. if TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  683. ANIM = "Walking"
  684. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  685. ANIM = "Idle"
  686. end
  687.  
  688. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  689. ANIM = "Jump"
  690. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  691. ANIM = "Fall"
  692. end
  693.  
  694. if ANIM ~= "Fall" then
  695. Neck.C0 = Neck.C0:lerp(CF(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.4 / Animation_Speed)
  696. Neck.C1 = Neck.C1:lerp(CF(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.4 / Animation_Speed)
  697. end
  698.  
  699. if Attack == false and SecondForm == true then
  700. BlinkLoop = BlinkLoop + 2
  701. if BlinkLoop >= 500 then
  702. BlinkLoop = 0
  703. Blink()
  704. end
  705. Scepter.Anchored = true
  706. Scepter.CFrame = Clerp(Scepter.CFrame,Torso.CFrame * CF(0.2,1.5 + 0.15 * SIN(SINE / 12),4) * ANGLES(RAD(0), RAD(15), RAD(10)),0.04)
  707.  
  708. RootJoint.C0 = RootJoint.C0:lerp(CF(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.4 / Animation_Speed)
  709. RootJoint.C1 = RootJoint.C1:lerp(CF(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.4 / Animation_Speed)
  710.  
  711. RightShoulder.C0 = RightShoulder.C0:lerp(CF(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), 0.4 / Animation_Speed)
  712. RightShoulder.C1 = RightShoulder.C1:lerp(CF(-0.591520309, 0.532794952, 0.0057849884, 0.939692557, -1.03502256e-08, 0.342020005, -0.33682397, 0.17364797, 0.925416529, -0.0593911, -0.984807789, 0.163175732), 0.4 / Animation_Speed)
  713.  
  714. LeftShoulder.C0 = LeftShoulder.C0:lerp(CF(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), 0.4 / Animation_Speed)
  715. LeftShoulder.C1 = LeftShoulder.C1:lerp(CF(0.5, 0.499998093, -4.76837158e-07, 0.906307817, 0, -0.422618181, 0.416197658, 0.173648149, 0.892538965, 0.0733868629, -0.98480773, 0.157378674), 0.4 / Animation_Speed)
  716.  
  717. RightHip.C0 = RightHip.C0:lerp(CF(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), 0.4 / Animation_Speed)
  718. RightHip.C1 = RightHip.C1:lerp(CF(0.5, 0.512356758, 0.202178955, 0, 0, 1, 0.258819044, 0.965925813, 0, -0.965925813, 0.258819044, 0), 0.4 / Animation_Speed)
  719.  
  720. LeftHip.C0 = LeftHip.C0:lerp(CF(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), 0.4 / Animation_Speed)
  721. LeftHip.C1 = LeftHip.C1:lerp(CF(-0.490476608, 1.1087842, 0, 0, 0.087155737, -0.99619472, 0, 0.99619472, 0.087155737, 1, 0, 0), 0.4 / Animation_Speed)
  722. end
  723.  
  724. if Attack == false and SecondForm == false then
  725. if ANIM == "Idle" then
  726.  
  727. RootJoint.C0 = RootJoint.C0:lerp(CF(0, 0 + 0.05 * COS(SINE / 24), 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.4 / Animation_Speed)
  728. RootJoint.C1 = RootJoint.C1:lerp(CF(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.4 / Animation_Speed)
  729.  
  730. RightShoulder.C0 = RightShoulder.C0:lerp(CF(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), 0.4 / Animation_Speed)
  731. RightShoulder.C1 = RightShoulder.C1:lerp(CF(-0.5, 0.49999997, 0, 0, 0, 0.99999994, -1, -4.37113883e-08, 0, 4.37113883e-08, -1, 0), 0.4 / Animation_Speed)
  732.  
  733. LeftShoulder.C0 = LeftShoulder.C0:lerp(CF(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), 0.4 / Animation_Speed)
  734. LeftShoulder.C1 = LeftShoulder.C1:lerp(CF(0.5, 0.5, 0, 0, -0.0871557593, -0.99619472, 0, 0.99619472, -0.0871557593, 1, 0, 0), 0.4 / Animation_Speed)
  735.  
  736. RightHip.C0 = RightHip.C0:lerp(CF(1, -1 - 0.05 * COS(SINE / 24), 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), 0.4 / Animation_Speed)
  737. RightHip.C1 = RightHip.C1:lerp(CF(0.5, 1, 0, -0.173648179, 0, 0.98480773, 0, 1, 0, -0.98480773, 0, -0.173648179), 0.4 / Animation_Speed)
  738.  
  739. LeftHip.C0 = LeftHip.C0:lerp(CF(-1, -1 - 0.05 * COS(SINE / 24), 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), 0.4 / Animation_Speed)
  740. LeftHip.C1 = LeftHip.C1:lerp(CF(-0.5, 1, 0, -0.17364797, 0, -0.984807789, 0, 1, 0, 0.984807789, 0, -0.17364797), 0.4 / Animation_Speed)
  741.  
  742. elseif ANIM == "Walking" then
  743.  
  744. RootJoint.C0 = RootJoint.C0:lerp(CF(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.4 / Animation_Speed)
  745. RootJoint.C1 = RootJoint.C1:lerp(CF(0, 0 + 0.1 * COS(SINE / 3), 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.4 / Animation_Speed)
  746.  
  747. RightShoulder.C0 = RightShoulder.C0:lerp(CF(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), 0.4 / Animation_Speed)
  748. RightShoulder.C1 = RightShoulder.C1:lerp(CF(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) * ANGLES(RAD(0),RAD(0),RAD(0) + 0.3 * COS(SINE / 5)), 0.4 / Animation_Speed)
  749.  
  750. LeftShoulder.C0 = LeftShoulder.C0:lerp(CF(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), 0.4 / Animation_Speed)
  751. LeftShoulder.C1 = LeftShoulder.C1:lerp(CF(-0.0389181972, 0.663122237, -0.22069484, -0.129409432, 0.482962936, -0.866025448, -0.388469696, 0.778864324, 0.492403865, 0.912329137, 0.400146306, 0.0868240893), 0.4 / Animation_Speed)
  752.  
  753. RightHip.C0 = RightHip.C0:lerp(CF(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), 0.4 / Animation_Speed)
  754. RightHip.C1 = RightHip.C1:lerp(CF(0.5, 1 + 0.1 * COS(SINE / 5), 0 + 0.1 * COS(SINE / 7), 0, 0, 1, 0, 1, -0, -1, 0, 0) * ANGLES(RAD(0),RAD(0),RAD(0) + 0.3 * COS(SINE / 5)), 0.4 / Animation_Speed)
  755.  
  756. LeftHip.C0 = LeftHip.C0:lerp(CF(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), 0.4 / Animation_Speed)
  757. LeftHip.C1 = LeftHip.C1:lerp(CF(-0.5, 1 + 0.1 * COS(SINE / 5), 0 + 0.1 * COS(SINE / 7), 0, 0, -1, 0, 1, 0, 1, 0, 0) * ANGLES(RAD(0),RAD(0),RAD(0) + 0.3 * COS(SINE / 5)), 0.4 / Animation_Speed)
  758.  
  759. elseif ANIM == "Jump" then
  760.  
  761. Neck.C0 = Neck.C0:lerp(CF(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.4 / Animation_Speed)
  762. Neck.C1 = Neck.C1:lerp(CF(0, -0.5, 0, -1, 0, 0, 0, 0.5, 0.866025388, 0, 0.866025388, -0.5), 0.4 / Animation_Speed)
  763.  
  764. RightShoulder.C0 = RightShoulder.C0:lerp(CF(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), 0.4 / Animation_Speed)
  765. RightShoulder.C1 = RightShoulder.C1:lerp(CF(-0.499996185, 0.5, 0, 0, 0.342020124, 0.939692557, 0, 0.939692557, -0.342020124, -1, 0, 0), 0.4 / Animation_Speed)
  766.  
  767. LeftShoulder.C0 = LeftShoulder.C0:lerp(CF(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), 0.4 / Animation_Speed)
  768. LeftShoulder.C1 = LeftShoulder.C1:lerp(CF(0.5, 0.500001907, 0, 0, -0.342020124, -0.939692557, 0, 0.939692557, -0.342020124, 1, 0, 0), 0.4 / Animation_Speed)
  769.  
  770. LeftHip.C0 = LeftHip.C0:lerp(CF(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), 0.4 / Animation_Speed)
  771. LeftHip.C1 = LeftHip.C1:lerp(CF(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), 0.4 / Animation_Speed)
  772.  
  773. RightHip.C0 = RightHip.C0:lerp(CF(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), 0.4 / Animation_Speed)
  774. RightHip.C1 = RightHip.C1:lerp(CF(0.5, 0.596400023, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0), 0.4 / Animation_Speed)
  775.  
  776. elseif ANIM == "Fall" then
  777.  
  778. Neck.C0 = Neck.C0:lerp(CF(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.4 / Animation_Speed)
  779. Neck.C1 = Neck.C1:lerp(CF(0, -0.500000477, 0, -1, 0, 0, 0, -0.17364797, 0.98480773, 0, 0.98480773, 0.17364797), 0.4 / Animation_Speed)
  780.  
  781. RootJoint.C0 = RootJoint.C0:lerp(CF(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.4 / Animation_Speed)
  782. RootJoint.C1 = RootJoint.C1:lerp(CF(0, 0, 0, -1, 0, 0, 0, -0.17364797, 0.984807789, 0, 0.984807789, 0.17364797), 0.4 / Animation_Speed)
  783.  
  784. RightShoulder.C0 = RightShoulder.C0:lerp(CF(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), 0.4 / Animation_Speed)
  785. RightShoulder.C1 = RightShoulder.C1:lerp(CF(-0.500003815, 0.499992371, -9.53674316e-07, 0.265584558, 0.699533045, 0.663413882, -0.294604897, 0.714097738, -0.635037303, -0.917972028, -0.0267889053, 0.395739257) * ANGLES(RAD(0),RAD(0) + 0.2 * SIN(SINE / 12),RAD(0)), 0.4 / Animation_Speed)
  786.  
  787. LeftShoulder.C0 = LeftShoulder.C0:lerp(CF(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), 0.4 / Animation_Speed)
  788. LeftShoulder.C1 = LeftShoulder.C1:lerp(CF(0.499996185, 0.499998093, 3.81469727e-06, 0.14640367, -0.678518295, -0.719846249, 0.183521718, 0.733684659, -0.65423739, 0.972052276, -0.0363246948, 0.231937021) * ANGLES(RAD(0),RAD(0) + 0.2 * SIN(-SINE / 12),RAD(0)), 0.4 / Animation_Speed)
  789.  
  790. RightHip.C0 = RightHip.C0:lerp(CF(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), 0.4 / Animation_Speed)
  791. RightHip.C1 = RightHip.C1:lerp(CF(0.5, 0.282579422, 0.572610855, 0, 0, 1, 0.342020035, 0.939692438, 0, -0.939692438, 0.342020035, 0), 0.4 / Animation_Speed)
  792.  
  793. LeftHip.C0 = LeftHip.C0:lerp(CF(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), 0.4 / Animation_Speed)
  794. LeftHip.C1 = LeftHip.C1:lerp(CF(-0.5, 1.00000048, 1.90734863e-06, 0, 0, -1, -0.17364879, 0.984807611, 0, 0.984807611, 0.17364879, 0), 0.4 / Animation_Speed)
  795. end
  796. end
  797.  
  798. Head.BrickColor = BRICKC("Really black")
  799. RightArm.BrickColor = BRICKC("Really black")
  800. LeftArm.BrickColor = BRICKC("Really black")
  801. RightLeg.BrickColor = BRICKC("Really black")
  802. LeftLeg.BrickColor = BRICKC("Really black")
  803. Torso.BrickColor = BRICKC("Really black")
  804.  
  805. for i,v in pairs(Character:GetDescendants()) do
  806. if v:IsA("Accessory") then
  807. table.insert(ToDelet,v)
  808. end
  809. if v:IsA("Shirt") and v.Name ~= "Cloth" then
  810. table.insert(ToDelet,v)
  811. end
  812. if v:IsA("Pants") and v.Name ~= "Cloth" then
  813. table.insert(ToDelet,v)
  814. end
  815. if v:IsA("ShirtGraphic") then
  816. table.insert(ToDelet,v)
  817. end
  818. if v:IsA("BodyColors") then
  819. table.insert(ToDelet,v)
  820. end
  821. if v.Name == "face" then
  822. table.insert(ToDelet,v)
  823. end
  824. end
  825.  
  826. if Head:FindFirstChildOfClass("SpecialMesh") then
  827. Head:FindFirstChildOfClass("SpecialMesh").MeshType = Enum.MeshType.Head
  828. else
  829. MESH:Clone().Parent = Head
  830. end
  831.  
  832. for i = 1,#ToDelet do
  833. if ToDelet[i] then
  834. ToDelet[i].Parent = nil
  835. end
  836. end
  837.  
  838. if Rooted == true then
  839. Humanoid.WalkSpeed = 0
  840. Humanoid.JumpPower = 0
  841. else
  842. Humanoid.WalkSpeed = 10
  843. Humanoid.JumpPower = 50
  844. end
  845. end
Add Comment
Please, Sign In to add comment