Advertisement
Silver_cole

The games are rigged

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