memberhero

Fixed SCP-035 Script

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