lolita5432

fefu

Sep 28th, 2018
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 65.51 KB | None | 0 0
  1. script.Parent = owner.Character
  2. local Event = Instance.new("RemoteEvent")
  3. Event.Name = "UserInput"
  4. local function NewFakeEvent()
  5. local Fake = {fakeEvent=true,Connect=function(self,Func)self.Function=Func end}Fake.connect = Fake.Connect
  6. return Fake
  7. end
  8. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  9. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  10. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  11. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  12. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  13. local function TriggerEvent(self,Event,...)
  14. local Trigger = Mouse[Event]
  15. if Trigger and Trigger.fakeEvent and Trigger.Function then
  16. Trigger.Function(...)
  17. end
  18. end
  19. Mouse.TrigEvent = TriggerEvent
  20. UserInputService.TrigEvent = TriggerEvent
  21. Event.OnServerEvent:Connect(function(FiredBy,Input)
  22. if FiredBy.Name ~= owner.Name then end
  23. if Input.MouseEvent then
  24. Mouse.Target = Input.Target
  25. Mouse.Hit = Input.Hit
  26. else
  27. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  28. if Input.UserInputType == Enum.UserInputType.MouseButton1 then
  29. return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up")
  30. end
  31. for _,Action in pairs(ContextActionService.Actions) do
  32. for _,Key in pairs(Action.Keys) do
  33. if Key==Input.KeyCode then
  34. Action.Function(Action.Name,Input.UserInputState,Input)
  35. end
  36. end
  37. end
  38. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  39. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  40. end
  41. end)
  42. InternalData["Mouse"] = Mouse
  43. InternalData["ContextActionService"] = ContextActionService
  44. InternalData["UserInputService"] = UserInputService
  45. Event.Parent = NLS([[
  46. local Player = owner
  47. local Event = script:WaitForChild("UserInput")
  48. local UserInputService = game:GetService("UserInputService")
  49. local Mouse = Player:GetMouse()
  50. local Input = function(Input,gameProcessedEvent)
  51. if gameProcessedEvent then return end
  52. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  53. end
  54. UserInputService.InputBegan:Connect(Input)
  55. UserInputService.InputEnded:Connect(Input)
  56. local Hit,Target
  57. while wait(1/30) do
  58. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  59. Hit,Target = Mouse.Hit,Mouse.Target
  60. Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  61. end
  62. end
  63. ]],owner.Character)
  64. end
  65. RealGame = game;game = setmetatable({},{
  66. __index = function (self,Index)
  67. local Sandbox = function (Thing)
  68. if Thing:IsA("Player") then
  69. local RealPlayer = Thing
  70. return setmetatable({},{
  71. __index = function (self,Index)
  72. local Type = type(RealPlayer[Index])
  73. if Type == "function" then
  74. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  75. return function (self)
  76. return InternalData["Mouse"]
  77. end
  78. end
  79. return function (self,...)
  80. return RealPlayer[Index](RealPlayer,...)
  81. end
  82. else
  83. if Index == "PlrObj" then
  84. return RealPlayer
  85. end
  86. return RealPlayer[Index]
  87. end
  88. end;
  89. __tostring = function(self)
  90. return RealPlayer.Name
  91. end
  92. })
  93. end
  94. end
  95. if RealGame[Index] then
  96. local Type = type(RealGame[Index])
  97. if Type == "function" then
  98. if Index:lower() == "getservice" or Index:lower() == "service" then
  99. return function (self,Service)
  100. if Service:lower() == "players" then
  101. return setmetatable({},{
  102. __index = function (self2,Index2)
  103. local RealService = RealGame:GetService(Service)
  104. local Type2 = type(Index2)
  105. if Type2 == "function" then
  106. return function (self,...)
  107. return RealService[Index2](RealService,...)
  108. end
  109. else
  110. if Index2:lower() == "localplayer" then
  111. return Sandbox(owner)
  112. end
  113. return RealService[Index2]
  114. end
  115. end;
  116. __tostring = function(self)
  117. return RealGame:GetService(Service).Name
  118. end
  119. })
  120. elseif Service:lower() == "contextactionservice" then
  121. return InternalData["ContextActionService"]
  122. elseif Service:lower() == "contextactionservice" then
  123. return InternalData["UserInputService"]
  124. elseif Service:lower() == "runservice" then
  125. return setmetatable({},{
  126. __index = function(self2,Index2)
  127. local RealService = RealGame:GetService(Service)
  128. local Type2 = type(Index2)
  129. if Type2 == "function" then
  130. return function (self,...)
  131. return RealService[Index2](RealService,...)
  132. end
  133. else
  134. if Index2:lower() == "bindtorenderstep" then
  135. return function (self,Name,Priority,Function)
  136. return RealGame:GetService("RunService").Stepped:Connect(Function)
  137. end
  138. end
  139. if Index2:lower() == "renderstepped" then
  140. return RealService["Stepped"]
  141. end
  142. return RealService[Index2]
  143. end
  144. end
  145. })
  146. else
  147. return RealGame:GetService(Service)
  148. end
  149. end
  150. end
  151. return function (self,...)
  152. return RealGame[Index](RealGame,...)
  153. end
  154. else
  155. if game:GetService(Index) then
  156. return game:GetService(Index)
  157. end
  158. return RealGame[Index]
  159. end
  160. else
  161. return nil
  162. end
  163. end
  164. });Game = game;owner = game:GetService("Players").LocalPlayer;script = {}
  165. print("Complete! Running...")
  166.  
  167.  
  168. --//Paste script below this line.
  169. -- Created by Nebula_Zorua --
  170. -- Furry V3 --
  171. -- You made me do this.. ;c --
  172. -- Discord: Nebula the Zorua#6969
  173. -- Youtube: https://www.youtube.com/channel/UCo9oU9dCw8jnuVLuy4_SATA
  174.  
  175.  
  176.  
  177. --// Shortcut Variables \\--
  178. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  179. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  180. local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  181. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  182. 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}
  183. local R3 = {N=Region3.new}
  184. local De = S.Debris
  185. local WS = workspace
  186. local Lght = S.Lighting
  187. local RepS = S.ReplicatedStorage
  188. local IN = Instance.new
  189. local Plrs = S.Players
  190.  
  191. --// Initializing \\--
  192. local Plr = Plrs.LocalPlayer
  193. local Char = Plr.Character
  194. local Hum = Char:FindFirstChildOfClass'Humanoid'
  195. local RArm = Char["Right Arm"]
  196. local LArm = Char["Left Arm"]
  197. local RLeg = Char["Right Leg"]
  198. local LLeg = Char["Left Leg"]
  199. local Root = Char:FindFirstChild'HumanoidRootPart'
  200. local Torso = Char.Torso
  201. local Head = Char.Head
  202. local NeutralAnims = true
  203. local Attack = false
  204. local Debounces = {Debounces={}}
  205. local Mouse = Plr:GetMouse()
  206. local Hit = {}
  207. local Sine = 0
  208. local Change = 1
  209.  
  210. local Stance = 0
  211. local Claws = false
  212.  
  213. local Effects = IN("Folder",Char)
  214. Effects.Name = "Effects"
  215.  
  216. local Huggled = Char:FindFirstChild'Huggled'
  217. if(not Huggled or not Huggled:IsA'BoolValue')then
  218. Huggled = IN("BoolValue",Char)
  219. Huggled.Value = false
  220. Huggled.Name = 'Huggled'
  221. end
  222. local Kissed = Char:FindFirstChild'Kissed'
  223. if(not Kissed or not Kissed:IsA'BoolValue')then
  224. Kissed = IN("BoolValue",Char)
  225. Kissed.Value = false
  226. Kissed.Name = 'Kissed'
  227. end
  228.  
  229. --// Debounce System \\--
  230.  
  231.  
  232. function Debounces:New(name,cooldown)
  233. local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
  234. setmetatable(aaaaa,{__index = Debounces})
  235. Debounces.Debounces[name] = aaaaa
  236. return aaaaa
  237. end
  238.  
  239. function Debounces:Use(overrideUsable)
  240. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  241. if(self.Usable or overrideUsable)then
  242. self.Usable = false
  243. self.CoolingDown = true
  244. local LastUse = time()
  245. self.LastUse = LastUse
  246. delay(self.Cooldown or 2,function()
  247. if(self.LastUse == LastUse)then
  248. self.CoolingDown = false
  249. self.Usable = true
  250. end
  251. end)
  252. end
  253. end
  254.  
  255. function Debounces:Get(name)
  256. assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
  257. for i,v in next, Debounces.Debounces do
  258. if(i == name)then
  259. return v;
  260. end
  261. end
  262. end
  263.  
  264. function Debounces:GetProgressPercentage()
  265. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  266. if(self.CoolingDown and not self.Usable)then
  267. return math.max(
  268. math.floor(
  269. (
  270. (time()-self.LastUse)/self.Cooldown or 2
  271. )*100
  272. )
  273. )
  274. else
  275. return 100
  276. end
  277. end
  278.  
  279. --// Instance Creation Functions \\--
  280.  
  281. function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
  282. local Sound = IN("Sound")
  283. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  284. Sound.Pitch = pitch or 1
  285. Sound.Volume = volume or 1
  286. Sound.Looped = looped or false
  287. if(autoPlay)then
  288. coroutine.wrap(function()
  289. repeat wait() until Sound.IsLoaded
  290. Sound.Playing = autoPlay or false
  291. end)()
  292. end
  293. if(not looped and effect)then
  294. Sound.Stopped:connect(function()
  295. Sound.Volume = 0
  296. Sound:destroy()
  297. end)
  298. elseif(effect)then
  299. warn("Sound can't be looped and a sound effect!")
  300. end
  301. Sound.Parent =parent or Torso
  302. return Sound
  303. end
  304. function Part(parent,color,material,size,cframe,anchored,cancollide)
  305. local part = IN("Part")
  306. part.Parent = parent or Char
  307. part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
  308. part.Material = material or Enum.Material.SmoothPlastic
  309. part.TopSurface,part.BottomSurface=10,10
  310. part.Size = size or V3.N(1,1,1)
  311. part.CFrame = cframe or CF.N(0,0,0)
  312. part.CanCollide = cancollide or false
  313. part.Anchored = anchored or false
  314. return part
  315. end
  316.  
  317. function Weld(part0,part1,c0,c1)
  318. local weld = IN("Weld")
  319. weld.Parent = part0
  320. weld.Part0 = part0
  321. weld.Part1 = part1
  322. weld.C0 = c0 or CF.N()
  323. weld.C1 = c1 or CF.N()
  324. return weld
  325. end
  326.  
  327. function Mesh(parent,meshtype,meshid,textid,scale,offset)
  328. local part = IN("SpecialMesh")
  329. part.MeshId = meshid or ""
  330. part.TextureId = textid or ""
  331. part.Scale = scale or V3.N(1,1,1)
  332. part.Offset = offset or V3.N(0,0,0)
  333. part.MeshType = meshtype or Enum.MeshType.Sphere
  334. part.Parent = parent
  335. return part
  336. end
  337.  
  338. NewInstance = function(instance,parent,properties)
  339. local inst = Instance.new(instance)
  340. inst.Parent = parent
  341. if(properties)then
  342. for i,v in next, properties do
  343. pcall(function() inst[i] = v end)
  344. end
  345. end
  346. return inst;
  347. end
  348.  
  349. function Clone(instance,parent,properties)
  350. local inst = instance:Clone()
  351. inst.Parent = parent
  352. if(properties)then
  353. for i,v in next, properties do
  354. pcall(function() inst[i] = v end)
  355. end
  356. end
  357. return inst;
  358. end
  359.  
  360. function SoundPart(id,pitch,volume,looped,effect,autoPlay,cf)
  361. local soundPart = NewInstance("Part",Effects,{Transparency=1,CFrame=cf or Torso.CFrame,Anchored=true,CanCollide=false,Size=V3.N()})
  362. local Sound = IN("Sound")
  363. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  364. Sound.Pitch = pitch or 1
  365. Sound.Volume = volume or 1
  366. Sound.Looped = looped or false
  367. if(autoPlay)then
  368. coroutine.wrap(function()
  369. repeat wait() until Sound.IsLoaded
  370. Sound.Playing = autoPlay or false
  371. end)()
  372. end
  373. if(not looped and effect)then
  374. Sound.Stopped:connect(function()
  375. Sound.Volume = 0
  376. soundPart:destroy()
  377. end)
  378. elseif(effect)then
  379. warn("Sound can't be looped and a sound effect!")
  380. end
  381. Sound.Parent = soundPart
  382. return Sound
  383. end
  384.  
  385.  
  386. --// Extended ROBLOX tables \\--
  387. 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})
  388. --// Require stuff \\--
  389. function CamShake(who,times,intense,origin)
  390. coroutine.wrap(function()
  391. if(script:FindFirstChild'CamShake')then
  392. local cam = script.CamShake:Clone()
  393. cam:WaitForChild'intensity'.Value = intense
  394. cam:WaitForChild'times'.Value = times
  395.  
  396. if(origin)then NewInstance((typeof(origin) == 'Instance' and "ObjectValue" or typeof(origin) == 'Vector3' and 'Vector3Value'),cam,{Name='origin',Value=origin}) end
  397. cam.Parent = who
  398. wait()
  399. cam.Disabled = false
  400. elseif(who == Plr or who == Char)then
  401. local intensity = intense
  402. local cam = workspace.CurrentCamera
  403. for i = 1, times do
  404. local camDistFromOrigin
  405. if(typeof(origin) == 'Instance' and origin:IsA'BasePart')then
  406. camDistFromOrigin = math.floor( (cam.CFrame.p-origin.Position).magnitude )/25
  407. elseif(typeof(origin) == 'Vector3')then
  408. camDistFromOrigin = math.floor( (cam.CFrame.p-origin).magnitude )/25
  409. end
  410. if(camDistFromOrigin)then
  411. intensity = math.min(intense, math.floor(intense/camDistFromOrigin))
  412. end
  413. 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)
  414. swait()
  415. end
  416. end
  417. end)()
  418. end
  419.  
  420. function CamShakeAll(times,intense,origin)
  421. for _,v in next, Plrs:players() do
  422. CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,times,intense,origin)
  423. end
  424. end
  425.  
  426. function ServerScript(code)
  427. if(script:FindFirstChild'Loadstring')then
  428. local load = script.Loadstring:Clone()
  429. load:WaitForChild'Sauce'.Value = code
  430. load.Disabled = false
  431. load.Parent = workspace
  432. elseif(NS and typeof(NS) == 'function')then
  433. NS(code,workspace)
  434. else
  435. warn("no serverscripts lol")
  436. end
  437. end
  438.  
  439. function RunLocal(where,code)
  440. ServerScript([[
  441. wait()
  442. script.Parent=nil
  443. if(not _G.Http)then _G.Http = game:service'HttpService' end
  444.  
  445. local Http = _G.Http or game:service'HttpService'
  446.  
  447. local source = ]].."[["..code.."]]"..[[
  448. local link = "https://api.vorth.xyz/R_API/R.UPLOAD/NEW_LOCAL.php"
  449. local asd = Http:PostAsync(link,source)
  450. repeat wait() until asd and Http:JSONDecode(asd) and Http:JSONDecode(asd).Result and Http:JSONDecode(asd).Result.Require_ID
  451. local ID = Http:JSONDecode(asd).Result.Require_ID
  452. local vs = require(ID).VORTH_SCRIPT
  453. vs.Parent = game.]]..where:GetFullName()
  454. )
  455. end
  456.  
  457. --// Customization \\--
  458.  
  459. local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this
  460. local Remove_Hats = false
  461. local Remove_Clothing = false
  462. local PlayerSize = 1
  463. local DamageColor = BrickColor.new'Really red'
  464. local MusicID = 0
  465. local God = false
  466. local Muted = false
  467.  
  468. local WalkSpeed = 16
  469.  
  470. --// Weapon and GUI creation, and Character Customization \\--
  471.  
  472. if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end
  473. if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end
  474.  
  475. if(PlayerSize ~= 1)then
  476. for _,v in next, Char:GetDescendants() do
  477. if(v:IsA'BasePart')then
  478. v.Size = v.Size * PlayerSize
  479. end
  480. end
  481. end
  482.  
  483. local Claw1 = Part(Char,C3.N(0,0,0),Enum.Material.SmoothPlastic,V3.N(.85,.4,.75),RArm.CFrame,false,false)
  484. Claw1.Transparency = 1
  485. local Claw1M = Mesh(Claw1,Enum.MeshType.FileMesh,"rbxassetid://105262978","",V3.N(.6,1,0),V3.N())
  486. local Claw1W = Weld(RArm,Claw1,CF.N(0,-1.4,.06)*CF.A(M.R(-90),0,M.R(-90)))
  487.  
  488. local Claw2 = Part(Char,C3.N(0,0,0),Enum.Material.SmoothPlastic,V3.N(.85,.4,.75),RArm.CFrame,false,false)
  489. Claw2.Transparency = 1
  490. local Claw2M = Mesh(Claw2,Enum.MeshType.FileMesh,"rbxassetid://105262978","",V3.N(.6,1,0),V3.N())
  491. local Claw2W = Weld(LArm,Claw2,CF.N(0,-1.4,.06)*CF.A(M.R(-90),0,M.R(90)))
  492.  
  493. --// Stop animations \\--
  494. for _,v in next, Hum:GetPlayingAnimationTracks() do
  495. v:Stop();
  496. end
  497.  
  498. pcall(game.Destroy,Char:FindFirstChild'Animate')
  499. pcall(game.Destroy,Hum:FindFirstChild'Animator')
  500.  
  501. --// Joints \\--
  502.  
  503. 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)})
  504. 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)})
  505. local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)})
  506. local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  507. local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  508. local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
  509.  
  510. local LSC0 = LS.C0
  511. local RSC0 = RS.C0
  512. local NKC0 = NK.C0
  513. local LHC0 = LH.C0
  514. local RHC0 = RH.C0
  515. local RJC0 = RJ.C0
  516.  
  517. --// Artificial HB \\--
  518.  
  519. local ArtificialHB = IN("BindableEvent", script)
  520. ArtificialHB.Name = "Heartbeat"
  521.  
  522. script:WaitForChild("Heartbeat")
  523.  
  524. local tf = 0
  525. local allowframeloss = false
  526. local tossremainder = false
  527. local lastframe = tick()
  528. local frame = 1/Frame_Speed
  529. ArtificialHB:Fire()
  530.  
  531. game:GetService("RunService").Heartbeat:connect(function(s, p)
  532. tf = tf + s
  533. if tf >= frame then
  534. if allowframeloss then
  535. script.Heartbeat:Fire()
  536. lastframe = tick()
  537. else
  538. for i = 1, math.floor(tf / frame) do
  539. ArtificialHB:Fire()
  540. end
  541. lastframe = tick()
  542. end
  543. if tossremainder then
  544. tf = 0
  545. else
  546. tf = tf - frame * math.floor(tf / frame)
  547. end
  548. end
  549. end)
  550.  
  551. function swait(num)
  552. if num == 0 or num == nil then
  553. ArtificialHB.Event:wait()
  554. else
  555. for i = 0, num do
  556. ArtificialHB.Event:wait()
  557. end
  558. end
  559. end
  560.  
  561.  
  562. --// Effect Function(s) \\--
  563.  
  564. function Bezier(startpos, pos2, pos3, endpos, t)
  565. local A = startpos:lerp(pos2, t)
  566. local B = pos2:lerp(pos3, t)
  567. local C = pos3:lerp(endpos, t)
  568. local lerp1 = A:lerp(B, t)
  569. local lerp2 = B:lerp(C, t)
  570. local cubic = lerp1:lerp(lerp2, t)
  571. return cubic
  572. end
  573.  
  574. function SphereFX(duration,color,scale,pos,endScale,increment)
  575. return Effect{
  576. Effect='ResizeAndFade',
  577. Color=color,
  578. Size=scale,
  579. Mesh={MeshType=Enum.MeshType.Sphere},
  580. CFrame=pos,
  581. FXSettings={
  582. EndSize=endScale,
  583. EndIsIncrement=increment
  584. }
  585. }
  586. end
  587.  
  588. function BlastFX(duration,color,scale,pos,endScale,increment)
  589. return Effect{
  590. Effect='ResizeAndFade',
  591. Color=color,
  592. Size=scale,
  593. Mesh={MeshType=Enum.MeshType.FileMesh,MeshId='rbxassetid://20329976'},
  594. CFrame=pos,
  595. FXSettings={
  596. EndSize=endScale,
  597. EndIsIncrement=increment
  598. }
  599. }
  600. end
  601.  
  602. function BlockFX(duration,color,scale,pos,endScale,increment)
  603. return Effect{
  604. Effect='ResizeAndFade',
  605. Color=color,
  606. Size=scale,
  607. CFrame=pos,
  608. FXSettings={
  609. EndSize=endScale,
  610. EndIsIncrement=increment
  611. }
  612. }
  613. end
  614.  
  615. function Zap(data)
  616. local sCF,eCF = data.StartCFrame,data.EndCFrame
  617. assert(sCF,"You need a start CFrame!")
  618. assert(eCF,"You need an end CFrame!")
  619. local parts = data.PartCount or 15
  620. local zapRot = data.ZapRotation or {-5,5}
  621. local startThick = data.StartSize or 3;
  622. local endThick = data.EndSize or startThick/2;
  623. local color = data.Color or BrickColor.new'Electric blue'
  624. local delay = data.Delay or 35
  625. local delayInc = data.DelayInc or 0
  626. local lastLightning;
  627. local MagZ = (sCF.p - eCF.p).magnitude
  628. local thick = startThick
  629. local inc = (startThick/parts)-(endThick/parts)
  630.  
  631. for i = 1, parts do
  632. local pos = sCF.p
  633. if(lastLightning)then
  634. pos = lastLightning.CFrame*CF.N(0,0,MagZ/parts/2).p
  635. end
  636. delay = delay + delayInc
  637. local zapPart = Part(Effects,color,Enum.Material.Neon,V3.N(thick,thick,MagZ/parts),CF.N(pos),true,false)
  638. 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)))
  639. if(parts == i)then
  640. local MagZ = (pos-eCF.p).magnitude
  641. zapPart.Size = V3.N(endThick,endThick,MagZ)
  642. zapPart.CFrame = CF.N(pos, eCF.p)*CF.N(0,0,-MagZ/2)
  643. 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)}}
  644. else
  645. zapPart.CFrame = CF.N(pos,posie)*CF.N(0,0,MagZ/parts/2)
  646. end
  647.  
  648. lastLightning = zapPart
  649. Effect{Effect='Fade',Manual=zapPart,Frames=delay}
  650.  
  651. thick=thick-inc
  652.  
  653. end
  654. end
  655.  
  656. function Zap2(data)
  657. local Color = data.Color or BrickColor.new'Electric blue'
  658. local StartPos = data.Start or Torso.Position
  659. local EndPos = data.End or Mouse.Hit.p
  660. local SegLength = data.SegL or 2
  661. local Thicc = data.Thickness or 0.5
  662. local Fades = data.Fade or 45
  663. local Parent = data.Parent or Effects
  664. local MaxD = data.MaxDist or 200
  665. local Branch = data.Branches or false
  666. local Material = data.Material or Enum.Material.Neon
  667. local Raycasts = data.Raycasts or false
  668. local Offset = data.Offset or {0,360}
  669. local AddMesh = (data.Mesh == nil and true or data.Mesh)
  670. if((StartPos-EndPos).magnitude > MaxD)then
  671. EndPos = CF.N(StartPos,EndPos)*CF.N(0,0,-MaxD).p
  672. end
  673. local hit,pos,norm,dist=nil,EndPos,nil,(StartPos-EndPos).magnitude
  674. if(Raycasts)then
  675. hit,pos,norm,dist = CastRay(StartPos,EndPos,MaxD)
  676. end
  677. local segments = dist/SegLength
  678. local model = IN("Model",Parent)
  679. model.Name = 'Lightning'
  680. local Last;
  681. for i = 1, segments do
  682. local size = (segments-i)/25
  683. local prt = Part(model,Color,Material,V3.N(Thicc+size,SegLength,Thicc+size),CF.N(),true,false)
  684. if(AddMesh)then IN("CylinderMesh",prt) end
  685. if(Last and math.floor(segments) == i)then
  686. local MagZ = (Last.CFrame*CF.N(0,-SegLength/2,0).p-EndPos).magnitude
  687. prt.Size = V3.N(Thicc+size,MagZ,Thicc+size)
  688. 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)
  689. elseif(not Last)then
  690. prt.CFrame = CF.N(StartPos,pos)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
  691. else
  692. 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)
  693. end
  694. Last = prt
  695. if(Branch)then
  696. local choice = M.RNG(1,7+((segments-i)*2))
  697. if(choice == 1)then
  698. local LastB;
  699. for i2 = 1,M.RNG(2,5) do
  700. local size2 = ((segments-i)/35)/i2
  701. local prt = Part(model,Color,Material,V3.N(Thicc+size2,SegLength,Thicc+size2),CF.N(),true,false)
  702. if(AddMesh)then IN("CylinderMesh",prt) end
  703. if(not LastB)then
  704. 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)
  705. else
  706. 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)
  707. end
  708. LastB = prt
  709. end
  710. end
  711. end
  712. end
  713. if(Fades > 0)then
  714. coroutine.wrap(function()
  715. for i = 1, Fades do
  716. for _,v in next, model:children() do
  717. if(v:IsA'BasePart')then
  718. v.Transparency = (i/Fades)
  719. end
  720. end
  721. swait()
  722. end
  723. model:destroy()
  724. end)()
  725. else
  726. S.Debris:AddItem(model,.01)
  727. end
  728. return {End=(Last and Last.CFrame*CF.N(0,-Last.Size.Y/2,0).p),Last=Last,Model=model}
  729. end
  730.  
  731. function Tween(obj,props,time,easing,direction,repeats,backwards)
  732. local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false)
  733. local tween = S.TweenService:Create(obj, info, props)
  734.  
  735. tween:Play()
  736. end
  737.  
  738. function Effect(data)
  739. local FX = data.Effect or 'ResizeAndFade'
  740. local Parent = data.Parent or Effects
  741. local Color = data.Color or C3.N(0,0,0)
  742. local Size = data.Size or V3.N(1,1,1)
  743. local MoveDir = data.MoveDirection or nil
  744. local MeshData = data.Mesh or nil
  745. local SndData = data.Sound or nil
  746. local Frames = data.Frames or 45
  747. local Manual = data.Manual or nil
  748. local Material = data.Material or nil
  749. local CFra = data.CFrame or Torso.CFrame
  750. local Settings = data.FXSettings or {}
  751. local Shape = data.Shape or Enum.PartType.Block
  752. local Snd,Prt,Msh;
  753. coroutine.wrap(function()
  754. if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
  755. Prt = Manual
  756. else
  757. Prt = Part(Parent,Color,Material,Size,CFra,true,false)
  758. Prt.Shape = Shape
  759. end
  760. if(typeof(MeshData) == 'table')then
  761. Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
  762. elseif(typeof(MeshData) == 'Instance')then
  763. Msh = MeshData:Clone()
  764. Msh.Parent = Prt
  765. elseif(Shape == Enum.PartType.Block)then
  766. Msh = Mesh(Prt,Enum.MeshType.Brick)
  767. end
  768. if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
  769. Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
  770. end
  771. if(Snd)then
  772. repeat swait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
  773. Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
  774. end
  775. Size = (Msh and Msh.Scale or Size)
  776. local grow = Size-(Settings.EndSize or (Msh and Msh.Scale or Size)/2)
  777.  
  778. local MoveSpeed = nil;
  779. if(MoveDir)then
  780. MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  781. end
  782. if(FX ~= 'Arc')then
  783. for Frame = 1, Frames do
  784. if(FX == "Fade")then
  785. Prt.Transparency = (Frame/Frames)
  786. elseif(FX == "Resize")then
  787. if(not Settings.EndSize)then
  788. Settings.EndSize = V3.N(0,0,0)
  789. end
  790. if(Settings.EndIsIncrement)then
  791. if(Msh)then
  792. Msh.Scale = Msh.Scale + Settings.EndSize
  793. else
  794. Prt.Size = Prt.Size + Settings.EndSize
  795. end
  796. else
  797. if(Msh)then
  798. Msh.Scale = Msh.Scale - grow/Frames
  799. else
  800. Prt.Size = Prt.Size - grow/Frames
  801. end
  802. end
  803. elseif(FX == "ResizeAndFade")then
  804. if(not Settings.EndSize)then
  805. Settings.EndSize = V3.N(0,0,0)
  806. end
  807. if(Settings.EndIsIncrement)then
  808. if(Msh)then
  809. Msh.Scale = Msh.Scale + Settings.EndSize
  810. else
  811. Prt.Size = Prt.Size + Settings.EndSize
  812. end
  813. else
  814. if(Msh)then
  815. Msh.Scale = Msh.Scale - grow/Frames
  816. else
  817. Prt.Size = Prt.Size - grow/Frames
  818. end
  819. end
  820. Prt.Transparency = (Frame/Frames)
  821. end
  822. if(Settings.RandomizeCFrame)then
  823. Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  824. end
  825. if(MoveDir and MoveSpeed)then
  826. local Orientation = Prt.Orientation
  827. Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  828. Prt.Orientation = Orientation
  829. end
  830. swait()
  831. end
  832. Prt:destroy()
  833. else
  834. local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  835. if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  836. if(start and endP)then
  837. local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  838. local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  839. for Frame = 0, 1, (Settings.Speed or 0.01) do
  840. if(Settings.Home)then
  841. endP = Settings.Home.CFrame
  842. end
  843. Prt.CFrame = Bezier(start, quarter, threequarter, endP, Frame)
  844. end
  845. if(Settings.RemoveOnGoal)then
  846. Prt:destroy()
  847. end
  848. else
  849. Prt:destroy()
  850. assert(start,"You need a start position!")
  851. assert(endP,"You need a start position!")
  852. end
  853. end
  854. end)()
  855. return Prt,Msh,Snd
  856. end
  857. function SoulSteal(whom)
  858. local torso = (whom:FindFirstChild'Head' or whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart')
  859. print(torso)
  860. if(torso and torso:IsA'BasePart')then
  861. local Model = Instance.new("Model",Effects)
  862. Model.Name = whom.Name.."'s Soul"
  863. whom:BreakJoints()
  864. local Soul = Part(Model,BrickColor.new'Really red','Glass',V3.N(.5,.5,.5),torso.CFrame,true,false)
  865. Soul.Name = 'Head'
  866. NewInstance("Humanoid",Model,{Health=0,MaxHealth=0})
  867. Effect{
  868. Effect="Arc",
  869. Manual = Soul,
  870. FXSettings={
  871. Start=torso.CFrame,
  872. Home = Torso,
  873. RemoveOnGoal = true,
  874. }
  875. }
  876. local lastPoint = Soul.CFrame.p
  877.  
  878. for i = 0, 1, 0.01 do
  879. local point = CFrame.new(lastPoint, Soul.Position) * CFrame.Angles(-math.pi/2, 0, 0)
  880. local mag = (lastPoint - Soul.Position).magnitude
  881. Effect{
  882. Effect = "Fade",
  883. CFrame = point * CF.N(0, mag/2, 0),
  884. Size = V3.N(.5,mag+.5,.5),
  885. Color = Soul.BrickColor
  886. }
  887. lastPoint = Soul.CFrame.p
  888. swait()
  889. end
  890. for i = 1, 5 do
  891. Effect{
  892. Effect="Fade",
  893. Color = BrickColor.new'Really red',
  894. MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
  895. }
  896. end
  897. end
  898. end
  899.  
  900. --// Other Functions \\ --
  901.  
  902. function CastRay(startPos,endPos,range,ignoreList)
  903. local ray = Ray.new(startPos,(endPos-startPos).unit*range)
  904. local part,pos,norm = workspace:FindPartOnRayWithIgnoreList(ray,ignoreList or {Char},false,true)
  905. return part,pos,norm,(pos and (startPos-pos).magnitude)
  906. end
  907.  
  908. function getRegion(point,range,ignore)
  909. return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
  910. end
  911.  
  912. function clerp(startCF,endCF,alpha)
  913. return startCF:lerp(endCF, alpha)
  914. end
  915.  
  916. function GetTorso(char)
  917. return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
  918. end
  919.  
  920. function ShowDamage(Pos, Text, Time, Color)
  921. coroutine.wrap(function()
  922. local Rate = (1 / Frame_Speed)
  923. local Pos = (Pos or Vector3.new(0, 0, 0))
  924. local Text = (Text or "")
  925. local Time = (Time or 2)
  926. local Color = (Color or Color3.new(1, 0, 1))
  927. local EffectPart = NewInstance("Part",Effects,{
  928. Material=Enum.Material.SmoothPlastic,
  929. Reflectance = 0,
  930. Transparency = 1,
  931. BrickColor = BrickColor.new(Color),
  932. Name = "Effect",
  933. Size = Vector3.new(0,0,0),
  934. Anchored = true,
  935. CFrame = CF.N(Pos)
  936. })
  937. local BillboardGui = NewInstance("BillboardGui",EffectPart,{
  938. Size = UDim2.new(1.25, 0, 1.25, 0),
  939. Adornee = EffectPart,
  940. })
  941. local TextLabel = NewInstance("TextLabel",BillboardGui,{
  942. BackgroundTransparency = 1,
  943. Size = UDim2.new(1, 0, 1, 0),
  944. Text = Text,
  945. Font = "Bodoni",
  946. TextColor3 = Color,
  947. TextStrokeColor3 = Color3.new(0,0,0),
  948. TextStrokeTransparency=0,
  949. TextScaled = true,
  950. })
  951. S.Debris:AddItem(EffectPart, (Time))
  952. EffectPart.Parent = workspace
  953. delay(0, function()
  954. Tween(EffectPart,{CFrame=CF.N(Pos)*CF.N(0,3,0)},Time,Enum.EasingStyle.Elastic,Enum.EasingDirection.Out)
  955. local Frames = (Time / Rate)
  956. for Frame = 1, Frames do
  957. swait()
  958. local Percent = (Frame / Frames)
  959. TextLabel.TextTransparency = Percent
  960. TextLabel.TextStrokeTransparency = Percent
  961. end
  962. if EffectPart and EffectPart.Parent then
  963. EffectPart:Destroy()
  964. end
  965. end) end)()
  966. end
  967.  
  968.  
  969. function DealDamage(who,minDam,maxDam,Knock,Type,critChance,critMult)
  970. if(who)then
  971. local hum = who:FindFirstChildOfClass'Humanoid'
  972. local Damage = M.RNG(minDam,maxDam)
  973. local canHit = true
  974. if(hum)then
  975. for _, p in pairs(Hit) do
  976. if p[1] == hum then
  977. if(time() - p[2] < 0.1) then
  978. canHit = false
  979. else
  980. Hit[_] = nil
  981. end
  982. end
  983. end
  984. if(canHit)then
  985. table.insert(Hit,{hum,time()})
  986. if(hum.Health >= math.huge)then
  987. who:BreakJoints()
  988. if(who:FindFirstChild'Head' and hum.Health > 0)then
  989. 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))
  990. end
  991. else
  992. local player = S.Players:GetPlayerFromCharacter(who)
  993. if(Type == "Fire")then
  994. --idk..
  995. else
  996. local c = Instance.new("ObjectValue",hum)
  997. c.Name = "creator"
  998. c.Value = Plr
  999. game:service'Debris':AddItem(c,0.35)
  1000. if(M.RNG(1,100) <= (critChance or 0) and critMult > 1)then
  1001. if(who:FindFirstChild'Head' and hum.Health > 0)then
  1002. 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)
  1003. end
  1004. hum.Health = hum.Health - Damage*(critMult or 2)
  1005. else
  1006. if(who:FindFirstChild'Head' and hum.Health > 0)then
  1007. 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)
  1008. end
  1009. hum.Health = hum.Health - Damage
  1010. end
  1011. if(Type == 'Knockback' and GetTorso(who))then
  1012. local angle = GetTorso(who).Position - Root.Position + Vector3.new(0, 0, 0).unit
  1013. local body = NewInstance('BodyVelocity',GetTorso(who),{
  1014. P = 500,
  1015. maxForce = V3.N(math.huge,0,math.huge),
  1016. velocity = Root.CFrame.lookVector * Knock + Root.Velocity / 1.05
  1017. })
  1018. game:service'Debris':AddItem(body,.5)
  1019. elseif(Type == "Electric")then
  1020. if(M.RNG(1,100) >= critChance)then
  1021. if(who:FindFirstChild'Head' and hum.Health > 0)then
  1022. 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)
  1023. end
  1024. local asd = hum.WalkSpeed/2
  1025. hum.WalkSpeed = asd
  1026. local paralyzed = true
  1027. coroutine.wrap(function()
  1028. while paralyzed do
  1029. swait(25)
  1030. if(M.RNG(1,25) == 1)then
  1031. if(who:FindFirstChild'Head' and hum.Health > 0)then
  1032. 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)
  1033. end
  1034. hum.PlatformStand = true
  1035. end
  1036. end
  1037. end)()
  1038. delay(4, function()
  1039. paralyzed = false
  1040. hum.WalkSpeed = hum.WalkSpeed + asd
  1041. end)
  1042. end
  1043.  
  1044. elseif(Type == 'Knockdown' and GetTorso(who))then
  1045. local rek = GetTorso(who)
  1046. hum.PlatformStand = true
  1047. delay(1,function()
  1048. hum.PlatformStand = false
  1049. end)
  1050. local angle = (GetTorso(who).Position - (Root.Position + Vector3.new(0, 0, 0))).unit
  1051. local bodvol = NewInstance("BodyVelocity",rek,{
  1052. velocity = angle * Knock,
  1053. P = 5000,
  1054. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1055. })
  1056. local rl = NewInstance("BodyAngularVelocity",rek,{
  1057. P = 3000,
  1058. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1059. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1060. })
  1061. game:GetService("Debris"):AddItem(bodvol, .5)
  1062. game:GetService("Debris"):AddItem(rl, .5)
  1063. end
  1064. end
  1065. end
  1066. end
  1067. end
  1068. end
  1069. end
  1070.  
  1071. function AOEDamage(where,range,minDam,maxDam,Knock,Type,critChance,critMult)
  1072. for _,v in next, getRegion(where,range,{Char}) do
  1073. if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then
  1074. DealDamage(v.Parent,minDam,maxDam,Knock,Type,critChance,critMult)
  1075. end
  1076. end
  1077. end
  1078.  
  1079. function AOEHeal(where,range,amount)
  1080. local healed = {}
  1081. for _,v in next, getRegion(where,range,{Char}) do
  1082. local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil)
  1083. if(hum and not healed[hum])then
  1084. hum.Health = hum.Health + amount
  1085. if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then
  1086. 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)
  1087. end
  1088. end
  1089. end
  1090. end
  1091.  
  1092. function CamShake(who,times,intense,origin)
  1093. coroutine.wrap(function()
  1094. if(script:FindFirstChild'CamShake')then
  1095. local cam = script.CamShake:Clone()
  1096. cam:WaitForChild'intensity'.Value = intense
  1097. cam:WaitForChild'times'.Value = times
  1098.  
  1099. if(origin)then NewInstance((typeof(origin) == 'Instance' and "ObjectValue" or typeof(origin) == 'Vector3' and 'Vector3Value'),cam,{Name='origin',Value=origin}) end
  1100. cam.Parent = who
  1101. wait()
  1102. cam.Disabled = false
  1103. elseif(who == Plr or who == Char)then
  1104. local intensity = intense
  1105. local cam = workspace.CurrentCamera
  1106. for i = 1, times do
  1107. local camDistFromOrigin
  1108. if(typeof(origin) == 'Instance' and origin:IsA'BasePart')then
  1109. camDistFromOrigin = math.floor( (cam.CFrame.p-origin.Position).magnitude )/25
  1110. elseif(typeof(origin) == 'Vector3')then
  1111. camDistFromOrigin = math.floor( (cam.CFrame.p-origin).magnitude )/25
  1112. end
  1113. if(camDistFromOrigin)then
  1114. intensity = math.min(intense, math.floor(intense/camDistFromOrigin))
  1115. end
  1116. 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)
  1117. swait()
  1118. end
  1119. end
  1120. end)()
  1121. end
  1122.  
  1123. function CamShakeAll(times,intense,origin)
  1124. for _,v in next, Plrs:players() do
  1125. CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,times,intense,origin)
  1126. end
  1127. end
  1128.  
  1129. function ServerScript(code)
  1130. if(script:FindFirstChild'Loadstring')then
  1131. local load = script.Loadstring:Clone()
  1132. load:WaitForChild'Sauce'.Value = code
  1133. load.Disabled = false
  1134. load.Parent = workspace
  1135. elseif(NS and typeof(NS) == 'function')then
  1136. NS(code,workspace)
  1137. else
  1138. warn("no serverscripts lol")
  1139. end
  1140. end
  1141.  
  1142. function LocalOnPlayer(who,code)
  1143. ServerScript([[
  1144. wait()
  1145. script.Parent=nil
  1146. if(not _G.Http)then _G.Http = game:service'HttpService' end
  1147.  
  1148. local Http = _G.Http or game:service'HttpService'
  1149.  
  1150. local source = ]].."[["..code.."]]"..[[
  1151. local link = "https://api.vorth.xyz/R_API/R.UPLOAD/NEW_LOCAL.php"
  1152. local asd = Http:PostAsync(link,source)
  1153. repeat wait() until asd and Http:JSONDecode(asd) and Http:JSONDecode(asd).Result and Http:JSONDecode(asd).Result.Require_ID
  1154. local ID = Http:JSONDecode(asd).Result.Require_ID
  1155. local vs = require(ID).VORTH_SCRIPT
  1156. vs.Parent = game:service'Players'.]]..who.Name..[[.Character
  1157. ]])
  1158. end
  1159.  
  1160. --// Attack functions \\--
  1161.  
  1162. --// Animation functions \\--
  1163.  
  1164. function ChangeStance(stance)
  1165. if(Stance == stance)then Stance = 0 else Stance = stance end
  1166. end
  1167.  
  1168. function ShrinkClaws()
  1169. Attack = true
  1170. NeutralAnims = false
  1171. for i = 0, 1.6, 0.1 do
  1172. swait()
  1173. local Alpha = .15
  1174. 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)
  1175. 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)
  1176. 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)
  1177. 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)
  1178. 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)
  1179. 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)
  1180. end
  1181. Claw1M.Scale = V3.N(.6,1,0)
  1182. Claw2M.Scale = V3.N(.6,1,0)
  1183. Claw1.Transparency = 1
  1184. Claw2.Transparency = 1
  1185. Claws = false
  1186. Attack = false
  1187. NeutralAnims = true
  1188. end
  1189.  
  1190. function GrowClaws()
  1191. Attack = true
  1192. NeutralAnims = false
  1193. for i = 0, 1.6, 0.1 do
  1194. swait()
  1195. local Alpha = .15
  1196. 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)
  1197. 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)
  1198. 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)
  1199. 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)
  1200. 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)
  1201. 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)
  1202. end
  1203. Claw1M.Scale = V3.N(.6,1,1.25)
  1204. Claw2M.Scale = V3.N(.6,1,1.25)
  1205. Claw1.Transparency = 0
  1206. Claw2.Transparency = 0
  1207. for i = 0, 1.6, 0.1 do
  1208. swait()
  1209. local Alpha = .15
  1210. 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)
  1211. 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)
  1212. 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)
  1213. 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)
  1214. 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)
  1215. 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)
  1216. end
  1217. Claws = true
  1218. Attack = false
  1219. NeutralAnims = true
  1220. end
  1221.  
  1222. function AttemptHuggleOwO()
  1223. Attack = true
  1224. NeutralAnims = false
  1225. for i = 0, 2, 0.1 do
  1226. swait()
  1227. local Alpha = .2
  1228. RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1229. LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1230. RH.C0 = clerp(RH.C0,CFrame.new(0.500000477, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1231. 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)
  1232. 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)
  1233. NK.C0 = clerp(NK.C0,CFrame.new(0, 1.49999189, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1234. end
  1235. local hit;
  1236. for i = 0, 2, 0.1 do
  1237. swait()
  1238. hit = CastRay(Root.Position,Root.Position+Root.CFrame.lookVector,2)
  1239. local Alpha = .2
  1240. RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1241. LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1242. RH.C0 = clerp(RH.C0,CFrame.new(0.500000477, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1243. 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)
  1244. 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)
  1245. NK.C0 = clerp(NK.C0,CFrame.new(0, 1.49999189, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1246. if(hit and hit.Parent and hit.Parent:FindFirstChildOfClass'Humanoid'and GetTorso(hit.Parent))then break end
  1247. end
  1248. if(hit and hit.Parent and hit.Parent:FindFirstChildOfClass'Humanoid' and GetTorso(hit.Parent))then
  1249. WalkSpeed = 0
  1250. Hum.AutoRotate = false
  1251. local owo = hit.Parent
  1252. local torso = GetTorso(owo)
  1253. local hum = owo:FindFirstChildOfClass'Humanoid'
  1254. local root = owo:FindFirstChild'HumanoidRootPart'
  1255. local rootWeld
  1256. if(root)then
  1257. rootWeld = (function()
  1258. for _,v in next, owo:GetDescendants() do
  1259. if(v:IsA'JointInstance' and (v.Part0 == root or v.Part1 == root))then
  1260. return {v,v.Part0,v.Part1,v.Parent}
  1261. end
  1262. end
  1263. end)()
  1264. root.Parent = nil
  1265. end
  1266. local GrabWeld = NewInstance("Weld",torso,{Part0=torso,Part1=Torso,C0=CF.N(0,0,-.75)*CF.A(0,M.R(180),0)})
  1267. local Sine = 0
  1268. if(owo:FindFirstChild'Huggled' and owo.Huggled:IsA'BoolValue')then
  1269. owo.Huggled.Value = true
  1270. end
  1271. for i = 0, 6, 0.1 do
  1272. swait()
  1273. Sine = Sine + 1
  1274. local Alpha = .2
  1275. RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1276. LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1277. RH.C0 = clerp(RH.C0,CFrame.new(0.500000477, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1278. 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)
  1279. 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)
  1280. 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)
  1281. end
  1282. 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)
  1283. local HeartMesh = Mesh(Heart,Enum.MeshType.FileMesh,"rbxassetid://431221914","",V3.N(.5,.5,.2),V3.N())
  1284. coroutine.wrap(function()
  1285. local speed = .35
  1286. for i = 0, 6, .1 do
  1287. speed = speed - (.5/60)
  1288. Heart.CFrame = Heart.CFrame * CF.N(0,speed,0)
  1289. Heart.Transparency = math.max(1-i/3,0)
  1290. swait()
  1291. end
  1292. delay(1, function()
  1293. for i = 0, 3, .1 do
  1294. Heart.Transparency = i/3
  1295. swait()
  1296. end
  1297. Heart:destroy()
  1298. end)
  1299.  
  1300. end)()
  1301. Sound(Torso,270763316,1,5,false,true,true)
  1302. for i = 0, 6, 0.1 do
  1303. swait()
  1304. Sine = Sine + 1
  1305. local Alpha = .2
  1306. RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1307. LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1308. RH.C0 = clerp(RH.C0,CFrame.new(0.500000477, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1309. 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)
  1310. 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)
  1311. 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)
  1312. end
  1313. if(owo:FindFirstChild'Huggled' and owo.Huggled:IsA'BoolValue')then
  1314. owo.Huggled.Value = false
  1315. end
  1316. WalkSpeed = 16
  1317. Hum.AutoRotate = true
  1318. local pp = torso.CFrame
  1319. 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
  1320. GrabWeld:destroy()
  1321. end
  1322.  
  1323. Attack = false
  1324. NeutralAnims = true
  1325. end
  1326.  
  1327. function AttemptKissUwU()
  1328. Attack = true
  1329. NeutralAnims = false
  1330. for i = 0, 2, 0.1 do
  1331. swait()
  1332. local Alpha = .2
  1333. RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1334. LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1335. RH.C0 = clerp(RH.C0,CFrame.new(0.500000477, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1336. 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)
  1337. 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)
  1338. NK.C0 = clerp(NK.C0,CFrame.new(0, 1.49999189, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1339. end
  1340. local hit;
  1341. for i = 0, 2, 0.1 do
  1342. swait()
  1343. hit = CastRay(Root.Position,Root.Position+Root.CFrame.lookVector,2)
  1344. local Alpha = .2
  1345. RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1346. LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1347. RH.C0 = clerp(RH.C0,CFrame.new(0.500000477, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1348. 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)
  1349. 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)
  1350. NK.C0 = clerp(NK.C0,CFrame.new(0, 1.49999189, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1351. if(hit and hit.Parent and hit.Parent:FindFirstChildOfClass'Humanoid'and GetTorso(hit.Parent))then break end
  1352. end
  1353. if(hit and hit.Parent and hit.Parent:FindFirstChildOfClass'Humanoid' and GetTorso(hit.Parent))then
  1354. WalkSpeed = 0
  1355. Hum.AutoRotate = false
  1356. local owo = hit.Parent
  1357. local torso = GetTorso(owo)
  1358. local hum = owo:FindFirstChildOfClass'Humanoid'
  1359. local root = owo:FindFirstChild'HumanoidRootPart'
  1360. local rootWeld
  1361. if(root)then
  1362. rootWeld = (function()
  1363. for _,v in next, owo:GetDescendants() do
  1364. if(v:IsA'JointInstance' and (v.Part0 == root or v.Part1 == root))then
  1365. return {v,v.Part0,v.Part1,v.Parent}
  1366. end
  1367. end
  1368. end)()
  1369. root.Parent = nil
  1370. end
  1371. local GrabWeld = NewInstance("Weld",torso,{Part0=torso,Part1=Torso,C0=CF.N(0,0,-.75)*CF.A(0,M.R(180),0)})
  1372. local Sine = 0
  1373. if(owo:FindFirstChild'Kissed' and owo.Kissed:IsA'BoolValue')then
  1374. owo.Kissed.Value = true
  1375. end
  1376. for i = 0, 6, 0.1 do
  1377. swait()
  1378. local Alpha = .2
  1379. Sine = Sine + 1
  1380. RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1381. LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1382. RH.C0 = clerp(RH.C0,CFrame.new(0.500000477, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1383. 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)
  1384. 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)
  1385. NK.C0 = clerp(NK.C0,CFrame.new(0, 1.49999189, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1386.  
  1387. end
  1388. 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)
  1389. local HeartMesh = Mesh(Heart,Enum.MeshType.FileMesh,"rbxassetid://431221914","",V3.N(.5,.5,.2),V3.N())
  1390. coroutine.wrap(function()
  1391. local speed = .35
  1392. for i = 0, 6, .1 do
  1393. speed = speed - (.5/60)
  1394. Heart.CFrame = Heart.CFrame * CF.N(0,speed,0)
  1395. Heart.Transparency = math.max(1-i/3,0)
  1396. swait()
  1397. end
  1398. delay(1, function()
  1399. for i = 0, 3, .1 do
  1400. Heart.Transparency = i/3
  1401. swait()
  1402. end
  1403. Heart:destroy()
  1404. end)
  1405. end)()
  1406. Sound(Torso,270763316,1,5,false,true,true)
  1407. for i = 0, 6, 0.1 do
  1408. swait()
  1409. local Alpha = .2
  1410. Sine = Sine + 1
  1411. RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1412. LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1413. RH.C0 = clerp(RH.C0,CFrame.new(0.500000477, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1414. 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)
  1415. 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)
  1416. NK.C0 = clerp(NK.C0,CFrame.new(0, 1.49999189, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1417. end
  1418. if(owo:FindFirstChild'Kissed' and owo.Kissed:IsA'BoolValue')then
  1419. owo.Kissed.Value = false
  1420. end
  1421. WalkSpeed = 16
  1422. Hum.AutoRotate = true
  1423. local pp = torso.CFrame
  1424. 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
  1425. GrabWeld:destroy()
  1426. end
  1427.  
  1428. Attack = false
  1429. NeutralAnims = true
  1430. end
  1431.  
  1432. --// Wrap it all up \\--
  1433.  
  1434. Mouse.KeyDown:connect(function(k)
  1435. if(Attack or Huggled.Value or Kissed.Value)then return end
  1436. if(Claws)then
  1437. if(k == 'z')then ChangeStance('PatientDoggo') end
  1438. if(k == 'x')then ChangeStance('SleepyDoggo') end
  1439. if(k == 'f')then ShrinkClaws() end
  1440. else
  1441. if(k == 'z')then ChangeStance('PatientDoggo') end
  1442. if(k == 'x')then ChangeStance('SleepyDoggo') end
  1443. if(k == 'h')then AttemptHuggleOwO() end
  1444. if(k == 'k')then AttemptKissUwU() end
  1445. if(k == 'f')then GrowClaws() end
  1446. end
  1447. end)
  1448.  
  1449. while true do
  1450. swait()
  1451. Sine = Sine + Change
  1452.  
  1453.  
  1454. if(God)then
  1455. Hum.MaxHealth = 1e100
  1456. Hum.Health = 1e100
  1457. if(not Char:FindFirstChildOfClass'ForceField')then IN("ForceField",Char).Visible = false end
  1458. Hum.Name = M.RNG()*100
  1459. end
  1460.  
  1461. 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)
  1462.  
  1463. local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1)
  1464. 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")
  1465. if(not Effects or not Effects.Parent)then
  1466. Effects = IN("Model",Char)
  1467. Effects.Name = "Effects"
  1468. end
  1469. if(not Huggled.Value and not Kissed.Value)then
  1470. if(State == 'Run')then
  1471. local wsVal = 20 / (Hum.WalkSpeed/16)
  1472. local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
  1473. Change = 3
  1474. 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)
  1475. 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)
  1476. elseif(State == 'Walk')then
  1477. local wsVal = 7 / (Hum.WalkSpeed/8)
  1478. local Alpha = math.min(.3 * (Hum.WalkSpeed/8),1)
  1479. Change = .9
  1480. 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)
  1481. 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)
  1482. else
  1483. RH.C1 = RH.C1:lerp(CF.N(0,1,0),.2)
  1484. LH.C1 = LH.C1:lerp(CF.N(0,1,0),.2)
  1485. end
  1486. else
  1487. RH.C1 = RH.C1:lerp(CF.N(0,1,0),.2)
  1488. LH.C1 = LH.C1:lerp(CF.N(0,1,0),.2)
  1489. end
  1490. if(State ~= 'Idle')then
  1491. Stance = 0
  1492. end
  1493. Hum.WalkSpeed = WalkSpeed
  1494.  
  1495. if(Huggled.Value)then
  1496. WalkSpeed = 0
  1497. Change = 1
  1498. local Alpha = .2
  1499. RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1500. LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1501. RH.C0 = clerp(RH.C0,CFrame.new(0.500000477, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1502. 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)
  1503. 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)
  1504. 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)
  1505. elseif(Kissed.Value)then
  1506. WalkSpeed = 0
  1507. Change = 1
  1508. local Alpha = .2
  1509. RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1510. LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1511. RH.C0 = clerp(RH.C0,CFrame.new(0.500000477, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1512. 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)
  1513. 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)
  1514. NK.C0 = clerp(NK.C0,CFrame.new(0, 1.49999189, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1515.  
  1516. elseif(NeutralAnims)then
  1517. WalkSpeed = 16
  1518. if(State == 'Idle')then
  1519. if(Stance == 'PatientDoggo')then
  1520. local Alpha = .1
  1521. Change = .65
  1522. 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)
  1523. 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)
  1524. 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)
  1525. 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)
  1526. 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)
  1527. 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)
  1528. elseif(Stance == 'SleepyDoggo')then
  1529. local Alpha = .1
  1530. Change = .65
  1531. 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)
  1532. 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)
  1533. 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)
  1534. 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)
  1535. 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)
  1536. 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)
  1537. else
  1538. Change = 1
  1539. local Alpha = .1
  1540. RJ.C0 = RJ.C0:lerp(CF.N(0,0+.05*M.C(Sine/16),0),Alpha)
  1541. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1542. 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)
  1543. 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)
  1544. 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)
  1545. 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)
  1546. end
  1547. elseif(State == 'Run')then
  1548. local wsVal = 20 / (Hum.WalkSpeed/16)
  1549. local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
  1550. 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)
  1551. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1552. 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)
  1553. 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)
  1554. 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)
  1555. 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)
  1556. elseif(State == 'Walk')then
  1557. local wsVal = 7 / (Hum.WalkSpeed/8)
  1558. local Alpha = math.min(.3 * (Hum.WalkSpeed/8),1)
  1559. 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)
  1560. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1561. 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)
  1562. 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)
  1563. 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)
  1564. 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)
  1565. elseif(State == 'Jump')then
  1566. local Alpha = .1
  1567. Change = .5
  1568. local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90))
  1569. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(165+.25*M.C(Sine/6)),0,0),Alpha)
  1570. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(165+.25*M.C(Sine/6)),0,0),Alpha)
  1571. 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)
  1572. 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)
  1573. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  1574. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-.5)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  1575. elseif(State == 'Fall')then
  1576. local Alpha = .1
  1577. local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90))
  1578. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(165+.25*M.C(Sine/6))+idk,0,0),Alpha)
  1579. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(165+.25*M.C(Sine/6))+idk,0,0),Alpha)
  1580. 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)
  1581. 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)
  1582. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  1583. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-.5)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  1584. elseif(State == 'Paralyzed')then
  1585. -- paralyzed
  1586. elseif(State == 'Sit')then
  1587. -- sit
  1588. end
  1589. end
  1590.  
  1591. end
Add Comment
Please, Sign In to add comment