Advertisement
XSleepyDemonX_17

blackpaw is cool

Mar 20th, 2020
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 122.37 KB | None | 0 0
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end-- Created by Nebula_Zorua --
  86. -- Furry V3 --
  87. -- You made me do this.. ;c --
  88. -- Discord: Nebula the Zorua#6969
  89. -- Youtube: https://www.youtube.com/channel/UCo9oU9dCw8jnuVLuy4_SATA
  90.  
  91.  
  92.  
  93. --// Shortcut Variables \\--
  94. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  95. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  96. local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  97. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  98. local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
  99. local R3 = {N=Region3.new}
  100. local De = S.Debris
  101. local WS = workspace
  102. local Lght = S.Lighting
  103. local RepS = S.ReplicatedStorage
  104. local IN = Instance.new
  105. local Plrs = S.Players
  106.  
  107. --// Initializing \\--
  108. local Plr = owner
  109. local Char = Plr.Character
  110. local Hum = Char:FindFirstChildOfClass'Humanoid'
  111. local RArm = Char["Right Arm"]
  112. local LArm = Char["Left Arm"]
  113. local RLeg = Char["Right Leg"]
  114. local LLeg = Char["Left Leg"]
  115. local Root = Char:FindFirstChild'HumanoidRootPart'
  116. local Torso = Char.Torso
  117. local Head = Char.Head
  118. local NeutralAnims = true
  119. local Attack = false
  120. local Debounces = {Debounces={}}
  121. local Hit = {}
  122. local Sine = 0
  123. local Change = 1
  124.  
  125. local Stance = 0
  126. local Claws = false
  127.  
  128. local Effects = IN("Folder",Char)
  129. Effects.Name = "Effects"
  130.  
  131.  
  132. local naeeym2 = IN("BillboardGui",Char)
  133. naeeym2.AlwaysOnTop = true
  134. naeeym2.Size = UDim2.new(5,35,2,15)
  135. naeeym2.StudsOffset = V3.N(0,2.5,0)
  136. naeeym2.Adornee = Char.Head
  137. naeeym2.Name = "Name"
  138. naeeym2.PlayerToHideFrom = Plr
  139. local tecks2 = IN("TextLabel",naeeym2)
  140. tecks2.BackgroundTransparency = 1
  141. tecks2.TextScaled = true
  142. tecks2.BorderSizePixel = 0
  143. tecks2.Text = "Blackpaw!"
  144. tecks2.Font = Enum.Font.Fantasy
  145. tecks2.TextSize = 30
  146. tecks2.TextStrokeTransparency = 0
  147. tecks2.TextColor3 = Color3.new(0,0,0)
  148. tecks2.TextStrokeColor3 = BrickColor.new("Industrial white").Color
  149. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  150. tecks2.Parent = naeeym2
  151.  
  152.  
  153. local sick = Instance.new("Sound",Torso)
  154. sick.SoundId = "rbxassetid://917198709"
  155. sick.Looped = true
  156. sick.Pitch = 1
  157. sick.Volume = 20
  158. sick:Resume()
  159. sick.Parent = Torso
  160. sick:Play()
  161.  
  162.  
  163.  
  164.  
  165. local Huggled = Char:FindFirstChild'Huggled'
  166. if(not Huggled or not Huggled:IsA'BoolValue')then
  167. Huggled = IN("BoolValue",Char)
  168. Huggled.Value = false
  169. Huggled.Name = 'Huggled'
  170. end
  171. local Kissed = Char:FindFirstChild'Kissed'
  172. if(not Kissed or not Kissed:IsA'BoolValue')then
  173. Kissed = IN("BoolValue",Char)
  174. Kissed.Value = false
  175. Kissed.Name = 'Kissed'
  176. end
  177.  
  178. --// Debounce System \\--
  179.  
  180.  
  181. function Debounces:New(name,cooldown)
  182. local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
  183. setmetatable(aaaaa,{__index = Debounces})
  184. Debounces.Debounces[name] = aaaaa
  185. return aaaaa
  186. end
  187.  
  188. function Debounces:Use(overrideUsable)
  189. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  190. if(self.Usable or overrideUsable)then
  191. self.Usable = false
  192. self.CoolingDown = true
  193. local LastUse = time()
  194. self.LastUse = LastUse
  195. delay(self.Cooldown or 2,function()
  196. if(self.LastUse == LastUse)then
  197. self.CoolingDown = false
  198. self.Usable = true
  199. end
  200. end)
  201. end
  202. end
  203.  
  204. function Debounces:Get(name)
  205. assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
  206. for i,v in next, Debounces.Debounces do
  207. if(i == name)then
  208. return v;
  209. end
  210. end
  211. end
  212.  
  213. function Debounces:GetProgressPercentage()
  214. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  215. if(self.CoolingDown and not self.Usable)then
  216. return math.max(
  217. math.floor(
  218. (
  219. (time()-self.LastUse)/self.Cooldown or 2
  220. )*100
  221. )
  222. )
  223. else
  224. return 100
  225. end
  226. end
  227.  
  228. --// Instance Creation Functions \\--
  229.  
  230. function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
  231. local Sound = IN("Sound")
  232. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  233. Sound.Pitch = pitch or 1
  234. Sound.Volume = volume or 1
  235. Sound.Looped = looped or false
  236. if(autoPlay)then
  237. coroutine.wrap(function()
  238. repeat wait() until Sound.IsLoaded
  239. Sound.Playing = autoPlay or false
  240. end)()
  241. end
  242. if(not looped and effect)then
  243. Sound.Stopped:connect(function()
  244. Sound.Volume = 0
  245. Sound:destroy()
  246. end)
  247. elseif(effect)then
  248. warn("Sound can't be looped and a sound effect!")
  249. end
  250. Sound.Parent =parent or Torso
  251. return Sound
  252. end
  253. function Part(parent,color,material,size,cframe,anchored,cancollide)
  254. local part = IN("Part")
  255. part.Parent = parent or Char
  256. part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
  257. part.Material = material or Enum.Material.SmoothPlastic
  258. part.TopSurface,part.BottomSurface=10,10
  259. part.Size = size or V3.N(1,1,1)
  260. part.CFrame = cframe or CF.N(0,0,0)
  261. part.CanCollide = cancollide or false
  262. part.Anchored = anchored or false
  263. return part
  264. end
  265.  
  266. function Weld(part0,part1,c0,c1)
  267. local weld = IN("Weld")
  268. weld.Parent = part0
  269. weld.Part0 = part0
  270. weld.Part1 = part1
  271. weld.C0 = c0 or CF.N()
  272. weld.C1 = c1 or CF.N()
  273. return weld
  274. end
  275.  
  276. function Mesh(parent,meshtype,meshid,textid,scale,offset)
  277. local part = IN("SpecialMesh")
  278. part.MeshId = meshid or ""
  279. part.TextureId = textid or ""
  280. part.Scale = scale or V3.N(1,1,1)
  281. part.Offset = offset or V3.N(0,0,0)
  282. part.MeshType = meshtype or Enum.MeshType.Sphere
  283. part.Parent = parent
  284. return part
  285. end
  286.  
  287. NewInstance = function(instance,parent,properties)
  288. local inst = Instance.new(instance)
  289. inst.Parent = parent
  290. if(properties)then
  291. for i,v in next, properties do
  292. pcall(function() inst[i] = v end)
  293. end
  294. end
  295. return inst;
  296. end
  297.  
  298. function Clone(instance,parent,properties)
  299. local inst = instance:Clone()
  300. inst.Parent = parent
  301. if(properties)then
  302. for i,v in next, properties do
  303. pcall(function() inst[i] = v end)
  304. end
  305. end
  306. return inst;
  307. end
  308.  
  309. function SoundPart(id,pitch,volume,looped,effect,autoPlay,cf)
  310. local soundPart = NewInstance("Part",Effects,{Transparency=1,CFrame=cf or Torso.CFrame,Anchored=true,CanCollide=false,Size=V3.N()})
  311. local Sound = IN("Sound")
  312. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  313. Sound.Pitch = pitch or 1
  314. Sound.Volume = volume or 1
  315. Sound.Looped = looped or false
  316. if(autoPlay)then
  317. coroutine.wrap(function()
  318. repeat wait() until Sound.IsLoaded
  319. Sound.Playing = autoPlay or false
  320. end)()
  321. end
  322. if(not looped and effect)then
  323. Sound.Stopped:connect(function()
  324. Sound.Volume = 0
  325. soundPart:destroy()
  326. end)
  327. elseif(effect)then
  328. warn("Sound can't be looped and a sound effect!")
  329. end
  330. Sound.Parent = soundPart
  331. return Sound
  332. end
  333.  
  334.  
  335. --// Extended ROBLOX tables \\--
  336. local Instance = setmetatable({ClearChildrenOfClass = function(where,class,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do if(v:IsA(class))then v:destroy();end;end;end},{__index = Instance})
  337. --// Require stuff \\--
  338. function CamShake(who,times,intense,origin)
  339. coroutine.wrap(function()
  340. if(script:FindFirstChild'CamShake')then
  341. local cam = script.CamShake:Clone()
  342. cam:WaitForChild'intensity'.Value = intense
  343. cam:WaitForChild'times'.Value = times
  344.  
  345. if(origin)then NewInstance((typeof(origin) == 'Instance' and "ObjectValue" or typeof(origin) == 'Vector3' and 'Vector3Value'),cam,{Name='origin',Value=origin}) end
  346. cam.Parent = who
  347. wait()
  348. cam.Disabled = false
  349. elseif(who == Plr or who == Char)then
  350. local intensity = intense
  351. local cam = workspace.CurrentCamera
  352. for i = 1, times do
  353. local camDistFromOrigin
  354. if(typeof(origin) == 'Instance' and origin:IsA'BasePart')then
  355. camDistFromOrigin = math.floor( (cam.CFrame.p-origin.Position).magnitude )/25
  356. elseif(typeof(origin) == 'Vector3')then
  357. camDistFromOrigin = math.floor( (cam.CFrame.p-origin).magnitude )/25
  358. end
  359. if(camDistFromOrigin)then
  360. intensity = math.min(intense, math.floor(intense/camDistFromOrigin))
  361. end
  362. cam.CFrame = cam.CFrame:lerp(cam.CFrame*CFrame.new(math.random(-intensity,intensity)/100,math.random(-intensity,intensity)/100,math.random(-intensity,intensity)/100)*CFrame.Angles(math.rad(math.random(-intensity,intensity)/100),math.rad(math.random(-intensity,intensity)/100),math.rad(math.random(-intensity,intensity)/100)),.4)
  363. swait()
  364. end
  365. end
  366. end)()
  367. end
  368.  
  369. function CamShakeAll(times,intense,origin)
  370. for _,v in next, Plrs:players() do
  371. CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,times,intense,origin)
  372. end
  373. end
  374.  
  375. function ServerScript(code)
  376. if(script:FindFirstChild'Loadstring')then
  377. local load = script.Loadstring:Clone()
  378. load:WaitForChild'Sauce'.Value = code
  379. load.Disabled = false
  380. load.Parent = workspace
  381. elseif(NS and typeof(NS) == 'function')then
  382. NS(code,workspace)
  383. else
  384. warn("no serverscripts lol")
  385. end
  386. end
  387.  
  388. function RunLocal(where,code)
  389. ServerScript([[
  390. wait()
  391. script.Parent=nil
  392. if(not _G.Http)then _G.Http = game:service'HttpService' end
  393.  
  394. local Http = _G.Http or game:service'HttpService'
  395.  
  396. local source = ]].."[["..code.."]]"..[[
  397. local link = "https://api.vorth.xyz/R_API/R.UPLOAD/NEW_LOCAL.php"
  398. local asd = Http:PostAsync(link,source)
  399. repeat wait() until asd and Http:JSONDecode(asd) and Http:JSONDecode(asd).Result and Http:JSONDecode(asd).Result.Require_ID
  400. local ID = Http:JSONDecode(asd).Result.Require_ID
  401. local vs = require(ID).VORTH_SCRIPT
  402. vs.Parent = game.]]..where:GetFullName()
  403. )
  404. end
  405.  
  406. --// Customization \\--
  407.  
  408. local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this
  409. local Remove_Hats = false
  410. local Remove_Clothing = false
  411. local PlayerSize = 1
  412. local DamageColor = BrickColor.new'Really red'
  413. local MusicID = 0
  414. local God = false
  415. local Muted = false
  416.  
  417. local WalkSpeed = 16
  418.  
  419. --// Weapon and GUI creation, and Character Customization \\--
  420.  
  421. if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end
  422. if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end
  423.  
  424. if(PlayerSize ~= 1)then
  425. for _,v in next, Char:GetDescendants() do
  426. if(v:IsA'BasePart')then
  427. v.Size = v.Size * PlayerSize
  428. end
  429. end
  430. end
  431.  
  432. local Claw1 = Part(Char,C3.N(0,0,0),Enum.Material.SmoothPlastic,V3.N(.85,.4,.75),RArm.CFrame,false,false)
  433. Claw1.Transparency = 1
  434. local Claw1M = Mesh(Claw1,Enum.MeshType.FileMesh,"rbxassetid://105262978","",V3.N(.6,1,0),V3.N())
  435. local Claw1W = Weld(RArm,Claw1,CF.N(0,-1.4,.06)*CF.A(M.R(-90),0,M.R(-90)))
  436.  
  437. local Claw2 = Part(Char,C3.N(0,0,0),Enum.Material.SmoothPlastic,V3.N(.85,.4,.75),RArm.CFrame,false,false)
  438. Claw2.Transparency = 1
  439. local Claw2M = Mesh(Claw2,Enum.MeshType.FileMesh,"rbxassetid://105262978","",V3.N(.6,1,0),V3.N())
  440. local Claw2W = Weld(LArm,Claw2,CF.N(0,-1.4,.06)*CF.A(M.R(-90),0,M.R(90)))
  441.  
  442. --// Stop animations \\--
  443. for _,v in next, Hum:GetPlayingAnimationTracks() do
  444. v:Stop();
  445. end
  446.  
  447. pcall(game.Destroy,Char:FindFirstChild'Animate')
  448. pcall(game.Destroy,Hum:FindFirstChild'Animator')
  449.  
  450. --// Joints \\--
  451.  
  452. local LS = NewInstance('Motor',Char,{Part0=Torso,Part1=LArm,C0 = CF.N(-1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)})
  453. local RS = NewInstance('Motor',Char,{Part0=Torso,Part1=RArm,C0 = CF.N(1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)})
  454. local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)})
  455. local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  456. local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  457. local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
  458.  
  459. local LSC0 = LS.C0
  460. local RSC0 = RS.C0
  461. local NKC0 = NK.C0
  462. local LHC0 = LH.C0
  463. local RHC0 = RH.C0
  464. local RJC0 = RJ.C0
  465.  
  466. --// Artificial HB \\--
  467.  
  468. local ArtificialHB = IN("BindableEvent", script)
  469. ArtificialHB.Name = "Heartbeat"
  470.  
  471. script:WaitForChild("Heartbeat")
  472.  
  473. local tf = 0
  474. local allowframeloss = false
  475. local tossremainder = false
  476. local lastframe = tick()
  477. local frame = 1/Frame_Speed
  478. ArtificialHB:Fire()
  479.  
  480. game:GetService("RunService").Heartbeat:connect(function(s, p)
  481. tf = tf + s
  482. if tf >= frame then
  483. if allowframeloss then
  484. script.Heartbeat:Fire()
  485. lastframe = tick()
  486. else
  487. for i = 1, math.floor(tf / frame) do
  488. ArtificialHB:Fire()
  489. end
  490. lastframe = tick()
  491. end
  492. if tossremainder then
  493. tf = 0
  494. else
  495. tf = tf - frame * math.floor(tf / frame)
  496. end
  497. end
  498. end)
  499.  
  500. function swait(num)
  501. if num == 0 or num == nil then
  502. ArtificialHB.Event:wait()
  503. else
  504. for i = 0, num do
  505. ArtificialHB.Event:wait()
  506. end
  507. end
  508. end
  509.  
  510.  
  511. --// Effect Function(s) \\--
  512.  
  513. function Bezier(startpos, pos2, pos3, endpos, t)
  514. local A = startpos:lerp(pos2, t)
  515. local B = pos2:lerp(pos3, t)
  516. local C = pos3:lerp(endpos, t)
  517. local lerp1 = A:lerp(B, t)
  518. local lerp2 = B:lerp(C, t)
  519. local cubic = lerp1:lerp(lerp2, t)
  520. return cubic
  521. end
  522.  
  523. function SphereFX(duration,color,scale,pos,endScale,increment)
  524. return Effect{
  525. Effect='ResizeAndFade',
  526. Color=color,
  527. Size=scale,
  528. Mesh={MeshType=Enum.MeshType.Sphere},
  529. CFrame=pos,
  530. FXSettings={
  531. EndSize=endScale,
  532. EndIsIncrement=increment
  533. }
  534. }
  535. end
  536.  
  537. function BlastFX(duration,color,scale,pos,endScale,increment)
  538. return Effect{
  539. Effect='ResizeAndFade',
  540. Color=color,
  541. Size=scale,
  542. Mesh={MeshType=Enum.MeshType.FileMesh,MeshId='rbxassetid://20329976'},
  543. CFrame=pos,
  544. FXSettings={
  545. EndSize=endScale,
  546. EndIsIncrement=increment
  547. }
  548. }
  549. end
  550.  
  551. function BlockFX(duration,color,scale,pos,endScale,increment)
  552. return Effect{
  553. Effect='ResizeAndFade',
  554. Color=color,
  555. Size=scale,
  556. CFrame=pos,
  557. FXSettings={
  558. EndSize=endScale,
  559. EndIsIncrement=increment
  560. }
  561. }
  562. end
  563.  
  564. function Zap(data)
  565. local sCF,eCF = data.StartCFrame,data.EndCFrame
  566. assert(sCF,"You need a start CFrame!")
  567. assert(eCF,"You need an end CFrame!")
  568. local parts = data.PartCount or 15
  569. local zapRot = data.ZapRotation or {-5,5}
  570. local startThick = data.StartSize or 3;
  571. local endThick = data.EndSize or startThick/2;
  572. local color = data.Color or BrickColor.new'Electric blue'
  573. local delay = data.Delay or 35
  574. local delayInc = data.DelayInc or 0
  575. local lastLightning;
  576. local MagZ = (sCF.p - eCF.p).magnitude
  577. local thick = startThick
  578. local inc = (startThick/parts)-(endThick/parts)
  579.  
  580. for i = 1, parts do
  581. local pos = sCF.p
  582. if(lastLightning)then
  583. pos = lastLightning.CFrame*CF.N(0,0,MagZ/parts/2).p
  584. end
  585. delay = delay + delayInc
  586. local zapPart = Part(Effects,color,Enum.Material.Neon,V3.N(thick,thick,MagZ/parts),CF.N(pos),true,false)
  587. local posie = CF.N(pos,eCF.p)*CF.N(0,0,MagZ/parts).p+V3.N(M.RNG(unpack(zapRot)),M.RNG(unpack(zapRot)),M.RNG(unpack(zapRot)))
  588. if(parts == i)then
  589. local MagZ = (pos-eCF.p).magnitude
  590. zapPart.Size = V3.N(endThick,endThick,MagZ)
  591. zapPart.CFrame = CF.N(pos, eCF.p)*CF.N(0,0,-MagZ/2)
  592. Effect{Effect='ResizeAndFade',Size=V3.N(thick,thick,thick),CFrame=eCF*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)),Color=color,Frames=delay*2,FXSettings={EndSize=V3.N(thick*8,thick*8,thick*8)}}
  593. else
  594. zapPart.CFrame = CF.N(pos,posie)*CF.N(0,0,MagZ/parts/2)
  595. end
  596.  
  597. lastLightning = zapPart
  598. Effect{Effect='Fade',Manual=zapPart,Frames=delay}
  599.  
  600. thick=thick-inc
  601.  
  602. end
  603. end
  604.  
  605. function Zap2(data)
  606. local Color = data.Color or BrickColor.new'Electric blue'
  607. local StartPos = data.Start or Torso.Position
  608. local EndPos = data.End or Mouse.Hit.p
  609. local SegLength = data.SegL or 2
  610. local Thicc = data.Thickness or 0.5
  611. local Fades = data.Fade or 45
  612. local Parent = data.Parent or Effects
  613. local MaxD = data.MaxDist or 200
  614. local Branch = data.Branches or false
  615. local Material = data.Material or Enum.Material.Neon
  616. local Raycasts = data.Raycasts or false
  617. local Offset = data.Offset or {0,360}
  618. local AddMesh = (data.Mesh == nil and true or data.Mesh)
  619. if((StartPos-EndPos).magnitude > MaxD)then
  620. EndPos = CF.N(StartPos,EndPos)*CF.N(0,0,-MaxD).p
  621. end
  622. local hit,pos,norm,dist=nil,EndPos,nil,(StartPos-EndPos).magnitude
  623. if(Raycasts)then
  624. hit,pos,norm,dist = CastRay(StartPos,EndPos,MaxD)
  625. end
  626. local segments = dist/SegLength
  627. local model = IN("Model",Parent)
  628. model.Name = 'Lightning'
  629. local Last;
  630. for i = 1, segments do
  631. local size = (segments-i)/25
  632. local prt = Part(model,Color,Material,V3.N(Thicc+size,SegLength,Thicc+size),CF.N(),true,false)
  633. if(AddMesh)then IN("CylinderMesh",prt) end
  634. if(Last and math.floor(segments) == i)then
  635. local MagZ = (Last.CFrame*CF.N(0,-SegLength/2,0).p-EndPos).magnitude
  636. prt.Size = V3.N(Thicc+size,MagZ,Thicc+size)
  637. prt.CFrame = CF.N(Last.CFrame*CF.N(0,-SegLength/2,0).p,EndPos)*CF.A(M.R(90),0,0)*CF.N(0,-MagZ/2,0)
  638. elseif(not Last)then
  639. prt.CFrame = CF.N(StartPos,pos)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
  640. else
  641. prt.CFrame = CF.N(Last.CFrame*CF.N(0,-SegLength/2,0).p,CF.N(pos)*CF.A(M.R(M.RNG(0,360)),M.R(M.RNG(0,360)),M.R(M.RNG(0,360)))*CF.N(0,0,SegLength/3+(segments-i)).p)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
  642. end
  643. Last = prt
  644. if(Branch)then
  645. local choice = M.RNG(1,7+((segments-i)*2))
  646. if(choice == 1)then
  647. local LastB;
  648. for i2 = 1,M.RNG(2,5) do
  649. local size2 = ((segments-i)/35)/i2
  650. local prt = Part(model,Color,Material,V3.N(Thicc+size2,SegLength,Thicc+size2),CF.N(),true,false)
  651. if(AddMesh)then IN("CylinderMesh",prt) end
  652. if(not LastB)then
  653. prt.CFrame = CF.N(Last.CFrame*CF.N(0,-SegLength/2,0).p,Last.CFrame*CF.N(0,-SegLength/2,0)*CF.A(0,0,M.RRNG(0,360))*CF.N(0,Thicc*7,0)*CF.N(0,0,-1).p)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
  654. else
  655. prt.CFrame = CF.N(LastB.CFrame*CF.N(0,-SegLength/2,0).p,LastB.CFrame*CF.N(0,-SegLength/2,0)*CF.A(0,0,M.RRNG(0,360))*CF.N(0,Thicc*7,0)*CF.N(0,0,-1).p)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
  656. end
  657. LastB = prt
  658. end
  659. end
  660. end
  661. end
  662. if(Fades > 0)then
  663. coroutine.wrap(function()
  664. for i = 1, Fades do
  665. for _,v in next, model:children() do
  666. if(v:IsA'BasePart')then
  667. v.Transparency = (i/Fades)
  668. end
  669. end
  670. swait()
  671. end
  672. model:destroy()
  673. end)()
  674. else
  675. S.Debris:AddItem(model,.01)
  676. end
  677. return {End=(Last and Last.CFrame*CF.N(0,-Last.Size.Y/2,0).p),Last=Last,Model=model}
  678. end
  679.  
  680. function Tween(obj,props,time,easing,direction,repeats,backwards)
  681. local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false)
  682. local tween = S.TweenService:Create(obj, info, props)
  683.  
  684. tween:Play()
  685. end
  686.  
  687. function Effect(data)
  688. local FX = data.Effect or 'ResizeAndFade'
  689. local Parent = data.Parent or Effects
  690. local Color = data.Color or C3.N(0,0,0)
  691. local Size = data.Size or V3.N(1,1,1)
  692. local MoveDir = data.MoveDirection or nil
  693. local MeshData = data.Mesh or nil
  694. local SndData = data.Sound or nil
  695. local Frames = data.Frames or 45
  696. local Manual = data.Manual or nil
  697. local Material = data.Material or nil
  698. local CFra = data.CFrame or Torso.CFrame
  699. local Settings = data.FXSettings or {}
  700. local Shape = data.Shape or Enum.PartType.Block
  701. local Snd,Prt,Msh;
  702. coroutine.wrap(function()
  703. if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
  704. Prt = Manual
  705. else
  706. Prt = Part(Parent,Color,Material,Size,CFra,true,false)
  707. Prt.Shape = Shape
  708. end
  709. if(typeof(MeshData) == 'table')then
  710. Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
  711. elseif(typeof(MeshData) == 'Instance')then
  712. Msh = MeshData:Clone()
  713. Msh.Parent = Prt
  714. elseif(Shape == Enum.PartType.Block)then
  715. Msh = Mesh(Prt,Enum.MeshType.Brick)
  716. end
  717. if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
  718. Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
  719. end
  720. if(Snd)then
  721. repeat swait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
  722. Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
  723. end
  724. Size = (Msh and Msh.Scale or Size)
  725. local grow = Size-(Settings.EndSize or (Msh and Msh.Scale or Size)/2)
  726.  
  727. local MoveSpeed = nil;
  728. if(MoveDir)then
  729. MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  730. end
  731. if(FX ~= 'Arc')then
  732. for Frame = 1, Frames do
  733. if(FX == "Fade")then
  734. Prt.Transparency = (Frame/Frames)
  735. elseif(FX == "Resize")then
  736. if(not Settings.EndSize)then
  737. Settings.EndSize = V3.N(0,0,0)
  738. end
  739. if(Settings.EndIsIncrement)then
  740. if(Msh)then
  741. Msh.Scale = Msh.Scale + Settings.EndSize
  742. else
  743. Prt.Size = Prt.Size + Settings.EndSize
  744. end
  745. else
  746. if(Msh)then
  747. Msh.Scale = Msh.Scale - grow/Frames
  748. else
  749. Prt.Size = Prt.Size - grow/Frames
  750. end
  751. end
  752. elseif(FX == "ResizeAndFade")then
  753. if(not Settings.EndSize)then
  754. Settings.EndSize = V3.N(0,0,0)
  755. end
  756. if(Settings.EndIsIncrement)then
  757. if(Msh)then
  758. Msh.Scale = Msh.Scale + Settings.EndSize
  759. else
  760. Prt.Size = Prt.Size + Settings.EndSize
  761. end
  762. else
  763. if(Msh)then
  764. Msh.Scale = Msh.Scale - grow/Frames
  765. else
  766. Prt.Size = Prt.Size - grow/Frames
  767. end
  768. end
  769. Prt.Transparency = (Frame/Frames)
  770. end
  771. if(Settings.RandomizeCFrame)then
  772. Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  773. end
  774. if(MoveDir and MoveSpeed)then
  775. local Orientation = Prt.Orientation
  776. Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  777. Prt.Orientation = Orientation
  778. end
  779. swait()
  780. end
  781. Prt:destroy()
  782. else
  783. local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  784. if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  785. if(start and endP)then
  786. local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  787. local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  788. for Frame = 0, 1, (Settings.Speed or 0.01) do
  789. if(Settings.Home)then
  790. endP = Settings.Home.CFrame
  791. end
  792. Prt.CFrame = Bezier(start, quarter, threequarter, endP, Frame)
  793. end
  794. if(Settings.RemoveOnGoal)then
  795. Prt:destroy()
  796. end
  797. else
  798. Prt:destroy()
  799. assert(start,"You need a start position!")
  800. assert(endP,"You need a start position!")
  801. end
  802. end
  803. end)()
  804. return Prt,Msh,Snd
  805. end
  806. function SoulSteal(whom)
  807. local torso = (whom:FindFirstChild'Head' or whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart')
  808. print(torso)
  809. if(torso and torso:IsA'BasePart')then
  810. local Model = Instance.new("Model",Effects)
  811. Model.Name = whom.Name.."'s Soul"
  812. whom:BreakJoints()
  813. local Soul = Part(Model,BrickColor.new'Really red','Glass',V3.N(.5,.5,.5),torso.CFrame,true,false)
  814. Soul.Name = 'Head'
  815. NewInstance("Humanoid",Model,{Health=0,MaxHealth=0})
  816. Effect{
  817. Effect="Arc",
  818. Manual = Soul,
  819. FXSettings={
  820. Start=torso.CFrame,
  821. Home = Torso,
  822. RemoveOnGoal = true,
  823. }
  824. }
  825. local lastPoint = Soul.CFrame.p
  826.  
  827. for i = 0, 1, 0.01 do
  828. local point = CFrame.new(lastPoint, Soul.Position) * CFrame.Angles(-math.pi/2, 0, 0)
  829. local mag = (lastPoint - Soul.Position).magnitude
  830. Effect{
  831. Effect = "Fade",
  832. CFrame = point * CF.N(0, mag/2, 0),
  833. Size = V3.N(.5,mag+.5,.5),
  834. Color = Soul.BrickColor
  835. }
  836. lastPoint = Soul.CFrame.p
  837. swait()
  838. end
  839. for i = 1, 5 do
  840. Effect{
  841. Effect="Fade",
  842. Color = BrickColor.new'Really red',
  843. MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
  844. }
  845. end
  846. end
  847. end
  848.  
  849. --// Other Functions \\ --
  850.  
  851. function CastRay(startPos,endPos,range,ignoreList)
  852. local ray = Ray.new(startPos,(endPos-startPos).unit*range)
  853. local part,pos,norm = workspace:FindPartOnRayWithIgnoreList(ray,ignoreList or {Char},false,true)
  854. return part,pos,norm,(pos and (startPos-pos).magnitude)
  855. end
  856.  
  857. function getRegion(point,range,ignore)
  858. return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
  859. end
  860.  
  861. function clerp(startCF,endCF,alpha)
  862. return startCF:lerp(endCF, alpha)
  863. end
  864.  
  865. function GetTorso(char)
  866. return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
  867. end
  868.  
  869. function ShowDamage(Pos, Text, Time, Color)
  870. coroutine.wrap(function()
  871. local Rate = (1 / Frame_Speed)
  872. local Pos = (Pos or Vector3.new(0, 0, 0))
  873. local Text = (Text or "")
  874. local Time = (Time or 2)
  875. local Color = (Color or Color3.new(1, 0, 1))
  876. local EffectPart = NewInstance("Part",Effects,{
  877. Material=Enum.Material.SmoothPlastic,
  878. Reflectance = 0,
  879. Transparency = 1,
  880. BrickColor = BrickColor.new(Color),
  881. Name = "Effect",
  882. Size = Vector3.new(0,0,0),
  883. Anchored = true,
  884. CFrame = CF.N(Pos)
  885. })
  886. local BillboardGui = NewInstance("BillboardGui",EffectPart,{
  887. Size = UDim2.new(1.25, 0, 1.25, 0),
  888. Adornee = EffectPart,
  889. })
  890. local TextLabel = NewInstance("TextLabel",BillboardGui,{
  891. BackgroundTransparency = 1,
  892. Size = UDim2.new(1, 0, 1, 0),
  893. Text = Text,
  894. Font = "Bodoni",
  895. TextColor3 = Color,
  896. TextStrokeColor3 = Color3.new(0,0,0),
  897. TextStrokeTransparency=0,
  898. TextScaled = true,
  899. })
  900. S.Debris:AddItem(EffectPart, (Time))
  901. EffectPart.Parent = workspace
  902. delay(0, function()
  903. Tween(EffectPart,{CFrame=CF.N(Pos)*CF.N(0,3,0)},Time,Enum.EasingStyle.Elastic,Enum.EasingDirection.Out)
  904. local Frames = (Time / Rate)
  905. for Frame = 1, Frames do
  906. swait()
  907. local Percent = (Frame / Frames)
  908. TextLabel.TextTransparency = Percent
  909. TextLabel.TextStrokeTransparency = Percent
  910. end
  911. if EffectPart and EffectPart.Parent then
  912. EffectPart:Destroy()
  913. end
  914. end) end)()
  915. end
  916.  
  917.  
  918. function DealDamage(who,minDam,maxDam,Knock,Type,critChance,critMult)
  919. if(who)then
  920. local hum = who:FindFirstChildOfClass'Humanoid'
  921. local Damage = M.RNG(minDam,maxDam)
  922. local canHit = true
  923. if(hum)then
  924. for _, p in pairs(Hit) do
  925. if p[1] == hum then
  926. if(time() - p[2] < 0.1) then
  927. canHit = false
  928. else
  929. Hit[_] = nil
  930. end
  931. end
  932. end
  933. if(canHit)then
  934. table.insert(Hit,{hum,time()})
  935. if(hum.Health >= math.huge)then
  936. who:BreakJoints()
  937. if(who:FindFirstChild'Head' and hum.Health > 0)then
  938. ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "INSTANT", 1.5, C3.N(1,0,0))
  939. end
  940. else
  941. local player = S.Players:GetPlayerFromCharacter(who)
  942. if(Type == "Fire")then
  943. --idk..
  944. else
  945. local c = Instance.new("ObjectValue",hum)
  946. c.Name = "creator"
  947. c.Value = Plr
  948. game:service'Debris':AddItem(c,0.35)
  949. if(M.RNG(1,100) <= (critChance or 0) and critMult > 1)then
  950. if(who:FindFirstChild'Head' and hum.Health > 0)then
  951. ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "[CRIT] "..Damage*(critMult or 2), 1.5, BrickColor.new'New Yeller'.Color)
  952. end
  953. hum.Health = hum.Health - Damage*(critMult or 2)
  954. else
  955. if(who:FindFirstChild'Head' and hum.Health > 0)then
  956. ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), Damage, 1.5, DamageColor.Color)
  957. end
  958. hum.Health = hum.Health - Damage
  959. end
  960. if(Type == 'Knockback' and GetTorso(who))then
  961. local angle = GetTorso(who).Position - Root.Position + Vector3.new(0, 0, 0).unit
  962. local body = NewInstance('BodyVelocity',GetTorso(who),{
  963. P = 500,
  964. maxForce = V3.N(math.huge,0,math.huge),
  965. velocity = Root.CFrame.lookVector * Knock + Root.Velocity / 1.05
  966. })
  967. game:service'Debris':AddItem(body,.5)
  968. elseif(Type == "Electric")then
  969. if(M.RNG(1,100) >= critChance)then
  970. if(who:FindFirstChild'Head' and hum.Health > 0)then
  971. ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "[PARALYZED]", 1.5, BrickColor.new"New Yeller".Color)
  972. end
  973. local asd = hum.WalkSpeed/2
  974. hum.WalkSpeed = asd
  975. local paralyzed = true
  976. coroutine.wrap(function()
  977. while paralyzed do
  978. swait(25)
  979. if(M.RNG(1,25) == 1)then
  980. if(who:FindFirstChild'Head' and hum.Health > 0)then
  981. ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "[STATIC]", 1.5, BrickColor.new"New Yeller".Color)
  982. end
  983. hum.PlatformStand = true
  984. end
  985. end
  986. end)()
  987. delay(4, function()
  988. paralyzed = false
  989. hum.WalkSpeed = hum.WalkSpeed + asd
  990. end)
  991. end
  992.  
  993. elseif(Type == 'Knockdown' and GetTorso(who))then
  994. local rek = GetTorso(who)
  995. hum.PlatformStand = true
  996. delay(1,function()
  997. hum.PlatformStand = false
  998. end)
  999. local angle = (GetTorso(who).Position - (Root.Position + Vector3.new(0, 0, 0))).unit
  1000. local bodvol = NewInstance("BodyVelocity",rek,{
  1001. velocity = angle * Knock,
  1002. P = 5000,
  1003. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1004. })
  1005. local rl = NewInstance("BodyAngularVelocity",rek,{
  1006. P = 3000,
  1007. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1008. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1009. })
  1010. game:GetService("Debris"):AddItem(bodvol, .5)
  1011. game:GetService("Debris"):AddItem(rl, .5)
  1012. end
  1013. end
  1014. end
  1015. end
  1016. end
  1017. end
  1018. end
  1019.  
  1020. function AOEDamage(where,range,minDam,maxDam,Knock,Type,critChance,critMult)
  1021. for _,v in next, getRegion(where,range,{Char}) do
  1022. if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then
  1023. DealDamage(v.Parent,minDam,maxDam,Knock,Type,critChance,critMult)
  1024. end
  1025. end
  1026. end
  1027.  
  1028. function AOEHeal(where,range,amount)
  1029. local healed = {}
  1030. for _,v in next, getRegion(where,range,{Char}) do
  1031. local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil)
  1032. if(hum and not healed[hum])then
  1033. hum.Health = hum.Health + amount
  1034. if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then
  1035. ShowDamage((v.Parent.Head.CFrame * CF.N(0, 0, (v.Parent.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "+"..amount, 1.5, BrickColor.new'Lime green'.Color)
  1036. end
  1037. end
  1038. end
  1039. end
  1040.  
  1041. function CamShake(who,times,intense,origin)
  1042. coroutine.wrap(function()
  1043. if(script:FindFirstChild'CamShake')then
  1044. local cam = script.CamShake:Clone()
  1045. cam:WaitForChild'intensity'.Value = intense
  1046. cam:WaitForChild'times'.Value = times
  1047.  
  1048. if(origin)then NewInstance((typeof(origin) == 'Instance' and "ObjectValue" or typeof(origin) == 'Vector3' and 'Vector3Value'),cam,{Name='origin',Value=origin}) end
  1049. cam.Parent = who
  1050. wait()
  1051. cam.Disabled = false
  1052. elseif(who == Plr or who == Char)then
  1053. local intensity = intense
  1054. local cam = workspace.CurrentCamera
  1055. for i = 1, times do
  1056. local camDistFromOrigin
  1057. if(typeof(origin) == 'Instance' and origin:IsA'BasePart')then
  1058. camDistFromOrigin = math.floor( (cam.CFrame.p-origin.Position).magnitude )/25
  1059. elseif(typeof(origin) == 'Vector3')then
  1060. camDistFromOrigin = math.floor( (cam.CFrame.p-origin).magnitude )/25
  1061. end
  1062. if(camDistFromOrigin)then
  1063. intensity = math.min(intense, math.floor(intense/camDistFromOrigin))
  1064. end
  1065. cam.CFrame = cam.CFrame:lerp(cam.CFrame*CFrame.new(math.random(-intensity,intensity)/100,math.random(-intensity,intensity)/100,math.random(-intensity,intensity)/100)*CFrame.Angles(math.rad(math.random(-intensity,intensity)/100),math.rad(math.random(-intensity,intensity)/100),math.rad(math.random(-intensity,intensity)/100)),.4)
  1066. swait()
  1067. end
  1068. end
  1069. end)()
  1070. end
  1071.  
  1072. function CamShakeAll(times,intense,origin)
  1073. for _,v in next, Plrs:players() do
  1074. CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,times,intense,origin)
  1075. end
  1076. end
  1077.  
  1078. function ServerScript(code)
  1079. if(script:FindFirstChild'Loadstring')then
  1080. local load = script.Loadstring:Clone()
  1081. load:WaitForChild'Sauce'.Value = code
  1082. load.Disabled = false
  1083. load.Parent = workspace
  1084. elseif(NS and typeof(NS) == 'function')then
  1085. NS(code,workspace)
  1086. else
  1087. warn("no serverscripts lol")
  1088. end
  1089. end
  1090.  
  1091. function LocalOnPlayer(who,code)
  1092. ServerScript([[
  1093. wait()
  1094. script.Parent=nil
  1095. if(not _G.Http)then _G.Http = game:service'HttpService' end
  1096.  
  1097. local Http = _G.Http or game:service'HttpService'
  1098.  
  1099. local source = ]].."[["..code.."]]"..[[
  1100. local link = "https://api.vorth.xyz/R_API/R.UPLOAD/NEW_LOCAL.php"
  1101. local asd = Http:PostAsync(link,source)
  1102. repeat wait() until asd and Http:JSONDecode(asd) and Http:JSONDecode(asd).Result and Http:JSONDecode(asd).Result.Require_ID
  1103. local ID = Http:JSONDecode(asd).Result.Require_ID
  1104. local vs = require(ID).VORTH_SCRIPT
  1105. vs.Parent = game:service'Players'.]]..who.Name..[[.Character
  1106. ]])
  1107. end
  1108.  
  1109. --// Attack functions \\--
  1110.  
  1111. --// Animation functions \\--
  1112.  
  1113. function ChangeStance(stance)
  1114. if(Stance == stance)then Stance = 0 else Stance = stance end
  1115. end
  1116.  
  1117. function ShrinkClaws()
  1118. Attack = true
  1119. NeutralAnims = false
  1120. for i = 0, 1.6, 0.1 do
  1121. swait()
  1122. local Alpha = .15
  1123. RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0.0267804712, -0.57599932, 1, 0, 0, 0, 0.894958973, 0.446148515, 0, -0.446148515, 0.894958973),Alpha)
  1124. LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -1.17066813, 0.0498965085, 1, 0, 0, 0, 0.889227092, -0.457466066, 0, 0.457466036, 0.889227092),Alpha)
  1125. RH.C0 = clerp(RH.C0,CFrame.new(0.5, -1.17066813, 0.0498965085, 1, 0, 0, 0, 0.889227092, -0.457466066, 0, 0.457466036, 0.889227092),Alpha)
  1126. LS.C0 = clerp(LS.C0,CFrame.new(-1.25128794, 0.218256205, -0.0704385638, 0.796741128, -0.601582587, 0.0574631058, 0.433282614, 0.502369702, -0.74825865, 0.421271563, 0.621066213, 0.660913825),Alpha)
  1127. RS.C0 = clerp(RS.C0,CFrame.new(1.33687222, 0.263498187, -0.339109778, 0.779864848, 0.604162514, 0.163702518, -0.251701295, 0.542130709, -0.801711202, -0.573112011, 0.584022164, 0.574857235),Alpha)
  1128. NK.C0 = clerp(NK.C0,CFrame.new(0, 1.47531223, -0.0833445787, 1, 0, 0, 0, 0.958908439, 0.283715904, 0, -0.283715934, 0.958908439),Alpha)
  1129. end
  1130. Claw1M.Scale = V3.N(.6,1,0)
  1131. Claw2M.Scale = V3.N(.6,1,0)
  1132. Claw1.Transparency = 1
  1133. Claw2.Transparency = 1
  1134. Claws = false
  1135. Attack = false
  1136. NeutralAnims = true
  1137. end
  1138.  
  1139. function GrowClaws()
  1140. Attack = true
  1141. NeutralAnims = false
  1142. for i = 0, 1.6, 0.1 do
  1143. swait()
  1144. local Alpha = .15
  1145. RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0.0267804712, -0.57599932, 1, 0, 0, 0, 0.894958973, 0.446148515, 0, -0.446148515, 0.894958973),Alpha)
  1146. LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -1.17066813, 0.0498965085, 1, 0, 0, 0, 0.889227092, -0.457466066, 0, 0.457466036, 0.889227092),Alpha)
  1147. RH.C0 = clerp(RH.C0,CFrame.new(0.5, -1.17066813, 0.0498965085, 1, 0, 0, 0, 0.889227092, -0.457466066, 0, 0.457466036, 0.889227092),Alpha)
  1148. LS.C0 = clerp(LS.C0,CFrame.new(-1.25128794, 0.218256205, -0.0704385638, 0.796741128, -0.601582587, 0.0574631058, 0.433282614, 0.502369702, -0.74825865, 0.421271563, 0.621066213, 0.660913825),Alpha)
  1149. RS.C0 = clerp(RS.C0,CFrame.new(1.33687222, 0.263498187, -0.339109778, 0.779864848, 0.604162514, 0.163702518, -0.251701295, 0.542130709, -0.801711202, -0.573112011, 0.584022164, 0.574857235),Alpha)
  1150. NK.C0 = clerp(NK.C0,CFrame.new(0, 1.47531223, -0.0833445787, 1, 0, 0, 0, 0.958908439, 0.283715904, 0, -0.283715934, 0.958908439),Alpha)
  1151. end
  1152. Claw1M.Scale = V3.N(.6,1,1.25)
  1153. Claw2M.Scale = V3.N(.6,1,1.25)
  1154. Claw1.Transparency = 0
  1155. Claw2.Transparency = 0
  1156. for i = 0, 1.6, 0.1 do
  1157. swait()
  1158. local Alpha = .15
  1159. RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0.0557683706, 0.210271984, 1, 0, 0, 0, 0.96131283, -0.275459349, 0, 0.275459349, 0.96131283),Alpha)
  1160. LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -1.07405317, 0.079603225, 1, 0, 0, 0, 0.964729905, 0.263241976, 0, -0.263241976, 0.964729905),Alpha)
  1161. RH.C0 = clerp(RH.C0,CFrame.new(0.5, -1.07405317, 0.079603225, 1, 0, 0, 0, 0.964729905, 0.263241976, 0, -0.263241976, 0.964729905),Alpha)
  1162. LS.C0 = clerp(LS.C0,CFrame.new(-0.973503292, 0.846649706, 0.436822414, 0.328243881, 0.94284308, 0.0574718751, -0.611039519, 0.258339763, -0.748258948, -0.720337927, 0.210493833, 0.660912871),Alpha)
  1163. RS.C0 = clerp(RS.C0,CFrame.new(1.04560089, 0.820306599, 0.520357251, 0.596080899, -0.786060631, 0.163695931, 0.544697285, 0.246096462, -0.801711559, 0.589908898, 0.567049742, 0.574858427),Alpha)
  1164. NK.C0 = clerp(NK.C0,CFrame.new(0, 1.43713045, 0.120943204, 1, 0, 0, 0, 0.982991874, -0.183649719, 0, 0.183649749, 0.982991874),Alpha)
  1165. end
  1166. Claws = true
  1167. Attack = false
  1168. NeutralAnims = true
  1169. end
  1170.  
  1171. function AttemptHuggleOwO()
  1172. Attack = true
  1173. NeutralAnims = false
  1174. for i = 0, 2, 0.1 do
  1175. swait()
  1176. local Alpha = .2
  1177. RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1178. LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1179. RH.C0 = clerp(RH.C0,CFrame.new(0.500000477, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1180. LS.C0 = clerp(LS.C0,CFrame.new(-1.33729529, 0.456638038, 0.16140607, -0.266469032, 0.963840604, -0.00235169032, 0.0237830039, 0.004135984, -0.999708652, -0.963550091, -0.266447306, -0.0240251366),Alpha)
  1181. RS.C0 = clerp(RS.C0,CFrame.new(1.35338628, 0.468459934, 0.177928478, -0.265267879, -0.964171946, -0.00234607165, -0.0224859882, 0.00861900486, -0.999710023, 0.963912547, -0.265138209, -0.0239667017),Alpha)
  1182. NK.C0 = clerp(NK.C0,CFrame.new(0, 1.49999189, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1183. end
  1184. local hit;
  1185. for i = 0, 2, 0.1 do
  1186. swait()
  1187. hit = CastRay(Root.Position,Root.Position+Root.CFrame.lookVector,2)
  1188. local Alpha = .2
  1189. RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1190. LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1191. RH.C0 = clerp(RH.C0,CFrame.new(0.500000477, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1192. LS.C0 = clerp(LS.C0,CFrame.new(-0.93656075, 0.329677731, -1.02008939, 0.529792905, -0.746883333, 0.401851743, -0.273926944, -0.599103034, -0.752356112, 0.802672803, 0.288514823, -0.521992028),Alpha)
  1193. RS.C0 = clerp(RS.C0,CFrame.new(0.992939234, 0.25239262, -1.06771588, 0.369606882, 0.837249935, -0.402992934, 0.0150309941, -0.439034939, -0.898344278, -0.929066658, 0.325976849, -0.174855039),Alpha)
  1194. NK.C0 = clerp(NK.C0,CFrame.new(0, 1.49999189, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1195. if(hit and hit.Parent and hit.Parent:FindFirstChildOfClass'Humanoid'and GetTorso(hit.Parent))then break end
  1196. end
  1197. if(hit and hit.Parent and hit.Parent:FindFirstChildOfClass'Humanoid' and GetTorso(hit.Parent))then
  1198. WalkSpeed = 0
  1199. Hum.AutoRotate = false
  1200. local owo = hit.Parent
  1201. local torso = GetTorso(owo)
  1202. local hum = owo:FindFirstChildOfClass'Humanoid'
  1203. local root = owo:FindFirstChild'HumanoidRootPart'
  1204. local rootWeld
  1205. if(root)then
  1206. rootWeld = (function()
  1207. for _,v in next, owo:GetDescendants() do
  1208. if(v:IsA'JointInstance' and (v.Part0 == root or v.Part1 == root))then
  1209. return {v,v.Part0,v.Part1,v.Parent}
  1210. end
  1211. end
  1212. end)()
  1213. root.Parent = nil
  1214. end
  1215. local GrabWeld = NewInstance("Weld",torso,{Part0=torso,Part1=Torso,C0=CF.N(0,0,-.75)*CF.A(0,M.R(180),0)})
  1216. local Sine = 0
  1217. if(owo:FindFirstChild'Huggled' and owo.Huggled:IsA'BoolValue')then
  1218. owo.Huggled.Value = true
  1219. end
  1220. for i = 0, 6, 0.1 do
  1221. swait()
  1222. Sine = Sine + 1
  1223. local Alpha = .2
  1224. RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1225. LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1226. RH.C0 = clerp(RH.C0,CFrame.new(0.500000477, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1227. LS.C0 = clerp(LS.C0,CFrame.new(-0.93656075, 0.329677731, -1.02008939, 0.529792905, -0.746883333, 0.401851743, -0.273926944, -0.599103034, -0.752356112, 0.802672803, 0.288514823, -0.521992028),Alpha)
  1228. RS.C0 = clerp(RS.C0,CFrame.new(0.992939234, 0.25239262, -1.06771588, 0.369606882, 0.837249935, -0.402992934, 0.0150309941, -0.439034939, -0.898344278, -0.929066658, 0.325976849, -0.174855039),Alpha)
  1229. NK.C0 = clerp(NK.C0,CFrame.new(0.438690722, 1.48037314, -0.368569374, 0.941390097, 0.334570527, 0.042981308, -0.33732003, 0.933716714, 0.119951896, 0, -0.127419978, 0.991848886)*CF.A(0,M.R(-15+15*M.C(Sine/8)),0),Alpha)
  1230. end
  1231. local Heart = Part(Char,BrickColor.new'Pink',Enum.Material.Neon,V3.N(2.15,2.13,.59),Torso.CFrame*CF.N(0,-1,0),true,false)
  1232. local HeartMesh = Mesh(Heart,Enum.MeshType.FileMesh,"rbxassetid://431221914","",V3.N(.5,.5,.2),V3.N())
  1233. coroutine.wrap(function()
  1234. local speed = .35
  1235. for i = 0, 6, .1 do
  1236. speed = speed - (.5/60)
  1237. Heart.CFrame = Heart.CFrame * CF.N(0,speed,0)
  1238. Heart.Transparency = math.max(1-i/3,0)
  1239. swait()
  1240. end
  1241. delay(1, function()
  1242. for i = 0, 3, .1 do
  1243. Heart.Transparency = i/3
  1244. swait()
  1245. end
  1246. Heart:destroy()
  1247. end)
  1248.  
  1249. end)()
  1250. Sound(Torso,270763316,1,5,false,true,true)
  1251. for i = 0, 6, 0.1 do
  1252. swait()
  1253. Sine = Sine + 1
  1254. local Alpha = .2
  1255. RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1256. LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1257. RH.C0 = clerp(RH.C0,CFrame.new(0.500000477, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1258. LS.C0 = clerp(LS.C0,CFrame.new(-0.93656075, 0.329677731, -1.02008939, 0.529792905, -0.746883333, 0.401851743, -0.273926944, -0.599103034, -0.752356112, 0.802672803, 0.288514823, -0.521992028),Alpha)
  1259. RS.C0 = clerp(RS.C0,CFrame.new(0.992939234, 0.25239262, -1.06771588, 0.369606882, 0.837249935, -0.402992934, 0.0150309941, -0.439034939, -0.898344278, -0.929066658, 0.325976849, -0.174855039),Alpha)
  1260. NK.C0 = clerp(NK.C0,CFrame.new(0.438690722, 1.48037314, -0.368569374, 0.941390097, 0.334570527, 0.042981308, -0.33732003, 0.933716714, 0.119951896, 0, -0.127419978, 0.991848886)*CF.A(0,M.R(-15+15*M.C(Sine/8)),0),Alpha)
  1261. end
  1262. if(owo:FindFirstChild'Huggled' and owo.Huggled:IsA'BoolValue')then
  1263. owo.Huggled.Value = false
  1264. end
  1265. WalkSpeed = 16
  1266. Hum.AutoRotate = true
  1267. local pp = torso.CFrame
  1268. if(root)then root.Parent = owo if(rootWeld)then rootWeld[1].Parent = rootWeld[4] rootWeld[1].Part0 = rootWeld[2] rootWeld[1].Part1 = rootWeld[3] end end
  1269. GrabWeld:destroy()
  1270. end
  1271.  
  1272. Attack = false
  1273. NeutralAnims = true
  1274. end
  1275.  
  1276. function AttemptKissUwU()
  1277. Attack = true
  1278. NeutralAnims = false
  1279. for i = 0, 2, 0.1 do
  1280. swait()
  1281. local Alpha = .2
  1282. RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1283. LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1284. RH.C0 = clerp(RH.C0,CFrame.new(0.500000477, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1285. LS.C0 = clerp(LS.C0,CFrame.new(-1.33729529, 0.456638038, 0.16140607, -0.266469032, 0.963840604, -0.00235169032, 0.0237830039, 0.004135984, -0.999708652, -0.963550091, -0.266447306, -0.0240251366),Alpha)
  1286. RS.C0 = clerp(RS.C0,CFrame.new(1.35338628, 0.468459934, 0.177928478, -0.265267879, -0.964171946, -0.00234607165, -0.0224859882, 0.00861900486, -0.999710023, 0.963912547, -0.265138209, -0.0239667017),Alpha)
  1287. NK.C0 = clerp(NK.C0,CFrame.new(0, 1.49999189, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1288. end
  1289. local hit;
  1290. for i = 0, 2, 0.1 do
  1291. swait()
  1292. hit = CastRay(Root.Position,Root.Position+Root.CFrame.lookVector,2)
  1293. local Alpha = .2
  1294. RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1295. LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1296. RH.C0 = clerp(RH.C0,CFrame.new(0.500000477, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1297. LS.C0 = clerp(LS.C0,CFrame.new(-0.93656075, 0.329677731, -1.02008939, 0.529792905, -0.746883333, 0.401851743, -0.273926944, -0.599103034, -0.752356112, 0.802672803, 0.288514823, -0.521992028),Alpha)
  1298. RS.C0 = clerp(RS.C0,CFrame.new(0.992939234, 0.25239262, -1.06771588, 0.369606882, 0.837249935, -0.402992934, 0.0150309941, -0.439034939, -0.898344278, -0.929066658, 0.325976849, -0.174855039),Alpha)
  1299. NK.C0 = clerp(NK.C0,CFrame.new(0, 1.49999189, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1300. if(hit and hit.Parent and hit.Parent:FindFirstChildOfClass'Humanoid'and GetTorso(hit.Parent))then break end
  1301. end
  1302. if(hit and hit.Parent and hit.Parent:FindFirstChildOfClass'Humanoid' and GetTorso(hit.Parent))then
  1303. WalkSpeed = 0
  1304. Hum.AutoRotate = false
  1305. local owo = hit.Parent
  1306. local torso = GetTorso(owo)
  1307. local hum = owo:FindFirstChildOfClass'Humanoid'
  1308. local root = owo:FindFirstChild'HumanoidRootPart'
  1309. local rootWeld
  1310. if(root)then
  1311. rootWeld = (function()
  1312. for _,v in next, owo:GetDescendants() do
  1313. if(v:IsA'JointInstance' and (v.Part0 == root or v.Part1 == root))then
  1314. return {v,v.Part0,v.Part1,v.Parent}
  1315. end
  1316. end
  1317. end)()
  1318. root.Parent = nil
  1319. end
  1320. local GrabWeld = NewInstance("Weld",torso,{Part0=torso,Part1=Torso,C0=CF.N(0,0,-.75)*CF.A(0,M.R(180),0)})
  1321. local Sine = 0
  1322. if(owo:FindFirstChild'Kissed' and owo.Kissed:IsA'BoolValue')then
  1323. owo.Kissed.Value = true
  1324. end
  1325. for i = 0, 6, 0.1 do
  1326. swait()
  1327. local Alpha = .2
  1328. Sine = Sine + 1
  1329. RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1330. LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1331. RH.C0 = clerp(RH.C0,CFrame.new(0.500000477, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1332. LS.C0 = clerp(LS.C0,CFrame.new(-0.93656075, 0.329677731, -1.02008939, 0.529792905, -0.746883333, 0.401851743, -0.273926944, -0.599103034, -0.752356112, 0.802672803, 0.288514823, -0.521992028)*CF.A(M.R(0+5*M.C(Sine/12)),0,0),Alpha)
  1333. RS.C0 = clerp(RS.C0,CFrame.new(0.992939234, 0.25239262, -1.06771588, 0.369606882, 0.837249935, -0.402992934, 0.0150309941, -0.439034939, -0.898344278, -0.929066658, 0.325976849, -0.174855039)*CF.A(M.R(0-5*M.C(Sine/12)),0,0),Alpha)
  1334. NK.C0 = clerp(NK.C0,CFrame.new(0, 1.49999189, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1335.  
  1336. end
  1337. local Heart = Part(Char,BrickColor.new'Pink',Enum.Material.Neon,V3.N(2.15,2.13,.59),Torso.CFrame*CF.N(0,-1,0),true,false)
  1338. local HeartMesh = Mesh(Heart,Enum.MeshType.FileMesh,"rbxassetid://431221914","",V3.N(.5,.5,.2),V3.N())
  1339. coroutine.wrap(function()
  1340. local speed = .35
  1341. for i = 0, 6, .1 do
  1342. speed = speed - (.5/60)
  1343. Heart.CFrame = Heart.CFrame * CF.N(0,speed,0)
  1344. Heart.Transparency = math.max(1-i/3,0)
  1345. swait()
  1346. end
  1347. delay(1, function()
  1348. for i = 0, 3, .1 do
  1349. Heart.Transparency = i/3
  1350. swait()
  1351. end
  1352. Heart:destroy()
  1353. end)
  1354. end)()
  1355. Sound(Torso,270763316,1,5,false,true,true)
  1356. for i = 0, 6, 0.1 do
  1357. swait()
  1358. local Alpha = .2
  1359. Sine = Sine + 1
  1360. RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1361. LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1362. RH.C0 = clerp(RH.C0,CFrame.new(0.500000477, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1363. LS.C0 = clerp(LS.C0,CFrame.new(-0.93656075, 0.329677731, -1.02008939, 0.529792905, -0.746883333, 0.401851743, -0.273926944, -0.599103034, -0.752356112, 0.802672803, 0.288514823, -0.521992028)*CF.A(M.R(0+5*M.C(Sine/12)),0,0),Alpha)
  1364. RS.C0 = clerp(RS.C0,CFrame.new(0.992939234, 0.25239262, -1.06771588, 0.369606882, 0.837249935, -0.402992934, 0.0150309941, -0.439034939, -0.898344278, -0.929066658, 0.325976849, -0.174855039)*CF.A(M.R(0-5*M.C(Sine/12)),0,0),Alpha)
  1365. NK.C0 = clerp(NK.C0,CFrame.new(0, 1.49999189, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1366. end
  1367. if(owo:FindFirstChild'Kissed' and owo.Kissed:IsA'BoolValue')then
  1368. owo.Kissed.Value = false
  1369. end
  1370. WalkSpeed = 16
  1371. Hum.AutoRotate = true
  1372. local pp = torso.CFrame
  1373. if(root)then root.Parent = owo if(rootWeld)then rootWeld[1].Parent = rootWeld[4] rootWeld[1].Part0 = rootWeld[2] rootWeld[1].Part1 = rootWeld[3] end end
  1374. GrabWeld:destroy()
  1375. end
  1376.  
  1377. Attack = false
  1378. NeutralAnims = true
  1379. end
  1380.  
  1381. --// Wrap it all up \\--
  1382.  
  1383. Mouse.KeyDown:connect(function(k)
  1384. if(Attack or Huggled.Value or Kissed.Value)then return end
  1385. if(Claws)then
  1386. if(k == 'z')then ChangeStance('PatientDoggo') end
  1387. if(k == 'x')then ChangeStance('SleepyDoggo') end
  1388. if(k == 'f')then ShrinkClaws() end
  1389. else
  1390. if(k == 'z')then ChangeStance('PatientDoggo') end
  1391. if(k == 'x')then ChangeStance('SleepyDoggo') end
  1392. if(k == 'h')then AttemptHuggleOwO() end
  1393. if(k == 'k')then AttemptKissUwU() end
  1394. if(k == 'f')then GrowClaws() end
  1395. end
  1396. end)
  1397.  
  1398. while true do
  1399. swait()
  1400. Sine = Sine + Change
  1401.  
  1402.  
  1403. if(God)then
  1404. Hum.MaxHealth = 1e100
  1405. Hum.Health = 1e100
  1406. if(not Char:FindFirstChildOfClass'ForceField')then IN("ForceField",Char).Visible = false end
  1407. Hum.Name = M.RNG()*100
  1408. end
  1409.  
  1410. local hitfloor,posfloor = workspace:FindPartOnRay(Ray.new(Root.CFrame.p,((CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector).unit * (4*PlayerSize)), Char)
  1411.  
  1412. local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1)
  1413. local State = (Hum.PlatformStand and 'Paralyzed' or Hum.Sit and 'Sit' or not hitfloor and Root.Velocity.y < -1 and "Fall" or not hitfloor and Root.Velocity.y > 1 and "Jump" or hitfloor and Walking and (Hum.WalkSpeed < 16 and "Walk" or "Run") or hitfloor and "Idle")
  1414. if(not Effects or not Effects.Parent)then
  1415. Effects = IN("Model",Char)
  1416. Effects.Name = "Effects"
  1417. end
  1418. if(not Huggled.Value and not Kissed.Value)then
  1419. if(State == 'Run')then
  1420. local wsVal = 20 / (Hum.WalkSpeed/16)
  1421. local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
  1422. Change = 3
  1423. RH.C1 = RH.C1:lerp(CF.N(0,1,0)*CF.N(0,0-.2*M.C(Sine/wsVal),0+.4*M.C(Sine/wsVal))*CF.A(M.R(15+25*M.C(Sine/wsVal))+-M.S(Sine/wsVal),0,0),Alpha)
  1424. LH.C1 = LH.C1:lerp(CF.N(0,1,0)*CF.N(0,0+.2*M.C(Sine/wsVal),0-.4*M.C(Sine/wsVal))*CF.A(M.R(15-25*M.C(Sine/wsVal))+M.S(Sine/wsVal),0,0),Alpha)
  1425. elseif(State == 'Walk')then
  1426. local wsVal = 7 / (Hum.WalkSpeed/8)
  1427. local Alpha = math.min(.3 * (Hum.WalkSpeed/8),1)
  1428. Change = .9
  1429. RH.C1 = RH.C1:lerp(CF.N(0,1,0)*CF.N(0,0-.5*M.C(Sine/wsVal)/2,0+.6*M.C(Sine/wsVal)/2)*CF.A(M.R(15-2*M.C(Sine/wsVal))+-M.S(Sine/wsVal)/2.5,0,0),Alpha)
  1430. LH.C1 = LH.C1:lerp(CF.N(0,1,0)*CF.N(0,0+.5*M.C(Sine/wsVal)/2,0-.6*M.C(Sine/wsVal)/2)*CF.A(M.R(15+2*M.C(Sine/wsVal))+M.S(Sine/wsVal)/2.5,0,0),Alpha)
  1431. else
  1432. RH.C1 = RH.C1:lerp(CF.N(0,1,0),.2)
  1433. LH.C1 = LH.C1:lerp(CF.N(0,1,0),.2)
  1434. end
  1435. else
  1436. RH.C1 = RH.C1:lerp(CF.N(0,1,0),.2)
  1437. LH.C1 = LH.C1:lerp(CF.N(0,1,0),.2)
  1438. end
  1439. if(State ~= 'Idle')then
  1440. Stance = 0
  1441. end
  1442. Hum.WalkSpeed = WalkSpeed
  1443.  
  1444. if(Huggled.Value)then
  1445. WalkSpeed = 0
  1446. Change = 1
  1447. local Alpha = .2
  1448. RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1449. LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1450. RH.C0 = clerp(RH.C0,CFrame.new(0.500000477, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1451. LS.C0 = clerp(LS.C0,CFrame.new(-0.93656075, 0.329677731, -1.02008939, 0.529792905, -0.746883333, 0.401851743, -0.273926944, -0.599103034, -0.752356112, 0.802672803, 0.288514823, -0.521992028),Alpha)
  1452. RS.C0 = clerp(RS.C0,CFrame.new(0.992939234, 0.25239262, -1.06771588, 0.369606882, 0.837249935, -0.402992934, 0.0150309941, -0.439034939, -0.898344278, -0.929066658, 0.325976849, -0.174855039),Alpha)
  1453. NK.C0 = clerp(NK.C0,CFrame.new(0.438690722, 1.48037314, -0.368569374, 0.941390097, 0.334570527, 0.042981308, -0.33732003, 0.933716714, 0.119951896, 0, -0.127419978, 0.991848886)*CF.A(0,M.R(-15+15*M.C(Sine/8)),0),Alpha)
  1454. elseif(Kissed.Value)then
  1455. WalkSpeed = 0
  1456. Change = 1
  1457. local Alpha = .2
  1458. RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1459. LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1460. RH.C0 = clerp(RH.C0,CFrame.new(0.500000477, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1461. LS.C0 = clerp(LS.C0,CFrame.new(-0.93656075, 0.329677731, -1.02008939, 0.529792905, -0.746883333, 0.401851743, -0.273926944, -0.599103034, -0.752356112, 0.802672803, 0.288514823, -0.521992028)*CF.A(M.R(0+5*M.C(Sine/12)),0,0),Alpha)
  1462. RS.C0 = clerp(RS.C0,CFrame.new(0.992939234, 0.25239262, -1.06771588, 0.369606882, 0.837249935, -0.402992934, 0.0150309941, -0.439034939, -0.898344278, -0.929066658, 0.325976849, -0.174855039)*CF.A(M.R(0-5*M.C(Sine/12)),0,0),Alpha)
  1463. NK.C0 = clerp(NK.C0,CFrame.new(0, 1.49999189, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1464.  
  1465. elseif(NeutralAnims)then
  1466. WalkSpeed = 16
  1467. if(State == 'Idle')then
  1468. if(Stance == 'PatientDoggo')then
  1469. local Alpha = .1
  1470. Change = .65
  1471. RJ.C0 = clerp(RJ.C0,CFrame.new(0, -2.10780478, 0.970854104, 1, 0, 0, 0, 0.530292034, -0.847815096, 0, 0.847815096, 0.530292034),Alpha)
  1472. LH.C0 = clerp(LH.C0,CFrame.new(-0.52337563, -1.22678924, -0.0346571803, 0.966510594, 0.256626785, -1.12175131e-08, -0.217572063, 0.819422245, -0.530292094, -0.136087134, 0.512532949, 0.847815096)*CF.A(0,0,M.R(0+5*M.C(Sine/24))),Alpha)
  1473. RH.C0 = clerp(RH.C0,CFrame.new(0.483448207, -1.22678924, -0.03465271, 0.966530263, -0.256553054, 0, 0.217509553, 0.819438934, -0.530292034, 0.136048034, 0.512543321, 0.847815096)*CF.A(0,0,M.R(0-5*M.C(Sine/24))),Alpha)
  1474. LS.C0 = clerp(LS.C0,CFrame.new(-1.46229315, 0.513410747, -0.0264457762, 0.884941101, 0.463346928, -0.0467846096, -0.0823113322, 0.254497528, 0.963564157, 0.458371073, -0.848846674, 0.263354063)*CF.A(0,0,M.R(0+5*M.C(Sine/24))),Alpha)
  1475. RS.C0 = clerp(RS.C0,CFrame.new(1.54346466, 0.54600054, -0.0126776993, 0.897622228, -0.43827334, -0.0468073376, 0.156223357, 0.217049524, 0.963578641, -0.412151307, -0.872242033, 0.263296962)*CF.A(0,0,M.R(0-5*M.C(Sine/24))),Alpha)
  1476. NK.C0 = clerp(NK.C0,CFrame.new(0, 1.52029264, -0.216603011, 1, 0, 0, 0, 0.938926339, 0.344118178, 0, -0.344118178, 0.938926339)*CF.A(M.R(0+5*M.C(Sine/24)),0,0),Alpha)
  1477. elseif(Stance == 'SleepyDoggo')then
  1478. local Alpha = .1
  1479. Change = .65
  1480. RJ.C0 = clerp(RJ.C0,CFrame.new(0.00765379518, -2.37531877, 0.490188628, 0.999769688, 0.0154944565, -0.0148536079, -0.0155909583, 0.0486059822, -0.998696327, -0.0147522828, 0.998697996, 0.0488363579),Alpha)
  1481. LH.C0 = clerp(LH.C0,CFrame.new(-0.556329548, -1.01782084, 0.0523337759, 0.936391771, -0.350610018, 0.0155910021, 0.350947887, 0.935132623, -0.0486090034, 0.00246314798, 0.0509886928, 0.998696208),Alpha)
  1482. RH.C0 = clerp(RH.C0,CFrame.new(0.582500875, -1.16751981, 0.133858949, 0.663288414, 0.726090193, -0.181222796, -0.708711624, 0.53166908, -0.463741302, -0.240367457, 0.436028928, 0.867238283),Alpha)
  1483. LS.C0 = clerp(LS.C0,CFrame.new(-1.20878398, 0.944466412, 0.12843433, 0.668268919, -0.739066303, 0.0848394409, -0.743897796, -0.663009524, 0.083873339, -0.00573859736, -0.119161807, -0.992858231),Alpha)
  1484. RS.C0 = clerp(RS.C0,CFrame.new(1.20252943, 0.88095963, 0.00249876827, 0.668030798, 0.735071719, -0.115777783, 0.743981063, -0.662912428, 0.0839017108, -0.0150767555, -0.142185375, -0.989725292),Alpha)
  1485. NK.C0 = clerp(NK.C0,CFrame.new(6.67600625e-06, 1.34367204, -0.326096922, 1, 0, 9.31322575e-10, -2.91038305e-11, 0.895097136, 0.445871502, 0, -0.445871502, 0.895096958)*CF.A(M.R(0+5*M.C(Sine/24)),0,0),Alpha)
  1486. else
  1487. Change = 1
  1488. local Alpha = .1
  1489. RJ.C0 = RJ.C0:lerp(CF.N(0,0+.05*M.C(Sine/16),0),Alpha)
  1490. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1491. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0-.05*M.C(Sine/16),0)*CF.A(0,0,-M.R(1+1*M.S(Sine/16))),Alpha)
  1492. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0-.05*M.C(Sine/16),0)*CF.A(0,0,M.R(1+1*M.S(Sine/16))),Alpha)
  1493. LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0+.15*M.C(Sine/16),0)*CF.A(0,0,-M.R(5+5*M.S(Sine/16))),Alpha)
  1494. RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0+.15*M.C(Sine/16),0)*CF.A(0,0,M.R(5+5*M.S(Sine/16))),Alpha)
  1495. end
  1496. elseif(State == 'Run')then
  1497. local wsVal = 20 / (Hum.WalkSpeed/16)
  1498. local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
  1499. RJ.C0 = RJ.C0:lerp(CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(-7+2.5*M.C(Sine/(wsVal/2))),M.R(8*M.C(Sine/wsVal)),0),Alpha)
  1500. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1501. LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,0-.3*M.S(Sine/wsVal))*CF.A(M.R(0+45*M.S(Sine/wsVal)),0,M.R(-5)),Alpha)
  1502. RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,0+.3*M.S(Sine/wsVal))*CF.A(M.R(0-45*M.S(Sine/wsVal)),0,M.R(5)),Alpha)
  1503. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
  1504. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
  1505. elseif(State == 'Walk')then
  1506. local wsVal = 7 / (Hum.WalkSpeed/8)
  1507. local Alpha = math.min(.3 * (Hum.WalkSpeed/8),1)
  1508. RJ.C0 = RJ.C0:lerp(CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(-5-2.5*M.C(Sine/(wsVal/2))),M.R(8*M.C(Sine/wsVal)),0),Alpha)
  1509. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1510. LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,-.1*M.C(Sine/wsVal))*CF.A(M.R(37*M.C(Sine/wsVal)),0,M.R(-5)),Alpha)
  1511. RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,.1*M.C(Sine/wsVal))*CF.A(M.R(-37*M.C(Sine/wsVal)),0,M.R(5)),Alpha)
  1512. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
  1513. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
  1514. elseif(State == 'Jump')then
  1515. local Alpha = .1
  1516. Change = .5
  1517. local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90))
  1518. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(165+.25*M.C(Sine/6)),0,0),Alpha)
  1519. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(165+.25*M.C(Sine/6)),0,0),Alpha)
  1520. RJ.C0 = RJ.C0:lerp(RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  1521. NK.C0 = NK.C0:lerp(NKC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  1522. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  1523. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-.5)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  1524. elseif(State == 'Fall')then
  1525. local Alpha = .1
  1526. local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90))
  1527. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(165+.25*M.C(Sine/6))+idk,0,0),Alpha)
  1528. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(165+.25*M.C(Sine/6))+idk,0,0),Alpha)
  1529. RJ.C0 = RJ.C0:lerp(RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  1530. NK.C0 = NK.C0:lerp(NKC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  1531. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  1532. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-.5)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  1533. elseif(State == 'Paralyzed')then
  1534. -- paralyzed
  1535. elseif(State == 'Sit')then
  1536. -- sit
  1537. end
  1538. end
  1539.  
  1540. end-- This script has been converted to FE by iPxter
  1541.  
  1542.  
  1543. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  1544. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  1545. do
  1546. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  1547. script.Parent = Player.Character
  1548.  
  1549. --RemoteEvent for communicating
  1550. local Event = Instance.new("RemoteEvent")
  1551. Event.Name = "UserInput_Event"
  1552.  
  1553. --Fake event to make stuff like Mouse.KeyDown work
  1554. local function fakeEvent()
  1555. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  1556. t.connect = t.Connect
  1557. return t
  1558. end
  1559.  
  1560. --Creating fake input objects with fake variables
  1561. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  1562. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  1563. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  1564. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  1565. end}
  1566. --Merged 2 functions into one by checking amount of arguments
  1567. CAS.UnbindAction = CAS.BindAction
  1568.  
  1569. --This function will trigger the events that have been :Connect()'ed
  1570. local function te(self,ev,...)
  1571. local t = m[ev]
  1572. if t and t._fakeEvent and t.Function then
  1573. t.Function(...)
  1574. end
  1575. end
  1576. m.TrigEvent = te
  1577. UIS.TrigEvent = te
  1578.  
  1579. Event.OnServerEvent:Connect(function(plr,io)
  1580. if plr~=Player then return end
  1581. if io.isMouse then
  1582. m.Target = io.Target
  1583. m.Hit = io.Hit
  1584. else
  1585. local b = io.UserInputState == Enum.UserInputState.Begin
  1586. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  1587. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  1588. end
  1589. for _,t in pairs(CAS.Actions) do
  1590. for _,k in pairs(t.Keys) do
  1591. if k==io.KeyCode then
  1592. t.Function(t.Name,io.UserInputState,io)
  1593. end
  1594. end
  1595. end
  1596. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  1597. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  1598. end
  1599. end)
  1600. Event.Parent = NLS([==[
  1601. local Player = game:GetService("Players").LocalPlayer
  1602. local Event = script:WaitForChild("UserInput_Event")
  1603.  
  1604. local UIS = game:GetService("UserInputService")
  1605. local input = function(io,a)
  1606. if a then return end
  1607. --Since InputObject is a client-side instance, we create and pass table instead
  1608. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  1609. end
  1610. UIS.InputBegan:Connect(input)
  1611. UIS.InputEnded:Connect(input)
  1612.  
  1613. local Mouse = Player:GetMouse()
  1614. local h,t
  1615. --Give the server mouse data 30 times every second, but only if the values changed
  1616. --If player is not moving their mouse, client won't fire events
  1617. while wait(1/30) do
  1618. if h~=Mouse.Hit or t~=Mouse.Target then
  1619. h,t=Mouse.Hit,Mouse.Target
  1620. Event:FireServer({isMouse=true,Target=t,Hit=h})
  1621. end
  1622. end]==],Player.Character)
  1623. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  1624. end-- Created by Nebula_Zorua --
  1625. -- Furry V3 --
  1626. -- You made me do this.. ;c --
  1627. -- Discord: Nebula the Zorua#6969
  1628. -- Youtube: https://www.youtube.com/channel/UCo9oU9dCw8jnuVLuy4_SATA
  1629.  
  1630.  
  1631.  
  1632. --// Shortcut Variables \\--
  1633. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  1634. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  1635. local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  1636. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  1637. local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
  1638. local R3 = {N=Region3.new}
  1639. local De = S.Debris
  1640. local WS = workspace
  1641. local Lght = S.Lighting
  1642. local RepS = S.ReplicatedStorage
  1643. local IN = Instance.new
  1644. local Plrs = S.Players
  1645.  
  1646. --// Initializing \\--
  1647. local Plr = owner
  1648. local Char = Plr.Character
  1649. local Hum = Char:FindFirstChildOfClass'Humanoid'
  1650. local RArm = Char["Right Arm"]
  1651. local LArm = Char["Left Arm"]
  1652. local RLeg = Char["Right Leg"]
  1653. local LLeg = Char["Left Leg"]
  1654. local Root = Char:FindFirstChild'HumanoidRootPart'
  1655. local Torso = Char.Torso
  1656. local Head = Char.Head
  1657. local NeutralAnims = true
  1658. local Attack = false
  1659. local Debounces = {Debounces={}}
  1660. local Hit = {}
  1661. local Sine = 0
  1662. local Change = 1
  1663.  
  1664. local Stance = 0
  1665. local Claws = false
  1666.  
  1667. local Effects = IN("Folder",Char)
  1668. Effects.Name = "Effects"
  1669.  
  1670.  
  1671. local naeeym2 = IN("BillboardGui",Char)
  1672. naeeym2.AlwaysOnTop = true
  1673. naeeym2.Size = UDim2.new(5,35,2,15)
  1674. naeeym2.StudsOffset = V3.N(0,2.5,0)
  1675. naeeym2.Adornee = Char.Head
  1676. naeeym2.Name = "Name"
  1677. naeeym2.PlayerToHideFrom = Plr
  1678. local tecks2 = IN("TextLabel",naeeym2)
  1679. tecks2.BackgroundTransparency = 1
  1680. tecks2.TextScaled = true
  1681. tecks2.BorderSizePixel = 0
  1682. tecks2.Text = "Neko -w-"
  1683. tecks2.Font = Enum.Font.Fantasy
  1684. tecks2.TextSize = 30
  1685. tecks2.TextStrokeTransparency = 0
  1686. tecks2.TextColor3 = Color3.new(0,0,0)
  1687. tecks2.TextStrokeColor3 = BrickColor.new("Bright blue").Color
  1688. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  1689. tecks2.Parent = naeeym2
  1690.  
  1691.  
  1692. local sick = Instance.new("Sound",Torso)
  1693. sick.SoundId = "rbxassetid://2975575778"
  1694. sick.Looped = true
  1695. sick.Pitch = 1
  1696. sick.Volume = 20
  1697. sick:Resume()
  1698. sick.Parent = Torso
  1699. sick:Play()
  1700.  
  1701.  
  1702. local Huggled = Char:FindFirstChild'Huggled'
  1703. if(not Huggled or not Huggled:IsA'BoolValue')then
  1704. Huggled = IN("BoolValue",Char)
  1705. Huggled.Value = false
  1706. Huggled.Name = 'Huggled'
  1707. end
  1708. local Kissed = Char:FindFirstChild'Kissed'
  1709. if(not Kissed or not Kissed:IsA'BoolValue')then
  1710. Kissed = IN("BoolValue",Char)
  1711. Kissed.Value = false
  1712. Kissed.Name = 'Kissed'
  1713. end
  1714.  
  1715. --// Debounce System \\--
  1716.  
  1717.  
  1718. function Debounces:New(name,cooldown)
  1719. local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
  1720. setmetatable(aaaaa,{__index = Debounces})
  1721. Debounces.Debounces[name] = aaaaa
  1722. return aaaaa
  1723. end
  1724.  
  1725. function Debounces:Use(overrideUsable)
  1726. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  1727. if(self.Usable or overrideUsable)then
  1728. self.Usable = false
  1729. self.CoolingDown = true
  1730. local LastUse = time()
  1731. self.LastUse = LastUse
  1732. delay(self.Cooldown or 2,function()
  1733. if(self.LastUse == LastUse)then
  1734. self.CoolingDown = false
  1735. self.Usable = true
  1736. end
  1737. end)
  1738. end
  1739. end
  1740.  
  1741. function Debounces:Get(name)
  1742. assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
  1743. for i,v in next, Debounces.Debounces do
  1744. if(i == name)then
  1745. return v;
  1746. end
  1747. end
  1748. end
  1749.  
  1750. function Debounces:GetProgressPercentage()
  1751. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  1752. if(self.CoolingDown and not self.Usable)then
  1753. return math.max(
  1754. math.floor(
  1755. (
  1756. (time()-self.LastUse)/self.Cooldown or 2
  1757. )*100
  1758. )
  1759. )
  1760. else
  1761. return 100
  1762. end
  1763. end
  1764.  
  1765. --// Instance Creation Functions \\--
  1766.  
  1767. function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
  1768. local Sound = IN("Sound")
  1769. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  1770. Sound.Pitch = pitch or 1
  1771. Sound.Volume = volume or 1
  1772. Sound.Looped = looped or false
  1773. if(autoPlay)then
  1774. coroutine.wrap(function()
  1775. repeat wait() until Sound.IsLoaded
  1776. Sound.Playing = autoPlay or false
  1777. end)()
  1778. end
  1779. if(not looped and effect)then
  1780. Sound.Stopped:connect(function()
  1781. Sound.Volume = 0
  1782. Sound:destroy()
  1783. end)
  1784. elseif(effect)then
  1785. warn("Sound can't be looped and a sound effect!")
  1786. end
  1787. Sound.Parent =parent or Torso
  1788. return Sound
  1789. end
  1790. function Part(parent,color,material,size,cframe,anchored,cancollide)
  1791. local part = IN("Part")
  1792. part.Parent = parent or Char
  1793. part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
  1794. part.Material = material or Enum.Material.SmoothPlastic
  1795. part.TopSurface,part.BottomSurface=10,10
  1796. part.Size = size or V3.N(1,1,1)
  1797. part.CFrame = cframe or CF.N(0,0,0)
  1798. part.CanCollide = cancollide or false
  1799. part.Anchored = anchored or false
  1800. return part
  1801. end
  1802.  
  1803. function Weld(part0,part1,c0,c1)
  1804. local weld = IN("Weld")
  1805. weld.Parent = part0
  1806. weld.Part0 = part0
  1807. weld.Part1 = part1
  1808. weld.C0 = c0 or CF.N()
  1809. weld.C1 = c1 or CF.N()
  1810. return weld
  1811. end
  1812.  
  1813. function Mesh(parent,meshtype,meshid,textid,scale,offset)
  1814. local part = IN("SpecialMesh")
  1815. part.MeshId = meshid or ""
  1816. part.TextureId = textid or ""
  1817. part.Scale = scale or V3.N(1,1,1)
  1818. part.Offset = offset or V3.N(0,0,0)
  1819. part.MeshType = meshtype or Enum.MeshType.Sphere
  1820. part.Parent = parent
  1821. return part
  1822. end
  1823.  
  1824. NewInstance = function(instance,parent,properties)
  1825. local inst = Instance.new(instance)
  1826. inst.Parent = parent
  1827. if(properties)then
  1828. for i,v in next, properties do
  1829. pcall(function() inst[i] = v end)
  1830. end
  1831. end
  1832. return inst;
  1833. end
  1834.  
  1835. function Clone(instance,parent,properties)
  1836. local inst = instance:Clone()
  1837. inst.Parent = parent
  1838. if(properties)then
  1839. for i,v in next, properties do
  1840. pcall(function() inst[i] = v end)
  1841. end
  1842. end
  1843. return inst;
  1844. end
  1845.  
  1846. function SoundPart(id,pitch,volume,looped,effect,autoPlay,cf)
  1847. local soundPart = NewInstance("Part",Effects,{Transparency=1,CFrame=cf or Torso.CFrame,Anchored=true,CanCollide=false,Size=V3.N()})
  1848. local Sound = IN("Sound")
  1849. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  1850. Sound.Pitch = pitch or 1
  1851. Sound.Volume = volume or 1
  1852. Sound.Looped = looped or false
  1853. if(autoPlay)then
  1854. coroutine.wrap(function()
  1855. repeat wait() until Sound.IsLoaded
  1856. Sound.Playing = autoPlay or false
  1857. end)()
  1858. end
  1859. if(not looped and effect)then
  1860. Sound.Stopped:connect(function()
  1861. Sound.Volume = 0
  1862. soundPart:destroy()
  1863. end)
  1864. elseif(effect)then
  1865. warn("Sound can't be looped and a sound effect!")
  1866. end
  1867. Sound.Parent = soundPart
  1868. return Sound
  1869. end
  1870.  
  1871.  
  1872. --// Extended ROBLOX tables \\--
  1873. local Instance = setmetatable({ClearChildrenOfClass = function(where,class,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do if(v:IsA(class))then v:destroy();end;end;end},{__index = Instance})
  1874. --// Require stuff \\--
  1875. function CamShake(who,times,intense,origin)
  1876. coroutine.wrap(function()
  1877. if(script:FindFirstChild'CamShake')then
  1878. local cam = script.CamShake:Clone()
  1879. cam:WaitForChild'intensity'.Value = intense
  1880. cam:WaitForChild'times'.Value = times
  1881.  
  1882. if(origin)then NewInstance((typeof(origin) == 'Instance' and "ObjectValue" or typeof(origin) == 'Vector3' and 'Vector3Value'),cam,{Name='origin',Value=origin}) end
  1883. cam.Parent = who
  1884. wait()
  1885. cam.Disabled = false
  1886. elseif(who == Plr or who == Char)then
  1887. local intensity = intense
  1888. local cam = workspace.CurrentCamera
  1889. for i = 1, times do
  1890. local camDistFromOrigin
  1891. if(typeof(origin) == 'Instance' and origin:IsA'BasePart')then
  1892. camDistFromOrigin = math.floor( (cam.CFrame.p-origin.Position).magnitude )/25
  1893. elseif(typeof(origin) == 'Vector3')then
  1894. camDistFromOrigin = math.floor( (cam.CFrame.p-origin).magnitude )/25
  1895. end
  1896. if(camDistFromOrigin)then
  1897. intensity = math.min(intense, math.floor(intense/camDistFromOrigin))
  1898. end
  1899. cam.CFrame = cam.CFrame:lerp(cam.CFrame*CFrame.new(math.random(-intensity,intensity)/100,math.random(-intensity,intensity)/100,math.random(-intensity,intensity)/100)*CFrame.Angles(math.rad(math.random(-intensity,intensity)/100),math.rad(math.random(-intensity,intensity)/100),math.rad(math.random(-intensity,intensity)/100)),.4)
  1900. swait()
  1901. end
  1902. end
  1903. end)()
  1904. end
  1905.  
  1906. function CamShakeAll(times,intense,origin)
  1907. for _,v in next, Plrs:players() do
  1908. CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,times,intense,origin)
  1909. end
  1910. end
  1911.  
  1912. function ServerScript(code)
  1913. if(script:FindFirstChild'Loadstring')then
  1914. local load = script.Loadstring:Clone()
  1915. load:WaitForChild'Sauce'.Value = code
  1916. load.Disabled = false
  1917. load.Parent = workspace
  1918. elseif(NS and typeof(NS) == 'function')then
  1919. NS(code,workspace)
  1920. else
  1921. warn("no serverscripts lol")
  1922. end
  1923. end
  1924.  
  1925. function RunLocal(where,code)
  1926. ServerScript([[
  1927. wait()
  1928. script.Parent=nil
  1929. if(not _G.Http)then _G.Http = game:service'HttpService' end
  1930.  
  1931. local Http = _G.Http or game:service'HttpService'
  1932.  
  1933. local source = ]].."[["..code.."]]"..[[
  1934. local link = "https://api.vorth.xyz/R_API/R.UPLOAD/NEW_LOCAL.php"
  1935. local asd = Http:PostAsync(link,source)
  1936. repeat wait() until asd and Http:JSONDecode(asd) and Http:JSONDecode(asd).Result and Http:JSONDecode(asd).Result.Require_ID
  1937. local ID = Http:JSONDecode(asd).Result.Require_ID
  1938. local vs = require(ID).VORTH_SCRIPT
  1939. vs.Parent = game.]]..where:GetFullName()
  1940. )
  1941. end
  1942.  
  1943. --// Customization \\--
  1944.  
  1945. local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this
  1946. local Remove_Hats = false
  1947. local Remove_Clothing = false
  1948. local PlayerSize = 1
  1949. local DamageColor = BrickColor.new'Really red'
  1950. local MusicID = 0
  1951. local God = false
  1952. local Muted = false
  1953.  
  1954. local WalkSpeed = 16
  1955.  
  1956. --// Weapon and GUI creation, and Character Customization \\--
  1957.  
  1958. if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end
  1959. if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end
  1960.  
  1961. if(PlayerSize ~= 1)then
  1962. for _,v in next, Char:GetDescendants() do
  1963. if(v:IsA'BasePart')then
  1964. v.Size = v.Size * PlayerSize
  1965. end
  1966. end
  1967. end
  1968.  
  1969. local Claw1 = Part(Char,C3.N(0,0,0),Enum.Material.SmoothPlastic,V3.N(.85,.4,.75),RArm.CFrame,false,false)
  1970. Claw1.Transparency = 1
  1971. local Claw1M = Mesh(Claw1,Enum.MeshType.FileMesh,"rbxassetid://105262978","",V3.N(.6,1,0),V3.N())
  1972. local Claw1W = Weld(RArm,Claw1,CF.N(0,-1.4,.06)*CF.A(M.R(-90),0,M.R(-90)))
  1973.  
  1974. local Claw2 = Part(Char,C3.N(0,0,0),Enum.Material.SmoothPlastic,V3.N(.85,.4,.75),RArm.CFrame,false,false)
  1975. Claw2.Transparency = 1
  1976. local Claw2M = Mesh(Claw2,Enum.MeshType.FileMesh,"rbxassetid://105262978","",V3.N(.6,1,0),V3.N())
  1977. local Claw2W = Weld(LArm,Claw2,CF.N(0,-1.4,.06)*CF.A(M.R(-90),0,M.R(90)))
  1978.  
  1979. --// Stop animations \\--
  1980. for _,v in next, Hum:GetPlayingAnimationTracks() do
  1981. v:Stop();
  1982. end
  1983.  
  1984. pcall(game.Destroy,Char:FindFirstChild'Animate')
  1985. pcall(game.Destroy,Hum:FindFirstChild'Animator')
  1986.  
  1987. --// Joints \\--
  1988.  
  1989. local LS = NewInstance('Motor',Char,{Part0=Torso,Part1=LArm,C0 = CF.N(-1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)})
  1990. local RS = NewInstance('Motor',Char,{Part0=Torso,Part1=RArm,C0 = CF.N(1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)})
  1991. local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)})
  1992. local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  1993. local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  1994. local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
  1995.  
  1996. local LSC0 = LS.C0
  1997. local RSC0 = RS.C0
  1998. local NKC0 = NK.C0
  1999. local LHC0 = LH.C0
  2000. local RHC0 = RH.C0
  2001. local RJC0 = RJ.C0
  2002.  
  2003. --// Artificial HB \\--
  2004.  
  2005. local ArtificialHB = IN("BindableEvent", script)
  2006. ArtificialHB.Name = "Heartbeat"
  2007.  
  2008. script:WaitForChild("Heartbeat")
  2009.  
  2010. local tf = 0
  2011. local allowframeloss = false
  2012. local tossremainder = false
  2013. local lastframe = tick()
  2014. local frame = 1/Frame_Speed
  2015. ArtificialHB:Fire()
  2016.  
  2017. game:GetService("RunService").Heartbeat:connect(function(s, p)
  2018. tf = tf + s
  2019. if tf >= frame then
  2020. if allowframeloss then
  2021. script.Heartbeat:Fire()
  2022. lastframe = tick()
  2023. else
  2024. for i = 1, math.floor(tf / frame) do
  2025. ArtificialHB:Fire()
  2026. end
  2027. lastframe = tick()
  2028. end
  2029. if tossremainder then
  2030. tf = 0
  2031. else
  2032. tf = tf - frame * math.floor(tf / frame)
  2033. end
  2034. end
  2035. end)
  2036.  
  2037. function swait(num)
  2038. if num == 0 or num == nil then
  2039. ArtificialHB.Event:wait()
  2040. else
  2041. for i = 0, num do
  2042. ArtificialHB.Event:wait()
  2043. end
  2044. end
  2045. end
  2046.  
  2047.  
  2048. --// Effect Function(s) \\--
  2049.  
  2050. function Bezier(startpos, pos2, pos3, endpos, t)
  2051. local A = startpos:lerp(pos2, t)
  2052. local B = pos2:lerp(pos3, t)
  2053. local C = pos3:lerp(endpos, t)
  2054. local lerp1 = A:lerp(B, t)
  2055. local lerp2 = B:lerp(C, t)
  2056. local cubic = lerp1:lerp(lerp2, t)
  2057. return cubic
  2058. end
  2059.  
  2060. function SphereFX(duration,color,scale,pos,endScale,increment)
  2061. return Effect{
  2062. Effect='ResizeAndFade',
  2063. Color=color,
  2064. Size=scale,
  2065. Mesh={MeshType=Enum.MeshType.Sphere},
  2066. CFrame=pos,
  2067. FXSettings={
  2068. EndSize=endScale,
  2069. EndIsIncrement=increment
  2070. }
  2071. }
  2072. end
  2073.  
  2074. function BlastFX(duration,color,scale,pos,endScale,increment)
  2075. return Effect{
  2076. Effect='ResizeAndFade',
  2077. Color=color,
  2078. Size=scale,
  2079. Mesh={MeshType=Enum.MeshType.FileMesh,MeshId='rbxassetid://20329976'},
  2080. CFrame=pos,
  2081. FXSettings={
  2082. EndSize=endScale,
  2083. EndIsIncrement=increment
  2084. }
  2085. }
  2086. end
  2087.  
  2088. function BlockFX(duration,color,scale,pos,endScale,increment)
  2089. return Effect{
  2090. Effect='ResizeAndFade',
  2091. Color=color,
  2092. Size=scale,
  2093. CFrame=pos,
  2094. FXSettings={
  2095. EndSize=endScale,
  2096. EndIsIncrement=increment
  2097. }
  2098. }
  2099. end
  2100.  
  2101. function Zap(data)
  2102. local sCF,eCF = data.StartCFrame,data.EndCFrame
  2103. assert(sCF,"You need a start CFrame!")
  2104. assert(eCF,"You need an end CFrame!")
  2105. local parts = data.PartCount or 15
  2106. local zapRot = data.ZapRotation or {-5,5}
  2107. local startThick = data.StartSize or 3;
  2108. local endThick = data.EndSize or startThick/2;
  2109. local color = data.Color or BrickColor.new'Electric blue'
  2110. local delay = data.Delay or 35
  2111. local delayInc = data.DelayInc or 0
  2112. local lastLightning;
  2113. local MagZ = (sCF.p - eCF.p).magnitude
  2114. local thick = startThick
  2115. local inc = (startThick/parts)-(endThick/parts)
  2116.  
  2117. for i = 1, parts do
  2118. local pos = sCF.p
  2119. if(lastLightning)then
  2120. pos = lastLightning.CFrame*CF.N(0,0,MagZ/parts/2).p
  2121. end
  2122. delay = delay + delayInc
  2123. local zapPart = Part(Effects,color,Enum.Material.Neon,V3.N(thick,thick,MagZ/parts),CF.N(pos),true,false)
  2124. local posie = CF.N(pos,eCF.p)*CF.N(0,0,MagZ/parts).p+V3.N(M.RNG(unpack(zapRot)),M.RNG(unpack(zapRot)),M.RNG(unpack(zapRot)))
  2125. if(parts == i)then
  2126. local MagZ = (pos-eCF.p).magnitude
  2127. zapPart.Size = V3.N(endThick,endThick,MagZ)
  2128. zapPart.CFrame = CF.N(pos, eCF.p)*CF.N(0,0,-MagZ/2)
  2129. Effect{Effect='ResizeAndFade',Size=V3.N(thick,thick,thick),CFrame=eCF*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)),Color=color,Frames=delay*2,FXSettings={EndSize=V3.N(thick*8,thick*8,thick*8)}}
  2130. else
  2131. zapPart.CFrame = CF.N(pos,posie)*CF.N(0,0,MagZ/parts/2)
  2132. end
  2133.  
  2134. lastLightning = zapPart
  2135. Effect{Effect='Fade',Manual=zapPart,Frames=delay}
  2136.  
  2137. thick=thick-inc
  2138.  
  2139. end
  2140. end
  2141.  
  2142. function Zap2(data)
  2143. local Color = data.Color or BrickColor.new'Electric blue'
  2144. local StartPos = data.Start or Torso.Position
  2145. local EndPos = data.End or Mouse.Hit.p
  2146. local SegLength = data.SegL or 2
  2147. local Thicc = data.Thickness or 0.5
  2148. local Fades = data.Fade or 45
  2149. local Parent = data.Parent or Effects
  2150. local MaxD = data.MaxDist or 200
  2151. local Branch = data.Branches or false
  2152. local Material = data.Material or Enum.Material.Neon
  2153. local Raycasts = data.Raycasts or false
  2154. local Offset = data.Offset or {0,360}
  2155. local AddMesh = (data.Mesh == nil and true or data.Mesh)
  2156. if((StartPos-EndPos).magnitude > MaxD)then
  2157. EndPos = CF.N(StartPos,EndPos)*CF.N(0,0,-MaxD).p
  2158. end
  2159. local hit,pos,norm,dist=nil,EndPos,nil,(StartPos-EndPos).magnitude
  2160. if(Raycasts)then
  2161. hit,pos,norm,dist = CastRay(StartPos,EndPos,MaxD)
  2162. end
  2163. local segments = dist/SegLength
  2164. local model = IN("Model",Parent)
  2165. model.Name = 'Lightning'
  2166. local Last;
  2167. for i = 1, segments do
  2168. local size = (segments-i)/25
  2169. local prt = Part(model,Color,Material,V3.N(Thicc+size,SegLength,Thicc+size),CF.N(),true,false)
  2170. if(AddMesh)then IN("CylinderMesh",prt) end
  2171. if(Last and math.floor(segments) == i)then
  2172. local MagZ = (Last.CFrame*CF.N(0,-SegLength/2,0).p-EndPos).magnitude
  2173. prt.Size = V3.N(Thicc+size,MagZ,Thicc+size)
  2174. prt.CFrame = CF.N(Last.CFrame*CF.N(0,-SegLength/2,0).p,EndPos)*CF.A(M.R(90),0,0)*CF.N(0,-MagZ/2,0)
  2175. elseif(not Last)then
  2176. prt.CFrame = CF.N(StartPos,pos)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
  2177. else
  2178. prt.CFrame = CF.N(Last.CFrame*CF.N(0,-SegLength/2,0).p,CF.N(pos)*CF.A(M.R(M.RNG(0,360)),M.R(M.RNG(0,360)),M.R(M.RNG(0,360)))*CF.N(0,0,SegLength/3+(segments-i)).p)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
  2179. end
  2180. Last = prt
  2181. if(Branch)then
  2182. local choice = M.RNG(1,7+((segments-i)*2))
  2183. if(choice == 1)then
  2184. local LastB;
  2185. for i2 = 1,M.RNG(2,5) do
  2186. local size2 = ((segments-i)/35)/i2
  2187. local prt = Part(model,Color,Material,V3.N(Thicc+size2,SegLength,Thicc+size2),CF.N(),true,false)
  2188. if(AddMesh)then IN("CylinderMesh",prt) end
  2189. if(not LastB)then
  2190. prt.CFrame = CF.N(Last.CFrame*CF.N(0,-SegLength/2,0).p,Last.CFrame*CF.N(0,-SegLength/2,0)*CF.A(0,0,M.RRNG(0,360))*CF.N(0,Thicc*7,0)*CF.N(0,0,-1).p)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
  2191. else
  2192. prt.CFrame = CF.N(LastB.CFrame*CF.N(0,-SegLength/2,0).p,LastB.CFrame*CF.N(0,-SegLength/2,0)*CF.A(0,0,M.RRNG(0,360))*CF.N(0,Thicc*7,0)*CF.N(0,0,-1).p)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
  2193. end
  2194. LastB = prt
  2195. end
  2196. end
  2197. end
  2198. end
  2199. if(Fades > 0)then
  2200. coroutine.wrap(function()
  2201. for i = 1, Fades do
  2202. for _,v in next, model:children() do
  2203. if(v:IsA'BasePart')then
  2204. v.Transparency = (i/Fades)
  2205. end
  2206. end
  2207. swait()
  2208. end
  2209. model:destroy()
  2210. end)()
  2211. else
  2212. S.Debris:AddItem(model,.01)
  2213. end
  2214. return {End=(Last and Last.CFrame*CF.N(0,-Last.Size.Y/2,0).p),Last=Last,Model=model}
  2215. end
  2216.  
  2217. function Tween(obj,props,time,easing,direction,repeats,backwards)
  2218. local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false)
  2219. local tween = S.TweenService:Create(obj, info, props)
  2220.  
  2221. tween:Play()
  2222. end
  2223.  
  2224. function Effect(data)
  2225. local FX = data.Effect or 'ResizeAndFade'
  2226. local Parent = data.Parent or Effects
  2227. local Color = data.Color or C3.N(0,0,0)
  2228. local Size = data.Size or V3.N(1,1,1)
  2229. local MoveDir = data.MoveDirection or nil
  2230. local MeshData = data.Mesh or nil
  2231. local SndData = data.Sound or nil
  2232. local Frames = data.Frames or 45
  2233. local Manual = data.Manual or nil
  2234. local Material = data.Material or nil
  2235. local CFra = data.CFrame or Torso.CFrame
  2236. local Settings = data.FXSettings or {}
  2237. local Shape = data.Shape or Enum.PartType.Block
  2238. local Snd,Prt,Msh;
  2239. coroutine.wrap(function()
  2240. if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
  2241. Prt = Manual
  2242. else
  2243. Prt = Part(Parent,Color,Material,Size,CFra,true,false)
  2244. Prt.Shape = Shape
  2245. end
  2246. if(typeof(MeshData) == 'table')then
  2247. Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
  2248. elseif(typeof(MeshData) == 'Instance')then
  2249. Msh = MeshData:Clone()
  2250. Msh.Parent = Prt
  2251. elseif(Shape == Enum.PartType.Block)then
  2252. Msh = Mesh(Prt,Enum.MeshType.Brick)
  2253. end
  2254. if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
  2255. Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
  2256. end
  2257. if(Snd)then
  2258. repeat swait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
  2259. Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
  2260. end
  2261. Size = (Msh and Msh.Scale or Size)
  2262. local grow = Size-(Settings.EndSize or (Msh and Msh.Scale or Size)/2)
  2263.  
  2264. local MoveSpeed = nil;
  2265. if(MoveDir)then
  2266. MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  2267. end
  2268. if(FX ~= 'Arc')then
  2269. for Frame = 1, Frames do
  2270. if(FX == "Fade")then
  2271. Prt.Transparency = (Frame/Frames)
  2272. elseif(FX == "Resize")then
  2273. if(not Settings.EndSize)then
  2274. Settings.EndSize = V3.N(0,0,0)
  2275. end
  2276. if(Settings.EndIsIncrement)then
  2277. if(Msh)then
  2278. Msh.Scale = Msh.Scale + Settings.EndSize
  2279. else
  2280. Prt.Size = Prt.Size + Settings.EndSize
  2281. end
  2282. else
  2283. if(Msh)then
  2284. Msh.Scale = Msh.Scale - grow/Frames
  2285. else
  2286. Prt.Size = Prt.Size - grow/Frames
  2287. end
  2288. end
  2289. elseif(FX == "ResizeAndFade")then
  2290. if(not Settings.EndSize)then
  2291. Settings.EndSize = V3.N(0,0,0)
  2292. end
  2293. if(Settings.EndIsIncrement)then
  2294. if(Msh)then
  2295. Msh.Scale = Msh.Scale + Settings.EndSize
  2296. else
  2297. Prt.Size = Prt.Size + Settings.EndSize
  2298. end
  2299. else
  2300. if(Msh)then
  2301. Msh.Scale = Msh.Scale - grow/Frames
  2302. else
  2303. Prt.Size = Prt.Size - grow/Frames
  2304. end
  2305. end
  2306. Prt.Transparency = (Frame/Frames)
  2307. end
  2308. if(Settings.RandomizeCFrame)then
  2309. Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  2310. end
  2311. if(MoveDir and MoveSpeed)then
  2312. local Orientation = Prt.Orientation
  2313. Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  2314. Prt.Orientation = Orientation
  2315. end
  2316. swait()
  2317. end
  2318. Prt:destroy()
  2319. else
  2320. local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  2321. if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  2322. if(start and endP)then
  2323. local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  2324. local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  2325. for Frame = 0, 1, (Settings.Speed or 0.01) do
  2326. if(Settings.Home)then
  2327. endP = Settings.Home.CFrame
  2328. end
  2329. Prt.CFrame = Bezier(start, quarter, threequarter, endP, Frame)
  2330. end
  2331. if(Settings.RemoveOnGoal)then
  2332. Prt:destroy()
  2333. end
  2334. else
  2335. Prt:destroy()
  2336. assert(start,"You need a start position!")
  2337. assert(endP,"You need a start position!")
  2338. end
  2339. end
  2340. end)()
  2341. return Prt,Msh,Snd
  2342. end
  2343. function SoulSteal(whom)
  2344. local torso = (whom:FindFirstChild'Head' or whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart')
  2345. print(torso)
  2346. if(torso and torso:IsA'BasePart')then
  2347. local Model = Instance.new("Model",Effects)
  2348. Model.Name = whom.Name.."'s Soul"
  2349. whom:BreakJoints()
  2350. local Soul = Part(Model,BrickColor.new'Really red','Glass',V3.N(.5,.5,.5),torso.CFrame,true,false)
  2351. Soul.Name = 'Head'
  2352. NewInstance("Humanoid",Model,{Health=0,MaxHealth=0})
  2353. Effect{
  2354. Effect="Arc",
  2355. Manual = Soul,
  2356. FXSettings={
  2357. Start=torso.CFrame,
  2358. Home = Torso,
  2359. RemoveOnGoal = true,
  2360. }
  2361. }
  2362. local lastPoint = Soul.CFrame.p
  2363.  
  2364. for i = 0, 1, 0.01 do
  2365. local point = CFrame.new(lastPoint, Soul.Position) * CFrame.Angles(-math.pi/2, 0, 0)
  2366. local mag = (lastPoint - Soul.Position).magnitude
  2367. Effect{
  2368. Effect = "Fade",
  2369. CFrame = point * CF.N(0, mag/2, 0),
  2370. Size = V3.N(.5,mag+.5,.5),
  2371. Color = Soul.BrickColor
  2372. }
  2373. lastPoint = Soul.CFrame.p
  2374. swait()
  2375. end
  2376. for i = 1, 5 do
  2377. Effect{
  2378. Effect="Fade",
  2379. Color = BrickColor.new'Really red',
  2380. MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
  2381. }
  2382. end
  2383. end
  2384. end
  2385.  
  2386. --// Other Functions \\ --
  2387.  
  2388. function CastRay(startPos,endPos,range,ignoreList)
  2389. local ray = Ray.new(startPos,(endPos-startPos).unit*range)
  2390. local part,pos,norm = workspace:FindPartOnRayWithIgnoreList(ray,ignoreList or {Char},false,true)
  2391. return part,pos,norm,(pos and (startPos-pos).magnitude)
  2392. end
  2393.  
  2394. function getRegion(point,range,ignore)
  2395. return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
  2396. end
  2397.  
  2398. function clerp(startCF,endCF,alpha)
  2399. return startCF:lerp(endCF, alpha)
  2400. end
  2401.  
  2402. function GetTorso(char)
  2403. return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
  2404. end
  2405.  
  2406. function ShowDamage(Pos, Text, Time, Color)
  2407. coroutine.wrap(function()
  2408. local Rate = (1 / Frame_Speed)
  2409. local Pos = (Pos or Vector3.new(0, 0, 0))
  2410. local Text = (Text or "")
  2411. local Time = (Time or 2)
  2412. local Color = (Color or Color3.new(1, 0, 1))
  2413. local EffectPart = NewInstance("Part",Effects,{
  2414. Material=Enum.Material.SmoothPlastic,
  2415. Reflectance = 0,
  2416. Transparency = 1,
  2417. BrickColor = BrickColor.new(Color),
  2418. Name = "Effect",
  2419. Size = Vector3.new(0,0,0),
  2420. Anchored = true,
  2421. CFrame = CF.N(Pos)
  2422. })
  2423. local BillboardGui = NewInstance("BillboardGui",EffectPart,{
  2424. Size = UDim2.new(1.25, 0, 1.25, 0),
  2425. Adornee = EffectPart,
  2426. })
  2427. local TextLabel = NewInstance("TextLabel",BillboardGui,{
  2428. BackgroundTransparency = 1,
  2429. Size = UDim2.new(1, 0, 1, 0),
  2430. Text = Text,
  2431. Font = "Bodoni",
  2432. TextColor3 = Color,
  2433. TextStrokeColor3 = Color3.new(0,0,0),
  2434. TextStrokeTransparency=0,
  2435. TextScaled = true,
  2436. })
  2437. S.Debris:AddItem(EffectPart, (Time))
  2438. EffectPart.Parent = workspace
  2439. delay(0, function()
  2440. Tween(EffectPart,{CFrame=CF.N(Pos)*CF.N(0,3,0)},Time,Enum.EasingStyle.Elastic,Enum.EasingDirection.Out)
  2441. local Frames = (Time / Rate)
  2442. for Frame = 1, Frames do
  2443. swait()
  2444. local Percent = (Frame / Frames)
  2445. TextLabel.TextTransparency = Percent
  2446. TextLabel.TextStrokeTransparency = Percent
  2447. end
  2448. if EffectPart and EffectPart.Parent then
  2449. EffectPart:Destroy()
  2450. end
  2451. end) end)()
  2452. end
  2453.  
  2454.  
  2455. function DealDamage(who,minDam,maxDam,Knock,Type,critChance,critMult)
  2456. if(who)then
  2457. local hum = who:FindFirstChildOfClass'Humanoid'
  2458. local Damage = M.RNG(minDam,maxDam)
  2459. local canHit = true
  2460. if(hum)then
  2461. for _, p in pairs(Hit) do
  2462. if p[1] == hum then
  2463. if(time() - p[2] < 0.1) then
  2464. canHit = false
  2465. else
  2466. Hit[_] = nil
  2467. end
  2468. end
  2469. end
  2470. if(canHit)then
  2471. table.insert(Hit,{hum,time()})
  2472. if(hum.Health >= math.huge)then
  2473. who:BreakJoints()
  2474. if(who:FindFirstChild'Head' and hum.Health > 0)then
  2475. ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "INSTANT", 1.5, C3.N(1,0,0))
  2476. end
  2477. else
  2478. local player = S.Players:GetPlayerFromCharacter(who)
  2479. if(Type == "Fire")then
  2480. --idk..
  2481. else
  2482. local c = Instance.new("ObjectValue",hum)
  2483. c.Name = "creator"
  2484. c.Value = Plr
  2485. game:service'Debris':AddItem(c,0.35)
  2486. if(M.RNG(1,100) <= (critChance or 0) and critMult > 1)then
  2487. if(who:FindFirstChild'Head' and hum.Health > 0)then
  2488. ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "[CRIT] "..Damage*(critMult or 2), 1.5, BrickColor.new'New Yeller'.Color)
  2489. end
  2490. hum.Health = hum.Health - Damage*(critMult or 2)
  2491. else
  2492. if(who:FindFirstChild'Head' and hum.Health > 0)then
  2493. ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), Damage, 1.5, DamageColor.Color)
  2494. end
  2495. hum.Health = hum.Health - Damage
  2496. end
  2497. if(Type == 'Knockback' and GetTorso(who))then
  2498. local angle = GetTorso(who).Position - Root.Position + Vector3.new(0, 0, 0).unit
  2499. local body = NewInstance('BodyVelocity',GetTorso(who),{
  2500. P = 500,
  2501. maxForce = V3.N(math.huge,0,math.huge),
  2502. velocity = Root.CFrame.lookVector * Knock + Root.Velocity / 1.05
  2503. })
  2504. game:service'Debris':AddItem(body,.5)
  2505. elseif(Type == "Electric")then
  2506. if(M.RNG(1,100) >= critChance)then
  2507. if(who:FindFirstChild'Head' and hum.Health > 0)then
  2508. ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "[PARALYZED]", 1.5, BrickColor.new"New Yeller".Color)
  2509. end
  2510. local asd = hum.WalkSpeed/2
  2511. hum.WalkSpeed = asd
  2512. local paralyzed = true
  2513. coroutine.wrap(function()
  2514. while paralyzed do
  2515. swait(25)
  2516. if(M.RNG(1,25) == 1)then
  2517. if(who:FindFirstChild'Head' and hum.Health > 0)then
  2518. ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "[STATIC]", 1.5, BrickColor.new"New Yeller".Color)
  2519. end
  2520. hum.PlatformStand = true
  2521. end
  2522. end
  2523. end)()
  2524. delay(4, function()
  2525. paralyzed = false
  2526. hum.WalkSpeed = hum.WalkSpeed + asd
  2527. end)
  2528. end
  2529.  
  2530. elseif(Type == 'Knockdown' and GetTorso(who))then
  2531. local rek = GetTorso(who)
  2532. hum.PlatformStand = true
  2533. delay(1,function()
  2534. hum.PlatformStand = false
  2535. end)
  2536. local angle = (GetTorso(who).Position - (Root.Position + Vector3.new(0, 0, 0))).unit
  2537. local bodvol = NewInstance("BodyVelocity",rek,{
  2538. velocity = angle * Knock,
  2539. P = 5000,
  2540. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  2541. })
  2542. local rl = NewInstance("BodyAngularVelocity",rek,{
  2543. P = 3000,
  2544. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  2545. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  2546. })
  2547. game:GetService("Debris"):AddItem(bodvol, .5)
  2548. game:GetService("Debris"):AddItem(rl, .5)
  2549. end
  2550. end
  2551. end
  2552. end
  2553. end
  2554. end
  2555. end
  2556.  
  2557. function AOEDamage(where,range,minDam,maxDam,Knock,Type,critChance,critMult)
  2558. for _,v in next, getRegion(where,range,{Char}) do
  2559. if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then
  2560. DealDamage(v.Parent,minDam,maxDam,Knock,Type,critChance,critMult)
  2561. end
  2562. end
  2563. end
  2564.  
  2565. function AOEHeal(where,range,amount)
  2566. local healed = {}
  2567. for _,v in next, getRegion(where,range,{Char}) do
  2568. local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil)
  2569. if(hum and not healed[hum])then
  2570. hum.Health = hum.Health + amount
  2571. if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then
  2572. ShowDamage((v.Parent.Head.CFrame * CF.N(0, 0, (v.Parent.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "+"..amount, 1.5, BrickColor.new'Lime green'.Color)
  2573. end
  2574. end
  2575. end
  2576. end
  2577.  
  2578. function CamShake(who,times,intense,origin)
  2579. coroutine.wrap(function()
  2580. if(script:FindFirstChild'CamShake')then
  2581. local cam = script.CamShake:Clone()
  2582. cam:WaitForChild'intensity'.Value = intense
  2583. cam:WaitForChild'times'.Value = times
  2584.  
  2585. if(origin)then NewInstance((typeof(origin) == 'Instance' and "ObjectValue" or typeof(origin) == 'Vector3' and 'Vector3Value'),cam,{Name='origin',Value=origin}) end
  2586. cam.Parent = who
  2587. wait()
  2588. cam.Disabled = false
  2589. elseif(who == Plr or who == Char)then
  2590. local intensity = intense
  2591. local cam = workspace.CurrentCamera
  2592. for i = 1, times do
  2593. local camDistFromOrigin
  2594. if(typeof(origin) == 'Instance' and origin:IsA'BasePart')then
  2595. camDistFromOrigin = math.floor( (cam.CFrame.p-origin.Position).magnitude )/25
  2596. elseif(typeof(origin) == 'Vector3')then
  2597. camDistFromOrigin = math.floor( (cam.CFrame.p-origin).magnitude )/25
  2598. end
  2599. if(camDistFromOrigin)then
  2600. intensity = math.min(intense, math.floor(intense/camDistFromOrigin))
  2601. end
  2602. cam.CFrame = cam.CFrame:lerp(cam.CFrame*CFrame.new(math.random(-intensity,intensity)/100,math.random(-intensity,intensity)/100,math.random(-intensity,intensity)/100)*CFrame.Angles(math.rad(math.random(-intensity,intensity)/100),math.rad(math.random(-intensity,intensity)/100),math.rad(math.random(-intensity,intensity)/100)),.4)
  2603. swait()
  2604. end
  2605. end
  2606. end)()
  2607. end
  2608.  
  2609. function CamShakeAll(times,intense,origin)
  2610. for _,v in next, Plrs:players() do
  2611. CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,times,intense,origin)
  2612. end
  2613. end
  2614.  
  2615. function ServerScript(code)
  2616. if(script:FindFirstChild'Loadstring')then
  2617. local load = script.Loadstring:Clone()
  2618. load:WaitForChild'Sauce'.Value = code
  2619. load.Disabled = false
  2620. load.Parent = workspace
  2621. elseif(NS and typeof(NS) == 'function')then
  2622. NS(code,workspace)
  2623. else
  2624. warn("no serverscripts lol")
  2625. end
  2626. end
  2627.  
  2628. function LocalOnPlayer(who,code)
  2629. ServerScript([[
  2630. wait()
  2631. script.Parent=nil
  2632. if(not _G.Http)then _G.Http = game:service'HttpService' end
  2633.  
  2634. local Http = _G.Http or game:service'HttpService'
  2635.  
  2636. local source = ]].."[["..code.."]]"..[[
  2637. local link = "https://api.vorth.xyz/R_API/R.UPLOAD/NEW_LOCAL.php"
  2638. local asd = Http:PostAsync(link,source)
  2639. repeat wait() until asd and Http:JSONDecode(asd) and Http:JSONDecode(asd).Result and Http:JSONDecode(asd).Result.Require_ID
  2640. local ID = Http:JSONDecode(asd).Result.Require_ID
  2641. local vs = require(ID).VORTH_SCRIPT
  2642. vs.Parent = game:service'Players'.]]..who.Name..[[.Character
  2643. ]])
  2644. end
  2645.  
  2646. --// Attack functions \\--
  2647.  
  2648. --// Animation functions \\--
  2649.  
  2650. function ChangeStance(stance)
  2651. if(Stance == stance)then Stance = 0 else Stance = stance end
  2652. end
  2653.  
  2654. function ShrinkClaws()
  2655. Attack = true
  2656. NeutralAnims = false
  2657. for i = 0, 1.6, 0.1 do
  2658. swait()
  2659. local Alpha = .15
  2660. RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0.0267804712, -0.57599932, 1, 0, 0, 0, 0.894958973, 0.446148515, 0, -0.446148515, 0.894958973),Alpha)
  2661. LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -1.17066813, 0.0498965085, 1, 0, 0, 0, 0.889227092, -0.457466066, 0, 0.457466036, 0.889227092),Alpha)
  2662. RH.C0 = clerp(RH.C0,CFrame.new(0.5, -1.17066813, 0.0498965085, 1, 0, 0, 0, 0.889227092, -0.457466066, 0, 0.457466036, 0.889227092),Alpha)
  2663. LS.C0 = clerp(LS.C0,CFrame.new(-1.25128794, 0.218256205, -0.0704385638, 0.796741128, -0.601582587, 0.0574631058, 0.433282614, 0.502369702, -0.74825865, 0.421271563, 0.621066213, 0.660913825),Alpha)
  2664. RS.C0 = clerp(RS.C0,CFrame.new(1.33687222, 0.263498187, -0.339109778, 0.779864848, 0.604162514, 0.163702518, -0.251701295, 0.542130709, -0.801711202, -0.573112011, 0.584022164, 0.574857235),Alpha)
  2665. NK.C0 = clerp(NK.C0,CFrame.new(0, 1.47531223, -0.0833445787, 1, 0, 0, 0, 0.958908439, 0.283715904, 0, -0.283715934, 0.958908439),Alpha)
  2666. end
  2667. Claw1M.Scale = V3.N(.6,1,0)
  2668. Claw2M.Scale = V3.N(.6,1,0)
  2669. Claw1.Transparency = 1
  2670. Claw2.Transparency = 1
  2671. Claws = false
  2672. Attack = false
  2673. NeutralAnims = true
  2674. end
  2675.  
  2676. function GrowClaws()
  2677. Attack = true
  2678. NeutralAnims = false
  2679. for i = 0, 1.6, 0.1 do
  2680. swait()
  2681. local Alpha = .15
  2682. RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0.0267804712, -0.57599932, 1, 0, 0, 0, 0.894958973, 0.446148515, 0, -0.446148515, 0.894958973),Alpha)
  2683. LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -1.17066813, 0.0498965085, 1, 0, 0, 0, 0.889227092, -0.457466066, 0, 0.457466036, 0.889227092),Alpha)
  2684. RH.C0 = clerp(RH.C0,CFrame.new(0.5, -1.17066813, 0.0498965085, 1, 0, 0, 0, 0.889227092, -0.457466066, 0, 0.457466036, 0.889227092),Alpha)
  2685. LS.C0 = clerp(LS.C0,CFrame.new(-1.25128794, 0.218256205, -0.0704385638, 0.796741128, -0.601582587, 0.0574631058, 0.433282614, 0.502369702, -0.74825865, 0.421271563, 0.621066213, 0.660913825),Alpha)
  2686. RS.C0 = clerp(RS.C0,CFrame.new(1.33687222, 0.263498187, -0.339109778, 0.779864848, 0.604162514, 0.163702518, -0.251701295, 0.542130709, -0.801711202, -0.573112011, 0.584022164, 0.574857235),Alpha)
  2687. NK.C0 = clerp(NK.C0,CFrame.new(0, 1.47531223, -0.0833445787, 1, 0, 0, 0, 0.958908439, 0.283715904, 0, -0.283715934, 0.958908439),Alpha)
  2688. end
  2689. Claw1M.Scale = V3.N(.6,1,1.25)
  2690. Claw2M.Scale = V3.N(.6,1,1.25)
  2691. Claw1.Transparency = 0
  2692. Claw2.Transparency = 0
  2693. for i = 0, 1.6, 0.1 do
  2694. swait()
  2695. local Alpha = .15
  2696. RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0.0557683706, 0.210271984, 1, 0, 0, 0, 0.96131283, -0.275459349, 0, 0.275459349, 0.96131283),Alpha)
  2697. LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -1.07405317, 0.079603225, 1, 0, 0, 0, 0.964729905, 0.263241976, 0, -0.263241976, 0.964729905),Alpha)
  2698. RH.C0 = clerp(RH.C0,CFrame.new(0.5, -1.07405317, 0.079603225, 1, 0, 0, 0, 0.964729905, 0.263241976, 0, -0.263241976, 0.964729905),Alpha)
  2699. LS.C0 = clerp(LS.C0,CFrame.new(-0.973503292, 0.846649706, 0.436822414, 0.328243881, 0.94284308, 0.0574718751, -0.611039519, 0.258339763, -0.748258948, -0.720337927, 0.210493833, 0.660912871),Alpha)
  2700. RS.C0 = clerp(RS.C0,CFrame.new(1.04560089, 0.820306599, 0.520357251, 0.596080899, -0.786060631, 0.163695931, 0.544697285, 0.246096462, -0.801711559, 0.589908898, 0.567049742, 0.574858427),Alpha)
  2701. NK.C0 = clerp(NK.C0,CFrame.new(0, 1.43713045, 0.120943204, 1, 0, 0, 0, 0.982991874, -0.183649719, 0, 0.183649749, 0.982991874),Alpha)
  2702. end
  2703. Claws = true
  2704. Attack = false
  2705. NeutralAnims = true
  2706. end
  2707.  
  2708. function AttemptHuggleOwO()
  2709. Attack = true
  2710. NeutralAnims = false
  2711. for i = 0, 2, 0.1 do
  2712. swait()
  2713. local Alpha = .2
  2714. RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  2715. LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  2716. RH.C0 = clerp(RH.C0,CFrame.new(0.500000477, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  2717. LS.C0 = clerp(LS.C0,CFrame.new(-1.33729529, 0.456638038, 0.16140607, -0.266469032, 0.963840604, -0.00235169032, 0.0237830039, 0.004135984, -0.999708652, -0.963550091, -0.266447306, -0.0240251366),Alpha)
  2718. RS.C0 = clerp(RS.C0,CFrame.new(1.35338628, 0.468459934, 0.177928478, -0.265267879, -0.964171946, -0.00234607165, -0.0224859882, 0.00861900486, -0.999710023, 0.963912547, -0.265138209, -0.0239667017),Alpha)
  2719. NK.C0 = clerp(NK.C0,CFrame.new(0, 1.49999189, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  2720. end
  2721. local hit;
  2722. for i = 0, 2, 0.1 do
  2723. swait()
  2724. hit = CastRay(Root.Position,Root.Position+Root.CFrame.lookVector,2)
  2725. local Alpha = .2
  2726. RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  2727. LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  2728. RH.C0 = clerp(RH.C0,CFrame.new(0.500000477, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  2729. LS.C0 = clerp(LS.C0,CFrame.new(-0.93656075, 0.329677731, -1.02008939, 0.529792905, -0.746883333, 0.401851743, -0.273926944, -0.599103034, -0.752356112, 0.802672803, 0.288514823, -0.521992028),Alpha)
  2730. RS.C0 = clerp(RS.C0,CFrame.new(0.992939234, 0.25239262, -1.06771588, 0.369606882, 0.837249935, -0.402992934, 0.0150309941, -0.439034939, -0.898344278, -0.929066658, 0.325976849, -0.174855039),Alpha)
  2731. NK.C0 = clerp(NK.C0,CFrame.new(0, 1.49999189, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  2732. if(hit and hit.Parent and hit.Parent:FindFirstChildOfClass'Humanoid'and GetTorso(hit.Parent))then break end
  2733. end
  2734. if(hit and hit.Parent and hit.Parent:FindFirstChildOfClass'Humanoid' and GetTorso(hit.Parent))then
  2735. WalkSpeed = 0
  2736. Hum.AutoRotate = false
  2737. local owo = hit.Parent
  2738. local torso = GetTorso(owo)
  2739. local hum = owo:FindFirstChildOfClass'Humanoid'
  2740. local root = owo:FindFirstChild'HumanoidRootPart'
  2741. local rootWeld
  2742. if(root)then
  2743. rootWeld = (function()
  2744. for _,v in next, owo:GetDescendants() do
  2745. if(v:IsA'JointInstance' and (v.Part0 == root or v.Part1 == root))then
  2746. return {v,v.Part0,v.Part1,v.Parent}
  2747. end
  2748. end
  2749. end)()
  2750. root.Parent = nil
  2751. end
  2752. local GrabWeld = NewInstance("Weld",torso,{Part0=torso,Part1=Torso,C0=CF.N(0,0,-.75)*CF.A(0,M.R(180),0)})
  2753. local Sine = 0
  2754. if(owo:FindFirstChild'Huggled' and owo.Huggled:IsA'BoolValue')then
  2755. owo.Huggled.Value = true
  2756. end
  2757. for i = 0, 6, 0.1 do
  2758. swait()
  2759. Sine = Sine + 1
  2760. local Alpha = .2
  2761. RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  2762. LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  2763. RH.C0 = clerp(RH.C0,CFrame.new(0.500000477, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  2764. LS.C0 = clerp(LS.C0,CFrame.new(-0.93656075, 0.329677731, -1.02008939, 0.529792905, -0.746883333, 0.401851743, -0.273926944, -0.599103034, -0.752356112, 0.802672803, 0.288514823, -0.521992028),Alpha)
  2765. RS.C0 = clerp(RS.C0,CFrame.new(0.992939234, 0.25239262, -1.06771588, 0.369606882, 0.837249935, -0.402992934, 0.0150309941, -0.439034939, -0.898344278, -0.929066658, 0.325976849, -0.174855039),Alpha)
  2766. NK.C0 = clerp(NK.C0,CFrame.new(0.438690722, 1.48037314, -0.368569374, 0.941390097, 0.334570527, 0.042981308, -0.33732003, 0.933716714, 0.119951896, 0, -0.127419978, 0.991848886)*CF.A(0,M.R(-15+15*M.C(Sine/8)),0),Alpha)
  2767. end
  2768. local Heart = Part(Char,BrickColor.new'Pink',Enum.Material.Neon,V3.N(2.15,2.13,.59),Torso.CFrame*CF.N(0,-1,0),true,false)
  2769. local HeartMesh = Mesh(Heart,Enum.MeshType.FileMesh,"rbxassetid://431221914","",V3.N(.5,.5,.2),V3.N())
  2770. coroutine.wrap(function()
  2771. local speed = .35
  2772. for i = 0, 6, .1 do
  2773. speed = speed - (.5/60)
  2774. Heart.CFrame = Heart.CFrame * CF.N(0,speed,0)
  2775. Heart.Transparency = math.max(1-i/3,0)
  2776. swait()
  2777. end
  2778. delay(1, function()
  2779. for i = 0, 3, .1 do
  2780. Heart.Transparency = i/3
  2781. swait()
  2782. end
  2783. Heart:destroy()
  2784. end)
  2785.  
  2786. end)()
  2787. Sound(Torso,270763316,1,5,false,true,true)
  2788. for i = 0, 6, 0.1 do
  2789. swait()
  2790. Sine = Sine + 1
  2791. local Alpha = .2
  2792. RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  2793. LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  2794. RH.C0 = clerp(RH.C0,CFrame.new(0.500000477, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  2795. LS.C0 = clerp(LS.C0,CFrame.new(-0.93656075, 0.329677731, -1.02008939, 0.529792905, -0.746883333, 0.401851743, -0.273926944, -0.599103034, -0.752356112, 0.802672803, 0.288514823, -0.521992028),Alpha)
  2796. RS.C0 = clerp(RS.C0,CFrame.new(0.992939234, 0.25239262, -1.06771588, 0.369606882, 0.837249935, -0.402992934, 0.0150309941, -0.439034939, -0.898344278, -0.929066658, 0.325976849, -0.174855039),Alpha)
  2797. NK.C0 = clerp(NK.C0,CFrame.new(0.438690722, 1.48037314, -0.368569374, 0.941390097, 0.334570527, 0.042981308, -0.33732003, 0.933716714, 0.119951896, 0, -0.127419978, 0.991848886)*CF.A(0,M.R(-15+15*M.C(Sine/8)),0),Alpha)
  2798. end
  2799. if(owo:FindFirstChild'Huggled' and owo.Huggled:IsA'BoolValue')then
  2800. owo.Huggled.Value = false
  2801. end
  2802. WalkSpeed = 16
  2803. Hum.AutoRotate = true
  2804. local pp = torso.CFrame
  2805. if(root)then root.Parent = owo if(rootWeld)then rootWeld[1].Parent = rootWeld[4] rootWeld[1].Part0 = rootWeld[2] rootWeld[1].Part1 = rootWeld[3] end end
  2806. GrabWeld:destroy()
  2807. end
  2808.  
  2809. Attack = false
  2810. NeutralAnims = true
  2811. end
  2812.  
  2813. function AttemptKissUwU()
  2814. Attack = true
  2815. NeutralAnims = false
  2816. for i = 0, 2, 0.1 do
  2817. swait()
  2818. local Alpha = .2
  2819. RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  2820. LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  2821. RH.C0 = clerp(RH.C0,CFrame.new(0.500000477, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  2822. LS.C0 = clerp(LS.C0,CFrame.new(-1.33729529, 0.456638038, 0.16140607, -0.266469032, 0.963840604, -0.00235169032, 0.0237830039, 0.004135984, -0.999708652, -0.963550091, -0.266447306, -0.0240251366),Alpha)
  2823. RS.C0 = clerp(RS.C0,CFrame.new(1.35338628, 0.468459934, 0.177928478, -0.265267879, -0.964171946, -0.00234607165, -0.0224859882, 0.00861900486, -0.999710023, 0.963912547, -0.265138209, -0.0239667017),Alpha)
  2824. NK.C0 = clerp(NK.C0,CFrame.new(0, 1.49999189, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  2825. end
  2826. local hit;
  2827. for i = 0, 2, 0.1 do
  2828. swait()
  2829. hit = CastRay(Root.Position,Root.Position+Root.CFrame.lookVector,2)
  2830. local Alpha = .2
  2831. RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  2832. LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  2833. RH.C0 = clerp(RH.C0,CFrame.new(0.500000477, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  2834. LS.C0 = clerp(LS.C0,CFrame.new(-0.93656075, 0.329677731, -1.02008939, 0.529792905, -0.746883333, 0.401851743, -0.273926944, -0.599103034, -0.752356112, 0.802672803, 0.288514823, -0.521992028),Alpha)
  2835. RS.C0 = clerp(RS.C0,CFrame.new(0.992939234, 0.25239262, -1.06771588, 0.369606882, 0.837249935, -0.402992934, 0.0150309941, -0.439034939, -0.898344278, -0.929066658, 0.325976849, -0.174855039),Alpha)
  2836. NK.C0 = clerp(NK.C0,CFrame.new(0, 1.49999189, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  2837. if(hit and hit.Parent and hit.Parent:FindFirstChildOfClass'Humanoid'and GetTorso(hit.Parent))then break end
  2838. end
  2839. if(hit and hit.Parent and hit.Parent:FindFirstChildOfClass'Humanoid' and GetTorso(hit.Parent))then
  2840. WalkSpeed = 0
  2841. Hum.AutoRotate = false
  2842. local owo = hit.Parent
  2843. local torso = GetTorso(owo)
  2844. local hum = owo:FindFirstChildOfClass'Humanoid'
  2845. local root = owo:FindFirstChild'HumanoidRootPart'
  2846. local rootWeld
  2847. if(root)then
  2848. rootWeld = (function()
  2849. for _,v in next, owo:GetDescendants() do
  2850. if(v:IsA'JointInstance' and (v.Part0 == root or v.Part1 == root))then
  2851. return {v,v.Part0,v.Part1,v.Parent}
  2852. end
  2853. end
  2854. end)()
  2855. root.Parent = nil
  2856. end
  2857. local GrabWeld = NewInstance("Weld",torso,{Part0=torso,Part1=Torso,C0=CF.N(0,0,-.75)*CF.A(0,M.R(180),0)})
  2858. local Sine = 0
  2859. if(owo:FindFirstChild'Kissed' and owo.Kissed:IsA'BoolValue')then
  2860. owo.Kissed.Value = true
  2861. end
  2862. for i = 0, 6, 0.1 do
  2863. swait()
  2864. local Alpha = .2
  2865. Sine = Sine + 1
  2866. RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  2867. LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  2868. RH.C0 = clerp(RH.C0,CFrame.new(0.500000477, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  2869. LS.C0 = clerp(LS.C0,CFrame.new(-0.93656075, 0.329677731, -1.02008939, 0.529792905, -0.746883333, 0.401851743, -0.273926944, -0.599103034, -0.752356112, 0.802672803, 0.288514823, -0.521992028)*CF.A(M.R(0+5*M.C(Sine/12)),0,0),Alpha)
  2870. RS.C0 = clerp(RS.C0,CFrame.new(0.992939234, 0.25239262, -1.06771588, 0.369606882, 0.837249935, -0.402992934, 0.0150309941, -0.439034939, -0.898344278, -0.929066658, 0.325976849, -0.174855039)*CF.A(M.R(0-5*M.C(Sine/12)),0,0),Alpha)
  2871. NK.C0 = clerp(NK.C0,CFrame.new(0, 1.49999189, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  2872.  
  2873. end
  2874. local Heart = Part(Char,BrickColor.new'Pink',Enum.Material.Neon,V3.N(2.15,2.13,.59),Torso.CFrame*CF.N(0,-1,0),true,false)
  2875. local HeartMesh = Mesh(Heart,Enum.MeshType.FileMesh,"rbxassetid://431221914","",V3.N(.5,.5,.2),V3.N())
  2876. coroutine.wrap(function()
  2877. local speed = .35
  2878. for i = 0, 6, .1 do
  2879. speed = speed - (.5/60)
  2880. Heart.CFrame = Heart.CFrame * CF.N(0,speed,0)
  2881. Heart.Transparency = math.max(1-i/3,0)
  2882. swait()
  2883. end
  2884. delay(1, function()
  2885. for i = 0, 3, .1 do
  2886. Heart.Transparency = i/3
  2887. swait()
  2888. end
  2889. Heart:destroy()
  2890. end)
  2891. end)()
  2892. Sound(Torso,270763316,1,5,false,true,true)
  2893. for i = 0, 6, 0.1 do
  2894. swait()
  2895. local Alpha = .2
  2896. Sine = Sine + 1
  2897. RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  2898. LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  2899. RH.C0 = clerp(RH.C0,CFrame.new(0.500000477, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  2900. LS.C0 = clerp(LS.C0,CFrame.new(-0.93656075, 0.329677731, -1.02008939, 0.529792905, -0.746883333, 0.401851743, -0.273926944, -0.599103034, -0.752356112, 0.802672803, 0.288514823, -0.521992028)*CF.A(M.R(0+5*M.C(Sine/12)),0,0),Alpha)
  2901. RS.C0 = clerp(RS.C0,CFrame.new(0.992939234, 0.25239262, -1.06771588, 0.369606882, 0.837249935, -0.402992934, 0.0150309941, -0.439034939, -0.898344278, -0.929066658, 0.325976849, -0.174855039)*CF.A(M.R(0-5*M.C(Sine/12)),0,0),Alpha)
  2902. NK.C0 = clerp(NK.C0,CFrame.new(0, 1.49999189, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  2903. end
  2904. if(owo:FindFirstChild'Kissed' and owo.Kissed:IsA'BoolValue')then
  2905. owo.Kissed.Value = false
  2906. end
  2907. WalkSpeed = 16
  2908. Hum.AutoRotate = true
  2909. local pp = torso.CFrame
  2910. if(root)then root.Parent = owo if(rootWeld)then rootWeld[1].Parent = rootWeld[4] rootWeld[1].Part0 = rootWeld[2] rootWeld[1].Part1 = rootWeld[3] end end
  2911. GrabWeld:destroy()
  2912. end
  2913.  
  2914. Attack = false
  2915. NeutralAnims = true
  2916. end
  2917.  
  2918. --// Wrap it all up \\--
  2919.  
  2920. Mouse.KeyDown:connect(function(k)
  2921. if(Attack or Huggled.Value or Kissed.Value)then return end
  2922. if(Claws)then
  2923. if(k == 'z')then ChangeStance('PatientDoggo') end
  2924. if(k == 'x')then ChangeStance('SleepyDoggo') end
  2925. if(k == 'f')then ShrinkClaws() end
  2926. else
  2927. if(k == 'z')then ChangeStance('PatientDoggo') end
  2928. if(k == 'x')then ChangeStance('SleepyDoggo') end
  2929. if(k == 'h')then AttemptHuggleOwO() end
  2930. if(k == 'k')then AttemptKissUwU() end
  2931. if(k == 'f')then GrowClaws() end
  2932. end
  2933. end)
  2934.  
  2935. while true do
  2936. swait()
  2937. Sine = Sine + Change
  2938.  
  2939.  
  2940. if(God)then
  2941. Hum.MaxHealth = 1e100
  2942. Hum.Health = 1e100
  2943. if(not Char:FindFirstChildOfClass'ForceField')then IN("ForceField",Char).Visible = false end
  2944. Hum.Name = M.RNG()*100
  2945. end
  2946.  
  2947. local hitfloor,posfloor = workspace:FindPartOnRay(Ray.new(Root.CFrame.p,((CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector).unit * (4*PlayerSize)), Char)
  2948.  
  2949. local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1)
  2950. local State = (Hum.PlatformStand and 'Paralyzed' or Hum.Sit and 'Sit' or not hitfloor and Root.Velocity.y < -1 and "Fall" or not hitfloor and Root.Velocity.y > 1 and "Jump" or hitfloor and Walking and (Hum.WalkSpeed < 16 and "Walk" or "Run") or hitfloor and "Idle")
  2951. if(not Effects or not Effects.Parent)then
  2952. Effects = IN("Model",Char)
  2953. Effects.Name = "Effects"
  2954. end
  2955. if(not Huggled.Value and not Kissed.Value)then
  2956. if(State == 'Run')then
  2957. local wsVal = 20 / (Hum.WalkSpeed/16)
  2958. local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
  2959. Change = 3
  2960. RH.C1 = RH.C1:lerp(CF.N(0,1,0)*CF.N(0,0-.2*M.C(Sine/wsVal),0+.4*M.C(Sine/wsVal))*CF.A(M.R(15+25*M.C(Sine/wsVal))+-M.S(Sine/wsVal),0,0),Alpha)
  2961. LH.C1 = LH.C1:lerp(CF.N(0,1,0)*CF.N(0,0+.2*M.C(Sine/wsVal),0-.4*M.C(Sine/wsVal))*CF.A(M.R(15-25*M.C(Sine/wsVal))+M.S(Sine/wsVal),0,0),Alpha)
  2962. elseif(State == 'Walk')then
  2963. local wsVal = 7 / (Hum.WalkSpeed/8)
  2964. local Alpha = math.min(.3 * (Hum.WalkSpeed/8),1)
  2965. Change = .9
  2966. RH.C1 = RH.C1:lerp(CF.N(0,1,0)*CF.N(0,0-.5*M.C(Sine/wsVal)/2,0+.6*M.C(Sine/wsVal)/2)*CF.A(M.R(15-2*M.C(Sine/wsVal))+-M.S(Sine/wsVal)/2.5,0,0),Alpha)
  2967. LH.C1 = LH.C1:lerp(CF.N(0,1,0)*CF.N(0,0+.5*M.C(Sine/wsVal)/2,0-.6*M.C(Sine/wsVal)/2)*CF.A(M.R(15+2*M.C(Sine/wsVal))+M.S(Sine/wsVal)/2.5,0,0),Alpha)
  2968. else
  2969. RH.C1 = RH.C1:lerp(CF.N(0,1,0),.2)
  2970. LH.C1 = LH.C1:lerp(CF.N(0,1,0),.2)
  2971. end
  2972. else
  2973. RH.C1 = RH.C1:lerp(CF.N(0,1,0),.2)
  2974. LH.C1 = LH.C1:lerp(CF.N(0,1,0),.2)
  2975. end
  2976. if(State ~= 'Idle')then
  2977. Stance = 0
  2978. end
  2979. Hum.WalkSpeed = WalkSpeed
  2980.  
  2981. if(Huggled.Value)then
  2982. WalkSpeed = 0
  2983. Change = 1
  2984. local Alpha = .2
  2985. RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  2986. LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  2987. RH.C0 = clerp(RH.C0,CFrame.new(0.500000477, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  2988. LS.C0 = clerp(LS.C0,CFrame.new(-0.93656075, 0.329677731, -1.02008939, 0.529792905, -0.746883333, 0.401851743, -0.273926944, -0.599103034, -0.752356112, 0.802672803, 0.288514823, -0.521992028),Alpha)
  2989. RS.C0 = clerp(RS.C0,CFrame.new(0.992939234, 0.25239262, -1.06771588, 0.369606882, 0.837249935, -0.402992934, 0.0150309941, -0.439034939, -0.898344278, -0.929066658, 0.325976849, -0.174855039),Alpha)
  2990. NK.C0 = clerp(NK.C0,CFrame.new(0.438690722, 1.48037314, -0.368569374, 0.941390097, 0.334570527, 0.042981308, -0.33732003, 0.933716714, 0.119951896, 0, -0.127419978, 0.991848886)*CF.A(0,M.R(-15+15*M.C(Sine/8)),0),Alpha)
  2991. elseif(Kissed.Value)then
  2992. WalkSpeed = 0
  2993. Change = 1
  2994. local Alpha = .2
  2995. RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  2996. LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  2997. RH.C0 = clerp(RH.C0,CFrame.new(0.500000477, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  2998. LS.C0 = clerp(LS.C0,CFrame.new(-0.93656075, 0.329677731, -1.02008939, 0.529792905, -0.746883333, 0.401851743, -0.273926944, -0.599103034, -0.752356112, 0.802672803, 0.288514823, -0.521992028)*CF.A(M.R(0+5*M.C(Sine/12)),0,0),Alpha)
  2999. RS.C0 = clerp(RS.C0,CFrame.new(0.992939234, 0.25239262, -1.06771588, 0.369606882, 0.837249935, -0.402992934, 0.0150309941, -0.439034939, -0.898344278, -0.929066658, 0.325976849, -0.174855039)*CF.A(M.R(0-5*M.C(Sine/12)),0,0),Alpha)
  3000. NK.C0 = clerp(NK.C0,CFrame.new(0, 1.49999189, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  3001.  
  3002. elseif(NeutralAnims)then
  3003. WalkSpeed = 16
  3004. if(State == 'Idle')then
  3005. if(Stance == 'PatientDoggo')then
  3006. local Alpha = .1
  3007. Change = .65
  3008. RJ.C0 = clerp(RJ.C0,CFrame.new(0, -2.10780478, 0.970854104, 1, 0, 0, 0, 0.530292034, -0.847815096, 0, 0.847815096, 0.530292034),Alpha)
  3009. LH.C0 = clerp(LH.C0,CFrame.new(-0.52337563, -1.22678924, -0.0346571803, 0.966510594, 0.256626785, -1.12175131e-08, -0.217572063, 0.819422245, -0.530292094, -0.136087134, 0.512532949, 0.847815096)*CF.A(0,0,M.R(0+5*M.C(Sine/24))),Alpha)
  3010. RH.C0 = clerp(RH.C0,CFrame.new(0.483448207, -1.22678924, -0.03465271, 0.966530263, -0.256553054, 0, 0.217509553, 0.819438934, -0.530292034, 0.136048034, 0.512543321, 0.847815096)*CF.A(0,0,M.R(0-5*M.C(Sine/24))),Alpha)
  3011. LS.C0 = clerp(LS.C0,CFrame.new(-1.46229315, 0.513410747, -0.0264457762, 0.884941101, 0.463346928, -0.0467846096, -0.0823113322, 0.254497528, 0.963564157, 0.458371073, -0.848846674, 0.263354063)*CF.A(0,0,M.R(0+5*M.C(Sine/24))),Alpha)
  3012. RS.C0 = clerp(RS.C0,CFrame.new(1.54346466, 0.54600054, -0.0126776993, 0.897622228, -0.43827334, -0.0468073376, 0.156223357, 0.217049524, 0.963578641, -0.412151307, -0.872242033, 0.263296962)*CF.A(0,0,M.R(0-5*M.C(Sine/24))),Alpha)
  3013. NK.C0 = clerp(NK.C0,CFrame.new(0, 1.52029264, -0.216603011, 1, 0, 0, 0, 0.938926339, 0.344118178, 0, -0.344118178, 0.938926339)*CF.A(M.R(0+5*M.C(Sine/24)),0,0),Alpha)
  3014. elseif(Stance == 'SleepyDoggo')then
  3015. local Alpha = .1
  3016. Change = .65
  3017. RJ.C0 = clerp(RJ.C0,CFrame.new(0.00765379518, -2.37531877, 0.490188628, 0.999769688, 0.0154944565, -0.0148536079, -0.0155909583, 0.0486059822, -0.998696327, -0.0147522828, 0.998697996, 0.0488363579),Alpha)
  3018. LH.C0 = clerp(LH.C0,CFrame.new(-0.556329548, -1.01782084, 0.0523337759, 0.936391771, -0.350610018, 0.0155910021, 0.350947887, 0.935132623, -0.0486090034, 0.00246314798, 0.0509886928, 0.998696208),Alpha)
  3019. RH.C0 = clerp(RH.C0,CFrame.new(0.582500875, -1.16751981, 0.133858949, 0.663288414, 0.726090193, -0.181222796, -0.708711624, 0.53166908, -0.463741302, -0.240367457, 0.436028928, 0.867238283),Alpha)
  3020. LS.C0 = clerp(LS.C0,CFrame.new(-1.20878398, 0.944466412, 0.12843433, 0.668268919, -0.739066303, 0.0848394409, -0.743897796, -0.663009524, 0.083873339, -0.00573859736, -0.119161807, -0.992858231),Alpha)
  3021. RS.C0 = clerp(RS.C0,CFrame.new(1.20252943, 0.88095963, 0.00249876827, 0.668030798, 0.735071719, -0.115777783, 0.743981063, -0.662912428, 0.0839017108, -0.0150767555, -0.142185375, -0.989725292),Alpha)
  3022. NK.C0 = clerp(NK.C0,CFrame.new(6.67600625e-06, 1.34367204, -0.326096922, 1, 0, 9.31322575e-10, -2.91038305e-11, 0.895097136, 0.445871502, 0, -0.445871502, 0.895096958)*CF.A(M.R(0+5*M.C(Sine/24)),0,0),Alpha)
  3023. else
  3024. Change = 1
  3025. local Alpha = .1
  3026. RJ.C0 = RJ.C0:lerp(CF.N(0,0+.05*M.C(Sine/16),0),Alpha)
  3027. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  3028. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0-.05*M.C(Sine/16),0)*CF.A(0,0,-M.R(1+1*M.S(Sine/16))),Alpha)
  3029. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0-.05*M.C(Sine/16),0)*CF.A(0,0,M.R(1+1*M.S(Sine/16))),Alpha)
  3030. LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0+.15*M.C(Sine/16),0)*CF.A(0,0,-M.R(5+5*M.S(Sine/16))),Alpha)
  3031. RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0+.15*M.C(Sine/16),0)*CF.A(0,0,M.R(5+5*M.S(Sine/16))),Alpha)
  3032. end
  3033. elseif(State == 'Run')then
  3034. local wsVal = 20 / (Hum.WalkSpeed/16)
  3035. local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
  3036. RJ.C0 = RJ.C0:lerp(CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(-7+2.5*M.C(Sine/(wsVal/2))),M.R(8*M.C(Sine/wsVal)),0),Alpha)
  3037. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  3038. LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,0-.3*M.S(Sine/wsVal))*CF.A(M.R(0+45*M.S(Sine/wsVal)),0,M.R(-5)),Alpha)
  3039. RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,0+.3*M.S(Sine/wsVal))*CF.A(M.R(0-45*M.S(Sine/wsVal)),0,M.R(5)),Alpha)
  3040. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
  3041. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
  3042. elseif(State == 'Walk')then
  3043. local wsVal = 7 / (Hum.WalkSpeed/8)
  3044. local Alpha = math.min(.3 * (Hum.WalkSpeed/8),1)
  3045. RJ.C0 = RJ.C0:lerp(CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(-5-2.5*M.C(Sine/(wsVal/2))),M.R(8*M.C(Sine/wsVal)),0),Alpha)
  3046. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  3047. LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,-.1*M.C(Sine/wsVal))*CF.A(M.R(37*M.C(Sine/wsVal)),0,M.R(-5)),Alpha)
  3048. RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,.1*M.C(Sine/wsVal))*CF.A(M.R(-37*M.C(Sine/wsVal)),0,M.R(5)),Alpha)
  3049. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
  3050. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
  3051. elseif(State == 'Jump')then
  3052. local Alpha = .1
  3053. Change = .5
  3054. local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90))
  3055. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(165+.25*M.C(Sine/6)),0,0),Alpha)
  3056. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(165+.25*M.C(Sine/6)),0,0),Alpha)
  3057. RJ.C0 = RJ.C0:lerp(RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  3058. NK.C0 = NK.C0:lerp(NKC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  3059. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  3060. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-.5)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  3061. elseif(State == 'Fall')then
  3062. local Alpha = .1
  3063. local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90))
  3064. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(165+.25*M.C(Sine/6))+idk,0,0),Alpha)
  3065. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(165+.25*M.C(Sine/6))+idk,0,0),Alpha)
  3066. RJ.C0 = RJ.C0:lerp(RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  3067. NK.C0 = NK.C0:lerp(NKC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  3068. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  3069. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-.5)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  3070. elseif(State == 'Paralyzed')then
  3071. -- paralyzed
  3072. elseif(State == 'Sit')then
  3073. -- sit
  3074. end
  3075. end
  3076.  
  3077. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement