Advertisement
vL4d_4eVer

Holiday Feelings

Nov 29th, 2018
523
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 18.34 KB | None | 0 0
  1. --//Holiday Feelings//--
  2. --[[
  3. ⠀⠀⠀⠀⠀⠀⠀⠀⠀⣤⣤
  4. ⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿
  5. ⠀⠀⣶⠀⠀⣀⣤⣶⣤⣉⣿⣿⣤⣀
  6. ⠤⣤⣿⣤⣿⠿⠿⣿⣿⣿⣿⣿⣿⣿⣿⣀
  7. ⠀⠛⠿⠀⠀⠀⠀⠉⣿⣿⣿⣿⣿⠉⠛⠿⣿⣤
  8. ⠀⠀⠀⠀⠀⠀⠀⠀⠿⣿⣿⣿⠛⠀⠀⠀⣶⠿
  9. ⠀⠀⠀⠀⠀⠀⠀⠀⣀⣿⣿⣿⣿⣤⠀⣿⠿
  10. ⠀⠀⠀⠀⠀⠀⠀⣶⣿⣿⣿⣿⣿⣿⣿⣿
  11. ⠀⠀⠀⠀⠀⠀⠀⠿⣿⣿⣿⣿⣿⠿⠉⠉
  12. ⠀⠀⠀⠀⠀⠀⠀⠉⣿⣿⣿⣿⠿
  13. ⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⠉
  14. ⠀⠀⠀⠀⠀⠀⠀⠀⣛⣿⣭⣶⣀
  15. ⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⣿⣿
  16. ⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⠉⠛⣿
  17. ⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⠀⠀⣿⣿
  18. ⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣉⠀⣶⠿
  19. ⠀⠀⠀⠀⠀⠀⠀⠀⣶⣿⠿
  20. ⠀⠀⠀⠀⠀⠀⠀⠛⠿⠛
  21.  
  22. D
  23. E
  24. F
  25. A
  26. U
  27. L
  28. T
  29. ]]
  30. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  31. local Player,game,owner = owner,game
  32. local RealPlayer = Player
  33. do
  34.     print("FE Compatibility code by Mokiros")
  35.     local rp = RealPlayer
  36.     script.Parent = rp.Character
  37.    
  38.     --RemoteEvent for communicating
  39.     local Event = Instance.new("RemoteEvent")
  40.     Event.Name = "UserInput_Event"
  41.  
  42.     --Fake event to make stuff like Mouse.KeyDown work
  43.     local function fakeEvent()
  44.         local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  45.         t.connect = t.Connect
  46.         return t
  47.     end
  48.  
  49.     --Creating fake input objects with fake variables
  50.     local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  51.     local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  52.     local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  53.         CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  54.     end}
  55.     --Merged 2 functions into one by checking amount of arguments
  56.     CAS.UnbindAction = CAS.BindAction
  57.  
  58.     --This function will trigger the events that have been :Connect()'ed
  59.     local function te(self,ev,...)
  60.         local t = m[ev]
  61.         if t and t._fakeEvent then
  62.             for _,f in pairs(t.Functions) do
  63.                 f(...)
  64.             end
  65.         end
  66.     end
  67.     m.TrigEvent = te
  68.     UIS.TrigEvent = te
  69.  
  70.     Event.OnServerEvent:Connect(function(plr,io)
  71.         if plr~=rp then return end
  72.         m.Target = io.Target
  73.         m.Hit = io.Hit
  74.         if not io.isMouse then
  75.             local b = io.UserInputState == Enum.UserInputState.Begin
  76.             if io.UserInputType == Enum.UserInputType.MouseButton1 then
  77.                 return m:TrigEvent(b and "Button1Down" or "Button1Up")
  78.             end
  79.             for _,t in pairs(CAS.Actions) do
  80.                 for _,k in pairs(t.Keys) do
  81.                     if k==io.KeyCode then
  82.                         t.Function(t.Name,io.UserInputState,io)
  83.                     end
  84.                 end
  85.             end
  86.             m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  87.             UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  88.         end
  89.     end)
  90.     Event.Parent = NLS([==[
  91.     local Player = game:GetService("Players").LocalPlayer
  92.     local Event = script:WaitForChild("UserInput_Event")
  93.  
  94.     local Mouse = Player:GetMouse()
  95.     local UIS = game:GetService("UserInputService")
  96.     local input = function(io,a)
  97.         if a then return end
  98.         --Since InputObject is a client-side instance, we create and pass table instead
  99.         Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  100.     end
  101.     UIS.InputBegan:Connect(input)
  102.     UIS.InputEnded:Connect(input)
  103.  
  104.     local h,t
  105.     --Give the server mouse data 30 times every second, but only if the values changed
  106.     --If player is not moving their mouse, client won't fire events
  107.     while wait(1/30) do
  108.         if h~=Mouse.Hit or t~=Mouse.Target then
  109.             h,t=Mouse.Hit,Mouse.Target
  110.             Event:FireServer({isMouse=true,Target=t,Hit=h})
  111.         end
  112.     end]==],Player.Character)
  113.  
  114.     ----Sandboxed game object that allows the usage of client-side methods and services
  115.     --Real game object
  116.     local _rg = game
  117.  
  118.     --Metatable for fake service
  119.     local fsmt = {
  120.         __index = function(self,k)
  121.             local s = rawget(self,"_RealService")
  122.             if s then return s[k] end
  123.         end,
  124.         __newindex = function(self,k,v)
  125.             local s = rawget(self,"_RealService")
  126.             if s then s[k]=v end
  127.         end,
  128.         __call = function(self,...)
  129.             local s = rawget(self,"_RealService")
  130.             if s then return s(...) end
  131.         end
  132.     }
  133.     local function FakeService(t,RealService)
  134.         t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  135.         return setmetatable(t,fsmt)
  136.     end
  137.  
  138.     --Fake game object
  139.     local g = {
  140.         GetService = function(self,s)
  141.             return self[s]
  142.         end,
  143.         Players = FakeService({
  144.             LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  145.         },"Players"),
  146.         UserInputService = FakeService(UIS,"UserInputService"),
  147.         ContextActionService = FakeService(CAS,"ContextActionService"),
  148.     }
  149.     rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  150.     g.service = g.GetService
  151.    
  152.     g.RunService = FakeService({
  153.         RenderStepped = _rg:GetService("RunService").Heartbeat,
  154.         BindToRenderStep = function(self,name,_,fun)
  155.             self._btrs[name] = self.Heartbeat:Connect(fun)
  156.         end,
  157.         UnbindFromRenderStep = function(self,name)
  158.             self._btrs[name]:Disconnect()
  159.         end,
  160.     },"RunService")
  161.  
  162.     setmetatable(g,{
  163.         __index=function(self,s)
  164.             return _rg:GetService(s) or typeof(_rg[s])=="function"
  165.             and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  166.         end,
  167.         __newindex = fsmt.__newindex,
  168.         __call = fsmt.__call
  169.     })
  170.     --Changing owner to fake player object to support owner:GetMouse()
  171.     game,owner = g,g.Players.LocalPlayer
  172. end
  173. print("Holiday Feelings")
  174. print("Made by vlad20020.")
  175. warn("This is holiday time!")
  176. local plr = game:GetService("Players").LocalPlayer
  177. local plrg = plr.PlayerGui
  178. local mouse = plr:GetMouse()
  179. local char = plr.Character
  180. local h = char:FindFirstChild("Head")
  181. local t = char:FindFirstChild("Torso")
  182. local ra = char:FindFirstChild("Right Arm")
  183. local la = char:FindFirstChild("Left Arm")
  184. local rl = char:FindFirstChild("Right Leg")
  185. local ll = char:FindFirstChild("Left Leg")
  186. local rs = t:FindFirstChild("Right Shoulder")
  187. local ls = t:FindFirstChild("Left Shoulder")
  188. local rh = t:FindFirstChild("Right Hip")
  189. local lh = t:FindFirstChild("Left Hip")
  190. local nec = t.Neck
  191. local rut = char.HumanoidRootPart
  192. local rutj = rut.RootJoint
  193. local hum = char:FindFirstChildOfClass("Humanoid")
  194. local rad = math.rad
  195. local huge = math.huge
  196. local using = false
  197. local hugging = false
  198. local qui = Enum.EasingStyle.Quint
  199. local io = Enum.EasingDirection.InOut
  200. local tweens = game:GetService("TweenService")
  201. local gifts = {"rbxassetid://5013502","rbxassetid://1237427","rbxassetid://6109471","rbxassetid://7812400","rbxassetid://19428684"}
  202. local spart
  203. --//ArmJointParts~//--
  204. local tpr = Instance.new("Part",t) tpr.Size = Vector3.new(.1,.1,.1) tpr.CanCollide = false tpr.Transparency = 1
  205. local tpl = Instance.new("Part",t) tpl.Size = Vector3.new(.1,.1,.1) tpl.CanCollide = false tpl.Transparency = 1
  206. local tprw = Instance.new("Weld",t) tprw.Part0 = t tprw.Part1 = tpr tprw.C0 = CFrame.new(1,.5,0)
  207. local tplw = Instance.new("Weld",t) tplw.Part0 = t tplw.Part1 = tpl tplw.C0 = CFrame.new(-1,.5,0)
  208. --
  209. local rapr = Instance.new("Part",ra) rapr.Size = Vector3.new(.1,.1,.1) rapr.CanCollide = false rapr.Transparency = 1 --Right Arm
  210. local lapl = Instance.new("Part",la) lapl.Size = Vector3.new(.1,.1,.1) lapl.CanCollide = false lapl.Transparency = 1 --Left Arm
  211. local raprw = Instance.new("Weld",ra) raprw.Part0 = ra raprw.Part1 = rapr raprw.C0 = CFrame.new(-.5,.5,0)
  212. local laplw = Instance.new("Weld",la) laplw.Part0 = la laplw.Part1 = lapl laplw.C0 = CFrame.new(.5,.5,0)
  213. --/JointsWelds~//--
  214. local rsw = Instance.new("Weld",ra) rsw.Part0 = tpr rsw.Part1 = nil --Right Shoulder
  215. local lsw = Instance.new("Weld",la) lsw.Part0 = tpl lsw.Part1 = nil --Left Shoulder
  216. 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)
  217. local tlerp = function(part,tablee,leinght,easingstyle,easingdirec)
  218.     local info = TweenInfo.new(
  219.     leinght,
  220.     easingstyle,
  221.     easingdirec,
  222.     0,
  223.     false,
  224.     0
  225.     )
  226.     local lerp = tweens:Create(part,info,tablee)
  227.     lerp:Play()
  228. end
  229. function removewithfade(part,timebeforefade)
  230.     coroutine.resume(coroutine.create(function()
  231.         wait(timebeforefade)
  232.         part:BreakJoints()
  233.         for i = 1,5 do
  234.             part.Transparency = part.Transparency +.2
  235.             wait(.1)
  236.         end
  237.         wait(.5)
  238.         part:Destroy()
  239.     end))
  240. end
  241. function chat(text,tiem)
  242.     spawn(function()
  243.     coroutine.resume(coroutine.create(function()
  244.     local label = Instance.new("TextLabel",bil) label.Size = UDim2.new(1,0,1,0) label.BorderSizePixel = 0 label.BackgroundTransparency = 1 label.TextSize = 20 label.Text = " " label.TextColor3 = Color3.new(1,1,1)
  245.     for i = 1,#text do
  246.         label.Text = string.sub(text,1,i)
  247.         wait(.03)
  248.     end
  249.     wait(tiem)
  250.     for i = 1,5 do
  251.         label.TextTransparency = label.TextTransparency +.2
  252.         wait()
  253.     end
  254.     wait(.3)
  255.     label:Destroy()
  256.     end))
  257.     end)
  258. end
  259. function introhat()
  260.     using = true
  261.     rsw.Part1 = rapr
  262.     lsw.Part1 = lapl
  263.     local hpart = Instance.new("Part",char) hpart.Size = Vector3.new(.01,.01,.01) hpart.Transparency = 0 hpart.Name = "Santa Hat"
  264.     local hmesh = Instance.new("FileMesh",hpart) hmesh.MeshId = "http://www.roblox.com/asset/?id=1090610" hmesh.TextureId = "http://www.roblox.com/asset/?id=66690053"
  265.     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))
  266.     tlerp(rsw,{C0 = CFrame.new(-.3,-.1,-.1) * CFrame.Angles(rad(50),rad(20),rad(-40))},.8,qui,io)
  267.     tlerp(lsw,{C0 = CFrame.new(.3,-.1,-.1) * CFrame.Angles(rad(50),rad(-20),rad(40))},.8,qui,io)
  268.     tlerp(hweld,{C0 = CFrame.new(0,-1.2,0) * CFrame.Angles(rad(-120),rad(-65),rad(-30))},.8,qui,io)
  269.     wait(.65)
  270.     tlerp(rsw,{C0 = CFrame.new(-.3,.65,-.2) * CFrame.Angles(rad(160),rad(20),rad(-30))},1,qui,io)
  271.     tlerp(lsw,{C0 = CFrame.new(.3,.65,-.2) * CFrame.Angles(rad(160),rad(-20),rad(30))},1,qui,io)
  272.     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))},1,qui,io)
  273.     wait(.65)
  274.     tlerp(rsw,{C0 = CFrame.new(-.3,.15,0) * CFrame.Angles(rad(179),rad(20),rad(-30))},1,qui,io)
  275.     tlerp(lsw,{C0 = CFrame.new(.3,.15,0) * CFrame.Angles(rad(179),rad(-20),rad(30))},1,qui,io)
  276.     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))
  277.     wait(.6)
  278.     hweld.Part0 = h
  279.     hweld.C0 = CFrame.new(0,.5,0) * CFrame.Angles(rad(0),rad(-30),rad(0))
  280.     wait(.1)
  281.     tlerp(rsw,{C0 = CFrame.new(0,0,0)},1,qui,io)
  282.     tlerp(lsw,{C0 = CFrame.new(0,0,0)},1,qui,io)
  283.     local music = Instance.new("Sound",t) music.Name = "Song" music.SoundId = "rbxassetid://1845187266" music.Volume = 0 music.Looped = true music:Play()
  284.     coroutine.resume(coroutine.create(function()
  285.         for i = 1,5 do
  286.             music.Volume = music.Volume +.2
  287.             wait(.2)
  288.         end
  289.     end))
  290.     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)
  291.     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)
  292.     wait(1)
  293.     rsw.Part1 = nil
  294.     lsw.Part1 = nil
  295.     using = false
  296. end
  297. function hug(who)
  298.     if not hugging then
  299.     local removerut = false
  300.     hugging = true
  301.     using = true
  302.     local tors = who:FindFirstChild("Torso") or who:FindFirstChild("UpperTorso")
  303.     local hu = who:FindFirstChildOfClass("Humanoid")
  304.     hu.PlatformStand = true
  305.     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))
  306.     local deb = Instance.new("Glue",who) deb.Name = "Hugging"
  307.     tlerp(rsw,{C0 = CFrame.new(-.3,-.2,-.45) * CFrame.Angles(rad(110),rad(0),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(-60))},.5,qui,io)
  308.     tlerp(lsw,{C0 = CFrame.new(.2,-.2,-.45) * CFrame.Angles(rad(105),rad(0),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(65))},.5,qui,io)
  309.     tlerp(nec,{C0 = CFrame.new(-.15,1,0) * CFrame.Angles(rad(90),rad(180),rad(0)) * CFrame.Angles(rad(0),rad(15),rad(25))},.5,qui,io)
  310.     rsw.Part1 = rapr
  311.     lsw.Part1 = lapl
  312.     wait(2)
  313.     tlerp(rsw,{C0 = CFrame.new(0,0,0)},1,qui,io)
  314.     tlerp(lsw,{C0 = CFrame.new(0,0,0)},1,qui,io)
  315.     tlerp(nec,{C0 = CFrame.new(0,1,0) * CFrame.Angles(rad(90),rad(180),rad(0))},1,qui,io)
  316.     wait(.4)
  317.     hu.PlatformStand = false
  318.     weld:Destroy()
  319.     wait(.4)
  320.     rsw.Part1 = nil
  321.     lsw.Part1 = nil
  322.     deb:Destroy()
  323.     hugging = false
  324.     using = false
  325.     end
  326. end
  327. function detect()
  328.     coroutine.resume(coroutine.create(function()
  329.     local canhug = true
  330.     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
  331.     local fdweld = Instance.new("Weld",fakedetect) fdweld.Part0 = t fdweld.Part1 = fakedetect fdweld.C0 = CFrame.new(0,0,-1)
  332.     local region
  333.     for i = 1,7 do
  334.         if canhug then
  335.         region = Region3.new(fakedetect.Position - fakedetect.Size/2,fakedetect.Position + fakedetect.Size/2)
  336.         local hit = workspace:FindPartsInRegion3WithIgnoreList(region,{char},200)
  337.         local characters = {}
  338.         for i,v in pairs(hit) do
  339.             if v.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  340.                 characters[v.Parent.Name] = v.Parent
  341.             end
  342.         end
  343.         for i,v in pairs(characters) do
  344.         spawn(function()
  345.             fakedetect:Destroy()
  346.             hug(v)
  347.             canhug = false
  348.         end)
  349.         end
  350.         end
  351.         wait(.1)
  352.     end
  353.     if canhug then
  354.     if fakedetect ~= nil then
  355.     fakedetect:Destroy()
  356.     end
  357.     end
  358.     end))  
  359. end
  360. function placegift()
  361.     using = true
  362.     hum.WalkSpeed = 0 hum.JumpPower = 0
  363.     rsw.Part1 = rapr
  364.     lsw.Part1 = lapl
  365.     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"
  366.     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)
  367.     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))
  368.     tlerp(rsw,{C0 = CFrame.new(-.3,-.3,-.3) * CFrame.Angles(rad(80),rad(0),rad(-20))},1,qui,io)
  369.     tlerp(lsw,{C0 = CFrame.new(.3,-.3,-.3) * CFrame.Angles(rad(80),rad(0),rad(20))},1,qui,io)
  370.     tlerp(nec,{C0 = CFrame.new(0,1,0) * CFrame.Angles(rad(70),rad(180),rad(0))},1,qui,io)
  371.     tlerp(rh,{C0 = CFrame.new(1,0,-.7) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(20))},1,qui,io)
  372.     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))},1,qui,io)
  373.     tlerp(rutj,{C0 = CFrame.new(0,-1,0) * CFrame.Angles(rad(70),rad(180),rad(0))},1,qui,io)
  374.     wait(.9)
  375.     local ray = Ray.new(giftp.Position - Vector3.new(0,giftp.Size.y/2,0),-giftp.CFrame.UpVector.unit * 20)
  376.     local hit,pos,idk = workspace:FindPartOnRayWithIgnoreList(ray,{char,giftp},false,true)
  377.     if hit ~= nil then
  378.         local oy = giftp.Orientation.y
  379.         local oz = giftp.Orientation.z
  380.         giftp:BreakJoints()
  381.         giftp.Anchored = true
  382.         giftp.CanCollide = true
  383.         giftp.Parent = workspace
  384.         giftp.CFrame = CFrame.new(pos,pos + idk) * CFrame.Angles(rad(-90),rad(oy),rad(oz)) * CFrame.new(0,.75,0)
  385.         local cdet = Instance.new("ClickDetector",giftp) cdet.MaxActivationDistance = 10
  386.         spawn(function()
  387.             removewithfade(giftp,30)
  388.             cdet.MouseClick:Connect(function(plr)
  389.                 if script.ClassName == "Script" then
  390.                 local ids = {107458429,104642566,111876831,164207842,212641536}
  391.                 local requireditem = game:GetService("InsertService"):LoadAsset(ids[math.random(1,#ids)])
  392.                 local item = requireditem:FindFirstChildOfClass("Tool")
  393.                 item.Parent = plr.Backpack
  394.                 removewithfade(giftp,0)
  395.                 cdet:Destroy()
  396.                 else
  397.                     print("oof")
  398.                     removewithfade(giftp,0)
  399.                     cdet:Destroy()
  400.                 end
  401.             end)
  402.         end)
  403.     else
  404.         giftp:Destroy()
  405.     end
  406.     tlerp(rsw,{C0 = CFrame.new(0,0,0)},1,qui,io)
  407.     tlerp(lsw,{C0 = CFrame.new(0,0,0)},1,qui,io)
  408.     tlerp(nec,{C0 = CFrame.new(0,1,0) * CFrame.Angles(rad(90),rad(180),rad(0))},1,qui,io)
  409.     tlerp(rh,{C0 = CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0))},1,qui,io)
  410.     tlerp(lh,{C0 = CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0))},1,qui,io)
  411.     tlerp(rutj,{C0 = CFrame.new(0,0,0) * CFrame.Angles(rad(90),rad(180),rad(0))},1,qui,io)
  412.     wait(1)
  413.     hum.WalkSpeed = 16 hum.JumpPower = 50
  414.     rsw.Part1 = nil
  415.     lsw.Part1 = nil
  416.     using = false
  417. end
  418. function huggies()
  419.     using = true
  420.     rsw.Part1 = rapr
  421.     lsw.Part1 = lapl
  422.     tlerp(rsw,{C0 = CFrame.new(0,0,-.5) * CFrame.Angles(rad(90),rad(0),rad(50))},.65,qui,io)
  423.     tlerp(lsw,{C0 = CFrame.new(0,0,-.5) * CFrame.Angles(rad(90),rad(0),rad(-50))},.65,qui,io)
  424.     wait(.45)
  425.     detect()
  426.     tlerp(rsw,{C0 = CFrame.new(-.3,-.2,-.45) * CFrame.Angles(rad(110),rad(0),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(-60))},.5,qui,io)
  427.     tlerp(lsw,{C0 = CFrame.new(.2,-.2,-.45) * CFrame.Angles(rad(105),rad(0),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(65))},.5,qui,io)
  428.     wait(.5)
  429.     if not hugging then
  430.     tlerp(rsw,{C0 = CFrame.new(0,0,0)},.5,qui,io)
  431.     tlerp(lsw,{C0 = CFrame.new(0,0,0)},.5,qui,io)
  432.     wait(.5)
  433.     rsw.Part1 = nil
  434.     lsw.Part1 = nil
  435.     using = false
  436.     end
  437. end
  438.  
  439. mouse.KeyDown:Connect(function(key)
  440.     if key == "e" and not using then
  441.         huggies()
  442.     end
  443.     if key == "f" and not using then
  444.         placegift()
  445.     end
  446. end)
  447.  
  448. --intr0
  449. introhat()
  450. while true do
  451.     spart.CFrame = spart.CFrame:Lerp(h.CFrame * CFrame.new(0,15,0),.1)
  452.     wait()
  453. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement