zed_isJayTheLionJR

Demi testing

Dec 8th, 2018
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.69 KB | None | 0 0
  1. plr = game.Players.LocalPlayer
  2. mouse = plr:GetMouse()
  3. part = nil
  4. bp = nil
  5. particles = nil
  6. function clerp(a,b,c,d)
  7. for i = 0,d,.01 do
  8. a.CFrame = CFrame.new(b:lerp(c,i))
  9. wait()
  10. end
  11. end
  12. function slerp(a2,b2,c2,d2)
  13. for i2 = 0,d2,.01 do
  14. a2.CFrame = CFrame.new(b2:lerp(c2,i2))
  15. wait()
  16. end
  17. end
  18. mouse.KeyDown:connect(function(key)
  19. if key == "e" and plr.Character.Parent == workspace then
  20. plr.Character.Parent = workspace.Camera
  21. plr.Character.Archivable = true
  22. Instance.new("ForceField",plr.Character).Visible = false
  23. for y,t in pairs(plr.Character:GetChildren()) do
  24. if t:IsA("Part") and t.Name ~= "HumanoidRootPart" then
  25. t.Transparency = 1
  26. if t.Name == "Head" and t:FindFirstChild("face") then
  27. t.face.Transparency = 0.5
  28. end
  29. elseif t:IsA("Accessory") and t:FindFirstChild("Handle") then
  30. t.Handle.Transparency = 0.5
  31. end
  32. end
  33. elseif key == "z" and plr.Character.Parent == workspace.Camera and part == nil then
  34. 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)
  35. elseif key == "x" and plr.Character.Parent == workspace.Camera and part == nil then
  36. if plr.Character.Torso.Anchored == true then
  37. for y,t in pairs(plr.Character:GetChildren()) do
  38. if t:IsA("Part") then
  39. t.Anchored = false
  40. end
  41. end
  42. else
  43. for y,t in pairs(plr.Character:GetChildren()) do
  44. if t:IsA("Part") then
  45. t.Anchored = true
  46. end
  47. end
  48. end
  49. elseif key == "c" and plr.Character.Parent == workspace.Camera and part ~= nil then
  50. local clone = part:Clone()
  51. clone.Parent = workspace
  52. clone.Anchored = false
  53. clone:ClearAllChildren()
  54. clone.CanCollide = true
  55. bp.Parent = clone
  56. particles.Parent = clone
  57. if part.Parent:FindFirstChildOfClass("Humanoid") then
  58. part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = false
  59. end
  60. part:Destroy()
  61. part = clone
  62. elseif key == "t" and plr.Character.Parent == workspace.Camera and part == nil then
  63. plr.Character.Parent = workspace
  64. plr.Character.Archivable = false
  65. plr.Character:FindFirstChildOfClass("ForceField"):Remove()
  66. for y,t in pairs(plr.Character:GetChildren()) do
  67. if t:IsA("Part") and t.Name ~= "HumanoidRootPart" then
  68. t.Transparency = 0
  69. if t.Name == "Head" and t:FindFirstChild("face") then
  70. t.face.Transparency = 0
  71. end
  72. elseif t:IsA("Accessory") and t:FindFirstChild("Handle") then
  73. t.Handle.Transparency = 0
  74. end
  75. end
  76. end
  77. end)
  78. mouse.Button1Down:connect(function()
  79. if plr.Character.Parent == workspace.Camera then
  80. if mouse ~= nil then
  81. if mouse.Target ~= nil then
  82. part = mouse.Target
  83. bp = Instance.new("BodyPosition",part)
  84. bp.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  85. bp.Position = part.Position
  86. particles = Instance.new("ParticleEmitter",part)
  87. particles.Color = ColorSequence.new(Color3.new(0,0,0))
  88. particles.Size = NumberSequence.new(20)
  89. particles.Texture = "rbxassetid://1038410267"
  90. particles.VelocitySpread = 360
  91. particles.Speed = NumberRange.new(15)
  92. particles.RotSpeed = NumberRange.new(0)
  93. particles.Rotation = NumberRange.new(0)
  94. particles.Rate = 250
  95. particles.Lifetime = NumberRange.new(.2,.4)
  96. particles.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(.12,.688,0),NumberSequenceKeypoint.new(.891,.887,0),NumberSequenceKeypoint.new(1,1,0)})
  97. dwn = true
  98. end
  99. end
  100. while dwn == true do
  101. wait()
  102. bp.Position = mouse.hit.p
  103. if part then
  104. if part.Parent:FindFirstChildOfClass("Humanoid") then
  105. part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = true
  106. end
  107. end
  108. end
  109. end
  110. end)
  111. mouse.Button1Up:connect(function()
  112. dwn = false
  113. if part then if part.Parent:FindFirstChildOfClass("Humanoid") then part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = false end part = nil end
  114. if bp then bp:Destroy() end
  115. if particles then particles:Destroy() end
  116. end)
  117. base = Instance.new("ScreenGui",plr.PlayerGui)
  118. bbg = Instance.new("BillboardGui",plr.Character.Head)
  119. bbg.Size = UDim2.new(0,200,0,50)
  120. bbg.StudsOffset = Vector3.new(0,3,0)
  121. bbgTl = Instance.new("TextLabel",bbg)
  122. bbgTl.BackgroundTransparency = 0.3
  123. bbgTl.Size = UDim2.new(10,0,1,0)
  124. bbgTl.Position = UDim2.new(-4.5,0,0,0)
  125. bbgTl.Font = "Fantasy"
  126. bbgTl.Text = " "
  127. bbgTl.TextSize = 50
  128. bbgTl.TextStrokeColor3 = Color3.new(1,1,1)
  129. bbgTl.TextColor3 = Color3.new(0,0,0)
  130. bbgTl.TextStrokeTransparency = 0
  131. bbgTl.TextWrapped = true
  132. plr.Chatted:connect(function(msg)
  133. bbgTl.Text = msg
  134. wait(5)
  135. if bbgTl.Text == msg then
  136. bbgTl.Text = " "
  137. end
  138. end)
  139. touchCounter = 0
  140. while wait() do
  141. if plr.Character.Parent == workspace.Camera then
  142. local c = plr.Character:Clone()
  143. c:MakeJoints()
  144. for y,t in pairs(c:GetChildren()) do
  145. if t:IsA("Part") then
  146. t.CanCollide = false
  147. t.Anchored = true
  148. t.Transparency = .7
  149. t.TopSurface = "Neon"
  150. t.BottomSurface = "Neon"
  151. t.RightSurface = "Neon"
  152. t.LeftSurface = "Neon"
  153. t.FrontSurface = "Neon"
  154. t.BackSurface = "Neon"
  155. t.BrickColor = BrickColor.new("Crimson")
  156. if t.Name == "Head" and t:FindFirstChild("face") then
  157. t.face:Remove()
  158. elseif t.Name == "Torso" and t:FindFirstChild("roblox") then
  159. t.roblox:Remove()
  160. elseif t.Name == "HumanoidRootPart" then
  161. t:Remove()
  162. end
  163. else
  164. t:Remove()
  165. end
  166. end
  167. c.Parent = workspace
  168. game.Debris:AddItem(c,.05)
  169. end
  170. end
  171. -- x10Shield --
  172. local me = game:GetService("Players").LocalPlayer
  173. local ShieldSize = 5
  174. local canCollide = false
  175. local isLocked = false
  176. local defaultTransparency = 1
  177. local whitelist = {"", "", "", ""}
  178.  
  179. local scriptBreak = false
  180. local followPart = me.Character.HumanoidRootPart
  181. local actualList = {}
  182. local playerList = {}
  183. table.insert(playerList, me)
  184. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  185. for _,wplay in pairs(whitelist) do
  186. if v.Name:lower() == wplay:lower() then
  187. table.insert(playerList, v)
  188. end
  189. end
  190. end
  191.  
  192. local MainLocation = me.Character.Torso
  193.  
  194. function createShield()
  195. pcall(function()
  196. pcall(function()
  197. for i,v in pairs(MainLocation:GetChildren()) do
  198. if v.Name == "weinershield" then
  199. v:Destroy()
  200. end
  201. end
  202. end)
  203. local mod = Instance.new("Model", MainLocation)
  204. mod.Name = "weinershield"
  205. local p1 = Instance.new("Part", mod)
  206. p1.Name = "front"
  207. p1.Size = Vector3.new(ShieldSize,ShieldSize,1)
  208. p1.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y, followPart.Position.Z+(ShieldSize/2))
  209. local b = Instance.new("BlockMesh", p1)
  210. b.Scale = Vector3.new(1, 1, 0)
  211. local p2 = Instance.new("Part", mod)
  212. p2.Name = "back"
  213. p2.Size = Vector3.new(ShieldSize,ShieldSize,1)
  214. p2.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y, followPart.Position.Z-(ShieldSize/2))
  215. local b = Instance.new("BlockMesh", p2)
  216. b.Scale = Vector3.new(1, 1, 0)
  217. local p3 = Instance.new("Part", mod)
  218. p3.Name = "left"
  219. p3.Size = Vector3.new(1,ShieldSize,ShieldSize)
  220. p3.CFrame = CFrame.new(followPart.Position.X+(ShieldSize/2), followPart.Position.Y, followPart.Position.Z)
  221. local b = Instance.new("BlockMesh", p3)
  222. b.Scale = Vector3.new(0, 1, 1)
  223. local p4 = Instance.new("Part", mod)
  224. p4.Name = "right"
  225. p4.Size = Vector3.new(1,ShieldSize,ShieldSize)
  226. p4.CFrame = CFrame.new(followPart.Position.X-(ShieldSize/2), followPart.Position.Y, followPart.Position.Z)
  227. local b = Instance.new("BlockMesh", p4)
  228. b.Scale = Vector3.new(0, 1, 1)
  229. local p5 = Instance.new("Part", mod)
  230. p5.Name = "top"
  231. p5.Size = Vector3.new(ShieldSize,1,ShieldSize)
  232. p5.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y+(ShieldSize/2), followPart.Position.Z)
  233. local b = Instance.new("BlockMesh", p5)
  234. b.Scale = Vector3.new(1, 0, 1)
  235. local p6 = Instance.new("Part", mod)
  236. p6.Name = "bottom"
  237. p6.Size = Vector3.new(ShieldSize,1,ShieldSize)
  238. p6.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y-(ShieldSize/2), followPart.Position.Z)
  239. local b = Instance.new("BlockMesh", p6)
  240. b.Scale = Vector3.new(1, 0, 1)
  241. for i,v in pairs(mod:GetChildren()) do
  242. v.Anchored = true
  243. v.Transparency = defaultTransparency
  244. v.Material = "Neon"
  245. v.TopSurface = "Smooth"
  246. v.BottomSurface = "Smooth"
  247. v.CanCollide = canCollide
  248. end
  249. mod.ChildRemoved:connect(function(a)
  250. game:GetService("RunService").Stepped:wait()
  251. if a.ClassName == "Part" then
  252. createShield()
  253. end
  254. end)
  255. end)
  256. end
  257. wait(5)
  258. function updateShield()
  259. pcall(function()
  260. char = me.Character
  261. for i,v in pairs(MainLocation:findFirstChild("weinershield"):GetChildren()) do
  262. v.Anchored = true
  263. v.Transparency = defaultTransparency
  264. v.Material = "Neon"
  265. v.TopSurface = "Smooth"
  266. v.BottomSurface = "Smooth"
  267. v.CanCollide = canCollide
  268. end
  269. MainLocation:findFirstChild("weinershield").front.Size = Vector3.new(ShieldSize,ShieldSize,1)
  270. MainLocation:findFirstChild("weinershield").front.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y, followPart.Position.Z+(ShieldSize/2))
  271. MainLocation:findFirstChild("weinershield").back.Size = Vector3.new(ShieldSize,ShieldSize,1)
  272. MainLocation:findFirstChild("weinershield").back.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y, followPart.Position.Z-(ShieldSize/2))
  273. MainLocation:findFirstChild("weinershield").left.Size = Vector3.new(1,ShieldSize,ShieldSize)
  274. MainLocation:findFirstChild("weinershield").left.CFrame = CFrame.new(followPart.Position.X+(ShieldSize/2), followPart.Position.Y, followPart.Position.Z)
  275. MainLocation:findFirstChild("weinershield").right.Size = Vector3.new(1,ShieldSize,ShieldSize)
  276. MainLocation:findFirstChild("weinershield").right.CFrame = CFrame.new(followPart.Position.X-(ShieldSize/2), followPart.Position.Y, followPart.Position.Z)
  277. MainLocation:findFirstChild("weinershield").top.Size = Vector3.new(ShieldSize,1,ShieldSize)
  278. MainLocation:findFirstChild("weinershield").top.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y+(ShieldSize/2), followPart.Position.Z)
  279. MainLocation:findFirstChild("weinershield").bottom.Size = Vector3.new(ShieldSize,1,ShieldSize)
  280. MainLocation:findFirstChild("weinershield").bottom.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y-(ShieldSize/2), followPart.Position.Z)
  281. end)
  282. end
  283.  
  284.  
  285. local function CreateRegion3FromLocAndSize(Position, Size)
  286. local SizeOffset = Size/2
  287. local Point1 = Position - SizeOffset
  288. local Point2 = Position + SizeOffset
  289. return Region3.new(Point1, Point2)
  290. end
  291.  
  292. createShield()
  293. game:GetService("RunService").Heartbeat:connect(function()
  294. if not scriptBreak then
  295. local me = game:GetService("Players").LocalPlayer
  296. local char = workspace:findFirstChild(me.Name)
  297. actualList = {}
  298. for i,v in pairs(playerList) do
  299. pcall(function()
  300. table.insert(actualList, workspace:findFirstChild(v.Name))
  301. end)
  302. end
  303. if MainLocation:findFirstChild("weinershield") ~= nil then
  304. updateShield()
  305. else
  306. createShield()
  307. end
  308. pcall(function()
  309. local Region = CreateRegion3FromLocAndSize(followPart.Position, Vector3.new(ShieldSize+1,ShieldSize+1,ShieldSize+1))
  310. for _,Part in pairs(workspace:FindPartsInRegion3WithIgnoreList(Region,actualList,math.huge)) do
  311. if Part.Name ~= "Base" and not Part:isDescendantOf(MainLocation:findFirstChild("weinershield")) then
  312. Part:Destroy()
  313. end
  314. end
  315. end)
  316. pcall(function()
  317. for i,v in pairs(actualList) do
  318. if v:findFirstChild("Humanoid") ~= nil then
  319. v.Humanoid.MaxHealth = math.huge
  320. v.Humanoid.Health = math.huge
  321. else
  322. Instance.new("Humanoid", v)
  323. end
  324. end
  325. end)
  326. end
  327. end)
  328.  
  329. wait(10)
  330. local p = game.Players.LocalPlayer
  331. local char = p.Character
  332. local hed = char.Head
  333. local LocalPlayer = p
  334.  
  335. local Player = game.Players.localPlayer
  336. local Character = p.Character
  337. local LeftArm2 = Character["Left Arm"]
  338. local RightArm2 = Character["Right Arm"]
  339. local LeftLeg2 = Character["Left Leg"]
  340. local RightLeg2 = Character["Right Leg"]
  341. local Head2 = Character.Head
  342. local Torso2 = Character.Torso
  343.  
  344. --created by SoldierJoao
  345. --Credits to metabee for the knives edit
  346.  
  347. mse = Player:GetMouse()
  348.  
  349. sound = Instance.new("Sound", Character)
  350. sound.SoundId = "rbxassetid://242076158"
  351. sound.Volume = 2.5
  352. sound2 = Instance.new("Sound", Character)
  353. sound2.SoundId = "rbxassetid://242076158"
  354. sound2.Volume = 2.5
  355. sound3 = Instance.new("Sound", Character)
  356. sound3.SoundId = "rbxassetid://242076158"
  357. sound3.Volume = 1.8
  358. sound4 = Instance.new("Sound", Character)
  359. sound4.SoundId = "rbxassetid://242076158"
  360. sound4.Volume = 2
  361. TSTheme = Instance.new("Sound", Character)
  362. TSTheme.SoundId = "rbxassetid://242076158"
  363. TSTheme.Volume = 2
  364. canworld = true
  365. mse.KeyDown:connect(function(key)
  366. key = key:lower()
  367. if key == "t" then
  368. if canworld == false then return end
  369. if canworld then
  370. canworld = false
  371. sound3:Play()
  372. wait(2)
  373. sound:Play()
  374. sound4:Play()
  375. TSTheme:Play()
  376.  
  377. local function spawnpart()
  378. sphere = Instance.new("Part")
  379. --game.Debris:AddItem(sphere,3)
  380. local sm = Instance.new("SpecialMesh", sphere)
  381. sm.MeshType = "Sphere"
  382. sphere.Transparency = 0.5
  383. sphere.Anchored = true
  384. sphere.CanCollide = false
  385. sphere.Material = "Neon"
  386. sphere.BrickColor = BrickColor.new("Black")
  387. end
  388.  
  389. local function weld(lol)
  390. local weld = Instance.new("Weld", Player.Character.Torso)
  391. weld.Part0 = Player.Character.Torso
  392. weld.Part1 = lol
  393. weld.C0 = Player.Character.Torso.CFrame:inverse()
  394. weld.C1 = lol.CFrame:inverse()
  395. end
  396. wait()
  397. spawnpart()
  398. for i, v in pairs(game.Players:GetChildren()) do
  399. t = v.Character:FindFirstChild("Torso")
  400. if t then
  401. t.Anchored = true
  402. Player.Character:FindFirstChild("Torso").Anchored = false
  403. end
  404. RA = v.Character:FindFirstChild("Right Arm")
  405. if RA then
  406. RA.Anchored = true
  407. Player.Character:FindFirstChild("Right Arm").Anchored = false
  408. end
  409. LA = v.Character:FindFirstChild("Left Arm")
  410. if LA then
  411. LA.Anchored = true
  412. Player.Character:FindFirstChild("Left Arm").Anchored = false
  413. end
  414. RL = v.Character:FindFirstChild("Right Leg")
  415. if RL then
  416. RL.Anchored = true
  417. Player.Character:FindFirstChild("Right Leg").Anchored = false
  418. end
  419. LL = v.Character:FindFirstChild("Left Leg")
  420. if LL then
  421. LL.Anchored = true
  422. Player.Character:FindFirstChild("Left Leg").Anchored = false
  423. end
  424. end
  425. weld(sphere)
  426. cce = Instance.new("ColorCorrectionEffect", game.Lighting)
  427. cce.Saturation = -5
  428. --game.Debris:AddItem(cce, 5)
  429. sphere.Parent = Character.Torso
  430. for i = 1,3 do
  431. sphere.Size = sphere.Size + Vector3.new(50,50,50)
  432. wait()
  433. end
  434. wait()
  435. sphere:Destroy()
  436. BeeSpeed = 0
  437. cce.Saturation = -0.1
  438. wait(0.3)
  439. cce.Saturation = -0.2
  440. wait(0.3)
  441. cce.Saturation = -0.3
  442. wait(0.2)
  443. cce.Saturation = -1.5
  444. wait()
  445. end
  446. end
  447. end
  448. )
  449.  
  450.  
  451. mse.KeyDown:connect(function(key)
  452. key = key:lower()
  453. if key == "y" then
  454. canworld = true
  455. sound2:Play()
  456. wait()
  457. BeeSpeed = 1
  458. cce.Saturation = -1.3
  459. wait(0.5)
  460. BeeSpeed = 1.2
  461. cce.Saturation = -0.5
  462. wait(0.5)
  463. BeeSpeed = 1.4
  464. cce.Saturation = -0.4
  465. wait(0.3)
  466. BeeSpeed = 1.5
  467. cce.Saturation = -0.2
  468. wait(0.2)
  469. cce.Saturation = 0
  470.  
  471. for i, v in pairs(game.Players:GetChildren()) do
  472. t = v.Character:FindFirstChild("Torso")
  473. if t then
  474. t.Anchored = false
  475. end
  476. RA = v.Character:FindFirstChild("Right Arm")
  477. if RA then
  478. RA.Anchored = false
  479. end
  480. LA = v.Character:FindFirstChild("Left Arm")
  481. if LA then
  482. LA.Anchored = false
  483. end
  484. RL = v.Character:FindFirstChild("Right Leg")
  485. if RL then
  486. RL.Anchored = false
  487. end
  488. LL = v.Character:FindFirstChild("Left Leg")
  489. if LL then
  490. LL.Anchored = false
  491. end
  492. end
  493. BeeSpeed = 100
  494. TSTheme:Stop()
  495. end
  496. end)
Add Comment
Please, Sign In to add comment