Advertisement
Guest User

dolly

a guest
Dec 15th, 2019
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.77 KB | None | 0 0
  1. --by lookingbloxed
  2. print("i wuv u")
  3.  
  4. if game:GetService("RunService"):IsClient() then error("This aint it chief") end
  5.  
  6. local Player,game,owner = owner,game
  7.  
  8. local RealPlayer = Player
  9.  
  10. do print("made by looking bloxed")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end
  11.  
  12. function sandbox(var,func)
  13. local env = getfenv(func)
  14. local newenv = setmetatable({},{
  15. __index = function(self,k)
  16. if k=="script" then
  17. return var
  18. else
  19. return env[k]
  20. end
  21. end,
  22. })
  23. setfenv(func,newenv)
  24. return func
  25. end
  26. cors = {}
  27. mas = Instance.new("Model",game:GetService("Lighting"))
  28. Tool0 = Instance.new("Tool")
  29. BodyColors1 = Instance.new("BodyColors")
  30. Shirt2 = Instance.new("Shirt")
  31. Accessory3 = Instance.new("Accessory")
  32. Part4 = Instance.new("Part")
  33. SpecialMesh5 = Instance.new("SpecialMesh")
  34. StringValue6 = Instance.new("StringValue")
  35. Weld7 = Instance.new("Weld")
  36. Vector3Value8 = Instance.new("Vector3Value")
  37. Accessory9 = Instance.new("Accessory")
  38. Part10 = Instance.new("Part")
  39. SpecialMesh11 = Instance.new("SpecialMesh")
  40. Weld12 = Instance.new("Weld")
  41. Vector3Value13 = Instance.new("Vector3Value")
  42. Camera14 = Instance.new("Camera")
  43. Accessory15 = Instance.new("Accessory")
  44. Part16 = Instance.new("Part")
  45. SpecialMesh17 = Instance.new("SpecialMesh")
  46. StringValue18 = Instance.new("StringValue")
  47. Weld19 = Instance.new("Weld")
  48. Vector3Value20 = Instance.new("Vector3Value")
  49. Accessory21 = Instance.new("Accessory")
  50. Part22 = Instance.new("Part")
  51. SpecialMesh23 = Instance.new("SpecialMesh")
  52. Weld24 = Instance.new("Weld")
  53. Vector3Value25 = Instance.new("Vector3Value")
  54. Part26 = Instance.new("Part")
  55. SpecialMesh27 = Instance.new("SpecialMesh")
  56. Decal28 = Instance.new("Decal")
  57. Part29 = Instance.new("Part")
  58. Motor6D30 = Instance.new("Motor6D")
  59. Part31 = Instance.new("Part")
  60. Part32 = Instance.new("Part")
  61. Part33 = Instance.new("Part")
  62. Part34 = Instance.new("Part")
  63. Part35 = Instance.new("Part")
  64. Script36 = Instance.new("Script")
  65. Script37 = Instance.new("Script")
  66. Camera38 = Instance.new("Camera")
  67. Tool0.Name = "Doll"
  68. Tool0.Parent = mas
  69. Tool0.Grip = CFrame.new(0, -0.140964508, -0.0255393982, 1, 0, -0, 0, 0.994820893, 0.101644486, 0, -0.101644486, 0.994820893)
  70. Tool0.GripForward = Vector3.new(0, -0.101644486, -0.994820893)
  71. Tool0.GripPos = Vector3.new(0, -0.140964508, -0.0255393982)
  72. Tool0.GripUp = Vector3.new(0, 0.994820893, -0.101644486)
  73. BodyColors1.Parent = Tool0
  74. BodyColors1.HeadColor = BrickColor.new("Bright violet")
  75. BodyColors1.HeadColor3 = Color3.new(0.419608, 0.196078, 0.486275)
  76. BodyColors1.LeftArmColor = BrickColor.new("Bright violet")
  77. BodyColors1.LeftArmColor3 = Color3.new(0.419608, 0.196078, 0.486275)
  78. BodyColors1.LeftLegColor = BrickColor.new("Bright violet")
  79. BodyColors1.LeftLegColor3 = Color3.new(0.419608, 0.196078, 0.486275)
  80. BodyColors1.RightArmColor = BrickColor.new("Bright violet")
  81. BodyColors1.RightArmColor3 = Color3.new(0.419608, 0.196078, 0.486275)
  82. BodyColors1.RightLegColor = BrickColor.new("Bright violet")
  83. BodyColors1.RightLegColor3 = Color3.new(0.419608, 0.196078, 0.486275)
  84. BodyColors1.TorsoColor = BrickColor.new("Lavender")
  85. BodyColors1.TorsoColor3 = Color3.new(0.54902, 0.356863, 0.623529)
  86. Shirt2.Name = "Shirt"
  87. Shirt2.Parent = Tool0
  88. Shirt2.ShirtTemplate = "http://www.roblox.com/asset/?id=4187072613"
  89. Accessory3.Name = "Cartoony Santa"
  90. Accessory3.Parent = Tool0
  91. Accessory3.AttachmentForward = Vector3.new(-3.02998127e-15, 4.1444258e-16, -1)
  92. Accessory3.AttachmentPoint = CFrame.new(-0.0870000347, 0.255001783, -0.114999667, 1, 7.87137555e-09, 3.02998127e-15, -7.87137555e-09, 1, -4.1444258e-16, -3.02998127e-15, 4.14442554e-16, 1)
  93. Accessory3.AttachmentPos = Vector3.new(-0.0870000347, 0.255001783, -0.114999667)
  94. Accessory3.AttachmentRight = Vector3.new(1, -7.87137555e-09, -3.02998127e-15)
  95. Accessory3.AttachmentUp = Vector3.new(7.87137555e-09, 1, 4.14442554e-16)
  96. Part4.Name = "Handle"
  97. Part4.Parent = Accessory3
  98. Part4.CFrame = CFrame.new(8.02680206, 5.59419203, -10.8757277, 1, -7.87137555e-09, -3.02998127e-15, 7.23703142e-09, 0.919411123, 0.39329809, -3.09579384e-09, -0.39329806, 0.919411123)
  99. Part4.Orientation = Vector3.new(-23.1599998, 0, 0)
  100. Part4.Position = Vector3.new(8.02680206, 5.59419203, -10.8757277)
  101. Part4.Rotation = Vector3.new(-23.1599998, 0, 0)
  102. Part4.Size = Vector3.new(0.586264551, 0.753768742, 0.670016646)
  103. Part4.BottomSurface = Enum.SurfaceType.Smooth
  104. Part4.CanCollide = false
  105. Part4.TopSurface = Enum.SurfaceType.Smooth
  106. SpecialMesh5.Name = "SpecialMesh"
  107. SpecialMesh5.Parent = Part4
  108. SpecialMesh5.MeshId = "rbxassetid://4459246846"
  109. SpecialMesh5.Scale = Vector3.new(0.335008383, 0.335008383, 0.335008383)
  110. SpecialMesh5.TextureId = "http://www.roblox.com/asset/?id=4459254745"
  111. SpecialMesh5.MeshType = Enum.MeshType.FileMesh
  112. StringValue6.Name = "AvatarPartScaleType"
  113. StringValue6.Parent = Part4
  114. StringValue6.Value = "Classic"
  115. Weld7.Name = "AccessoryWeld"
  116. Weld7.Parent = Part4
  117. Weld7.C0 = CFrame.new(-0.0291457344, 0.0854277164, -0.0385258459, 1, 7.87137555e-09, 3.02998127e-15, -7.87137555e-09, 1, -4.1444258e-16, -3.02998127e-15, 4.14442554e-16, 1)
  118. Weld7.C1 = CFrame.new(0, 0.201004997, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  119. Weld7.Part0 = Part4
  120. Weld7.Part1 = Part26
  121. Weld7.part1 = Part26
  122. Vector3Value8.Name = "OriginalSize"
  123. Vector3Value8.Parent = Part4
  124. Vector3Value8.Value = Vector3.new(0.586264551, 0.753768742, 0.670016646)
  125. Accessory9.Name = "LargeTasseledScarf"
  126. Accessory9.Parent = Tool0
  127. Accessory9.AttachmentPoint = CFrame.new(-0.023, 1.5, 0.00999999978, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  128. Accessory9.AttachmentPos = Vector3.new(-0.023, 1.5, 0.00999999978)
  129. Part10.Name = "Handle"
  130. Part10.Parent = Accessory9
  131. Part10.CFrame = CFrame.new(8.0053606, 5.14253807, -10.7923698, 1, 6.83440315e-31, 0, -6.83440315e-31, 1, 0, 0, 0, 1)
  132. Part10.Position = Vector3.new(8.0053606, 5.14253807, -10.7923698)
  133. Part10.Size = Vector3.new(0.536013186, 0.760469556, 0.603014946)
  134. Part10.BottomSurface = Enum.SurfaceType.Smooth
  135. Part10.CanCollide = false
  136. Part10.TopSurface = Enum.SurfaceType.Smooth
  137. Part10.FormFactor = Enum.FormFactor.Custom
  138. Part10.formFactor = Enum.FormFactor.Custom
  139. SpecialMesh11.Parent = Part10
  140. SpecialMesh11.MeshId = "http://www.roblox.com/asset/?id=99856331 "
  141. SpecialMesh11.Scale = Vector3.new(0.335008383, 0.335008383, 0.335008383)
  142. SpecialMesh11.TextureId = "http://www.roblox.com/asset/?id=323400642 "
  143. SpecialMesh11.MeshType = Enum.MeshType.FileMesh
  144. Weld12.Name = "AccessoryWeld"
  145. Weld12.Parent = Part10
  146. Weld12.C0 = CFrame.new(-0.00770517113, 0.167504087, 0.00325883902, 1, -6.83440315e-31, 0, 6.83440315e-31, 1, -0, 0, 0, 1)
  147. Weld12.C1 = CFrame.new(0, 0.335008323, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  148. Weld12.Part0 = Part10
  149. Weld12.Part1 = Part35
  150. Weld12.part1 = Part35
  151. Vector3Value13.Name = "OriginalSize"
  152. Vector3Value13.Parent = Part10
  153. Vector3Value13.Value = Vector3.new(0.536013186, 0.760469556, 0.603014946)
  154. Camera14.Name = "ThumbnailCamera"
  155. Camera14.Parent = Accessory9
  156. Camera14.CFrame = CFrame.new(-1.34388959, 0.256716818, -7.8469553, -0.825114369, 0.128626108, -0.550128758, -0, 0.973738194, 0.22767061, 0.564965785, 0.18785429, -0.803445339)
  157. Camera14.CoordinateFrame = CFrame.new(-1.34388959, 0.256716818, -7.8469553, -0.825114369, 0.128626108, -0.550128758, -0, 0.973738194, 0.22767061, 0.564965785, 0.18785429, -0.803445339)
  158. Camera14.Focus = CFrame.new(-0.243632078, -0.198624402, -6.24006462, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  159. Camera14.focus = CFrame.new(-0.243632078, -0.198624402, -6.24006462, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  160. Accessory15.Name = "Pie In Face"
  161. Accessory15.Parent = Tool0
  162. Accessory15.AttachmentForward = Vector3.new(-3.02998127e-15, 4.1444258e-16, -1)
  163. Accessory15.AttachmentPoint = CFrame.new(-0.431182861, 0.37127924, 0.262039185, 1, 7.87137555e-09, 3.02998127e-15, -7.87137555e-09, 1, -4.1444258e-16, -3.02998127e-15, 4.14442554e-16, 1)
  164. Accessory15.AttachmentPos = Vector3.new(-0.431182861, 0.37127924, 0.262039185)
  165. Accessory15.AttachmentRight = Vector3.new(1, -7.87137555e-09, -3.02998127e-15)
  166. Accessory15.AttachmentUp = Vector3.new(7.87137555e-09, 1, 4.14442554e-16)
  167. Part16.Name = "Handle"
  168. Part16.Parent = Accessory15
  169. Part16.CFrame = CFrame.new(8.14210606, 5.50869942, -10.9765387, 1, -7.87137555e-09, -3.02998127e-15, 7.23703142e-09, 0.919411123, 0.39329809, -3.09579384e-09, -0.39329806, 0.919411123)
  170. Part16.Orientation = Vector3.new(-23.1599998, 0, 0)
  171. Part16.Position = Vector3.new(8.14210606, 5.50869942, -10.9765387)
  172. Part16.Rotation = Vector3.new(-23.1599998, 0, 0)
  173. Part16.Size = Vector3.new(0.402009994, 0.435510784, 0.428475618)
  174. Part16.BottomSurface = Enum.SurfaceType.Smooth
  175. Part16.CanCollide = false
  176. Part16.TopSurface = Enum.SurfaceType.Smooth
  177. SpecialMesh17.Name = "SpecialMesh"
  178. SpecialMesh17.Parent = Part16
  179. SpecialMesh17.MeshId = "rbxassetid://4448257263"
  180. SpecialMesh17.Scale = Vector3.new(0.335008383, 0.335008383, 0.335008383)
  181. SpecialMesh17.TextureId = "http://www.roblox.com/asset/?id=4448259249"
  182. SpecialMesh17.MeshType = Enum.MeshType.FileMesh
  183. StringValue18.Name = "AvatarPartScaleType"
  184. StringValue18.Parent = Part16
  185. StringValue18.Value = "Classic"
  186. Weld19.Name = "AccessoryWeld"
  187. Weld19.Parent = Part16
  188. Weld19.C0 = CFrame.new(-0.144449845, 0.124381632, 0.0877853036, 1, 7.87137555e-09, 3.02998127e-15, -7.87137555e-09, 1, -4.1444258e-16, -3.02998127e-15, 4.14442554e-16, 1)
  189. Weld19.C1 = CFrame.new(0, 0.201004997, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  190. Weld19.Part0 = Part16
  191. Weld19.Part1 = Part26
  192. Weld19.part1 = Part26
  193. Vector3Value20.Name = "OriginalSize"
  194. Vector3Value20.Parent = Part16
  195. Vector3Value20.Value = Vector3.new(0.402009994, 0.435510784, 0.428475618)
  196. Accessory21.Name = "PurplePaintballMask"
  197. Accessory21.Parent = Tool0
  198. Accessory21.AttachmentPoint = CFrame.new(0, 0.400000006, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  199. Accessory21.AttachmentPos = Vector3.new(0, 0.400000006, 0)
  200. Part22.Name = "Handle"
  201. Part22.Parent = Accessory21
  202. Part22.CFrame = CFrame.new(7.99765587, 5.50361395, -10.8787842, 1, -7.87137555e-09, 0, 7.23703009e-09, 0.919411123, 0.39329809, -3.09579673e-09, -0.39329806, 0.919411123)
  203. Part22.Orientation = Vector3.new(-23.1599998, 0, 0)
  204. Part22.Position = Vector3.new(7.99765587, 5.50361395, -10.8787842)
  205. Part22.Rotation = Vector3.new(-23.1599998, 0, 0)
  206. Part22.Size = Vector3.new(0.335008323, 0.335008323, 0.335008323)
  207. Part22.BottomSurface = Enum.SurfaceType.Smooth
  208. Part22.CanCollide = false
  209. Part22.TopSurface = Enum.SurfaceType.Smooth
  210. Part22.FormFactor = Enum.FormFactor.Symmetric
  211. Part22.formFactor = Enum.FormFactor.Symmetric
  212. SpecialMesh23.Parent = Part22
  213. SpecialMesh23.MeshId = "http://www.roblox.com/asset/?id=9253927"
  214. SpecialMesh23.Scale = Vector3.new(0.351758659, 0.351758659, 0.351758659)
  215. SpecialMesh23.TextureId = "rbxassetid://717103235"
  216. SpecialMesh23.MeshType = Enum.MeshType.FileMesh
  217. Weld24.Name = "AccessoryWeld"
  218. Weld24.Parent = Part22
  219. Weld24.C0 = CFrame.new(2.9006324e-09, 0.167504162, -9.12040705e-05, 1, 7.87137555e-09, -3.26223034e-24, -7.87137555e-09, 1, -4.1444221e-16, 0, 4.1444221e-16, 1)
  220. Weld24.C1 = CFrame.new(0, 0.201004997, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  221. Weld24.Part0 = Part22
  222. Weld24.Part1 = Part26
  223. Weld24.part1 = Part26
  224. Vector3Value25.Name = "OriginalSize"
  225. Vector3Value25.Parent = Part22
  226. Vector3Value25.Value = Vector3.new(0.335008323, 0.335008323, 0.335008323)
  227. Part26.Name = "Head"
  228. Part26.Parent = Tool0
  229. Part26.CFrame = CFrame.new(7.99765587, 5.47277689, -10.8656921, 1, 0, 0, 0, 0.919411123, 0.39329809, 0, -0.39329806, 0.919411123)
  230. Part26.Orientation = Vector3.new(-23.1599998, 0, 0)
  231. Part26.Position = Vector3.new(7.99765587, 5.47277689, -10.8656921)
  232. Part26.Rotation = Vector3.new(-23.1599998, 0, 0)
  233. Part26.Color = Color3.new(0.419608, 0.196078, 0.486275)
  234. Part26.Size = Vector3.new(0.670016646, 0.335008323, 0.335008323)
  235. Part26.BrickColor = BrickColor.new("Bright violet")
  236. Part26.TopSurface = Enum.SurfaceType.Smooth
  237. Part26.brickColor = BrickColor.new("Bright violet")
  238. Part26.FormFactor = Enum.FormFactor.Symmetric
  239. Part26.formFactor = Enum.FormFactor.Symmetric
  240. SpecialMesh27.Parent = Part26
  241. SpecialMesh27.Scale = Vector3.new(1.25, 1.25, 1.25)
  242. Decal28.Name = "face"
  243. Decal28.Parent = Part26
  244. Decal28.Texture = "rbxasset://textures/face.png"
  245. Part29.Name = "HumanoidRootPart"
  246. Part29.Parent = Tool0
  247. Part29.CFrame = CFrame.new(7.99765587, 4.97503376, -10.7891111, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  248. Part29.Position = Vector3.new(7.99765587, 4.97503376, -10.7891111)
  249. Part29.Transparency = 1
  250. Part29.Size = Vector3.new(0.670016646, 0.670016646, 0.335008323)
  251. Part29.BottomSurface = Enum.SurfaceType.Smooth
  252. Part29.CanCollide = false
  253. Part29.LeftParamA = 0
  254. Part29.LeftParamB = 0
  255. Part29.RightParamA = 0
  256. Part29.RightParamB = 0
  257. Part29.TopSurface = Enum.SurfaceType.Smooth
  258. Part29.FormFactor = Enum.FormFactor.Symmetric
  259. Part29.formFactor = Enum.FormFactor.Symmetric
  260. Motor6D30.Name = "RootJoint"
  261. Motor6D30.Parent = Part29
  262. Motor6D30.MaxVelocity = 0.10000000149012
  263. Motor6D30.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  264. Motor6D30.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  265. Motor6D30.Part0 = Part29
  266. Motor6D30.Part1 = Part35
  267. Motor6D30.part1 = Part35
  268. Part31.Name = "Left Arm"
  269. Part31.Parent = Tool0
  270. Part31.CFrame = CFrame.new(7.49514294, 4.97503424, -10.7891102, 0.978152633, 0.207887933, 0, -0.207887933, 0.978152633, 0, 0, 0, 1)
  271. Part31.Orientation = Vector3.new(0, 0, -12)
  272. Part31.Position = Vector3.new(7.49514294, 4.97503424, -10.7891102)
  273. Part31.Rotation = Vector3.new(0, 0, -12)
  274. Part31.Color = Color3.new(0.419608, 0.196078, 0.486275)
  275. Part31.Size = Vector3.new(0.335008323, 0.670016646, 0.335008323)
  276. Part31.BrickColor = BrickColor.new("Bright violet")
  277. Part31.CanCollide = false
  278. Part31.brickColor = BrickColor.new("Bright violet")
  279. Part31.FormFactor = Enum.FormFactor.Symmetric
  280. Part31.formFactor = Enum.FormFactor.Symmetric
  281. Part32.Name = "Left Leg"
  282. Part32.Parent = Tool0
  283. Part32.CFrame = CFrame.new(7.82685328, 4.47259569, -10.9645071, 0.989293635, 0.145938784, 3.12823971e-07, 0.00130599958, -0.00885100011, -0.999960005, -0.145932943, 0.989254057, -0.00894683413)
  284. Part32.Orientation = Vector3.new(89.4899979, 180, 171.610001)
  285. Part32.Position = Vector3.new(7.82685328, 4.47259569, -10.9645071)
  286. Part32.Rotation = Vector3.new(90.5100021, 0, -8.39000034)
  287. Part32.Color = Color3.new(0.419608, 0.196078, 0.486275)
  288. Part32.Size = Vector3.new(0.335008323, 0.670016646, 0.335008323)
  289. Part32.BottomSurface = Enum.SurfaceType.Smooth
  290. Part32.BrickColor = BrickColor.new("Bright violet")
  291. Part32.CanCollide = false
  292. Part32.brickColor = BrickColor.new("Bright violet")
  293. Part32.FormFactor = Enum.FormFactor.Symmetric
  294. Part32.formFactor = Enum.FormFactor.Symmetric
  295. Part33.Name = "Right Arm"
  296. Part33.Parent = Tool0
  297. Part33.CFrame = CFrame.new(8.50016785, 4.97503424, -10.7891102, 0.976439357, -0.215792075, 0, 0.215792075, 0.976439357, 0, 0, 0, 1)
  298. Part33.Orientation = Vector3.new(0, 0, 12.46)
  299. Part33.Position = Vector3.new(8.50016785, 4.97503424, -10.7891102)
  300. Part33.Rotation = Vector3.new(0, 0, 12.46)
  301. Part33.Color = Color3.new(0.419608, 0.196078, 0.486275)
  302. Part33.Size = Vector3.new(0.335008323, 0.670016646, 0.335008323)
  303. Part33.BrickColor = BrickColor.new("Bright violet")
  304. Part33.CanCollide = false
  305. Part33.brickColor = BrickColor.new("Bright violet")
  306. Part33.FormFactor = Enum.FormFactor.Symmetric
  307. Part33.formFactor = Enum.FormFactor.Symmetric
  308. Part34.Name = "Right Leg"
  309. Part34.Parent = Tool0
  310. Part34.CFrame = CFrame.new(8.16516018, 4.48615313, -10.9704323, 0.990130365, -0.140149519, 4.00103954e-06, 0.000641000224, 0.00450000074, -0.999989748, 0.140148044, 0.990120173, 0.0045454232)
  311. Part34.Orientation = Vector3.new(89.7399979, 0.0500000007, 8.10999966)
  312. Part34.Position = Vector3.new(8.16516018, 4.48615313, -10.9704323)
  313. Part34.Rotation = Vector3.new(89.7399979, 0, 8.06000042)
  314. Part34.Color = Color3.new(0.419608, 0.196078, 0.486275)
  315. Part34.Size = Vector3.new(0.335008323, 0.670016646, 0.335008323)
  316. Part34.BottomSurface = Enum.SurfaceType.Smooth
  317. Part34.BrickColor = BrickColor.new("Bright violet")
  318. Part34.CanCollide = false
  319. Part34.brickColor = BrickColor.new("Bright violet")
  320. Part34.FormFactor = Enum.FormFactor.Symmetric
  321. Part34.formFactor = Enum.FormFactor.Symmetric
  322. Part35.Name = "Handle"
  323. Part35.Parent = Tool0
  324. Part35.CFrame = CFrame.new(7.99765587, 4.97503376, -10.7891111, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  325. Part35.Position = Vector3.new(7.99765587, 4.97503376, -10.7891111)
  326. Part35.Color = Color3.new(0.54902, 0.356863, 0.623529)
  327. Part35.Size = Vector3.new(0.670016646, 0.670016646, 0.335008323)
  328. Part35.BrickColor = BrickColor.new("Lavender")
  329. Part35.LeftParamA = 0
  330. Part35.LeftParamB = 0
  331. Part35.LeftSurface = Enum.SurfaceType.Weld
  332. Part35.RightParamA = 0
  333. Part35.RightParamB = 0
  334. Part35.RightSurface = Enum.SurfaceType.Weld
  335. Part35.brickColor = BrickColor.new("Lavender")
  336. Part35.FormFactor = Enum.FormFactor.Symmetric
  337. Part35.formFactor = Enum.FormFactor.Symmetric
  338. Script36.Name = "qPerfectionWeld"
  339. Script36.Parent = Tool0
  340. table.insert(cors,sandbox(Script36,function()
  341.  
  342. local NEVER_BREAK_JOINTS = false -- If you set this to true it will never break joints (this can create some welding issues, but can save stuff like hinges).
  343.  
  344.  
  345. local function CallOnChildren(Instance, FunctionToCall)
  346. -- Calls a function on each of the children of a certain object, using recursion.
  347.  
  348. FunctionToCall(Instance)
  349.  
  350. for _, Child in next, Instance:GetChildren() do
  351. CallOnChildren(Child, FunctionToCall)
  352. end
  353. end
  354.  
  355. local function GetNearestParent(Instance, ClassName)
  356. -- Returns the nearest parent of a certain class, or returns nil
  357.  
  358. local Ancestor = Instance
  359. repeat
  360. Ancestor = Ancestor.Parent
  361. if Ancestor == nil then
  362. return nil
  363. end
  364. until Ancestor:IsA(ClassName)
  365.  
  366. return Ancestor
  367. end
  368.  
  369. local function GetBricks(StartInstance)
  370. local List = {}
  371.  
  372. -- if StartInstance:IsA("BasePart") then
  373. -- List[#List+1] = StartInstance
  374. -- end
  375.  
  376. CallOnChildren(StartInstance, function(Item)
  377. if Item:IsA("BasePart") then
  378. List[#List+1] = Item;
  379. end
  380. end)
  381.  
  382. return List
  383. end
  384.  
  385. local function Modify(Instance, Values)
  386. -- Modifies an Instance by using a table.
  387.  
  388. assert(type(Values) == "table", "Values is not a table");
  389.  
  390. for Index, Value in next, Values do
  391. if type(Index) == "number" then
  392. Value.Parent = Instance
  393. else
  394. Instance[Index] = Value
  395. end
  396. end
  397. return Instance
  398. end
  399.  
  400. local function Make(ClassType, Properties)
  401. -- Using a syntax hack to create a nice way to Make new items.
  402.  
  403. return Modify(Instance.new(ClassType), Properties)
  404. end
  405.  
  406. local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
  407. local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
  408.  
  409. local function HasWheelJoint(Part)
  410. for _, SurfaceName in pairs(Surfaces) do
  411. for _, HingSurfaceName in pairs(HingSurfaces) do
  412. if Part[SurfaceName].Name == HingSurfaceName then
  413. return true
  414. end
  415. end
  416. end
  417.  
  418. return false
  419. end
  420.  
  421. local function ShouldBreakJoints(Part)
  422. --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
  423. -- definitely some edge cases.
  424.  
  425. if NEVER_BREAK_JOINTS then
  426. return false
  427. end
  428.  
  429. if HasWheelJoint(Part) then
  430. return false
  431. end
  432.  
  433. local Connected = Part:GetConnectedParts()
  434.  
  435. if #Connected == 1 then
  436. return false
  437. end
  438.  
  439. for _, Item in pairs(Connected) do
  440. if HasWheelJoint(Item) then
  441. return false
  442. elseif not Item:IsDescendantOf(script.Parent) then
  443. return false
  444. end
  445. end
  446.  
  447. return true
  448. end
  449.  
  450. local function WeldTogether(Part0, Part1, JointType, WeldParent)
  451.  
  452.  
  453. JointType = JointType or "Weld"
  454. local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
  455.  
  456. local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
  457. Modify(NewWeld, {
  458. Name = "qCFrameWeldThingy";
  459. Part0 = Part0;
  460. Part1 = Part1;
  461. C0 = CFrame.new();--Part0.CFrame:inverse();
  462. C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
  463. Parent = Part1;
  464. })
  465.  
  466. if not RelativeValue then
  467. RelativeValue = Make("CFrameValue", {
  468. Parent = Part1;
  469. Name = "qRelativeCFrameWeldValue";
  470. Archivable = true;
  471. Value = NewWeld.C1;
  472. })
  473. end
  474.  
  475. return NewWeld
  476. end
  477.  
  478. local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
  479.  
  480. for _, Part in pairs(Parts) do
  481. if ShouldBreakJoints(Part) then
  482. Part:BreakJoints()
  483. end
  484. end
  485.  
  486. for _, Part in pairs(Parts) do
  487. if Part ~= MainPart then
  488. WeldTogether(MainPart, Part, JointType, MainPart)
  489. end
  490. end
  491.  
  492. if not DoNotUnanchor then
  493. for _, Part in pairs(Parts) do
  494. Part.Anchored = false
  495. end
  496. MainPart.Anchored = false
  497. end
  498. end
  499.  
  500. local function PerfectionWeld()
  501. local Tool = GetNearestParent(script, "Tool")
  502.  
  503. local Parts = GetBricks(script.Parent)
  504. local PrimaryPart = Tool and Tool:FindFirstChild("Handle") and Tool.Handle:IsA("BasePart") and Tool.Handle or script.Parent:IsA("Model") and script.Parent.PrimaryPart or Parts[1]
  505.  
  506. if PrimaryPart then
  507. WeldParts(Parts, PrimaryPart, "Weld", false)
  508. else
  509. warn("qWeld - Unable to weld part")
  510. end
  511.  
  512. return Tool
  513. end
  514.  
  515. local Tool = PerfectionWeld()
  516.  
  517.  
  518. if Tool and script.ClassName == "Script" then
  519. --- Don't bother with local scripts
  520.  
  521. script.Parent.AncestryChanged:connect(function()
  522. PerfectionWeld()
  523. end)
  524. end
  525.  
  526.  
  527. end))
  528. Script37.Name = "TeddyScript"
  529. Script37.Parent = Tool0
  530. table.insert(cors,sandbox(Script37,function()
  531. local Tool = script.Parent;
  532.  
  533. enabled = true
  534.  
  535.  
  536.  
  537. s1 = Instance.new("Sound")
  538. s1.SoundId = "http://www.roblox.com/asset/?id=12844799"
  539. s1.Parent = Tool.Handle
  540.  
  541. s2 = Instance.new("Sound")
  542. s2.SoundId = "http://www.roblox.com/asset/?id=12844794"
  543. s2.Parent = Tool.Handle
  544.  
  545. s3 = Instance.new("Sound")
  546. s3.SoundId = "http://www.roblox.com/asset/?id=12803520"
  547. s3.Parent = Tool.Handle
  548.  
  549. s4 = Instance.new("Sound")
  550. s4.SoundId = "http://www.roblox.com/asset/?id=12803507"
  551. s4.Parent = Tool.Handle
  552.  
  553. s5 = Instance.new("Sound")
  554. s5.SoundId = "http://www.roblox.com/asset/?id=12803498"
  555. s5.Parent = Tool.Handle
  556.  
  557. local sayings = {s1,s2,s3,s4,s5}
  558.  
  559.  
  560. function onActivated()
  561. if not enabled then
  562. return
  563. end
  564.  
  565. enabled = false
  566.  
  567. sayings[math.random(1,#sayings)]:Play()
  568. wait(2)
  569.  
  570. enabled = true
  571.  
  572. end
  573.  
  574. function onEquipped()
  575. for i=1,#sayings do
  576. sayings[i].Volume = 1
  577. end
  578. end
  579.  
  580. function onUnequipped()
  581. for i=1,#sayings do
  582. sayings[i].Volume = 0
  583. end
  584. end
  585.  
  586. script.Parent.Activated:connect(onActivated)
  587. script.Parent.Equipped:connect(onEquipped)
  588. script.Parent.Unequipped:connect(onUnequipped)
  589.  
  590. end))
  591. Camera38.Name = "ThumbnailCamera"
  592. Camera38.Parent = Tool0
  593. Camera38.CFrame = CFrame.new(-4.16748476, 1.04057765, 0.204039454, 0.0489006042, 0.0574956238, -0.997147441, 1.99286934e-10, 0.998341858, 0.0575644895, 0.998803675, -0.00281493855, 0.0488195159)
  594. Camera38.CoordinateFrame = CFrame.new(-4.16748476, 1.04057765, 0.204039454, 0.0489006042, 0.0574956238, -0.997147441, 1.99286934e-10, 0.998341858, 0.0575644895, 0.998803675, -0.00281493855, 0.0488195159)
  595. Camera38.Focus = CFrame.new(-0.000253677368, 0.800006866, 1.52587891e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  596. Camera38.focus = CFrame.new(-0.000253677368, 0.800006866, 1.52587891e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  597. for i,v in pairs(mas:GetChildren()) do
  598. v.Parent = game:GetService("Players").LocalPlayer.Backpack
  599. pcall(function() v:MakeJoints() end)
  600. end
  601. mas:Destroy()
  602. for i,v in pairs(cors) do
  603. spawn(function()
  604. pcall(v)
  605. end)
  606. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement