aaaay63746

stop it

Sep 26th, 2020
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 48.05 KB | None | 0 0
  1.  
  2. --//Holiday Feelings//--
  3. print("Holiday Feelings")
  4. print("Made by vlad20020.")
  5. warn("This is holiday time!")
  6. print("Controls below ok")
  7. warn([[E - Hug
  8. Q - Throw snowbal
  9. F - Place a gift
  10. C - TP
  11. Z - Sit]])
  12. local plr = game:GetService("Players").LocalPlayer
  13. local plrg = plr.PlayerGui
  14. local mouse = plr:GetMouse()
  15. local char = plr.Character
  16. local h = char:FindFirstChild("Head")
  17. local t = char:FindFirstChild("Torso")
  18. local ra = char:FindFirstChild("Right Arm")
  19. local la = char:FindFirstChild("Left Arm")
  20. local rl = char:FindFirstChild("Right Leg")
  21. local ll = char:FindFirstChild("Left Leg")
  22. local rs = t:FindFirstChild("Right Shoulder")
  23. local ls = t:FindFirstChild("Left Shoulder")
  24. local rh = t:FindFirstChild("Right Hip")
  25. local lh = t:FindFirstChild("Left Hip")
  26. local nec = t.Neck
  27. local rut = char.HumanoidRootPart
  28. local rutj = rut.RootJoint
  29. local hum = char:FindFirstChildOfClass("Humanoid")
  30. local cf1 = nec.C1
  31. local cf2 = rutj.C1
  32. local cf3 = rs.C1
  33. local cf4 = ls.C1
  34. local cf5 = rh.C1
  35. local cf6 = lh.C1
  36. local cf01 = nec.C0
  37. local cf02 = rutj.C0
  38. local cf03 = rs.C0
  39. local cf04 = ls.C0
  40. local cf05 = rh.C0
  41. local cf06 = lh.C0
  42. local p0,p1 = nec.Part0,nec.Part1
  43. local rsp0,rsp1 = rs.Part0,rs.Part1
  44. local lsp0,lsp1 = ls.Part0,ls.Part1
  45. local rhp0,rhp1 = rh.Part0,rh.Part1
  46. local lhp0,lhp1 = lh.Part0,lh.Part1
  47. local aa = 10
  48. local aaa = aa*3
  49. local change = 0
  50. local lchange = 0
  51. local sine = 1
  52. local hugtime = 1
  53. local anim = "idle"
  54. local animspeed = .005
  55. local animspeed1 = 1.5
  56. local walkanimspeed = .1
  57. local walkspeed = 16
  58. local sumthin = walkspeed/8
  59. local idlenum = 0
  60. local lsvol = 2.5
  61. local whenbored = math.random(2,6)
  62. local rad = math.rad
  63. local huge = math.huge
  64. local using = false
  65. local hugging = false
  66. local lookinaround = false
  67. local aiming = false
  68. local sitting = false
  69. local furmode = false
  70. local landed = false
  71. local readytoland = false
  72. local cangrabthecorner = false
  73. local grabbedc = false
  74. local qui = Enum.EasingStyle.Quint
  75. local io = Enum.EasingDirection.InOut
  76. local tweens = game:GetService("TweenService")
  77. local debrs = game:GetService("Debris")
  78. local gifts = {"rbxassetid://5013502","rbxassetid://1237427","rbxassetid://6109471","rbxassetid://7812400","rbxassetid://19428684"}
  79. local spart
  80. local phit
  81. local cos = math.cos
  82. local sin = math.sin
  83. local tan = math.tan
  84. local ray = Ray.new
  85. local v3 = Vector3.new
  86. cff5 = cf5 * CFrame.Angles(rad(2),rad(3),rad(0))
  87. cff6 = cf6 * CFrame.Angles(rad(2),rad(-3),rad(0))
  88. if plr.UserId == 90745958 or plr.UserId == 62574108 then
  89. furmode = true
  90. end
  91. if furmode then
  92. hugtime = 2.5
  93. print("owo uwu")
  94. end
  95. local effpart = Instance.new("Part") effpart.Size = Vector3.new(2,.1,1) effpart.Massless = true effpart.Transparency = 1 effpart.CanCollide = false effpart.Anchored = false effpart.Parent = char
  96. local grabpart = Instance.new("Part") grabpart.Size = Vector3.new(.1,.1,.1) grabpart.Massless = true grabpart.Transparency = 1 grabpart.CanCollide = false grabpart.Anchored = false grabpart.Material = "Neon" grabpart.Parent = char
  97. local pweld = Instance.new("Weld",effpart) pweld.Part0 = t pweld.Part1 = effpart pweld.C0 = CFrame.new(0,-2.2,-.5)
  98. local gweld = Instance.new("Weld",grabpart) gweld.Part0 = rut gweld.Part1 = grabpart gweld.C0 = CFrame.new(0,3,-1.4)
  99. local lsound = Instance.new("Sound",effpart) lsound.Volume = lsvol lsound.SoundId = "rbxassetid://1161221108"
  100. --//ArmJointParts~//--
  101. local tpr = Instance.new("Part",t) tpr.Size = Vector3.new(.1,.1,.1) tpr.CanCollide = false tpr.Transparency = 1 tpr.Locked = true
  102. local tpl = Instance.new("Part",t) tpl.Size = Vector3.new(.1,.1,.1) tpl.CanCollide = false tpl.Transparency = 1 tpl.Locked = true
  103. local tprw = Instance.new("Weld",t) tprw.Part0 = t tprw.Part1 = tpr tprw.C0 = CFrame.new(1,.5,0)
  104. local tplw = Instance.new("Weld",t) tplw.Part0 = t tplw.Part1 = tpl tplw.C0 = CFrame.new(-1,.5,0)
  105. --
  106. local rapr = Instance.new("Part",ra) rapr.Size = Vector3.new(.1,.1,.1) rapr.CanCollide = false rapr.Transparency = 1 rapr.Locked = true
  107. local lapl = Instance.new("Part",la) lapl.Size = Vector3.new(.1,.1,.1) lapl.CanCollide = false lapl.Transparency = 1 lapl.Locked = true
  108. local raprw = Instance.new("Weld",ra) raprw.Part0 = ra raprw.Part1 = rapr raprw.C0 = CFrame.new(-.5,.5,0)
  109. local laplw = Instance.new("Weld",la) laplw.Part0 = la laplw.Part1 = lapl laplw.C0 = CFrame.new(.5,.5,0)
  110. --/JointsWelds~//--
  111. local rsw = Instance.new("Weld",ra) rsw.Part0 = tpr rsw.Part1 = nil --Right Shoulder
  112. local lsw = Instance.new("Weld",la) lsw.Part0 = tpl lsw.Part1 = nil --Left Shoulder
  113. local bil = Instance.new("BillboardGui",char) bil.Name = "ChatFunc" bil.Adornee = h bil.Size = UDim2.new(1,0,1,0) bil.StudsOffset = Vector3.new(0,2,0)
  114. local effects = Instance.new("Model",char) effects.Name = "Effects"
  115. local noanim = true
  116. if noanim then
  117. if char:WaitForChild("Animate",1.5) then
  118. char.Animate:Destroy()
  119. end
  120. for i,v in pairs(hum:GetPlayingAnimationTracks()) do
  121. v:Stop(0)
  122. v:AdjustSpeed(0)
  123. v:AdjustWeight(math.huge)
  124. v.TimePosition = 0
  125. v:Destroy()
  126. end
  127. wait()
  128. if hum:FindFirstChildOfClass("Animator") then
  129. char.Humanoid.Animator:Destroy()
  130. end
  131. end
  132. function swait(num)
  133. game:GetService("RunService").Stepped:Wait()
  134. end
  135. function remove(instanc,timee)
  136. debrs:AddItem(instanc,timee)
  137. end
  138. function dest(hit,type)
  139. if hit:IsA("Seat") or hit:IsA("VehicleSeat") then
  140. hit.Parent = nil
  141. end
  142. hit:ClearAllChildren()
  143. hit.Anchored = false hit.CanCollide = true
  144. if hit:IsA("Part") then
  145. hit.FormFactor = "Custom"
  146. end
  147. hit.Size = v3(hit.Size.x/2,hit.Size.y/2,hit.Size.z/2)
  148. hit.CFrame = hit.CFrame * CFrame.new(hit.Size.x/2,hit.Size.y/2,hit.Size.z/2)
  149. local clone = hit:Clone() clone.Parent = workspace
  150. local clone1 = hit:Clone() clone1.Parent = workspace
  151. local clone2 = hit:Clone() clone2.Parent = workspace
  152. local clone3 = hit:Clone() clone3.Parent = workspace
  153. local clone4 = hit:Clone() clone4.Parent = workspace
  154. local clone5 = hit:Clone() clone5.Parent = workspace
  155. local clone6 = hit:Clone() clone6.Parent = workspace
  156. clone.CFrame = hit.CFrame * CFrame.new(0,-hit.Size.y,0)
  157. clone1.CFrame = hit.CFrame * CFrame.new(-hit.Size.x,-hit.Size.y,0)
  158. clone2.CFrame = hit.CFrame * CFrame.new(-hit.Size.x,0,0)
  159. clone3.CFrame = hit.CFrame * CFrame.new(0,0,-hit.Size.z)
  160. clone4.CFrame = clone.CFrame * CFrame.new(0,0,-clone.Size.z)
  161. clone5.CFrame = clone1.CFrame * CFrame.new(0,0,-clone1.Size.z)
  162. clone6.CFrame = clone2.CFrame * CFrame.new(0,0,-clone2.Size.z)
  163. local parts = {hit,clone,clone1,clone2,clone3,clone4,clone5,clone6}
  164. return parts
  165. end
  166. function rayc(spos,direc,ignore,dist)
  167. local rai = ray(spos,direc.Unit * dist)
  168. local rhit,rpos,rrot = workspace:FindPartOnRayWithIgnoreList(rai,ignore,false,false)
  169. return rhit,rpos,rrot
  170. end
  171. local tlerp = function(part,tablee,leinght,easingstyle,easingdirec)
  172. pcall(function()
  173. local info = TweenInfo.new(
  174. leinght,
  175. easingstyle,
  176. easingdirec,
  177. 0,
  178. false,
  179. 0
  180. )
  181. local lerp = tweens:Create(part,info,tablee)
  182. lerp:Play()
  183. end)
  184. end
  185. function fire(partp,parent,color1,color2,ssize,osize,leinght,material,minr,maxr,shape,spread,st,ot,onlyraise)
  186. local part = Instance.new("Part",parent) part.Size = Vector3.new(ssize,ssize,ssize) part.Transparency = st part.CanCollide = false part.Anchored = true part.Shape = shape part.Material = material part.BrickColor = BrickColor.new(color1) part.CFrame = partp.CFrame * CFrame.new(partp.Size.x/math.random(-20,20),partp.Size.y/math.random(-20,20),partp.Size.z/math.random(-20,20))
  187. if onlyraise == true then
  188. part.CFrame = CFrame.new(part.CFrame.p,Vector3.new(nil,part.CFrame.y,part.CFrame.z))
  189. else
  190. end
  191. local pcf = part.CFrame
  192. tlerp(part,{CFrame = pcf * CFrame.new(math.random(-spread,spread)/math.random(2,4),math.random(minr,maxr),math.random(-spread,spread)/math.random(2,4)) * CFrame.Angles(rad(math.random(-180,180)),rad(math.random(-180,180)),rad(math.random(-180,180))),Size = Vector3.new(osize,osize,osize),Color = BrickColor.new(color2).Color,Transparency = ot},leinght,Enum.EasingStyle.Linear,Enum.EasingDirection.InOut)
  193. game:GetService("Debris"):AddItem(part,leinght)
  194. end
  195. function removewithfade(part,timebeforefade,randc)
  196. pcall(function()
  197. coroutine.resume(coroutine.create(function()
  198. wait(timebeforefade)
  199. part:BreakJoints()
  200. part.Name = "JustGoingAwayOk?"
  201. for i = 1,25 do
  202. if randc then
  203. part.BrickColor = BrickColor.Random()
  204. end
  205. part.Transparency = part.Transparency +.04
  206. wait()
  207. end
  208. part:Destroy()
  209. end))
  210. end)
  211. end
  212. function fadewithfly(part,color,randc)
  213. pcall(function()
  214. part:ClearAllChildren()
  215. part.CanCollide = false
  216. part.Anchored = false
  217. part.Massless = true
  218. part.Locked = false
  219. part.Archivable = true
  220. part.Material = "Neon"
  221. part.BrickColor = BrickColor.new(color)
  222. local vel = Instance.new("BodyVelocity")
  223. vel.MaxForce = v3(huge,huge,huge)
  224. vel.P = 10000
  225. vel.Velocity = v3(math.random(-3,3),math.random(1,3),math.random(-3,3))
  226. local avel = Instance.new("BodyAngularVelocity")
  227. avel.MaxTorque = v3(huge,huge,huge)
  228. avel.AngularVelocity = v3(math.random(-2,2),math.random(-2,2),math.random(-2,2))
  229. avel.Parent = part
  230. vel.Parent = part
  231. if randc then
  232. removewithfade(part,0,true)
  233. else
  234. removewithfade(part,0,false)
  235. end
  236. end)
  237. end
  238. function throwsb(to,power)
  239. pcall(function()
  240. local sb = Instance.new("Part")
  241. sb.Size = v3(1,1,1)
  242. sb.BrickColor = BrickColor.new("Institutional white")
  243. sb.CFrame = ra.CFrame * CFrame.new(0,-1.5,0)
  244. sb.Material = "Sand"
  245. sb.Parent = workspace
  246. sb.Shape = "Ball"
  247. sb:BreakJoints()
  248. local vel = Instance.new("BodyVelocity")
  249. vel.MaxForce = v3(huge,huge,huge)
  250. vel.Velocity = CFrame.new(sb.Position,to).LookVector * power
  251. remove(vel,.2)
  252. vel.Parent = sb
  253. sb.Touched:Connect(function(hit)
  254. if hit.Parent ~= char and hit.Parent.Parent ~= char then
  255. local shum = hit.Parent:FindFirstChildOfClass("Humanoid") or hit.Parent.Parent:FindFirstChildOfClass("Humanoid")
  256. if shum then
  257. coroutine.resume(coroutine.create(function()
  258. shum.PlatformStand = true
  259. wait(.5)
  260. shum.PlatformStand = false
  261. end))
  262. end
  263. local cf = sb.CFrame
  264. sb:Destroy()
  265. for i = 1,math.random(6,12) do
  266. local force = 5
  267. local debr = Instance.new("Part")
  268. debr.Size = v3(.2,.2,.2)
  269. debr.BrickColor = BrickColor.new("Institutional white")
  270. debr.Material = "Sand"
  271. debr.Parent = workspace
  272. debr.CFrame = cf * CFrame.new(1/math.random(-5,5),1/math.random(-5,5),1/math.random(-5,5))
  273. debr:BreakJoints()
  274. debr.Name = "SnowDedree"
  275. local mesh = Instance.new("SpecialMesh",debr)
  276. mesh.MeshType = "Sphere"
  277. mesh.Scale = v3(math.random(10,30)/10,math.random(10,30)/10,math.random(10,30)/10)
  278. local fors = Instance.new("BodyForce",debr)
  279. fors.Force = v3(math.random(-force,force),math.random(-force,force),math.random(-force,force))
  280. remove(debr,math.random(4,7))
  281. remove(fors,.05)
  282. end
  283. end
  284. end)
  285. end)
  286. end
  287. function introhat()
  288. pcall(function()
  289. using = true
  290. rsw.Part1 = rapr
  291. lsw.Part1 = lapl
  292. local hpart = Instance.new("Part",char) hpart.Size = Vector3.new(.01,.01,.01) hpart.Transparency = 0 hpart.Name = "Santa Hat"
  293. hpart.Locked = true
  294. local hmesh = Instance.new("FileMesh",hpart) hmesh.MeshId = "http://www.roblox.com/asset/?id=1090610" hmesh.TextureId = "http://www.roblox.com/asset/?id=66690053"
  295. local hweld = Instance.new("Weld",h) hweld.Part0 = ra hweld.Part1 = hpart hweld.C0 = CFrame.new(0,-1.2,0) * CFrame.Angles(rad(-120),rad(30),rad(0))
  296. tlerp(rsw,{C0 = CFrame.new(-.3,-.1,-.1) * CFrame.Angles(rad(50),rad(20),rad(-40))},.5,qui,io)
  297. tlerp(lsw,{C0 = CFrame.new(.3,-.1,-.1) * CFrame.Angles(rad(50),rad(-20),rad(40))},.5,qui,io)
  298. tlerp(hweld,{C0 = CFrame.new(0,-1.2,0) * CFrame.Angles(rad(-120),rad(-65),rad(-30))},.5,qui,io)
  299. wait(.65)
  300. tlerp(rsw,{C0 = CFrame.new(-.3,.65,-.2) * CFrame.Angles(rad(160),rad(20),rad(-30))},.7,qui,io)
  301. tlerp(lsw,{C0 = CFrame.new(.3,.65,-.2) * CFrame.Angles(rad(160),rad(-20),rad(30))},.7,qui,io)
  302. tlerp(hweld,{C0 = CFrame.new(-.3,-1.2,-.2) * CFrame.Angles(rad(-180),rad(-65),rad(-100)) * CFrame.Angles(rad(0),rad(0),rad(60))},.7,qui,io)
  303. wait(.65)
  304. tlerp(rsw,{C0 = CFrame.new(-.3,.15,0) * CFrame.Angles(rad(179),rad(20),rad(-30))},.7,qui,io)
  305. tlerp(lsw,{C0 = CFrame.new(.3,.15,0) * CFrame.Angles(rad(179),rad(-20),rad(30))},.7,qui,io)
  306. hweld.C0 = CFrame.new(-.3,-1,-.2) * CFrame.Angles(rad(-180),rad(0),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(-30)) * CFrame.Angles(rad(0),rad(-30),rad(0))
  307. wait(.6)
  308. hweld.Part0 = h
  309. hweld.C0 = CFrame.new(0,.5,0) * CFrame.Angles(rad(0),rad(-30),rad(0))
  310. tlerp(rsw,{C0 = CFrame.new(0,0,0)},1,qui,io)
  311. tlerp(lsw,{C0 = CFrame.new(0,0,0)},1,qui,io)
  312. local music = Instance.new("Sound",t) music.Name = "Song" music.SoundId = "rbxassetid://1845187266" music.Volume = 0 music.Looped = true music:Play()
  313. coroutine.resume(coroutine.create(function()
  314. for i = 1,5 do
  315. music.Volume = music.Volume +.125
  316. wait(.2)
  317. end
  318. end))
  319. spart = Instance.new("Part",char) spart.Size = Vector3.new(20,1,20) spart.CanCollide = false spart.Anchored = true spart.Massless = true spart.Transparency = 1 spart.CFrame = h.CFrame * CFrame.new(0,15,0) spart.Locked = true
  320. local emitter = Instance.new("ParticleEmitter",spart) emitter.Texture = "http://www.roblox.com/asset/?id=137831468" emitter.Size = NumberSequence.new(.2,.01) emitter.Rate = 40 emitter.Color = ColorSequence.new(Color3.new(1,1,1),Color3.new(1,1,1)) emitter.EmissionDirection = "Top" emitter.Lifetime = NumberRange.new(3) emitter.Acceleration = Vector3.new(0,-40,0) emitter.Speed = NumberRange.new(-10,10) emitter.SpreadAngle = Vector2.new(-30,30)
  321. wait(1)
  322. nec:Destroy()
  323. rs:Destroy()
  324. ls:Destroy()
  325. rh:Destroy()
  326. lh:Destroy()
  327. nec = Instance.new("Motor6D",t) nec.Part0 = p0 nec.Part1 = p1 nec.C0 = cf01
  328. rs = Instance.new("Motor6D",t) rs.Part0 = rsp0 rs.Part1 = rsp1 rs.C0 = cf03
  329. ls = Instance.new("Motor6D",t) ls.Part0 = lsp0 ls.Part1 = lsp1 ls.C0 = cf04
  330. rh = Instance.new("Motor6D",t) rh.Part0 = rhp0 rh.Part1 = rhp1 rh.C0 = cf05
  331. lh = Instance.new("Motor6D",t) lh.Part0 = lhp0 lh.Part1 = lhp1 lh.C0 = cf06
  332. rsw.Part1 = nil
  333. lsw.Part1 = nil
  334. using = false
  335. end)
  336. end
  337. function hug(who)
  338. pcall(function()
  339. if not hugging then
  340. local removerut = false
  341. hugging = true
  342. using = true
  343. local tors = who:FindFirstChild("Torso") or who:FindFirstChild("UpperTorso")
  344. local hu = who:FindFirstChildOfClass("Humanoid")
  345. hu.PlatformStand = true
  346. local weld = Instance.new("Weld",t) weld.Part0 = t weld.Part1 = tors weld.C0 = CFrame.new(0,0,-.9) * CFrame.Angles(rad(0),rad(180),rad(0))
  347. local deb = Instance.new("Glue",who) deb.Name = "Hugging"
  348. tlerp(rsw,{C0 = CFrame.new(-.3,-.2,-.45) * CFrame.Angles(rad(110),rad(0),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(-60))},.4,qui,io)
  349. tlerp(lsw,{C0 = CFrame.new(.2,-.2,-.45) * CFrame.Angles(rad(105),rad(0),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(65))},.4,qui,io)
  350. tlerp(nec,{C0 = CFrame.new(-.15,1,0) * CFrame.Angles(rad(90),rad(180),rad(0)) * CFrame.Angles(rad(0),rad(15),rad(25))},.4,qui,io)
  351. rsw.Part1 = rapr
  352. lsw.Part1 = lapl
  353. wait(hugtime)
  354. tlerp(rsw,{C0 = CFrame.new(0,0,0)},.7,qui,io)
  355. tlerp(lsw,{C0 = CFrame.new(0,0,0)},.7,qui,io)
  356. tlerp(nec,{C0 = CFrame.new(0,1,0) * CFrame.Angles(rad(90),rad(180),rad(0))},.7,qui,io)
  357. wait(.4)
  358. hu.PlatformStand = false
  359. weld:Destroy()
  360. wait(.4)
  361. rsw.Part1 = nil
  362. lsw.Part1 = nil
  363. deb:Destroy()
  364. hugging = false
  365. using = false
  366. end
  367. end)
  368. end
  369. function detect()
  370. pcall(function()
  371. coroutine.resume(coroutine.create(function()
  372. local canhug = true
  373. local fakedetect = Instance.new("Part",char) fakedetect.Size = Vector3.new(3.5,5,3.5) fakedetect.CanCollide = false fakedetect.Massless = true fakedetect.Transparency = 1 fakedetect.CFrame = t.CFrame
  374. local fdweld = Instance.new("Weld",fakedetect) fdweld.Part0 = t fdweld.Part1 = fakedetect fdweld.C0 = CFrame.new(0,0,-1)
  375. local region
  376. for i = 1,5 do
  377. if canhug then
  378. region = Region3.new(fakedetect.Position - fakedetect.Size/2,fakedetect.Position + fakedetect.Size/2)
  379. local hit = workspace:FindPartsInRegion3WithIgnoreList(region,{char},200)
  380. local characters = {}
  381. for i,v in pairs(hit) do
  382. if v.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  383. characters[v.Parent.Name] = v.Parent
  384. end
  385. end
  386. for i,v in pairs(characters) do
  387. spawn(function()
  388. fakedetect:Destroy()
  389. hug(v)
  390. canhug = false
  391. end)
  392. end
  393. end
  394. wait(.1)
  395. end
  396. if canhug then
  397. if fakedetect ~= nil then
  398. fakedetect:Destroy()
  399. end
  400. end
  401. end))
  402. end)
  403. end
  404. function placegift()
  405. pcall(function()
  406. using = true
  407. hum.WalkSpeed = 0 hum.JumpPower = 0
  408. rsw.Part1 = rapr
  409. lsw.Part1 = lapl
  410. local giftp = Instance.new("Part",char) giftp.Size = Vector3.new(1.5,1.5,1.5) giftp.Massless = true giftp.CanCollide = false giftp.Name = "Gift"
  411. local gmesh = Instance.new("FileMesh",giftp) gmesh.MeshId = "rbxassetid://1237207" gmesh.TextureId = gifts[math.random(1,#gifts)] gmesh.Scale = Vector3.new(1.5,1.5,1.5)
  412. local gweld = Instance.new("Weld",giftp) gweld.Part0 = ra gweld.Part1 = giftp gweld.C0 = CFrame.new(-.55,-1.4,0) * CFrame.Angles(rad(-60),rad(-10),rad(10))
  413. tlerp(rsw,{C0 = CFrame.new(-.3,-.3,-.3) * CFrame.Angles(rad(80),rad(0),rad(-20))},.7,qui,io)
  414. tlerp(lsw,{C0 = CFrame.new(.3,-.3,-.3) * CFrame.Angles(rad(80),rad(0),rad(20))},.7,qui,io)
  415. tlerp(nec,{C0 = CFrame.new(0,1,0) * CFrame.Angles(rad(70),rad(180),rad(0))},.7,qui,io)
  416. tlerp(rh,{C0 = CFrame.new(1,0,-.7) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(20))},.7,qui,io)
  417. tlerp(lh,{C0 = CFrame.new(-1,-1.3,-1) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(70))},.7,qui,io)
  418. tlerp(rutj,{C0 = CFrame.new(0,-1,0) * CFrame.Angles(rad(70),rad(180),rad(0))},.7,qui,io)
  419. wait(.6)
  420. local ray = Ray.new(giftp.Position - Vector3.new(0,giftp.Size.y/2,0),-giftp.CFrame.UpVector.unit * 20)
  421. local hit,pos,idk = workspace:FindPartOnRayWithIgnoreList(ray,{char,giftp},false,true)
  422. if hit ~= nil then
  423. local oy = giftp.Orientation.y
  424. local oz = giftp.Orientation.z
  425. giftp:BreakJoints()
  426. giftp.Anchored = true
  427. giftp.CanCollide = true
  428. giftp.Parent = workspace
  429. giftp.CFrame = CFrame.new(pos,pos + idk) * CFrame.Angles(rad(-90),rad(oy),rad(oz)) * CFrame.new(0,.75,0)
  430. local cdet = Instance.new("ClickDetector",giftp) cdet.MaxActivationDistance = 10
  431. spawn(function()
  432. removewithfade(giftp,30)
  433. cdet.MouseClick:Connect(function(plr)
  434. if script.ClassName == "Script" then
  435. local ids = {113328094,16924676,26419811,164207842,212641536}
  436. local requireditem = game:GetService("InsertService"):LoadAsset(ids[math.random(1,#ids)])
  437. local item = requireditem:FindFirstChildOfClass("Tool")
  438. item.Parent = plr.Backpack
  439. removewithfade(giftp,0)
  440. cdet:Destroy()
  441. else
  442. print("oof")
  443. removewithfade(giftp,0)
  444. cdet:Destroy()
  445. end
  446. end)
  447. end)
  448. else
  449. giftp:Destroy()
  450. end
  451. tlerp(rsw,{C0 = CFrame.new(0,0,0)},.7,qui,io)
  452. tlerp(lsw,{C0 = CFrame.new(0,0,0)},.7,qui,io)
  453. tlerp(nec,{C0 = CFrame.new(0,1,0) * CFrame.Angles(rad(90),rad(180),rad(0))},.7,qui,io)
  454. tlerp(rh,{C0 = CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0))},.7,qui,io)
  455. tlerp(lh,{C0 = CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0))},.7,qui,io)
  456. tlerp(rutj,{C0 = CFrame.new(0,0,0) * CFrame.Angles(rad(90),rad(180),rad(0))},.7,qui,io)
  457. wait(.6)
  458. hum.WalkSpeed = 16 hum.JumpPower = 50
  459. rsw.Part1 = nil
  460. lsw.Part1 = nil
  461. using = false
  462. end)
  463. end
  464. function huggies()
  465. pcall(function()
  466. using = true
  467. rsw.Part1 = rapr
  468. lsw.Part1 = lapl
  469. tlerp(rsw,{C0 = CFrame.new(0,0,-.5) * CFrame.Angles(rad(90),rad(0),rad(50))},.55,qui,io)
  470. tlerp(lsw,{C0 = CFrame.new(0,0,-.5) * CFrame.Angles(rad(90),rad(0),rad(-50))},.65,qui,io)
  471. wait(.35)
  472. detect()
  473. tlerp(rsw,{C0 = CFrame.new(-.3,-.2,-.45) * CFrame.Angles(rad(110),rad(0),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(-60))},.4,qui,io)
  474. tlerp(lsw,{C0 = CFrame.new(.2,-.2,-.45) * CFrame.Angles(rad(105),rad(0),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(65))},.4,qui,io)
  475. wait(.5)
  476. if not hugging then
  477. tlerp(rsw,{C0 = CFrame.new(0,0,0)},.4,qui,io)
  478. tlerp(lsw,{C0 = CFrame.new(0,0,0)},.4,qui,io)
  479. wait(.5)
  480. rsw.Part1 = nil
  481. lsw.Part1 = nil
  482. using = false
  483. end
  484. end)
  485. end
  486. function grabsb()
  487. pcall(function()
  488. using = true
  489. hum.WalkSpeed = 0
  490. hum.JumpPower = 0
  491. rsw.Part1 = rapr
  492. tlerp(rsw,{C0 = CFrame.new(0,-.4,0) * CFrame.Angles(rad(30),rad(0),rad(20))},.4,qui,io)
  493. tlerp(nec,{C0 = CFrame.new(0,1,0) * CFrame.Angles(rad(70),rad(180),rad(0))},.4,qui,io)
  494. tlerp(rh,{C0 = CFrame.new(1,.6,-.7) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(-25),rad(0),rad(20))},.4,qui,io)
  495. tlerp(lh,{C0 = CFrame.new(-1,.3,-.7) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(15),rad(0),rad(-20))},.4,qui,io)
  496. tlerp(rutj,{C0 = CFrame.new(0,-1.2,0) * CFrame.Angles(rad(60),rad(180),rad(30))},.4,qui,io)
  497. wait(.3)
  498. local hit,pos,rot = rayc(ra.Position -v3(0,1,0),-ra.CFrame.UpVector,{char},.5)
  499. if hit ~= nil and pos then
  500. local cff = CFrame.new(pos,pos+rot) * CFrame.Angles(0,rad(90),0)
  501. local snow = Instance.new("Part",char) snow.Shape = "Cylinder" snow.Transparency = 1 snow.Size = v3(.1,.1,.1) snow.Material = "Sand" snow.BrickColor = BrickColor.new("Institutional white") snow.CanCollide = false snow.Anchored = true
  502. tlerp(snow,{Size =v3(.1,2.5,2.5),Transparency = 0},.2,qui,io)
  503. snow.CFrame = cff
  504. removewithfade(snow,1)
  505. else
  506. tlerp(rsw,{C0 = CFrame.new(0,0,0)},.5,qui,io)
  507. tlerp(nec,{C0 = CFrame.new(0,1,0) * CFrame.Angles(rad(90),rad(180),rad(0))},.5,qui,io)
  508. tlerp(rh,{C0 = CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0))},.5,qui,io)
  509. tlerp(lh,{C0 = CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0))},.5,qui,io)
  510. tlerp(rutj,{C0 = CFrame.new(0,0,0) * CFrame.Angles(rad(90),rad(180),rad(0))},.5,qui,io)
  511. wait(.4)
  512. aiming = false
  513. hum.WalkSpeed = 16
  514. hum.JumpPower = 50
  515. rut.Anchored = false
  516. rsw.Part1 = nil
  517. using = false
  518. return warn("Can`t grab a snow ball.")
  519. end
  520. wait(.15)
  521. local fsb = Instance.new("Part",char) fsb.Name = "MustDestroy" fsb.Shape = "Ball" fsb.Size = v3(1,1,1) fsb.CanCollide = false fsb.BrickColor = BrickColor.new("Institutional white") fsb.Material = "Sand"
  522. local fweld = Instance.new("Weld",fsb) fweld.Part0 = ra fweld.Part1 = fsb fweld.C0 = CFrame.new(0,-1.2,0)
  523. tlerp(rsw,{C0 = CFrame.new(0,0,0) * CFrame.Angles(rad(200),rad(10),rad(-10))},.4,qui,io)
  524. tlerp(nec,{C0 = CFrame.new(0,1,0) * CFrame.Angles(rad(90),rad(180),rad(0))},.4,qui,io)
  525. tlerp(rh,{C0 = CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(-10))},.4,qui,io)
  526. tlerp(lh,{C0 = CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(10))},.4,qui,io)
  527. tlerp(rutj,{C0 = CFrame.new(0,0,0) * CFrame.Angles(rad(100),rad(180),rad(-10))},.4,qui,io)
  528. wait(.3)
  529. aiming = true
  530. repeat
  531. wait(.2)
  532. until aiming == false
  533. tlerp(rsw,{C0 = CFrame.new(0,0,0)},.5,qui,io)
  534. tlerp(nec,{C0 = CFrame.new(0,1,0) * CFrame.Angles(rad(90),rad(180),rad(0))},.5,qui,io)
  535. tlerp(rh,{C0 = CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0))},.5,qui,io)
  536. tlerp(lh,{C0 = CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0))},.5,qui,io)
  537. tlerp(rutj,{C0 = CFrame.new(0,0,0) * CFrame.Angles(rad(90),rad(180),rad(0))},.5,qui,io)
  538. wait(.4)
  539. rsw.Part1 = nil
  540. using = false
  541. end)
  542. end
  543. function land()
  544. if phit then
  545. readytoland = false
  546. landed = true
  547. hum.WalkSpeed = 1.5
  548. hum.JumpPower = 0
  549. lsound:Play()
  550. for i = 0,1,.1 do
  551. rutj.C0 = rutj.C0:Lerp(CFrame.new(0,-.5,0) * CFrame.Angles(rad(-100),rad(0),rad(180)),i)
  552. rh.C0 = rh.C0:Lerp(CFrame.new(1,-.5,-.3) * CFrame.Angles(rad(11),rad(90),rad(0)),i)
  553. lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.5,-.25) * CFrame.Angles(rad(9),rad(-90),rad(0)),i)
  554. rs.C0 = rs.C0:Lerp(CFrame.new(1,.35,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(-15),rad(0),rad(10)),i)
  555. ls.C0 = ls.C0:Lerp(CFrame.new(-1,.35,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(-15),rad(0),rad(-10)),i)
  556. nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-100),rad(0),rad(180)),i)
  557. swait()
  558. end
  559. for i = 1,math.random(6,9) do
  560. fire(effpart,workspace,tostring(phit.BrickColor),tostring(phit.BrickColor),math.random(7,13)/10,math.random(3,6)/10,math.random(4,6)/10,phit.Material,0,0,"Block",5,0,1,true)
  561. end
  562. wait(.3)
  563. landed = false
  564. hum.WalkSpeed = 16
  565. hum.JumpPower = 50
  566. end
  567. end
  568. function tsbanim()
  569. pcall(function()
  570. tlerp(nec,{C0 = CFrame.new(0,1,0) * CFrame.Angles(rad(90),rad(180),rad(0))},.2,qui,io)
  571. tlerp(rh,{C0 = CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(-10))},.2,qui,io)
  572. tlerp(lh,{C0 = CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(10))},.2,qui,io)
  573. tlerp(rutj,{C0 = CFrame.new(0,0,0) * CFrame.Angles(rad(100),rad(180),rad(10))},.2,qui,io)
  574. coroutine.resume(coroutine.create(function()
  575. for i = 0,1,.05 do
  576. rsw.C0 = rsw.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(170),rad(-10),rad(10)) * CFrame.Angles(-cos(i/aa/1.5)*rad(70),0,0),i)
  577. swait()
  578. end
  579. end))
  580. wait(.1)
  581. char:WaitForChild("MustDestroy",.5):Destroy()
  582. throwsb(mouse.Hit.p,70)
  583. aiming = false
  584. hum.WalkSpeed = 16
  585. hum.JumpPower = 50
  586. rut.Anchored = false
  587. end)
  588. end
  589. function sit()
  590. pcall(function()
  591. using = true
  592. hum.WalkSpeed = 0
  593. hum.JumpPower = 0
  594. tlerp(nec,{C0 = CFrame.new(0,1,0) * CFrame.Angles(rad(90),rad(180),rad(0))},.5,qui,io)
  595. tlerp(rutj,{C0 = CFrame.new(0,-1.1,0) * CFrame.Angles(rad(100),rad(180),rad(-20))},.5,qui,io)
  596. tlerp(rs,{C0 = CFrame.new(1,.5,0) * CFrame.Angles(rad(-10),rad(90),rad(20))},.5,qui,io)
  597. tlerp(ls,{C0 = CFrame.new(-1,.5,0) * CFrame.Angles(rad(-10),rad(-90),rad(20))},.5,qui,io)
  598. tlerp(rh,{C0 = CFrame.new(1,.1,-.4) * CFrame.Angles(rad(-20),rad(90),rad(0))},.5,qui,io)
  599. tlerp(lh,{C0 = CFrame.new(-1,-1,0) * CFrame.Angles(rad(70),rad(-90),rad(0))},.5,qui,io)
  600. wait(.35)
  601. if not furmode then
  602. tlerp(nec,{C0 = CFrame.new(0,1,0) * CFrame.Angles(rad(70),rad(180),rad(0))},.5,qui,io)
  603. tlerp(rutj,{C0 = CFrame.new(0,-1.7,0) * CFrame.Angles(rad(120),rad(180),rad(0))},.5,qui,io)
  604. tlerp(rs,{C0 = CFrame.new(1,.15,.25) * CFrame.Angles(rad(-35),rad(85),rad(0)) * CFrame.Angles(rad(-5),rad(0),rad(0))},.5,qui,io)
  605. tlerp(ls,{C0 = CFrame.new(-1,.15,.25) * CFrame.Angles(rad(-35),rad(-65),rad(0)) * CFrame.Angles(rad(-5),rad(0),rad(0))},.5,qui,io)
  606. tlerp(rh,{C0 = CFrame.new(1,-1,0) * CFrame.Angles(rad(60),rad(90),rad(0)) * CFrame.Angles(rad(-5),rad(0),rad(0))},.5,qui,io)
  607. tlerp(lh,{C0 = CFrame.new(-1,-1,0) * CFrame.Angles(rad(60),rad(-90),rad(0)) * CFrame.Angles(rad(-5),rad(0),rad(0))},.5,qui,io)
  608. else
  609. tlerp(nec,{C0 = CFrame.new(0,1,0) * CFrame.Angles(rad(-75),rad(0),rad(180))},.5,qui,io)
  610. tlerp(rutj,{C0 = CFrame.new(0,-1.6,0) * CFrame.Angles(rad(-105),rad(0),rad(180))},.5,qui,io)
  611. tlerp(rs,{C0 = CFrame.new(.5,.2,-.3) * CFrame.Angles(rad(-10),rad(95),rad(30)) * CFrame.Angles(rad(25),rad(20),rad(0))},.5,qui,io)
  612. tlerp(ls,{C0 = CFrame.new(-.5,.2,-.3) * CFrame.Angles(rad(-10),rad(-95),rad(-30)) * CFrame.Angles(rad(25),rad(-20),rad(0))},.5,qui,io)
  613. tlerp(rh,{C0 = CFrame.new(1,-1,0) * CFrame.Angles(rad(15),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(-20),rad(90))},.5,qui,io)
  614. tlerp(lh,{C0 = CFrame.new(-1,-1,0) * CFrame.Angles(rad(15),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(20),rad(-90))},.5,qui,io)
  615. end
  616. wait(.35)
  617. sitting = true
  618. end)
  619. end
  620. function getup()
  621. pcall(function()
  622. using = true
  623. sitting = true
  624. hum.WalkSpeed = 0
  625. hum.JumpPower = 0
  626. tlerp(nec,{C0 = CFrame.new(0,1,0) * CFrame.Angles(rad(90),rad(180),rad(0))},.5,qui,io)
  627. tlerp(rutj,{C0 = CFrame.new(0,-1.1,0) * CFrame.Angles(rad(100),rad(180),rad(-20))},.5,qui,io)
  628. tlerp(rs,{C0 = CFrame.new(1,.5,0) * CFrame.Angles(rad(-10),rad(90),rad(20))},.5,qui,io)
  629. tlerp(ls,{C0 = CFrame.new(-1,.5,0) * CFrame.Angles(rad(-10),rad(-90),rad(20))},.5,qui,io)
  630. tlerp(rh,{C0 = CFrame.new(1,.1,-.4) * CFrame.Angles(rad(-20),rad(90),rad(0))},.5,qui,io)
  631. tlerp(lh,{C0 = CFrame.new(-1,-1,0) * CFrame.Angles(rad(70),rad(-90),rad(0))},.5,qui,io)
  632. wait(.35)
  633. tlerp(nec,{C0 = CFrame.new(0,1,0) * CFrame.Angles(rad(90),rad(180),rad(0))},.5,qui,io)
  634. tlerp(rutj,{C0 = CFrame.new(0,0,0) * CFrame.Angles(rad(90),rad(180),rad(0))},.5,qui,io)
  635. tlerp(rs,{C0 = CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(0))},.5,qui,io)
  636. tlerp(ls,{C0 = CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0))},.5,qui,io)
  637. tlerp(rh,{C0 = CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0))},.5,qui,io)
  638. tlerp(lh,{C0 = CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0))},.5,qui,io)
  639. wait(.35)
  640. using = false
  641. sitting = false
  642. hum.WalkSpeed = 16
  643. hum.JumpPower = 50
  644. end)
  645. end
  646. function tp()
  647. pcall(function()
  648. using = true
  649. hum.WalkSpeed = 0
  650. hum.JumpPower = 0
  651. rut.Anchored = true
  652. local hit,pos,rot = rayc(rut.Position -v3(0,1,0),-rut.CFrame.UpVector,{char},30)
  653. local hit1,pos1,rot1 = rayc(mouse.Hit.p+v3(0,.7,0),-rut.CFrame.UpVector,{char},10)
  654. if hit ~= nil and pos and hit1 then
  655. local cff = CFrame.new(pos,pos+rot) * CFrame.Angles(0,rad(90),0)
  656. local snow = Instance.new("Part",char) snow.Shape = "Cylinder" snow.Transparency = 1 snow.Size = v3(.1,.1,.1) snow.Material = "Sand" snow.BrickColor = BrickColor.new("Institutional white") snow.CanCollide = false snow.Anchored = true
  657. tlerp(snow,{Size =v3(.1,7.5,7.5),Transparency = 0},.2,qui,io)
  658. snow.CFrame = cff
  659. wait(.1)
  660. tlerp(rut,{CFrame = CFrame.new(pos) * CFrame.new(0,-5,0)},.3,qui,io)
  661. wait(.2)
  662. removewithfade(snow,1)
  663. else
  664. tlerp(rsw,{C0 = CFrame.new(0,0,0)},.5,qui,io)
  665. tlerp(nec,{C0 = CFrame.new(0,1,0) * CFrame.Angles(rad(90),rad(180),rad(0))},.5,qui,io)
  666. tlerp(rh,{C0 = CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0))},.5,qui,io)
  667. tlerp(lh,{C0 = CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0))},.5,qui,io)
  668. tlerp(rutj,{C0 = CFrame.new(0,0,0) * CFrame.Angles(rad(90),rad(180),rad(0))},.5,qui,io)
  669. wait(.4)
  670. aiming = false
  671. hum.WalkSpeed = 16
  672. hum.JumpPower = 50
  673. rut.Anchored = false
  674. rsw.Part1 = nil
  675. using = false
  676. return warn("Can`t teleport.")
  677. end
  678. local sn
  679. if hit1 ~= nil and pos1 then
  680. local cff = CFrame.new(pos1,pos1+rot1) * CFrame.Angles(0,rad(90),0)
  681. local snow = Instance.new("Part",char) snow.Shape = "Cylinder" snow.Transparency = 1 snow.Size = v3(.1,.1,.1) snow.Material = "Sand" snow.BrickColor = BrickColor.new("Institutional white") snow.CanCollide = false snow.Anchored = true
  682. tlerp(snow,{Size =v3(.1,7.5,7.5),Transparency = 0},.2,qui,io)
  683. snow.CFrame = cff
  684. sn = snow
  685. removewithfade(snow,1)
  686. else
  687. tlerp(rsw,{C0 = CFrame.new(0,0,0)},.5,qui,io)
  688. tlerp(nec,{C0 = CFrame.new(0,1,0) * CFrame.Angles(rad(90),rad(180),rad(0))},.5,qui,io)
  689. tlerp(rh,{C0 = CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0))},.5,qui,io)
  690. tlerp(lh,{C0 = CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0))},.5,qui,io)
  691. tlerp(rutj,{C0 = CFrame.new(0,0,0) * CFrame.Angles(rad(90),rad(180),rad(0))},.5,qui,io)
  692. wait(.4)
  693. aiming = false
  694. hum.WalkSpeed = 16
  695. hum.JumpPower = 50
  696. rut.Anchored = false
  697. rsw.Part1 = nil
  698. using = false
  699. return warn("Can`t teleport.")
  700. end
  701. if sn.Orientation.z ~= 90 then
  702. rut.CFrame = sn.CFrame * CFrame.new(-3,0,0)
  703. rut.CFrame = CFrame.new(rut.Position,sn.Position)
  704. tlerp(rut,{CFrame = rut.CFrame * CFrame.new(0,0,-5)},.3,qui,io)
  705. else
  706. rut.CFrame = sn.CFrame * CFrame.new(-3,0,0)
  707. rut.CFrame = CFrame.new(rut.Position,v3(nil,sn.CFrame.y,sn.CFrame.z))
  708. tlerp(rut,{CFrame = rut.CFrame * CFrame.new(0,5,0)},.3,qui,io)
  709. end
  710. wait(.2)
  711. rut.CFrame = CFrame.new(rut.Position,Vector3.new(nil,rut.CFrame.y,-rut.CFrame.z))
  712. rut.Anchored = false
  713. hum.WalkSpeed = 16
  714. hum.JumpPower = 50
  715. using = false
  716. end)
  717. end
  718. function candybag()
  719. pcall(function()
  720. using = true
  721. rsw.Part1 = rapr
  722. lsw.Part1 = lapl
  723. local bag = Instance.new("Part",char) bag.Locked = true bag.Size = v3(.1,.1,.1) bag.CanCollide = false bag:BreakJoints()
  724. local bmesh = Instance.new("FileMesh",bag) bmesh.MeshId = "rbxassetid://25921854" bmesh.Scale = v3(3.5,3.5,3.5) bmesh.TextureId = "rbxassetid://36938238" bmesh.Offset = v3(0,-.6,0)
  725. local weld = Instance.new("Weld",bag) weld.Part0 = ra weld.Part1 = bag weld.C0 = CFrame.new(0,-1,0)
  726. tlerp(rsw,{C0 = CFrame.new(0,0,0)},.5,qui,io)
  727. tlerp(lsw,{C0 = CFrame.new(0,0,0)},.5,qui,io)
  728. tlerp(nec,{C0 = CFrame.new(0,1,0) * CFrame.Angles(rad(90),rad(180),rad(0))},.5,qui,io)
  729. tlerp(rh,{C0 = CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0))},.5,qui,io)
  730. tlerp(lh,{C0 = CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0))},.5,qui,io)
  731. tlerp(rutj,{C0 = CFrame.new(0,0,0) * CFrame.Angles(rad(90),rad(180),rad(0))},.5,qui,io)
  732. wait(.4)
  733. tlerp(rsw,{C0 = CFrame.new(0,0,0)},.5,qui,io)
  734. tlerp(lsw,{C0 = CFrame.new(0,0,0)},.5,qui,io)
  735. tlerp(nec,{C0 = CFrame.new(0,1,0) * CFrame.Angles(rad(90),rad(180),rad(0))},.5,qui,io)
  736. tlerp(rh,{C0 = CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0))},.5,qui,io)
  737. tlerp(lh,{C0 = CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0))},.5,qui,io)
  738. tlerp(rutj,{C0 = CFrame.new(0,0,0) * CFrame.Angles(rad(90),rad(180),rad(0))},.5,qui,io)
  739. wait(.4)
  740. rsw.Part1 = nil
  741. lsw.Part1 = nil
  742. using = false
  743. end)
  744. end
  745. function saddeath(who)
  746. for i,v in pairs(who:GetDescendants()) do
  747. coroutine.resume(coroutine.create(function()
  748. if v:IsA("Shirt") or v:IsA("Pants") or v:IsA("ForceField") or v:IsA("CharacterMesh") then
  749. v:Destroy()
  750. end
  751. end))
  752. if v:IsA("Part") or v:IsA("MeshPart") then
  753. fadewithfly(v,"White",false)
  754. end
  755. end
  756. end
  757.  
  758. mouse.KeyDown:Connect(function(key)
  759. pcall(function()
  760. if key == "e" and not using then
  761. huggies()
  762. end
  763. if key == "f" and not using then
  764. placegift()
  765. end
  766. if key == "q" and not using then
  767. grabsb()
  768. end
  769. if key == "z" and not using and not sitting then
  770. sit()
  771. elseif key == "z" and using and sitting then
  772. getup()
  773. end
  774. if key == "c" and not using then
  775. tp()
  776. end
  777. if key == "r"and not using then
  778. --candybag()
  779. end
  780. end)
  781. end)
  782. mouse.Button1Down:Connect(function()
  783. if aiming then
  784. tsbanim()
  785. end
  786. end)
  787. hum.Died:Connect(function()
  788. saddeath(char)
  789. end)
  790.  
  791. local anims = coroutine.wrap(function()
  792. while hum.Health > .001 do
  793. if aiming then
  794. rut.Anchored = true
  795. rut.CFrame = CFrame.new(rut.Position,v3(mouse.Hit.x,rut.CFrame.y,mouse.Hit.z))
  796. end
  797. if hum.WalkSpeed >32 then
  798. hum.WalkSpeed = 32
  799. end
  800. if not lsound.Parent then
  801. lsound = Instance.new("Sound",effpart) lsound.Volume = lsvol lsound.SoundId = "rbxassetid://1161221108"
  802. end
  803. local hit,pos,rot = rayc(rut.Position -v3(0,1,0),-rut.CFrame.UpVector,{char},2.7)
  804. local grhit,grpos,grrot = rayc(grabpart.Position,-grabpart.CFrame.UpVector,{char},1)
  805. phit = hit
  806. if not using then
  807. if grhit and grhit.Anchored == true then
  808. cangrabthecorner = true
  809. else
  810. cangrabthecorner = false
  811. end
  812. end
  813. if cangrabthecorner and not grabbedc then
  814. local shit,spos,srot = rayc(rut.Position+Vector3.new(0,2.5,0),rut.CFrame.LookVector,{char},1.5)
  815. if shit then
  816. grabbedc = true
  817. local cf = CFrame.new(spos,spos+srot) * CFrame.Angles(rad(0),rad(180),0) * CFrame.new(0,-2,.7)
  818. using = true
  819. cangrabthecorner = false
  820. rut.Anchored = true
  821. local oldws = hum.WalkSpeed
  822. hum.WalkSpeed = 0
  823. hum.JumpPower = 0
  824. rut.CFrame = cf
  825. local curcf = rut.CFrame
  826. for i = 0,1,.1 do
  827. rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),animspeed*50)
  828. rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0)),animspeed*50)
  829. lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),animspeed*50)
  830. rs.C0 = rs.C0:Lerp(CFrame.new(.85,.8,-.2) * CFrame.Angles(rad(160),rad(90),rad(0)),animspeed*50)
  831. ls.C0 = ls.C0:Lerp(CFrame.new(-.85,.8,-.2) * CFrame.Angles(rad(160),rad(-90),rad(0)),animspeed*50)
  832. nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-30),rad(0),rad(180)),animspeed*50)
  833. swait()
  834. end
  835. for i = 0,.65,.025 do
  836. rut.CFrame = rut.CFrame:Lerp(curcf * CFrame.new(0,4.5,-3),i)
  837. rutj.C0 = rutj.C0:Lerp(CFrame.new(0,-.8,0) * CFrame.Angles(rad(-120),rad(0),rad(180)),i)
  838. rh.C0 = rh.C0:Lerp(CFrame.new(1,-.7,-.3) * CFrame.Angles(rad(-60),rad(90),rad(0)),i)
  839. lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.7,0) * CFrame.Angles(rad(20),rad(-90),rad(0)),i)
  840. rs.C0 = rs.C0:Lerp(CFrame.new(.85,.3,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(10)),i)
  841. ls.C0 = ls.C0:Lerp(CFrame.new(-.85,.3,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(10)),i)
  842. nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-80),rad(0),rad(180)),i)
  843. swait()
  844. end
  845. hum.WalkSpeed = oldws
  846. hum.JumpPower = 50
  847. rut.Anchored = false
  848. t.Anchored = false
  849. using = false
  850. grabbedc = false
  851. end
  852. end
  853. walkspeed = hum.WalkSpeed
  854. sumthin = walkspeed/8
  855. animspeed1 = 1.5/sumthin
  856. change = change +sine
  857. if lookinaround then
  858. lchange = lchange +sine
  859. else
  860. lchange = 0
  861. end
  862. local vervel = rut.Velocity.y
  863. local tvel = (rut.Velocity * v3(1,0,1)).Magnitude
  864. local Ccf=rut.CFrame
  865. local Walktest1 = hum.MoveDirection*Ccf.LookVector
  866. local Walktest2 = hum.MoveDirection*Ccf.RightVector
  867. rotfb = Walktest1.X+Walktest1.Z
  868. rotrl = Walktest2.X+Walktest2.Z
  869. if spart then
  870. spart.CFrame = spart.CFrame:Lerp(h.CFrame * CFrame.new(0,15,0),.1)
  871. end
  872. if not hit and anim == "fall" then
  873. readytoland = true
  874. end
  875. if not landed then
  876. if readytoland and hit then
  877. land()
  878. end
  879. if not lookinaround and not sitting then
  880. if anim == "idle" and hit then
  881. --Neck
  882. nec.C1 = nec.C1:Lerp(cf1 * CFrame.new(0,0,cos(change/aa/2.5)/(2.5*10)) * CFrame.Angles(sin(change/aa/2.5)*rad(1),0,-sin(change/aa/2.5)*rad(1)),.1)
  883. --Humanoid Root Part
  884. rutj.C1 = rutj.C1:Lerp(cf2 * CFrame.new(0,cos(change/aa/2.5)/(2.5*10),cos(change/aa/2.5)/(2.5*10)) * CFrame.Angles(sin(change/aa/2.5)*rad(1),0,0),.1)
  885. --Shoulders
  886. rs.C1 = rs.C1:Lerp(cf3 * CFrame.new(-cos(change/aa/2.5)/(2.5*10),cos(change/aa/2.5)/(2.5*10),0) * CFrame.Angles(.1,0,0) * CFrame.Angles(sin(change/aa/1.5)*rad(1),sin(change/aa/2.5)*rad(1),sin(change/aa/2.5)*rad(2.5)),.1)
  887. ls.C1 = ls.C1:Lerp(cf4 * CFrame.new(cos(change/aa/2.5)/(2.5*10),cos(change/aa/2.5)/(2.5*10),0) * CFrame.Angles(.1,0,0) * CFrame.Angles(sin(change/aa/2.5)*rad(1),sin(change/aa/2.5)*rad(1),-sin(change/aa/2.5)*rad(2.5)),.1)
  888. --Hips
  889. rh.C1 = rh.C1:Lerp(cff5 * CFrame.new(cos(change/aa/2.5)/(2.5*10),-cos(change/aa/2.5)/(2.5*10),0) * CFrame.Angles(0,0,sin(change/aa/2.5)*rad(1)) * CFrame.Angles(0,0,0),.1)
  890. lh.C1 = lh.C1:Lerp(cff6 * CFrame.new(-cos(change/aa/2.5)/(2.5*10),-cos(change/aa/2.5)/(2.5*10),0) * CFrame.Angles(0,0,-sin(change/aa/2.5)*rad(1)) * CFrame.Angles(0,0,0),.1)
  891. elseif anim == "sit" then
  892. nec.C1 = nec.C1:Lerp(cf1,.1)
  893. rutj.C1 = rutj.C1:Lerp(cf2,.1)
  894. rs.C1 = rs.C1:Lerp(cf3,.1)
  895. ls.C1 = ls.C1:Lerp(cf4,.1)
  896. rh.C1 = rh.C1:Lerp(cf5,.1)
  897. lh.C1 = lh.C1:Lerp(cf6,.1)
  898. elseif anim == "jump" and not hit then
  899. nec.C1 = nec.C1:Lerp(cf1,.1)
  900. rutj.C1 = rutj.C1:Lerp(cf2,.1)
  901. rs.C1 = rs.C1:Lerp(cf3,.1)
  902. ls.C1 = ls.C1:Lerp(cf4,.1)
  903. rh.C1 = rh.C1:Lerp(cf5,.1)
  904. lh.C1 = lh.C1:Lerp(cf6,.1)
  905. elseif anim == "fall" and not hit then
  906. nec.C1 = nec.C1:Lerp(cf1,.1)
  907. rutj.C1 = rutj.C1:Lerp(cf2,.1)
  908. rs.C1 = rs.C1:Lerp(cf3,.1)
  909. ls.C1 = ls.C1:Lerp(cf4,.1)
  910. rh.C1 = rh.C1:Lerp(cf5,.1)
  911. lh.C1 = lh.C1:Lerp(cf6,.1)
  912. elseif anim == "walk" and hit then
  913. --Neck
  914. nec.C1 = nec.C1:Lerp(cf1 * CFrame.new(0,0,cos(change/aa/animspeed1)/17.5) * CFrame.Angles(-sin(change/aa/animspeed1)*rad(5),-rut.RotVelocity.y/90,rut.RotVelocity.y/60),walkanimspeed)
  915. --Humanoid Root Part
  916. rutj.C1 = rutj.C1:Lerp(cf2 * CFrame.new(0,0,cos(change/aa/animspeed1)/15) * CFrame.Angles(sin(change/aa/animspeed1)*rad(2.5*sumthin),-rut.RotVelocity.y/100,sin(change/aa/animspeed1)*rad(5*sumthin) * -rut.RotVelocity.y/100) * CFrame.Angles(-rotfb/5,rotrl/5,0),walkanimspeed)
  917. --Shoulders
  918. rs.C1 = rs.C1:Lerp(cf3 * CFrame.new(0,0,0) * CFrame.Angles(-sin(change/aa/animspeed1)*rad(3*sumthin)*rotfb,-sin(change/aa/animspeed1)*rad(10)*rotfb,0) * CFrame.Angles(sin(change/aa/animspeed1)*rad(5*sumthin)*rotrl,-sin(change/aa/animspeed1)*rad(5*sumthin)*rotrl,-sin(change/aa/animspeed1)*rad(35*sumthin)*rotfb or rotfl),walkanimspeed)
  919. ls.C1 = ls.C1:Lerp(cf4 * CFrame.new(0,0,0) * CFrame.Angles(sin(change/aa/animspeed1)*rad(3*sumthin)*rotfb,-sin(change/aa/animspeed1)*rad(10)*rotfb,0) * CFrame.Angles(sin(change/aa/animspeed1)*rad(5*sumthin)*rotrl,-sin(change/aa/animspeed1)*rad(5*sumthin)*rotrl,-sin(change/aa/animspeed1)*rad(35*sumthin)*rotfb or rotfl),walkanimspeed)
  920. --Hips
  921. rh.C1 = rh.C1:Lerp(cf5 * CFrame.new((cos(change/aa/animspeed1)/3.5)*rotfb or (cos(change/aa/animspeed1)/3.5)*rotrl,(cos(change/aa/animspeed1)/4),(cos(change/aa/animspeed1)/4)*rotrl) * CFrame.Angles(-sin(change/aa/animspeed1)*rad(15*sumthin)*rotrl,-sin(change/aa/animspeed1)*rad(15*sumthin)*rotrl,sin(change/aa/animspeed1)*rad(30*sumthin)*rotfb),walkanimspeed)
  922. lh.C1 = lh.C1:Lerp(cf6 * CFrame.new((cos(change/aa/animspeed1)/3.5)*rotfb or (cos(change/aa/animspeed1)/3.5)*rotrl,(-cos(change/aa/animspeed1)/4),(cos(change/aa/animspeed1)/4)*rotrl) * CFrame.Angles(-sin(change/aa/animspeed1)*rad(15*sumthin)*rotrl,-sin(change/aa/animspeed1)*rad(15*sumthin)*rotrl,sin(change/aa/animspeed1)*rad(30*sumthin)*rotfb),walkanimspeed)
  923. end
  924. if not grabbedc then
  925. if vervel > 1 and hum.Sit == false then
  926. anim = "jump"
  927. if not using then
  928. rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-80),rad(0),rad(180)),animspeed*50)
  929. rh.C0 = rh.C0:Lerp(CFrame.new(1,-.1,-.4) * CFrame.Angles(rad(-10),rad(85),rad(0)),animspeed*50)
  930. lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.4,-.25) * CFrame.Angles(rad(-10),rad(-85),rad(0)),animspeed*50)
  931. rs.C0 = rs.C0:Lerp(CFrame.new(1,.25,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(-40),rad(0),rad(0)),animspeed*50)
  932. ls.C0 = ls.C0:Lerp(CFrame.new(-1,.25,-0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(-40),rad(0),rad(0)),animspeed*50)
  933. nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-100),rad(0),rad(180)),animspeed*50)
  934. end
  935. elseif vervel < -1 and hum.Sit == false then
  936. anim = "fall"
  937. if not using then
  938. rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-80),rad(0),rad(180)),.00025)
  939. rh.C0 = rh.C0:Lerp(CFrame.new(1,-.1,-.4) * CFrame.Angles(rad(-10),rad(85),rad(0)),.00025)
  940. lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.55,-.25) * CFrame.Angles(rad(-10),rad(-85),rad(0)),.00025)
  941. rs.C0 = rs.C0:Lerp(CFrame.new(1,.35,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(-50),rad(0),rad(0)),.00025)
  942. ls.C0 = ls.C0:Lerp(CFrame.new(-1,.25,-0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(-50),rad(0),rad(0)),.00025)
  943. nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-110),rad(0),rad(180)),.00025)
  944. end
  945. elseif tvel < 1 and hum.Sit == false then
  946. anim = "idle"
  947. if not using then
  948. rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),animspeed*50)
  949. rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0)),animspeed*50)
  950. lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),animspeed*50)
  951. rs.C0 = rs.C0:Lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(0)),animspeed*50)
  952. ls.C0 = ls.C0:Lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),animspeed*50)
  953. nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),animspeed*50)
  954. end
  955. elseif tvel > 1 and hum.Sit == false then
  956. anim = "walk"
  957. if not using then
  958. rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-90),rad(0),rad(180)) * CFrame.Angles(rad(0*sumthin),rad(0),rad(0)),animspeed*50)
  959. rh.C0 = rh.C0:Lerp(CFrame.new(1,-.8+rotrl/4,-.15) * CFrame.Angles(rad(0),rad(90),rad(-10)) * CFrame.Angles(rad(0),rad(0),-sin(change/aa/animspeed1)*rad(10*sumthin)*rotrl) * CFrame.Angles(-rotrl/5,-rotrl/5,rotfb/5),animspeed*50)
  960. lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.8-rotrl/4,-.15) * CFrame.Angles(rad(0),rad(-90),rad(10)) * CFrame.Angles(rad(0),rad(0),-sin(change/aa/animspeed1)*rad(10*sumthin)*rotrl) * CFrame.Angles(rotrl/5,-rotrl/5,-rotfb/5),animspeed*50)
  961. rs.C0 = rs.C0:Lerp(CFrame.new(1,.5,0) * CFrame.Angles(sin(change/aa/animspeed1)*rad(10*sumthin)*rotrl,rad(90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(5*sumthin)),animspeed*50)
  962. ls.C0 = ls.C0:Lerp(CFrame.new(-1,.5,0) * CFrame.Angles(-sin(change/aa/animspeed1)*rad(10*sumthin)*rotrl,rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(-5*sumthin)),animspeed*50)
  963. nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)) * CFrame.Angles(rad(-5*sumthin),rad(0),rad(-40*rotrl)),animspeed*50)
  964. end
  965. elseif hum.Sit == true then
  966. anim = "sit"
  967. if not using then
  968. if not furmode then
  969. rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),animspeed*50)
  970. rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(90)),animspeed*50)
  971. lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(-90)),animspeed*50)
  972. rs.C0 = rs.C0:Lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(30)) * CFrame.Angles(rad(30),rad(0),rad(0)),animspeed*50)
  973. ls.C0 = ls.C0:Lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(-30)) * CFrame.Angles(rad(30),rad(0),rad(0)),animspeed*50)
  974. nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-95),rad(0),rad(180)),animspeed*50)
  975. else
  976. rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-105),rad(0),rad(180)),animspeed*50)
  977. rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(15),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(-20),rad(90)),animspeed*50)
  978. lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(15),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(20),rad(-90)),animspeed*50)
  979. rs.C0 = rs.C0:Lerp(CFrame.new(.5,.2,-.3) * CFrame.Angles(rad(-10),rad(95),rad(30)) * CFrame.Angles(rad(25),rad(20),rad(0)),animspeed*50)
  980. ls.C0 = ls.C0:Lerp(CFrame.new(-.5,.2,-.3) * CFrame.Angles(rad(-10),rad(-95),rad(-30)) * CFrame.Angles(rad(25),rad(-20),rad(0)),animspeed*50)
  981. nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-75),rad(0),rad(180)),animspeed*50)
  982. end
  983. end
  984. else
  985. nec.C1 = nec.C1:Lerp(cf1,animspeed*50)
  986. rutj.C1 = rutj.C1:Lerp(cf2,animspeed*50)
  987. rs.C1 = rs.C1:Lerp(cf3,animspeed*50)
  988. ls.C1 = ls.C1:Lerp(cf4,animspeed*50)
  989. rh.C1 = rh.C1:Lerp(cf5,animspeed*50)
  990. lh.C1 = lh.C1:Lerp(cf6,animspeed*50)
  991. end
  992. end
  993. end
  994. end
  995. if sitting then
  996. nec.C1 = nec.C1:Lerp(cf1 * CFrame.new(0,0,cos(change/aa)/(2.5*10)) * CFrame.Angles(sin(change/aa/1.5)*rad(2.5),0,-sin(change/aa/1.5)*rad(2.5)),.1)
  997. rutj.C1 = rutj.C1:Lerp(cf2,.1)
  998. rs.C1 = rs.C1:Lerp(cf3,.1)
  999. ls.C1 = ls.C1:Lerp(cf4,.1)
  1000. rh.C1 = rh.C1:Lerp(cf5,.1)
  1001. lh.C1 = lh.C1:Lerp(cf6,.1)
  1002. end
  1003. coroutine.resume(coroutine.create(function()
  1004. if not using and anim == "idle" then
  1005. if not lookinaround then
  1006. idlenum = idlenum +.005
  1007. if idlenum >= whenbored then
  1008. idlenum = 0
  1009. local oldws = hum.WalkSpeed
  1010. local oldjp = hum.JumpPower
  1011. hum.WalkSpeed = 0
  1012. hum.JumpPower = 0
  1013. rut.Anchored = true
  1014. rh.Part0 = rut
  1015. lh.Part0 = rut
  1016. using = true
  1017. lookinaround = true
  1018. wait(3)
  1019. hum.WalkSpeed = oldws
  1020. hum.JumpPower = oldjp
  1021. rut.Anchored = false
  1022. using = false
  1023. rh.Part0 = t
  1024. lh.Part0 = t
  1025. whenbored = math.random(2,6)
  1026. lookinaround = false
  1027. end
  1028. end
  1029. elseif using then
  1030. idlenum = 0
  1031. elseif anim ~= "idle" then
  1032. idlenum = 0
  1033. end
  1034. end))
  1035. if lookinaround then
  1036. --Neck
  1037. nec.C1 = nec.C1:Lerp(cf1 * CFrame.new(0,0,0) * CFrame.Angles(sin(lchange/aa/1.5)*rad(10),cos(lchange/aa/1.5)*rad(5),-sin(lchange/aa/3)*rad(40)),.1)
  1038. --Humanoid Root Part
  1039. rutj.C1 = rutj.C1:Lerp(cf2 * CFrame.new(0,0,0) * CFrame.Angles(cos(lchange/aa/1.5)*rad(5),cos(lchange/aa/1.5)*rad(5),-sin(lchange/aa/3)*rad(20)),.1)
  1040. --Shoulders
  1041. rs.C1 = rs.C1:Lerp(cf3 * CFrame.new(-cos(lchange/aa/3)/(3*10),cos(lchange/aa/3)/(3*10),0) * CFrame.Angles(.1,0,0) * CFrame.Angles(-sin(lchange/aa/3)*rad(12.5),-sin(lchange/aa/3)*rad(12.5),-sin(lchange/aa/3)*rad(15)),.1)
  1042. ls.C1 = ls.C1:Lerp(cf4 * CFrame.new(cos(lchange/aa/3)/(3*10),cos(lchange/aa/3)/(3*10),0) * CFrame.Angles(.1,0,0) * CFrame.Angles(sin(lchange/aa/3)*rad(12.5),-sin(lchange/aa/3)*rad(12.5),-sin(lchange/aa/3)*rad(15)),.1)
  1043. --Hips
  1044. rh.C1 = rh.C1:Lerp(cff5 * CFrame.new(0,0,0) * CFrame.Angles(0,0,0) * CFrame.Angles(0,0,0),.1)
  1045. lh.C1 = lh.C1:Lerp(cff6 * CFrame.new(0,0,0) * CFrame.Angles(0,0,0) * CFrame.Angles(0,0,0),.1)
  1046. end
  1047. swait()
  1048. end
  1049. end)
  1050. anims()
  1051. introhat()
Add Comment
Please, Sign In to add comment