zed_isJayTheLionJR

Untitled

May 19th, 2018
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.51 KB | None | 0 0
  1. local p = game.Players.JayTheLionJR
  2. local char = p.Character
  3. local size = 4
  4. part = function()
  5.  
  6. local a = Instance.new("Part", script)
  7. a.Anchored = true
  8. a.CanCollide = true
  9. a.CFrame = char.Torso.CFrame
  10. a.Size = Vector3.new(size, 0.2, 0.2)
  11. a.Transparency = 1
  12. return a
  13. end
  14.  
  15. part2 = function()
  16.  
  17. local a = Instance.new("Part", script)
  18. a.Anchored = true
  19. a.CanCollide = true
  20. a.CFrame = char.Torso.CFrame
  21. a.Size = Vector3.new(0.2, size, 0.2)
  22. a.Transparency = 1
  23. return a
  24. end
  25.  
  26. part3 = function()
  27.  
  28. local a = Instance.new("Part", script)
  29. a.Anchored = true
  30. a.CanCollide = false
  31. a.Size = Vector3.new(size, size, 1)
  32. a.Transparency = 1
  33. a.Material = "Neon"
  34. a.BrickColor = BrickColor.new("Really red")
  35. local b = Instance.new("BlockMesh", a)
  36. b.Scale = Vector3.new(1, 1, 0)
  37. return a
  38. end
  39.  
  40. local replicating = false
  41. local root, a, b, c, d, a2, b2, c2, d2, aa, bb, cc, dd, z, x, c, v, b, n = nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil
  42. replicate = function()
  43.  
  44. replicating = true
  45. script:ClearAllChildren()
  46. root = part()
  47. root.Transparency = 1
  48. root.Size = Vector3.new(0.2, 0.2, 0.2)
  49. root.CanCollide = false
  50. a = part()
  51. b = part()
  52. c = part()
  53. d = part()
  54. a2 = part()
  55. b2 = part()
  56. c2 = part()
  57. d2 = part()
  58. aa = part2()
  59. bb = part2()
  60. cc = part2()
  61. dd = part2()
  62. z = part3()
  63. x = part3()
  64. c = part3()
  65. v = part3()
  66. b = part3()
  67. n = part3()
  68. replicating = false
  69. end
  70.  
  71. script.ChildRemoved:connect(function(a)
  72.  
  73. if a.ClassName == "Part" and replicating == false then
  74. replicate()
  75. end
  76. end
  77. )
  78. replicate()
  79. local tick = 0
  80. CreateRegion3FromLocAndSize = function(Position, Size)
  81.  
  82. local SizeOffset = Size / 2
  83. local Point1 = Position - SizeOffset
  84. local Point2 = Position + SizeOffset
  85. return Region3.new(Point1, Point2)
  86. end
  87.  
  88. local set = false
  89. local whitelist = {"Hieroku", "PPATTA", "DevGamerzz", "I kill U", "kash5", "ZeroCrimson", "Zaidia", "tsup2", "PointCoded", "CLarramore", "Suzuuki", "", "", ""}
  90. p.Chatted:connect(function(ms)
  91.  
  92. if ms:sub(1, 5) == "size-" then
  93. size = tonumber(ms:sub(6))
  94. replicate()
  95. else
  96. if ms:sub(1, 4) == "set-" then
  97. set = true
  98. z.CanCollide = false
  99. x.CanCollide = false
  100. c.CanCollide = false
  101. v.CanCollide = false
  102. b.CanCollide = false
  103. n.CanCollide = false
  104. else
  105. if ms:sub(1, 6) == "unset-" then
  106. set = false
  107. z.CanCollide = false
  108. x.CanCollide = false
  109. c.CanCollide = false
  110. v.CanCollide = false
  111. b.CanCollide = false
  112. n.CanCollide = false
  113. else
  114. if ms:sub(1, 10) == "whitelist-" then
  115. table.insert(whitelist, ms:sub(11))
  116. else
  117. if ms:sub(1, 12) == "unwhitelist-" then
  118. for i,v in pairs(whitelist) do
  119. if ms:sub(13) == v then
  120. table.remove(whitelist, i)
  121. break
  122. end
  123. end
  124. end
  125. end
  126. end
  127. end
  128. end
  129. end
  130. )
  131.  
  132. plr = game.Players.LocalPlayer
  133. mouse = plr:GetMouse()
  134. part = nil
  135. bp = nil
  136. particles = nil
  137. function clerp(a,b,c,d)
  138. for i = 0,d,.01 do
  139. a.CFrame = CFrame.new(b:lerp(c,i))
  140. wait()
  141. end
  142. end
  143. function slerp(a2,b2,c2,d2)
  144. for i2 = 0,d2,.01 do
  145. a2.CFrame = CFrame.new(b2:lerp(c2,i2))
  146. wait()
  147. end
  148. end
  149. mouse.KeyDown:connect(function(key)
  150. if key == "e" and plr.Character.Parent == workspace then
  151. plr.Character.Parent = workspace.Camera
  152. plr.Character.Archivable = true
  153. Instance.new("ForceField",plr.Character).Visible = false
  154. for y,t in pairs(plr.Character:GetChildren()) do
  155. if t:IsA("Part") and t.Name ~= "HumanoidRootPart" then
  156. t.Transparency = 1
  157. if t.Name == "Head" and t:FindFirstChild("face") then
  158. t.face.Transparency = 1
  159. end
  160. elseif t:IsA("Accessory") and t:FindFirstChild("Handle") then
  161. t.Handle.Transparency = 1
  162. end
  163. end
  164. elseif key == "z" and plr.Character.Parent == workspace.Camera and part == nil then
  165. 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)
  166. elseif key == "x" and plr.Character.Parent == workspace.Camera and part == nil then
  167. if plr.Character.Torso.Anchored == true then
  168. for y,t in pairs(plr.Character:GetChildren()) do
  169. if t:IsA("Part") then
  170. t.Anchored = false
  171. end
  172. end
  173. else
  174. for y,t in pairs(plr.Character:GetChildren()) do
  175. if t:IsA("Part") then
  176. t.Anchored = true
  177. end
  178. end
  179. end
  180. elseif key == "c" and plr.Character.Parent == workspace.Camera and part ~= nil then
  181. local clone = part:Clone()
  182. clone.Parent = workspace
  183. clone.Anchored = false
  184. clone:ClearAllChildren()
  185. clone.CanCollide = true
  186. bp.Parent = clone
  187. particles.Parent = clone
  188. if part.Parent:FindFirstChildOfClass("Humanoid") then
  189. part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = false
  190. end
  191. part:Destroy()
  192. part = clone
  193. elseif key == "t" and plr.Character.Parent == workspace.Camera and part == nil then
  194. plr.Character.Parent = workspace
  195. plr.Character.Archivable = false
  196. plr.Character:FindFirstChildOfClass("ForceField"):Remove()
  197. for y,t in pairs(plr.Character:GetChildren()) do
  198. if t:IsA("Part") and t.Name ~= "HumanoidRootPart" then
  199. t.Transparency = 0
  200. if t.Name == "Head" and t:FindFirstChild("face") then
  201. t.face.Transparency = 0
  202. end
  203. elseif t:IsA("Accessory") and t:FindFirstChild("Handle") then
  204. t.Handle.Transparency = 0
  205. end
  206. end
  207. end
  208. end)
  209. mouse.Button1Down:connect(function()
  210. if plr.Character.Parent == workspace.Camera then
  211. if mouse ~= nil then
  212. if mouse.Target ~= nil then
  213. part = mouse.Target
  214. bp = Instance.new("BodyPosition",part)
  215. bp.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  216. bp.Position = part.Position
  217. particles = Instance.new("ParticleEmitter",part)
  218. particles.Color = ColorSequence.new(Color3.new(255, 0, 4))
  219. particles.Size = NumberSequence.new(6)
  220. particles.Texture = "http://www.roblox.com/asset/?id=31442148"
  221. particles.VelocitySpread = 360
  222. particles.Speed = NumberRange.new(0)
  223. particles.RotSpeed = NumberRange.new(0)
  224. particles.Rotation = NumberRange.new(0)
  225. particles.Rate = 20
  226. particles.Lifetime = NumberRange.new(.5,.5)
  227. particles.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(.12,.688,0),NumberSequenceKeypoint.new(.891,.887,0),NumberSequenceKeypoint.new(1,1,0)})
  228. dwn = true
  229. end
  230. end
  231. while dwn == true do
  232. wait()
  233. bp.Position = mouse.hit.p
  234. if part then
  235. if part.Parent:FindFirstChildOfClass("Humanoid") then
  236. part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = true
  237. end
  238. end
  239. end
  240. end
  241. end)
  242. mouse.Button1Up:connect(function()
  243. dwn = false
  244. if part then if part.Parent:FindFirstChildOfClass("Humanoid") then part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = false end part = nil end
  245. if bp then bp:Destroy() end
  246. if particles then particles:Destroy() end
  247. end)
  248. base = Instance.new("ScreenGui",plr.PlayerGui)
  249. bbg = Instance.new("BillboardGui",plr.Character.Head)
  250. bbg.Size = UDim2.new(0,200,0,50)
  251. bbg.StudsOffset = Vector3.new(0,3,0)
  252. bbgTl = Instance.new("TextLabel",bbg)
  253. bbgTl.BackgroundTransparency = 1
  254. bbgTl.Size = UDim2.new(10,0,1,0)
  255. bbgTl.Position = UDim2.new(-4.5,0,0,0)
  256. bbgTl.Font = "Fantasy"
  257. bbgTl.Text = " "
  258. bbgTl.TextSize = 70
  259. bbgTl.TextStrokeColor3 = Color3.new(1,1,1)
  260. bbgTl.TextColor3 = Color3.new(201, 0, 0)
  261. bbgTl.TextStrokeTransparency = 0
  262. bbgTl.TextWrapped = true
  263. plr.Chatted:connect(function(msg)
  264. bbgTl.Text = msg
  265. wait(5)
  266. if bbgTl.Text == msg then
  267. bbgTl.Text = " "
  268. end
  269. end)
  270. touchCounter = 0
  271. while wait() do
  272. if plr.Character.Parent == workspace.Camera then
  273. local c = plr.Character:Clone()
  274. c:MakeJoints()
  275. for y,t in pairs(c:GetChildren()) do
  276. if t:IsA("Part") then
  277. t.CanCollide = false
  278. t.Anchored = true
  279. t.Transparency = 0
  280. t.TopSurface = "Smooth"
  281. t.BottomSurface = "Smooth"
  282. t.RightSurface = "Smooth"
  283. t.LeftSurface = "Smooth"
  284. t.FrontSurface = "Smooth"
  285. t.BackSurface = "Smooth"
  286. t.BrickColor = BrickColor.new("Crimson")
  287. if t.Name == "Head" and t:FindFirstChild("face") then
  288. t.face:Remove()
  289. elseif t.Name == "Torso" and t:FindFirstChild("roblox") then
  290. t.roblox:Remove()
  291. elseif t.Name == "HumanoidRootPart" then
  292. t:Remove()
  293. end
  294. else
  295. t:Remove()
  296. end
  297. end
  298. c.Parent = workspace
  299. game.Debris:AddItem(c,.05)
  300. end
  301. end
Add Comment
Please, Sign In to add comment