Advertisement
Zach_script_stealer2

Late Christmas

Mar 28th, 2019
358
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,game,owner = owner,game
  3. local RealPlayer = Player
  4. do
  5. print("FE Compatibility code by Mokiros")
  6. local rp = RealPlayer
  7. script.Parent = rp.Character
  8.  
  9. --RemoteEvent for communicating
  10. local Event = Instance.new("RemoteEvent")
  11. Event.Name = "UserInput_Event"
  12.  
  13. --Fake event to make stuff like Mouse.KeyDown work
  14. local function fakeEvent()
  15. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  16. t.connect = t.Connect
  17. return t
  18. end
  19.  
  20. --Creating fake input objects with fake variables
  21. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  22. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  23. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  24. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  25. end}
  26. --Merged 2 functions into one by checking amount of arguments
  27. CAS.UnbindAction = CAS.BindAction
  28.  
  29. --This function will trigger the events that have been :Connect()'ed
  30. local function te(self,ev,...)
  31. local t = m[ev]
  32. if t and t._fakeEvent then
  33. for _,f in pairs(t.Functions) do
  34. f(...)
  35. end
  36. end
  37. end
  38. m.TrigEvent = te
  39. UIS.TrigEvent = te
  40.  
  41. Event.OnServerEvent:Connect(function(plr,io)
  42. if plr~=rp then return end
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. if not io.isMouse then
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local Mouse = Player:GetMouse()
  66. local UIS = game:GetService("UserInputService")
  67. local input = function(io,a)
  68. if a then return end
  69. --Since InputObject is a client-side instance, we create and pass table instead
  70. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  71. end
  72. UIS.InputBegan:Connect(input)
  73. UIS.InputEnded:Connect(input)
  74.  
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84.  
  85. ----Sandboxed game object that allows the usage of client-side methods and services
  86. --Real game object
  87. local _rg = game
  88.  
  89. --Metatable for fake service
  90. local fsmt = {
  91. __index = function(self,k)
  92. local s = rawget(self,"_RealService")
  93. if s then return s[k] end
  94. end,
  95. __newindex = function(self,k,v)
  96. local s = rawget(self,"_RealService")
  97. if s then s[k]=v end
  98. end,
  99. __call = function(self,...)
  100. local s = rawget(self,"_RealService")
  101. if s then return s(...) end
  102. end
  103. }
  104. local function FakeService(t,RealService)
  105. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  106. return setmetatable(t,fsmt)
  107. end
  108.  
  109. --Fake game object
  110. local g = {
  111. GetService = function(self,s)
  112. return self[s]
  113. end,
  114. Players = FakeService({
  115. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  116. },"Players"),
  117. UserInputService = FakeService(UIS,"UserInputService"),
  118. ContextActionService = FakeService(CAS,"ContextActionService"),
  119. }
  120. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  121. g.service = g.GetService
  122.  
  123. g.RunService = FakeService({
  124. RenderStepped = _rg:GetService("RunService").Heartbeat,
  125. BindToRenderStep = function(self,name,_,fun)
  126. self._btrs[name] = self.Heartbeat:Connect(fun)
  127. end,
  128. UnbindFromRenderStep = function(self,name)
  129. self._btrs[name]:Disconnect()
  130. end,
  131. },"RunService")
  132.  
  133. setmetatable(g,{
  134. __index=function(self,s)
  135. return _rg:GetService(s) or typeof(_rg[s])=="function"
  136. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  137. end,
  138. __newindex = fsmt.__newindex,
  139. __call = fsmt.__call
  140. })
  141. --Changing owner to fake player object to support owner:GetMouse()
  142. game,owner = g,g.Players.LocalPlayer
  143. end
  144. --//Holiday Feelings//--
  145. print("Holiday Feelings")
  146. print("Made by vlad20020.")
  147. warn("This is holiday time!")
  148. print("Controls below ok")
  149. warn([[E - Hug
  150. Q - Throw snowbal
  151. F - Place a gift
  152. C - TP
  153. R - Candy bag ( glitchy )
  154. Z - Sit]])
  155. local plr = game:GetService("Players").LocalPlayer
  156. local plrg = plr.PlayerGui
  157. local mouse = plr:GetMouse()
  158. local char = plr.Character
  159. local h = char:FindFirstChild("Head")
  160. local t = char:FindFirstChild("Torso")
  161. local ra = char:FindFirstChild("Right Arm")
  162. local la = char:FindFirstChild("Left Arm")
  163. local rl = char:FindFirstChild("Right Leg")
  164. local ll = char:FindFirstChild("Left Leg")
  165. local rs = t:FindFirstChild("Right Shoulder")
  166. local ls = t:FindFirstChild("Left Shoulder")
  167. local rh = t:FindFirstChild("Right Hip")
  168. local lh = t:FindFirstChild("Left Hip")
  169. local nec = t.Neck
  170. local rut = char.HumanoidRootPart
  171. local rutj = rut.RootJoint
  172. local hum = char:FindFirstChildOfClass("Humanoid")
  173. local cf1 = nec.C1
  174. local cf2 = rutj.C1
  175. local cf3 = rs.C1
  176. local cf4 = ls.C1
  177. local cf5 = rh.C1
  178. local cf6 = lh.C1
  179. local cf01 = nec.C0
  180. local cf02 = rutj.C0
  181. local cf03 = rs.C0
  182. local cf04 = ls.C0
  183. local cf05 = rh.C0
  184. local cf06 = lh.C0
  185. local p0,p1 = nec.Part0,nec.Part1
  186. local rsp0,rsp1 = rs.Part0,rs.Part1
  187. local lsp0,lsp1 = ls.Part0,ls.Part1
  188. local rhp0,rhp1 = rh.Part0,rh.Part1
  189. local lhp0,lhp1 = lh.Part0,lh.Part1
  190. local aa = 10
  191. local aaa = aa*3
  192. local change = 0
  193. local lchange = 0
  194. local sine = 1
  195. local hugtime = 1
  196. local anim = "idle"
  197. local animspeed = .005
  198. local animspeed1 = 1.5
  199. local walkanimspeed = .1
  200. local walkspeed = 30
  201. local sumthin = walkspeed/8
  202. local idlenum = 0
  203. local lsvol = 2.5
  204. local whenbored = math.random(2,6)
  205. local rad = math.rad
  206. local huge = math.huge
  207. local using = false
  208. local hugging = false
  209. local lookinaround = false
  210. local aiming = false
  211. local sitting = false
  212. local furmode = false
  213. local landed = false
  214. local readytoland = false
  215. local cangrabthecorner = false
  216. local grabbedc = false
  217. local qui = Enum.EasingStyle.Quint
  218. local io = Enum.EasingDirection.InOut
  219. local tweens = game:GetService("TweenService")
  220. local debrs = game:GetService("Debris")
  221. local gifts = {"rbxassetid://5013502","rbxassetid://1237427","rbxassetid://6109471","rbxassetid://7812400","rbxassetid://19428684"}
  222. local spart
  223. local phit
  224. local cos = math.cos
  225. local sin = math.sin
  226. local tan = math.tan
  227. local ray = Ray.new
  228. local v3 = Vector3.new
  229. cff5 = cf5 * CFrame.Angles(rad(2),rad(3),rad(0))
  230. cff6 = cf6 * CFrame.Angles(rad(2),rad(-3),rad(0))
  231. if plr.UserId == 90745958 or plr.UserId == 62574108 then
  232. furmode = true
  233. end
  234. if furmode then
  235. hugtime = 2.5
  236. print("owo uwu")
  237. end
  238. 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
  239. 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
  240. local pweld = Instance.new("Weld",effpart) pweld.Part0 = t pweld.Part1 = effpart pweld.C0 = CFrame.new(0,-2.2,-.5)
  241. local gweld = Instance.new("Weld",grabpart) gweld.Part0 = rut gweld.Part1 = grabpart gweld.C0 = CFrame.new(0,3,-1.4)
  242. local lsound = Instance.new("Sound",effpart) lsound.Volume = lsvol lsound.SoundId = "rbxassetid://1161221108"
  243. --//ArmJointParts~//--
  244. local tpr = Instance.new("Part",t) tpr.Size = Vector3.new(.1,.1,.1) tpr.CanCollide = false tpr.Transparency = 1 tpr.Locked = true
  245. local tpl = Instance.new("Part",t) tpl.Size = Vector3.new(.1,.1,.1) tpl.CanCollide = false tpl.Transparency = 1 tpl.Locked = true
  246. local tprw = Instance.new("Weld",t) tprw.Part0 = t tprw.Part1 = tpr tprw.C0 = CFrame.new(1,.5,0)
  247. local tplw = Instance.new("Weld",t) tplw.Part0 = t tplw.Part1 = tpl tplw.C0 = CFrame.new(-1,.5,0)
  248. --
  249. local rapr = Instance.new("Part",ra) rapr.Size = Vector3.new(.1,.1,.1) rapr.CanCollide = false rapr.Transparency = 1 rapr.Locked = true
  250. local lapl = Instance.new("Part",la) lapl.Size = Vector3.new(.1,.1,.1) lapl.CanCollide = false lapl.Transparency = 1 lapl.Locked = true
  251. local raprw = Instance.new("Weld",ra) raprw.Part0 = ra raprw.Part1 = rapr raprw.C0 = CFrame.new(-.5,.5,0)
  252. local laplw = Instance.new("Weld",la) laplw.Part0 = la laplw.Part1 = lapl laplw.C0 = CFrame.new(.5,.5,0)
  253. --/JointsWelds~//--
  254. local rsw = Instance.new("Weld",ra) rsw.Part0 = tpr rsw.Part1 = nil --Right Shoulder
  255. local lsw = Instance.new("Weld",la) lsw.Part0 = tpl lsw.Part1 = nil --Left Shoulder
  256. 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)
  257. local effects = Instance.new("Model",char) effects.Name = "Effects"
  258. local noanim = true
  259. if noanim then
  260. if char:WaitForChild("Animate",1.5) then
  261. char.Animate:Destroy()
  262. end
  263. for i,v in pairs(hum:GetPlayingAnimationTracks()) do
  264. v:Stop(0)
  265. v:AdjustSpeed(0)
  266. v:AdjustWeight(math.huge)
  267. v.TimePosition = 0
  268. v:Destroy()
  269. end
  270. wait()
  271. if hum:FindFirstChildOfClass("Animator") then
  272. char.Humanoid.Animator:Destroy()
  273. end
  274. end
  275. function swait(num)
  276. game:GetService("RunService").Stepped:Wait()
  277. end
  278. function remove(instanc,timee)
  279. debrs:AddItem(instanc,timee)
  280. end
  281. function dest(hit,type)
  282. if hit:IsA("Seat") or hit:IsA("VehicleSeat") then
  283. hit.Parent = nil
  284. end
  285. hit:ClearAllChildren()
  286. hit.Anchored = false hit.CanCollide = true
  287. if hit:IsA("Part") then
  288. hit.FormFactor = "Custom"
  289. end
  290. hit.Size = v3(hit.Size.x/2,hit.Size.y/2,hit.Size.z/2)
  291. hit.CFrame = hit.CFrame * CFrame.new(hit.Size.x/2,hit.Size.y/2,hit.Size.z/2)
  292. local clone = hit:Clone() clone.Parent = workspace
  293. local clone1 = hit:Clone() clone1.Parent = workspace
  294. local clone2 = hit:Clone() clone2.Parent = workspace
  295. local clone3 = hit:Clone() clone3.Parent = workspace
  296. local clone4 = hit:Clone() clone4.Parent = workspace
  297. local clone5 = hit:Clone() clone5.Parent = workspace
  298. local clone6 = hit:Clone() clone6.Parent = workspace
  299. clone.CFrame = hit.CFrame * CFrame.new(0,-hit.Size.y,0)
  300. clone1.CFrame = hit.CFrame * CFrame.new(-hit.Size.x,-hit.Size.y,0)
  301. clone2.CFrame = hit.CFrame * CFrame.new(-hit.Size.x,0,0)
  302. clone3.CFrame = hit.CFrame * CFrame.new(0,0,-hit.Size.z)
  303. clone4.CFrame = clone.CFrame * CFrame.new(0,0,-clone.Size.z)
  304. clone5.CFrame = clone1.CFrame * CFrame.new(0,0,-clone1.Size.z)
  305. clone6.CFrame = clone2.CFrame * CFrame.new(0,0,-clone2.Size.z)
  306. local parts = {hit,clone,clone1,clone2,clone3,clone4,clone5,clone6}
  307. return parts
  308. end
  309. function rayc(spos,direc,ignore,dist)
  310. local rai = ray(spos,direc.Unit * dist)
  311. local rhit,rpos,rrot = workspace:FindPartOnRayWithIgnoreList(rai,ignore,false,false)
  312. return rhit,rpos,rrot
  313. end
  314. local tlerp = function(part,tablee,leinght,easingstyle,easingdirec)
  315. pcall(function()
  316. local info = TweenInfo.new(
  317. leinght,
  318. easingstyle,
  319. easingdirec,
  320. 0,
  321. false,
  322. 0
  323. )
  324. local lerp = tweens:Create(part,info,tablee)
  325. lerp:Play()
  326. end)
  327. end
  328. function fire(partp,parent,color1,color2,ssize,osize,leinght,material,minr,maxr,shape,spread,st,ot,onlyraise)
  329. 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))
  330. if onlyraise == true then
  331. part.CFrame = CFrame.new(part.CFrame.p,Vector3.new(nil,part.CFrame.y,part.CFrame.z))
  332. else
  333. end
  334. local pcf = part.CFrame
  335. 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)
  336. game:GetService("Debris"):AddItem(part,leinght)
  337. end
  338. function removewithfade(part,timebeforefade,randc)
  339. pcall(function()
  340. coroutine.resume(coroutine.create(function()
  341. wait(timebeforefade)
  342. part:BreakJoints()
  343. part.Name = "JustGoingAwayOk?"
  344. for i = 1,25 do
  345. if randc then
  346. part.BrickColor = BrickColor.Random()
  347. end
  348. part.Transparency = part.Transparency +.04
  349. wait()
  350. end
  351. part:Destroy()
  352. end))
  353. end)
  354. end
  355. function fadewithfly(part,color,randc)
  356. pcall(function()
  357. part:ClearAllChildren()
  358. part.CanCollide = false
  359. part.Anchored = false
  360. part.Massless = true
  361. part.Locked = false
  362. part.Archivable = true
  363. part.Material = "Neon"
  364. part.BrickColor = BrickColor.new(color)
  365. local vel = Instance.new("BodyVelocity")
  366. vel.MaxForce = v3(huge,huge,huge)
  367. vel.P = 10000
  368. vel.Velocity = v3(math.random(-3,3),math.random(1,3),math.random(-3,3))
  369. local avel = Instance.new("BodyAngularVelocity")
  370. avel.MaxTorque = v3(huge,huge,huge)
  371. avel.AngularVelocity = v3(math.random(-2,2),math.random(-2,2),math.random(-2,2))
  372. avel.Parent = part
  373. vel.Parent = part
  374. if randc then
  375. removewithfade(part,0,true)
  376. else
  377. removewithfade(part,0,false)
  378. end
  379. end)
  380. end
  381. function throwsb(to,power)
  382. pcall(function()
  383. local sb = Instance.new("Part")
  384. sb.Size = v3(1,1,1)
  385. sb.BrickColor = BrickColor.new("Institutional white")
  386. sb.CFrame = ra.CFrame * CFrame.new(0,-1.5,0)
  387. sb.Material = "Sand"
  388. sb.Parent = workspace
  389. sb.Shape = "Ball"
  390. sb:BreakJoints()
  391. local vel = Instance.new("BodyVelocity")
  392. vel.MaxForce = v3(huge,huge,huge)
  393. vel.Velocity = CFrame.new(sb.Position,to).LookVector * power
  394. remove(vel,.2)
  395. vel.Parent = sb
  396. sb.Touched:Connect(function(hit)
  397. if hit.Parent ~= char and hit.Parent.Parent ~= char then
  398. local shum = hit.Parent:FindFirstChildOfClass("Humanoid") or hit.Parent.Parent:FindFirstChildOfClass("Humanoid")
  399. if shum then
  400. coroutine.resume(coroutine.create(function()
  401. shum.PlatformStand = true
  402. wait(.5)
  403. shum.PlatformStand = false
  404. end))
  405. end
  406. local cf = sb.CFrame
  407. sb:Destroy()
  408. for i = 1,math.random(6,12) do
  409. local force = 5
  410. local debr = Instance.new("Part")
  411. debr.Size = v3(.2,.2,.2)
  412. debr.BrickColor = BrickColor.new("Institutional white")
  413. debr.Material = "Sand"
  414. debr.Parent = workspace
  415. debr.CFrame = cf * CFrame.new(1/math.random(-5,5),1/math.random(-5,5),1/math.random(-5,5))
  416. debr:BreakJoints()
  417. debr.Name = "SnowDedree"
  418. local mesh = Instance.new("SpecialMesh",debr)
  419. mesh.MeshType = "Sphere"
  420. mesh.Scale = v3(math.random(10,30)/10,math.random(10,30)/10,math.random(10,30)/10)
  421. local fors = Instance.new("BodyForce",debr)
  422. fors.Force = v3(math.random(-force,force),math.random(-force,force),math.random(-force,force))
  423. remove(debr,math.random(4,7))
  424. remove(fors,.05)
  425. end
  426. end
  427. end)
  428. end)
  429. end
  430. function introhat()
  431. pcall(function()
  432. using = true
  433. rsw.Part1 = rapr
  434. lsw.Part1 = lapl
  435. local hpart = Instance.new("Part",char) hpart.Size = Vector3.new(.01,.01,.01) hpart.Transparency = 0 hpart.Name = "Santa Hat"
  436. hpart.Locked = true
  437. local hmesh = Instance.new("FileMesh",hpart) hmesh.MeshId = "http://www.roblox.com/asset/?id=1090610" hmesh.TextureId = "http://www.roblox.com/asset/?id=66690053"
  438. 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))
  439. tlerp(rsw,{C0 = CFrame.new(-.3,-.1,-.1) * CFrame.Angles(rad(50),rad(20),rad(-40))},.5,qui,io)
  440. tlerp(lsw,{C0 = CFrame.new(.3,-.1,-.1) * CFrame.Angles(rad(50),rad(-20),rad(40))},.5,qui,io)
  441. tlerp(hweld,{C0 = CFrame.new(0,-1.2,0) * CFrame.Angles(rad(-120),rad(-65),rad(-30))},.5,qui,io)
  442. wait(.65)
  443. tlerp(rsw,{C0 = CFrame.new(-.3,.65,-.2) * CFrame.Angles(rad(160),rad(20),rad(-30))},.7,qui,io)
  444. tlerp(lsw,{C0 = CFrame.new(.3,.65,-.2) * CFrame.Angles(rad(160),rad(-20),rad(30))},.7,qui,io)
  445. 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)
  446. wait(.65)
  447. tlerp(rsw,{C0 = CFrame.new(-.3,.15,0) * CFrame.Angles(rad(179),rad(20),rad(-30))},.7,qui,io)
  448. tlerp(lsw,{C0 = CFrame.new(.3,.15,0) * CFrame.Angles(rad(179),rad(-20),rad(30))},.7,qui,io)
  449. 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))
  450. wait(.6)
  451. hweld.Part0 = h
  452. hweld.C0 = CFrame.new(0,.5,0) * CFrame.Angles(rad(0),rad(-30),rad(0))
  453. tlerp(rsw,{C0 = CFrame.new(0,0,0)},1,qui,io)
  454. tlerp(lsw,{C0 = CFrame.new(0,0,0)},1,qui,io)
  455. local music = Instance.new("Sound",t) music.Name = "Song" music.SoundId = "rbxassetid://578976235" music.Volume = 0 music.Looped = true music:Play()
  456. coroutine.resume(coroutine.create(function()
  457. for i = 1,5 do
  458. music.Volume = music.Volume +.125
  459. wait(.2)
  460. end
  461. end))
  462. 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
  463. 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)
  464. wait(1)
  465. nec:Destroy()
  466. rs:Destroy()
  467. ls:Destroy()
  468. rh:Destroy()
  469. lh:Destroy()
  470. nec = Instance.new("Motor6D",t) nec.Part0 = p0 nec.Part1 = p1 nec.C0 = cf01
  471. rs = Instance.new("Motor6D",t) rs.Part0 = rsp0 rs.Part1 = rsp1 rs.C0 = cf03
  472. ls = Instance.new("Motor6D",t) ls.Part0 = lsp0 ls.Part1 = lsp1 ls.C0 = cf04
  473. rh = Instance.new("Motor6D",t) rh.Part0 = rhp0 rh.Part1 = rhp1 rh.C0 = cf05
  474. lh = Instance.new("Motor6D",t) lh.Part0 = lhp0 lh.Part1 = lhp1 lh.C0 = cf06
  475. rsw.Part1 = nil
  476. lsw.Part1 = nil
  477. using = false
  478. end)
  479. end
  480.  
  481.  
  482.  
  483.  
  484. Player = game.Players.LocalPlayer
  485. Character = Player.Character
  486. local txt = Instance.new("BillboardGui", Character)
  487. txt.Adornee = Character.Head
  488. txt.Name = "_status"
  489. txt.Size = UDim2.new(2, 0, 1.2, 0)
  490. txt.StudsOffset = Vector3.new(-9, 8, 0)
  491. local text = Instance.new("TextLabel", txt)
  492. text.Size = UDim2.new(10, 0, 7, 0)
  493. text.FontSize = "Size24"
  494. text.TextScaled = true
  495. text.TextTransparency = 0
  496. text.BackgroundTransparency = 1
  497. text.TextTransparency = 0
  498. text.TextStrokeTransparency = 0
  499. text.Font = "Arcade"
  500. text.TextStrokeColor3 = Color3.new(0,0,0)
  501. text.Text = "Late Christmas"
  502.  
  503. function hug(who)
  504. pcall(function()
  505. if not hugging then
  506. local removerut = false
  507. hugging = true
  508. using = true
  509. local tors = who:FindFirstChild("Torso") or who:FindFirstChild("UpperTorso")
  510. local hu = who:FindFirstChildOfClass("Humanoid")
  511. hu.PlatformStand = true
  512. 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))
  513. local deb = Instance.new("Glue",who) deb.Name = "Hugging"
  514. 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)
  515. 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)
  516. 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)
  517. rsw.Part1 = rapr
  518. lsw.Part1 = lapl
  519. wait(hugtime)
  520. tlerp(rsw,{C0 = CFrame.new(0,0,0)},.7,qui,io)
  521. tlerp(lsw,{C0 = CFrame.new(0,0,0)},.7,qui,io)
  522. tlerp(nec,{C0 = CFrame.new(0,1,0) * CFrame.Angles(rad(90),rad(180),rad(0))},.7,qui,io)
  523. wait(.4)
  524. hu.PlatformStand = false
  525. weld:Destroy()
  526. wait(.4)
  527. rsw.Part1 = nil
  528. lsw.Part1 = nil
  529. deb:Destroy()
  530. hugging = false
  531. using = false
  532. end
  533. end)
  534. end
  535. function detect()
  536. pcall(function()
  537. coroutine.resume(coroutine.create(function()
  538. local canhug = true
  539. 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
  540. local fdweld = Instance.new("Weld",fakedetect) fdweld.Part0 = t fdweld.Part1 = fakedetect fdweld.C0 = CFrame.new(0,0,-1)
  541. local region
  542. for i = 1,5 do
  543. if canhug then
  544. region = Region3.new(fakedetect.Position - fakedetect.Size/2,fakedetect.Position + fakedetect.Size/2)
  545. local hit = workspace:FindPartsInRegion3WithIgnoreList(region,{char},200)
  546. local characters = {}
  547. for i,v in pairs(hit) do
  548. if v.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  549. characters[v.Parent.Name] = v.Parent
  550. end
  551. end
  552. for i,v in pairs(characters) do
  553. spawn(function()
  554. fakedetect:Destroy()
  555. hug(v)
  556. canhug = false
  557. end)
  558. end
  559. end
  560. wait(.1)
  561. end
  562. if canhug then
  563. if fakedetect ~= nil then
  564. fakedetect:Destroy()
  565. end
  566. end
  567. end))
  568. end)
  569. end
  570. function placegift()
  571. pcall(function()
  572. using = true
  573. hum.WalkSpeed = 0 hum.JumpPower = 0
  574. rsw.Part1 = rapr
  575. lsw.Part1 = lapl
  576. 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"
  577. 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)
  578. 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))
  579. tlerp(rsw,{C0 = CFrame.new(-.3,-.3,-.3) * CFrame.Angles(rad(80),rad(0),rad(-20))},.7,qui,io)
  580. tlerp(lsw,{C0 = CFrame.new(.3,-.3,-.3) * CFrame.Angles(rad(80),rad(0),rad(20))},.7,qui,io)
  581. tlerp(nec,{C0 = CFrame.new(0,1,0) * CFrame.Angles(rad(70),rad(180),rad(0))},.7,qui,io)
  582. 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)
  583. 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)
  584. tlerp(rutj,{C0 = CFrame.new(0,-1,0) * CFrame.Angles(rad(70),rad(180),rad(0))},.7,qui,io)
  585. wait(.6)
  586. local ray = Ray.new(giftp.Position - Vector3.new(0,giftp.Size.y/2,0),-giftp.CFrame.UpVector.unit * 20)
  587. local hit,pos,idk = workspace:FindPartOnRayWithIgnoreList(ray,{char,giftp},false,true)
  588. if hit ~= nil then
  589. local oy = giftp.Orientation.y
  590. local oz = giftp.Orientation.z
  591. giftp:BreakJoints()
  592. giftp.Anchored = true
  593. giftp.CanCollide = true
  594. giftp.Parent = workspace
  595. giftp.CFrame = CFrame.new(pos,pos + idk) * CFrame.Angles(rad(-90),rad(oy),rad(oz)) * CFrame.new(0,.75,0)
  596. local cdet = Instance.new("ClickDetector",giftp) cdet.MaxActivationDistance = 10
  597. spawn(function()
  598. removewithfade(giftp,30)
  599. cdet.MouseClick:Connect(function(plr)
  600. if script.ClassName == "Script" then
  601. local ids = {113328094,16924676,26419811,164207842,212641536,16726030,57902859,243790334,1609498185,24346755,223785350,212296936,15472720,20448573,24300718,12816083,15129198,22118143,32356064,73829193,69499437,93136802,139577901,159229806,94794774,99119240,108158379,136213778,18155018,16814149,12323467,16895215,37816777,16641274,17089726,24101742,24101756,24151213,24151182,28742614,74385386,22118143,84418938,95951291,93136746,77443704,380210977,70476451,11402053,15806914,18542229,47791006,47791102,16335237,51193066,31965599,28375543,33274837,65545971,13478015,23363387,12138523,12750632,10958382,60357982,21264153,40974605,57902997,14492601,12909278,31839260,88885539,50937815,59190543,12074949,10110646,12501379,16814262,10107832,90718686,108149175,101191388,158069180,241511828,116693735,532254782,116693735,78730532,13207169,53623248,15970544,32858586,32858699,65079090,87361662}
  602. local requireditem = game:GetService("InsertService"):LoadAsset(ids[math.random(1,#ids)])
  603. local item = requireditem:FindFirstChildOfClass("Tool")
  604. item.Parent = plr.Backpack
  605. removewithfade(giftp,0)
  606. cdet:Destroy()
  607. else
  608. print("oof")
  609. removewithfade(giftp,0)
  610. cdet:Destroy()
  611. end
  612. end)
  613. end)
  614. else
  615. giftp:Destroy()
  616. end
  617. tlerp(rsw,{C0 = CFrame.new(0,0,0)},.7,qui,io)
  618. tlerp(lsw,{C0 = CFrame.new(0,0,0)},.7,qui,io)
  619. tlerp(nec,{C0 = CFrame.new(0,1,0) * CFrame.Angles(rad(90),rad(180),rad(0))},.7,qui,io)
  620. tlerp(rh,{C0 = CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0))},.7,qui,io)
  621. tlerp(lh,{C0 = CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0))},.7,qui,io)
  622. tlerp(rutj,{C0 = CFrame.new(0,0,0) * CFrame.Angles(rad(90),rad(180),rad(0))},.7,qui,io)
  623. wait(.6)
  624. hum.WalkSpeed = 30 hum.JumpPower = 50
  625. rsw.Part1 = nil
  626. lsw.Part1 = nil
  627. using = false
  628. end)
  629. end
  630. function huggies()
  631. pcall(function()
  632. using = true
  633. rsw.Part1 = rapr
  634. lsw.Part1 = lapl
  635. tlerp(rsw,{C0 = CFrame.new(0,0,-.5) * CFrame.Angles(rad(90),rad(0),rad(50))},.55,qui,io)
  636. tlerp(lsw,{C0 = CFrame.new(0,0,-.5) * CFrame.Angles(rad(90),rad(0),rad(-50))},.65,qui,io)
  637. wait(.35)
  638. detect()
  639. 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)
  640. 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)
  641. wait(.5)
  642. if not hugging then
  643. tlerp(rsw,{C0 = CFrame.new(0,0,0)},.4,qui,io)
  644. tlerp(lsw,{C0 = CFrame.new(0,0,0)},.4,qui,io)
  645. wait(.5)
  646. rsw.Part1 = nil
  647. lsw.Part1 = nil
  648. using = false
  649. end
  650. end)
  651. end
  652. function grabsb()
  653. pcall(function()
  654. using = true
  655. hum.WalkSpeed = 30
  656. hum.JumpPower = 50
  657. rsw.Part1 = rapr
  658. tlerp(rsw,{C0 = CFrame.new(0,-.4,0) * CFrame.Angles(rad(30),rad(0),rad(20))},.4,qui,io)
  659. tlerp(nec,{C0 = CFrame.new(0,1,0) * CFrame.Angles(rad(70),rad(180),rad(0))},.4,qui,io)
  660. 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)
  661. 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)
  662. tlerp(rutj,{C0 = CFrame.new(0,-1.2,0) * CFrame.Angles(rad(60),rad(180),rad(30))},.4,qui,io)
  663. wait(.3)
  664. local hit,pos,rot = rayc(ra.Position -v3(0,1,0),-ra.CFrame.UpVector,{char},.5)
  665. if hit ~= nil and pos then
  666. local cff = CFrame.new(pos,pos+rot) * CFrame.Angles(0,rad(90),0)
  667. 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
  668. tlerp(snow,{Size =v3(.1,2.5,2.5),Transparency = 0},.2,qui,io)
  669. snow.CFrame = cff
  670. removewithfade(snow,1)
  671. else
  672. tlerp(rsw,{C0 = CFrame.new(0,0,0)},.5,qui,io)
  673. tlerp(nec,{C0 = CFrame.new(0,1,0) * CFrame.Angles(rad(90),rad(180),rad(0))},.5,qui,io)
  674. tlerp(rh,{C0 = CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0))},.5,qui,io)
  675. tlerp(lh,{C0 = CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0))},.5,qui,io)
  676. tlerp(rutj,{C0 = CFrame.new(0,0,0) * CFrame.Angles(rad(90),rad(180),rad(0))},.5,qui,io)
  677. wait(.4)
  678. aiming = false
  679. hum.WalkSpeed = 30
  680. hum.JumpPower = 50
  681. rut.Anchored = false
  682. rsw.Part1 = nil
  683. using = false
  684. return warn("Can`t grab a snow ball.")
  685. end
  686. wait(.15)
  687. 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"
  688. local fweld = Instance.new("Weld",fsb) fweld.Part0 = ra fweld.Part1 = fsb fweld.C0 = CFrame.new(0,-1.2,0)
  689. tlerp(rsw,{C0 = CFrame.new(0,0,0) * CFrame.Angles(rad(200),rad(10),rad(-10))},.4,qui,io)
  690. tlerp(nec,{C0 = CFrame.new(0,1,0) * CFrame.Angles(rad(90),rad(180),rad(0))},.4,qui,io)
  691. tlerp(rh,{C0 = CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(-10))},.4,qui,io)
  692. tlerp(lh,{C0 = CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(10))},.4,qui,io)
  693. tlerp(rutj,{C0 = CFrame.new(0,0,0) * CFrame.Angles(rad(100),rad(180),rad(-10))},.4,qui,io)
  694. wait(.3)
  695. aiming = true
  696. repeat
  697. wait(.2)
  698. until aiming == false
  699. tlerp(rsw,{C0 = CFrame.new(0,0,0)},.5,qui,io)
  700. tlerp(nec,{C0 = CFrame.new(0,1,0) * CFrame.Angles(rad(90),rad(180),rad(0))},.5,qui,io)
  701. tlerp(rh,{C0 = CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0))},.5,qui,io)
  702. tlerp(lh,{C0 = CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0))},.5,qui,io)
  703. tlerp(rutj,{C0 = CFrame.new(0,0,0) * CFrame.Angles(rad(90),rad(180),rad(0))},.5,qui,io)
  704. wait(.4)
  705. rsw.Part1 = nil
  706. using = false
  707. end)
  708. end
  709. function land()
  710. if phit then
  711. readytoland = false
  712. landed = true
  713. hum.WalkSpeed = 1.5
  714. hum.JumpPower = 0
  715. lsound:Play()
  716. for i = 0,1,.1 do
  717. rutj.C0 = rutj.C0:Lerp(CFrame.new(0,-.5,0) * CFrame.Angles(rad(-100),rad(0),rad(180)),i)
  718. rh.C0 = rh.C0:Lerp(CFrame.new(1,-.5,-.3) * CFrame.Angles(rad(11),rad(90),rad(0)),i)
  719. lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.5,-.25) * CFrame.Angles(rad(9),rad(-90),rad(0)),i)
  720. 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)
  721. 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)
  722. nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-100),rad(0),rad(180)),i)
  723. swait()
  724. end
  725. for i = 1,math.random(6,9) do
  726. 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)
  727. end
  728. wait(.3)
  729. landed = false
  730. hum.WalkSpeed = 30
  731. hum.JumpPower = 50
  732. end
  733. end
  734. function tsbanim()
  735. pcall(function()
  736. tlerp(nec,{C0 = CFrame.new(0,1,0) * CFrame.Angles(rad(90),rad(180),rad(0))},.2,qui,io)
  737. tlerp(rh,{C0 = CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(-10))},.2,qui,io)
  738. tlerp(lh,{C0 = CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(10))},.2,qui,io)
  739. tlerp(rutj,{C0 = CFrame.new(0,0,0) * CFrame.Angles(rad(100),rad(180),rad(10))},.2,qui,io)
  740. coroutine.resume(coroutine.create(function()
  741. for i = 0,1,.05 do
  742. 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)
  743. swait()
  744. end
  745. end))
  746. wait(.1)
  747. char:WaitForChild("MustDestroy",.5):Destroy()
  748. throwsb(mouse.Hit.p,70)
  749. aiming = false
  750. hum.WalkSpeed = 30
  751. hum.JumpPower = 50
  752. rut.Anchored = false
  753. end)
  754. end
  755. function sit()
  756. pcall(function()
  757. using = true
  758. hum.WalkSpeed = 0
  759. hum.JumpPower = 0
  760. tlerp(nec,{C0 = CFrame.new(0,1,0) * CFrame.Angles(rad(90),rad(180),rad(0))},.5,qui,io)
  761. tlerp(rutj,{C0 = CFrame.new(0,-1.1,0) * CFrame.Angles(rad(100),rad(180),rad(-20))},.5,qui,io)
  762. tlerp(rs,{C0 = CFrame.new(1,.5,0) * CFrame.Angles(rad(-10),rad(90),rad(20))},.5,qui,io)
  763. tlerp(ls,{C0 = CFrame.new(-1,.5,0) * CFrame.Angles(rad(-10),rad(-90),rad(20))},.5,qui,io)
  764. tlerp(rh,{C0 = CFrame.new(1,.1,-.4) * CFrame.Angles(rad(-20),rad(90),rad(0))},.5,qui,io)
  765. tlerp(lh,{C0 = CFrame.new(-1,-1,0) * CFrame.Angles(rad(70),rad(-90),rad(0))},.5,qui,io)
  766. wait(.35)
  767. if not furmode then
  768. tlerp(nec,{C0 = CFrame.new(0,1,0) * CFrame.Angles(rad(70),rad(180),rad(0))},.5,qui,io)
  769. tlerp(rutj,{C0 = CFrame.new(0,-1.7,0) * CFrame.Angles(rad(120),rad(180),rad(0))},.5,qui,io)
  770. 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)
  771. 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)
  772. 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)
  773. 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)
  774. else
  775. tlerp(nec,{C0 = CFrame.new(0,1,0) * CFrame.Angles(rad(-75),rad(0),rad(180))},.5,qui,io)
  776. tlerp(rutj,{C0 = CFrame.new(0,-1.6,0) * CFrame.Angles(rad(-105),rad(0),rad(180))},.5,qui,io)
  777. 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)
  778. 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)
  779. 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)
  780. 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)
  781. end
  782. wait(.35)
  783. sitting = true
  784. end)
  785. end
  786. function getup()
  787. pcall(function()
  788. using = true
  789. sitting = true
  790. hum.WalkSpeed = 0
  791. hum.JumpPower = 0
  792. tlerp(nec,{C0 = CFrame.new(0,1,0) * CFrame.Angles(rad(90),rad(180),rad(0))},.5,qui,io)
  793. tlerp(rutj,{C0 = CFrame.new(0,-1.1,0) * CFrame.Angles(rad(100),rad(180),rad(-20))},.5,qui,io)
  794. tlerp(rs,{C0 = CFrame.new(1,.5,0) * CFrame.Angles(rad(-10),rad(90),rad(20))},.5,qui,io)
  795. tlerp(ls,{C0 = CFrame.new(-1,.5,0) * CFrame.Angles(rad(-10),rad(-90),rad(20))},.5,qui,io)
  796. tlerp(rh,{C0 = CFrame.new(1,.1,-.4) * CFrame.Angles(rad(-20),rad(90),rad(0))},.5,qui,io)
  797. tlerp(lh,{C0 = CFrame.new(-1,-1,0) * CFrame.Angles(rad(70),rad(-90),rad(0))},.5,qui,io)
  798. wait(.35)
  799. tlerp(nec,{C0 = CFrame.new(0,1,0) * CFrame.Angles(rad(90),rad(180),rad(0))},.5,qui,io)
  800. tlerp(rutj,{C0 = CFrame.new(0,0,0) * CFrame.Angles(rad(90),rad(180),rad(0))},.5,qui,io)
  801. tlerp(rs,{C0 = CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(0))},.5,qui,io)
  802. tlerp(ls,{C0 = CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0))},.5,qui,io)
  803. tlerp(rh,{C0 = CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0))},.5,qui,io)
  804. tlerp(lh,{C0 = CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0))},.5,qui,io)
  805. wait(.35)
  806. using = false
  807. sitting = false
  808. hum.WalkSpeed = 30
  809. hum.JumpPower = 50
  810. end)
  811. end
  812. function tp()
  813. pcall(function()
  814. using = true
  815. hum.WalkSpeed = 0
  816. hum.JumpPower = 0
  817. rut.Anchored = true
  818. local hit,pos,rot = rayc(rut.Position -v3(0,1,0),-rut.CFrame.UpVector,{char},30)
  819. local hit1,pos1,rot1 = rayc(mouse.Hit.p+v3(0,.7,0),-rut.CFrame.UpVector,{char},10)
  820. if hit ~= nil and pos and hit1 then
  821. local cff = CFrame.new(pos,pos+rot) * CFrame.Angles(0,rad(90),0)
  822. 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
  823. tlerp(snow,{Size =v3(.1,7.5,7.5),Transparency = 0},.2,qui,io)
  824. snow.CFrame = cff
  825. wait(.1)
  826. tlerp(rut,{CFrame = CFrame.new(pos) * CFrame.new(0,-5,0)},.3,qui,io)
  827. wait(.2)
  828. removewithfade(snow,1)
  829. else
  830. tlerp(rsw,{C0 = CFrame.new(0,0,0)},.5,qui,io)
  831. tlerp(nec,{C0 = CFrame.new(0,1,0) * CFrame.Angles(rad(90),rad(180),rad(0))},.5,qui,io)
  832. tlerp(rh,{C0 = CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0))},.5,qui,io)
  833. tlerp(lh,{C0 = CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0))},.5,qui,io)
  834. tlerp(rutj,{C0 = CFrame.new(0,0,0) * CFrame.Angles(rad(90),rad(180),rad(0))},.5,qui,io)
  835. wait(.4)
  836. aiming = false
  837. hum.WalkSpeed = 30
  838. hum.JumpPower = 50
  839. rut.Anchored = false
  840. rsw.Part1 = nil
  841. using = false
  842. return warn("Can`t teleport.")
  843. end
  844. local sn
  845. if hit1 ~= nil and pos1 then
  846. local cff = CFrame.new(pos1,pos1+rot1) * CFrame.Angles(0,rad(90),0)
  847. 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
  848. tlerp(snow,{Size =v3(.1,7.5,7.5),Transparency = 0},.2,qui,io)
  849. snow.CFrame = cff
  850. sn = snow
  851. removewithfade(snow,1)
  852. else
  853. tlerp(rsw,{C0 = CFrame.new(0,0,0)},.5,qui,io)
  854. tlerp(nec,{C0 = CFrame.new(0,1,0) * CFrame.Angles(rad(90),rad(180),rad(0))},.5,qui,io)
  855. tlerp(rh,{C0 = CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0))},.5,qui,io)
  856. tlerp(lh,{C0 = CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0))},.5,qui,io)
  857. tlerp(rutj,{C0 = CFrame.new(0,0,0) * CFrame.Angles(rad(90),rad(180),rad(0))},.5,qui,io)
  858. wait(.4)
  859. aiming = false
  860. hum.WalkSpeed = 30
  861. hum.JumpPower = 50
  862. rut.Anchored = false
  863. rsw.Part1 = nil
  864. using = false
  865. return warn("Can`t teleport.")
  866. end
  867. if sn.Orientation.z ~= 90 then
  868. rut.CFrame = sn.CFrame * CFrame.new(-3,0,0)
  869. rut.CFrame = CFrame.new(rut.Position,sn.Position)
  870. tlerp(rut,{CFrame = rut.CFrame * CFrame.new(0,0,-5)},.3,qui,io)
  871. else
  872. rut.CFrame = sn.CFrame * CFrame.new(-3,0,0)
  873. rut.CFrame = CFrame.new(rut.Position,v3(nil,sn.CFrame.y,sn.CFrame.z))
  874. tlerp(rut,{CFrame = rut.CFrame * CFrame.new(0,5,0)},.3,qui,io)
  875. end
  876. wait(.2)
  877. rut.CFrame = CFrame.new(rut.Position,Vector3.new(nil,rut.CFrame.y,-rut.CFrame.z))
  878. rut.Anchored = false
  879. hum.WalkSpeed = 30
  880. hum.JumpPower = 50
  881. using = false
  882. end)
  883. end
  884. function candybag()
  885. pcall(function()
  886. using = true
  887. rsw.Part1 = rapr
  888. lsw.Part1 = lapl
  889. local bag = Instance.new("Part",char) bag.Locked = true bag.Size = v3(.1,.1,.1) bag.CanCollide = false bag:BreakJoints()
  890. 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)
  891. local weld = Instance.new("Weld",bag) weld.Part0 = ra weld.Part1 = bag weld.C0 = CFrame.new(0,-1,0)
  892. tlerp(rsw,{C0 = CFrame.new(0,0,0)},.5,qui,io)
  893. tlerp(lsw,{C0 = CFrame.new(0,0,0)},.5,qui,io)
  894. tlerp(nec,{C0 = CFrame.new(0,1,0) * CFrame.Angles(rad(90),rad(180),rad(0))},.5,qui,io)
  895. tlerp(rh,{C0 = CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0))},.5,qui,io)
  896. tlerp(lh,{C0 = CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0))},.5,qui,io)
  897. tlerp(rutj,{C0 = CFrame.new(0,0,0) * CFrame.Angles(rad(90),rad(180),rad(0))},.5,qui,io)
  898. wait(.4)
  899. tlerp(rsw,{C0 = CFrame.new(0,0,0)},.5,qui,io)
  900. tlerp(lsw,{C0 = CFrame.new(0,0,0)},.5,qui,io)
  901. tlerp(nec,{C0 = CFrame.new(0,1,0) * CFrame.Angles(rad(90),rad(180),rad(0))},.5,qui,io)
  902. tlerp(rh,{C0 = CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0))},.5,qui,io)
  903. tlerp(lh,{C0 = CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0))},.5,qui,io)
  904. tlerp(rutj,{C0 = CFrame.new(0,0,0) * CFrame.Angles(rad(90),rad(180),rad(0))},.5,qui,io)
  905. wait(.4)
  906. rsw.Part1 = nil
  907. lsw.Part1 = nil
  908. using = false
  909. end)
  910. end
  911. function saddeath(who)
  912. for i,v in pairs(who:GetDescendants()) do
  913. coroutine.resume(coroutine.create(function()
  914. if v:IsA("Shirt") or v:IsA("Pants") or v:IsA("ForceField") or v:IsA("CharacterMesh") then
  915. v:Destroy()
  916. end
  917. end))
  918. if v:IsA("Part") or v:IsA("MeshPart") then
  919. fadewithfly(v,"White",false)
  920. end
  921. end
  922. end
  923.  
  924. mouse.KeyDown:Connect(function(key)
  925. pcall(function()
  926. if key == "e" and not using then
  927. huggies()
  928. end
  929. if key == "f" and not using then
  930. placegift()
  931. end
  932. if key == "q" and not using then
  933. grabsb()
  934. end
  935. if key == "z" and not using and not sitting then
  936. sit()
  937. elseif key == "z" and using and sitting then
  938. getup()
  939. end
  940. if key == "c" and not using then
  941. tp()
  942. end
  943. if key == "r"and not using then
  944. candybag()
  945. end
  946. end)
  947. end)
  948. mouse.Button1Down:Connect(function()
  949. if aiming then
  950. tsbanim()
  951. end
  952. end)
  953. hum.Died:Connect(function()
  954. saddeath(char)
  955. end)
  956.  
  957. local anims = coroutine.wrap(function()
  958. while hum.Health > .001 do
  959. if aiming then
  960. rut.Anchored = true
  961. rut.CFrame = CFrame.new(rut.Position,v3(mouse.Hit.x,rut.CFrame.y,mouse.Hit.z))
  962. end
  963. if hum.WalkSpeed >32 then
  964. hum.WalkSpeed = 32
  965. end
  966. if not lsound.Parent then
  967. lsound = Instance.new("Sound",effpart) lsound.Volume = lsvol lsound.SoundId = "rbxassetid://1161221108"
  968. end
  969. local hit,pos,rot = rayc(rut.Position -v3(0,1,0),-rut.CFrame.UpVector,{char},2.7)
  970. local grhit,grpos,grrot = rayc(grabpart.Position,-grabpart.CFrame.UpVector,{char},1)
  971. phit = hit
  972. if not using then
  973. if grhit and grhit.Anchored == true then
  974. cangrabthecorner = true
  975. else
  976. cangrabthecorner = false
  977. end
  978. end
  979. if cangrabthecorner and not grabbedc then
  980. local shit,spos,srot = rayc(rut.Position+Vector3.new(0,2.5,0),rut.CFrame.LookVector,{char},1.5)
  981. if shit then
  982. grabbedc = true
  983. local cf = CFrame.new(spos,spos+srot) * CFrame.Angles(rad(0),rad(180),0) * CFrame.new(0,-2,.7)
  984. using = true
  985. cangrabthecorner = false
  986. rut.Anchored = true
  987. local oldws = hum.WalkSpeed
  988. hum.WalkSpeed = 0
  989. hum.JumpPower = 0
  990. rut.CFrame = cf
  991. local curcf = rut.CFrame
  992. for i = 0,1,.1 do
  993. rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),animspeed*50)
  994. rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0)),animspeed*50)
  995. lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),animspeed*50)
  996. rs.C0 = rs.C0:Lerp(CFrame.new(.85,.8,-.2) * CFrame.Angles(rad(160),rad(90),rad(0)),animspeed*50)
  997. ls.C0 = ls.C0:Lerp(CFrame.new(-.85,.8,-.2) * CFrame.Angles(rad(160),rad(-90),rad(0)),animspeed*50)
  998. nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-30),rad(0),rad(180)),animspeed*50)
  999. swait()
  1000. end
  1001. for i = 0,.65,.025 do
  1002. rut.CFrame = rut.CFrame:Lerp(curcf * CFrame.new(0,4.5,-3),i)
  1003. rutj.C0 = rutj.C0:Lerp(CFrame.new(0,-.8,0) * CFrame.Angles(rad(-120),rad(0),rad(180)),i)
  1004. rh.C0 = rh.C0:Lerp(CFrame.new(1,-.7,-.3) * CFrame.Angles(rad(-60),rad(90),rad(0)),i)
  1005. lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.7,0) * CFrame.Angles(rad(20),rad(-90),rad(0)),i)
  1006. 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)
  1007. 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)
  1008. nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-80),rad(0),rad(180)),i)
  1009. swait()
  1010. end
  1011. hum.WalkSpeed = oldws
  1012. hum.JumpPower = 50
  1013. rut.Anchored = false
  1014. t.Anchored = false
  1015. using = false
  1016. grabbedc = false
  1017. end
  1018. end
  1019. walkspeed = hum.WalkSpeed
  1020. sumthin = walkspeed/8
  1021. animspeed1 = 1.5/sumthin
  1022. change = change +sine
  1023. if lookinaround then
  1024. lchange = lchange +sine
  1025. else
  1026. lchange = 0
  1027. end
  1028. local vervel = rut.Velocity.y
  1029. local tvel = (rut.Velocity * v3(1,0,1)).Magnitude
  1030. local Ccf=rut.CFrame
  1031. local Walktest1 = hum.MoveDirection*Ccf.LookVector
  1032. local Walktest2 = hum.MoveDirection*Ccf.RightVector
  1033. rotfb = Walktest1.X+Walktest1.Z
  1034. rotrl = Walktest2.X+Walktest2.Z
  1035. if spart then
  1036. spart.CFrame = spart.CFrame:Lerp(h.CFrame * CFrame.new(0,15,0),.1)
  1037. end
  1038. if not hit and anim == "fall" then
  1039. readytoland = true
  1040. end
  1041. if not landed then
  1042. if readytoland and hit then
  1043. land()
  1044. end
  1045. if not lookinaround and not sitting then
  1046. if anim == "idle" and hit then
  1047. --Neck
  1048. 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)
  1049. --Humanoid Root Part
  1050. 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)
  1051. --Shoulders
  1052. 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)
  1053. 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)
  1054. --Hips
  1055. 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)
  1056. 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)
  1057. elseif anim == "sit" then
  1058. nec.C1 = nec.C1:Lerp(cf1,.1)
  1059. rutj.C1 = rutj.C1:Lerp(cf2,.1)
  1060. rs.C1 = rs.C1:Lerp(cf3,.1)
  1061. ls.C1 = ls.C1:Lerp(cf4,.1)
  1062. rh.C1 = rh.C1:Lerp(cf5,.1)
  1063. lh.C1 = lh.C1:Lerp(cf6,.1)
  1064. elseif anim == "jump" and not hit then
  1065. nec.C1 = nec.C1:Lerp(cf1,.1)
  1066. rutj.C1 = rutj.C1:Lerp(cf2,.1)
  1067. rs.C1 = rs.C1:Lerp(cf3,.1)
  1068. ls.C1 = ls.C1:Lerp(cf4,.1)
  1069. rh.C1 = rh.C1:Lerp(cf5,.1)
  1070. lh.C1 = lh.C1:Lerp(cf6,.1)
  1071. elseif anim == "fall" and not hit then
  1072. nec.C1 = nec.C1:Lerp(cf1,.1)
  1073. rutj.C1 = rutj.C1:Lerp(cf2,.1)
  1074. rs.C1 = rs.C1:Lerp(cf3,.1)
  1075. ls.C1 = ls.C1:Lerp(cf4,.1)
  1076. rh.C1 = rh.C1:Lerp(cf5,.1)
  1077. lh.C1 = lh.C1:Lerp(cf6,.1)
  1078. elseif anim == "walk" and hit then
  1079. --Neck
  1080. 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)
  1081. --Humanoid Root Part
  1082. 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)
  1083. --Shoulders
  1084. 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)
  1085. 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)
  1086. --Hips
  1087. 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)
  1088. 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)
  1089. end
  1090. if not grabbedc then
  1091. if vervel > 1 and hum.Sit == false then
  1092. anim = "jump"
  1093. if not using then
  1094. rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-80),rad(0),rad(180)),animspeed*50)
  1095. rh.C0 = rh.C0:Lerp(CFrame.new(1,-.1,-.4) * CFrame.Angles(rad(-10),rad(85),rad(0)),animspeed*50)
  1096. lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.4,-.25) * CFrame.Angles(rad(-10),rad(-85),rad(0)),animspeed*50)
  1097. 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)
  1098. 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)
  1099. nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-100),rad(0),rad(180)),animspeed*50)
  1100. end
  1101. elseif vervel < -1 and hum.Sit == false then
  1102. anim = "fall"
  1103. if not using then
  1104. rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-80),rad(0),rad(180)),.00025)
  1105. rh.C0 = rh.C0:Lerp(CFrame.new(1,-.1,-.4) * CFrame.Angles(rad(-10),rad(85),rad(0)),.00025)
  1106. lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.55,-.25) * CFrame.Angles(rad(-10),rad(-85),rad(0)),.00025)
  1107. 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)
  1108. 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)
  1109. nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-110),rad(0),rad(180)),.00025)
  1110. end
  1111. elseif tvel < 1 and hum.Sit == false then
  1112. anim = "idle"
  1113. if not using then
  1114. rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),animspeed*50)
  1115. rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0)),animspeed*50)
  1116. lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),animspeed*50)
  1117. rs.C0 = rs.C0:Lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(0)),animspeed*50)
  1118. ls.C0 = ls.C0:Lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),animspeed*50)
  1119. nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),animspeed*50)
  1120. end
  1121. elseif tvel > 1 and hum.Sit == false then
  1122. anim = "walk"
  1123. if not using then
  1124. 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)
  1125. 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)
  1126. 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)
  1127. 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)
  1128. 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)
  1129. 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)
  1130. end
  1131. elseif hum.Sit == true then
  1132. anim = "sit"
  1133. if not using then
  1134. if not furmode then
  1135. rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),animspeed*50)
  1136. 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)
  1137. 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)
  1138. 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)
  1139. 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)
  1140. nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-95),rad(0),rad(180)),animspeed*50)
  1141. else
  1142. rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-105),rad(0),rad(180)),animspeed*50)
  1143. 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)
  1144. 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)
  1145. 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)
  1146. 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)
  1147. nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-75),rad(0),rad(180)),animspeed*50)
  1148. end
  1149. end
  1150. else
  1151. nec.C1 = nec.C1:Lerp(cf1,animspeed*50)
  1152. rutj.C1 = rutj.C1:Lerp(cf2,animspeed*50)
  1153. rs.C1 = rs.C1:Lerp(cf3,animspeed*50)
  1154. ls.C1 = ls.C1:Lerp(cf4,animspeed*50)
  1155. rh.C1 = rh.C1:Lerp(cf5,animspeed*50)
  1156. lh.C1 = lh.C1:Lerp(cf6,animspeed*50)
  1157. end
  1158. end
  1159. end
  1160. end
  1161. if sitting then
  1162. 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)
  1163. rutj.C1 = rutj.C1:Lerp(cf2,.1)
  1164. rs.C1 = rs.C1:Lerp(cf3,.1)
  1165. ls.C1 = ls.C1:Lerp(cf4,.1)
  1166. rh.C1 = rh.C1:Lerp(cf5,.1)
  1167. lh.C1 = lh.C1:Lerp(cf6,.1)
  1168. end
  1169. coroutine.resume(coroutine.create(function()
  1170. if not using and anim == "idle" then
  1171. if not lookinaround then
  1172. idlenum = idlenum +.005
  1173. if idlenum >= whenbored then
  1174. idlenum = 0
  1175. local oldws = hum.WalkSpeed
  1176. local oldjp = hum.JumpPower
  1177. hum.WalkSpeed = 0
  1178. hum.JumpPower = 0
  1179. rut.Anchored = true
  1180. rh.Part0 = rut
  1181. lh.Part0 = rut
  1182. using = true
  1183. lookinaround = true
  1184. wait(3)
  1185. hum.WalkSpeed = oldws
  1186. hum.JumpPower = oldjp
  1187. rut.Anchored = false
  1188. using = false
  1189. rh.Part0 = t
  1190. lh.Part0 = t
  1191. whenbored = math.random(2,6)
  1192. lookinaround = false
  1193. end
  1194. end
  1195. elseif using then
  1196. idlenum = 0
  1197. elseif anim ~= "idle" then
  1198. idlenum = 0
  1199. end
  1200. end))
  1201. if lookinaround then
  1202. --Neck
  1203. 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)
  1204. --Humanoid Root Part
  1205. 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)
  1206. --Shoulders
  1207. 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)
  1208. 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)
  1209. --Hips
  1210. rh.C1 = rh.C1:Lerp(cff5 * CFrame.new(0,0,0) * CFrame.Angles(0,0,0) * CFrame.Angles(0,0,0),.1)
  1211. lh.C1 = lh.C1:Lerp(cff6 * CFrame.new(0,0,0) * CFrame.Angles(0,0,0) * CFrame.Angles(0,0,0),.1)
  1212. end
  1213. swait()
  1214. end
  1215. end)
  1216. anims()
  1217. introhat()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement