cat568

Untitled

Jan 1st, 2019
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.52 KB | None | 0 0
  1.  
  2. --SCP-035 [OBJECT CLASS: KETER]
  3.  
  4. ply = game.Players.LocalPlayer
  5. mouse = ply:GetMouse()
  6. char = ply.Character
  7. cam = game.Workspace.CurrentCamera
  8. minicooldown = 0
  9.  
  10. repeat wait() until ply and char and cam and mouse
  11. state = nil
  12. function create()
  13. tool = Instance.new("Tool", workspace)
  14. tool.Name = "Tabby egg"
  15. tool.GripPos = Vector3.new(0, 0, .2)
  16. tool.CanBeDropped = false
  17. handle = Instance.new("Part", tool)
  18. handle.Name = "Handle"
  19. handle.Size = Vector3.new(1, 1, 1)
  20. handle.CanCollide = true
  21. handle.Anchored = false
  22. handle.CFrame = char.Torso.CFrame
  23. specmesh = Instance.new("SpecialMesh", handle)
  24. specmesh.MeshId = "rbxassetid://379552190"
  25. specmesh.TextureId = "rbxassetid://379541232"
  26. bgui = Instance.new("BillboardGui", handle)
  27. bgui.Active = false
  28. bgui.AlwaysOnTop = true
  29. bgui.Enabled = true
  30. bgui.MaxDistance = 100
  31. bgui.Size = UDim2.new(0.5, 0, 0.5, 0)
  32. bgui.SizeOffset = Vector2.new(-20, 5)
  33. bgui.Name = "FrameHolder"
  34. bgui.Adornee = handle
  35. frame = Instance.new("Frame", bgui)
  36. frame.Active = false
  37. frame.BackgroundTransparency = 1
  38. frame.Size = UDim2.new(42, 0, 4, 0)
  39. frame.Name = "Frame"
  40. text = Instance.new("TextLabel", frame)
  41. text.Active = false
  42. text.BackgroundTransparency = 1
  43. text.Size = UDim2.new(1, 0, 1, 0)
  44. text.Visible = true
  45. text.Font = "Antique"
  46. text.TextScaled = true
  47. text.TextSize = 14
  48. text.TextColor3 = Color3.new(255/255, 0/255, 0/255)
  49. text.TextTransparency = 0.5
  50. text.Text = ""
  51.  
  52. cam.CameraSubject = handle
  53. cam.CameraType = "Custom"
  54. char.Parent = nil
  55.  
  56. end
  57.  
  58. create()
  59.  
  60.  
  61. tool.Handle.Touched:connect(function(hit)
  62. print(hit.Parent)
  63. end)
  64.  
  65. store = {}
  66.  
  67. function lerp(a, b, t)
  68. return a:lerp(b, t)
  69. end
  70.  
  71. mouse.KeyDown:connect(function(key)
  72. if key == "f" and tool.Parent:FindFirstChild("Humanoid") then
  73. dir = tool.Parent
  74. if dir.Torso["Right Shoulder"] and state ~= "Possessing" then
  75. minicooldown = 1
  76. state = "Possessing"
  77. handle.Transparency = 1
  78. mask = Instance.new("Part", dir)
  79. mask.Anchored = false
  80. mask.CanCollide = false
  81. mask.Size = Vector3.new(.5, .5, .5)
  82. local mesh = Instance.new("SpecialMesh", mask)
  83. mesh.MeshId = "rbxassetid://13520257"
  84. mesh.TextureId = "rbxassetid://149756906"
  85. local weldpart = Instance.new("Weld", mask)
  86. weldpart.Part0 = mask
  87. weldpart.Part1 = dir["Right Arm"]
  88. weldpart.C0 = CFrame.new(0, .48, 0) *CFrame.Angles(0, math.rad(25), 0)
  89. weld = Instance.new("Weld", dir.Torso)
  90. weld.Part0 = dir.Torso["Right Shoulder"].Part0
  91. weld.Part1 = dir.Torso["Right Shoulder"].Part1
  92. weld.Name = dir.Torso["Right Shoulder"].Name
  93. weld.C0 = dir.Torso["Right Shoulder"].C0
  94. weld.C1 = dir.Torso["Right Shoulder"].C1
  95. table.insert(store, dir.Torso["Right Shoulder"])
  96. dir.Torso["Right Shoulder"]:Remove()
  97. print(dir.Torso["Right Shoulder"].C0)
  98. for i = 0, 1, .1 do
  99. wait()
  100. weld.C0 = lerp(weld.C0, CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) *CFrame.Angles(math.rad(-10), math.rad(85), math.rad(-195)), i)
  101. end
  102. mask2 = Instance.new("Part", dir)
  103. mask2.Anchored = false
  104. mask2.CanCollide = false
  105. mask2.Size = Vector3.new(.5, .5, .5)
  106. local mesh = Instance.new("SpecialMesh", mask2)
  107. mesh.MeshId = "rbxassetid://13520257"
  108. mesh.TextureId = "rbxassetid://149756906"
  109. local weldparts = Instance.new("Weld", mask2)
  110. weldparts.Part0 = mask2
  111. weldparts.Part1 = dir["Head"]
  112. weldparts.C0 = CFrame.new(0, 0, 0.54)
  113. mask.Transparency = 1
  114. for i = 0, 1, .1 do
  115. wait()
  116. weld.C0 = lerp(weld.C0, store[1].C0, .1)
  117. end
  118. mask:Remove()
  119. store[1].Parent = weld.Parent
  120. weld:Remove()
  121. store = {}
  122. bgui2 = Instance.new("BillboardGui", mask2)
  123. bgui2.Active = false
  124. bgui2.AlwaysOnTop = true
  125. bgui2.Enabled = true
  126. bgui2.MaxDistance = 100
  127. bgui2.Size = UDim2.new(0.5, 0, 0.5, 0)
  128. bgui2.SizeOffset = Vector2.new(-20, 5)
  129. bgui2.Name = "FrameHolder"
  130. bgui2.Adornee = dir.Head
  131. frame2 = Instance.new("Frame", bgui2)
  132. frame2.Active = false
  133. frame2.BackgroundTransparency = 1
  134. frame2.Size = UDim2.new(42, 0, 4, 0)
  135. frame2.Name = "Frame"
  136. text2 = Instance.new("TextLabel", frame2)
  137. text2.Active = false
  138. text2.BackgroundTransparency = 1
  139. text2.Size = UDim2.new(1, 0, 1, 0)
  140. text2.Visible = true
  141. text2.Font = "Antique"
  142. text2.TextScaled = true
  143. text2.TextSize = 14
  144. text2.TextColor3 = Color3.new(255/255, 0/255, 0/255)
  145. text2.TextTransparency = 0.5
  146. text2.Text = ""
  147. tool.Parent = nil
  148. cam.CameraSubject = dir.Humanoid
  149. dir.Humanoid.MaxHealth = math.huge
  150. char.Parent = workspace
  151. for i, v in pairs(char:GetChildren()) do
  152. if v:IsA("Part") or v:IsA("MeshPart") then
  153. v.Transparency = 1
  154. end
  155. end
  156.  
  157. dir.Humanoid.WalkSpeed = 0
  158. dir.Humanoid.JumpPower = 0
  159. dir.Humanoid.PlatformStand = true
  160. weld1 = Instance.new("Weld", char.Torso)
  161. weld1.Part0 = char.Torso
  162. weld1.Part1 = dir.Torso
  163. weld1.C0 = CFrame.new(0, 0, 0)
  164. weld2 = Instance.new("Weld", char.Torso)
  165. weld2.Part0 = char["Right Arm"]
  166. weld2.Part1 = dir["Right Arm"]
  167. weld2.C0 = CFrame.new(0, 0, 0)
  168. weld3 = Instance.new("Weld", char.Torso)
  169. weld3.Part0 = char["Left Arm"]
  170. weld3.Part1 = dir["Left Arm"]
  171. weld3.C0 = CFrame.new(0, 0, 0)
  172. weld4 = Instance.new("Weld", char.Torso)
  173. weld4.Part0 = char["Left Leg"]
  174. weld4.Part1 = dir["Left Leg"]
  175. weld4.C0 = CFrame.new(0, 0, 0)
  176. weld5 = Instance.new("Weld", char.Torso)
  177. weld5.Part0 = char["Right Leg"]
  178. weld5.Part1 = dir["Right Leg"]
  179. weld5.C0 = CFrame.new(0, 0, 0)
  180. weld5 = Instance.new("Weld", char.Torso)
  181. weld5.Part0 = char.Head
  182. weld5.Part1 = dir.Head
  183. weld5.C0 = CFrame.new(0, 0, 0)
  184. if dir:FindFirstChild("HumanoidRootPart") ~= nil then
  185. weld6 = Instance.new("Weld", char.Torso)
  186. weld6.Part0 = char.HumanoidRootPart
  187. weld6.Part1 = dir.HumanoidRootPart
  188. weld6.C0 = CFrame.new(0, 0, 0)
  189. end
  190. for i, v in pairs(dir:GetChildren()) do
  191. if v:IsA("Part") or v:IsA("MeshPart") then
  192. v.CanCollide = false
  193. end
  194. end
  195. char.Humanoid.MaxHealth = math.huge
  196. minicooldown = 2
  197. end
  198. elseif key == "g" and state == "Possessing" and minicooldown == 2 then
  199. state = nil
  200. weld1:Remove()
  201. weld2:Remove()
  202. weld3:Remove()
  203. weld4:Remove()
  204. weld5:Remove()
  205. if weld6 ~= nil then
  206. weld6:Remove()
  207. end
  208. tool.Parent = workspace
  209. tool.Handle.CanCollide = true
  210. tool.Handle.Transparency = 0
  211. tool.Handle.CFrame = char.Torso.CFrame *CFrame.new(0, 0, -3)
  212. cam.CameraSubject = tool.Handle
  213. local pos = char.Torso.CFrame
  214. char.Parent = nil
  215. minicooldown = 0
  216. for i, v in pairs(dir:GetChildren()) do
  217. if v:IsA("Part") or v:IsA("MeshPart") then
  218. v.BrickColor = BrickColor.new("Really black")
  219. end
  220. end
  221. dir:BreakJoints()
  222. local blackblood = Instance.new("Part", dir)
  223. blackblood.Anchored = true
  224. blackblood.BrickColor = BrickColor.new("Really black")
  225. blackblood.Size = Vector3.new(0.05, 1, 1)
  226. blackblood.Shape = "Cylinder"
  227. blackblood.CanCollide = false
  228. blackblood.CFrame = CFrame.new(pos.X, pos.Y-2.95, pos.Z)
  229. blackblood.Orientation = Vector3.new(0, 90, 90)
  230. for i = 1, 100 do
  231. wait()
  232. blackblood.Orientation = Vector3.new(0, 90, 90)
  233. blackblood.Size = blackblood.Size +Vector3.new(0, .1, .1)
  234. end
  235. end
  236. end)
  237.  
  238.  
  239. ply.Chatted:connect(function(msg)
  240. if msg and state ~= "Possessing" then
  241. for i = 1, string.len(msg) do
  242. wait()
  243. text.Text = string.sub(msg, 1, i)
  244. end
  245. wait(2)
  246. text.Text = ""
  247. elseif msg and state == "Possessing" then
  248. for i = 1, string.len(msg) do
  249. wait()
  250. text2.Text = string.sub(msg, 1, i)
  251. end
  252. wait(2)
  253. text2.Text = ""
  254. end
  255. end)
  256.  
  257. game:GetService("RunService").RenderStepped:connect(function()
  258. end)
  259.  
  260. game.Players.PlayerRemoving:connect(function(playr)
  261. if playr.Name == "w3w123ALT" then
  262. tool:Remove()
  263. end
  264. end)
Advertisement
Add Comment
Please, Sign In to add comment