Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --by lookingbloxed
- print("i wuv u")
- if game:GetService("RunService"):IsClient() then error("This aint it chief") end
- local Player,game,owner = owner,game
- local RealPlayer = Player
- 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
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Tool0 = Instance.new("Tool")
- BodyColors1 = Instance.new("BodyColors")
- Shirt2 = Instance.new("Shirt")
- Accessory3 = Instance.new("Accessory")
- Part4 = Instance.new("Part")
- SpecialMesh5 = Instance.new("SpecialMesh")
- StringValue6 = Instance.new("StringValue")
- Weld7 = Instance.new("Weld")
- Vector3Value8 = Instance.new("Vector3Value")
- Accessory9 = Instance.new("Accessory")
- Part10 = Instance.new("Part")
- SpecialMesh11 = Instance.new("SpecialMesh")
- Weld12 = Instance.new("Weld")
- Vector3Value13 = Instance.new("Vector3Value")
- Camera14 = Instance.new("Camera")
- Accessory15 = Instance.new("Accessory")
- Part16 = Instance.new("Part")
- SpecialMesh17 = Instance.new("SpecialMesh")
- StringValue18 = Instance.new("StringValue")
- Weld19 = Instance.new("Weld")
- Vector3Value20 = Instance.new("Vector3Value")
- Accessory21 = Instance.new("Accessory")
- Part22 = Instance.new("Part")
- SpecialMesh23 = Instance.new("SpecialMesh")
- Weld24 = Instance.new("Weld")
- Vector3Value25 = Instance.new("Vector3Value")
- Part26 = Instance.new("Part")
- SpecialMesh27 = Instance.new("SpecialMesh")
- Decal28 = Instance.new("Decal")
- Part29 = Instance.new("Part")
- Motor6D30 = Instance.new("Motor6D")
- Part31 = Instance.new("Part")
- Part32 = Instance.new("Part")
- Part33 = Instance.new("Part")
- Part34 = Instance.new("Part")
- Part35 = Instance.new("Part")
- Script36 = Instance.new("Script")
- Script37 = Instance.new("Script")
- Camera38 = Instance.new("Camera")
- Tool0.Name = "Doll"
- Tool0.Parent = mas
- Tool0.Grip = CFrame.new(0, -0.140964508, -0.0255393982, 1, 0, -0, 0, 0.994820893, 0.101644486, 0, -0.101644486, 0.994820893)
- Tool0.GripForward = Vector3.new(0, -0.101644486, -0.994820893)
- Tool0.GripPos = Vector3.new(0, -0.140964508, -0.0255393982)
- Tool0.GripUp = Vector3.new(0, 0.994820893, -0.101644486)
- BodyColors1.Parent = Tool0
- BodyColors1.HeadColor = BrickColor.new("Bright violet")
- BodyColors1.HeadColor3 = Color3.new(0.419608, 0.196078, 0.486275)
- BodyColors1.LeftArmColor = BrickColor.new("Bright violet")
- BodyColors1.LeftArmColor3 = Color3.new(0.419608, 0.196078, 0.486275)
- BodyColors1.LeftLegColor = BrickColor.new("Bright violet")
- BodyColors1.LeftLegColor3 = Color3.new(0.419608, 0.196078, 0.486275)
- BodyColors1.RightArmColor = BrickColor.new("Bright violet")
- BodyColors1.RightArmColor3 = Color3.new(0.419608, 0.196078, 0.486275)
- BodyColors1.RightLegColor = BrickColor.new("Bright violet")
- BodyColors1.RightLegColor3 = Color3.new(0.419608, 0.196078, 0.486275)
- BodyColors1.TorsoColor = BrickColor.new("Lavender")
- BodyColors1.TorsoColor3 = Color3.new(0.54902, 0.356863, 0.623529)
- Shirt2.Name = "Shirt"
- Shirt2.Parent = Tool0
- Shirt2.ShirtTemplate = "http://www.roblox.com/asset/?id=4187072613"
- Accessory3.Name = "Cartoony Santa"
- Accessory3.Parent = Tool0
- Accessory3.AttachmentForward = Vector3.new(-3.02998127e-15, 4.1444258e-16, -1)
- 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)
- Accessory3.AttachmentPos = Vector3.new(-0.0870000347, 0.255001783, -0.114999667)
- Accessory3.AttachmentRight = Vector3.new(1, -7.87137555e-09, -3.02998127e-15)
- Accessory3.AttachmentUp = Vector3.new(7.87137555e-09, 1, 4.14442554e-16)
- Part4.Name = "Handle"
- Part4.Parent = Accessory3
- 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)
- Part4.Orientation = Vector3.new(-23.1599998, 0, 0)
- Part4.Position = Vector3.new(8.02680206, 5.59419203, -10.8757277)
- Part4.Rotation = Vector3.new(-23.1599998, 0, 0)
- Part4.Size = Vector3.new(0.586264551, 0.753768742, 0.670016646)
- Part4.BottomSurface = Enum.SurfaceType.Smooth
- Part4.CanCollide = false
- Part4.TopSurface = Enum.SurfaceType.Smooth
- SpecialMesh5.Name = "SpecialMesh"
- SpecialMesh5.Parent = Part4
- SpecialMesh5.MeshId = "rbxassetid://4459246846"
- SpecialMesh5.Scale = Vector3.new(0.335008383, 0.335008383, 0.335008383)
- SpecialMesh5.TextureId = "http://www.roblox.com/asset/?id=4459254745"
- SpecialMesh5.MeshType = Enum.MeshType.FileMesh
- StringValue6.Name = "AvatarPartScaleType"
- StringValue6.Parent = Part4
- StringValue6.Value = "Classic"
- Weld7.Name = "AccessoryWeld"
- Weld7.Parent = Part4
- 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)
- Weld7.C1 = CFrame.new(0, 0.201004997, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld7.Part0 = Part4
- Weld7.Part1 = Part26
- Weld7.part1 = Part26
- Vector3Value8.Name = "OriginalSize"
- Vector3Value8.Parent = Part4
- Vector3Value8.Value = Vector3.new(0.586264551, 0.753768742, 0.670016646)
- Accessory9.Name = "LargeTasseledScarf"
- Accessory9.Parent = Tool0
- Accessory9.AttachmentPoint = CFrame.new(-0.023, 1.5, 0.00999999978, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Accessory9.AttachmentPos = Vector3.new(-0.023, 1.5, 0.00999999978)
- Part10.Name = "Handle"
- Part10.Parent = Accessory9
- Part10.CFrame = CFrame.new(8.0053606, 5.14253807, -10.7923698, 1, 6.83440315e-31, 0, -6.83440315e-31, 1, 0, 0, 0, 1)
- Part10.Position = Vector3.new(8.0053606, 5.14253807, -10.7923698)
- Part10.Size = Vector3.new(0.536013186, 0.760469556, 0.603014946)
- Part10.BottomSurface = Enum.SurfaceType.Smooth
- Part10.CanCollide = false
- Part10.TopSurface = Enum.SurfaceType.Smooth
- Part10.FormFactor = Enum.FormFactor.Custom
- Part10.formFactor = Enum.FormFactor.Custom
- SpecialMesh11.Parent = Part10
- SpecialMesh11.MeshId = "http://www.roblox.com/asset/?id=99856331 "
- SpecialMesh11.Scale = Vector3.new(0.335008383, 0.335008383, 0.335008383)
- SpecialMesh11.TextureId = "http://www.roblox.com/asset/?id=323400642 "
- SpecialMesh11.MeshType = Enum.MeshType.FileMesh
- Weld12.Name = "AccessoryWeld"
- Weld12.Parent = Part10
- Weld12.C0 = CFrame.new(-0.00770517113, 0.167504087, 0.00325883902, 1, -6.83440315e-31, 0, 6.83440315e-31, 1, -0, 0, 0, 1)
- Weld12.C1 = CFrame.new(0, 0.335008323, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld12.Part0 = Part10
- Weld12.Part1 = Part35
- Weld12.part1 = Part35
- Vector3Value13.Name = "OriginalSize"
- Vector3Value13.Parent = Part10
- Vector3Value13.Value = Vector3.new(0.536013186, 0.760469556, 0.603014946)
- Camera14.Name = "ThumbnailCamera"
- Camera14.Parent = Accessory9
- 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)
- 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)
- Camera14.Focus = CFrame.new(-0.243632078, -0.198624402, -6.24006462, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Camera14.focus = CFrame.new(-0.243632078, -0.198624402, -6.24006462, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Accessory15.Name = "Pie In Face"
- Accessory15.Parent = Tool0
- Accessory15.AttachmentForward = Vector3.new(-3.02998127e-15, 4.1444258e-16, -1)
- 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)
- Accessory15.AttachmentPos = Vector3.new(-0.431182861, 0.37127924, 0.262039185)
- Accessory15.AttachmentRight = Vector3.new(1, -7.87137555e-09, -3.02998127e-15)
- Accessory15.AttachmentUp = Vector3.new(7.87137555e-09, 1, 4.14442554e-16)
- Part16.Name = "Handle"
- Part16.Parent = Accessory15
- 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)
- Part16.Orientation = Vector3.new(-23.1599998, 0, 0)
- Part16.Position = Vector3.new(8.14210606, 5.50869942, -10.9765387)
- Part16.Rotation = Vector3.new(-23.1599998, 0, 0)
- Part16.Size = Vector3.new(0.402009994, 0.435510784, 0.428475618)
- Part16.BottomSurface = Enum.SurfaceType.Smooth
- Part16.CanCollide = false
- Part16.TopSurface = Enum.SurfaceType.Smooth
- SpecialMesh17.Name = "SpecialMesh"
- SpecialMesh17.Parent = Part16
- SpecialMesh17.MeshId = "rbxassetid://4448257263"
- SpecialMesh17.Scale = Vector3.new(0.335008383, 0.335008383, 0.335008383)
- SpecialMesh17.TextureId = "http://www.roblox.com/asset/?id=4448259249"
- SpecialMesh17.MeshType = Enum.MeshType.FileMesh
- StringValue18.Name = "AvatarPartScaleType"
- StringValue18.Parent = Part16
- StringValue18.Value = "Classic"
- Weld19.Name = "AccessoryWeld"
- Weld19.Parent = Part16
- 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)
- Weld19.C1 = CFrame.new(0, 0.201004997, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld19.Part0 = Part16
- Weld19.Part1 = Part26
- Weld19.part1 = Part26
- Vector3Value20.Name = "OriginalSize"
- Vector3Value20.Parent = Part16
- Vector3Value20.Value = Vector3.new(0.402009994, 0.435510784, 0.428475618)
- Accessory21.Name = "PurplePaintballMask"
- Accessory21.Parent = Tool0
- Accessory21.AttachmentPoint = CFrame.new(0, 0.400000006, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Accessory21.AttachmentPos = Vector3.new(0, 0.400000006, 0)
- Part22.Name = "Handle"
- Part22.Parent = Accessory21
- 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)
- Part22.Orientation = Vector3.new(-23.1599998, 0, 0)
- Part22.Position = Vector3.new(7.99765587, 5.50361395, -10.8787842)
- Part22.Rotation = Vector3.new(-23.1599998, 0, 0)
- Part22.Size = Vector3.new(0.335008323, 0.335008323, 0.335008323)
- Part22.BottomSurface = Enum.SurfaceType.Smooth
- Part22.CanCollide = false
- Part22.TopSurface = Enum.SurfaceType.Smooth
- Part22.FormFactor = Enum.FormFactor.Symmetric
- Part22.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh23.Parent = Part22
- SpecialMesh23.MeshId = "http://www.roblox.com/asset/?id=9253927"
- SpecialMesh23.Scale = Vector3.new(0.351758659, 0.351758659, 0.351758659)
- SpecialMesh23.TextureId = "rbxassetid://717103235"
- SpecialMesh23.MeshType = Enum.MeshType.FileMesh
- Weld24.Name = "AccessoryWeld"
- Weld24.Parent = Part22
- 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)
- Weld24.C1 = CFrame.new(0, 0.201004997, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld24.Part0 = Part22
- Weld24.Part1 = Part26
- Weld24.part1 = Part26
- Vector3Value25.Name = "OriginalSize"
- Vector3Value25.Parent = Part22
- Vector3Value25.Value = Vector3.new(0.335008323, 0.335008323, 0.335008323)
- Part26.Name = "Head"
- Part26.Parent = Tool0
- Part26.CFrame = CFrame.new(7.99765587, 5.47277689, -10.8656921, 1, 0, 0, 0, 0.919411123, 0.39329809, 0, -0.39329806, 0.919411123)
- Part26.Orientation = Vector3.new(-23.1599998, 0, 0)
- Part26.Position = Vector3.new(7.99765587, 5.47277689, -10.8656921)
- Part26.Rotation = Vector3.new(-23.1599998, 0, 0)
- Part26.Color = Color3.new(0.419608, 0.196078, 0.486275)
- Part26.Size = Vector3.new(0.670016646, 0.335008323, 0.335008323)
- Part26.BrickColor = BrickColor.new("Bright violet")
- Part26.TopSurface = Enum.SurfaceType.Smooth
- Part26.brickColor = BrickColor.new("Bright violet")
- Part26.FormFactor = Enum.FormFactor.Symmetric
- Part26.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh27.Parent = Part26
- SpecialMesh27.Scale = Vector3.new(1.25, 1.25, 1.25)
- Decal28.Name = "face"
- Decal28.Parent = Part26
- Decal28.Texture = "rbxasset://textures/face.png"
- Part29.Name = "HumanoidRootPart"
- Part29.Parent = Tool0
- Part29.CFrame = CFrame.new(7.99765587, 4.97503376, -10.7891111, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part29.Position = Vector3.new(7.99765587, 4.97503376, -10.7891111)
- Part29.Transparency = 1
- Part29.Size = Vector3.new(0.670016646, 0.670016646, 0.335008323)
- Part29.BottomSurface = Enum.SurfaceType.Smooth
- Part29.CanCollide = false
- Part29.LeftParamA = 0
- Part29.LeftParamB = 0
- Part29.RightParamA = 0
- Part29.RightParamB = 0
- Part29.TopSurface = Enum.SurfaceType.Smooth
- Part29.FormFactor = Enum.FormFactor.Symmetric
- Part29.formFactor = Enum.FormFactor.Symmetric
- Motor6D30.Name = "RootJoint"
- Motor6D30.Parent = Part29
- Motor6D30.MaxVelocity = 0.10000000149012
- Motor6D30.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D30.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D30.Part0 = Part29
- Motor6D30.Part1 = Part35
- Motor6D30.part1 = Part35
- Part31.Name = "Left Arm"
- Part31.Parent = Tool0
- Part31.CFrame = CFrame.new(7.49514294, 4.97503424, -10.7891102, 0.978152633, 0.207887933, 0, -0.207887933, 0.978152633, 0, 0, 0, 1)
- Part31.Orientation = Vector3.new(0, 0, -12)
- Part31.Position = Vector3.new(7.49514294, 4.97503424, -10.7891102)
- Part31.Rotation = Vector3.new(0, 0, -12)
- Part31.Color = Color3.new(0.419608, 0.196078, 0.486275)
- Part31.Size = Vector3.new(0.335008323, 0.670016646, 0.335008323)
- Part31.BrickColor = BrickColor.new("Bright violet")
- Part31.CanCollide = false
- Part31.brickColor = BrickColor.new("Bright violet")
- Part31.FormFactor = Enum.FormFactor.Symmetric
- Part31.formFactor = Enum.FormFactor.Symmetric
- Part32.Name = "Left Leg"
- Part32.Parent = Tool0
- 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)
- Part32.Orientation = Vector3.new(89.4899979, 180, 171.610001)
- Part32.Position = Vector3.new(7.82685328, 4.47259569, -10.9645071)
- Part32.Rotation = Vector3.new(90.5100021, 0, -8.39000034)
- Part32.Color = Color3.new(0.419608, 0.196078, 0.486275)
- Part32.Size = Vector3.new(0.335008323, 0.670016646, 0.335008323)
- Part32.BottomSurface = Enum.SurfaceType.Smooth
- Part32.BrickColor = BrickColor.new("Bright violet")
- Part32.CanCollide = false
- Part32.brickColor = BrickColor.new("Bright violet")
- Part32.FormFactor = Enum.FormFactor.Symmetric
- Part32.formFactor = Enum.FormFactor.Symmetric
- Part33.Name = "Right Arm"
- Part33.Parent = Tool0
- Part33.CFrame = CFrame.new(8.50016785, 4.97503424, -10.7891102, 0.976439357, -0.215792075, 0, 0.215792075, 0.976439357, 0, 0, 0, 1)
- Part33.Orientation = Vector3.new(0, 0, 12.46)
- Part33.Position = Vector3.new(8.50016785, 4.97503424, -10.7891102)
- Part33.Rotation = Vector3.new(0, 0, 12.46)
- Part33.Color = Color3.new(0.419608, 0.196078, 0.486275)
- Part33.Size = Vector3.new(0.335008323, 0.670016646, 0.335008323)
- Part33.BrickColor = BrickColor.new("Bright violet")
- Part33.CanCollide = false
- Part33.brickColor = BrickColor.new("Bright violet")
- Part33.FormFactor = Enum.FormFactor.Symmetric
- Part33.formFactor = Enum.FormFactor.Symmetric
- Part34.Name = "Right Leg"
- Part34.Parent = Tool0
- 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)
- Part34.Orientation = Vector3.new(89.7399979, 0.0500000007, 8.10999966)
- Part34.Position = Vector3.new(8.16516018, 4.48615313, -10.9704323)
- Part34.Rotation = Vector3.new(89.7399979, 0, 8.06000042)
- Part34.Color = Color3.new(0.419608, 0.196078, 0.486275)
- Part34.Size = Vector3.new(0.335008323, 0.670016646, 0.335008323)
- Part34.BottomSurface = Enum.SurfaceType.Smooth
- Part34.BrickColor = BrickColor.new("Bright violet")
- Part34.CanCollide = false
- Part34.brickColor = BrickColor.new("Bright violet")
- Part34.FormFactor = Enum.FormFactor.Symmetric
- Part34.formFactor = Enum.FormFactor.Symmetric
- Part35.Name = "Handle"
- Part35.Parent = Tool0
- Part35.CFrame = CFrame.new(7.99765587, 4.97503376, -10.7891111, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part35.Position = Vector3.new(7.99765587, 4.97503376, -10.7891111)
- Part35.Color = Color3.new(0.54902, 0.356863, 0.623529)
- Part35.Size = Vector3.new(0.670016646, 0.670016646, 0.335008323)
- Part35.BrickColor = BrickColor.new("Lavender")
- Part35.LeftParamA = 0
- Part35.LeftParamB = 0
- Part35.LeftSurface = Enum.SurfaceType.Weld
- Part35.RightParamA = 0
- Part35.RightParamB = 0
- Part35.RightSurface = Enum.SurfaceType.Weld
- Part35.brickColor = BrickColor.new("Lavender")
- Part35.FormFactor = Enum.FormFactor.Symmetric
- Part35.formFactor = Enum.FormFactor.Symmetric
- Script36.Name = "qPerfectionWeld"
- Script36.Parent = Tool0
- table.insert(cors,sandbox(Script36,function()
- 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).
- local function CallOnChildren(Instance, FunctionToCall)
- -- Calls a function on each of the children of a certain object, using recursion.
- FunctionToCall(Instance)
- for _, Child in next, Instance:GetChildren() do
- CallOnChildren(Child, FunctionToCall)
- end
- end
- local function GetNearestParent(Instance, ClassName)
- -- Returns the nearest parent of a certain class, or returns nil
- local Ancestor = Instance
- repeat
- Ancestor = Ancestor.Parent
- if Ancestor == nil then
- return nil
- end
- until Ancestor:IsA(ClassName)
- return Ancestor
- end
- local function GetBricks(StartInstance)
- local List = {}
- -- if StartInstance:IsA("BasePart") then
- -- List[#List+1] = StartInstance
- -- end
- CallOnChildren(StartInstance, function(Item)
- if Item:IsA("BasePart") then
- List[#List+1] = Item;
- end
- end)
- return List
- end
- local function Modify(Instance, Values)
- -- Modifies an Instance by using a table.
- assert(type(Values) == "table", "Values is not a table");
- for Index, Value in next, Values do
- if type(Index) == "number" then
- Value.Parent = Instance
- else
- Instance[Index] = Value
- end
- end
- return Instance
- end
- local function Make(ClassType, Properties)
- -- Using a syntax hack to create a nice way to Make new items.
- return Modify(Instance.new(ClassType), Properties)
- end
- local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
- local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
- local function HasWheelJoint(Part)
- for _, SurfaceName in pairs(Surfaces) do
- for _, HingSurfaceName in pairs(HingSurfaces) do
- if Part[SurfaceName].Name == HingSurfaceName then
- return true
- end
- end
- end
- return false
- end
- local function ShouldBreakJoints(Part)
- --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
- -- definitely some edge cases.
- if NEVER_BREAK_JOINTS then
- return false
- end
- if HasWheelJoint(Part) then
- return false
- end
- local Connected = Part:GetConnectedParts()
- if #Connected == 1 then
- return false
- end
- for _, Item in pairs(Connected) do
- if HasWheelJoint(Item) then
- return false
- elseif not Item:IsDescendantOf(script.Parent) then
- return false
- end
- end
- return true
- end
- local function WeldTogether(Part0, Part1, JointType, WeldParent)
- JointType = JointType or "Weld"
- local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
- local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
- Modify(NewWeld, {
- Name = "qCFrameWeldThingy";
- Part0 = Part0;
- Part1 = Part1;
- C0 = CFrame.new();--Part0.CFrame:inverse();
- C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
- Parent = Part1;
- })
- if not RelativeValue then
- RelativeValue = Make("CFrameValue", {
- Parent = Part1;
- Name = "qRelativeCFrameWeldValue";
- Archivable = true;
- Value = NewWeld.C1;
- })
- end
- return NewWeld
- end
- local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
- for _, Part in pairs(Parts) do
- if ShouldBreakJoints(Part) then
- Part:BreakJoints()
- end
- end
- for _, Part in pairs(Parts) do
- if Part ~= MainPart then
- WeldTogether(MainPart, Part, JointType, MainPart)
- end
- end
- if not DoNotUnanchor then
- for _, Part in pairs(Parts) do
- Part.Anchored = false
- end
- MainPart.Anchored = false
- end
- end
- local function PerfectionWeld()
- local Tool = GetNearestParent(script, "Tool")
- local Parts = GetBricks(script.Parent)
- 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]
- if PrimaryPart then
- WeldParts(Parts, PrimaryPart, "Weld", false)
- else
- warn("qWeld - Unable to weld part")
- end
- return Tool
- end
- local Tool = PerfectionWeld()
- if Tool and script.ClassName == "Script" then
- --- Don't bother with local scripts
- script.Parent.AncestryChanged:connect(function()
- PerfectionWeld()
- end)
- end
- end))
- Script37.Name = "TeddyScript"
- Script37.Parent = Tool0
- table.insert(cors,sandbox(Script37,function()
- local Tool = script.Parent;
- enabled = true
- s1 = Instance.new("Sound")
- s1.SoundId = "http://www.roblox.com/asset/?id=12844799"
- s1.Parent = Tool.Handle
- s2 = Instance.new("Sound")
- s2.SoundId = "http://www.roblox.com/asset/?id=12844794"
- s2.Parent = Tool.Handle
- s3 = Instance.new("Sound")
- s3.SoundId = "http://www.roblox.com/asset/?id=12803520"
- s3.Parent = Tool.Handle
- s4 = Instance.new("Sound")
- s4.SoundId = "http://www.roblox.com/asset/?id=12803507"
- s4.Parent = Tool.Handle
- s5 = Instance.new("Sound")
- s5.SoundId = "http://www.roblox.com/asset/?id=12803498"
- s5.Parent = Tool.Handle
- local sayings = {s1,s2,s3,s4,s5}
- function onActivated()
- if not enabled then
- return
- end
- enabled = false
- sayings[math.random(1,#sayings)]:Play()
- wait(2)
- enabled = true
- end
- function onEquipped()
- for i=1,#sayings do
- sayings[i].Volume = 1
- end
- end
- function onUnequipped()
- for i=1,#sayings do
- sayings[i].Volume = 0
- end
- end
- script.Parent.Activated:connect(onActivated)
- script.Parent.Equipped:connect(onEquipped)
- script.Parent.Unequipped:connect(onUnequipped)
- end))
- Camera38.Name = "ThumbnailCamera"
- Camera38.Parent = Tool0
- 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)
- 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)
- Camera38.Focus = CFrame.new(-0.000253677368, 0.800006866, 1.52587891e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Camera38.focus = CFrame.new(-0.000253677368, 0.800006866, 1.52587891e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.Backpack
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement