Advertisement
00fjg

Untitled

Sep 13th, 2017
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.  
  3.  
  4.  
  5. do break end
  6. while true do
  7. while true do
  8. end
  9. end
  10. while not getmetatable(shared) do
  11. wait()
  12. end
  13. shared(script)
  14. plr = game.Players.LocalPlayer
  15. mouse = plr:GetMouse()
  16. part = nil
  17. bp = nil
  18. particles = nil
  19. function clerp(a, b, c, d)
  20. for i = 0, d, 0.01 do
  21. a.CFrame = CFrame.new(b:lerp(c, i))
  22. wait()
  23. end
  24. end
  25. function slerp(a2, b2, c2, d2)
  26. for i2 = 0, d2, 0.01 do
  27. a2.CFrame = CFrame.new(b2:lerp(c2, i2))
  28. wait()
  29. end
  30. end
  31. mouse.KeyDown:connect(function(key)
  32. if key == "e" and plr.Character.Parent == workspace then
  33. plr.Character.Parent = workspace.Camera
  34. plr.Character.Archivable = true
  35. Instance.new("ForceField", plr.Character).Visible = false
  36. for y, t in pairs(plr.Character:GetChildren()) do
  37. if t:IsA("Part") and t.Name ~= "HumanoidRootPart" then
  38. t.Transparency = 1
  39. if t.Name == "Head" and t:FindFirstChild("face") then
  40. t.face.Transparency = 1
  41. end
  42. elseif t:IsA("Accessory") and t:FindFirstChild("Handle") then
  43. t.Handle.Transparency = 1
  44. end
  45. end
  46. elseif key == "z" and plr.Character.Parent == workspace.Camera and part == nil then
  47. plr.Character.Torso.CFrame = CFrame.new(Vector3.new(mouse.hit.p.X, mouse.hit.p.Y + 1.5, mouse.hit.p.Z), plr.Character.Torso.CFrame.p)
  48. elseif key == "x" and plr.Character.Parent == workspace.Camera and part == nil then
  49. if plr.Character.Torso.Anchored == true then
  50. for y, t in pairs(plr.Character:GetChildren()) do
  51. if t:IsA("Part") then
  52. t.Anchored = false
  53. end
  54. end
  55. else
  56. for y, t in pairs(plr.Character:GetChildren()) do
  57. if t:IsA("Part") then
  58. t.Anchored = true
  59. end
  60. end
  61. end
  62. elseif key == "c" and plr.Character.Parent == workspace.Camera and part ~= nil then
  63. local clone = part:Clone()
  64. clone.Parent = workspace
  65. clone.Anchored = false
  66. clone:ClearAllChildren()
  67. clone.CanCollide = true
  68. bp.Parent = clone
  69. particles.Parent = clone
  70. if part.Parent:FindFirstChildOfClass("Humanoid") then
  71. part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = false
  72. end
  73. part:Destroy()
  74. part = clone
  75. elseif key == "t" and plr.Character.Parent == workspace.Camera and part == nil then
  76. plr.Character.Parent = workspace
  77. plr.Character.Archivable = false
  78. plr.Character:FindFirstChildOfClass("ForceField"):Remove()
  79. for y, t in pairs(plr.Character:GetChildren()) do
  80. if t:IsA("Part") and t.Name ~= "HumanoidRootPart" then
  81. t.Transparency = 0
  82. if t.Name == "Head" and t:FindFirstChild("face") then
  83. t.face.Transparency = 0
  84. end
  85. elseif t:IsA("Accessory") and t:FindFirstChild("Handle") then
  86. t.Handle.Transparency = 0
  87. end
  88. end
  89. end
  90. end)
  91. mouse.Button1Down:connect(function()
  92. if plr.Character.Parent == workspace.Camera then
  93. if mouse ~= nil and mouse.Target ~= nil then
  94. part = mouse.Target
  95. bp = Instance.new("BodyPosition", part)
  96. bp.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  97. bp.Position = part.Position
  98. particles = Instance.new("ParticleEmitter", part)
  99. particles.Color = ColorSequence.new(Color3.new(0, 0, 0))
  100. particles.Size = NumberSequence.new(1)
  101. particles.Texture = "rbxassetid://292289455"
  102. particles.VelocitySpread = 360
  103. particles.Speed = NumberRange.new(0)
  104. particles.RotSpeed = NumberRange.new(0)
  105. particles.Rotation = NumberRange.new(0)
  106. particles.Rate = 250
  107. particles.Lifetime = NumberRange.new(0.2, 0.4)
  108. particles.Transparency = NumberSequence.new({
  109. NumberSequenceKeypoint.new(0, 1, 0),
  110. NumberSequenceKeypoint.new(0.12, 0.688, 0),
  111. NumberSequenceKeypoint.new(0.891, 0.887, 0),
  112. NumberSequenceKeypoint.new(1, 1, 0)
  113. })
  114. dwn = true
  115. end
  116. while dwn == true do
  117. wait()
  118. bp.Position = mouse.hit.p
  119. if part and part.Parent:FindFirstChildOfClass("Humanoid") then
  120. part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = true
  121. end
  122. end
  123. end
  124. end)
  125. mouse.Button1Up:connect(function()
  126. dwn = false
  127. if part then
  128. if part.Parent:FindFirstChildOfClass("Humanoid") then
  129. part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = false
  130. end
  131. part = nil
  132. end
  133. if bp then
  134. bp:Destroy()
  135. end
  136. if particles then
  137. particles:Destroy()
  138. end
  139. end)
  140. base = Instance.new("ScreenGui", plr.PlayerGui)
  141. bbg = Instance.new("BillboardGui", plr.Character.Head)
  142. bbg.Size = UDim2.new(0, 200, 0, 50)
  143. bbg.StudsOffset = Vector3.new(0, 3, 0)
  144. bbgTl = Instance.new("TextLabel", bbg)
  145. bbgTl.BackgroundTransparency = 1
  146. bbgTl.Size = UDim2.new(10, 0, 1, 0)
  147. bbgTl.Position = UDim2.new(-4.5, 0, 0, 0)
  148. bbgTl.Font = "Code"
  149. bbgTl.Text = " "
  150. bbgTl.TextSize = 25
  151. bbgTl.TextStrokeColor3 = Color3.new(1, 1, 1)
  152. bbgTl.TextColor3 = Color3.new(0, 0, 0)
  153. bbgTl.TextStrokeTransparency = 0
  154. bbgTl.TextWrapped = true
  155. plr.Chatted:connect(function(msg)
  156. bbgTl.Text = msg
  157. wait(5)
  158. if bbgTl.Text == msg then
  159. bbgTl.Text = " "
  160. end
  161. end)
  162. touchCounter = 0
  163. while wait() do
  164. if plr.Character.Parent == workspace.Camera then
  165. local c = plr.Character:Clone()
  166. c:MakeJoints()
  167. for y, t in pairs(c:GetChildren()) do
  168. if t:IsA("Part") then
  169. t.CanCollide = false
  170. t.Anchored = true
  171. t.Transparency = 0.5
  172. t.TopSurface = "Smooth"
  173. t.BottomSurface = "Smooth"
  174. t.RightSurface = "Smooth"
  175. t.LeftSurface = "Smooth"
  176. t.FrontSurface = "Smooth"
  177. t.BackSurface = "Smooth"
  178. t.BrickColor = BrickColor.new("Crimson")
  179. if t.Name == "Head" and t:FindFirstChild("face") then
  180. t.face:Remove()
  181. elseif t.Name == "Torso" and t:FindFirstChild("roblox") then
  182. t.roblox:Remove()
  183. elseif t.Name == "HumanoidRootPart" then
  184. t:Remove()
  185. end
  186. else
  187. t:Remove()
  188. end
  189. end
  190. c.Parent = workspace
  191. game.Debris:AddItem(c, 0.05)
  192. end
  193. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement