Roblox How Free Doge Head

Jul 27th, 2014

Today i make my beautiful dog a roblox account. How to play egg farm simulator roblox. Drop a like for a puppyFollow me on Twitter(I tweet amazing things): me on Instag.

Never
Roblox How Free Doge HeadHow
Not a member of Pastebin yet?Sign Up, it unlocks many cool features!
  1. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  2. if trace > 0 then
  3. local recip = 0.5/s
  4. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  5. local i = 0
  6. i = 1
  7. if m22 > (i 0 and m00 or m11) then
  8. end
  9. local s = math.sqrt(m00-m11-m22+1)
  10. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  11. local s = math.sqrt(m11-m22-m00+1)
  12. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  13. local s = math.sqrt(m22-m00-m11+1)
  14. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  15. end
  16. local function QuaternionToCFrame(px, py, pz, x, y, z, w)
  17. local wx, wy, wz = w*xs, w*ys, w*zs
  18. local xy = x*ys
  19. local yy = y*ys
  20. local zz = z*zs
  21. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  22. local function QuaternionSlerp(a, b, t)
  23. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  24. if cosTheta >= 0.0001 then
  25. local theta = math.acos(cosTheta)
  26. startInterp = math.sin((1-t)*theta)*invSinTheta
  27. else
  28. finishInterp = t
  29. else
  30. local theta = math.acos(-cosTheta)
  31. startInterp = math.sin((t-1)*theta)*invSinTheta
  32. else
  33. finishInterp = t
  34. end
  35. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  36. function clerp(a,b,t)
  37. local qb = {QuaternionFromCFrame(b)}
  38. local bx, by, bz = b.x, b.y, b.z
  39. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  40. plr = game:service'Players'.LocalPlayer
  41. mouse = plr:GetMouse()
  42. torso = char:findFirstChild('Torso')
  43. ra = char:findFirstChild('Right Arm')
  44. rl = char:findFirstChild('Right Leg')
  45. rs = torso:findFirstChild('Right Shoulder')
  46. rh = torso:findFirstChild('Right Hip')
  47. neck = torso:findFirstChild('Neck')
  48. rj = char:findFirstChild('HumanoidRootPart'):findFirstChild('RootJoint')
  49. rootpart = char:findFirstChild('HumanoidRootPart')
  50. if anim then
  51. end
  52. rm.C0 = CFrame.new(1.5, 0.5, 0)
  53. rm.Part0 = torso
  54. local lm = Instance.new('Motor', torso)
  55. lm.C1 = CFrame.new(0, 0.5, 0)
  56. lm.Part1 = la
  57. local rlegm = Instance.new('Motor', torso)
  58. rlegm.C1 = CFrame.new(0, 1, 0)
  59. rlegm.Part1 = rl
  60. llegm.C0 = CFrame.new(-0.5, -1, 0)
  61. llegm.Part0 = torso
  62. neck.C1 = CFrame.new(0, -0.5, 0)
  63. rj.C1 = CFrame.new()
  64. sound.SoundId = 'http://www.roblox.com/asset/?id=130797915'
  65. sound.Looped = true
  66. for i,v in pairs(char:children()) do
  67. v:Destroy()
  68. end
  69. game:service'InsertService':LoadAsset(151784320):children()[1].Parent = char
  70. print'sweg, madiik made dis kthx' --ogm y found meh sekret
  71. local angle = 0
  72. local humanwalk = false
  73. rsc0 = rm.C0
  74. llc0 = llegm.C0
  75. neckc0 = neck.C0
  76. local controllerService = game:GetService('ControllerService')
  77. local controller = controllerService:GetChildren()[1]
  78. controller.Parent = nil
  79. Instance.new('HumanoidController', game:service'ControllerService')
  80. Instance.new('SkateboardController', game:service'ControllerService')
  81. Instance.new('VehicleController', game:service'ControllerService')
  82. local controller = controllerService:GetChildren()[1]
  83. if k 'q' then
  84. end
  85. if not sound.IsPlaying then
  86. sound.SoundId = 'http://www.roblox.com/asset/?id=130802245'
  87. sound:play()
  88. end
  89. if not sound.IsPlaying then
  90. sound.SoundId = 'http://www.roblox.com/asset/?id=130797915'
  91. sound:play()
  92. end
  93. if not sound.IsPlaying then
  94. sound.SoundId = 'http://www.roblox.com/asset/?id=149713968'
  95. sound:play()
  96. end
  97. humanoid.WalkSpeed = 34
  98. mouse.KeyUp:connect(function(k)
  99. if string.byte(k) 48 then
  100. end
  101. end)
  102. while wait() do
  103. mvmnt = math.pi * math.sin(math.pi*2/100*(angle*10))
  104. local lscf = lsc0
  105. local llcf = llc0
  106. local ncf = neckc0
  107. local rayz = Ray.new(rootpart.Position, Vector3.new(0, -6, 0))
  108. local hitz, enz = workspace:findPartOnRay(rayz, char)
  109. if sound.IsPlaying then
  110. end
  111. if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude > 2 then
  112. ncf = neckc0 * CFrame.Angles(math.pi/5, 0, 0)
  113. rjcf = CFrame.new() * CFrame.Angles(-math.pi/5, math.sin(angle)*0.05, 0)
  114. rscf = rsc0 * CFrame.Angles(math.pi/1.7+math.sin(angle)*0.1, 0, 0)
  115. lscf = lsc0 * CFrame.Angles(math.pi/1.7+math.sin(-angle)*0.1, 0, 0)
  116. rlcf = rlc0 * CFrame.Angles(-math.pi/10+math.sin(-angle)*0.3, 0, 0)
  117. llcf = llc0 * CFrame.Angles(-math.pi/10+math.sin(angle)*0.3, 0, 0)
  118. else
  119. ncf = neckc0 * CFrame.Angles(math.pi/14, 0, 0)
  120. rjcf = CFrame.new() * CFrame.Angles(-math.pi/18, math.sin(angle)*0.05, 0)
  121. rscf = rsc0 * CFrame.Angles(-math.pi/10+math.sin(angle)*0.2, 0, 0)
  122. lscf = lsc0 * CFrame.Angles(-math.pi/10+math.sin(-angle)*0.2, 0, 0)
  123. rlcf = rlc0 * CFrame.new(0, 0.7, -0.5) CFrame.Angles(-math.pi/14, 0, 0)
  124. elseif humanoid.Sit then
  125. if sound.IsPlaying and sound.SoundId 'http://www.roblox.com/asset/?id=130797915' then
  126. ncf = neckc0 * CFrame.Angles(math.pi/5-math.sin(angle)*0.1, 0, 0)
  127. rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, 0, 0)
  128. rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15))
  129. lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15))
  130. rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
  131. llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
  132. elseif sound.IsPlaying and sound.SoundId 'http://www.roblox.com/asset/?id=135570347' then
  133. ncf = neckc0 * CFrame.Angles(math.pi/5-math.abs(math.sin(angle))*0.3, 0, 0)
  134. rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, 0, 0)
  135. rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15))
  136. lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15))
  137. rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
  138. llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
  139. elseif sound.IsPlaying and sound.SoundId 'http://www.roblox.com/asset/?id=149713968' then
  140. ncf = neckc0 * CFrame.Angles(math.pi/5, 0, math.sin(angle)*0.08)
  141. rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, math.sin(angle)*0.01, 0)
  142. rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15))
  143. lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15))
  144. rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
  145. llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
  146. anglespeed = 1/2
  147. ncf = neckc0 * CFrame.Angles(math.pi/5, 0, math.sin(angle)*0.08)
  148. rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, math.sin(angle)*0.01, 0)
  149. rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15))
  150. lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15))
  151. rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
  152. llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
  153. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then
  154. if sound.IsPlaying and sound.SoundId 'http://www.roblox.com/asset/?id=130797915' then
  155. ncf = neckc0 * CFrame.Angles(math.pi/10-math.sin(angle)*0.07, 0, 0)
  156. rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(-math.pi/10, math.sin(angle)*0.001, 0)
  157. rscf = rsc0 * CFrame.Angles(math.pi/1+math.sin(angle)*0.5, 0, 0)
  158. lscf = lsc0 * CFrame.Angles(math.pi/1+math.sin(angle)*0.5, 0, 0)
  159. rlcf = rlc0 * CFrame.Angles(math.pi/10, math.sin(angle)*0.08, math.rad(6.5))
  160. llcf = llc0 * CFrame.Angles(math.pi/10, -math.sin(angle)*0.08, -math.rad(6.5))
  161. elseif sound.IsPlaying and sound.SoundId 'http://www.roblox.com/asset/?id=149713968' then
  162. ncf = neckc0 * CFrame.Angles(math.pi/10-math.abs(math.sin(angle))*0.3, 0, 0)
  163. rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(-math.pi/20, math.sin(angle)*0.001, 0)
  164. rscf = rsc0 * CFrame.Angles(math.pi/2+math.abs(math.sin(angle)*1), 0, 0)
  165. lscf = lsc0 * CFrame.Angles(math.pi/2+math.abs(math.sin(angle)*1), 0, 0)
  166. rlcf = rlc0 * CFrame.Angles(math.pi/20, math.sin(angle)*0.08, math.rad(2.5))
  167. llcf = llc0 * CFrame.Angles(math.pi/20, -math.sin(angle)*0.08, -math.rad(2.5))
  168. elseif sound.IsPlaying and sound.SoundId 'http://www.roblox.com/asset/?id=130802245' then
  169. ncf = neckc0 * CFrame.Angles(math.sin(angle)*0.07, math.rad(30), 0)
  170. rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(0, math.sin(angle)*0.001, 0)
  171. rscf = rsc0 * CFrame.Angles(math.sin(angle)*0.05, 0, 0)
  172. lscf = lsc0 * CFrame.Angles(math.sin(-angle)*0.05, 0, 0)
  173. rlcf = rlc0 * CFrame.new(0, -0.1 + math.abs(mvmnt)*0.1, -0.1) * CFrame.Angles(0, math.rad(5), math.rad(5))
  174. llcf = llc0 * CFrame.Angles(0, math.rad(2.5), math.rad(1))
  175. if humanwalk then
  176. ncf = neckc0 * CFrame.Angles(-math.sin(angle)*0.07, 0, 0)
  177. rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(0, math.sin(angle)*0.001, 0)
  178. rscf = rsc0 * CFrame.Angles(math.sin(angle)*0.1, 0, 0)
  179. lscf = lsc0 * CFrame.Angles(math.sin(-angle)*0.1, 0, 0)
  180. rlcf = rlc0 * CFrame.Angles(0, math.sin(angle)*0.08, math.rad(2.5))
  181. llcf = llc0 * CFrame.Angles(0, -math.sin(angle)*0.08, -math.rad(2.5))
  182. anglespeed = 1/2
  183. ncf = neckc0 * CFrame.Angles(math.pi/5, 0, math.sin(angle)*0.08)
  184. rjcf = CFrame.new(0, -2, 0) * CFrame.Angles(-math.pi/5, math.sin(angle)*0.01, 0)
  185. rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15))
  186. lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15))
  187. rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
  188. llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
  189. end
  190. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 20 then
  191. sound:stop()
  192. if humanwalk then
  193. ncf = neckc0 * CFrame.Angles(math.pi/24, mvmnt*.02, 0)
  194. rjcf = CFrame.new(0, math.abs(mvmnt)*0.05, 0) * CFrame.Angles(-math.pi/24, -mvmnt*.02, 0)
  195. rscf = rsc0 * CFrame.Angles(math.sin(angle)*1.25, 0, -math.abs(mvmnt)*0.02)
  196. lscf = lsc0 * CFrame.Angles(math.sin(-angle)*1.25, 0, math.abs(mvmnt)*0.02)
  197. rlcf = rlc0 * CFrame.Angles(math.sin(-angle)*1, 0, math.rad(.5))
  198. llcf = llc0 * CFrame.Angles(math.sin(angle)*1, 0, -math.rad(.5))
  199. anglespeed = 4
  200. ncf = neckc0 * CFrame.new(0, 0, .2) * CFrame.Angles(math.pi/1.9, 0, 0)
  201. rjcf = CFrame.new(0, -1.5+math.abs(mvmnt)*0.05, 0) * CFrame.Angles(-math.pi/1.9, math.sin(mvmnt/2)*0.05, 0)
  202. rscf = rsc0 * CFrame.new(-.45, 0.2, -.4+math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2+math.sin(angle)*0.7, 0, math.rad(5))
  203. lscf = lsc0 * CFrame.new(.45, 0.2, .1-math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2+math.sin(-angle)*0.7, 0, -math.rad(5))
  204. rlcf = rlc0 * CFrame.new(0, 0, -.3+math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2.5+math.sin(-angle)*0.6, 0, math.abs(mvmnt)*0.025)
  205. llcf = llc0 * CFrame.new(0, 0, .3-math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2.5+math.sin(angle)*.6, 0, -math.abs(mvmnt)*0.025)
  206. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 20 then
  207. sound:stop()
  208. if humanwalk then
  209. ncf = neckc0 * CFrame.Angles(math.pi/20, math.sin(angle)*.04, 0)
  210. rjcf = CFrame.new(0, -.4 + math.abs(mvmnt)*0.25, 0) * CFrame.Angles(-math.pi/20, -math.sin(angle)*.08, 0)
  211. rscf = rsc0 * CFrame.new(0, 0, -.3+math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/18+math.sin(angle)*1.5, 0, -math.abs(mvmnt)*0.02)
  212. lscf = lsc0 * CFrame.new(0, 0, .3-math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/18+math.sin(-angle)*1.5, 0, math.abs(mvmnt)*0.02)
  213. rlcf = rlc0 * CFrame.new(0, 0, -.6+math.abs(mvmnt)*0.125) * CFrame.Angles(-math.pi/18+math.sin(-angle)*1.3, 0, math.rad(.5))
  214. llcf = llc0 * CFrame.new(0, 0, -math.abs(mvmnt)*0.125) * CFrame.Angles(-math.pi/18+math.sin(angle)*1.3, 0, -math.rad(.5))
  215. anglespeed = 5.5
  216. ncf = neckc0 * CFrame.new(0, 0, .2) * CFrame.Angles(math.pi/1.9+math.sin(mvmnt/2)*0.05, 0, 0)
  217. rjcf = CFrame.new(0, -1.3+math.abs(mvmnt)*0.05, 0) * CFrame.Angles(-math.pi/1.9+math.abs(mvmnt/2)*0.1, 0, 0)
  218. rscf = rsc0 * CFrame.new(-1, 0.2, -.5) * CFrame.Angles(math.pi/2+math.sin(angle)*1.8, 0, math.rad(5))
  219. lscf = lsc0 * CFrame.new(1, 0.2, -.5) * CFrame.Angles(math.pi/2+math.sin(angle)*1.8, 0, -math.rad(5))
  220. rlcf = rlc0 * CFrame.new(0, .3-math.abs(mvmnt)*0.125, -.3+math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2.5+math.sin(-angle)*1.4, 0, math.abs(mvmnt)*0.025)
  221. llcf = llc0 * CFrame.new(0, .3-math.abs(mvmnt)*0.125, .3-math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2.5+math.sin(-angle)*1.4, 0, -math.abs(mvmnt)*0.025)
  222. end
  223. rm.C0 = clerp(rm.C0,rscf,speed)
  224. rj.C0 = clerp(rj.C0,rjcf,speed)
  225. rlegm.C0 = clerp(rlegm.C0,rlcf,speed)
  226. end
RAW Paste Data

Free Doge Roblox

Roblox How Free Doge Head Minecraft