Sacki

Untitled

Nov 17th, 2019
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.49 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2.  
  3. local Player,game,owner = owner,game
  4.  
  5. local RealPlayer = Player
  6.  
  7. do local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end
  8. --This ROBLOX Script Is Made By The Respected Owners.
  9. --Script Hidden For Privacy Of The Users. Script Hidden For Privacy Of The Users.
  10. --Username Input Is Required At The Bottom.
  11.  
  12. --Instructions Copy and paste into script builder,
  13. --Put two names into "YOURNAME", and "THE VICTIM" (One of them doesn't have to be you)
  14.  
  15. --This Script Makes two players in your game.. Well.. I think its in the title ;D
  16.  
  17. ----------------------------------------------------------------------------------------
  18. function fWeld(zName, zParent, zPart0, zPart1, zCoco, a, b, c, d, e, f)
  19. local funcw = Instance.new("Weld")
  20. funcw.Name = zName
  21. funcw.Parent = zParent
  22. funcw.Part0 = zPart0
  23. funcw.Part1 = zPart1
  24. if (zCoco == true) then
  25. funcw.C0 = CFrame.new(a, b, c) * CFrame.fromEulerAnglesXYZ(d, e, f)
  26. else
  27. funcw.C1 = CFrame.new(a, b, c) * CFrame.fromEulerAnglesXYZ(d, e, f)
  28. end
  29. return funcw
  30. end
  31. function fun(n1, n2)
  32. pcall(function()
  33. t1 = game.Players[n1].Character.Torso
  34. t2 = game.Players[n2].Character.Torso
  35. t2.Parent.Humanoid.PlatformStand = true
  36. t1["Left Shoulder"]:Remove()
  37. ls1 = Instance.new("Weld")
  38. ls1.Parent = t1
  39. ls1.Part0 = t1
  40. ls1.Part1 = t1.Parent["Left Arm"]
  41. ls1.C0 = CFrame.new(-1.5,0,0)
  42. ls1.Name = "Left Shoulder"
  43. t1["Right Shoulder"]:Remove()
  44. rs1 = Instance.new("Weld")
  45. rs1.Parent = t1
  46. rs1.Part0 = t1
  47. rs1.Part1 = t1.Parent["Right Arm"]
  48. rs1.C0 = CFrame.new(1.5,0,0)
  49. rs1.Name = "Right Shoulder"
  50. t2["Left Shoulder"]:Remove()
  51. ls2 = Instance.new("Weld")
  52. ls2.Parent = t2
  53. ls2.Part0 = t2
  54. ls2.Part1 = t2.Parent["Left Arm"]
  55. ls2.C0 = CFrame.new(-1.5,0,0)
  56. ls2.Name = "Left Shoulder"
  57. t2["Right Shoulder"]:Remove()
  58. rs2 = Instance.new("Weld")
  59. rs2.Parent = t2
  60. rs2.Part0 = t2
  61. rs2.Part1 = t2.Parent["Right Arm"]
  62. rs2.C0 = CFrame.new(1.5,0,0)
  63. rs2.Name = "Right Shoulder"
  64. t2["Left Hip"]:Remove()
  65. lh2 = Instance.new("Weld")
  66. lh2.Parent = t2
  67. lh2.Part0 = t2
  68. lh2.Part1 = t2.Parent["Left Leg"]
  69. lh2.C0 = CFrame.new(-0.5,-2,0)
  70. lh2.Name = "Left Hip"
  71. t2["Right Hip"]:Remove()
  72. rh2 = Instance.new("Weld")
  73. rh2.Parent = t2
  74. rh2.Part0 = t2
  75. rh2.Part1 = t2.Parent["Right Leg"]
  76. rh2.C0 = CFrame.new(0.5,-2,0)
  77. rh2.Name = "Right Hip"
  78. local d = Instance.new("Part")
  79. d.TopSurface = 0
  80. d.BottomSurface = 0
  81. d.CanCollide = false
  82. d.BrickColor = BrickColor.new("Medium stone grey")
  83. d.Shape = "Ball"
  84. d.Parent = t1
  85. d.Size = Vector3.new(1,1,1)
  86. local dm = Instance.new("SpecialMesh")
  87. dm.MeshType = "Sphere"
  88. dm.Parent = d
  89. dm.Scale = Vector3.new(0.4,0.4,0.4)
  90. fWeld("weld",t1,t1,d,true,-0.2,-1.3,-0.6,0,0,0)
  91. d2 = d:Clone()
  92. d2.Parent = t1
  93. fWeld("weld",t1,t1,d2,true,0.2,-1.3,-0.6,0,0,0)
  94. local c = Instance.new("Part")
  95. c.TopSurface = 0
  96. c.BottomSurface = 0
  97. c.CanCollide = false
  98. c.BrickColor = BrickColor.new("Pastel brown")
  99. c.Parent = t1
  100. c.formFactor = "Custom"
  101. c.Size = Vector3.new(0.4,1.3,0.4)
  102. cm = Instance.new("CylinderMesh")
  103. cm.Parent = c
  104. a = fWeld("weld",t1,t1,c,true,0,-1,-0.52+(-c.Size.y/2),math.rad(-80),0,0)
  105. c2 = d:Clone()
  106. c2.BrickColor = BrickColor.new("Medium stone grey")
  107. c2.Mesh.Scale = Vector3.new(0.4,0.62,0.4)
  108. c2.Parent = t1
  109. fWeld("weld",c,c,c2,true,0,0+(c.Size.y/2),0,math.rad(-10),0,0)
  110. local bl = Instance.new("Part")
  111. bl.TopSurface = 0
  112. bl.BottomSurface = 0
  113. bl.CanCollide = false
  114. bl.BrickColor = BrickColor.new("Pastel brown")
  115. bl.Shape = "Ball"
  116. bl.Parent = t2
  117. bl.Size = Vector3.new(1,1,1)
  118. local dm = Instance.new("SpecialMesh")
  119. dm.MeshType = "Sphere"
  120. dm.Parent = bl
  121. dm.Scale = Vector3.new(1.2,1.2,1.2)
  122. fWeld("weld",t2,t2,bl,true,-0.5,0.5,-0.6,0,0,0)
  123. local br = Instance.new("Part")
  124. br.TopSurface = 0
  125. br.BottomSurface = 0
  126. br.CanCollide = false
  127. br.BrickColor = BrickColor.new("Pastel brown")
  128. br.Shape = "Ball"
  129. br.Parent = t2
  130. br.Size = Vector3.new(1,1,1)
  131. local dm = Instance.new("SpecialMesh")
  132. dm.MeshType = "Sphere"
  133. dm.Parent = br
  134. dm.Scale = Vector3.new(1.2,1.2,1.2)
  135. fWeld("weld",t2,t2,br,true,0.5,0.5,-0.6,0,0,0)
  136. local bln = Instance.new("Part")
  137. bln.TopSurface = 0
  138. bln.BottomSurface = 0
  139. bln.CanCollide = false
  140. bln.Shape = "Ball"
  141. bln.Parent = t2
  142. bln.Size = Vector3.new(1,1,1)
  143. local dm = Instance.new("SpecialMesh")
  144. dm.MeshType = "Sphere"
  145. dm.Parent = bln
  146. dm.Scale = Vector3.new(0.2,0.2,0.2)
  147. fWeld("weld",t2,t2,bln,true,-0.5,0.5,-1.2,0,0,0)
  148. local brn = Instance.new("Part")
  149. brn.TopSurface = 0
  150. brn.BottomSurface = 0
  151. brn.CanCollide = false
  152. brn.Shape = "Ball"
  153. brn.Parent = t2
  154. brn.Size = Vector3.new(1,1,1)
  155. local dm = Instance.new("SpecialMesh")
  156. dm.MeshType = "Sphere"
  157. dm.Parent = brn
  158. dm.Scale = Vector3.new(0.2,0.2,0.2)
  159. fWeld("weld",t2,t2,brn,true,0.5,0.5,-1.2,0,0,0)
  160. lh2.C1 = CFrame.new(0,-1.5,-0.5) * CFrame.Angles(0.9,-0.4,0)
  161. rh2.C1 = CFrame.new(0,-1.5,-0.5) * CFrame.Angles(0.9,0.4,0)
  162. ls2.C1 = CFrame.new(-0.5,-1.3,-0.5) * CFrame.Angles(0.9,-0.4,0)
  163. rs2.C1 = CFrame.new(0.5,-1.3,-0.5) * CFrame.Angles(0.9,0.4,0)
  164. ls1.C1 = CFrame.new(-0.5,0.7,0) * CFrame.Angles(-0.9,-0.4,0)
  165. rs1.C1 = CFrame.new(0.5,0.7,0) * CFrame.Angles(-0.9,0.4,0)
  166. if t1:findFirstChild("weldx") ~= nil then
  167. t1.weldx:Remove()
  168. end
  169. we = fWeld("weldx", t1, t1, t2, true, 0, -0.9, -1.3, math.rad(-90), 0, 0)
  170. n = t2.Neck
  171. n.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-210), math.rad(180), 0)
  172. end)
  173. coroutine.resume(coroutine.create(function()
  174. while wait() do
  175. for i = 1,6 do
  176. we.C1 = we.C1 * CFrame.new(0,-0.3,0)
  177. wait()
  178. end
  179.  
  180. for i = 1,6 do
  181. we.C1 = we.C1 * CFrame.new(0,0.3,0)
  182. wait()
  183. end
  184. end
  185. end))
  186. end
  187. fun("YOURNAME", "THE VICTIM")
Add Comment
Please, Sign In to add comment