Advertisement
megaluxe

axe

Aug 24th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 53.72 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility by WaverlyCole");InternalData = {}InternalData.RealOwner = owner;InternalData.RealObjs = {};InternalData.SoundLoudness = {};
  2. do
  3. script.Parent = InternalData.RealOwner.Character
  4. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput";InternalData.Event = Event
  5. local function createObject (connections, index)
  6. local proxy = newproxy (true);local meta = getmetatable (proxy);
  7. local runbind = function (self, i, ...) connections[i]:Fire (...); end;
  8. while (#connections > 0) do connections[table.remove(connections, 1)] = Instance.new ('BindableEvent');end;
  9. meta.__index = function (self, i)
  10. if (i == 'TriggerEvent') then return runbind end;
  11. return connections[i] and connections[i].Event or index[i];
  12. end;
  13. meta.__newindex = index;meta.__metatable = false;return proxy
  14. end;
  15. local Mouse = createObject({"KeyUp","KeyDown","Button1Down","Button1Up","Move","Button2Down","Button2Up"},{["Target"] = nil;["Hit"] = CFrame.new()})
  16. local UserInputService = createObject({"InputBegan","InputEnded"},{})
  17. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  18. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  19. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  20. Event.OnServerEvent:Connect(function(FiredBy,Input)
  21. if FiredBy ~= InternalData.RealOwner then return end
  22. if Input.MouseEvent then
  23. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  24. Mouse:TriggerEvent("Move")
  25. elseif Input.Sound then
  26. if InternalData.SoundLoudness[Input.Sound] then InternalData.SoundLoudness[Input.Sound] = Input.Loudness end
  27. else
  28. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  29. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TriggerEvent(Begin and "Button1Down" or "Button1Up") end
  30. if Input.UserInputType == Enum.UserInputType.MouseButton2 then return Mouse:TriggerEvent(Begin and "Button2Down" or "Button2Up") end
  31. for _,Action in pairs(ContextActionService.Actions) do
  32. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  33. end
  34. Mouse:TriggerEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower());UserInputService:TriggerEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  35. end
  36. end)
  37. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  38. Event.Parent = NLS([[
  39. local Player = owner;
  40. local Sounds = {};
  41. local Event = script:WaitForChild("UserInput");
  42. local UserInputService = game:GetService("UserInputService");
  43. local Mouse = Player:GetMouse();
  44. local Input = function(Input,gameProcessedEvent)
  45. if gameProcessedEvent then return end
  46. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  47. end
  48. Event.OnClientEvent:connect(function(Args)
  49. if Args[1] == "NewSound" then table.insert(Sounds,Args[2]) end
  50. end)
  51. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  52. local Hit,Target
  53. while wait(1/30) do
  54. for x,Sound in pairs(Sounds) do
  55. if Sound.Parent then Event:FireServer({["Sound"]=Sound,["Loudness"]=Sound.PlaybackLoudness}) end
  56. end
  57. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  58. Hit = Mouse.Hit;Target = Mouse.Target;
  59. Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  60. end
  61. end
  62. ]],InternalData.RealOwner.Character)
  63. end
  64. InternalData.NewOwner = setmetatable({},{
  65. __index = function (self,Index)
  66. local Type = type(InternalData.RealOwner[Index])
  67. if Type == "function" then
  68. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  69. return function (self)return InternalData["Mouse"] end
  70. end
  71. return function (self,...)return InternalData.RealOwner[Index](InternalData.RealOwner,...) end
  72. elseif Index == "FakePlayer" then
  73. return true
  74. end
  75. return InternalData.RealOwner[Index]
  76. end;
  77. __tostring = function(self) return tostring(InternalData.RealOwner) end
  78. })
  79. InternalData.LoadLibrary = LoadLibrary;LoadLibrary = function(Library)
  80. if Library == "RbxUtility" then
  81. return setmetatable({},{
  82. __tostring = function() return "RbxUtility" end;
  83. __index = function(self, Index)
  84. if Index:lower() == "create" then
  85. return function(Type)
  86. return function(Data)
  87. Data = Data or {}
  88. local Inst = Instance.new(Type)
  89. for x,y in pairs(Data) do
  90. if InternalData.RealObjs[y] then y = InternalData.RealObjs[y] end
  91. if y == owner then y = InternalData.RealOwner end
  92. Inst[x] = y
  93. end
  94. return Inst
  95. end
  96. end
  97. end
  98. return InternalData.LoadLibrary(Library)[Index]
  99. end
  100. })
  101. end
  102. return InternalData.LoadLibrary(Library)
  103. end
  104. InternalData.RealInstance = Instance;Instance = setmetatable({},{
  105. __index = function (self,Index)
  106. if Index:lower() == 'new' then
  107. return function (Type, Parent)
  108. if Parent == owner then Parent = InternalData.RealOwner end
  109. if InternalData.RealObjs[Parent] then Parent = InternalData.RealObjs[Parent] end
  110. local Real = InternalData.RealInstance.new(Type,Parent)
  111. if not Type then return end
  112. if Type == "BillboardGui" then
  113. local ToReturn = setmetatable({},{
  114. __index = function (self,Index)
  115. if type(Real[Index]) == "function" then
  116. if Index:lower() == "clone" then
  117. return function (self)
  118. local Real = Real:Clone()
  119. local ToReturn = setmetatable({RealObject = Real},{
  120. __index = function (self,Index)
  121. if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
  122. return Real[Index]
  123. end;
  124. __newindex = function (self,Index,Value)
  125. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  126. if Value == owner then Value = InternalData.RealOwner end
  127. Real[Index] = Value
  128. end;
  129. __tostring = function(self) return tostring(Real) end;
  130. })
  131. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  132. end
  133. end
  134. return function (self,...) return Real[Index](Real,...)end
  135. end
  136. return Real[Index]
  137. end;
  138. __newindex = function (self,Index,Value)
  139. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  140. if Value == owner then Value = InternalData.RealOwner end
  141. Real[Index] = Value
  142. end;
  143. __tostring = function(self) return tostring(Real) end;
  144. })
  145. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  146. elseif Type:lower() == "sound" then
  147. Real.Parent = owner.Character;
  148. local ToReturn = setmetatable({RealObject = Real},{
  149. __index = function (self,Index)
  150. if Index:lower() == "playbackloudness" then
  151. return InternalData.SoundLoudness[Real] or 0
  152. elseif type(Real[Index]) == "function" then
  153. if Index:lower() == "clone" then
  154. return function (self)
  155. local Real = Real:Clone()
  156. local ToReturn = setmetatable({},{
  157. __index = function (self,Index)
  158. if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
  159. return Real[Index]
  160. end;
  161. __newindex = function (self,Index,Value)
  162. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  163. if Value == owner then Value = InternalData.RealOwner end
  164. Real[Index] = Value
  165. end;
  166. __tostring = function(self) return tostring(Real) end;
  167. })
  168. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  169. end
  170. end
  171. return function (self,...) return Real[Index](Real,...)end
  172. end
  173. return Real[Index]
  174. end;
  175. __newindex = function (self,Index,Value)
  176. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  177. if Value == owner then Value = InternalData.RealOwner end
  178. Real[Index] = Value
  179. end;
  180. __tostring = function(self) return tostring(Real) end;
  181. })
  182. InternalData.RealObjs[ToReturn] = Real;InternalData.SoundLoudness[Real] = 0;repeat wait() until InternalData.Event.Parent InternalData.Event:FireClient(InternalData.RealOwner,{"NewSound",Real}) return ToReturn;
  183. else
  184. local ToReturn = setmetatable({RealObject = Real},{
  185. __index = function (self,Index)
  186. if type(Real[Index]) == "function" then
  187. if Index:lower() == "clone" then
  188. return function (self)
  189. local Real = Real:Clone()
  190. local ToReturn = setmetatable({},{
  191. __index = function (self,Index)
  192. if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
  193. return Real[Index]
  194. end;
  195. __newindex = function (self,Index,Value)
  196. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  197. if Value == owner then Value = InternalData.RealOwner end
  198. Real[Index] = Value
  199. end;
  200. __tostring = function(self) return tostring(Real) end;
  201. })
  202. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  203. end
  204. end
  205. return function (self,...) return Real[Index](Real,...)end
  206. end
  207. return Real[Index]
  208. end;
  209. __newindex = function (self,Index,Value)
  210. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  211. if Value == owner then Value = InternalData.RealOwner end
  212. Real[Index] = Value
  213. end;
  214. __tostring = function(self) return tostring(Real) end;
  215. })
  216. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  217. end
  218. end
  219. end
  220. return InternalData.RealInstance[Index]
  221. end;
  222. __tostring = function(self) return tostring(InternalData.RealInstance) end;
  223. });
  224. InternalData.RealGame = game;game = setmetatable({},{
  225. __index = function (self,Index)
  226. if InternalData.RealGame[Index] then
  227. local Type = type(InternalData.RealGame[Index])
  228. if Type == "function" then
  229. if Index:lower() == "getservice" or Index:lower() == "service" then
  230. return function (self,Service)
  231. local FakeServices = {
  232. ["players"] = function()
  233. return setmetatable({},{
  234. __index = function (self2,Index2)
  235. local RealService = InternalData.RealGame:GetService(Service)
  236. local Type2 = type(RealService[Index2])
  237. if Type2 == "function" then
  238. return function (self,...) return RealService[Index2](RealService,...)end
  239. else
  240. if Index2:lower() == "localplayer" then return InternalData.NewOwner end
  241. return RealService[Index2]
  242. end
  243. end;
  244. __tostring = function(self) return tostring(InternalData.RealGame:GetService(Service)) end
  245. })
  246. end;
  247. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  248. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  249. ["debris"] = function()
  250. return setmetatable({},{
  251. __index = function(self2,Index2)
  252. local RealService = InternalData.RealGame:GetService(Service)
  253. local Type2 = type(RealService[Index2])
  254. if Type2 == "function" then
  255. if Index2:lower() == "additem" then
  256. return function (self,Item,Time)
  257. if InternalData.RealObjs[Item] then Item = InternalData.RealObjs[Item] end
  258. return RealService:AddItem(Item,Time)
  259. end
  260. end
  261. return function (self,...) return RealService[Index2](RealService,...) end
  262. end
  263. return RealService[Index2]
  264. end;
  265. __tostring = function(self) return tostring(InternalData.RealGame:GetService("Debris")) end
  266. })
  267. end;
  268. ["runservice"] = function()
  269. return setmetatable({},{
  270. __index = function(self2,Index2)
  271. local RealService = InternalData.RealGame:GetService(Service)
  272. local Type2 = type(RealService[Index2])
  273. if Type2 == "function" then
  274. return function (self,...) return RealService[Index2](RealService,...) end
  275. else
  276. local RunServices = {
  277. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return InternalData.RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  278. ["renderstepped"] = function() return RealService["Stepped"] end
  279. }
  280. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  281. return RealService[Index2]
  282. end
  283. end;
  284. __tostring = function(self) return tostring(InternalData.RealGame:GetService("RunService")) end
  285. })
  286. end
  287. }
  288. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  289. return InternalData.RealGame:GetService(Service)
  290. end
  291. end
  292. return function (self,...) return InternalData.RealGame[Index](InternalData.RealGame,...) end
  293. else
  294. if game:GetService(Index) then return game:GetService(Index) end
  295. return InternalData.RealGame[Index]
  296. end
  297. end
  298. return nil
  299. end;
  300. __tostring = function(self) return tostring(InternalData.game) end
  301. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete!")
  302.  
  303. --//Paste script below this line.
  304. --//====================================================\\--
  305. --|| CREATED BY SHACKLUSTER
  306. --\\====================================================//--
  307.  
  308.  
  309.  
  310. wait(0.2)
  311.  
  312.  
  313.  
  314. Player = game:GetService("Players").YOURNAME -- put your roblox username here
  315. PlayerGui = Player.PlayerGui
  316. Cam = workspace.CurrentCamera
  317. Backpack = Player.Backpack
  318. Character = Player.Character
  319. Humanoid = Character.Humanoid
  320. Mouse = Player:GetMouse()
  321. RootPart = Character["HumanoidRootPart"]
  322. Torso = Character["Torso"]
  323. Head = Character["Head"]
  324. RightArm = Character["Right Arm"]
  325. LeftArm = Character["Left Arm"]
  326. RightLeg = Character["Right Leg"]
  327. LeftLeg = Character["Left Leg"]
  328. RootJoint = RootPart["RootJoint"]
  329. Neck = Torso["Neck"]
  330. RightShoulder = Torso["Right Shoulder"]
  331. LeftShoulder = Torso["Left Shoulder"]
  332. RightHip = Torso["Right Hip"]
  333. LeftHip = Torso["Left Hip"]
  334. local sick = Instance.new("Sound",Character)
  335. sick.SoundId = "rbxassetid://165704299"
  336. sick.Looped = true
  337. sick.Pitch = 0.8
  338. sick.Volume = 1
  339. sick:Play()
  340. Humanoid.DisplayDistanceType = "None"
  341. game.Lighting.ClockTime = 22
  342.  
  343. IT = Instance.new
  344. CF = CFrame.new
  345. VT = Vector3.new
  346. RAD = math.rad
  347. C3 = Color3.new
  348. UD2 = UDim2.new
  349. BRICKC = BrickColor.new
  350. ANGLES = CFrame.Angles
  351. EULER = CFrame.fromEulerAnglesXYZ
  352. COS = math.cos
  353. ACOS = math.acos
  354. SIN = math.sin
  355. ASIN = math.asin
  356. ABS = math.abs
  357. MRANDOM = math.random
  358. FLOOR = math.floor
  359.  
  360. local Sky = IT("Sky")
  361. Sky.Parent = game.Lighting
  362. Sky.MoonAngularSize = 45
  363. Sky.MoonTextureId = "http://www.roblox.com/asset/?id=1055904136"
  364.  
  365. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  366. local NEWMESH = IT(MESH)
  367. if MESH == "SpecialMesh" then
  368. NEWMESH.MeshType = MESHTYPE
  369. if MESHID ~= "nil" and MESHID ~= "" then
  370. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  371. end
  372. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  373. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  374. end
  375. end
  376. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  377. NEWMESH.Scale = SCALE
  378. NEWMESH.Parent = PARENT
  379. return NEWMESH
  380. end
  381.  
  382. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  383. local NEWPART = IT("Part")
  384. NEWPART.formFactor = FORMFACTOR
  385. NEWPART.Reflectance = REFLECTANCE
  386. NEWPART.Transparency = TRANSPARENCY
  387. NEWPART.CanCollide = false
  388. NEWPART.Locked = true
  389. NEWPART.Anchored = true
  390. if ANCHOR == false then
  391. NEWPART.Anchored = false
  392. end
  393. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  394. NEWPART.Name = NAME
  395. NEWPART.Size = SIZE
  396. NEWPART.Position = Torso.Position
  397. NEWPART.Material = MATERIAL
  398. NEWPART:BreakJoints()
  399. NEWPART.Parent = PARENT
  400. return NEWPART
  401. end
  402.  
  403. --//=================================\\
  404. --|| CUSTOMIZATION
  405. --\\=================================//
  406.  
  407. Player_Size = 1 --Size of the player.
  408. Animation_Speed = 3
  409. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  410.  
  411. local Speed = 16
  412. local Effects2 = {}
  413.  
  414. --//=================================\\
  415. --|| END OF CUSTOMIZATION
  416. --\\=================================//
  417.  
  418. local function weldBetween(a, b)
  419. local weldd = Instance.new("ManualWeld")
  420. weldd.Part0 = a
  421. weldd.Part1 = b
  422. weldd.C0 = CFrame.new()
  423. weldd.C1 = b.CFrame:inverse() * a.CFrame
  424. weldd.Parent = a
  425. return weldd
  426. end
  427.  
  428. --//=================================\\
  429. --|| USEFUL VALUES
  430. --\\=================================//
  431.  
  432. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  433. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  434. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  435. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  436. local CHANGEDEFENSE = 0
  437. local CHANGEDAMAGE = 0
  438. local CHANGEMOVEMENT = 0
  439. local ANIM = "Idle"
  440. local ATTACK = false
  441. local EQUIPPED = false
  442. local HOLD = false
  443. local COMBO = 1
  444. local Rooted = false
  445. local SINE = 0
  446. local KEYHOLD = false
  447. local CHANGE = 2 / Animation_Speed
  448. local WALKINGANIM = false
  449. local WALK = 0
  450. local VALUE1 = false
  451. local VALUE2 = false
  452. local ROBLOXIDLEANIMATION = IT("Animation")
  453. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  454. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  455. --ROBLOXIDLEANIMATION.Parent = Humanoid
  456. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  457. WEAPONGUI.Name = "Weapon GUI"
  458. local Weapon = IT("Model")
  459. Weapon.Name = "Adds"
  460. local Effects = IT("Folder", Weapon)
  461. Effects.Name = "Effects"
  462. local ANIMATOR = Humanoid.Animator
  463. local ANIMATE = Character.Animate
  464. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  465. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  466. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  467. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  468. local UNANCHOR = true
  469. local KILLINSTINCT = 0
  470.  
  471. local SKILLTEXTCOLOR = C3(1,0,0)
  472.  
  473. --//=================================\\
  474. --\\=================================//
  475.  
  476.  
  477. --//=================================\\
  478. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  479. --\\=================================//
  480.  
  481. ArtificialHB = Instance.new("BindableEvent", script)
  482. ArtificialHB.Name = "ArtificialHB"
  483.  
  484. script:WaitForChild("ArtificialHB")
  485.  
  486. frame = Frame_Speed
  487. tf = 0
  488. allowframeloss = false
  489. tossremainder = false
  490. lastframe = tick()
  491. script.ArtificialHB:Fire()
  492.  
  493. game:GetService("RunService").Heartbeat:connect(function(s, p)
  494. tf = tf + s
  495. if tf >= frame then
  496. if allowframeloss then
  497. script.ArtificialHB:Fire()
  498. lastframe = tick()
  499. else
  500. for i = 1, math.floor(tf / frame) do
  501. script.ArtificialHB:Fire()
  502. end
  503. lastframe = tick()
  504. end
  505. if tossremainder then
  506. tf = 0
  507. else
  508. tf = tf - frame * math.floor(tf / frame)
  509. end
  510. end
  511. end)
  512.  
  513. --//=================================\\
  514. --\\=================================//
  515.  
  516.  
  517.  
  518.  
  519.  
  520. --//=================================\\
  521. --|| SOME FUNCTIONS
  522. --\\=================================//
  523.  
  524. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  525. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  526. end
  527.  
  528. function PositiveAngle(NUMBER)
  529. if NUMBER >= 0 then
  530. NUMBER = 0
  531. end
  532. return NUMBER
  533. end
  534.  
  535. function NegativeAngle(NUMBER)
  536. if NUMBER <= 0 then
  537. NUMBER = 0
  538. end
  539. return NUMBER
  540. end
  541.  
  542. function Swait(NUMBER)
  543. if NUMBER == 0 or NUMBER == nil then
  544. ArtificialHB.Event:wait()
  545. else
  546. for i = 1, NUMBER do
  547. ArtificialHB.Event:wait()
  548. end
  549. end
  550. end
  551.  
  552. function QuaternionFromCFrame(cf)
  553. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  554. local trace = m00 + m11 + m22
  555. if trace > 0 then
  556. local s = math.sqrt(1 + trace)
  557. local recip = 0.5 / s
  558. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  559. else
  560. local i = 0
  561. if m11 > m00 then
  562. i = 1
  563. end
  564. if m22 > (i == 0 and m00 or m11) then
  565. i = 2
  566. end
  567. if i == 0 then
  568. local s = math.sqrt(m00 - m11 - m22 + 1)
  569. local recip = 0.5 / s
  570. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  571. elseif i == 1 then
  572. local s = math.sqrt(m11 - m22 - m00 + 1)
  573. local recip = 0.5 / s
  574. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  575. elseif i == 2 then
  576. local s = math.sqrt(m22 - m00 - m11 + 1)
  577. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  578. end
  579. end
  580. end
  581.  
  582. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  583. local xs, ys, zs = x + x, y + y, z + z
  584. local wx, wy, wz = w * xs, w * ys, w * zs
  585. local xx = x * xs
  586. local xy = x * ys
  587. local xz = x * zs
  588. local yy = y * ys
  589. local yz = y * zs
  590. local zz = z * zs
  591. 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))
  592. end
  593.  
  594. function QuaternionSlerp(a, b, t)
  595. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  596. local startInterp, finishInterp;
  597. if cosTheta >= 0.0001 then
  598. if (1 - cosTheta) > 0.0001 then
  599. local theta = ACOS(cosTheta)
  600. local invSinTheta = 1 / SIN(theta)
  601. startInterp = SIN((1 - t) * theta) * invSinTheta
  602. finishInterp = SIN(t * theta) * invSinTheta
  603. else
  604. startInterp = 1 - t
  605. finishInterp = t
  606. end
  607. else
  608. if (1 + cosTheta) > 0.0001 then
  609. local theta = ACOS(-cosTheta)
  610. local invSinTheta = 1 / SIN(theta)
  611. startInterp = SIN((t - 1) * theta) * invSinTheta
  612. finishInterp = SIN(t * theta) * invSinTheta
  613. else
  614. startInterp = t - 1
  615. finishInterp = t
  616. end
  617. end
  618. 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
  619. end
  620.  
  621. function Clerp(a, b, t)
  622. local qa = {QuaternionFromCFrame(a)}
  623. local qb = {QuaternionFromCFrame(b)}
  624. local ax, ay, az = a.x, a.y, a.z
  625. local bx, by, bz = b.x, b.y, b.z
  626. local _t = 1 - t
  627. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  628. end
  629.  
  630. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  631. local frame = IT("Frame")
  632. frame.BackgroundTransparency = TRANSPARENCY
  633. frame.BorderSizePixel = BORDERSIZEPIXEL
  634. frame.Position = POSITION
  635. frame.Size = SIZE
  636. frame.BackgroundColor3 = COLOR
  637. frame.BorderColor3 = BORDERCOLOR
  638. frame.Name = NAME
  639. frame.Parent = PARENT
  640. return frame
  641. end
  642.  
  643. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  644. local label = IT("TextLabel")
  645. label.BackgroundTransparency = 1
  646. label.Size = UD2(1, 0, 1, 0)
  647. label.Position = UD2(0, 0, 0, 0)
  648. label.TextColor3 = TEXTCOLOR
  649. label.TextStrokeTransparency = STROKETRANSPARENCY
  650. label.TextTransparency = TRANSPARENCY
  651. label.FontSize = TEXTFONTSIZE
  652. label.Font = TEXTFONT
  653. label.BorderSizePixel = BORDERSIZEPIXEL
  654. label.TextScaled = false
  655. label.Text = TEXT
  656. label.Name = NAME
  657. label.Parent = PARENT
  658. return label
  659. end
  660.  
  661. function NoOutlines(PART)
  662. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  663. end
  664.  
  665.  
  666. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  667. local NEWWELD = IT(TYPE)
  668. NEWWELD.Part0 = PART0
  669. NEWWELD.Part1 = PART1
  670. NEWWELD.C0 = C0
  671. NEWWELD.C1 = C1
  672. NEWWELD.Parent = PARENT
  673. return NEWWELD
  674. end
  675.  
  676. function CreateSound(ID, PARENT, VOLUME, PITCH)
  677. local NEWSOUND = nil
  678. coroutine.resume(coroutine.create(function()
  679. NEWSOUND = IT("Sound", PARENT)
  680. NEWSOUND.Volume = VOLUME
  681. NEWSOUND.Pitch = PITCH
  682. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  683. Swait()
  684. NEWSOUND:play()
  685. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  686. end))
  687. return NEWSOUND
  688. end
  689.  
  690. function CFrameFromTopBack(at, top, back)
  691. local right = top:Cross(back)
  692. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  693. end
  694.  
  695. function MakeForm(PART,TYPE)
  696. if TYPE == "Cyl" then
  697. local MSH = IT("CylinderMesh",PART)
  698. elseif TYPE == "Ball" then
  699. local MSH = IT("SpecialMesh",PART)
  700. MSH.MeshType = "Sphere"
  701. elseif TYPE == "Wedge" then
  702. local MSH = IT("SpecialMesh",PART)
  703. MSH.MeshType = "Wedge"
  704. end
  705. end
  706.  
  707. Debris = game:GetService("Debris")
  708. --//=================================\\
  709. --|| WEAPON CREATION
  710. --\\=================================//
  711.  
  712. local HandlePart = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0.2, 3.39, 1.61),false)
  713. local HandleMesh = CreateMesh("SpecialMesh", HandlePart, "FileMesh", "145815658", "186913315", VT(1,1,1), VT(0, 0, 0))
  714. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0,-1,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  715.  
  716. local DECAL = IT("Decal",HandlePart)
  717. DECAL.Texture = "http://www.roblox.com/asset/?id=116830967"
  718.  
  719. for _, c in pairs(Weapon:GetChildren()) do
  720. if c.ClassName == "Part" then
  721. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  722. end
  723. end
  724.  
  725. local A = IT("Attachment",HandlePart)
  726. A.Position = VT(0, -1.5, 0)
  727. local B = IT("Attachment",HandlePart)
  728. B.Position = VT(0, 2.2, 0.2)
  729. local Trail = IT("Trail",HandlePart)
  730. Trail.Attachment0 = A
  731. Trail.Attachment1 = B
  732. Trail.Lifetime = 0.1
  733. Trail.Transparency = NumberSequence.new(0.8, 1)
  734. Trail.Enabled = false
  735.  
  736. Weapon.Parent = Character
  737.  
  738. Humanoid.Died:connect(function()
  739. ATTACK = true
  740. end)
  741.  
  742. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  743. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  744. --local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.23, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  745. --local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.50, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  746. --local SKILL5FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  747.  
  748. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[CLICK] Swing", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 1, "Text 1")
  749. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Enrage", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 1, "Text 2")
  750. --local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, 6, "Legacy", 0, 2, 1, "Text 3")
  751. --local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, 6, "Legacy", 0, 2, 1, "Text 4")
  752. --local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Ability 5", SKILLTEXTCOLOR, 6, "Legacy", 0, 2, 1, "Text 5")
  753.  
  754. --//=================================\\
  755. --|| DAMAGING
  756. --\\=================================//
  757.  
  758. local asd = Instance.new("ParticleEmitter")
  759. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.1, 0, 0))
  760. asd.LightEmission = .1
  761. asd.Size = NumberSequence.new(0.2)
  762. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  763. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  764. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  765. asd.Transparency = bbb
  766. asd.Size = aaa
  767. asd.ZOffset = .9
  768. asd.Acceleration = Vector3.new(0, -5, 0)
  769. asd.LockedToPart = false
  770. asd.EmissionDirection = "Back"
  771. asd.Lifetime = NumberRange.new(1, 2)
  772. asd.Rotation = NumberRange.new(-100, 100)
  773. asd.RotSpeed = NumberRange.new(-100, 100)
  774. asd.Speed = NumberRange.new(2)
  775. asd.Enabled = false
  776. asd.VelocitySpread = 10000
  777.  
  778. function getbloody(victim,amount)
  779. local prtcl = asd:Clone()
  780. prtcl.Parent = victim
  781. prtcl:Emit(amount)
  782. end
  783.  
  784. local TORSOVELOCITY = 0
  785.  
  786. function Ragdoll(Character2,CharTorso)
  787. local svch = Character2
  788. local hum = Character2:findFirstChild("Humanoid")
  789. local q = Character2:GetChildren()
  790. local CLONE = IT("Model",Effects)
  791. local DummyHead = nil
  792. for i = 1,#q do
  793. if q[i].ClassName ~= "Humanoid" and q[i].ClassName ~= "LocalScript" and q[i].ClassName ~= "Script" and q[i].ClassName ~= "Accessory" and q[i].ClassName ~= "Hat" and q[i].ClassName ~= "Gear" then
  794. q[i].Parent = CLONE
  795. if q[i].Name == "Head" then
  796. DummyHead = CLONE.Head:Clone()
  797. q[i]:ClearAllChildren()
  798. q[i].Transparency = 1
  799. end
  800. else
  801. if q[i].ClassName ~= "Humanoid" then
  802. q[i]:remove()
  803. end
  804. end
  805. end
  806. local chrclone = CLONE
  807.  
  808. for _, c in pairs(Character2:GetChildren()) do
  809. if c.ClassName == "Accessory" then
  810. c:remove()
  811. end
  812. end
  813.  
  814. local ch = chrclone:GetChildren()
  815. local i
  816. for i = 1,#ch do
  817. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
  818. ch[i]:remove()
  819. end
  820. end
  821. local function Scan(ch)
  822. local e
  823. for e = 1,#ch do
  824. Scan(ch[e]:GetChildren())
  825. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  826. ch[e]:remove()
  827. end
  828. end
  829. end
  830. Scan(chrclone:GetChildren())
  831.  
  832. local ch = Character2:GetChildren()
  833. local i
  834. for i = 1,#ch do
  835. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  836. ch[i]:remove()
  837. end
  838. end
  839.  
  840. local ch = Character2:GetChildren()
  841. local i
  842. for i = 1,#ch do
  843. if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  844. ch[i]:remove()
  845. end
  846. end
  847. Character2 = chrclone
  848. local Torso2 = Character2.Torso
  849. local movevector = Vector3.new()
  850.  
  851. if Torso2 then
  852. movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
  853. local Head = Character2:FindFirstChild("Head")
  854. if Head then
  855. local Neck = Instance.new("Weld")
  856. Neck.Name = "Neck"
  857. Neck.Part0 = Torso2
  858. Neck.Part1 = Head
  859. Neck.C0 = CFrame.new(0, 1.5, 0)
  860. Neck.C1 = CFrame.new()
  861. Neck.Parent = Torso2
  862. Head:ClearAllChildren()
  863. Head.Transparency = 1
  864.  
  865. end
  866. local Limb = Character2:FindFirstChild("Right Arm")
  867. if Limb then
  868.  
  869. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  870. local Joint = Instance.new("Glue")
  871. Joint.Name = "RightShoulder"
  872. Joint.Part0 = Torso2
  873. Joint.Part1 = Limb
  874. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  875. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  876. Joint.Parent = Torso2
  877.  
  878. local B = Instance.new("Part")
  879. B.TopSurface = 0
  880. B.BottomSurface = 0
  881. B.formFactor = "Symmetric"
  882. B.Size = Vector3.new(1, 1, 1)
  883. B.Transparency = 1
  884. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  885. B.Parent = Character2
  886. local W = Instance.new("Weld")
  887. W.Part0 = Limb
  888. W.Part1 = B
  889. W.C0 = CFrame.new(0, -0.5, 0)
  890. W.Parent = Limb
  891.  
  892. end
  893. local Limb = Character2:FindFirstChild("Left Arm")
  894. if Limb then
  895.  
  896. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  897. local Joint = Instance.new("Glue")
  898. Joint.Name = "LeftShoulder"
  899. Joint.Part0 = Torso2
  900. Joint.Part1 = Limb
  901. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  902. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  903. Joint.Parent = Torso2
  904.  
  905. local B = Instance.new("Part")
  906. B.TopSurface = 0
  907. B.BottomSurface = 0
  908. B.formFactor = "Symmetric"
  909. B.Size = Vector3.new(1, 1, 1)
  910. B.Transparency = 1
  911. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  912. B.Parent = Character2
  913. local W = Instance.new("Weld")
  914. W.Part0 = Limb
  915. W.Part1 = B
  916. W.C0 = CFrame.new(0, -0.5, 0)
  917. W.Parent = Limb
  918.  
  919. end
  920. local Limb = Character2:FindFirstChild("Right Leg")
  921. if Limb then
  922.  
  923. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  924. local Joint = Instance.new("Glue")
  925. Joint.Name = "RightHip"
  926. Joint.Part0 = Torso2
  927. Joint.Part1 = Limb
  928. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  929. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  930. Joint.Parent = Torso2
  931.  
  932. local B = Instance.new("Part")
  933. B.TopSurface = 0
  934. B.BottomSurface = 0
  935. B.formFactor = "Symmetric"
  936. B.Size = Vector3.new(1, 1, 1)
  937. B.Transparency = 1
  938. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  939. B.Parent = Character2
  940. local W = Instance.new("Weld")
  941. W.Part0 = Limb
  942. W.Part1 = B
  943. W.C0 = CFrame.new(0, -0.5, 0)
  944. W.Parent = Limb
  945.  
  946. end
  947. local Limb = Character2:FindFirstChild("Left Leg")
  948. if Limb then
  949.  
  950. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  951. local Joint = Instance.new("Glue")
  952. Joint.Name = "LeftHip"
  953. Joint.Part0 = Torso2
  954. Joint.Part1 = Limb
  955. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  956. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  957. Joint.Parent = Torso2
  958.  
  959. local B = Instance.new("Part")
  960. B.TopSurface = 0
  961. B.BottomSurface = 0
  962. B.formFactor = "Symmetric"
  963. B.Size = Vector3.new(1, 1, 1)
  964. B.Transparency = 1
  965. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  966. B.Parent = Character2
  967. local W = Instance.new("Weld")
  968. W.Part0 = Limb
  969. W.Part1 = B
  970. W.C0 = CFrame.new(0, -0.5, 0)
  971. W.Parent = Limb
  972.  
  973. end
  974. --[
  975. local Bar = Instance.new("Part")
  976. Bar.TopSurface = 0
  977. Bar.BottomSurface = 0
  978. Bar.formFactor = "Symmetric"
  979. Bar.Size = Vector3.new(1, 1, 1)
  980. Bar.Transparency = 1
  981. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  982. Bar.Parent = Character2
  983. local Weld = Instance.new("Weld")
  984. Weld.Part0 = Torso2
  985. Weld.Part1 = Bar
  986. Weld.C0 = CFrame.new(0, 0.5, 0)
  987. Weld.Parent = Torso2
  988. --]]
  989. end
  990. Character2.Parent = Weapon
  991. if movevector ~= Vector3.new() then
  992. for i = 1,10 do
  993. Torso2.Velocity = movevector * 30
  994. end
  995. end
  996. DummyHead.Name = "FakeHead"
  997. DummyHead.Parent = CLONE
  998. local BLOOD = CreatePart(3, DummyHead, "Glass", 0, 0, "Maroon", "Blood", VT(0.65,0.25,0.65),false)
  999. BLOOD.CFrame = DummyHead.CFrame*CF(0,-DummyHead.Size.Y/2,0)
  1000. MakeForm(BLOOD,"Cyl")
  1001. weldBetween(DummyHead,BLOOD)
  1002. local BLOOD = CreatePart(3, Torso2, "Glass", 0, 0, "Maroon", "Blood", VT(0.65,0.2,0.65),false)
  1003. BLOOD.CFrame = Torso2.CFrame*CF(0,Torso2.Size.Y/2,0)
  1004. MakeForm(BLOOD,"Cyl")
  1005. weldBetween(Torso2,BLOOD)
  1006. Character2.Name = "Corpse"
  1007. local hum2 = svch:findFirstChild("Humanoid")
  1008.  
  1009. return Character2,Torso2,DummyHead
  1010. end
  1011.  
  1012. function PuddleOfBlood(Position,MaxDrop,Model,MaxSize)
  1013. local HITFLOOR, HITPOS = Raycast(Position, (CF(Position, Position + VT(0, -1, 0))).lookVector, MaxDrop, Model)
  1014. if HITFLOOR ~= nil then
  1015. if HITFLOOR.Parent ~= Weapon and HITFLOOR.Parent ~= Character then
  1016. if HITFLOOR.Name == "BloodPuddle" then
  1017. local DIST = (Position - HITFLOOR.Position).Magnitude
  1018. if (HITFLOOR.Size.Z <= 5 and HITFLOOR.Size.Z < MaxSize) or (HITFLOOR.Size.Z > 5 and HITFLOOR.Size.Z < MaxSize and DIST < HITFLOOR.Size.Z/3) then
  1019. HITFLOOR.Size = HITFLOOR.Size + VT(0.1,0,0.1)
  1020. end
  1021. else
  1022. if HITFLOOR.Anchored == true then
  1023. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Maroon", "BloodPuddle", VT(1,0,1))
  1024. BLOOD.CFrame = CF(HITPOS)
  1025. MakeForm(BLOOD,"Cyl")
  1026. coroutine.resume(coroutine.create(function()
  1027. Swait(75)
  1028. while true do
  1029. Swait()
  1030. BLOOD.Size = BLOOD.Size - VT(0.02,0,0.02)
  1031. if BLOOD.Size.Z < 0.051 then
  1032. BLOOD:remove()
  1033. break
  1034. end
  1035. end
  1036. end))
  1037. end
  1038. end
  1039. end
  1040. end
  1041. end
  1042.  
  1043. function SprayBlood(POSITION,DIRECTION,BloodSize)
  1044. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Maroon", "BloodPuddle", VT(0.5,0.5,0.5),false)
  1045. BLOOD.CFrame = CF(POSITION)
  1046. MakeForm(BLOOD,"Ball")
  1047. local bv = Instance.new("BodyVelocity",BLOOD)
  1048. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1049. bv.velocity = CF(POSITION,DIRECTION+VT(MRANDOM(-3,3)/30,MRANDOM(-3,3)/30,MRANDOM(-3,3)/30)).lookVector*15
  1050. bv.Name = "MOVE"
  1051. Debris:AddItem(bv,0.05)
  1052. coroutine.resume(coroutine.create(function()
  1053. local HASTOUCHEDGROUND = false
  1054. local HIT = BLOOD.Touched:Connect(function(hit)
  1055. if hit.Anchored == true then
  1056. HASTOUCHEDGROUND = true
  1057. PuddleOfBlood(BLOOD.Position+VT(0,1,0),2,BLOOD,BloodSize)
  1058. end
  1059. end)
  1060. for i = 1, 50 do
  1061. Swait()
  1062. if HASTOUCHEDGROUND == true then
  1063. break
  1064. end
  1065. BLOOD.Size = BLOOD.Size * 0.9
  1066. end
  1067. BLOOD:remove()
  1068. end))
  1069. end
  1070.  
  1071. function Kill(Target)
  1072. if Target.Parent ~= Weapon and Target:FindFirstChildOfClass("Humanoid") then
  1073. Target:BreakJoints()
  1074. local CFRAME = Target:FindFirstChild("Torso").CFrame or Target:FindFirstChild("UpperTorso")
  1075. local CLONE,TORS2,DummyHead = Ragdoll(Target,Torso)
  1076. getbloody(DummyHead,45)
  1077. if TORS2 ~= nil then
  1078. CreateSound("185688060", TORS2, 10, (math.random(8,12)/10))
  1079. CreateSound("337800380", DummyHead, 5, (math.random(8,18)/10))
  1080. local HUM = IT("Humanoid")
  1081. HUM.MaxHealth = 0
  1082. HUM.Health = 0
  1083. HUM.Name = "CorpseHumanoid"
  1084. HUM.PlatformStand = true
  1085. HUM.Parent = CLONE
  1086. KILLINSTINCT = KILLINSTINCT + 20
  1087. TORS2.CFrame = CFRAME
  1088. coroutine.resume(coroutine.create(function()
  1089. for i = 1, 450 do
  1090. wait()
  1091. SprayBlood(DummyHead.CFrame*CF(0,-0.25,0).p,DummyHead.CFrame*CF(0,-0.7,0).p,5)
  1092. SprayBlood(TORS2.CFrame*CF(0,TORS2.Size.Y/2,0).p,TORS2.CFrame*CF(0,TORS2.Size.Y,0).p,10)
  1093. --PuddleOfBlood(DummyHead.CFrame*CF(0,-0.25,0).p,4,CLONE,3)
  1094. --PuddleOfBlood(TORS2.CFrame*CF(0,TORS2.Size.Y/2,0).p,8,CLONE,6)
  1095. end
  1096. CLONE:Remove()
  1097. end))
  1098. end
  1099. end
  1100. end
  1101.  
  1102. --//=================================\\
  1103. --|| ATTACK FUNCTIONS AND STUFF
  1104. --\\=================================//
  1105.  
  1106. function Swing()
  1107. ATTACK = true
  1108. Rooted = false
  1109. for i=0, 1, 0.1 / Animation_Speed do
  1110. Swait()
  1111. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 0.7 / Animation_Speed)
  1112. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 0.7 / Animation_Speed)
  1113. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1114. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1115. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1116. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1117. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(-125), RAD(0), RAD(180)), 0.5 / Animation_Speed)
  1118. end
  1119. Trail.Enabled = true
  1120. HandlePart.CanCollide = true
  1121. CreateSound("185687991", HandlePart, 1, (math.random(8,12)/10))
  1122. local HIT = HandlePart.Touched:Connect(function(hit)
  1123. Kill(hit.Parent)
  1124. end)
  1125. for i=0, 0.8, 0.1 / Animation_Speed do
  1126. Swait()
  1127. if Speed == 25 and TORSOVELOCITY > 0.3 then
  1128. RootPart.CFrame = RootPart.CFrame * CF(0,0,-1)
  1129. end
  1130. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.7 / Animation_Speed)
  1131. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.7 / Animation_Speed)
  1132. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.7) * ANGLES(RAD(15), RAD(0), RAD(90)) * ANGLES(RAD(140), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1133. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1134. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1135. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1136. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(25), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1137. end
  1138. Trail.Enabled = false
  1139. HandlePart.CanCollide = false
  1140. HIT:disconnect()
  1141. ATTACK = false
  1142. Rooted = false
  1143. end
  1144.  
  1145. function Laugh()
  1146. ATTACK = true
  1147. Rooted = true
  1148. CreateSound("1238240145", Torso, 6, 1)
  1149. for i=0, 3.5, 0.1 / Animation_Speed do
  1150. Swait()
  1151. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1152. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-35 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1153. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45 - 0.35 * COS(SINE / 2), 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1154. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1155. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1156. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1157. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(-125), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1158. end
  1159. ATTACK = false
  1160. Rooted = false
  1161. end
  1162.  
  1163. --//=================================\\
  1164. --|| ASSIGN THINGS TO KEYS
  1165. --\\=================================//
  1166.  
  1167. function MouseDown(Mouse)
  1168. if ATTACK == false then
  1169. Swing()
  1170. end
  1171. end
  1172.  
  1173. function MouseUp(Mouse)
  1174. HOLD = false
  1175. end
  1176.  
  1177. function KeyDown(Key)
  1178. KEYHOLD = true
  1179. if Key == "b" and ATTACK == false then
  1180. if Speed == 10 then
  1181. Speed = 25
  1182. elseif Speed == 25 then
  1183. Speed = 10
  1184. end
  1185. end
  1186.  
  1187. if Key == "t" and ATTACK == false then
  1188. Laugh()
  1189. end
  1190. end
  1191.  
  1192. function KeyUp(Key)
  1193. KEYHOLD = false
  1194. end
  1195.  
  1196. Mouse.Button1Down:connect(function(NEWKEY)
  1197. MouseDown(NEWKEY)
  1198. end)
  1199. Mouse.Button1Up:connect(function(NEWKEY)
  1200. MouseUp(NEWKEY)
  1201. end)
  1202. Mouse.KeyDown:connect(function(NEWKEY)
  1203. KeyDown(NEWKEY)
  1204. end)
  1205. Mouse.KeyUp:connect(function(NEWKEY)
  1206. KeyUp(NEWKEY)
  1207. end)
  1208.  
  1209. --//=================================\\
  1210. --\\=================================//
  1211.  
  1212.  
  1213. function unanchor()
  1214. if UNANCHOR == true then
  1215. g = Character:GetChildren()
  1216. for i = 1, #g do
  1217. if g[i].ClassName == "Part" then
  1218. g[i].Anchored = false
  1219. end
  1220. end
  1221. end
  1222. end
  1223.  
  1224.  
  1225. --//=================================\\
  1226. --|| WRAP THE WHOLE SCRIPT UP
  1227. --\\=================================//
  1228.  
  1229. Humanoid.Changed:connect(function(Jump)
  1230. if Jump == "Jump" and (Disable_Jump == true) then
  1231. Humanoid.Jump = false
  1232. end
  1233. end)
  1234.  
  1235. Speed = 10
  1236.  
  1237. local naeeym2 = Instance.new("BillboardGui",Character)
  1238. naeeym2.AlwaysOnTop = true
  1239. naeeym2.Size = UDim2.new(5,35,2,35)
  1240. naeeym2.StudsOffset = Vector3.new(0,1,0)
  1241. naeeym2.Adornee = Character.Head
  1242. naeeym2.Name = "Name"
  1243. naeeym2.PlayerToHideFrom = Player
  1244. local tecks2 = Instance.new("TextLabel",naeeym2)
  1245. tecks2.BackgroundTransparency = 1
  1246. tecks2.TextScaled = true
  1247. tecks2.BorderSizePixel = 0
  1248. tecks2.Text = "PSYCHO"
  1249. tecks2.Font = "Antique"
  1250. tecks2.TextSize = 30
  1251. tecks2.TextStrokeTransparency = 0
  1252. tecks2.TextColor3 = Color3.new(0.8,0,0)
  1253. tecks2.TextStrokeColor3 = Color3.new(0.8,0,0)
  1254. tecks2.Size = UDim2.new(1,0,0.5,0)
  1255. tecks2.Parent = naeeym2
  1256.  
  1257. while true do
  1258. ANIMATE.Parent = nil
  1259. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1260. IDLEANIMATION:Play()
  1261. SINE = SINE + CHANGE
  1262. TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1263. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1264. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1265. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1266. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1267. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1268. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1269. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1270. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1271. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1272. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1273. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1274. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1275. RightHip.C1 = Clerp(RightHip.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)), 0.2 / Animation_Speed)
  1276. LeftHip.C1 = Clerp(LeftHip.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)), 0.2 / Animation_Speed)
  1277. end
  1278. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1279. ANIM = "Jump"
  1280. if ATTACK == false then
  1281. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1282. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1283. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1284. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1285. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1286. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1287. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(-165), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1288. end
  1289. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1290. ANIM = "Fall"
  1291. if ATTACK == false then
  1292. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1293. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1294. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1295. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1296. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1297. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1298. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(-85), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1299. end
  1300. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1301. ANIM = "Idle"
  1302. if ATTACK == false then
  1303. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1304. if VALUE1 == false then
  1305. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1306. end
  1307. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1308. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1309. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1310. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1311. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(-125), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1312. if VALUE1 == false and MRANDOM(1,200) == 1 then
  1313. coroutine.resume(coroutine.create(function()
  1314. VALUE1 = true
  1315. for i = 1, 25 do
  1316. Swait()
  1317. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-5), RAD((15+MRANDOM(-15,15)/15)), RAD(0)), 3 / Animation_Speed)
  1318. end
  1319. VALUE1 = false
  1320. end))
  1321. end
  1322. end
  1323. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1324. ANIM = "Walk"
  1325. WALK = WALK + 1 / Animation_Speed
  1326. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1327. WALK = 0
  1328. if WALKINGANIM == true then
  1329. WALKINGANIM = false
  1330. elseif WALKINGANIM == false then
  1331. WALKINGANIM = true
  1332. end
  1333. end
  1334. --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1335. --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1336. if ATTACK == false then
  1337. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE/2))) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1338. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(25), RAD(0)), 0.15 / Animation_Speed)
  1339. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35 - 0.15 * COS(SINE / (WALKSPEEDVALUE / 2)), 0) * ANGLES(RAD(-20), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1340. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  1341. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1342. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1343. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.75 + 0.3 * COS(SINE / (WALKSPEEDVALUE/2)), 0) * ANGLES(RAD(-145), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1344. end
  1345. end
  1346. unanchor()
  1347. Humanoid.MaxHealth = "inf"
  1348. Humanoid.Health = "inf"
  1349. if Rooted == false then
  1350. Disable_Jump = false
  1351. Humanoid.WalkSpeed = Speed
  1352. elseif Rooted == true then
  1353. Disable_Jump = true
  1354. Humanoid.WalkSpeed = 0
  1355. end
  1356. if KILLINSTINCT > 0 then
  1357. PuddleOfBlood(HandlePart.CFrame*CF(0,1,0).p,3,HandlePart,2)
  1358. KILLINSTINCT = KILLINSTINCT - 0.1
  1359. end
  1360. if Head:FindFirstChild("face") then
  1361. Head.face.Texture = "http://www.roblox.com/asset/?id=120463437"
  1362. end
  1363. Trail.Color = ColorSequence.new(C3(1,1-KILLINSTINCT/70,1-KILLINSTINCT/70))
  1364. local MATHS = {"0","1"}
  1365. Humanoid.Name = MATHS[MRANDOM(1,#MATHS)].."P"..MATHS[MRANDOM(1,#MATHS)].."S"..MATHS[MRANDOM(1,#MATHS)].."Y"..MATHS[MRANDOM(1,#MATHS)].."C"..MATHS[MRANDOM(1,#MATHS)].."H"..MATHS[MRANDOM(1,#MATHS)].."O"..MATHS[MRANDOM(1,#MATHS)]
  1366. Humanoid.PlatformStand = false
  1367. script.Name = Humanoid.Name
  1368. if math.random(1,70-Speed) == 1 then
  1369. tecks2.Text = "FAILURE"
  1370. elseif math.random(1,70-Speed) == 2 then
  1371. tecks2.Text = "WHY BOTHER"
  1372. elseif math.random(1,70-Speed) == 3 then
  1373. tecks2.Text = "WORTHLESS"
  1374. else
  1375. if KILLINSTINCT > 0 then
  1376. if KILLINSTINCT < 100 then
  1377. if MRANDOM(1,math.ceil(100-KILLINSTINCT)) == 1 then
  1378. tecks2.Text = "HA AH AHA HA HA HA HA"
  1379. else
  1380. tecks2.Text = "boss_kiddos the KILLER."
  1381. end
  1382. elseif KILLINSTINCT >= 100 then
  1383. if MRANDOM(1,5) == 1 then
  1384. tecks2.Text = "ESFIJKDSFBBJDSFBUKJDSFKMD DA NUB"
  1385. end
  1386. else
  1387. tecks2.Text = "boss_kiddos the KILLER."
  1388. end
  1389. else
  1390. tecks2.Text = "boss_kiddos the KILLER."
  1391. end
  1392. end
  1393. DECAL.Transparency = 1-(KILLINSTINCT/25)
  1394. Swait()
  1395. if Head:FindFirstChildOfClass("Sound") then
  1396. Head:FindFirstChildOfClass("Sound"):remove()
  1397. end
  1398. if KILLINSTINCT > 100 then
  1399. KILLINSTINCT = 100
  1400. end
  1401. sick.Parent = Character
  1402. Sky.Parent = game.Lighting
  1403. game.Lighting.ClockTime = 22
  1404. script.Parent = PlayerGui
  1405. end
  1406.  
  1407. --//=================================\\
  1408. --\\=================================//
  1409.  
  1410.  
  1411.  
  1412.  
  1413.  
  1414. --//====================================================\\--
  1415. --|| END OF SCRIPT
  1416. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement