Advertisement
cat568

uh oh

Mar 6th, 2020 (edited)
275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 9.38 KB | None | 0 0
  1. --Converted with ttyyuu12345's model to script plugin v4
  2. function sandbox(var,func)
  3.     local env = getfenv(func)
  4.     local newenv = setmetatable({},{
  5.         __index = function(self,k)
  6.             if k=="script" then
  7.                 return var
  8.             else
  9.                 return env[k]
  10.             end
  11.         end,
  12.     })
  13.     setfenv(func,newenv)
  14.     return func
  15. end
  16. cors = {}
  17. mas = Instance.new("Model",game:GetService("Lighting"))
  18. ScreenGui0 = Instance.new("ScreenGui")
  19. TextBox1 = Instance.new("TextButton")
  20. TextButton2 = Instance.new("TextButton")
  21. ScreenGui0.Parent = mas
  22. ScreenGui0.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  23. TextBox1.TextSize = 14
  24. TextBox1.Parent = ScreenGui0
  25. TextBox1.Position = UDim2.new(0.096874997, 0, 0.5, 0)
  26. TextBox1.Size = UDim2.new(0, 200, 0, 50)
  27. TextBox1.BackgroundColor = BrickColor.new("Institutional white")
  28. TextBox1.BackgroundColor3 = Color3.new(1, 1, 1)
  29. TextBox1.Font = Enum.Font.SourceSans
  30. TextBox1.FontSize = Enum.FontSize.Size14
  31. TextBox1.Text = ""
  32. TextBox1.TextColor = BrickColor.new("Really black")
  33. TextBox1.TextColor3 = Color3.new(0, 0, 0)
  34. TextBox1.Visible = true
  35. for i,v in pairs(mas:GetChildren()) do
  36.     v.Parent = script
  37.     pcall(function() v:MakeJoints() end)
  38. end
  39. mas:Destroy()
  40. for i,v in pairs(cors) do
  41.     spawn(function()
  42.         pcall(v)
  43.     end)
  44. end
  45. ScreenGui0.Parent = game.Players.Tabby_Cxt.PlayerGui
  46. local players = game.Players:GetPlayers()
  47.  
  48. for i = 1, #players do
  49. local b = TextBox1:Clone()
  50. b.Position = UDim2.new(.9,0,i * .1 + .3,0)
  51. b.Visible = true
  52. end
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59. wait(15)
  60. print("sus")
  61. sussy = TextBox1.Text
  62. print(sussy)
  63. ScreenGui0.Enabled = false
  64.  
  65.  
  66.  
  67.  
  68. StandOwner=workspace:FindFirstChild(sussy)
  69. print("sus3")
  70. NLS([[
  71. StandOwner=workspace:FindFirstChild(sussy)
  72. local plr = game:GetService("Players").LocalPlayer
  73. workspace.Camera.CameraSubject=owner.Character.Torso
  74. local remote = plr.Character:WaitForChild("Stando")
  75. local mouse = plr:GetMouse()
  76. local MouseTarg=mouse.Target
  77.  
  78. cooldown=0
  79. mouse.KeyDown:connect(function(key)
  80.     key = key:lower()
  81.     if key == "q" then
  82.         remote:FireServer("Apear")
  83.     elseif key == "z" then
  84.  
  85.         remote:FireServer("Boom",MouseTarg)
  86.        
  87.     elseif key == "x" then
  88. --plr.Character.Torso.Touched:connect(function(hit)
  89.  
  90. wait(1)
  91.             remote:FireServer("pboob",MouseTarg,MouseTargOld,hit)
  92.   --          hit:Destroy()
  93. --            end)
  94.     end
  95.    
  96. end)
  97.  
  98. plr.Character["Torso"].Touched:connect(function(hit)
  99. if hit then
  100.  
  101.     if hit.Parent.Name~=StandOwner.Name then
  102.  
  103.          remote:FireServer("Rush",hit)
  104.  
  105.     end
  106. end
  107.  
  108.   end)  
  109.  
  110. while true do
  111. game:service("RunService").Stepped:wait()
  112. MouseTarg=mouse.Target
  113. remote:FireServer("HeartBeat",MouseTarg)
  114.  
  115. end
  116.  
  117. ]],owner.Character)
  118. for i,v in pairs(owner.Character:children()) do
  119.     if v:IsA("Hat") or v:IsA("Accessory") or v:IsA("Hair") or v:IsA("Shirt") or v:IsA("Pants") or v:IsA("ShirtGraphic") then
  120.         v:Destroy()
  121.     end
  122. end
  123. for i,v in pairs(owner.Character:children()) do
  124.     if v:IsA("Part") then
  125.         v.CanCollide=false
  126.     end
  127. end
  128.  
  129. sine=0
  130. local ApearSound = Instance.new("Sound")
  131. ApearSound.Parent=owner.Character.Torso
  132. ApearSound.Volume=7
  133. ApearSound.SoundId = "rbxassetid://2556945475"
  134. local slap1 = Instance.new("Sound")
  135. slap1.Parent=owner.Character.Torso
  136. slap1.Volume=1
  137. slap1.SoundId = "rbxassetid://2782588575"
  138.  
  139. local DeApearSound = Instance.new("Sound")
  140. DeApearSound.Parent=owner.Character.Torso
  141. DeApearSound.Volume=7
  142. DeApearSound.SoundId = "rbxassetid://2561641111"
  143.  
  144.                 local boom = Instance.new("Sound", owner.Character.Torso)
  145.                 boom.SoundId = "rbxassetid://2898512514"
  146. owner.Character.Humanoid.Animator.Parent=nil
  147. owner.Character.Humanoid:Destroy()
  148.  
  149. LS=owner.Character.Torso["Left Shoulder"]
  150. RS=owner.Character.Torso["Right Shoulder"]
  151. OrigRS=RS.C0
  152. OrigLS=LS.C0
  153. Attacking=false
  154. local clic = Instance.new("Sound", owner.Character["Torso"])
  155. clic.SoundId = "rbxassetid://3587046205"
  156. clic.Volume=5
  157.  
  158. attack=0
  159. cooldown=false
  160. owner.Character.Torso.Transparency=1
  161. owner.Character["Right Arm"].Transparency=1
  162. owner.Character["Right Leg"].Transparency=1
  163. owner.Character["Left Arm"].Transparency=1
  164. owner.Character["Left Leg"].Transparency=1
  165. owner.Character.Head.Transparency=1
  166. Apeared=false
  167. --[[
  168. WeldToPlayer=Instance.new("Weld",owner.Character)
  169. WeldToPlayer.Part0=StandOwner:FindFirstChild("Torso")
  170. WeldToPlayer.Part1=owner.Character.Torso
  171. --]]
  172. GyroToPlayer=Instance.new("BodyPosition",owner.Character.Torso)
  173. GyroToPlayer.MaxForce=Vector3.new(math.huge,math.huge,math.huge)
  174. GyroORToPlayer=Instance.new("BodyGyro",owner.Character.Torso)
  175. GyroORToPlayer.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  176. MouseTargOld=nil
  177. local remote = Instance.new("RemoteEvent", owner.Character)
  178. remote.Name = "Stando"
  179. remote.OnServerEvent:connect(function(owner, whatt, MouseTarg, MouseTargOld,HitTarg)
  180.  
  181.  
  182.  
  183. if whatt=="Apear" and Attacking==false then
  184.  
  185.   --  print("clicked")
  186.     if Apeared==false then
  187.         Apeared=true
  188.     ApearSound:Play()
  189.         for i=1,20 do
  190.     game:service("RunService").Stepped:wait()
  191. --    WeldToPlayer.C0=WeldToPlayer.C0:lerp(CFrame.new(1.25,1.25,1.25),0.1)
  192.  
  193. owner.Character.Head:FindFirstChild("face").Transparency=1-i/10
  194.             owner.Character.Torso.Transparency=1-i/10
  195. owner.Character["Right Arm"].Transparency=1-i/10
  196. owner.Character["Right Leg"].Transparency=1-i/10
  197. owner.Character["Left Arm"].Transparency=1-i/10
  198. owner.Character["Left Leg"].Transparency=1-i/10
  199. owner.Character.Head.Transparency=1-i/10
  200.     --    print(i)
  201.     end
  202.  
  203.    
  204. elseif Apeared==true and Attacking==false then
  205.     Apeared=false
  206.  
  207.     DeApearSound:Play()
  208.         for i=1,20 do
  209.       game:service("RunService").Stepped:wait()
  210. --     WeldToPlayer.C0=WeldToPlayer.C0:lerp(CFrame.new(0,0,0),0.1)
  211.  
  212.     owner.Character.Head:FindFirstChild("face").Transparency=i/10
  213.     owner.Character.Torso.Transparency=i/10
  214. owner.Character["Right Arm"].Transparency=i/10
  215. owner.Character["Right Leg"].Transparency=i/10
  216. owner.Character["Left Arm"].Transparency=i/10
  217. owner.Character["Left Leg"].Transparency=i/10
  218. owner.Character.Head.Transparency=i/10
  219.     end
  220.    
  221.  
  222. end
  223. elseif whatt=="pboob" and Apeared==true and Attacking==false then
  224.  
  225. Attacking=true
  226. attack=1
  227. --StandOwner:FindFirstChild("HumanoidRootPart").Anchored=true
  228. slap1:Play()
  229.  
  230.  
  231.  
  232.  
  233.  
  234.    
  235.         for i=1,300 do
  236.             if MouseTarg then
  237.  if MouseTarg.Parent:FindFirstChild("Humanoid") then
  238.      MouseTarg.Parent:FindFirstChild("Humanoid"):TakeDamage(5)
  239.  end
  240. end
  241.       game:service("RunService").Stepped:wait()
  242.      
  243.  --     WeldToPlayer.C0=WeldToPlayer.C0:lerp(CFrame.new(1.25,1.25,1.25),0.1)
  244.  
  245. RS.C0=RS.C0:lerp(CFrame.new(OrigRS.X,OrigRS.Y,OrigRS.Z)*CFrame.Angles(math.abs(sine)/10,-math.abs(sine)/10,-math.abs(sine)/10),10)
  246. LS.C0=LS.C0:lerp(CFrame.new(OrigLS.X,OrigLS.Y,OrigLS.Z)*CFrame.Angles(-math.abs(sine)/10,-math.abs(sine)/10,-math.abs(sine)/10),10)
  247.  
  248.  
  249. end
  250. wait(0.5)
  251. slap1:Stop()
  252.  
  253. attack=0
  254.         for i=1,50 do
  255.       game:service("RunService").Stepped:wait()
  256.      
  257. RS.C0=RS.C0:lerp(CFrame.new(OrigRS.X,OrigRS.Y,OrigRS.Z)*CFrame.Angles(0,1.55,0),0.1)
  258. LS.C0=LS.C0:lerp(CFrame.new(OrigLS.X,OrigLS.Y,OrigLS.Z)*CFrame.Angles(0,-1.55,0),0.1)
  259. end
  260. Attacking=false
  261.  
  262. MouseTarg.Parent:FindFirstChild("Humanoid"):TakeDamage(10)
  263. elseif whatt=="Boom" and Apeared==true and MouseTarg.Name~="Base" and MouseTarg.Parent.Name~=StandOwner.Name and cooldown==false and Attacking==false then
  264. attack=2
  265. cooldown=true
  266.         for i=1,100 do
  267.       game:service("RunService").Stepped:wait()
  268.      
  269. RS.C0=RS.C0:lerp(CFrame.new(OrigRS.X,OrigRS.Y,OrigRS.Z)*CFrame.Angles(1.55,1.55,0),0.1)
  270. LS.C0=LS.C0:lerp(CFrame.new(OrigLS.X,OrigLS.Y,OrigLS.Z)*CFrame.Angles(0,-1.55,0),0.1)
  271. end
  272. MouseTargOld=MouseTarg
  273. wait(1)
  274. clic:Play()
  275.  
  276.                 local ex = Instance.new("Explosion", workspace)
  277.                 ex.Position = MouseTargOld.Position
  278.  
  279.                 boom:Play()
  280.  
  281.  
  282.  
  283.         for i=1,50 do
  284.       game:service("RunService").Stepped:wait()
  285.      
  286. RS.C0=RS.C0:lerp(CFrame.new(OrigRS.X,OrigRS.Y,OrigRS.Z)*CFrame.Angles(0,1.55,0),0.1)
  287. LS.C0=LS.C0:lerp(CFrame.new(OrigLS.X,OrigLS.Y,OrigLS.Z)*CFrame.Angles(0,-1.55,0),0.1)
  288. end
  289. attack=0
  290. cooldown=false
  291. end
  292.  
  293. sine=sine+1
  294. if Apeared==true and attack==0 then
  295.         BDG=StandOwner:FindFirstChild("HumanoidRootPart").CFrame*CFrame.new(1.25,1.25,1.25)
  296.             GyroORToPlayer.CFrame=StandOwner:FindFirstChild("HumanoidRootPart").CFrame
  297.  --   GyroToPlayer.Position=StandOwner:FindFirstChild("Torso").Position+Vector3.new(1.25,1.25,1.25)
  298.  SOCF=StandOwner:FindFirstChild("HumanoidRootPart").Position
  299. --SOCFO=StandOwner:FindFirstChild("Torso").CFrame*Vectoe(1.25,1.25,1.25).C0
  300.  GyroToPlayer.Position=BDG.Position
  301. elseif Apeared==false and attack==0 then
  302.  --   GyroToPlayer.Position=StandOwner:FindFirstChild("Torso").Position
  303. -- :toObjectSpace()
  304.     GyroORToPlayer.CFrame=StandOwner:FindFirstChild("HumanoidRootPart").CFrame
  305. GyroToPlayer.Position=StandOwner:FindFirstChild("HumanoidRootPart").CFrame.Position
  306. elseif Apeared==true and attack==1 then
  307. BDG=StandOwner:FindFirstChild("HumanoidRootPart").CFrame*CFrame.new(0,0,-10)
  308. GyroToPlayer.Position=BDG.Position
  309.     GyroORToPlayer.CFrame=StandOwner:FindFirstChild("HumanoidRootPart").CFrame*CFrame.Angles(math.random(-2,2),math.random(-2,2),math.random(-2,2))
  310. elseif Apeared==true and attack==2 then
  311.         BDG=StandOwner:FindFirstChild("HumanoidRootPart").CFrame*CFrame.new(1.25,1.25,1.25)
  312.             GyroORToPlayer.CFrame=StandOwner:FindFirstChild("HumanoidRootPart").CFrame
  313. end
  314.  
  315. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement