SHARE
TWEET

snow

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