Advertisement
Christoffer07700Extr

asdasd

Jul 24th, 2019
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.54 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Please run as a server script. Use h/ instead of hl/.") end
  2. print("FE Compatibility: by WaverlyCole & Mokiros")
  3. InternalData = {}
  4. do
  5. script.Parent = owner.Character
  6. local Event = Instance.new("RemoteEvent")
  7. Event.Name = "UserInput"
  8. local function NewFakeEvent()
  9. local Fake = {fakeEvent=true,Connect=function(self,Func)self.Function=Func end}Fake.connect = Fake.Connect
  10. return Fake
  11. end
  12. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  13. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  14. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  15. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  16. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  17. local function TriggerEvent(self,Event,...)
  18. local Trigger = Mouse[Event]
  19. if Trigger and Trigger.fakeEvent and Trigger.Function then
  20. Trigger.Function(...)
  21. end
  22. end
  23. Mouse.TrigEvent = TriggerEvent
  24. UserInputService.TrigEvent = TriggerEvent
  25. Event.OnServerEvent:Connect(function(FiredBy,Input)
  26. if FiredBy.Name ~= owner.Name then end
  27. if Input.MouseEvent then
  28. Mouse.Target = Input.Target
  29. Mouse.Hit = Input.Hit
  30. else
  31. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  32. if Input.UserInputType == Enum.UserInputType.MouseButton1 then
  33. return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up")
  34. end
  35. for _,Action in pairs(ContextActionService.Actions) do
  36. for _,Key in pairs(Action.Keys) do
  37. if Key==Input.KeyCode then
  38. Action.Function(Action.Name,Input.UserInputState,Input)
  39. end
  40. end
  41. end
  42. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  43. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  44. end
  45. end)
  46. InternalData["Mouse"] = Mouse
  47. InternalData["ContextActionService"] = ContextActionService
  48. InternalData["UserInputService"] = UserInputService
  49. Event.Parent = NLS([[
  50. local Player = owner
  51. local Event = script:WaitForChild("UserInput")
  52. local UserInputService = game:GetService("UserInputService")
  53. local Mouse = Player:GetMouse()
  54. local Input = function(Input,gameProcessedEvent)
  55. if gameProcessedEvent then return end
  56. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  57. end
  58. UserInputService.InputBegan:Connect(Input)
  59. UserInputService.InputEnded:Connect(Input)
  60. local Hit,Target
  61. while wait(1/30) do
  62. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  63. Hit,Target = Mouse.Hit,Mouse.Target
  64. Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  65. end
  66. end
  67. ]],owner.Character)
  68. end
  69. RealGame = game;game = setmetatable({},{
  70. __index = function (self,Index)
  71. local Sandbox = function (Thing)
  72. if Thing:IsA("Player") then
  73. local RealPlayer = Thing
  74. return setmetatable({},{
  75. __index = function (self,Index)
  76. local Type = type(RealPlayer[Index])
  77. if Type == "function" then
  78. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  79. return function (self)
  80. return InternalData["Mouse"]
  81. end
  82. end
  83. return function (self,...)
  84. return RealPlayer[Index](RealPlayer,...)
  85. end
  86. else
  87. return RealPlayer[Index]
  88. end
  89. end;
  90. __tostring = function(self)
  91. return RealPlayer.Name
  92. end
  93. })
  94. end
  95. end
  96. if RealGame[Index] then
  97. local Type = type(RealGame[Index])
  98. if Type == "function" then
  99. if Index:lower() == "getservice" or Index:lower() == "service" then
  100. return function (self,Service)
  101. if Service:lower() == "players" then
  102. return setmetatable({},{
  103. __index = function (self2,Index2)
  104. local RealService = RealGame:GetService(Service)
  105. local Type2 = type(Index2)
  106. if Type2 == "function" then
  107. return function (self,...)
  108. return RealService[Index2](RealService,...)
  109. end
  110. else
  111. if Index2:lower() == "localplayer" then
  112. return Sandbox(owner)
  113. end
  114. return RealService[Index2]
  115. end
  116. end;
  117. __tostring = function(self)
  118. return RealGame:GetService(Service).Name
  119. end
  120. })
  121. elseif Service:lower() == "contextactionservice" then
  122. return InternalData["ContextActionService"]
  123. elseif Service:lower() == "contextactionservice" then
  124. return InternalData["UserInputService"]
  125. elseif Service:lower() == "runservice" then
  126. return setmetatable({},{
  127. __index = function(self2,Index2)
  128. local RealService = RealGame:GetService(Service)
  129. local Type2 = type(Index2)
  130. if Type2 == "function" then
  131. return function (self,...)
  132. return RealService[Index2](RealService,...)
  133. end
  134. else
  135. if Index2:lower() == "bindtorenderstep" then
  136. return function (self,Name,Priority,Function)
  137. return RealGame:GetService("RunService").Stepped:Connect(Function)
  138. end
  139. end
  140. if Index2:lower() == "renderstepped" then
  141. return RealService["Stepped"]
  142. end
  143. return RealService[Index2]
  144. end
  145. end
  146. })
  147. else
  148. return RealGame:GetService(Service)
  149. end
  150. end
  151. end
  152. return function (self,...)
  153. return RealGame[Index](RealGame,...)
  154. end
  155. else
  156. if game:GetService(Index) then
  157. return game:GetService(Index)
  158. end
  159. return RealGame[Index]
  160. end
  161. else
  162. return nil
  163. end
  164. end
  165. });Game = game;owner = game:GetService("Players").LocalPlayer
  166. print("Complete! Running...")
  167.  
  168.  
  169. --This ROBLOX Script Is Made By The Respected Owners.
  170. --Script Hidden For Privacy Of The Users. Script Hidden For Privacy Of The Users.
  171. --Username Input Is Required At The Bottom.
  172.  
  173. --Instructions Copy and paste into script builder,
  174. --Put two names into "YOURNAME", and "THE VICTIM" (One of them doesn't have to be you)
  175.  
  176. --This Script Makes two players in your game.. Well.. I think its in the title ;D
  177.  
  178. ----------------------------------------------------------------------------------------
  179. function fWeld(zName, zParent, zPart0, zPart1, zCoco, a, b, c, d, e, f)
  180. local funcw = Instance.new("Weld")
  181. funcw.Name = zName
  182. funcw.Parent = zParent
  183. funcw.Part0 = zPart0
  184. funcw.Part1 = zPart1
  185. if (zCoco == true) then
  186. funcw.C0 = CFrame.new(a, b, c) * CFrame.fromEulerAnglesXYZ(d, e, f)
  187. else
  188. funcw.C1 = CFrame.new(a, b, c) * CFrame.fromEulerAnglesXYZ(d, e, f)
  189. end
  190. return funcw
  191. end
  192. function fun(n1, n2)
  193. pcall(function()
  194. t1 = game.Players[n1].Character.Torso
  195. t2 = game.Players[n2].Character.Torso
  196. t2.Parent.Humanoid.PlatformStand = true
  197. t1["Left Shoulder"]:Remove()
  198. ls1 = Instance.new("Weld")
  199. ls1.Parent = t1
  200. ls1.Part0 = t1
  201. ls1.Part1 = t1.Parent["Left Arm"]
  202. ls1.C0 = CFrame.new(-1.5,0,0)
  203. ls1.Name = "Left Shoulder"
  204. t1["Right Shoulder"]:Remove()
  205. rs1 = Instance.new("Weld")
  206. rs1.Parent = t1
  207. rs1.Part0 = t1
  208. rs1.Part1 = t1.Parent["Right Arm"]
  209. rs1.C0 = CFrame.new(1.5,0,0)
  210. rs1.Name = "Right Shoulder"
  211. t2["Left Shoulder"]:Remove()
  212. ls2 = Instance.new("Weld")
  213. ls2.Parent = t2
  214. ls2.Part0 = t2
  215. ls2.Part1 = t2.Parent["Left Arm"]
  216. ls2.C0 = CFrame.new(-1.5,0,0)
  217. ls2.Name = "Left Shoulder"
  218. t2["Right Shoulder"]:Remove()
  219. rs2 = Instance.new("Weld")
  220. rs2.Parent = t2
  221. rs2.Part0 = t2
  222. rs2.Part1 = t2.Parent["Right Arm"]
  223. rs2.C0 = CFrame.new(1.5,0,0)
  224. rs2.Name = "Right Shoulder"
  225. t2["Left Hip"]:Remove()
  226. lh2 = Instance.new("Weld")
  227. lh2.Parent = t2
  228. lh2.Part0 = t2
  229. lh2.Part1 = t2.Parent["Left Leg"]
  230. lh2.C0 = CFrame.new(-0.5,-2,0)
  231. lh2.Name = "Left Hip"
  232. t2["Right Hip"]:Remove()
  233. rh2 = Instance.new("Weld")
  234. rh2.Parent = t2
  235. rh2.Part0 = t2
  236. rh2.Part1 = t2.Parent["Right Leg"]
  237. rh2.C0 = CFrame.new(0.5,-2,0)
  238. rh2.Name = "Right Hip"
  239. local d = Instance.new("Part")
  240. d.TopSurface = 0
  241. d.BottomSurface = 0
  242. d.CanCollide = false
  243. d.BrickColor = BrickColor.new("Pastel brown")
  244. d.Shape = "Ball"
  245. d.Parent = t1
  246. d.Size = Vector3.new(1,1,1)
  247. local dm = Instance.new("SpecialMesh")
  248. dm.MeshType = "Sphere"
  249. dm.Parent = d
  250. dm.Scale = Vector3.new(0.4,0.4,0.4)
  251. fWeld("weld",t1,t1,d,true,-0.2,-1.3,-0.6,0,0,0)
  252. d2 = d:Clone()
  253. d2.Parent = t1
  254. fWeld("weld",t1,t1,d2,true,0.2,-1.3,-0.6,0,0,0)
  255. local c = Instance.new("Part")
  256. c.TopSurface = 0
  257. c.BottomSurface = 0
  258. c.CanCollide = false
  259. c.BrickColor = BrickColor.new("Pastel brown")
  260. c.Parent = t1
  261. c.formFactor = "Custom"
  262. c.Size = Vector3.new(0.4,1.3,0.4)
  263. cm = Instance.new("CylinderMesh")
  264. cm.Parent = c
  265. a = fWeld("weld",t1,t1,c,true,0,-1,-0.52+(-c.Size.y/2),math.rad(-80),0,0)
  266. c2 = d:Clone()
  267. c2.BrickColor = BrickColor.new("Pink")
  268. c2.Mesh.Scale = Vector3.new(0.4,0.62,0.4)
  269. c2.Parent = t1
  270. fWeld("weld",c,c,c2,true,0,0+(c.Size.y/2),0,math.rad(-10),0,0)
  271. local bl = Instance.new("Part")
  272. bl.TopSurface = 0
  273. bl.BottomSurface = 0
  274. bl.CanCollide = false
  275. bl.BrickColor = BrickColor.new("Pastel brown")
  276. bl.Shape = "Ball"
  277. bl.Parent = t2
  278. bl.Size = Vector3.new(1,1,1)
  279. local dm = Instance.new("SpecialMesh")
  280. dm.MeshType = "Sphere"
  281. dm.Parent = bl
  282. dm.Scale = Vector3.new(1.2,1.2,1.2)
  283. fWeld("weld",t2,t2,bl,true,-0.5,0.5,-0.6,0,0,0)
  284. local br = Instance.new("Part")
  285. br.TopSurface = 0
  286. br.BottomSurface = 0
  287. br.CanCollide = false
  288. br.BrickColor = BrickColor.new("Pastel brown")
  289. br.Shape = "Ball"
  290. br.Parent = t2
  291. br.Size = Vector3.new(1,1,1)
  292. local dm = Instance.new("SpecialMesh")
  293. dm.MeshType = "Sphere"
  294. dm.Parent = br
  295. dm.Scale = Vector3.new(1.2,1.2,1.2)
  296. fWeld("weld",t2,t2,br,true,0.5,0.5,-0.6,0,0,0)
  297. local bln = Instance.new("Part")
  298. bln.TopSurface = 0
  299. bln.BottomSurface = 0
  300. bln.CanCollide = false
  301. bln.Shape = "Ball"
  302. bln.Parent = t2
  303. bln.Size = Vector3.new(1,1,1)
  304. local dm = Instance.new("SpecialMesh")
  305. dm.MeshType = "Sphere"
  306. dm.Parent = bln
  307. dm.Scale = Vector3.new(0.2,0.2,0.2)
  308. fWeld("weld",t2,t2,bln,true,-0.5,0.5,-1.2,0,0,0)
  309. local brn = Instance.new("Part")
  310. brn.TopSurface = 0
  311. brn.BottomSurface = 0
  312. brn.CanCollide = false
  313. brn.Shape = "Ball"
  314. brn.Parent = t2
  315. brn.Size = Vector3.new(1,1,1)
  316. local dm = Instance.new("SpecialMesh")
  317. dm.MeshType = "Sphere"
  318. dm.Parent = brn
  319. dm.Scale = Vector3.new(0.2,0.2,0.2)
  320. fWeld("weld",t2,t2,brn,true,0.5,0.5,-1.2,0,0,0)
  321. lh2.C1 = CFrame.new(0,-1.5,-0.5) * CFrame.Angles(0.9,-0.4,0)
  322. rh2.C1 = CFrame.new(0,-1.5,-0.5) * CFrame.Angles(0.9,0.4,0)
  323. ls2.C1 = CFrame.new(-0.5,-1.3,-0.5) * CFrame.Angles(0.9,-0.4,0)
  324. rs2.C1 = CFrame.new(0.5,-1.3,-0.5) * CFrame.Angles(0.9,0.4,0)
  325. ls1.C1 = CFrame.new(-0.5,0.7,0) * CFrame.Angles(-0.9,-0.4,0)
  326. rs1.C1 = CFrame.new(0.5,0.7,0) * CFrame.Angles(-0.9,0.4,0)
  327. if t1:findFirstChild("weldx") ~= nil then
  328. t1.weldx:Remove()
  329. end
  330. we = fWeld("weldx", t1, t1, t2, true, 0, -0.9, -1.3, math.rad(-90), 0, 0)
  331. n = t2.Neck
  332. n.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-210), math.rad(180), 0)
  333. end)
  334. coroutine.resume(coroutine.create(function()
  335. while wait() do
  336. for i = 1,6 do
  337. we.C1 = we.C1 * CFrame.new(0,-0.3,0)
  338. wait()
  339. end
  340.  
  341. for i = 1,6 do
  342. we.C1 = we.C1 * CFrame.new(0,0.3,0)
  343. wait()
  344. end
  345. end
  346. end))
  347. end
  348. fun("n00bl0rdzb0i", "2_lins")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement