Advertisement
SlappyDappyCrappy

datfuckinboi

Oct 16th, 2016
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local lp = game.Players.LocalPlayer
  2. local chr = lp.Character
  3. local mouse = lp:GetMouse()
  4. local euler = CFrame.fromEulerAnglesXYZ
  5. local rad = math.rad
  6. local trso = chr.Torso
  7.  
  8. local hd = Instance.new("Weld",chr.Head)
  9. hd.Part0=chr.Head
  10. hd.Part1=chr.Torso
  11. hd.C0=CFrame.new(0,-1.5,0)
  12.  
  13.  
  14. hum = chr.Humanoid
  15.  
  16. function Name(msg)
  17.         if chr.Head.Parent then
  18.         pcall(function()
  19.         local Gui = Instance.new('BillboardGui',chr.Head)
  20.         Gui.ExtentsOffset = Vector3.new(0,2,0)
  21.         Gui.Size = UDim2.new(0,200,0,300)
  22.         local Frame = Instance.new('Frame',Gui)
  23.         Frame.BackgroundTransparency = 1
  24.         Frame.Size = UDim2.new(1,0,1,0)
  25.         local Txt = Instance.new('TextLabel',Frame)
  26.         Txt.BackgroundTransparency = 1
  27.         Txt.Size = UDim2.new(1,0,1,0)
  28.         Txt.Font = 'SourceSansItalic'
  29.         Txt.FontSize = 'Size24'
  30.         Txt.Text = msg
  31.         Txt.TextColor3 = BrickColor.new("Black").Color
  32.         Txt.TextStrokeColor3 = Color3.new(0/255,0/255,0/255)
  33.         Txt.TextStrokeTransparency = .5
  34.         Txt.TextWrapped = true
  35.         Txt.TextScaled = false
  36.         end)
  37.         else
  38.         end
  39. end
  40.  
  41. Name("Halloweenie")
  42.  
  43. function Chat(msg) -- Credit to jillmiles1, kthxbye
  44.         if chr.Head.Parent then
  45.         pcall(function()
  46.         if chr.Head:FindFirstChild("Fazbear Chat Gui") then
  47.         chr.Head['Fazbear Chat Gui']:destroy()
  48.         end
  49.         local Gui = Instance.new('BillboardGui',chr.Head)
  50.         Gui.Name = "Fazbear Chat Gui"
  51.         Gui.ExtentsOffset = Vector3.new(0,3,0)
  52.         Gui.Size = UDim2.new(0,200,0,300)
  53.         local Frame = Instance.new('Frame',Gui)
  54.         Frame.BackgroundTransparency = 1
  55.         Frame.Size = UDim2.new(1,0,1,0)
  56.         local Txt = Instance.new('TextLabel',Frame)
  57.         Txt.BackgroundTransparency = 1
  58.         Txt.Size = UDim2.new(1,0,1,0)
  59.         Txt.Font = 'SourceSansItalic'
  60.         Txt.Name = "ChatGui"
  61.         Txt.FontSize = 'Size24'
  62.         Txt.Text = ''
  63.         Txt.TextColor3 = BrickColor.new("Br. yellowish orange").Color
  64.         Txt.TextStrokeColor3 = Color3.new(0/255,0/255,0/255)
  65.         Txt.TextStrokeTransparency = .5
  66.         Txt.TextWrapped = true
  67.         Txt.TextScaled = false
  68.         delay(wait(),function()
  69.                 for v = 1, #msg do
  70.                         Txt.Text=string.sub(msg,1,v)
  71.                         wait(.07)
  72.                 end;
  73.                 wait(1)
  74.                 for v = 1, #Txt.Text do
  75.                         Txt.Text=string.sub(msg,-1,v)
  76.                         wait(.05)
  77.                 end;
  78.                 Gui:remove()
  79.         end)
  80.         end)
  81.         else
  82.         end
  83. end
  84.  
  85. function Name(msg)
  86.         if chr.Head.Parent then
  87.         pcall(function()
  88.         local Gui = Instance.new('BillboardGui',chr.Head)
  89.         Gui.ExtentsOffset = Vector3.new(0,1.5,0)
  90.         Gui.Size = UDim2.new(0,200,0,300)
  91.         local Frame = Instance.new('Frame',Gui)
  92.         Frame.BackgroundTransparency = 1
  93.         Frame.Size = UDim2.new(1,0,1,0)
  94.         local Txt = Instance.new('TextLabel',Frame)
  95.         Txt.BackgroundTransparency = 1
  96.         Txt.Size = UDim2.new(1,0,1,0)
  97.         Txt.Font = 'ArialBold'
  98.         Txt.FontSize = 'Size24'
  99.         Txt.Text = msg
  100.         Txt.TextColor3 = BrickColor.new("Royal purple").Color
  101.         Txt.TextStrokeColor3 = Color3.new(0/255,0/255,0/255)
  102.         Txt.TextStrokeTransparency = .5
  103.         Txt.TextWrapped = true
  104.         Txt.TextScaled = false
  105.         end)
  106.         else
  107.         end
  108. end
  109.  
  110.  
  111.  
  112.  
  113. lp.Chatted:connect(function(msg)
  114.         Chat(msg)
  115. end)
  116.  
  117. print("HERE COMES DAT FUCKIN BOI")
  118.  
  119. local p = game.Players.LocalPlayer
  120. local char = p.Character
  121. local mouse = p:GetMouse()
  122. local larm = char["Left Arm"]
  123. local rarm = char["Right Arm"]
  124. local lleg = char["Left Leg"]
  125. local rleg = char["Right Leg"]
  126. local hed = char.Head
  127. local torso = char.Torso
  128. local hum = char.Humanoid
  129.  function clerp(c1,c2,al)
  130.     local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  131.     local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  132.     for i,v in pairs(com1) do
  133.         com1[i] = v+(com2[i]-v)*al
  134.     end
  135.     return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  136. end
  137.  
  138. plr = game:service'Players'.LocalPlayer
  139. char = plr.Character
  140. mouse = plr:GetMouse()
  141. humanoid = char:findFirstChild("Humanoid")
  142. torso = char:findFirstChild("Torso")
  143. head = char.Head
  144. ra = char:findFirstChild("Right Arm")
  145. la = char:findFirstChild("Left Arm")
  146. rl = char:findFirstChild("Right Leg")
  147. ll = char:findFirstChild("Left Leg")
  148. rs = torso:findFirstChild("Right Shoulder")
  149. ls = torso:findFirstChild("Left Shoulder")
  150. rh = torso:findFirstChild("Right Hip")
  151. lh = torso:findFirstChild("Left Hip")
  152. neck = torso:findFirstChild("Neck")
  153. rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  154. animate = char:findFirstChild("Animate")
  155. if animate then
  156. animate:Destroy()
  157.         pls = game:GetService'Players'
  158.         rs = game:GetService'RunService'
  159.         uinps = game:GetService'UserInputService'
  160.         lp = pls.LocalPlayer
  161.         mouse = lp:GetMouse()
  162.         c = lp.Character
  163.         human = c.Humanoid
  164.         human.MaxHealth = math.huge
  165.         soundVol = 0
  166.         wait()
  167.         human.Health = math.huge
  168.         c.Health:Destroy()
  169. end
  170. rootpart = char:findFirstChild("HumanoidRootPart")
  171. camera = workspace.CurrentCamera
  172.  
  173. pcall(function() char:findFirstChild('charmodel'):Destroy() char:findFirstChild('SurvivorScript').Disabled = true char:findFirstChild('SurvivorScript'):Destroy() char:findFirstChild'FakeHead':Destroy()
  174. plr.PlayerGui:findFirstChild'BaseGui':Destroy() end)
  175.  
  176. script.Name = 'SurvivorScript'
  177.  
  178. charmodel = Instance.new("Model", char)
  179. charmodel.Name = "charmodel"
  180.  
  181. local rm = Instance.new("Motor", torso)
  182. rm.C0 = CFrame.new(1.5, 0.5, 0)
  183. rm.C1 = CFrame.new(0, 0.5, 0)
  184. rm.Part0 = torso
  185. rm.Part1 = ra
  186. rm.Name = "Right Shoulder"
  187.  
  188. local lm = Instance.new("Motor", torso)
  189. lm.C0 = CFrame.new(-1.5, 0.5, 0)
  190. lm.C1 = CFrame.new(0, 0.5, 0)
  191. lm.Part0 = torso
  192. lm.Part1 = la
  193. lm.Name = "Left Shoulder"
  194.  
  195. local rlegm = Instance.new("Motor", torso)
  196. rlegm.C0 = CFrame.new(0.5, -1, 0)
  197. rlegm.C1 = CFrame.new(0, 1, 0)
  198. rlegm.Part0 = torso
  199. rlegm.Part1 = rl
  200. rlegm.Name = "Right Hip"
  201.  
  202. local llegm = Instance.new("Motor", torso)
  203. llegm.C0 = CFrame.new(-0.5, -1, 0)
  204. llegm.C1 = CFrame.new(0, 1, 0)
  205. llegm.Part0 = torso
  206. llegm.Part1 = ll
  207. llegm.Name = "Left Hip"
  208.  
  209. neck.C0 = CFrame.new(0, 1, 0)
  210. neck.C1 = CFrame.new(0, -0.5, 0)
  211.  
  212. rj.C0 = CFrame.new(0, -1.5, 0)
  213. rj.C1 = CFrame.new(0, -1.5, 0)
  214.  
  215. function LoadChatColorModule()
  216.     local COLOR_TABLE, Get, GetId
  217.     COLOR_TABLE = {
  218.         BrickColor.new("Really black"),
  219.         BrickColor.new("Really black"),
  220.         BrickColor.new("Really black"),
  221.         BrickColor.new("Really black"),
  222.         BrickColor.new("Really black"),
  223.         BrickColor.new("Really black"),
  224.         BrickColor.new("Really black"),
  225.         BrickColor.new("Really black")
  226.     }
  227.     function Get(name)
  228.         return COLOR_TABLE[GetId(name) + 1]
  229.     end
  230.     function GetId(name)
  231.         local length = #name
  232.         local modifier = (length % 2 == 0) and 1 or 0
  233.         local value = 0
  234.         for index = 1, length do
  235.             if (length - index + modifier) % 4 < 2 then
  236.                 value = value + string.byte(name, index)
  237.             else
  238.                 value = value - string.byte(name, index)
  239.             end
  240.         end
  241.         return value % 8
  242.     end
  243.     return {
  244.         COLOR_TABLE = COLOR_TABLE,
  245.         Get = Get,
  246.         GetId = GetId
  247.     }
  248. end
  249.  
  250. local ChatColor = LoadChatColorModule()
  251. local PocketColor = BrickColor.new(ChatColor.Get(plr.Name).Name)
  252.  
  253.  
  254.  
  255. rsc0 = rm.C0
  256. lsc0 = lm.C0
  257. neckc0 = neck.C0
  258. rootc0 = rj.C0
  259. llc0 = llegm.C0
  260. rlc0 = rlegm.C0
  261. speed = 0.25
  262. angle = 0
  263. mvmnt = 0
  264. anglespeed = 1
  265. humanoid.WalkSpeed = 8
  266. ctrl = false
  267. stopsprint = false
  268. action = false
  269. sprinting = false
  270. time_sprinted = 0
  271. sound_play_time = 0
  272.  
  273. local debounce = false
  274. local knife = false
  275. local knifeslash = false
  276.  
  277. mouse.KeyDown:connect(function(k)
  278.     repeat wait() until action == false
  279.     if not action then
  280.     if k:byte() == 48 then
  281.         sprinting = true
  282.         humanoid.WalkSpeed = 32
  283.     end
  284.     if k == '2' or k == 'c' then
  285.         if not prone then
  286.             ctrl = not ctrl
  287.             if ctrl then
  288.             humanoid.WalkSpeed = 5
  289.             else
  290.             humanoid.WalkSpeed = 8
  291.             end
  292.         end
  293.     end
  294.     if k == "y" then
  295.         flashlight = not flashlight
  296.         if flashlight then
  297.             do
  298.             knife = false
  299.                 if charmodel:findFirstChild("Knife") then
  300.                 charmodel:findFirstChild("Knife"):Destroy()
  301.             end
  302.                 local part = Instance.new("Part", charmodel)
  303.                 part.CanCollide = false
  304.                 part.FormFactor = 'Custom'
  305.                 part.Name = "Flashlight"
  306.                 part.Size = Vector3.new(.4, .4, 2.1)
  307.                 part:breakJoints()
  308.                 local mesh = Instance.new("SpecialMesh", part)
  309.                 mesh.TextureId = "rbxassetid://129026436"
  310.                 mesh.MeshId = "rbxassetid://87653956"
  311.                 mesh.Scale = Vector3.new(.7, .7, .7)
  312.                 local weld = Instance.new("Weld", part)
  313.                 weld.Part0 = part
  314.                 weld.Part1 = ra
  315.                 weld.C0 = CFrame.Angles(math.rad(70), 0, -math.rad(10))
  316.                 weld.C1 = CFrame.new(-.08, -1.225, .05)
  317.  
  318.  
  319.                 local point = Instance.new("PointLight", part)
  320.                 point.Range = 20
  321.                 local spot = Instance.new("SpotLight", part)
  322.                 spot.Shadows = true
  323.                 spot.Range = 55
  324.                 spot.Angle = 60
  325.                 spot.Brightness = 30
  326.             end
  327.         else
  328.             if charmodel:findFirstChild("Flashlight") then
  329.                 charmodel:findFirstChild("Flashlight"):Destroy()
  330.             end
  331.         end
  332.     end
  333.     if k == "x" then
  334.         ctrl = false
  335.         prone = true
  336.         humanoid.WalkSpeed = 2.5
  337.     end
  338.     if k == "t" then
  339.         knife = not knife
  340.         if knife then
  341.             flashlight = false
  342.             if charmodel:findFirstChild("Flashlight") then
  343.                 charmodel:findFirstChild("Flashlight"):Destroy()
  344.             end
  345.         local part = Instance.new("Part", charmodel)
  346.                 part.CanCollide = false
  347.                 part.FormFactor = 'Custom'
  348.                 part.Name = "Knife"
  349.                 part.Size = Vector3.new(.2, 1.7, .25)
  350.                 part:breakJoints()
  351.                 local weld = Instance.new("Weld", part)
  352.                 weld.Part0 = part
  353.                 weld.Part1 = ra
  354.                 weld.C0 = CFrame.Angles(math.pi/2, 0, -math.rad(10))
  355.                 weld.C1 = CFrame.new(0, -1, -.45)
  356.                 Instance.new("BlockMesh", part).Scale = Vector3.new(.5, 1, .8)
  357.                 local part2 = Instance.new("Part", part)
  358.                 part2.CanCollide = false
  359.                 part2.FormFactor = 'Custom'
  360.                 part2.Name = "Knife"
  361.                 part2.BrickColor = BrickColor.Black()
  362.                 part2.Size = Vector3.new(.3, 1.2, .3)
  363.                 part2:breakJoints()
  364.                 local weld2 = Instance.new("Weld", part2)
  365.                 weld2.Part0 = part2
  366.                 weld2.Part1 = part
  367.                 weld2.C1 = CFrame.new(0, -.45, 0)
  368.                 Instance.new("BlockMesh", part2).Scale = Vector3.new(.5, 1, .8)
  369.         else
  370.             if charmodel:findFirstChild("Knife") then
  371.                 charmodel:findFirstChild("Knife"):Destroy()
  372.             end
  373.         end
  374.     end
  375. end
  376. end)
  377.  
  378. mouse.KeyUp:connect(function(k)
  379.     repeat wait() until action == false
  380.     if not action then
  381.         repeat wait() until action == false
  382.     if k:byte() == 48 then
  383.         sprinting = false
  384.         if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 10 and hitz and time_sprinted >= .8 then
  385.             time_sprinted = 0
  386.         action = 'StopSprinting'
  387.         end
  388.         humanoid.WalkSpeed = 8
  389.         if ctrl then
  390.             humanoid.WalkSpeed = 5
  391.         end
  392.         if prone then
  393.             humanoid.WalkSpeed = 2.55
  394.         end
  395.     end
  396.     if k == 'x' then
  397.         prone = false
  398.         if ctrl then
  399.             humanoid.WalkSpeed = 5
  400.         else
  401.             humanoid.WalkSpeed = 8
  402.         end
  403.     end
  404.     end
  405. end)
  406.  
  407.  
  408. mouse.Button1Down:connect(function()
  409.     if knife == true then
  410.         if debounce then return end
  411.         local slashs = Instance.new("Sound", head)
  412.         slashs.SoundId = "rbxasset://sounds/swordslash.mp3"
  413.         slashs.Volume = 1
  414.         slashs.Pitch = 2
  415.         slashs.Name = 'Slash'
  416.         slashs:play()
  417.         debounce = true
  418.         knifeslash = true
  419.         wait(.35)
  420.         if charmodel:findFirstChild('Knife') then
  421.             local killdeb = false
  422.             charmodel:findFirstChild('Knife').Touched:connect(function(hit)
  423.                 if knifeslash then
  424.                 if killdeb then return end
  425.                     if hit and hit.Parent and hit.Parent:findFirstChild("Humanoid") and hit.Parent.Name ~= char.Name then
  426.                         killdeb = true
  427.                         hit.Parent:findFirstChild("Humanoid"):TakeDamage(math.random(math.huge,math.huge))
  428.                         local hitsound = Instance.new("Sound", head)
  429.                         hitsound.SoundId = "rbxasset://sounds/metal.mp3"
  430.                         hitsound.Volume = 1
  431.                         hitsound.Name = 'Hit'
  432.                         hitsound:play()
  433.                         wait(.5)
  434.                         hitsound:Destroy()
  435.                         slashs:Destroy()
  436.                     end
  437.                 end
  438.             end)
  439.         end
  440.         knifeslash = false
  441.         wait(.5)
  442.         debounce = false
  443.     end
  444. end)
  445.  
  446. plr.Chatted:connect(function(msg)
  447.     if msg == "/dance" then
  448.         action = 'Dancing'
  449.     end
  450.     if msg == "/point" then
  451.         action = 'Pointing'
  452.     end
  453.     if msg == "/wave" then
  454.         action = 'Waving'
  455.     end
  456.     if msg == "/cheer" then
  457.         action = 'Cheering'
  458.     end
  459.     if msg == "/squat" then
  460.         action = 'Squatting'
  461.     end
  462.     if msg == "/sit" then
  463.         action = 'Sitting'
  464.     end
  465. end)
  466.  
  467. Controls = game:service'ControllerService':children()[1]
  468.  
  469. local fakehead = head:clone()
  470. fakehead.Parent = char
  471. fakehead.Name = 'FakeHead'
  472. head.Transparency = 1
  473. for i,v in pairs(fakehead:children()) do
  474.     if v:IsA'Sound' or v:IsA'Decal' then
  475.         v:Destroy()
  476.     end
  477. end
  478.  
  479. for i,v in pairs(head:children()) do
  480.     if v:IsA'Sound' then
  481.         v:Destroy()
  482.     end
  483. end
  484.  
  485. waitingloop = false
  486.  
  487. local fakeweld = Instance.new("Weld", fakehead)
  488. fakeweld.Part0 = head
  489. fakeweld.Part1 = fakehead
  490.  
  491. humanoid.Jumping:connect(function()
  492.     if not action or not prone then
  493.         action = 'Jumping'
  494.     end
  495. end)
  496.  
  497. local ScreenGui = Instance.new("ScreenGui", plr.PlayerGui)
  498. ScreenGui.Name = "BaseGui"
  499. local WhatObject = Instance.new("TextLabel", ScreenGui)
  500. WhatObject.Size = UDim2.new(0, 50, 0, 10)
  501. WhatObject.BackgroundColor3 = Color3.new(.25, .25, .25)
  502. WhatObject.BackgroundTransparency = .45
  503. WhatObject.TextColor3 = Color3.new(1,1,1)
  504. WhatObject.TextXAlignment = 'Left'
  505. WhatObject.Visible = false
  506. local WhatObjectI = Instance.new("TextLabel", ScreenGui)
  507. WhatObjectI.Size = UDim2.new(0, 50, 0, 10)
  508. WhatObjectI.BackgroundColor3 = Color3.new(.05, .05, .05)
  509. WhatObjectI.TextColor3 = Color3.new(1,1,1)
  510. WhatObjectI.FontSize = "Size12"
  511. WhatObjectI.TextYAlignment = 'Top'
  512. WhatObjectI.TextXAlignment = 'Left'
  513. WhatObjectI.Visible = false
  514. WhatObjectI.ZIndex = 3
  515.  
  516. local RadioFrame = Instance.new("Frame", ScreenGui)
  517. RadioFrame.Size = UDim2.new(0, 90, 0, 30)
  518. RadioFrame.Position = UDim2.new(0, 0, .4, 0)
  519. RadioFrame.BackgroundColor3 = Color3.new(.25, .25, .25)
  520.  
  521. local InventoryBut = Instance.new("TextButton", ScreenGui)
  522. InventoryBut.Size = UDim2.new(0, 90, 0, 30)
  523. InventoryBut.Text = 'Inventory'
  524. InventoryBut.TextColor3 = Color3.new(1,1,1)
  525. InventoryBut.TextScaled = true
  526. InventoryBut.Position = UDim2.new(.4, 0, 0, 0)
  527. InventoryBut.BackgroundColor3 = Color3.new(.25, .25, .25)
  528.  
  529. local InventoryGui = Instance.new("Frame", ScreenGui)
  530. InventoryGui.Size = UDim2.new(.6, 0, .6, 0)
  531. InventoryGui.BackgroundColor3 = Color3.new(.25, .25, .25)
  532. InventoryGui.Position = UDim2.new(.2, 0, -1, 0)
  533.  
  534. InventoryBut.TouchTap:connect(function()
  535.     InvVisible = not InvVisible
  536.     if InvVisible then
  537.         InventoryGui:TweenPosition(UDim2.new(.2, 0, .2, 0), "Out", "Quad", .35, true)
  538.     elseif not InvVisible then
  539.         InventoryGui:TweenPosition(UDim2.new(.2, 0, -1, 0), "Out", "Quad", .35, true)
  540.     end
  541. end)
  542. InventoryBut.MouseButton1Down:connect(function()
  543.     InvVisible = not InvVisible
  544.     if InvVisible then
  545.         InventoryGui:TweenPosition(UDim2.new(.2, 0, .2, 0), "Out", "Quad", .35, true)
  546.     elseif not InvVisible then
  547.         InventoryGui:TweenPosition(UDim2.new(.2, 0, -1, 0), "Out", "Quad", .35, true)
  548.     end
  549. end)
  550.  
  551. Buildings = {}
  552.  
  553. local WoodenFence = Instance.new("Part")
  554. WoodenFence.Size = Vector3.new(10, 5, 1)
  555. WoodenFence.Anchored = true
  556. WoodenFence.Material = 'Wood'
  557. WoodenFence.BrickColor = BrickColor.new'Really red'
  558. table.insert(Buildings, {WoodenFence = 'Wooden Fence'})
  559.  
  560. for y = 1, 4 do
  561.     for x = 1, 4 do
  562.     local slot = Instance.new("ImageLabel", InventoryGui)
  563.     slot.Name = "Slot"..tostring(#InventoryGui:children())
  564.     slot.Size = UDim2.new(.155, 0, .2, 0)
  565.     slot.ZIndex = 2
  566.     slot.Position = UDim2.new(.2+((x-1)/4)*.8, 0, .025+(y-1)/4, 0)
  567.     slot.BackgroundColor3 = Color3.new(.35, .35, .35)
  568.     local stack = Instance.new("TextLabel", slot)
  569.     stack.Size = UDim2.new(0, 0, 0, 25)
  570.     stack.Position = UDim2.new(.95, 0, 1, -25)
  571.     stack.TextXAlignment = 'Right'
  572.     stack.FontSize = "Size12"
  573.     stack.ZIndex = 3
  574.     stack.TextColor3 = Color3.new(1,1,1)
  575.     stack.BackgroundTransparency = 1
  576.     stack.TextStrokeTransparency = .5
  577.     stack.Visible = false
  578.     stack.TextScaled = true
  579.     Instance.new("StringValue", slot).Name = 'ItemName'
  580.     Instance.new("StringValue", slot).Name = 'Description'
  581.     Instance.new("NumberValue", slot).Name = 'Stack'
  582.     Instance.new("BoolValue", slot).Name = 'Functionable'
  583.     Instance.new("StringValue", slot.Functionable).Name = 'Function'
  584.     slot.Functionable.Value = false
  585.         slot.Functionable.Changed:connect(function()
  586.                 if slot.Functionable.Function.Value == 'Place' then
  587.                     slot.MouseButton1Down:connect(function()
  588.                         InvVisible = false
  589.                         InventoryGui:TweenPosition(UDim2.new(.2, 0, -1, 0), "Out", "Quad", .35, true)
  590.                         local PlaceObject
  591.                         for i,v in pairs(Buildings) do
  592.                             if v.Name == slot.Name.Value then
  593.                                 PlaceObject = v:clone()
  594.                                 PlabeObject.Parent = workspace
  595.                             end
  596.                         end
  597.                         local Placed = false
  598.                         mouse.KeyDown:connect(function(k)
  599.                             if Placed then return end
  600.                             if k == "r" then
  601.                                 if PlaceObject:IsA'Model' then
  602.                                     PlabeObject.Dragger:AxisRotate()
  603.                                 end
  604.                                 if PlaceObject:IsA'Part' then
  605.                                     PlaceObject.Rotation = Vector3.new(PlabeObject.Rotation.X, PlabeObject.Rotation.Y+90, PlabeObject.Rotation.Z)
  606.                                 end
  607.                             end
  608.                         end)
  609.                         mouse.Move:connect(function()
  610.                             if Placed then return end
  611.                             PlaceObject:TranslateBy(Vector3.new(mouse.Hit.x, mouse.Hit.y, mouse.Hit.z))
  612.                         end)
  613.                         mouse.Button1Down:connect(function()
  614.                             Placed = true
  615.                         end)
  616.                     end)
  617.                 end
  618.         end)
  619.         slot.Stack.Changed:connect(function()
  620.             if slot.Stack.Value == '0' then
  621.                 stack.Visible = false
  622.             else
  623.                 stack.Visible = true
  624.                 stack.Text = slot.Stack.Value
  625.                 stack.Size = UDim2.new(0, -stack.TextBounds.x, 0, 25)
  626.             end
  627.         end)
  628.         slot.MouseEnter:connect(function()
  629.             if slot.Description.Value ~= '' then
  630.                     WhatObjectI.Parent = slot
  631.                     WhatObjectI.Position = UDim2.new(0, 0, 1, 0)
  632.                     WhatObjectI.Text = slot.Description.Value
  633.                     wait(0)
  634.                     WhatObjectI.Size = UDim2.new(0, WhatObjectI.TextBounds.x, 0, WhatObjectI.TextBounds.Y)
  635.                     WhatObjectI.Visible = true
  636.             end
  637.         end)
  638.         slot.MouseLeave:connect(function()
  639.             WhatObjectI.Visible = false
  640.         end)
  641.     end
  642. end
  643.  
  644. InventoryGui.Slot1.Image = "rbxassetid://154927249"
  645. InventoryGui.Slot1.Description.Value = [[A regular flashlight,
  646. Equip with F.]]
  647.  
  648. InventoryGui.Slot2.Image = "rbxassetid://154931868"
  649. InventoryGui.Slot2.Description.Value = [[It's a survival knife,
  650. slaughter or gather materials!
  651. Equip with K.]]
  652.  
  653. InventoryGui.Slot3.Description.Value = [[It's wood,
  654. You can build or use it as material.]]
  655. InventoryGui.Slot3.Stack.Value = 10
  656. InventoryGui.Slot3.Image = "rbxassetid://154979500"
  657.  
  658. InventoryGui.Slot4.ItemName.Value = "Wooden Fence"
  659. InventoryGui.Slot4.Description.Value = [[Defending building.]]
  660. InventoryGui.Slot4.Stack.Value = 1
  661. InventoryGui.Slot4.Functionable.Function.Value = 'Place'
  662.  
  663. radiosound = Instance.new("Sound", head)
  664. radiosound.Volume = 1
  665. radiosound.Name = 'IMPOSSIBRU'
  666.  
  667. Music = {
  668.     ['1'] = function(plr)
  669.     game:service'ContentProvider':Preload("rbxassetid://335958739")
  670.     radiosound.SoundId = "rbxassetid://335958739"
  671.     radiosound.Pitch = 1
  672.     end;
  673.     ['2'] = function(plr)
  674.     game:service'ContentProvider':Preload("rbxassetid://399570826")
  675.     radiosound.SoundId = "rbxassetid://399570826"
  676.     end;
  677.     ['3'] = function(plr)
  678.     game:service'ContentProvider':Preload("rbxassetid://187324310")
  679.     radiosound.SoundId = "rbxassetid://187324310"
  680.     end;
  681.     ['4'] = function(plr)
  682.     game:service'ContentProvider':Preload("rbxassetid://164834038")
  683.     radiosound.SoundId = "rbxassetid://164834038"
  684.     end;
  685.     ['5'] = function(plr)
  686.     game:service'ContentProvider':Preload("rbxassetid://384949210")
  687.     radiosound.SoundId = "rbxassetid://384949210"
  688.     end;
  689.     ['6'] = function(plr)
  690.     game:service'ContentProvider':Preload("rbxassetid://366789853")
  691.     radiosound.SoundId = "rbxassetid://366789853"
  692.     end;
  693.     ['7'] = function(plr)
  694.     game:service'ContentProvider':Preload("rbxassetid://338512454")
  695.     radiosound.SoundId = "rbxassetid://338512454"
  696.     end;
  697.     ['8'] = function(plr)
  698.     game:service'ContentProvider':Preload("rbxassetid://344965733")
  699.     radiosound.SoundId = "rbxassetid://344965733"
  700.     end;
  701.     ['9'] = function(plr)
  702.     game:service'ContentProvider':Preload("rbxassetid://182621515")
  703.     radiosound.SoundId = "rbxassetid://182621515"
  704.     end;
  705.     ['10'] = function(plr)
  706.     game:service'ContentProvider':Preload("rbxassetid://186747165")
  707.     radiosound.SoundId = "rbxassetid://186747165"
  708.     radiosound.Pitch = 1
  709.     end;
  710.     ['11'] = function(plr)
  711.     game:service'ContentProvider':Preload("rbxassetid://171217870")
  712.     radiosound.SoundId = "rbxassetid://171217870"
  713.     radiosound.Pitch = 1
  714.     end;
  715.     ['12'] = function(plr)
  716.     game:service'ContentProvider':Preload("rbxassetid://163722380")
  717.     radiosound.SoundId = "rbxassetid://163722380"
  718.     end;
  719.     ['13'] = function(plr)
  720.     game:service'ContentProvider':Preload("rbxassetid://338228788")
  721.     radiosound.SoundId = "rbxassetid://338228788"
  722.     end;
  723.     ['14'] = function(plr)
  724.     game:service'ContentProvider':Preload("rbxassetid://156105878")
  725.     radiosound.SoundId = "rbxassetid://156105878"
  726.     end;
  727.     ['15'] = function(plr)
  728.     game:service'ContentProvider':Preload("rbxassetid://322616696")
  729.     radiosound.SoundId = "rbxassetid://322616696"
  730.     end;
  731.     ['16'] = function(plr)
  732.     game:service'ContentProvider':Preload("rbxassetid://272467655")
  733.     radiosound.SoundId = "rbxassetid://272467655"
  734.     end;
  735.     ['17'] = function(plr)
  736.     game:service'ContentProvider':Preload("rbxassetid://197769965")
  737.     radiosound.SoundId = "rbxassetid://197769965"
  738.     end;
  739.     ['18'] = function(plr)
  740.     game:service'ContentProvider':Preload("rbxassetid://257768376")
  741.     radiosound.SoundId = "rbxassetid://257768376"
  742.     end;
  743.     ['19'] = function(plr)
  744.     game:service'ContentProvider':Preload("rbxassetid://142300879")
  745.     radiosound.SoundId = "rbxassetid://142300879"
  746.     end;
  747.     ['20'] = function(plr)
  748.     game:service'ContentProvider':Preload("rbxassetid://300143023")
  749.     radiosound.SoundId = "rbxassetid://300143023"
  750.     end;
  751.     ['21'] = function(plr)
  752.     game:service'ContentProvider':Preload("rbxassetid://174212113")
  753.     radiosound.SoundId = "rbxassetid://174212113"
  754.     end;
  755.     ['22'] = function(plr)
  756.     game:service'ContentProvider':Preload("rbxassetid://185320433")
  757.     radiosound.SoundId = "rbxassetid://185320433"
  758.     end;
  759.     ['23'] = function(plr)
  760.     game:service'ContentProvider':Preload("rbxassetid://218299512")
  761.     radiosound.SoundId = "rbxassetid://218299512"
  762.     end;
  763.     ['24'] = function(plr)
  764.     game:service'ContentProvider':Preload("rbxassetid://280971159")
  765.     radiosound.SoundId = "rbxassetid://280971159"
  766.     end;
  767.     ['25'] = function(plr)
  768.     game:service'ContentProvider':Preload("rbxassetid://263504315")
  769.     radiosound.SoundId = "rbxassetid://263504315"
  770.     end;
  771.     ['26'] = function(plr)
  772.     game:service'ContentProvider':Preload("rbxassetid://198249011")
  773.     radiosound.SoundId = "rbxassetid://198249011"
  774.     end;
  775.     ['27'] = function(plr)
  776.     game:service'ContentProvider':Preload("rbxassetid://239902092")
  777.     radiosound.SoundId = "rbxassetid://239902092"
  778.     end;
  779.     ['28'] = function(plr)
  780.     game:service'ContentProvider':Preload("rbxassetid://241148012")
  781.     radiosound.SoundId = "rbxassetid://241148012"
  782.     end;
  783.     ['29'] = function(plr)
  784.     game:service'ContentProvider':Preload("rbxassetid://158353213")
  785.     radiosound.SoundId = "rbxassetid://158353213"
  786.     end;
  787.     ['30'] = function(plr)
  788.     game:service'ContentProvider':Preload("rbxassetid://201129564")
  789.     radiosound.SoundId = "rbxassetid://201129564"
  790.     end;
  791.     ['31'] = function(plr)
  792.     game:service'ContentProvider':Preload("rbxassetid://181663037")
  793.     radiosound.SoundId = "rbxassetid://181663037"
  794.     radiosound.Pitch = 1
  795.     end;
  796.     ['32'] = function(plr)
  797.     game:service'ContentProvider':Preload("rbxassetid://150488830")
  798.     radiosound.SoundId = "rbxassetid://150488830"
  799.     radiosound.Pitch = 1
  800.     end;
  801.     ['33'] = function(plr)
  802.     game:service'ContentProvider':Preload("rbxassetid://165295816")
  803.     radiosound.SoundId = "rbxassetid://165295816"
  804.     end;
  805.     ['34'] = function(plr)
  806.     game:service'ContentProvider':Preload("rbxassetid://143003257")
  807.     radiosound.SoundId = "rbxassetid://143003257"
  808.     end;
  809.     ['35'] = function(plr)
  810.     game:service'ContentProvider':Preload("rbxassetid://237265076")
  811.     radiosound.SoundId = "rbxassetid://237265076"
  812.     end;
  813.     ['36'] = function(plr)
  814.     game:service'ContentProvider':Preload("rbxassetid://146626271")
  815.     radiosound.SoundId = "rbxassetid://146626271"
  816.     end;
  817. }
  818.  
  819. local HowMuchMusic = 0
  820. for _,_ in pairs(Music) do
  821.     HowMuchMusic = HowMuchMusic + 1
  822. end
  823. RadioEnabled = false
  824. local song
  825. local current = 1
  826. local CurrentNumber = Instance.new("TextLabel", RadioFrame)
  827. CurrentNumber.Size = UDim2.new(0, 60, 0, 15)
  828. CurrentNumber.Position = UDim2.new(0, 0, 0, -15)
  829. CurrentNumber.TextColor3 = Color3.new(1,1,1)
  830. CurrentNumber.BackgroundTransparency = 1
  831. CurrentNumber.Text = tostring(current).."/"..HowMuchMusic
  832. CurrentNumber.TextScaled = true
  833. local OnOff = Instance.new("TextButton", RadioFrame)
  834. OnOff.Size = UDim2.new(0, 60, 0, 28)
  835. OnOff.Position = UDim2.new(0, 1, 0, 1)
  836. OnOff.TextColor3 = Color3.new(1,1,1)
  837. OnOff.BackgroundColor3 = Color3.new(.6, 0, 0)
  838. OnOff.Text = 'OFF'
  839. OnOff.TextScaled = true
  840.  
  841. function nextSong(current2)
  842.     local CurrentSong = current2
  843.     coroutine.wrap(function()
  844.         for i = 1, 121 do
  845.             if RadioEnabled and CurrentSong == current2 then
  846.                 wait(1)
  847.             else return end
  848.         end
  849.         if RadioEnabled and CurrentSong == current then
  850.             radiosound:stop()
  851.             current = current + 1
  852.             if current > HowMuchMusic then
  853.                 current = 1
  854.             end
  855.             for index,func in pairs(Music) do
  856.                 if index == tostring(current) then
  857.                     func(plr)
  858.                 end
  859.             end
  860.         CurrentNumber.Text = tostring(current).."/"..HowMuchMusic
  861.         radiosound:play()
  862.         nextSong(current)
  863.         end
  864.     end)()
  865. end
  866.  
  867. OnOff.MouseButton1Down:connect(function()
  868.     RadioEnabled = not RadioEnabled
  869.     if RadioEnabled then
  870.         OnOff.BackgroundColor3 = Color3.new(0, .6, 0)
  871.         OnOff.Text = 'ON'
  872.         song = Music[tostring(current)]
  873.         for index,func in pairs(Music) do
  874.             if index == tostring(current) then
  875.             func(plr)
  876.             end
  877.         end
  878.         radiosound:play()
  879.         nextSong(current)
  880.     elseif not RadioEnabled then
  881.         OnOff.BackgroundColor3 = Color3.new(.6, 0, 0)
  882.         OnOff.Text = 'OFF'
  883.         radiosound:pause()
  884.     end
  885. end)
  886.  
  887. OnOff.TouchTap:connect(function()
  888.     RadioEnabled = not RadioEnabled
  889.     if RadioEnabled then
  890.         OnOff.BackgroundColor3 = Color3.new(0, .6, 0)
  891.         OnOff.Text = 'ON'
  892.         song = Music[tostring(current)]
  893.         for index,func in pairs(Music) do
  894.             if index == tostring(current) then
  895.             func(plr)
  896.             end
  897.         end
  898.         radiosound:play()
  899.         CurrentNumber.Text = tostring(current).."/"..HowMuchMusic
  900.         radiosound:play()
  901.         nextSong(current)
  902.     elseif not RadioEnabled then
  903.         OnOff.BackgroundColor3 = Color3.new(.6, 0, 0)
  904.         OnOff.Text = 'OFF'
  905.         radiosound:pause()
  906.     end
  907. end)
  908.  
  909. local Next = Instance.new("TextButton", RadioFrame)
  910. Next.Size = UDim2.new(0, 28, 0, 28)
  911. Next.Position = UDim2.new(0, 61, 0, 1)
  912. Next.TextColor3 = Color3.new(1,1,1)
  913. Next.BackgroundTransparency = 1
  914. Next.Text = '>'
  915.  
  916. Next.MouseButton1Down:connect(function()
  917. radiosound:stop()
  918. radiosound:stop()
  919. current = current + 1
  920. if current > HowMuchMusic then
  921.     current = 1
  922. end
  923. CurrentNumber.Text = tostring(current).."/"..HowMuchMusic
  924. song = Music[tostring(current)]
  925. for index,func in pairs(Music) do
  926.     if index == tostring(current) then
  927.         func(plr)
  928.     end
  929. end
  930. if RadioEnabled then
  931.     radiosound:play()
  932. end
  933. end)
  934.  
  935. humanoid.Changed:connect(function(changed)
  936.     --[[if ctrl and changed == 'Jump' then
  937.         humanoid.Jump = false
  938.         action = 'Rolling'
  939.     end--]]
  940.     if action ~= false or prone then
  941.         humanoid.Jump = false
  942.     end
  943. end)
  944.  
  945. humanoid.Climbing:connect(function(speed)
  946.     if speed > 4 then
  947.         action = 'Climbing'
  948.         humanoid.WalkSpeed = 8
  949.     else
  950.         action = false
  951.         if ctrl then
  952.             humanoid.WalkSpeed = 5
  953.         elseif prone then
  954.             humanoid.WalkSpeed = 2.5
  955.         end
  956.     end
  957. end)
  958.  
  959. mouse.Move:connect(function()
  960.     if (mouse.Target ~= nil and mouse.Target:IsA('Part') and mouse.Target.Parent and mouse.Target.Parent:IsA('Model') and mouse.Target.Parent:findFirstChild'Humanoid') or (mouse.Target ~= nil and mouse.Target:IsA('Part') and mouse.Target.Parent and mouse.Target.Parent:IsA'Hat' and mouse.Target.Parent.Parent and mouse.Target.Parent.Parent:findFirstChild'Humanoid') then
  961.         local target = mouse.Target
  962.         WhatObject.Visible = true
  963.         if target.Parent:IsA'Model' then
  964.         WhatObject.Text = target.Parent.Name
  965.         elseif target.Parent:IsA'Hat' then
  966.             WhatObject.Text = target.Parent.Parent.Name
  967.         end
  968.         WhatObject.Size = UDim2.new(0, WhatObject.TextBounds.x, 0, 10)
  969.         WhatObject.Position = UDim2.new(0, mouse.X + 10, 0, mouse.Y - 15)
  970.     else
  971.         WhatObject.Visible = false
  972.     end
  973. end)
  974.  
  975. wait()
  976.  
  977. local sound = Instance.new("Sound", head)
  978. sound.Volume = .65
  979. game:service'RunService'.Stepped:connect(function()
  980.     if prone or ctrl then
  981.      rootpart.CanCollide = false
  982.     end
  983. end)
  984.  
  985. idling = 0
  986. dancingtime = 0
  987.  
  988. game:service'RunService'.RenderStepped:connect(function()
  989.     if charmodel.Parent ~= char then charmodel.Parent = char end
  990.     if fakehead.Parent ~= char then fakehead.Parent = char end
  991.     if not loopedaction then
  992.         local rscf = rsc0
  993.         local lscf = lsc0
  994.         local rlcf = rlc0
  995.         local llcf = llc0
  996.         local rjcf = rootc0
  997.         local ncf = neckc0
  998.         local rayz = Ray.new(rootpart.Position, Vector3.new(0, -4.1, 0))
  999.         local hitz, enz = workspace:findPartOnRay(rayz, char)
  1000.         angle = (angle % 100) + anglespeed/10
  1001.         mvmnt = math.pi * math.sin(math.pi*2/100*(angle*10))
  1002.         for i,object in pairs(char:children()) do
  1003.             if object:IsA("Tool") then
  1004.                 if not wldunknown then
  1005.                 wldunknown = Instance.new("Weld", rarm)
  1006.                 wldunknown.Name = "RightGrip"
  1007.                 wldunknown.Part0 = rarm
  1008.                 if object:findFirstChild("Handle") then
  1009.                 wldunknown.Part1 = object:findFirstChild("Handle")
  1010.                 end
  1011.                 end
  1012.                 tool = true
  1013.             elseif not object:IsA("Tool") then
  1014.                 if tool then
  1015.                     pcall(function()
  1016.                         wldunknown:Destroy()
  1017.                         wldunknown:Destroy()
  1018.                     end)
  1019.                 end
  1020.                 tool = false
  1021.             end
  1022.         end
  1023.         if action ~= false then
  1024.             idling = 0
  1025.             if action == 'StopSprinting' then
  1026.                 Controls.Parent = nil
  1027.                 speed = 0.15
  1028.                 local bodyvelocity = Instance.new("BodyVelocity", rootpart)
  1029.                 bodyvelocity.maxForce = Vector3.new(1/0,0,1/0)
  1030.                 bodyvelocity.velocity = rootpart.CFrame.lookVector * 16
  1031.                 ncf = neckc0 * CFrame.Angles(math.rad(-12), -math.rad(15), 0)
  1032.                 rscf = rsc0 * CFrame.Angles(math.rad(-21), 0, math.rad(4.5))
  1033.                 lscf = lsc0 * CFrame.Angles(math.rad(-23.5), 0, -math.rad(3.5))
  1034.                 rjcf = rootc0 * CFrame.new(0, -.35, 0) * CFrame.Angles(math.rad(15), math.rad(25), 0)
  1035.                 llcf = llc0 * CFrame.new(0, .15, -.25) * CFrame.Angles(-math.rad(30), 0, -math.rad(5.5))
  1036.                 rlcf = rlcf * CFrame.new(0, .05, -.15) * CFrame.Angles(math.rad(20), 0, math.rad(2))
  1037.                 loopedaction = true
  1038.                 for i = 0, 25 do
  1039.                     bodyvelocity.velocity = rootpart.CFrame.lookVector * (16 - i/1.5)
  1040.                     rm.C0 = clerp(rm.C0,rscf,speed)
  1041.                     lm.C0 = clerp(lm.C0,lscf,speed)
  1042.                     rj.C0 = clerp(rj.C0,rjcf,speed)
  1043.                     rlegm.C0 = clerp(rlegm.C0,rlcf,speed)
  1044.                     llegm.C0 = clerp(llegm.C0,llcf,speed)
  1045.                     neck.C0 = clerp(neck.C0,ncf,speed)
  1046.                     wait()
  1047.                 end
  1048.                 bodyvelocity:Destroy()
  1049.                 loopedaction = false
  1050.                 stopsprint = false
  1051.                 action = false
  1052.                 Controls.Parent = game:service'ControllerService'
  1053.                 humanoid.WalkSpeed = 8
  1054.                 if ctrl then
  1055.                     humanoid.WalkSpeed = 5
  1056.                 elseif prone then
  1057.                     humanoid.WalkSpeed = 2.5
  1058.                 end
  1059.             end
  1060.             if action == "Climbing" then
  1061.                 anglespeed = 2
  1062.                 speed = 0.1
  1063.                 ncf = neckc0 * CFrame.Angles(math.pi/3, 0, 0)
  1064.                 rjcf = rootc0
  1065.                 rscf = rsc0 * CFrame.new(0, -0.2 + -mvmnt*0.2, 0.45) * CFrame.Angles(math.pi/1.5, 0, -math.abs(mvmnt)*0.025)
  1066.                 lscf = lsc0 * CFrame.new(0, -0.2 + mvmnt*0.2, 0.45) * CFrame.Angles(math.pi/1.5, 0, math.abs(mvmnt)*0.025)
  1067.                 rlcf = rlc0 * CFrame.new(0, 0.3 + mvmnt*0.2, 0) * CFrame.Angles(math.pi/14, 0, 0)
  1068.                 llcf = llc0 * CFrame.new(0, 0.3 + -mvmnt*0.2, 0) * CFrame.Angles(math.pi/14, 0, 0)
  1069.             end
  1070.             if action == 'Jumping' then
  1071.                 if not prone or ctrl then
  1072.                 loopedaction = true
  1073.                 ncf = neckc0 * CFrame.Angles(-math.sin(angle)*0.07, 0, 0)
  1074.                 rjcf = rootc0 * CFrame.Angles(math.sin(angle)*0.025, 0, 0)
  1075.                 rscf = rsc0 * CFrame.Angles(-math.pi/16, -math.sin(angle)*0.08, 0)
  1076.                 lscf = lsc0 * CFrame.Angles(-math.pi/17, math.sin(angle)*0.08, 0)
  1077.                 rlcf = rlc0 * CFrame.new(0, .45, -.45) * CFrame.Angles(-math.pi/16+-math.sin(angle)*0.125, -math.sin(angle)*0.08, math.rad(2.5))
  1078.                 llcf = llc0 * CFrame.Angles(-math.pi/17+-math.sin(angle)*0.125, math.sin(angle)*0.08, -math.rad(2.5))
  1079.                 for i = 0, 12 do
  1080.                     rm.C0 = clerp(rm.C0,rscf,speed)
  1081.                     lm.C0 = clerp(lm.C0,lscf,speed)
  1082.                     rj.C0 = clerp(rj.C0,rjcf,speed)
  1083.                     rlegm.C0 = clerp(rlegm.C0,rlcf,speed)
  1084.                     llegm.C0 = clerp(llegm.C0,llcf,speed)
  1085.                     neck.C0 = clerp(neck.C0,ncf,speed)
  1086.                     wait()
  1087.                 end
  1088.                 end
  1089.                 loopedaction = false
  1090.                 action = false
  1091.             end
  1092.             if action == 'Pointing' then
  1093.                 if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude <= 2 then
  1094.                 anglespeed = .5
  1095.                 speed = 0.25
  1096.                 ncf = neckc0 * CFrame.Angles(-math.sin(angle)*0.007, 0, 0)
  1097.                 rjcf = rootc0 * CFrame.Angles(math.sin(angle)*0.0015, 0, 0)
  1098.                 rscf = rsc0 * CFrame.Angles(math.pi/2, -math.sin(angle)*0.008, 0)
  1099.                 lscf = lsc0 * CFrame.Angles(0, math.sin(angle)*0.008, 0)
  1100.                 rlcf = rlc0 * CFrame.Angles(-math.sin(angle)*0.0015, -math.sin(angle)*0.008, math.rad(2.5))
  1101.                 llcf = llc0 * CFrame.Angles(-math.sin(angle)*0.0015, math.sin(angle)*0.008, -math.rad(2.5))
  1102.                 else
  1103.                 action = false
  1104.                 end
  1105.             end
  1106.             if action == 'Waving' then
  1107.                 if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude <= 2 then
  1108.                 anglespeed = .5
  1109.                 speed = 0.25
  1110.                 ncf = neckc0 * CFrame.Angles(-math.sin(angle)*0.007, 0, 0)
  1111.                 rjcf = rootc0 * CFrame.Angles(math.sin(angle)*0.0025, 0, 0)
  1112.                 rscf = rsc0 * CFrame.Angles(0, -math.sin(angle)*0.008, math.pi/1.4+math.sin(angle)*.5)
  1113.                 lscf = lsc0 * CFrame.Angles(0, math.sin(angle)*0.008, 0)
  1114.                 rlcf = rlc0 * CFrame.Angles(-math.sin(angle)*0.0025, -math.sin(angle)*0.008, math.rad(2.5))
  1115.                 llcf = llc0 * CFrame.Angles(-math.sin(angle)*0.0025, math.sin(angle)*0.008, -math.rad(2.5))
  1116.                 else
  1117.                 action = false
  1118.                 end
  1119.             end
  1120.             if action == 'Cheering' then
  1121.                 if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude <= 2 then
  1122.                 anglespeed = 2
  1123.                 speed = 0.25
  1124.                 ncf = neckc0 * CFrame.Angles(math.pi/24.85, 0, 0)
  1125.                 rjcf = rootc0 * CFrame.new(0, math.abs(math.sin(angle)), 0)
  1126.                 rscf = rsc0 * CFrame.Angles(math.pi-math.abs(math.sin(angle))*.25, 0, math.rad(2))
  1127.                 lscf = lsc0 * CFrame.Angles(math.pi-math.abs(math.sin(angle))*.25, 0, -math.rad(2))
  1128.                 rlcf = rlc0 * CFrame.Angles(0, 0, math.rad(5))
  1129.                 llcf = llc0 * CFrame.Angles(0, 0, -math.rad(5))
  1130.                 else
  1131.                 action = false
  1132.                 end
  1133.             end
  1134.             if action == 'Rolling' then
  1135.                 loopedaction = true
  1136.                 anglespeed = 2
  1137.                 speed = 0.6
  1138.                 Controls.Parent = nil
  1139.                 local bodyvelocity = Instance.new("BodyVelocity", rootpart)
  1140.                 bodyvelocity.maxForce = Vector3.new(1/0,1/0,1/0)
  1141.                 bodyvelocity.velocity = rootpart.CFrame.lookVector * 10
  1142.                 rj.C1 = CFrame.new()
  1143.                 for roll = 0, 360, 2 do
  1144.                         ncf = neckc0 * CFrame.Angles(-math.pi/1.85, 0, 0)
  1145.                         rjcf = CFrame.new() * CFrame.new(0, -1, 0) * CFrame.Angles(-math.rad(roll), 0, 0)
  1146.                         rscf = rsc0 * CFrame.Angles(math.pi/2.5, 0, -math.rad(30))
  1147.                         lscf = lsc0 * CFrame.Angles(math.pi/2.5, 0, math.rad(30))
  1148.                         rlcf = rlc0 * CFrame.new(0, .6, -.75) * CFrame.Angles(-math.pi/2.5, 0, 0)
  1149.                         llcf = llc0 * CFrame.new(0, .6, -.75) * CFrame.Angles(-math.pi/2.5, 0, 0)
  1150.                         rm.C0 = clerp(rm.C0,rscf,speed)
  1151.                         lm.C0 = clerp(lm.C0,lscf,speed)
  1152.                         rj.C0 = clerp(rj.C0,rjcf,speed)
  1153.                         neck.C0 = clerp(neck.C0,ncf,speed)
  1154.                         rlegm.C0 = clerp(rlegm.C0,rlcf,speed)
  1155.                         llegm.C0 = clerp(llegm.C0,llcf,speed)
  1156.                         wait()
  1157.                 end
  1158.                 rj.C0 = CFrame.new(0, -1.5, 0)
  1159.                 rj.C1 = CFrame.new(0, -1.5, 0)
  1160.                 bodyvelocity:Destroy()
  1161.                 action = false
  1162.                 Controls.Parent = game:service'ControllerService'
  1163.                 loopedaction = false
  1164.             end
  1165.             if action == 'Dancing' then
  1166.                 if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude <= 2 then
  1167.                 dancingtime = dancingtime + 1/60
  1168.                 anglespeed = 1
  1169.                 speed = 0.25
  1170.                 if dancingtime <= 12 then
  1171.                 ncf = neckc0 * CFrame.Angles(math.pi/24.85, 0, 0)
  1172.                 rjcf = rootc0 * CFrame.new(0, 0.75 + -math.abs(math.sin(angle)), 0) * CFrame.Angles(0, 0, math.sin(angle)*.1)
  1173.                 rscf = rsc0 * CFrame.Angles(math.pi-math.abs(math.sin(angle))*.5, 0, math.rad(2))
  1174.                 lscf = lsc0 * CFrame.Angles(math.pi-math.abs(math.sin(angle))*.5, 0, -math.rad(2))
  1175.                 rlcf = rlc0 * CFrame.Angles(math.sin(angle)*.25, 0, math.rad(5))
  1176.                 llcf = llc0 * CFrame.Angles(-math.sin(angle)*.25, 0, -math.rad(5))
  1177.                 elseif dancingtime <= 22 then
  1178.                 ncf = neckc0 * CFrame.Angles(math.pi/24.85, 0, 0)
  1179.                 rjcf = rootc0 * CFrame.new(0, math.abs(math.cos(angle)*.05), 0) * CFrame.Angles(0, math.sin(angle)*.035, math.sin(angle)*.015)
  1180.                 rscf = rsc0 * CFrame.Angles(math.pi/2-math.abs(math.sin(angle))*.5, 0, math.rad(2))
  1181.                 lscf = lsc0 * CFrame.Angles(math.pi/2-math.abs(math.sin(angle))*.5, 0, -math.rad(2))
  1182.                 rlcf = rlc0 * CFrame.Angles(math.sin(angle)*.05, 0, math.rad(5))
  1183.                 llcf = llc0 * CFrame.Angles(-math.sin(angle)*.05, 0, -math.rad(5))
  1184.                 elseif dancingtime >= 22 then
  1185.                     dancingtime = 0
  1186.                 end
  1187.                 else
  1188.                 action = false
  1189.                 end
  1190.             end
  1191.             if action == 'Squatting' then
  1192.                 if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude <= 2 then
  1193.                 anglespeed = 0.15
  1194.                 speed = 0.25
  1195.                 ncf = neckc0 * CFrame.Angles(math.pi/12-math.sin(angle)*0.005,0,0)
  1196.                 rscf = rsc0 * CFrame.new(-.35, 0, -.35+math.sin(angle)*0.005) * CFrame.Angles(math.pi/2.2+math.sin(-angle)*.005, 0, -math.pi/4.5)
  1197.                 lscf = lsc0 * CFrame.new(.35, 0, -.35+math.sin(angle)*0.005) * CFrame.Angles(math.pi/2.2+math.sin(angle)*.005, 0, math.pi/4.5)
  1198.                 rjcf = rootc0 * CFrame.new(0, -.9, .55) * CFrame.Angles(-math.pi/12+math.sin(angle)*0.005, 0, 0)
  1199.                 llcf = llc0 * CFrame.new(0, .95, -.55) * CFrame.Angles(math.pi/12, 0, -math.rad(2))
  1200.                 rlcf = rlcf * CFrame.new(0, .95, -.55) * CFrame.Angles(math.pi/14, 0, math.rad(2))
  1201.                 else
  1202.                 action = false
  1203.                 end
  1204.             end
  1205.             if action == 'Sitting' then
  1206.                 if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude <= 2 then
  1207.                 anglespeed = 0.15
  1208.                 speed = 0.15
  1209.                 ncf = neckc0 * CFrame.Angles(math.sin(angle)*0.005,0,0)
  1210.                 rscf = rsc0 * CFrame.Angles(-math.pi/16, 0, math.pi/24)
  1211.                 lscf = lsc0 * CFrame.Angles(-math.pi/16, 0, -math.pi/24)
  1212.                 rjcf = rootc0 * CFrame.new(0, -1.9, 0) * CFrame.Angles(math.pi/16+math.sin(angle)*0.005, 0, 0)
  1213.                 llcf = llc0 * CFrame.new(0, .95, -.75) * CFrame.Angles(math.pi/5, 0, -math.rad(7))
  1214.                 rlcf = rlcf * CFrame.new(0, .95, -.75) * CFrame.Angles(math.pi/5, 0, math.rad(7))
  1215.                 else
  1216.                 action = false
  1217.                 end
  1218.             end
  1219.         end
  1220.         if hitz and hitz.Material == Enum.Material.Grass or hitz and hitz.Material == Enum.Material.Fabric or hitz and hitz.Material == Enum.Material.Pebble or hitz and hitz.Material == Enum.Material.Sand then
  1221.             sound.SoundId = "rbxasset://sounds/grass2.mp3"
  1222.         elseif hitz and hitz.Material == Enum.Material.Plastic or hitz and hitz.Material == Enum.Material.SmoothPlastic then
  1223.             sound.SoundId = "rbxasset://sounds/plasticplastic.mp3"
  1224.         elseif hitz and hitz.Material == Enum.Material.Brick or hitz and hitz.Material == Enum.Material.Slate or hitz and hitz.Material == Enum.Material.Granite or hitz and hitz.Material == Enum.Material.Concrete or hitz and hitz.Material == Enum.Material.Marble then
  1225.             sound.SoundId = "rbxasset://sounds/stone.mp3"
  1226.         elseif hitz and hitz.Material == Enum.Material.Ice then
  1227.             sound.SoundId = "rbxasset://sounds/ice2.mp3"
  1228.         elseif hitz and hitz.Material == Enum.Material.CorrodedMetal or hitz and hitz.Material == Enum.Material.DiamondPlate then
  1229.             sound.SoundId = "rbxasset://sounds/metal3.mp3"
  1230.         elseif hitz and hitz.Material == Enum.Material.Wood then
  1231.             sound.SoundId = "rbxasset://sounds/woodwood.mp3"
  1232.         end
  1233.         if not action then
  1234.         if humanoid.Sit then
  1235.             ncf = neckc0 * CFrame.Angles(0, 0, 0)
  1236.             rjcf = rootc0 * CFrame.new(0, -.5, 0) * CFrame.Angles(math.rad(10), 0, 0)
  1237.             rscf = rsc0 * CFrame.Angles(-math.rad(10), 0, math.rad(5))
  1238.             lscf = lsc0 * CFrame.Angles(-math.rad(10), 0, -math.rad(5))
  1239.             rlcf = rlc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2-math.rad(10), 0, math.rad(5.5))
  1240.             llcf = llc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2-math.rad(10), 0, -math.rad(5.5))
  1241.         elseif not hitz and torso.Velocity.y <= -0.5 then
  1242.             anglespeed = 1
  1243.             if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 15 then
  1244.                     if not waitingloop then
  1245.                     waitingloop = true
  1246.                         coroutine.wrap(function()
  1247.                             repeat wait() until hitz
  1248.                             action = 'StopSprinting'
  1249.                         end)()
  1250.                     end
  1251.             end
  1252.             anglespeed = 3
  1253.             local VelY = torso.Velocity.Y
  1254.             if VelY <= -85 then VelY = -85 end
  1255.                 ncf = neckc0 * CFrame.Angles(-math.sin(angle)*0.07, 0, 0)
  1256.                 rjcf = rootc0 * CFrame.Angles(math.sin(angle)*0.025, 0, 0)
  1257.                 rscf = rsc0 * CFrame.Angles(-math.rad(VelY)-math.sin(angle)*0.48, 0, math.rad(15.5+math.random(-1,3)))
  1258.                 lscf = lsc0 * CFrame.Angles(-math.rad(VelY)+math.sin(angle)*0.48, 0, -math.rad(15.5+math.random(1,3)))
  1259.                 rlcf = rlc0 * CFrame.Angles(-math.pi/16+-math.sin(angle)*0.35, -math.sin(angle)*0.008, math.rad(2.5))
  1260.                 llcf = llc0 * CFrame.Angles(-math.pi/17+math.sin(angle)*0.35, math.sin(angle)*0.008, math.rad(-2.5))
  1261.         elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude <= 2 then
  1262.             sound_play_time = 0
  1263.             if stopsprint and time_sprinted >= .8 then
  1264.                 time_sprinted = 0
  1265.                 action = 'StopSprinting'
  1266.             end
  1267.             time_sprinted = 0
  1268.             anglespeed = 0.15
  1269.             if prone then
  1270.             speed = 0.1
  1271.             ncf = neckc0 * CFrame.Angles(math.pi/2.1, 0, 0)
  1272.             rscf = rsc0 * CFrame.Angles(math.pi/.2-math.rad(10), -math.sin(angle)*0.02, 0)
  1273.             lscf = lsc0 * CFrame.Angles(math.pi/.2-math.rad(10), math.sin(angle)*0.02, 0)
  1274.             rjcf = rootc0 * CFrame.new(0, -.95, 0) * CFrame.Angles(-math.pi/2, 0, 0)
  1275.             llcf = llc0 * CFrame.new(0, 0, -.15) * CFrame.Angles(0, 0, math.rad(-5))
  1276.             rlcf = rlcf * CFrame.new(0, 0, -.15) * CFrame.Angles(0, 0, math.rad(5))
  1277.             elseif ctrl then
  1278.             speed = 0.15
  1279.             ncf = neckc0 * CFrame.Angles(-math.sin(angle)*0.07, 0, 0)
  1280.             rscf = rsc0 * CFrame.Angles(0, -math.sin(angle)*0.08, math.pi/18)
  1281.             lscf = lsc0 * CFrame.Angles(0, math.sin(angle)*0.08, -math.pi/18)
  1282.             rjcf = rootc0 * CFrame.new(0, -1.25, 0)
  1283.             llcf = llc0 * CFrame.new(0, 0, -.4999) * CFrame.Angles(-math.pi/2.2, 0, 0)
  1284.             rlcf = rlcf * CFrame.new(0, 1.25, -.85)
  1285.             elseif not ctrl and not prone then
  1286.             speed = 0.15
  1287.             idling = idling + 1/20
  1288.             if idling >= 20 then
  1289.             ncf = neckc0 * CFrame.Angles(math.pi/12-math.sin(angle)*0.005,0,0)
  1290.             rscf = rsc0 * CFrame.new(-.35, 0, -.35+math.sin(angle)*0.005) * CFrame.Angles(math.pi/2.2+math.sin(-angle)*.005, 0, -math.pi/4.5)
  1291.             lscf = lsc0 * CFrame.new(.35, 0, -.35+math.sin(angle)*0.005) * CFrame.Angles(math.pi/2.2+math.sin(angle)*.005, 0, math.pi/4.5)
  1292.             rjcf = rootc0 * CFrame.new(0, -.9, .55) * CFrame.Angles(-math.pi/12+math.sin(angle)*0.005, 0, 0)
  1293.             llcf = llc0 * CFrame.new(0, .95, -.55) * CFrame.Angles(math.pi/12, 0, -math.rad(2))
  1294.             rlcf = rlcf * CFrame.new(0, .95, -.55) * CFrame.Angles(math.pi/14, 0, math.rad(2))
  1295.             else
  1296.             ncf = neckc0 * CFrame.Angles(-math.sin(angle)*0.07, 0, 0)
  1297.             rjcf = rootc0 * CFrame.Angles(math.sin(angle)*0.025, 0, 0)
  1298.             rscf = rsc0 * CFrame.Angles(0, -math.sin(angle)*0.08, 0)
  1299.             lscf = lsc0 * CFrame.Angles(0, math.sin(angle)*0.08, 0)
  1300.             rlcf = rlc0 * CFrame.Angles(-math.sin(angle)*0.025, -math.sin(angle)*0.08, math.rad(2.5))
  1301.             llcf = llc0 * CFrame.Angles(-math.sin(angle)*0.025, math.sin(angle)*0.08, -math.rad(2.5))
  1302.         end
  1303.             end
  1304.         elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude <= 10 then
  1305.             if stopsprint and time_sprinted >= .8 then
  1306.                 action = 'StopSprinting'
  1307.             end
  1308.             sound_play_time = sound_play_time + 1/60
  1309.             time_sprinted = 0
  1310.             idling = 0
  1311.             anglespeed = 1.5
  1312.             if prone then
  1313.             speed = 0.1
  1314.             anglespeed = .85
  1315.             ncf = neckc0 * CFrame.Angles(math.pi/2.1, 0, 0)
  1316.             rscf = rsc0 * CFrame.new(0, .7+ math.sin(angle)*.35, .1 + math.cos(-angle)*.1) * CFrame.Angles(math.pi/.2-math.rad(10), -math.sin(angle)*0.02, -math.pi/8)
  1317.             lscf = lsc0 * CFrame.new(0, .7+ -math.sin(angle)*.35, .1 - math.cos(angle)*.1) * CFrame.Angles(math.pi/.2-math.rad(10), math.sin(angle)*0.02, math.pi/8)
  1318.             rjcf = rootc0 * CFrame.new(0, -.95, 0) * CFrame.Angles(-math.pi/2, 0, 0)
  1319.             llcf = llc0 * CFrame.new(0, .35 + -math.sin(angle)*.35, 0) * CFrame.new(0, 0, -.15) * CFrame.Angles(0, 0, math.rad(-5))
  1320.             rlcf = rlcf * CFrame.new(0, .35 + math.sin(angle)*.35, 0) * CFrame.new(0, 0, -.15) * CFrame.Angles(0, 0, math.rad(5))
  1321.             elseif ctrl then
  1322.             speed = 0.25
  1323.             if sound_play_time >= .4 then
  1324.                 sound.Volume = .45
  1325.                 sound:play()
  1326.                 sound_play_time = 0
  1327.             end
  1328.             ncf = neckc0 * CFrame.Angles(math.pi/12,0,0)
  1329.             rscf = rsc0 * CFrame.new(0, 0, math.sin(angle)*0.025) * CFrame.Angles(math.pi/24+math.sin(-angle)*.05, 0, math.pi/18-math.abs(mvmnt)*0.02)
  1330.             lscf = lsc0 * CFrame.new(0, 0, math.sin(angle)*0.025) * CFrame.Angles(math.pi/24+math.sin(angle)*.05, 0, -math.pi/18+math.abs(mvmnt)*0.02)
  1331.             rjcf = rootc0 * CFrame.new(0, -.7, 0) * CFrame.Angles(math.abs(math.sin(angle))*0.025 + -math.pi/12, 0, 0)
  1332.             llcf = llc0 * CFrame.new(0, .85 + .2 - math.cos(angle)*.2, -.5 + (-.4+math.sin(angle)*0.25)) * CFrame.Angles(math.pi/18 + -math.pi/10 - math.sin(angle)*.45, 0, 0)
  1333.             rlcf = rlcf * CFrame.new(0, .85 + .2 + math.cos(angle)*.2, -.5 + (-.25-math.sin(angle)*0.25)) * CFrame.Angles(math.pi/18 + -math.pi/10 + math.sin(angle)*.45, 0, 0)
  1334.             elseif not ctrl and not prone then
  1335.             speed = 0.25
  1336.             if sound_play_time >= .4 then
  1337.                 sound.Volume = .65
  1338.                 sound:play()
  1339.                 sound_play_time = 0
  1340.             end
  1341.             rjcf = rootc0 * CFrame.Angles(math.abs(math.sin(angle))*0.025 + -math.pi/64, 0, 0)
  1342.             rscf = rsc0 * CFrame.new(0, 0, math.sin(angle)*0.125) * CFrame.Angles(math.pi/24+math.sin(angle)*.5, 0, -math.abs(mvmnt)*0.02)
  1343.             lscf = lsc0 * CFrame.new(0, 0, math.sin(angle)*0.125) * CFrame.Angles(math.pi/24+math.sin(-angle)*.5, 0, math.abs(mvmnt)*0.02)
  1344.             rlcf = rlc0 * CFrame.new(0, .075 + -math.cos(-angle)*.075, -.05+math.sin(angle)*0.1) * CFrame.Angles(math.sin(-angle)*.45, 0, math.rad(.5))
  1345.             llcf = llc0 * CFrame.new(0, .075 - -math.cos(angle)*.075, -.05-math.sin(angle)*0.1) * CFrame.Angles(math.sin(angle)*.45, 0, -math.rad(.5))
  1346.             end
  1347.         elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 15 then
  1348.             idling = 0
  1349.             time_sprinted = time_sprinted + 1/60
  1350.             sound_play_time = sound_play_time + 1/60
  1351.             stopsprint = true --when released
  1352.             anglespeed = 2
  1353.             speed = .3
  1354.             if sound_play_time >= .375 then
  1355.                 sound.Volume = .75
  1356.                 sound:play()
  1357.                 sound_play_time = 0
  1358.             end
  1359.             local RotVelocityZ = torso.RotVelocity.Y
  1360.             if RotVelocityZ >= 15 then
  1361.                 RotVelocityZ = 15
  1362.             elseif RotVelocityZ <= -15 then
  1363.                 RotVelocityZ = -15
  1364.             end
  1365.             ncf = neckc0 * CFrame.Angles(0, -math.sin(angle)*.1, 0)
  1366.             rscf = rsc0 * CFrame.new(0, 0, math.sin(angle)*0.125) * CFrame.Angles(math.pi/24+math.sin(angle)*1.1, 0, -math.abs(mvmnt)*0.02)
  1367.             lscf = lsc0 * CFrame.new(0, 0, math.sin(angle)*0.125) * CFrame.Angles(math.pi/24+math.sin(-angle)*1.1, 0, math.abs(mvmnt)*0.02)
  1368.             rjcf = rootc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.abs(math.sin(angle))*0.055 + -math.pi/18, math.sin(angle)*.1, math.sin(angle)*.045 + math.rad(RotVelocityZ)*2.5)
  1369.             rlcf = rlc0 * CFrame.new(0, .3 + -math.cos(-angle)*.3, -.2+math.sin(angle)*0.25) * CFrame.Angles(-math.pi/18+math.sin(-angle)*1.3, 0, math.rad(.5))
  1370.             llcf = llc0 * CFrame.new(0, .3 - -math.cos(angle)*.3, -.05-math.sin(angle)*0.25) * CFrame.Angles(-math.pi/18+math.sin(angle)*1.3, 0, -math.rad(.5))
  1371.             --rlcf -.2+math.sin(angle)*0.25
  1372.             --llcf -.05-math.sin(angle)*0.25
  1373.         end
  1374.         end
  1375.             if knife then
  1376.                 if prone then
  1377.                     rscf = rsc0 * CFrame.Angles(math.rad(170), -math.rad(10), -.2)
  1378.                 else
  1379.                     rscf = rsc0 * CFrame.Angles(math.rad(50), -math.rad(10), -.2)
  1380.                 end
  1381.             elseif flashlight then
  1382.                 if prone then
  1383.                     rscf = rsc0 * CFrame.Angles(math.rad(170), -math.rad(10), -.2)
  1384.                 else
  1385.                     rscf = rsc0 * CFrame.Angles(math.rad(70), -math.rad(10), -.2)
  1386.                 end
  1387.             end
  1388.             if knifeslash then
  1389.                 if prone then
  1390.                     rscf = rsc0 * CFrame.Angles(math.rad(190), -math.rad(10), -.2)
  1391.                 else
  1392.                     rscf = rsc0 * CFrame.Angles(math.rad(100), -math.rad(10), -.2)
  1393.                 end
  1394.             end
  1395.     rm.C0 = clerp(rm.C0,rscf,speed)
  1396.     lm.C0 = clerp(lm.C0,lscf,speed)
  1397.     rj.C0 = clerp(rj.C0,rjcf,speed)
  1398.     rlegm.C0 = clerp(rlegm.C0,rlcf,speed)
  1399.     llegm.C0 = clerp(llegm.C0,llcf,speed)
  1400.     neck.C0 = clerp(neck.C0,ncf,speed)
  1401. end
  1402. end)
  1403. hed.face.Texture = "rbxassetid://524523035"
  1404. z = Instance.new("Sound", char)
  1405. z.SoundId = "rbxassetid://304277737"--412316161
  1406. z.Looped = true
  1407. z.Pitch = 1
  1408. z.Volume = 1
  1409. wait(.1)
  1410. z:Play()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement