Advertisement
Christoffer07700Extr

lust glove fixed and updated

Aug 6th, 2019
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 79.37 KB | None | 0 0
  1. Player = game.Players.LocalPlayer
  2. Character = Player.Character
  3. local txt = Instance.new("BillboardGui", Character)
  4. txt.Adornee = Character.Head
  5. txt.Name = "_status"
  6. txt.Size = UDim2.new(2, 0, 1.2, 0)
  7. txt.StudsOffset = Vector3.new(-9, 8, 0)
  8. local text = Instance.new("TextLabel", txt)
  9. text.Size = UDim2.new(10, 0, 7, 0)
  10. text.FontSize = "Size24"
  11. text.TextScaled = true
  12. text.TextTransparency = 0
  13. text.BackgroundTransparency = 1
  14. text.TextTransparency = 0
  15. text.TextStrokeTransparency = 0
  16. text.Font = "Antique"
  17. text.TextStrokeColor3 = Color3.new(255,0,191)
  18. text.Text = "what is going on"
  19.  
  20.  
  21. --- oh hello :)
  22. --- also dont leak ok
  23.  
  24.  
  25.  
  26. --//====================================================\\--------
  27. --|| CREATED BY SHACKLUSTER EDIT THIS STUPID GUY CHRISTOFFER077002
  28. --\\====================================================//--------
  29.  
  30. --//====================================================\\---------
  31. --|| IF U GET BANNED DONT BLAME ME BLAME YOURSELF FOR GETING BANNED
  32. --\\====================================================//---------
  33.  
  34. --//===============================\\--
  35. --|| ... why did i make this
  36. --\\===============================//--
  37.  
  38. wait(0.2)
  39.  
  40.  
  41.  
  42. Player = game:GetService("Players").LocalPlayer
  43. PlayerGui = Player.PlayerGui
  44. Cam = workspace.CurrentCamera
  45. Backpack = Player.Backpack
  46. Character = Player.Character
  47. Humanoid = Character.Humanoid
  48. Mouse = Player:GetMouse()
  49. RootPart = Character["HumanoidRootPart"]
  50. Torso = Character["Torso"]
  51. Head = Character["Head"]
  52. RightArm = Character["Right Arm"]
  53. LeftArm = Character["Left Arm"]
  54. RightLeg = Character["Right Leg"]
  55. LeftLeg = Character["Left Leg"]
  56. RootJoint = RootPart["RootJoint"]
  57. Neck = Torso["Neck"]
  58. RightShoulder = Torso["Right Shoulder"]
  59. LeftShoulder = Torso["Left Shoulder"]
  60. RightHip = Torso["Right Hip"]
  61. LeftHip = Torso["Left Hip"]
  62. local sick = Instance.new("Sound",Character)
  63. sick.SoundId = "rbxassetid://1292453759"
  64. sick.Looped = true
  65. sick.Pitch = 1
  66. sick.Volume = 10
  67. sick:Play()
  68.  
  69.  
  70. IT = Instance.new
  71. CF = CFrame.new
  72. VT = Vector3.new
  73. RAD = math.rad
  74. C3 = Color3.new
  75. UD2 = UDim2.new
  76. BRICKC = BrickColor.new
  77. ANGLES = CFrame.Angles
  78. EULER = CFrame.fromEulerAnglesXYZ
  79. COS = math.cos
  80. ACOS = math.acos
  81. SIN = math.sin
  82. ASIN = math.asin
  83. ABS = math.abs
  84. MRANDOM = math.random
  85. FLOOR = math.floor
  86. local PLAYSONG = true
  87.  
  88. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  89. local NEWMESH = IT(MESH)
  90. if MESH == "SpecialMesh" then
  91. NEWMESH.MeshType = MESHTYPE
  92. if MESHID ~= "nil" and MESHID ~= "" then
  93. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  94. end
  95. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  96. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  97. end
  98. end
  99. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  100. NEWMESH.Scale = SCALE
  101. NEWMESH.Parent = PARENT
  102. return NEWMESH
  103. end
  104.  
  105. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  106. local NEWPART = IT("Part")
  107. NEWPART.formFactor = FORMFACTOR
  108. NEWPART.Reflectance = REFLECTANCE
  109. NEWPART.Transparency = TRANSPARENCY
  110. NEWPART.CanCollide = false
  111. NEWPART.Locked = true
  112. NEWPART.Anchored = true
  113. if ANCHOR == false then
  114. NEWPART.Anchored = false
  115. end
  116. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  117. NEWPART.Name = NAME
  118. NEWPART.Size = SIZE
  119. NEWPART.Position = Torso.Position
  120. NEWPART.Material = MATERIAL
  121. NEWPART:BreakJoints()
  122. NEWPART.Parent = PARENT
  123. return NEWPART
  124. end
  125.  
  126. --//=================================\\
  127. --|| RAGDOLL STUFF
  128. --\\=================================//
  129.  
  130. function recurse(root,callback,i)
  131. i= i or 0
  132. for _,v in pairs(root:GetChildren()) do
  133. i = i + 1
  134. callback(i,v)
  135.  
  136. if #v:GetChildren() > 0 then
  137. i = recurse(v,callback,i)
  138. end
  139. end
  140.  
  141. return i
  142. end
  143.  
  144. function ragdollJoint(character, part0, part1, attachmentName, className, properties)
  145. attachmentName = attachmentName.."RigAttachment"
  146. local constraint = Instance.new(className.."Constraint")
  147. constraint.Attachment0 = part0:FindFirstChild(attachmentName)
  148. constraint.Attachment1 = part1:FindFirstChild(attachmentName)
  149. constraint.Name = "RagdollConstraint"..part1.Name
  150.  
  151. for _,propertyData in next,properties or {} do
  152. constraint[propertyData[1]] = propertyData[2]
  153. end
  154.  
  155. constraint.Parent = character
  156. end
  157.  
  158. function getAttachment0(character, attachmentName)
  159. for _,child in next,character:GetChildren() do
  160. local attachment = child:FindFirstChild(attachmentName)
  161. if attachment then
  162. return attachment
  163. end
  164. end
  165. end
  166.  
  167. function ArtificialHitbox(Part)
  168. local HITBOX = CreatePart(3, Part, "Metal", 0, 1, "Really black", "Hitbox", Part.Size/2, false)
  169. HITBOX.CanCollide = true
  170. HITBOX.CFrame = Part.CFrame
  171. weldBetween(Part,HITBOX)
  172. end
  173.  
  174. function R15Ragdoll(character,KeepArms)
  175. character:BreakJoints()
  176. coroutine.resume(coroutine.create(function()
  177. recurse(character, function(_,v)
  178. if v:IsA("Attachment") then
  179. v.Axis = Vector3.new(0, 1, 0)
  180. v.SecondaryAxis = Vector3.new(0, 0, 1)
  181. v.Rotation = Vector3.new(0, 0, 0)
  182. end
  183. end)
  184. for _,child in next,character:GetChildren() do
  185. if child:IsA("Accoutrement") then
  186. for _,part in next,child:GetChildren() do
  187. if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
  188. local attachment1 = part:FindFirstChildOfClass("Attachment")
  189. local attachment0 = getAttachment0(character,attachment1.Name)
  190. if attachment0 and attachment1 then
  191. local constraint = Instance.new("HingeConstraint")
  192. constraint.Attachment0 = attachment0
  193. constraint.Attachment1 = attachment1
  194. constraint.LimitsEnabled = true
  195. constraint.UpperAngle = 0
  196. constraint.LowerAngle = 0
  197. constraint.Parent = character
  198. end
  199. ArtificialHitbox(part)
  200. elseif part.Name == "HumanoidRootPart" then
  201. part:remove()
  202. end
  203. end
  204. end
  205. end
  206.  
  207. ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
  208. {"LimitsEnabled",true};
  209. {"UpperAngle",5};
  210. })
  211. if character:FindFirstChild("Head") then
  212. ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
  213. {"LimitsEnabled",true};
  214. {"UpperAngle",15};
  215. })
  216. end
  217.  
  218. local handProperties = {
  219. {"LimitsEnabled", true};
  220. {"UpperAngle",0};
  221. {"LowerAngle",0};
  222. }
  223. ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
  224. ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
  225.  
  226. local shinProperties = {
  227. {"LimitsEnabled", true};
  228. {"UpperAngle", 0};
  229. {"LowerAngle", -75};
  230. }
  231. ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
  232. ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
  233.  
  234. local footProperties = {
  235. {"LimitsEnabled", true};
  236. {"UpperAngle", 15};
  237. {"LowerAngle", -45};
  238. }
  239. ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
  240. ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
  241. if KeepArms == true then
  242. ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
  243. ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
  244. ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
  245. ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
  246. end
  247. ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
  248. ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
  249. Debris:AddItem(character,5)
  250. end))
  251. end
  252.  
  253. function Ragdoll(Character2,CharTorso,KeepArms)
  254. coroutine.resume(coroutine.create(function()
  255. Character2:BreakJoints()
  256. local hum = Character2:findFirstChild("Humanoid")
  257. hum:remove()
  258. local function Scan(ch)
  259. local e
  260. for e = 1,#ch do
  261. Scan(ch[e]:GetChildren())
  262. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  263. ch[e]:remove()
  264. end
  265. end
  266. end
  267. local NEWHUM = IT("Humanoid")
  268. NEWHUM.Name = "Corpse"
  269. NEWHUM.Health = 0
  270. NEWHUM.MaxHealth = 0
  271. NEWHUM.PlatformStand = true
  272. NEWHUM.Parent = Character2
  273. NEWHUM.DisplayDistanceType = "None"
  274.  
  275. local ch = Character2:GetChildren()
  276. local i
  277. for i = 1,#ch do
  278. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  279. ch[i]:remove()
  280. end
  281. end
  282.  
  283. local Torso2 = Character2.Torso
  284. local movevector = Vector3.new()
  285.  
  286. if Torso2 then
  287. movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
  288. local Head = Character2:FindFirstChild("Head")
  289. if Head then
  290. local Neck = Instance.new("Weld")
  291. Neck.Name = "Neck"
  292. Neck.Part0 = Torso2
  293. Neck.Part1 = Head
  294. Neck.C0 = CFrame.new(0, 1.5, 0)
  295. Neck.C1 = CFrame.new()
  296. Neck.Parent = Torso2
  297.  
  298. end
  299. local Limb = Character2:FindFirstChild("Right Arm")
  300. if Limb and KeepArms == true then
  301.  
  302. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  303. local Joint = Instance.new("Glue")
  304. Joint.Name = "RightShoulder"
  305. Joint.Part0 = Torso2
  306. Joint.Part1 = Limb
  307. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  308. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  309. Joint.Parent = Torso2
  310.  
  311. local B = Instance.new("Part")
  312. B.TopSurface = 0
  313. B.BottomSurface = 0
  314. B.formFactor = "Symmetric"
  315. B.Size = Vector3.new(1, 1, 1)
  316. B.Transparency = 1
  317. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  318. B.Parent = Character2
  319. local W = Instance.new("Weld")
  320. W.Part0 = Limb
  321. W.Part1 = B
  322. W.C0 = CFrame.new(0, -0.5, 0)
  323. W.Parent = Limb
  324.  
  325. end
  326. local Limb = Character2:FindFirstChild("Left Arm")
  327. if Limb and KeepArms == true then
  328.  
  329. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  330. local Joint = Instance.new("Glue")
  331. Joint.Name = "LeftShoulder"
  332. Joint.Part0 = Torso2
  333. Joint.Part1 = Limb
  334. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  335. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  336. Joint.Parent = Torso2
  337.  
  338. local B = Instance.new("Part")
  339. B.TopSurface = 0
  340. B.BottomSurface = 0
  341. B.formFactor = "Symmetric"
  342. B.Size = Vector3.new(1, 1, 1)
  343. B.Transparency = 1
  344. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  345. B.Parent = Character2
  346. local W = Instance.new("Weld")
  347. W.Part0 = Limb
  348. W.Part1 = B
  349. W.C0 = CFrame.new(0, -0.5, 0)
  350. W.Parent = Limb
  351.  
  352. end
  353. local Limb = Character2:FindFirstChild("Right Leg")
  354. if Limb then
  355.  
  356. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  357. local Joint = Instance.new("Glue")
  358. Joint.Name = "RightHip"
  359. Joint.Part0 = Torso2
  360. Joint.Part1 = Limb
  361. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  362. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  363. Joint.Parent = Torso2
  364.  
  365. local B = Instance.new("Part")
  366. B.TopSurface = 0
  367. B.BottomSurface = 0
  368. B.formFactor = "Symmetric"
  369. B.Size = Vector3.new(1, 1, 1)
  370. B.Transparency = 1
  371. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  372. B.Parent = Character2
  373. local W = Instance.new("Weld")
  374. W.Part0 = Limb
  375. W.Part1 = B
  376. W.C0 = CFrame.new(0, -0.5, 0)
  377. W.Parent = Limb
  378.  
  379. end
  380. local Limb = Character2:FindFirstChild("Left Leg")
  381. if Limb then
  382.  
  383. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  384. local Joint = Instance.new("Glue")
  385. Joint.Name = "LeftHip"
  386. Joint.Part0 = Torso2
  387. Joint.Part1 = Limb
  388. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  389. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  390. Joint.Parent = Torso2
  391.  
  392. local B = Instance.new("Part")
  393. B.TopSurface = 0
  394. B.BottomSurface = 0
  395. B.formFactor = "Symmetric"
  396. B.Size = Vector3.new(1, 1, 1)
  397. B.Transparency = 1
  398. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  399. B.Parent = Character2
  400. local W = Instance.new("Weld")
  401. W.Part0 = Limb
  402. W.Part1 = B
  403. W.C0 = CFrame.new(0, -0.5, 0)
  404. W.Parent = Limb
  405.  
  406. end
  407. --[
  408. local Bar = Instance.new("Part")
  409. Bar.TopSurface = 0
  410. Bar.BottomSurface = 0
  411. Bar.formFactor = "Symmetric"
  412. Bar.Size = Vector3.new(1, 1, 1)
  413. Bar.Transparency = 1
  414. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  415. Bar.Parent = Character2
  416. local Weld = Instance.new("Weld")
  417. Weld.Part0 = Torso2
  418. Weld.Part1 = Bar
  419. Weld.C0 = CFrame.new(0, 0.5, 0)
  420. Weld.Parent = Torso2
  421. --]]
  422. end
  423. Character2.Parent = workspace
  424. Debris:AddItem(Character2,5)
  425.  
  426. return Character2,Torso2
  427. end))
  428. end
  429.  
  430. --//=================================\\
  431. --|| CUSTOMIZATION
  432. --\\=================================//
  433.  
  434.  
  435. Player_Size = 1 --Size of the player.
  436. Animation_Speed = 3
  437. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  438.  
  439. local Speed = 27
  440. local Effects2 = {}
  441.  
  442. ---//=================================\\
  443. --|| END OF CUSTOMIZATION
  444. --\\=================================//
  445.  
  446. local function weldBetween(a, b)
  447. local weldd = Instance.new("ManualWeld")
  448. weldd.Part0 = a
  449. weldd.Part1 = b
  450. weldd.C0 = CFrame.new()
  451. weldd.C1 = b.CFrame:inverse() * a.CFrame
  452. weldd.Parent = a
  453. return weldd
  454. end
  455.  
  456. --//=================================\\
  457. --|| USEFUL VALUES
  458. --\\=================================//
  459.  
  460. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  461. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  462. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  463. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  464. local CHANGEDEFENSE = 0
  465. local CHANGEDAMAGE = 0
  466. local CHANGEMOVEMENT = 0
  467. local ANIM = "Idle"
  468. local ATTACK = false
  469. local EQUIPPED = false
  470. local HOLD = false
  471. local COMBO = 1
  472. local Rooted = false
  473. local SINE = 0
  474. local KEYHOLD = false
  475. local CHANGE = 2 / Animation_Speed
  476. local WALKINGANIM = false
  477. local WALK = 0
  478. local VALUE1 = false
  479. local VALUE2 = false
  480. local ROBLOXIDLEANIMATION = IT("Animation")
  481. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  482. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  483. --ROBLOXIDLEANIMATION.Parent = Humanoid
  484. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  485. WEAPONGUI.Name = "Weapon GUI"
  486. local Weapon = IT("Model")
  487. Weapon.Name = "Adds"
  488. local HITFLOOR = nil
  489. local Effects = IT("Folder", Weapon)
  490. Effects.Name = "Effects"
  491. local ANIMATOR = Humanoid.Animator
  492. local ANIMATE = Character.Animate
  493. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  494. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  495. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  496. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  497. local UNANCHOR = true
  498.  
  499. local SKILLTEXTCOLOR = C3(255, 0, 191)
  500.  
  501.  
  502. --//=================================\\
  503. --\\=================================//
  504.  
  505.  
  506. --//=================================\\
  507. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  508. --\\=================================//
  509.  
  510. ArtificialHB = Instance.new("BindableEvent", script)
  511. ArtificialHB.Name = "ArtificialHB"
  512.  
  513. script:WaitForChild("ArtificialHB")
  514.  
  515. frame = Frame_Speed
  516. tf = 0
  517. allowframeloss = false
  518. tossremainder = false
  519. lastframe = tick()
  520. script.ArtificialHB:Fire()
  521.  
  522. game:GetService("RunService").Heartbeat:connect(function(s, p)
  523. tf = tf + s
  524. if tf >= frame then
  525. if allowframeloss then
  526. script.ArtificialHB:Fire()
  527. lastframe = tick()
  528. else
  529. for i = 1, math.floor(tf / frame) do
  530. script.ArtificialHB:Fire()
  531. end
  532. lastframe = tick()
  533. end
  534. if tossremainder then
  535. tf = 0
  536. else
  537. tf = tf - frame * math.floor(tf / frame)
  538. end
  539. end
  540. end)
  541.  
  542. --//=================================\\
  543. --\\=================================//
  544.  
  545.  
  546.  
  547.  
  548.  
  549. --//=================================\\
  550. --|| SOME FUNCTIONS
  551. --\\=================================//
  552.  
  553. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  554. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  555. end
  556.  
  557. function PositiveAngle(NUMBER)
  558. if NUMBER >= 0 then
  559. NUMBER = 0
  560. end
  561. return NUMBER
  562. end
  563.  
  564. function NegativeAngle(NUMBER)
  565. if NUMBER <= 0 then
  566. NUMBER = 0
  567. end
  568. return NUMBER
  569. end
  570.  
  571. function Swait(NUMBER)
  572. if NUMBER == 0 or NUMBER == nil then
  573. ArtificialHB.Event:wait()
  574. else
  575. for i = 1, NUMBER do
  576. ArtificialHB.Event:wait()
  577. end
  578. end
  579. end
  580.  
  581. function QuaternionFromCFrame(cf)
  582. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  583. local trace = m00 + m11 + m22
  584. if trace > 0 then
  585. local s = math.sqrt(1 + trace)
  586. local recip = 0.5 / s
  587. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  588. else
  589. local i = 0
  590. if m11 > m00 then
  591. i = 1
  592. end
  593. if m22 > (i == 0 and m00 or m11) then
  594. i = 2
  595. end
  596. if i == 0 then
  597. local s = math.sqrt(m00 - m11 - m22 + 1)
  598. local recip = 0.5 / s
  599. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  600. elseif i == 1 then
  601. local s = math.sqrt(m11 - m22 - m00 + 1)
  602. local recip = 0.5 / s
  603. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  604. elseif i == 2 then
  605. local s = math.sqrt(m22 - m00 - m11 + 1)
  606. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  607. end
  608. end
  609. end
  610.  
  611. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  612. local xs, ys, zs = x + x, y + y, z + z
  613. local wx, wy, wz = w * xs, w * ys, w * zs
  614. local xx = x * xs
  615. local xy = x * ys
  616. local xz = x * zs
  617. local yy = y * ys
  618. local yz = y * zs
  619. local zz = z * zs
  620. 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))
  621. end
  622.  
  623. function QuaternionSlerp(a, b, t)
  624. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  625. local startInterp, finishInterp;
  626. if cosTheta >= 0.0001 then
  627. if (1 - cosTheta) > 0.0001 then
  628. local theta = ACOS(cosTheta)
  629. local invSinTheta = 1 / SIN(theta)
  630. startInterp = SIN((1 - t) * theta) * invSinTheta
  631. finishInterp = SIN(t * theta) * invSinTheta
  632. else
  633. startInterp = 1 - t
  634. finishInterp = t
  635. end
  636. else
  637. if (1 + cosTheta) > 0.0001 then
  638. local theta = ACOS(-cosTheta)
  639. local invSinTheta = 1 / SIN(theta)
  640. startInterp = SIN((t - 1) * theta) * invSinTheta
  641. finishInterp = SIN(t * theta) * invSinTheta
  642. else
  643. startInterp = t - 1
  644. finishInterp = t
  645. end
  646. end
  647. 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
  648. end
  649.  
  650. function Clerp(a, b, t)
  651. local qa = {QuaternionFromCFrame(a)}
  652. local qb = {QuaternionFromCFrame(b)}
  653. local ax, ay, az = a.x, a.y, a.z
  654. local bx, by, bz = b.x, b.y, b.z
  655. local _t = 1 - t
  656. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  657. end
  658.  
  659. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  660. local frame = IT("Frame")
  661. frame.BackgroundTransparency = TRANSPARENCY
  662. frame.BorderSizePixel = BORDERSIZEPIXEL
  663. frame.Position = POSITION
  664. frame.Size = SIZE
  665. frame.BackgroundColor3 = COLOR
  666. frame.BorderColor3 = BORDERCOLOR
  667. frame.Name = NAME
  668. frame.Parent = PARENT
  669. return frame
  670. end
  671.  
  672. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  673. local label = IT("TextLabel")
  674. label.BackgroundTransparency = 1
  675. label.Size = UD2(1, 0, 1, 0)
  676. label.Position = UD2(0, 0, 0, 0)
  677. label.TextColor3 = TEXTCOLOR
  678. label.TextStrokeTransparency = STROKETRANSPARENCY
  679. label.TextTransparency = TRANSPARENCY
  680. label.FontSize = TEXTFONTSIZE
  681. label.Font = TEXTFONT
  682. label.BorderSizePixel = BORDERSIZEPIXEL
  683. label.TextScaled = false
  684. label.Text = TEXT
  685. label.Name = NAME
  686. label.Parent = PARENT
  687. return label
  688. end
  689.  
  690. function NoOutlines(PART)
  691. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  692. end
  693.  
  694.  
  695. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  696. local NEWWELD = IT(TYPE)
  697. NEWWELD.Part0 = PART0
  698. NEWWELD.Part1 = PART1
  699. NEWWELD.C0 = C0
  700. NEWWELD.C1 = C1
  701. NEWWELD.Parent = PARENT
  702. return NEWWELD
  703. end
  704.  
  705. function CreateSound(ID, PARENT, VOLUME, PITCH)
  706. local NEWSOUND = nil
  707. coroutine.resume(coroutine.create(function()
  708. NEWSOUND = IT("Sound", PARENT)
  709. NEWSOUND.Volume = VOLUME
  710. NEWSOUND.Pitch = PITCH
  711. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  712. Swait()
  713. NEWSOUND:play()
  714. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  715. end))
  716. return NEWSOUND
  717. end
  718.  
  719. function CFrameFromTopBack(at, top, back)
  720. local right = top:Cross(back)
  721. 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)
  722. end
  723.  
  724. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  725. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Hot pink"), "Effect", VT(0,0,0))
  726. local mesh = IT("SpecialMesh",wave)
  727. mesh.MeshType = "FileMesh"
  728. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  729. mesh.Scale = SIZE
  730. mesh.Offset = VT(0,0,-SIZE.X/8)
  731. wave.CFrame = CFRAME
  732. coroutine.resume(coroutine.create(function(PART)
  733. for i = 1, WAIT do
  734. Swait()
  735. mesh.Scale = mesh.Scale + GROW
  736. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  737. if DOESROT == true then
  738. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  739. end
  740. wave.Transparency = wave.Transparency + (0.5/WAIT)
  741. if wave.Transparency > 0.99 then
  742. wave:remove()
  743. end
  744. end
  745. end))
  746. end
  747.  
  748. function CreateWave2(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  749. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Hot pink"), "Effect", VT(0,0,0))
  750. local mesh = IT("SpecialMesh",wave)
  751. mesh.MeshType = "FileMesh"
  752. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  753. mesh.Scale = SIZE
  754. --mesh.Offset = VT(0,0,-SIZE.X/8)
  755. wave.CFrame = CFRAME
  756. coroutine.resume(coroutine.create(function(PART)
  757. for i = 1, WAIT do
  758. Swait()
  759. mesh.Scale = mesh.Scale + GROW
  760. --mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  761. if DOESROT == true then
  762. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  763. end
  764. wave.Transparency = wave.Transparency + (0.5/WAIT)
  765. if wave.Transparency > 0.99 then
  766. wave:remove()
  767. end
  768. end
  769. end))
  770. end
  771.  
  772. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  773. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Hot pink"), "Effect", VT(0,0,0))
  774. local mesh = IT("SpecialMesh",wave)
  775. mesh.MeshType = "FileMesh"
  776. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  777. mesh.Scale = SIZE
  778. wave.CFrame = CFRAME
  779. coroutine.resume(coroutine.create(function(PART)
  780. for i = 1, WAIT do
  781. Swait()
  782. mesh.Scale = mesh.Scale + GROW
  783. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  784. if DOESROT == true then
  785. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  786. end
  787. wave.Transparency = wave.Transparency + (0.5/WAIT)
  788. if wave.Transparency > 0.99 then
  789. wave:remove()
  790. end
  791. end
  792. end))
  793. end
  794.  
  795.  
  796. function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
  797. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Hot pink"), "Effect", VT(1,1,1), true)
  798. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  799. wave.CFrame = CFRAME
  800. coroutine.resume(coroutine.create(function(PART)
  801. for i = 1, WAIT do
  802. Swait()
  803. mesh.Scale = mesh.Scale * GROW
  804. wave.Transparency = wave.Transparency + (0.5/WAIT)
  805. if wave.Transparency > 0.99 then
  806. wave:remove()
  807. end
  808. end
  809. end))
  810. end
  811.  
  812. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  813. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Hot pink"), "Effect", VT(1,1,1), true)
  814. local mesh = IT("SpecialMesh",wave)
  815. mesh.MeshType = "Sphere"
  816. mesh.Scale = SIZE
  817. mesh.Offset = VT(0,0,0)
  818. wave.CFrame = CFRAME
  819. coroutine.resume(coroutine.create(function(PART)
  820. for i = 1, WAIT do
  821. Swait()
  822. mesh.Scale = mesh.Scale + GROW
  823. wave.Transparency = wave.Transparency + (1/WAIT)
  824. if wave.Transparency > 0.99 then
  825. wave:remove()
  826. end
  827. end
  828. end))
  829. end
  830.  
  831. function MakeForm(PART,TYPE)
  832. if TYPE == "Cyl" then
  833. local MSH = IT("CylinderMesh",PART)
  834. elseif TYPE == "Ball" then
  835. local MSH = IT("SpecialMesh",PART)
  836. MSH.MeshType = "Sphere"
  837. elseif TYPE == "Wedge" then
  838. local MSH = IT("SpecialMesh",PART)
  839. MSH.MeshType = "Wedge"
  840. end
  841. end
  842.  
  843. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  844. if FLOOR ~= nil then
  845. coroutine.resume(coroutine.create(function()
  846. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  847. PART.CFrame = CF(POSITION)
  848. for i = 1, 45 do
  849. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  850. RingPiece.Material = FLOOR.Material
  851. RingPiece.Color = FLOOR.Color
  852. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  853. Debris:AddItem(RingPiece,SWAIT/100)
  854. end
  855. PART:remove()
  856. end))
  857. end
  858. end
  859.  
  860. function CheckTableForString(Table, String)
  861. for i, v in pairs(Table) do
  862. if string.find(string.lower(String), string.lower(v)) then
  863. return true
  864. end
  865. end
  866. return false
  867. end
  868.  
  869. function CheckIntangible(Hit)
  870. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  871. if Hit and Hit.Parent then
  872. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  873. return true
  874. end
  875. end
  876. return false
  877. end
  878.  
  879. Debris = game:GetService("Debris")
  880.  
  881. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  882. local Direction = CFrame.new(StartPos, Vec).lookVector
  883. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  884. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  885. if RayHit and CheckIntangible(RayHit) then
  886. if DelayIfHit then
  887. wait()
  888. end
  889. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  890. end
  891. return RayHit, RayPos, RayNormal
  892. end
  893.  
  894. function turnto(position)
  895. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  896. end
  897. --//=================================\\
  898. --|| WEAPON CREATION
  899. --\\=================================//
  900.  
  901. local FIST = CreatePart(3, Weapon, "Neon", 0, 0, "Hot pink", "Neon Gauntlet Part", VT(1.01*Player_Size,1.4*Player_Size,1.01*Player_Size),false)
  902. local weld = CreateWeldOrSnapOrMotor("Weld", FIST, RightArm, FIST, CF(0 * Player_Size, -0.25 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  903. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Hot pink", "Gauntlet Part", VT(1.2*Player_Size,0.3*Player_Size,1.2*Player_Size),false)
  904. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.6 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  905.  
  906. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Hot pink", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  907. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  908. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Hot pink", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  909. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  910. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Hot pink", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  911. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  912. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Hot pink", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  913. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  914.  
  915. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Hot pink", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1.1*Player_Size),false)
  916. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, -0.35 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  917. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Hot pink", "Neon Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1*Player_Size),false)
  918. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.05 * Player_Size, -0.375 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  919. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Hot pink", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  920. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  921. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Hot pink", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  922. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  923. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Hot pink", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  924. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, -0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  925.  
  926.  
  927. local FIST = CreatePart(3, Weapon, "Neon", 0, 0, "Hot pink", "Neon Gauntlet Part", VT(1.01*Player_Size,1.4*Player_Size,1.01*Player_Size),false)
  928. local weld = CreateWeldOrSnapOrMotor("Weld", FIST, LeftArm, FIST, CF(0 * Player_Size, -0.25 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  929. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Hot pink", "Gauntlet Part", VT(1.2*Player_Size,0.3*Player_Size,1.2*Player_Size),false)
  930. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.6 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  931.  
  932. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Hot pink", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  933. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  934. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Hot pink", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  935. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  936. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Hot pink", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  937. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  938. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Hot pink", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  939. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  940.  
  941. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Hot pink", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1.1*Player_Size),false)
  942. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, -0.35 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  943. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Hot pink", "Neon Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1*Player_Size),false)
  944. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.05 * Player_Size, -0.375 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  945. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Hot pink", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  946. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  947. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Hot pink", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  948. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  949. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Hot pink", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  950. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, -0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  951.  
  952. for _, c in pairs(Weapon:GetChildren()) do
  953. if c.ClassName == "Part" then
  954. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  955. end
  956. end
  957.  
  958. Weapon.Parent = Character
  959.  
  960. Humanoid.Died:connect(function()
  961. ATTACK = true
  962. end)
  963.  
  964. 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(255, 0, 191), "Skill 1 Frame")
  965. 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(255, 0, 191), "Skill 2 Frame")
  966. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(255, 0, 191), "Skill 3 Frame")
  967. local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(255, 0, 191), "Skill 4 Frame")
  968.  
  969. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Love Punch", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 1")
  970. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[E] kiss people", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 2")
  971. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Max Speed", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 3")
  972. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[Q] uhhh you know ;)", SKILLTEXTCOLOR, 6, "SciFi", 0, 2, 1, "Text4")
  973.  
  974. --//=================================\\
  975. --|| DAMAGE FUNCTIONS
  976. --\\=================================//
  977.  
  978. local asd = Instance.new("ParticleEmitter")
  979. asd.Color = ColorSequence.new(Color3.new(1,1,1), Color3.new(1,1,1))
  980. asd.LightEmission = .1
  981. asd.Texture = "http://www.roblox.com/asset/?ID=284205403"
  982. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  983. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  984. asd.Transparency = bbb
  985. asd.Size = aaa
  986. asd.ZOffset = .9
  987. asd.Acceleration = Vector3.new(0, -15, 0)
  988. asd.LockedToPart = false
  989. asd.EmissionDirection = "Back"
  990. asd.Lifetime = NumberRange.new(1, 2)
  991. asd.Rotation = NumberRange.new(-100, 100)
  992. asd.RotSpeed = NumberRange.new(-100, 100)
  993. asd.Speed = NumberRange.new(10)
  994. asd.Enabled = false
  995. asd.VelocitySpread = 999
  996.  
  997. function getohyeah(victim,amount)
  998. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Milk", victim.Size)
  999. PART.CFrame = victim.CFrame
  1000. Debris:AddItem(PART,5)
  1001. local prtcl = asd:Clone()
  1002. prtcl.Parent = PART
  1003. prtcl:Emit(amount*10)
  1004. end
  1005.  
  1006. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  1007. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  1008. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  1009. local BODYGYRO = IT("BodyGyro", STATPART)
  1010. local BODYPOSITION = IT("BodyPosition", STATPART)
  1011. BODYPOSITION.P = 2000
  1012. BODYPOSITION.D = 100
  1013. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  1014. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  1015. game:GetService("Debris"):AddItem(STATPART ,5)
  1016. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  1017. BILLBOARDGUI.Adornee = STATPART
  1018. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  1019. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  1020. BILLBOARDGUI.AlwaysOnTop = false
  1021. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  1022. TEXTLABEL.BackgroundTransparency = 1
  1023. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  1024. TEXTLABEL.Text = TEXT
  1025. TEXTLABEL.Font = "SciFi"
  1026. TEXTLABEL.FontSize="Size42"
  1027. TEXTLABEL.TextColor3 = COLOR
  1028. TEXTLABEL.TextStrokeTransparency = 1
  1029. TEXTLABEL.TextScaled = true
  1030. TEXTLABEL.TextWrapped = true
  1031. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  1032. if LABELTYPE == "Normal" then
  1033. for i = 1, 30 do
  1034. Swait()
  1035. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  1036. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  1037. end
  1038. elseif LABELTYPE == "Debuff" then
  1039. for i = 1, 30 do
  1040. Swait()
  1041. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  1042. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  1043. end
  1044. elseif LABELTYPE == "Shock" then
  1045. local ORIGIN = STATPART.Position
  1046. for i = 1, 30 do
  1047. Swait()
  1048. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  1049. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  1050. end
  1051. end
  1052. THEPART.Parent = nil
  1053. end),STATPART, BODYPOSITION, TEXTLABEL)
  1054. end
  1055.  
  1056. --//=================================\\
  1057. --|| DAMAGING
  1058. --\\=================================//
  1059.  
  1060. function killnearest(position,range,maxstrength,direction)
  1061. for i,v in ipairs(workspace:GetChildren()) do
  1062. local body = v:GetChildren()
  1063. for part = 1, #body do
  1064. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1065. if(body[part].Position - position).Magnitude < range then
  1066. if v.ClassName == "Model" then
  1067. --v:BreakJoints()
  1068. end
  1069. local POS = position
  1070. coroutine.resume(coroutine.create(function()
  1071. body[part].Anchored = true
  1072. body[part].Parent = Effects
  1073. body[part].CanCollide = true
  1074. local SIZE = body[part].Size
  1075. body[part].Material = "Neon"
  1076. CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10)
  1077. for i = 1, 75 do
  1078. Swait()
  1079. body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  1080. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1081. end
  1082. coroutine.resume(coroutine.create(function()
  1083. while true do
  1084. Swait()
  1085. body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  1086. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1087. end
  1088. end))
  1089. body[part].Anchored = false
  1090. body[part].Velocity = direction.lookVector*maxstrength
  1091. end))
  1092. end
  1093. end
  1094. end
  1095. if v.ClassName == "Part" then
  1096. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1097. local POS = position
  1098. coroutine.resume(coroutine.create(function()
  1099. v.Anchored = true
  1100. v.Parent = Effects
  1101. local SIZE = v.Size
  1102. v.Material = "Neon"
  1103. CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10)
  1104. for i = 1, 75 do
  1105. Swait()
  1106. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  1107. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1108. end
  1109. coroutine.resume(coroutine.create(function()
  1110. while true do
  1111. Swait()
  1112. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  1113. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1114. end
  1115. end))
  1116. v.Anchored = false
  1117. v.Velocity = direction.lookVector*maxstrength
  1118. end))
  1119. end
  1120. end
  1121. end
  1122. end
  1123.  
  1124. --//=================================\\
  1125. --|| ATTACK FUNCTIONS AND STUFF
  1126. --\\=================================//
  1127.  
  1128. function AttackTemplate()
  1129. ATTACK = true
  1130. Rooted = false
  1131. for i=0, 1, 0.1 / Animation_Speed do
  1132. Swait()
  1133. 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)
  1134. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1135. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1136. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1137. 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)
  1138. 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)
  1139. end
  1140. ATTACK = false
  1141. Rooted = false
  1142. end
  1143.  
  1144. function sux()
  1145. local TARGET = Mouse.Target
  1146. if TARGET ~= nil then
  1147. if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
  1148. local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
  1149. local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso")
  1150. if ROOT and HUM.Health > 0 then
  1151. local FOE = Mouse.Target.Parent
  1152. ATTACK = true
  1153. Rooted = true
  1154. RootPart.CFrame = ROOT.CFrame*CF(-1.35,0,4)
  1155. ROOT.Anchored = true
  1156. local LENNY = {"836796971","1430568042","429400881"}
  1157. CreateSound(670796769, Torso, 9999, 0.6, false)
  1158. CreateSound(291394633, Torso, 5, 1, false)
  1159. for i=0, 0.4, 0.1 / Animation_Speed do
  1160. Swait()
  1161. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1162. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1163. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1164. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1165. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1166. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1167. end
  1168. HUM.PlatformStand = true
  1169. ROOT.CFrame = ROOT.CFrame * CF(0,-2*ROOT.Size.Z,0) * ANGLES(RAD(-90), RAD(0), RAD(0))
  1170. coroutine.resume(coroutine.create(function()
  1171. Swait()
  1172. ROOT.Anchored = true
  1173. end))
  1174. RootPart.CFrame = RootPart.CFrame*CF(1.3,0,-3.8)
  1175. local times = 0
  1176. repeat
  1177. Swait()
  1178. times = times + 1
  1179. for i= 0, 0.5, 0.1 / Animation_Speed do
  1180. Swait()
  1181. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -2) * ANGLES(RAD(90), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1182. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1183. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0 ) * ANGLES(RAD(90), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1184. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0 ) * ANGLES(RAD(90), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.5/ Animation_Speed)
  1185. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(20)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1186. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(-20)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1187. end
  1188. for i= 0, 0.5, 0.1 / Animation_Speed do
  1189. Swait()
  1190. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -2) * ANGLES(RAD(60), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1191. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1192. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0 ) * ANGLES(RAD(60), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1193. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0 ) * ANGLES(RAD(60), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1194. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(-10)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1195. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(10)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1196. end
  1197. CreateSound(LENNY[1],FOE,10,1,false)
  1198. getohyeah(ROOT,10)
  1199. until times == 5
  1200. getohyeah(ROOT,20)
  1201. CreateSound(LENNY[2],FOE,10,.75,false)
  1202. CreateSound(LENNY[3],FOE,2,1,false)
  1203. Ragdoll(FOE,ROOT,true)
  1204. end
  1205. end
  1206. end
  1207. ATTACK = false
  1208. end
  1209.  
  1210.  
  1211. function DeathAgreement()
  1212. ATTACK = true
  1213. Rooted = false
  1214. local SPEED = Speed
  1215. Speed = 27
  1216. CreateSound("357202141", RightArm, 10, 1.1)
  1217. for i=0, 0, 0.1 / Animation_Speed do
  1218. Swait()
  1219. turnto(Mouse.Hit.p)
  1220. MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Hot pink",VT(-1/15,-1/15,-1/15))
  1221. MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Hot pink",VT(-2/15,-2/15,-2/15))
  1222. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.15 / Animation_Speed)
  1223. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(85)), 0.2 / Animation_Speed)
  1224. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90+(MRANDOM(-45,45)/10)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1225. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1226. RightHip.C0 = Clerp(RightHip.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)), 0.15 / Animation_Speed)
  1227. LeftHip.C0 = Clerp(LeftHip.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)), 0.15 / Animation_Speed)
  1228. end
  1229. for i=0, 0.15, 0.1 / Animation_Speed do
  1230. Swait()
  1231. turnto(Mouse.Hit.p)
  1232. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 1 / Animation_Speed)
  1233. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed)
  1234. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1235. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1236. RightHip.C0 = Clerp(RightHip.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)), 1 / Animation_Speed)
  1237. LeftHip.C0 = Clerp(LeftHip.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)), 1 / Animation_Speed)
  1238. end
  1239. local PART = CreatePart(3, Effects, "Neon", 0, 0.8, "Hot pink", "Punch", VT(50,50,50),false)
  1240. PART.CFrame = RootPart.CFrame * CF(0,0,-25)
  1241. PART.Shape = "Ball"
  1242. local bv = Instance.new("BodyVelocity")
  1243. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1244. bv.velocity = RootPart.CFrame.lookVector*600
  1245. bv.Parent = PART
  1246. bv.Name = "PROJECTILEVELOCITY"
  1247. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Hot pink",VT(2.5,0.2,2.5))
  1248. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Hot pink",VT(3,0.2,3))
  1249. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Hot pink",VT(2,0.6,2))
  1250. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Hot pink",VT(2.2,0.6,2.2))
  1251. CreateSound("414517163", Effects, 10, MRANDOM(7, 12) / 10)
  1252. coroutine.resume(coroutine.create(function()
  1253. for i = 1, 10 do
  1254. Swait()
  1255. PART.Transparency = PART.Transparency + 0.2/10
  1256. PART.Size = PART.Size + VT(5,5,5)
  1257. killnearest(PART.Position,PART.Size.Y/2+15,100,RootPart.CFrame)
  1258. end
  1259. PART:Destroy()
  1260. end))
  1261. for i=0, 1, 0.1 / Animation_Speed do
  1262. Swait()
  1263. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed)
  1264. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed)
  1265. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1266. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1267. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed)
  1268. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed)
  1269. end
  1270. ATTACK = false
  1271. Rooted = false
  1272. end
  1273.  
  1274. function MaxSpeed()
  1275. local ORIGIN = RootPart.Position
  1276. CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3,0.4))
  1277. CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3.1,0.6))
  1278. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Hot pink", "Sound", VT(0,0,0))
  1279. SOUNDPART.CFrame = RootPart.CFrame
  1280. Debris:AddItem(SOUNDPART,5)
  1281. CreateSound("", SOUNDPART, 2, 1)
  1282. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),VT(ORIGIN.X,Mouse.Hit.p.Y,ORIGIN.Z))
  1283. Swait()
  1284. CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3,0.4))
  1285. CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3.1,0.6))
  1286. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Hot pink", "Sound", VT(0,0,0))
  1287. SOUNDPART.CFrame = RootPart.CFrame
  1288. Debris:AddItem(SOUNDPART,5)
  1289. CreateSound("1295446488", SOUNDPART, 2, 1)
  1290. if MRANDOM(1,8) == 1 then
  1291. ATTACK = true
  1292. Rooted = true
  1293. local FRUITSTABLE = {
  1294. {MeshId = "16190555", TextureId = "16190577", Color = "Really red"},
  1295. {MeshId = "119574562", TextureId = "64374853", Color = "New Yeller"},
  1296. {MeshId = "24394186", TextureId = "24394178", Color = "Brown"}
  1297. }
  1298. local FRUIT = FRUITSTABLE[MRANDOM(1, #FRUITSTABLE)]
  1299. local FRUITMODEL = CreatePart(3, Effects, "Neon", 0, 0, FRUIT.Color, "Fruit", VT(0,0,0),false)
  1300. CreateMesh("SpecialMesh", FRUITMODEL, "FileMesh", FRUIT.MeshId, FRUIT.TextureId, VT(2,2,2), VT(0,0,0))
  1301. FRUITMODEL.CFrame = RightArm.CFrame * CF(0,-1.5,0)
  1302. weldBetween(RightArm,FRUITMODEL)
  1303. for i=0, 4, 0.1 / Animation_Speed do
  1304. Swait()
  1305. 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)
  1306. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1307. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-145)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1308. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * 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(-8), 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(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1311. end
  1312. CreateSound("414517163", RightArm, 10, MRANDOM(7, 12) / 10)
  1313. FRUITMODEL:remove()
  1314. for i = 1, 15 do
  1315. Slice(0.1,15,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),FRUIT.Color, 1 + MRANDOM(1,10)/15)
  1316. end
  1317. for i=0, 0.5, 0.1 / Animation_Speed do
  1318. Swait()
  1319. 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)
  1320. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1321. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-175)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1322. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1323. 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)
  1324. 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)
  1325. end
  1326. ATTACK = false
  1327. Rooted = false
  1328. end
  1329. end
  1330.  
  1331. function kiss()
  1332. ATTACK = true
  1333. Rooted = false
  1334. local HASGRABBED = false
  1335. local GRABTARGET = nil
  1336. local TORS = nil
  1337. local WELD = nil
  1338. for i=0, 1, 0.1 / Animation_Speed do
  1339. Swait()
  1340. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.25, -0.25 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(22.5), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1341. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-17.5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1342. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1343. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1344. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1345. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1346. end
  1347. local GRAB1 = RightArm.Touched:Connect(function(hit)
  1348. if hit.Parent:FindFirstChild("Humanoid") then
  1349. if hit.Parent.Humanoid.Health ~= 0 then
  1350. UNANCHOR = false
  1351. RootPart.Anchored = true
  1352. TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1353. TORS.CFrame = RootPart.CFrame * CF(0,0,-1.8) * ANGLES(RAD(0),RAD(180),RAD(0))
  1354. WELD = weldBetween(RootPart,TORS)
  1355. HASGRABBED = true
  1356. Rooted = true
  1357. end
  1358. end
  1359. end)
  1360. local GRAB2 = LeftArm.Touched:Connect(function(hit)
  1361. if hit.Parent:FindFirstChild("Humanoid") then
  1362. if hit.Parent.Humanoid.Health ~= 0 then
  1363. UNANCHOR = false
  1364. RootPart.Anchored = true
  1365. TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1366. TORS.CFrame = RootPart.CFrame * CF(0,0,-1.8) * ANGLES(RAD(0),RAD(180),RAD(0))
  1367. WELD = weldBetween(RootPart,TORS)
  1368. HASGRABBED = true
  1369. Rooted = true
  1370. end
  1371. end
  1372. end)
  1373. for i=0, 1, 0.1 / Animation_Speed do
  1374. Swait()
  1375. if HASGRABBED == true then
  1376. break
  1377. end
  1378. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.25, -0.25 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(22.5), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1379. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-17.5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1380. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1381. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(35)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1382. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1383. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1384. end
  1385. GRAB1:disconnect()
  1386. GRAB2:disconnect()
  1387. if HASGRABBED == true then
  1388. TORS.Anchored = false
  1389. GRABTARGET = TORS.Parent
  1390. HED = GRABTARGET:FindFirstChild("Head")
  1391. for i=0, 2, 0.1 / Animation_Speed do
  1392. Swait()
  1393. 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)
  1394. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1395. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1396. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1397. 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)
  1398. 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)
  1399. end
  1400. local heart = CreatePart(1, HED, "SmoothPlastic", 0, 0, "Carnation pink", "Heart", VT(1,1,1), false)
  1401. local msh = CreateMesh("SpecialMesh", heart, "FileMesh", "431221914", "", VT(0.3, 0.3, 0.3), VT(0,0,0))
  1402. CreateWeldOrSnapOrMotor("Weld", HED, heart, HED,CF(0, -2, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1403. local ECH = 0
  1404. CreateSound("247269322", Head, 10, 0.8)
  1405. for i=0, 8, 0.1 / Animation_Speed do
  1406. Swait()
  1407. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.25, -0.25 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(22.5), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1408. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-17.5 - 2.5 * SIN(SINE / 12)), RAD(25 * SIN(SINE / 3)), RAD(0)), 0.5 / Animation_Speed)
  1409. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1410. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1411. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1412. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1413. end
  1414. WELD:remove()
  1415. end
  1416. UNANCHOR = true
  1417. ATTACK = false
  1418. Rooted = false
  1419. end
  1420.  
  1421. --//=================================\\
  1422. --|| ASSIGN THINGS TO KEYS
  1423. --\\=================================//
  1424.  
  1425. function MouseDown(Mouse)
  1426. if ATTACK == false then
  1427. end
  1428. end
  1429.  
  1430. function MouseUp(Mouse)
  1431. HOLD = false
  1432. end
  1433.  
  1434. function KeyDown(Key)
  1435. KEYHOLD = true
  1436. if Key == "z" and ATTACK == false then
  1437. DeathAgreement()
  1438. end
  1439.  
  1440. if Key == "q" and ATTACK == false then
  1441. sux()
  1442. end
  1443.  
  1444. if Key == "e" and ATTACK == false then
  1445. kiss()
  1446. end
  1447.  
  1448. if Key == "c" and ATTACK == false then
  1449. MaxSpeed()
  1450. end
  1451.  
  1452.  
  1453. if Key == "p" and ATTACK == false then
  1454. if Speed == 27 then
  1455. Speed = 150
  1456. elseif Speed == 150 then
  1457. Speed = 27
  1458. end
  1459. end
  1460. end
  1461.  
  1462. function KeyUp(Key)
  1463. KEYHOLD = false
  1464. end
  1465.  
  1466. Mouse.Button1Down:connect(function(NEWKEY)
  1467. MouseDown(NEWKEY)
  1468. end)
  1469. Mouse.Button1Up:connect(function(NEWKEY)
  1470. MouseUp(NEWKEY)
  1471. end)
  1472. Mouse.KeyDown:connect(function(NEWKEY)
  1473. KeyDown(NEWKEY)
  1474. end)
  1475. Mouse.KeyUp:connect(function(NEWKEY)
  1476. KeyUp(NEWKEY)
  1477. end)
  1478.  
  1479. --//=================================\\
  1480. --\\=================================//
  1481.  
  1482.  
  1483. function unanchor()
  1484. if UNANCHOR == true then
  1485. g = Character:GetChildren()
  1486. for i = 1, #g do
  1487. if g[i].ClassName == "Part" then
  1488. g[i].Anchored = false
  1489. end
  1490. end
  1491. end
  1492. end
  1493.  
  1494.  
  1495. --//=================================\\
  1496. --|| WRAP THE WHOLE SCRIPT UP
  1497. --\\=================================//
  1498.  
  1499. Humanoid.Changed:connect(function(Jump)
  1500. if Jump == "Jump" and (Disable_Jump == true) then
  1501. Humanoid.Jump = false
  1502. end
  1503. end)
  1504.  
  1505. while true do
  1506. Swait()
  1507. ANIMATE.Parent = nil
  1508. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1509. IDLEANIMATION:Play()
  1510. SINE = SINE + CHANGE
  1511. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1512. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1513. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1514. HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1515. local WALKSPEEDVALUE = 0
  1516. if Speed < 35 then
  1517. WALKSPEEDVALUE = 6
  1518. else
  1519. WALKSPEEDVALUE = 3
  1520. end
  1521. if ANIM == "Walk" and TORSOVELOCITY > 1 and Rooted == false then
  1522. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (1) / Animation_Speed)
  1523. 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(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1524. if Speed < 35 then
  1525. 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(56 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
  1526. 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(56 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
  1527. else
  1528. 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(80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
  1529. 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(80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
  1530. end
  1531. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or Rooted == true then
  1532. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1533. 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)
  1534. 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)
  1535. 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)
  1536. end
  1537. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1538. ANIM = "Jump"
  1539. if ATTACK == false then
  1540. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1541. 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)
  1542. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1543. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1544. 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)
  1545. 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)
  1546. end
  1547. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1548. ANIM = "Fall"
  1549. if ATTACK == false then
  1550. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1551. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1552. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1553. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1554. 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)
  1555. 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)
  1556. end
  1557. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1558. ANIM = "Idle"
  1559. if ATTACK == false then
  1560. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0+5*COS(SINE/16))), 1 / Animation_Speed)
  1561. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0+5*COS(SINE/16)), RAD(0)), 0.25 / Animation_Speed)
  1562. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(5+5*SIN(SINE/16))) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  1563. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15), RAD(0), RAD(20)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  1564. RightHip.C0 = Clerp(RightHip.C0, CF(1-RAD(0+5*COS(SINE/16)), -1+RAD(0+5*COS(SINE/16)), -0.5) * ANGLES(RAD(0), RAD(90),-RAD(0+5*COS(SINE/16))) * ANGLES(RAD(-15), RAD(25), RAD(0)), 0.25 / Animation_Speed)
  1565. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1-RAD(0+5*COS(SINE/16)), -1-RAD(0+5*COS(SINE/16)), 0) * ANGLES(RAD(0), RAD(-90), RAD(0+5*COS(SINE/16))) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  1566. end
  1567. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil and Rooted == false then
  1568. ANIM = "Walk"
  1569. WALK = WALK + 1 / Animation_Speed
  1570. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1571. WALK = 0
  1572. if WALKINGANIM == true then
  1573. WALKINGANIM = false
  1574. elseif WALKINGANIM == false then
  1575. WALKINGANIM = true
  1576. end
  1577. end
  1578. --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)
  1579. --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)
  1580. if ATTACK == false then
  1581. if Speed < 35 then
  1582. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1583. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1584. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1585. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1586. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1587. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1588. else
  1589. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1590. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1591. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-30 * COS(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1592. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-30 * COS(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1593. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1594. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1595. end
  1596. end
  1597. end
  1598. unanchor()
  1599. Humanoid.MaxHealth = "inf"
  1600. Humanoid.Health = "inf"
  1601. if Rooted == false then
  1602. Disable_Jump = false
  1603. Humanoid.WalkSpeed = Speed
  1604. elseif Rooted == true then
  1605. Disable_Jump = true
  1606. Humanoid.WalkSpeed = 0
  1607. end
  1608. local MATHS = {"0","1"}
  1609. Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]
  1610. Humanoid.PlatformStand = false
  1611. end
  1612.  
  1613. --//=================================\\
  1614. --\\=================================//
  1615.  
  1616.  
  1617.  
  1618.  
  1619.  
  1620. --//====================================================\\--
  1621. --|| END OF SCRIPT
  1622. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement