Advertisement
zXzGamePROzXz

Sheriff wilbert

Jan 14th, 2019
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 59.50 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. local RealPlayer = Player
  4. 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
  5. -----------------------
  6. --[[ Name : April Fools Script (Sheriff Wilbert) ]]--
  7. -------------------------------------------------------
  8. --A script By makhail07
  9.  
  10. --Discord Creterisk#2958
  11.  
  12. --NOTE THIS SCRIPT WAS PURELY MADE FROM MY FUCKING IMAGINATION
  13. --IF IT HAPPENS TO LOOK LIKE ANOTHER SCRIPT
  14. --DONT CALL IT A FUCKING BOOTLEG THANK YOU AND ENJOY THE SCRIPT
  15. --YOU FUCKING SKIDS,
  16. --For Those who log/decompile this, If you sell or trade this,
  17. --and I find out who you are, i will take massive action.
  18. -------------------------------------------------------
  19.  
  20. local FavIDs = {
  21. 340106355, --Nefl Crystals
  22. 927529620, --Dimension
  23. 876981900, --Fantasy
  24. 398987889, --Ordinary Days
  25. 1117396305, --Oh wait, it's you.
  26. 885996042, --Action Winter Journey
  27. 919231299, --Sprawling Idiot Effigy
  28. 743466274, --Good Day Sunshine
  29. 727411183, --Knife Fight
  30. 1402748531, --The Earth Is Counting On You!
  31. 595230126 --Robot Language
  32. }
  33.  
  34.  
  35.  
  36. --The reality of my life isn't real but a Universe -makhail07
  37. wait()
  38. local plr = game:service'Players'.LocalPlayer
  39. print('Local User is '..plr.Name)
  40. local char = plr.Character
  41. local hum = char.Humanoid
  42. local hed = char.Head
  43. local root = char.HumanoidRootPart
  44. local rootj = root.RootJoint
  45. local tors = char.Torso
  46. local ra = char["Right Arm"]
  47. local la = char["Left Arm"]
  48. local rl = char["Right Leg"]
  49. local ll = char["Left Leg"]
  50. local neck = tors["Neck"]
  51. local mouse = plr:GetMouse()
  52. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  53. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  54. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  55. local maincolor = BrickColor.new("Institutional white")
  56. -------------------------------------------------------
  57. --Start Whitelist and Invincibility--
  58. -------------------------------------------------------
  59. ff = Instance.new("ForceField",char)
  60. ff.Visible = false
  61. hum.Name = "Base"
  62. hum.MaxHealth = 1.0E298
  63. hum.Health = 1.0E298
  64. game:GetService("RunService"):BindToRenderStep("Bbae", 0, function()
  65. if hum.Health > 0.1 and hum.Health < 1.0E298 then
  66. hum.MaxHealth = 1.0E298
  67. hum.Health = 1.0E298
  68. end
  69. end)
  70. -------------------------------------------------------
  71. --End Whitelist and Invincibility--
  72. -------------------------------------------------------
  73.  
  74. -------------------------------------------------------
  75. --Start Good Stuff--
  76. -------------------------------------------------------
  77. cam = game.Workspace.CurrentCamera
  78. CF = CFrame.new
  79. angles = CFrame.Angles
  80. attack = false
  81. Euler = CFrame.fromEulerAnglesXYZ
  82. Rad = math.rad
  83. IT = Instance.new
  84. BrickC = BrickColor.new
  85. Cos = math.cos
  86. Acos = math.acos
  87. Sin = math.sin
  88. Asin = math.asin
  89. Abs = math.abs
  90. Mrandom = math.random
  91. Floor = math.floor
  92. -------------------------------------------------------
  93. --End Good Stuff--
  94. -------------------------------------------------------
  95. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  96. RSH, LSH = nil, nil
  97. RW = Instance.new("Weld")
  98. LW = Instance.new("Weld")
  99. RH = tors["Right Hip"]
  100. LH = tors["Left Hip"]
  101. RSH = tors["Right Shoulder"]
  102. LSH = tors["Left Shoulder"]
  103. RSH.Parent = nil
  104. LSH.Parent = nil
  105. RW.Name = "RW"
  106. RW.Part0 = tors
  107. RW.C0 = CF(1.5, 0.5, 0)
  108. RW.C1 = CF(0, 0.5, 0)
  109. RW.Part1 = ra
  110. RW.Parent = tors
  111. LW.Name = "LW"
  112. LW.Part0 = tors
  113. LW.C0 = CF(-1.5, 0.5, 0)
  114. LW.C1 = CF(0, 0.5, 0)
  115. LW.Part1 = la
  116. LW.Parent = tors
  117. Effects = {}
  118. -------------------------------------------------------
  119. --Start HeartBeat--
  120. -------------------------------------------------------
  121. ArtificialHB = Instance.new("BindableEvent", script)
  122. ArtificialHB.Name = "Heartbeat"
  123. script:WaitForChild("Heartbeat")
  124.  
  125. frame = 1 / 60
  126. tf = 0
  127. allowframeloss = false
  128. tossremainder = false
  129.  
  130.  
  131. lastframe = tick()
  132. script.Heartbeat:Fire()
  133.  
  134.  
  135. game:GetService("RunService").Heartbeat:connect(function(s, p)
  136. tf = tf + s
  137. if tf >= frame then
  138. if allowframeloss then
  139. script.Heartbeat:Fire()
  140. lastframe = tick()
  141. else
  142. for i = 1, math.floor(tf / frame) do
  143. script.Heartbeat:Fire()
  144. end
  145. lastframe = tick()
  146. end
  147. if tossremainder then
  148. tf = 0
  149. else
  150. tf = tf - frame * math.floor(tf / frame)
  151. end
  152. end
  153. end)
  154. -------------------------------------------------------
  155. --End HeartBeat--
  156. -------------------------------------------------------
  157.  
  158. -------------------------------------------------------
  159. --Start Important Functions--
  160. -------------------------------------------------------
  161. function swait(num)
  162. if num == 0 or num == nil then
  163. game:service("RunService").Stepped:wait(0)
  164. else
  165. for i = 0, num do
  166. game:service("RunService").Stepped:wait(0)
  167. end
  168. end
  169. end
  170. function thread(f)
  171. coroutine.resume(coroutine.create(f))
  172. end
  173. function clerp(a, b, t)
  174. local qa = {
  175. QuaternionFromCFrame(a)
  176. }
  177. local qb = {
  178. QuaternionFromCFrame(b)
  179. }
  180. local ax, ay, az = a.x, a.y, a.z
  181. local bx, by, bz = b.x, b.y, b.z
  182. local _t = 1 - t
  183. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  184. end
  185. function QuaternionFromCFrame(cf)
  186. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  187. local trace = m00 + m11 + m22
  188. if trace > 0 then
  189. local s = math.sqrt(1 + trace)
  190. local recip = 0.5 / s
  191. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  192. else
  193. local i = 0
  194. if m00 < m11 then
  195. i = 1
  196. end
  197. if m22 > (i == 0 and m00 or m11) then
  198. i = 2
  199. end
  200. if i == 0 then
  201. local s = math.sqrt(m00 - m11 - m22 + 1)
  202. local recip = 0.5 / s
  203. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  204. elseif i == 1 then
  205. local s = math.sqrt(m11 - m22 - m00 + 1)
  206. local recip = 0.5 / s
  207. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  208. elseif i == 2 then
  209. local s = math.sqrt(m22 - m00 - m11 + 1)
  210. local recip = 0.5 / s
  211. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  212. end
  213. end
  214. end
  215. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  216. local xs, ys, zs = x + x, y + y, z + z
  217. local wx, wy, wz = w * xs, w * ys, w * zs
  218. local xx = x * xs
  219. local xy = x * ys
  220. local xz = x * zs
  221. local yy = y * ys
  222. local yz = y * zs
  223. local zz = z * zs
  224. 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))
  225. end
  226. function QuaternionSlerp(a, b, t)
  227. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  228. local startInterp, finishInterp
  229. if cosTheta >= 1.0E-4 then
  230. if 1 - cosTheta > 1.0E-4 then
  231. local theta = math.acos(cosTheta)
  232. local invSinTheta = 1 / Sin(theta)
  233. startInterp = Sin((1 - t) * theta) * invSinTheta
  234. finishInterp = Sin(t * theta) * invSinTheta
  235. else
  236. startInterp = 1 - t
  237. finishInterp = t
  238. end
  239. elseif 1 + cosTheta > 1.0E-4 then
  240. local theta = math.acos(-cosTheta)
  241. local invSinTheta = 1 / Sin(theta)
  242. startInterp = Sin((t - 1) * theta) * invSinTheta
  243. finishInterp = Sin(t * theta) * invSinTheta
  244. else
  245. startInterp = t - 1
  246. finishInterp = t
  247. end
  248. 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
  249. end
  250. function rayCast(Position, Direction, Range, Ignore)
  251. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  252. end
  253. local RbxUtility = LoadLibrary("RbxUtility")
  254. local Create = RbxUtility.Create
  255.  
  256. -------------------------------------------------------
  257. --Start Damage Function--
  258. -------------------------------------------------------
  259. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  260. if hit.Parent == nil then
  261. return
  262. end
  263. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  264. for _, v in pairs(hit.Parent:children()) do
  265. if v:IsA("Humanoid") then
  266. h = v
  267. end
  268. end
  269. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  270.  
  271. hit.Parent:FindFirstChild("Head"):BreakJoints()
  272. end
  273.  
  274. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  275. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  276. if hit.Parent.DebounceHit.Value == true then
  277. return
  278. end
  279. end
  280. if insta == true then
  281. hit.Parent:FindFirstChild("Head"):BreakJoints()
  282. end
  283. local c = Create("ObjectValue"){
  284. Name = "creator",
  285. Value = game:service("Players").LocalPlayer,
  286. Parent = h,
  287. }
  288. game:GetService("Debris"):AddItem(c, .5)
  289. if HitSound ~= nil and HitPitch ~= nil then
  290. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  291. end
  292. local Damage = math.random(minim, maxim)
  293. local blocked = false
  294. local block = hit.Parent:findFirstChild("Block")
  295. if block ~= nil then
  296. if block.className == "IntValue" then
  297. if block.Value > 0 then
  298. blocked = true
  299. block.Value = block.Value - 1
  300. print(block.Value)
  301. end
  302. end
  303. end
  304. if blocked == false then
  305. h.Health = h.Health - Damage
  306. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  307. else
  308. h.Health = h.Health - (Damage / 2)
  309. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  310. end
  311. if Type == "Knockdown" then
  312. local hum = hit.Parent.Humanoid
  313. hum.PlatformStand = true
  314. coroutine.resume(coroutine.create(function(HHumanoid)
  315. swait(1)
  316. HHumanoid.PlatformStand = false
  317. end), hum)
  318. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  319. local bodvol = Create("BodyVelocity"){
  320. velocity = angle * knockback,
  321. P = 5000,
  322. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  323. Parent = hit,
  324. }
  325. local rl = Create("BodyAngularVelocity"){
  326. P = 3000,
  327. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  328. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  329. Parent = hit,
  330. }
  331. game:GetService("Debris"):AddItem(bodvol, .5)
  332. game:GetService("Debris"):AddItem(rl, .5)
  333. elseif Type == "Normal" then
  334. local vp = Create("BodyVelocity"){
  335. P = 500,
  336. maxForce = Vector3.new(math.huge, 0, math.huge),
  337. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  338. }
  339. if knockback > 0 then
  340. vp.Parent = hit.Parent.Torso
  341. end
  342. game:GetService("Debris"):AddItem(vp, .5)
  343. elseif Type == "Up" then
  344. local bodyVelocity = Create("BodyVelocity"){
  345. velocity = Vector3.new(0, 20, 0),
  346. P = 5000,
  347. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  348. Parent = hit,
  349. }
  350. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  351. elseif Type == "DarkUp" then
  352. coroutine.resume(coroutine.create(function()
  353. for i = 0, 1, 0.1 do
  354. swait()
  355. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  356. end
  357. end))
  358. local bodyVelocity = Create("BodyVelocity"){
  359. velocity = Vector3.new(0, 20, 0),
  360. P = 5000,
  361. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  362. Parent = hit,
  363. }
  364. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  365. elseif Type == "Snare" then
  366. local bp = Create("BodyPosition"){
  367. P = 2000,
  368. D = 100,
  369. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  370. position = hit.Parent.Torso.Position,
  371. Parent = hit.Parent.Torso,
  372. }
  373. game:GetService("Debris"):AddItem(bp, 1)
  374. elseif Type == "Freeze" then
  375. local BodPos = Create("BodyPosition"){
  376. P = 50000,
  377. D = 1000,
  378. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  379. position = hit.Parent.Torso.Position,
  380. Parent = hit.Parent.Torso,
  381. }
  382. local BodGy = Create("BodyGyro") {
  383. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  384. P = 20e+003,
  385. Parent = hit.Parent.Torso,
  386. cframe = hit.Parent.Torso.CFrame,
  387. }
  388. hit.Parent.Torso.Anchored = true
  389. coroutine.resume(coroutine.create(function(Part)
  390. swait(1.5)
  391. Part.Anchored = false
  392. end), hit.Parent.Torso)
  393. game:GetService("Debris"):AddItem(BodPos, 3)
  394. game:GetService("Debris"):AddItem(BodGy, 3)
  395. end
  396. local debounce = Create("BoolValue"){
  397. Name = "DebounceHit",
  398. Parent = hit.Parent,
  399. Value = true,
  400. }
  401. game:GetService("Debris"):AddItem(debounce, Delay)
  402. c = Create("ObjectValue"){
  403. Name = "creator",
  404. Value = Player,
  405. Parent = h,
  406. }
  407. game:GetService("Debris"):AddItem(c, .5)
  408. end
  409. end
  410. -------------------------------------------------------
  411. --End Damage Function--
  412. -------------------------------------------------------
  413.  
  414. -------------------------------------------------------
  415. --Start Damage Function Customization--
  416. -------------------------------------------------------
  417. function ShowDamage(Pos, Text, Time, Color)
  418. local Rate = (1 / 30)
  419. local Pos = (Pos or Vector3.new(0, 0, 0))
  420. local Text = (Text or "")
  421. local Time = (Time or 2)
  422. local Color = (Color or Color3.new(1, 0, 1))
  423. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  424. EffectPart.Anchored = true
  425. local BillboardGui = Create("BillboardGui"){
  426. Size = UDim2.new(3, 0, 3, 0),
  427. Adornee = EffectPart,
  428. Parent = EffectPart,
  429. }
  430. local TextLabel = Create("TextLabel"){
  431. BackgroundTransparency = 1,
  432. Size = UDim2.new(1, 0, 1, 0),
  433. Text = Text,
  434. Font = "Bodoni",
  435. TextColor3 = Color,
  436. TextScaled = true,
  437. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  438. Parent = BillboardGui,
  439. }
  440. game.Debris:AddItem(EffectPart, (Time))
  441. EffectPart.Parent = game:GetService("Workspace")
  442. delay(0, function()
  443. local Frames = (Time / Rate)
  444. for Frame = 1, Frames do
  445. wait(Rate)
  446. local Percent = (Frame / Frames)
  447. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  448. TextLabel.TextTransparency = Percent
  449. end
  450. if EffectPart and EffectPart.Parent then
  451. EffectPart:Destroy()
  452. end
  453. end)
  454. end
  455. -------------------------------------------------------
  456. --End Damage Function Customization--
  457. -------------------------------------------------------
  458.  
  459. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  460. for _, c in pairs(workspace:children()) do
  461. local hum = c:findFirstChild("Humanoid")
  462. if hum ~= nil then
  463. local head = c:findFirstChild("Head")
  464. if head ~= nil then
  465. local targ = head.Position - Part.Position
  466. local mag = targ.magnitude
  467. if magni >= mag and c.Name ~= plr.Name then
  468. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  469. end
  470. end
  471. end
  472. end
  473. end
  474.  
  475.  
  476. CFuncs = {
  477. Part = {
  478. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  479. local Part = Create("Part")({
  480. Parent = Parent,
  481. Reflectance = Reflectance,
  482. Transparency = Transparency,
  483. CanCollide = false,
  484. Locked = true,
  485. BrickColor = BrickColor.new(tostring(BColor)),
  486. Name = Name,
  487. Size = Size,
  488. Material = Material
  489. })
  490. RemoveOutlines(Part)
  491. return Part
  492. end
  493. },
  494. Mesh = {
  495. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  496. local Msh = Create(Mesh)({
  497. Parent = Part,
  498. Offset = OffSet,
  499. Scale = Scale
  500. })
  501. if Mesh == "SpecialMesh" then
  502. Msh.MeshType = MeshType
  503. Msh.MeshId = MeshId
  504. end
  505. return Msh
  506. end
  507. },
  508. Mesh = {
  509. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  510. local Msh = Create(Mesh)({
  511. Parent = Part,
  512. Offset = OffSet,
  513. Scale = Scale
  514. })
  515. if Mesh == "SpecialMesh" then
  516. Msh.MeshType = MeshType
  517. Msh.MeshId = MeshId
  518. end
  519. return Msh
  520. end
  521. },
  522. Weld = {
  523. Create = function(Parent, Part0, Part1, C0, C1)
  524. local Weld = Create("Weld")({
  525. Parent = Parent,
  526. Part0 = Part0,
  527. Part1 = Part1,
  528. C0 = C0,
  529. C1 = C1
  530. })
  531. return Weld
  532. end
  533. },
  534. Sound = {
  535. Create = function(id, par, vol, pit)
  536. coroutine.resume(coroutine.create(function()
  537. local S = Create("Sound")({
  538. Volume = vol,
  539. Pitch = pit or 1,
  540. SoundId = id,
  541. Parent = par or workspace
  542. })
  543. wait()
  544. S:play()
  545. game:GetService("Debris"):AddItem(S, 6)
  546. end))
  547. end
  548. },
  549. ParticleEmitter = {
  550. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  551. local fp = Create("ParticleEmitter")({
  552. Parent = Parent,
  553. Color = ColorSequence.new(Color1, Color2),
  554. LightEmission = LightEmission,
  555. Size = Size,
  556. Texture = Texture,
  557. Transparency = Transparency,
  558. ZOffset = ZOffset,
  559. Acceleration = Accel,
  560. Drag = Drag,
  561. LockedToPart = LockedToPart,
  562. VelocityInheritance = VelocityInheritance,
  563. EmissionDirection = EmissionDirection,
  564. Enabled = Enabled,
  565. Lifetime = LifeTime,
  566. Rate = Rate,
  567. Rotation = Rotation,
  568. RotSpeed = RotSpeed,
  569. Speed = Speed,
  570. VelocitySpread = VelocitySpread
  571. })
  572. return fp
  573. end
  574. }
  575. }
  576. function RemoveOutlines(part)
  577. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  578. end
  579. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  580. local Part = Create("Part")({
  581. formFactor = FormFactor,
  582. Parent = Parent,
  583. Reflectance = Reflectance,
  584. Transparency = Transparency,
  585. CanCollide = false,
  586. Locked = true,
  587. BrickColor = BrickColor.new(tostring(BColor)),
  588. Name = Name,
  589. Size = Size,
  590. Material = Material
  591. })
  592. RemoveOutlines(Part)
  593. return Part
  594. end
  595. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  596. local Msh = Create(Mesh)({
  597. Parent = Part,
  598. Offset = OffSet,
  599. Scale = Scale
  600. })
  601. if Mesh == "SpecialMesh" then
  602. Msh.MeshType = MeshType
  603. Msh.MeshId = MeshId
  604. end
  605. return Msh
  606. end
  607. function CreateWeld(Parent, Part0, Part1, C0, C1)
  608. local Weld = Create("Weld")({
  609. Parent = Parent,
  610. Part0 = Part0,
  611. Part1 = Part1,
  612. C0 = C0,
  613. C1 = C1
  614. })
  615. return Weld
  616. end
  617.  
  618.  
  619. -------------------------------------------------------
  620. --Start Effect Function--
  621. -------------------------------------------------------
  622. EffectModel = Instance.new("Model", char)
  623. Effects = {
  624. Block = {
  625. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  626. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  627. prt.Anchored = true
  628. prt.CFrame = cframe
  629. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  630. game:GetService("Debris"):AddItem(prt, 10)
  631. if Type == 1 or Type == nil then
  632. table.insert(Effects, {
  633. prt,
  634. "Block1",
  635. delay,
  636. x3,
  637. y3,
  638. z3,
  639. msh
  640. })
  641. elseif Type == 2 then
  642. table.insert(Effects, {
  643. prt,
  644. "Block2",
  645. delay,
  646. x3,
  647. y3,
  648. z3,
  649. msh
  650. })
  651. else
  652. table.insert(Effects, {
  653. prt,
  654. "Block3",
  655. delay,
  656. x3,
  657. y3,
  658. z3,
  659. msh
  660. })
  661. end
  662. end
  663. },
  664. Sphere = {
  665. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  666. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  667. prt.Anchored = true
  668. prt.CFrame = cframe
  669. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  670. game:GetService("Debris"):AddItem(prt, 10)
  671. table.insert(Effects, {
  672. prt,
  673. "Cylinder",
  674. delay,
  675. x3,
  676. y3,
  677. z3,
  678. msh
  679. })
  680. end
  681. },
  682. Cylinder = {
  683. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  684. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  685. prt.Anchored = true
  686. prt.CFrame = cframe
  687. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  688. game:GetService("Debris"):AddItem(prt, 10)
  689. table.insert(Effects, {
  690. prt,
  691. "Cylinder",
  692. delay,
  693. x3,
  694. y3,
  695. z3,
  696. msh
  697. })
  698. end
  699. },
  700. Wave = {
  701. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  702. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  703. prt.Anchored = true
  704. prt.CFrame = cframe
  705. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  706. game:GetService("Debris"):AddItem(prt, 10)
  707. table.insert(Effects, {
  708. prt,
  709. "Cylinder",
  710. delay,
  711. x3 / 60,
  712. y3 / 60,
  713. z3 / 60,
  714. msh
  715. })
  716. end
  717. },
  718. Ring = {
  719. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  720. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  721. prt.Anchored = true
  722. prt.CFrame = cframe
  723. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  724. game:GetService("Debris"):AddItem(prt, 10)
  725. table.insert(Effects, {
  726. prt,
  727. "Cylinder",
  728. delay,
  729. x3,
  730. y3,
  731. z3,
  732. msh
  733. })
  734. end
  735. },
  736. Break = {
  737. Create = function(brickcolor, cframe, x1, y1, z1)
  738. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  739. prt.Anchored = true
  740. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  741. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  742. local num = math.random(10, 50) / 1000
  743. game:GetService("Debris"):AddItem(prt, 10)
  744. table.insert(Effects, {
  745. prt,
  746. "Shatter",
  747. num,
  748. prt.CFrame,
  749. math.random() - math.random(),
  750. 0,
  751. math.random(50, 100) / 100
  752. })
  753. end
  754. },
  755. Spiral = {
  756. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  757. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  758. prt.Anchored = true
  759. prt.CFrame = cframe
  760. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  761. game:GetService("Debris"):AddItem(prt, 10)
  762. table.insert(Effects, {
  763. prt,
  764. "Cylinder",
  765. delay,
  766. x3,
  767. y3,
  768. z3,
  769. msh
  770. })
  771. end
  772. },
  773. Push = {
  774. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  775. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  776. prt.Anchored = true
  777. prt.CFrame = cframe
  778. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  779. game:GetService("Debris"):AddItem(prt, 10)
  780. table.insert(Effects, {
  781. prt,
  782. "Cylinder",
  783. delay,
  784. x3,
  785. y3,
  786. z3,
  787. msh
  788. })
  789. end
  790. }
  791. }
  792. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  793. local fp = IT("Part")
  794. fp.formFactor = formfactor
  795. fp.Parent = parent
  796. fp.Reflectance = reflectance
  797. fp.Transparency = transparency
  798. fp.CanCollide = false
  799. fp.Locked = true
  800. fp.BrickColor = brickcolor
  801. fp.Name = name
  802. fp.Size = size
  803. fp.Position = tors.Position
  804. RemoveOutlines(fp)
  805. fp.Material = "SmoothPlastic"
  806. fp:BreakJoints()
  807. return fp
  808. end
  809.  
  810. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  811. local mesh = IT(Mesh)
  812. mesh.Parent = part
  813. if Mesh == "SpecialMesh" then
  814. mesh.MeshType = meshtype
  815. if meshid ~= "nil" then
  816. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  817. end
  818. end
  819. mesh.Offset = offset
  820. mesh.Scale = scale
  821. return mesh
  822. end
  823.  
  824. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  825. local type = type
  826. local rng = Instance.new("Part", char)
  827. rng.Anchored = true
  828. rng.BrickColor = color
  829. rng.CanCollide = false
  830. rng.FormFactor = 3
  831. rng.Name = "Ring"
  832. rng.Material = "Neon"
  833. rng.Size = Vector3.new(1, 1, 1)
  834. rng.Transparency = 0
  835. rng.TopSurface = 0
  836. rng.BottomSurface = 0
  837. rng.CFrame = pos
  838. local rngm = Instance.new("SpecialMesh", rng)
  839. rngm.MeshType = MType
  840. rngm.Scale = scale
  841. local scaler2 = 1
  842. if type == "Add" then
  843. scaler2 = 1 * value
  844. elseif type == "Divide" then
  845. scaler2 = 1 / value
  846. end
  847. coroutine.resume(coroutine.create(function()
  848. for i = 0, 10 / bonuspeed, 0.1 do
  849. swait()
  850. if type == "Add" then
  851. scaler2 = scaler2 - 0.01 * value / bonuspeed
  852. elseif type == "Divide" then
  853. scaler2 = scaler2 - 0.01 / value * bonuspeed
  854. end
  855. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  856. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  857. end
  858. rng:Destroy()
  859. end))
  860. end
  861.  
  862. function Eviscerate(dude)
  863. if dude.Name ~= char then
  864. local bgf = IT("BodyGyro", dude.Head)
  865. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  866. local val = IT("BoolValue", dude)
  867. val.Name = "IsHit"
  868. local ds = coroutine.wrap(function()
  869. dude:WaitForChild("Head"):BreakJoints()
  870. wait(0.5)
  871. target = nil
  872. coroutine.resume(coroutine.create(function()
  873. for i, v in pairs(dude:GetChildren()) do
  874. if v:IsA("Accessory") then
  875. v:Destroy()
  876. end
  877. if v:IsA("Humanoid") then
  878. v:Destroy()
  879. end
  880. if v:IsA("CharacterMesh") then
  881. v:Destroy()
  882. end
  883. if v:IsA("Model") then
  884. v:Destroy()
  885. end
  886. if v:IsA("Part") or v:IsA("MeshPart") then
  887. for x, o in pairs(v:GetChildren()) do
  888. if o:IsA("Decal") then
  889. o:Destroy()
  890. end
  891. end
  892. coroutine.resume(coroutine.create(function()
  893. v.Material = "Neon"
  894. v.CanCollide = false
  895. local PartEmmit1 = IT("ParticleEmitter", v)
  896. PartEmmit1.LightEmission = 1
  897. PartEmmit1.Texture = "rbxassetid://284205403"
  898. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  899. PartEmmit1.Rate = 150
  900. PartEmmit1.Lifetime = NumberRange.new(1)
  901. PartEmmit1.Size = NumberSequence.new({
  902. NumberSequenceKeypoint.new(0, 0.75, 0),
  903. NumberSequenceKeypoint.new(1, 0, 0)
  904. })
  905. PartEmmit1.Transparency = NumberSequence.new({
  906. NumberSequenceKeypoint.new(0, 0, 0),
  907. NumberSequenceKeypoint.new(1, 1, 0)
  908. })
  909. PartEmmit1.Speed = NumberRange.new(0, 0)
  910. PartEmmit1.VelocitySpread = 30000
  911. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  912. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  913. local BodPoss = IT("BodyPosition", v)
  914. BodPoss.P = 3000
  915. BodPoss.D = 1000
  916. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  917. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  918. v.Color = maincolor.Color
  919. coroutine.resume(coroutine.create(function()
  920. for i = 0, 49 do
  921. swait(1)
  922. v.Transparency = v.Transparency + 0.08
  923. end
  924. wait(0.5)
  925. PartEmmit1.Enabled = false
  926. wait(3)
  927. v:Destroy()
  928. dude:Destroy()
  929. end))
  930. end))
  931. end
  932. end
  933. end))
  934. end)
  935. ds()
  936. end
  937. end
  938.  
  939. function FindNearestHead(Position, Distance, SinglePlayer)
  940. if SinglePlayer then
  941. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  942. end
  943. local List = {}
  944. for i, v in pairs(workspace:GetChildren()) do
  945. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  946. table.insert(List, v)
  947. end
  948. end
  949. return List
  950. end
  951.  
  952. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  953. local type = type
  954. local rng = Instance.new("Part", char)
  955. rng.Anchored = true
  956. rng.BrickColor = color
  957. rng.CanCollide = false
  958. rng.FormFactor = 3
  959. rng.Name = "Ring"
  960. rng.Material = "Neon"
  961. rng.Size = Vector3.new(1, 1, 1)
  962. rng.Transparency = 0
  963. rng.TopSurface = 0
  964. rng.BottomSurface = 0
  965. rng.CFrame = pos
  966. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  967. local rngm = Instance.new("SpecialMesh", rng)
  968. rngm.MeshType = MType
  969. rngm.Scale = Vector3.new(x1, y1, z1)
  970. local scaler2 = 1
  971. local speeder = FastSpeed
  972. if type == "Add" then
  973. scaler2 = 1 * value
  974. elseif type == "Divide" then
  975. scaler2 = 1 / value
  976. end
  977. coroutine.resume(coroutine.create(function()
  978. for i = 0, 10 / bonuspeed, 0.1 do
  979. swait()
  980. if type == "Add" then
  981. scaler2 = scaler2 - 0.01 * value / bonuspeed
  982. elseif type == "Divide" then
  983. scaler2 = scaler2 - 0.01 / value * bonuspeed
  984. end
  985. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  986. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  987. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  988. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  989. end
  990. rng:Destroy()
  991. end))
  992. end
  993.  
  994. function SoulSteal(dude)
  995. if dude.Name ~= char then
  996. local bgf = IT("BodyGyro", dude.Head)
  997. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  998. local val = IT("BoolValue", dude)
  999. val.Name = "IsHit"
  1000. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  1001. local soulst = coroutine.wrap(function()
  1002. local soul = Instance.new("Part",dude)
  1003. soul.Size = Vector3.new(1,1,1)
  1004. soul.CanCollide = false
  1005. soul.Anchored = false
  1006. soul.Position = torso.Position
  1007. soul.Transparency = 1
  1008. local PartEmmit1 = IT("ParticleEmitter", soul)
  1009. PartEmmit1.LightEmission = 1
  1010. PartEmmit1.Texture = "rbxassetid://569507414"
  1011. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1012. PartEmmit1.Rate = 250
  1013. PartEmmit1.Lifetime = NumberRange.new(1.6)
  1014. PartEmmit1.Size = NumberSequence.new({
  1015. NumberSequenceKeypoint.new(0, 1, 0),
  1016. NumberSequenceKeypoint.new(1, 0, 0)
  1017. })
  1018. PartEmmit1.Transparency = NumberSequence.new({
  1019. NumberSequenceKeypoint.new(0, 0, 0),
  1020. NumberSequenceKeypoint.new(1, 1, 0)
  1021. })
  1022. PartEmmit1.Speed = NumberRange.new(0, 0)
  1023. PartEmmit1.VelocitySpread = 30000
  1024. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  1025. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1026. local BodPoss = IT("BodyPosition", soul)
  1027. BodPoss.P = 3000
  1028. BodPoss.D = 1000
  1029. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1030. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1031. wait(1.6)
  1032. soul.Touched:connect(function(hit)
  1033. if hit.Parent == char then
  1034. soul:Destroy()
  1035. end
  1036. end)
  1037. wait(1.2)
  1038. while soul do
  1039. swait()
  1040. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1041. BodPoss.Position = tors.Position
  1042. end
  1043. end)
  1044. soulst()
  1045. end
  1046. end
  1047. function FaceMouse()
  1048. local Cam = workspace.CurrentCamera
  1049. return {
  1050. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1051. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1052. }
  1053. end
  1054. -------------------------------------------------------
  1055. --End Effect Function--
  1056. -------------------------------------------------------
  1057. function Cso(ID, PARENT, VOLUME, PITCH)
  1058. local NSound = nil
  1059. coroutine.resume(coroutine.create(function()
  1060. NSound = IT("Sound", PARENT)
  1061. NSound.Volume = VOLUME
  1062. NSound.Pitch = PITCH
  1063. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1064. swait()
  1065. NSound:play()
  1066. game:GetService("Debris"):AddItem(NSound, 10)
  1067. end))
  1068. return NSound
  1069. end
  1070. function CameraEnshaking(Length, Intensity)
  1071. coroutine.resume(coroutine.create(function()
  1072. local intensity = 1 * Intensity
  1073. local rotM = 0.01 * Intensity
  1074. for i = 0, Length, 0.1 do
  1075. swait()
  1076. intensity = intensity - 0.05 * Intensity / Length
  1077. rotM = rotM - 5.0E-4 * Intensity / Length
  1078. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1079. cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
  1080. end
  1081. hum.CameraOffset = Vector3.new(0, 0, 0)
  1082. end))
  1083. end
  1084. -------------------------------------------------------
  1085. --End Important Functions--
  1086. -------------------------------------------------------
  1087.  
  1088.  
  1089. -------------------------------------------------------
  1090. --Start Customization--
  1091. -------------------------------------------------------
  1092. local Player_Size = 1
  1093. if Player_Size ~= 1 then
  1094. root.Size = root.Size * Player_Size
  1095. tors.Size = tors.Size * Player_Size
  1096. hed.Size = hed.Size * Player_Size
  1097. ra.Size = ra.Size * Player_Size
  1098. la.Size = la.Size * Player_Size
  1099. rl.Size = rl.Size * Player_Size
  1100. ll.Size = ll.Size * Player_Size
  1101. ----------------------------------------------------------------------------------
  1102. rootj.Parent = root
  1103. neck.Parent = tors
  1104. RW.Parent = tors
  1105. LW.Parent = tors
  1106. RH.Parent = tors
  1107. LH.Parent = tors
  1108. ----------------------------------------------------------------------------------
  1109. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1110. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1111. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  1112. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  1113. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  1114. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  1115. ----------------------------------------------------------------------------------
  1116. RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1117. LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1118. RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1119. LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1120. --hat.Parent = Character
  1121. end
  1122. ----------------------------------------------------------------------------------
  1123. local SONG = 0
  1124. local SONG2 = 0
  1125. local Music = Instance.new("Sound",tors)
  1126. Music.Volume = 2.5
  1127. Music.Looped = true
  1128. Music.Pitch = 1 --Pitcher
  1129. local HighNoon = Instance.new("Sound",char)
  1130. HighNoon.Volume = 10
  1131. HighNoon.SoundId = "rbxassetid://814875394"
  1132. HighNoon.Looped = false
  1133. HighNoon.Pitch = 1 --Pitcher
  1134. ----------------------------------------------------------------------------------
  1135. local equipped = false
  1136. local idle = 0
  1137. local change = 1
  1138. local val = 0
  1139. local toim = 0
  1140. local idleanim = 0.4
  1141. local sine = 0
  1142. ----------------------------------------------------------------------------------
  1143. hum.WalkSpeed = 8
  1144. hum.JumpPower = 57
  1145. hum.Animator.Parent = nil
  1146. local Hair = Instance.new("Part", char)
  1147. Hair.Name = "Hair"
  1148. Hair.CanCollide = false
  1149. Hair.BrickColor = BrickColor.new("Institutional white")
  1150. Hair.Transparency = 0
  1151. Hair.Material = "Plastic"
  1152. Hair.Size = Vector3.new(1, 1, 2)
  1153. Hair.TopSurface = Enum.SurfaceType.Smooth
  1154. Hair.BottomSurface = Enum.SurfaceType.Smooth
  1155.  
  1156. local Weld = Instance.new("Weld", Hair)
  1157. Weld.Part0 = hed
  1158. Weld.Part1 = Hair
  1159. Weld.C1 = CFrame.new(0, -.6, 0)
  1160. Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0)
  1161.  
  1162. local M2 = Instance.new("SpecialMesh")
  1163. M2.Parent = Hair
  1164. M2.MeshId = "http://www.roblox.com/asset/?id=10684207"
  1165. M2.TextureId = "http://www.roblox.com/asset/?id=10684155"
  1166. M2.Scale = Vector3.new(1, 1, 1)
  1167.  
  1168. local Hat = char:FindFirstChild("Hat_F") or Instance.new("Hat")
  1169. Hat.AttachmentPos = Vector3.new(0, 0.33, 0)
  1170. Hat.Name = "Hat_F"
  1171. local Handle = Hat:FindFirstChild("Handle") or Instance.new("Part", Hat)
  1172. if Handle.Name ~= "Handle" then
  1173. Handle.Size = Vector3.new(1, 1, 1)
  1174. end
  1175. Handle.BottomSurface = 0
  1176. Handle.Name = "Handle"
  1177. Handle.TopSurface = 0
  1178. Handle.Locked = 1
  1179. handle = Instance.new("Part", char)
  1180. handle.TopSurface = "Smooth"
  1181. handle.BottomSurface = "Smooth"
  1182. handle.Material = "Neon"
  1183. handle.Size = Vector3.new(0.4, 1.2, 2)
  1184. handle.CanCollide = false
  1185. handle.FormFactor = "Custom"
  1186. local Weldb = Instance.new("Weld", char)
  1187. Weldb.Part0 = ra
  1188. Weldb.Part1 = handle
  1189. Weldb.C1 = CFrame.new(0, -.4, -1.6) *angles(Rad(90), Rad(0), Rad(180))
  1190. local KnifeMesh = Instance.new("SpecialMesh", handle)
  1191. KnifeMesh.MeshType = "FileMesh"
  1192. KnifeMesh.MeshId = "http://www.roblox.com/asset/?id=432256490"
  1193. KnifeMesh.TextureId = "http://www.roblox.com/asset/?id=432256526"
  1194. KnifeMesh.Scale = Vector3.new(.002, .002, .002)
  1195. -------------------------------------------------------
  1196. --End Customization--
  1197. -------------------------------------------------------
  1198.  
  1199.  
  1200. -------------------------------------------------------
  1201. --Start Attacks N Stuff--
  1202. -------------------------------------------------------
  1203. function High_Noon()
  1204. print("Oh no.....")
  1205. attack = true
  1206. HighNoon:Play()
  1207. --Cso("814875394", char, 10, 1)
  1208. local orb = Instance.new("Part", char)
  1209. orb.Anchored = true
  1210. orb.BrickColor = BrickC("Really black")
  1211. orb.CanCollide = false
  1212. orb.FormFactor = 3
  1213. orb.Name = "Ring"
  1214. orb.Material = "Neon"
  1215. orb.Size = Vector3.new(1, 1, 1)
  1216. orb.Transparency = 0
  1217. orb.TopSurface = 0
  1218. orb.BottomSurface = 0
  1219. local orbm = Instance.new("SpecialMesh", orb)
  1220. orbm.MeshType = "Sphere"
  1221. orbm.Name = "SizeMesh"
  1222. orbm.Scale = Vector3.new(0, 0, 0)
  1223. local scaled = 0.1
  1224. local posid = 0
  1225. for i = 0, 109, 0.1 do
  1226. swait()
  1227. scaled = scaled + 0.001
  1228. --posid = posid - scaled
  1229. orb.CFrame = ra.CFrame * CF(0, -0.1 + posid / 1.05, 0)
  1230. orbm.Scale = orbm.Scale + Vector3.new(scaled, scaled, scaled)
  1231. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.2)
  1232. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30), Rad(0), Rad(0)), 0.2)
  1233. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.2)
  1234. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.2)
  1235. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(90)), 0.2)
  1236. LW.C0 = clerp(LW.C0, CF(-1.2* Player_Size, 0.8 + 0.02 * Sin(sine / 20* Player_Size), -.6* Player_Size) * angles(Rad(-45), Rad(-.6), Rad(136 - 4.5 * Sin(sine / 20))), 0.2)
  1237. end
  1238. coroutine.resume(coroutine.create(function()
  1239. orb.Anchored = false
  1240. --CFuncs.Sound.Create("rbxassetid://260433768", root, 1.25, 1)
  1241. local a = Instance.new("Part", workspace)
  1242. a.Name = "Direction"
  1243. a.Anchored = true
  1244. a.BrickColor = BrickC("Bright red")
  1245. a.Material = "Neon"
  1246. a.Transparency = 1
  1247. a.CanCollide = false
  1248. local ray = Ray.new(orb.CFrame.p, (root.CFrame.lookVector - orb.CFrame.p).unit * 500)
  1249. local ignore = orb
  1250. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  1251. a.BottomSurface = 10
  1252. a.TopSurface = 10
  1253. local distance = (orb.CFrame.p - position).magnitude
  1254. a.Size = Vector3.new(0.1, 0.1, 0.1)
  1255. a.CFrame = CF(orb.CFrame.p, position) * CF(0, 0, 0)
  1256. orb.CFrame = a.CFrame
  1257. a:Destroy()
  1258. local bv = Instance.new("BodyVelocity")
  1259. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1260. bv.velocity = orb.CFrame.lookVector * 125
  1261. bv.Parent = orb
  1262. local hitted = false
  1263. game:GetService("Debris"):AddItem(orb, 15)
  1264. wait()
  1265. local hit = orb.Touched:connect(function(hit)
  1266. if hitted == false then
  1267. hitted = true
  1268. coroutine.resume(coroutine.create(function()
  1269. for i = 0,1.8,0.1 do
  1270. swait()
  1271. hum.CameraOffset = Vector3.new(Mrandom(-1,1),0,Mrandom(-1,1))
  1272. end
  1273. for i = 0,1.8,0.1 do
  1274. swait()
  1275. hum.CameraOffset = Vector3.new(0,0,0)
  1276. end
  1277. end))
  1278. CFuncs.Sound.Create("rbxassetid://151304356", orb, 5, 1)
  1279. for i, v in pairs(FindNearestHead(orb.CFrame.p, 50000)) do
  1280. if v:FindFirstChild("Head") then
  1281. Eviscerate(v)
  1282. end
  1283. end
  1284. Magic(1, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 1, BrickC("Really black"), "Sphere")
  1285. Magic(2, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 2, BrickC("Really black"), "Sphere")
  1286. for i = 0, 9 do
  1287. --Aura(1, 2.5, "Add", orb.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 5, 5, 50, -0.05, BrickColor.new("Royal purple"), 0, "Sphere")
  1288. --Aura(2, 5, "Add", orb.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 5, 5, 50, -0.05, BrickColor.new("Royal purple"), 0, "Sphere")
  1289. end
  1290. orb.Anchored = true
  1291. orb.Transparency = 1
  1292. wait(8)
  1293. orb:Destroy()
  1294. end
  1295. end)
  1296. end))
  1297. for i = 0, 6, 0.1 do
  1298. swait()
  1299. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.2)
  1300. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30), Rad(0), Rad(0)), 0.2)
  1301. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.2)
  1302. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.2)
  1303. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(124)), 0.2)
  1304. LW.C0 = clerp(LW.C0, CF(-1.2* Player_Size, 0.8 + 0.02 * Sin(sine / 20* Player_Size), -.6* Player_Size) * angles(Rad(-45), Rad(-.6), Rad(136 - 4.5 * Sin(sine / 20))), 0.2)
  1305. end
  1306. attack = false
  1307. end
  1308. function Up_High_Noon()
  1309. print("Oh no.....")
  1310. attack = true
  1311. HighNoon:Play()
  1312. --Cso("814875394", char, 10, 1)
  1313. local orb = Instance.new("Part", char)
  1314. orb.Anchored = true
  1315. orb.BrickColor = BrickC("Really black")
  1316. orb.CanCollide = false
  1317. orb.FormFactor = 3
  1318. orb.Name = "Ring"
  1319. orb.Material = "Neon"
  1320. orb.Size = Vector3.new(1, 1, 1)
  1321. orb.Transparency = 0
  1322. orb.TopSurface = 0
  1323. orb.BottomSurface = 0
  1324. local orbm = Instance.new("SpecialMesh", orb)
  1325. orbm.MeshType = "Sphere"
  1326. orbm.Name = "SizeMesh"
  1327. orbm.Scale = Vector3.new(0, 0, 0)
  1328. local scaled = 0.1
  1329. local posid = 0
  1330. for i = 0, 109, 0.1 do
  1331. swait()
  1332. scaled = scaled + 0.001
  1333. posid = posid - scaled
  1334. orb.CFrame = ra.CFrame * CF(0, -0.1 + posid / 1.05, 0)
  1335. orbm.Scale = orbm.Scale + Vector3.new(scaled, scaled, scaled)
  1336. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.2)
  1337. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30), Rad(0), Rad(0)), 0.2)
  1338. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.2)
  1339. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.2)
  1340. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(180)), 0.2)
  1341. LW.C0 = clerp(LW.C0, CF(-1.2* Player_Size, 0.8 + 0.02 * Sin(sine / 20* Player_Size), -.6* Player_Size) * angles(Rad(-45), Rad(-.6), Rad(136 - 4.5 * Sin(sine / 20))), 0.2)
  1342. end
  1343. coroutine.resume(coroutine.create(function()
  1344. orb.Anchored = false
  1345. --CFuncs.Sound.Create("rbxassetid://260433768", root, 1.25, 1)
  1346. local a = Instance.new("Part", workspace)
  1347. a.Name = "Direction"
  1348. a.Anchored = true
  1349. a.BrickColor = BrickC("Bright red")
  1350. a.Material = "Neon"
  1351. a.Transparency = 1
  1352. a.CanCollide = false
  1353. local ray = Ray.new(orb.CFrame.p, (root.CFrame.lookVector - orb.CFrame.p).unit * 500)
  1354. local ignore = orb
  1355. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  1356. a.BottomSurface = 10
  1357. a.TopSurface = 10
  1358. local distance = (orb.CFrame.p - position).magnitude
  1359. a.Size = Vector3.new(0.1, 0.1, 0.1)
  1360. a.CFrame = CF(orb.CFrame.p, position) * CF(0, 0, 0)
  1361. orb.CFrame = a.CFrame
  1362. a:Destroy()
  1363. local bv = Instance.new("BodyVelocity")
  1364. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1365. bv.velocity = orb.CFrame.lookVector * 125
  1366. bv.Parent = orb
  1367. local hitted = false
  1368. game:GetService("Debris"):AddItem(orb, 15)
  1369. wait()
  1370. local hit = orb.Touched:connect(function(hit)
  1371. if hitted == false then
  1372. hitted = true
  1373. coroutine.resume(coroutine.create(function()
  1374. for i = 0,1.8,0.1 do
  1375. swait()
  1376. hum.CameraOffset = Vector3.new(Mrandom(-1,1),0,Mrandom(-1,1))
  1377. end
  1378. for i = 0,1.8,0.1 do
  1379. swait()
  1380. hum.CameraOffset = Vector3.new(0,0,0)
  1381. end
  1382. end))
  1383. CFuncs.Sound.Create("rbxassetid://151304356", orb, 5, 1)
  1384. for i, v in pairs(FindNearestHead(orb.CFrame.p, 50000)) do
  1385. if v:FindFirstChild("Head") then
  1386. Eviscerate(v)
  1387. end
  1388. end
  1389. Magic(1, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 1, BrickC("Really black"), "Sphere")
  1390. Magic(2, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 2, BrickC("Really black"), "Sphere")
  1391. for i = 0, 9 do
  1392. --Aura(1, 2.5, "Add", orb.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 5, 5, 50, -0.05, BrickColor.new("Royal purple"), 0, "Sphere")
  1393. --Aura(2, 5, "Add", orb.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 5, 5, 50, -0.05, BrickColor.new("Royal purple"), 0, "Sphere")
  1394. end
  1395. orb.Anchored = true
  1396. orb.Transparency = 1
  1397. wait(8)
  1398. orb:Destroy()
  1399. end
  1400. end)
  1401. end))
  1402. for i = 0, 6, 0.1 do
  1403. swait()
  1404. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.2)
  1405. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30), Rad(0), Rad(0)), 0.2)
  1406. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.2)
  1407. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.2)
  1408. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(124)), 0.2)
  1409. LW.C0 = clerp(LW.C0, CF(-1.2* Player_Size, 0.8 + 0.02 * Sin(sine / 20* Player_Size), -.6* Player_Size) * angles(Rad(-45), Rad(-.6), Rad(136 - 4.5 * Sin(sine / 20))), 0.2)
  1410. end
  1411. attack = false
  1412. end
  1413. -------------------------------------------------------
  1414. --End Attacks N Stuff--
  1415. -------------------------------------------------------
  1416. mouse.KeyDown:connect(function(key)
  1417. if string.byte(key) == 48 then
  1418. Swing = 2
  1419. hum.WalkSpeed = 38.82
  1420. end
  1421. end)
  1422. mouse.KeyUp:connect(function(key)
  1423. if string.byte(key) == 48 then
  1424. Swing = 1
  1425. hum.WalkSpeed = 8
  1426. end
  1427. end)
  1428. mouse.KeyDown:connect(function(key)
  1429. if attack == false then
  1430. if key == 'z' then
  1431. High_Noon()
  1432. elseif key == 'x' then
  1433. Up_High_Noon()
  1434. end
  1435. end
  1436. end)
  1437.  
  1438.  
  1439.  
  1440.  
  1441.  
  1442.  
  1443.  
  1444.  
  1445. -------------------------------------------------------
  1446. --Start Animations--
  1447. -------------------------------------------------------
  1448. while true do
  1449. swait()
  1450. sine = sine + change
  1451. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1452. local velderp = root.Velocity.y
  1453. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  1454. if equipped == true or equipped == false then
  1455. if attack == false then
  1456. idle = idle + 1
  1457. else
  1458. idle = 0
  1459. end
  1460. if 1 < root.Velocity.y and hitfloor == nil then
  1461. Anim = "Jump"
  1462. if attack == false then
  1463. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15)
  1464. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1465. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1466. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1467. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
  1468. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  1469. end
  1470. elseif -1 > root.Velocity.y and hitfloor == nil then
  1471. Anim = "Fall"
  1472. if attack == false then
  1473. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15)
  1474. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1475. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  1476. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  1477. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
  1478. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
  1479. end
  1480. elseif torvel < 1 and hitfloor ~= nil then
  1481. Anim = "Idle"
  1482. change = .5
  1483. if attack == false then
  1484. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1485. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1486. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1487. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1488. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(3 + 4.5 * Sin(sine / 20))), 0.1)
  1489. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20* Player_Size), 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(-3 - 4.5 * Sin(sine / 20))), 0.1)
  1490. end
  1491. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  1492. Anim = "Walk"
  1493. change = .9
  1494. if attack == false then
  1495. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
  1496. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(6 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  1497. RH.C0 = clerp(RH.C0, CF(1, -0.8 - 0.5 * Cos(sine / 7) / 2, 0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1498. LH.C0 = clerp(LH.C0, CF(-1, -0.8 + 0.5 * Cos(sine / 7) / 2, -0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1499. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0) * angles(Rad(37) * Cos(sine / 7) , Rad(0), Rad(-.6) - ra.RotVelocity.Y / 75), 0.1)
  1500. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), 0) * angles(Rad(-37) * Cos(sine / 7) , Rad(0) , Rad(.6) + la.RotVelocity.Y / 75), 0.1)
  1501. end
  1502. elseif torvel >= 25 and hitfloor ~= nil then
  1503. Anim = "Sprint"
  1504. change = 1.35
  1505. if attack == false then
  1506. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
  1507. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  1508. RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 - 35 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1509. LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 + 35 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1510. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.34 * Cos(sine / 7)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
  1511. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -0.34 * Cos(sine / 7)) * angles(Rad(-110) * Cos(sine / 7) , Rad(0) , Rad(-13) + la.RotVelocity.Y / 75), 0.15)
  1512. end
  1513. end
  1514. end
  1515. Music.SoundId = "rbxassetid://"..SONG
  1516. Music.Looped = true
  1517. Music.Pitch = 1
  1518. Music.Volume = 5
  1519. Music.Parent = tors
  1520. Music:Resume()
  1521. for _, c in pairs(char:GetChildren()) do
  1522. if c.ClassName == "Accessory" then
  1523. c:remove()
  1524. end
  1525. end
  1526. if 0 < #Effects then
  1527. for e = 1, #Effects do
  1528. if Effects[e] ~= nil then
  1529. local Thing = Effects[e]
  1530. if Thing ~= nil then
  1531. local Part = Thing[1]
  1532. local Mode = Thing[2]
  1533. local Delay = Thing[3]
  1534. local IncX = Thing[4]
  1535. local IncY = Thing[5]
  1536. local IncZ = Thing[6]
  1537. if 1 >= Thing[1].Transparency then
  1538. if Thing[2] == "Block1" then
  1539. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1540. local Mesh = Thing[1].Mesh
  1541. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1542. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1543. elseif Thing[2] == "Block2" then
  1544. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1545. local Mesh = Thing[7]
  1546. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1547. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1548. elseif Thing[2] == "Block3" then
  1549. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
  1550. local Mesh = Thing[7]
  1551. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1552. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1553. elseif Thing[2] == "Cylinder" then
  1554. local Mesh = Thing[1].Mesh
  1555. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1556. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1557. elseif Thing[2] == "Blood" then
  1558. local Mesh = Thing[7]
  1559. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1560. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1561. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1562. elseif Thing[2] == "Elec" then
  1563. local Mesh = Thing[1].Mesh
  1564. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1565. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1566. elseif Thing[2] == "Disappear" then
  1567. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1568. elseif Thing[2] == "Shatter" then
  1569. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1570. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1571. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1572. Thing[6] = Thing[6] + Thing[5]
  1573. end
  1574. else
  1575. Part.Parent = nil
  1576. table.remove(Effects, e)
  1577. end
  1578. end
  1579. end
  1580. end
  1581. end
  1582. end
  1583. -------------------------------------------------------
  1584. --End Animations And Script--
  1585. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement