Advertisement
lafur

Untitled

Oct 30th, 2018
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  4. local RealPlayer = Player
  5. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end local Name="timetodie23232223"
  6. local char=workspace[Name]
  7. color2=BrickColor:Black()
  8. color=BrickColor:White()
  9.  
  10. pcall(function() workspace[Name].Suit:remove() end)
  11. pcall(function() char.Eye:remove() end)
  12. pcall(function() game.Players[Name].PlayerGui:children()[1]:remove() end)
  13. player = game.Players[Name]
  14. player.Character.Humanoid.WalkSpeed = 30
  15. model = Instance.new("Model")
  16. model.Parent = char
  17. model.Name = "Suit"
  18. Eye=Instance.new("Model")
  19. Eye.Name="Eye"
  20. Eye.Parent=char
  21. char.Humanoid.MaxHealth = math.huge
  22. wait(0.5)
  23. char.Humanoid.Health = char.Humanoid.MaxHealth
  24.  
  25. for _,v in pairs(char:children()) do
  26. if v:IsA("Hat") then
  27. v:remove()
  28. end
  29. end
  30.  
  31. Tor=Instance.new("Part")
  32. Tor.Size=char.Torso.Size
  33. Tor.BrickColor=color
  34. Tor.Reflectance=0
  35. Tor.Transparency=0
  36. Tor.CanCollide=false
  37. Tor.Parent=model
  38. Mesh=Instance.new("BlockMesh")
  39. Mesh.Parent=Tor
  40. Mesh.Scale=Vector3.new(1.01,0.9,1.01)
  41. w = Instance.new("Weld")
  42. w.Parent = char.Torso
  43. w.Part0 = w.Parent
  44. w.Part1 = Tor
  45. w.C0 = CFrame.new(0,0,0)
  46.  
  47. Sm=Instance.new("Smoke")
  48. Sm.Size=2
  49. Sm.RiseVelocity=0
  50. Sm.Color=color2.Color
  51. --Sm.Parent=Tor
  52.  
  53. for _,v in pairs(char:children()) do
  54. if string.sub(v.Name,1,4)=="Left" or string.sub(v.Name,1,4)=='Righ' then
  55. Tor=Instance.new("Part")
  56. Tor.Size=v.Size
  57. Tor.BrickColor=color
  58. Tor.Reflectance=0
  59. Tor.Transparency=0
  60. Tor.CanCollide=false
  61. Tor.Parent=model
  62. Mesh=Instance.new("BlockMesh")
  63. Mesh.Parent=Tor
  64. Mesh.Scale=Vector3.new(1.01,0.9,1.01)
  65. w = Instance.new("Weld")
  66. w.Parent = v
  67. w.Part0 = w.Parent
  68. w.Part1 = Tor
  69. w.C0 = CFrame.new(0,0,0)
  70. end
  71. end
  72.  
  73. char.Head.BrickColor=color
  74. pcall(function() char.Head.face:remove() end)
  75.  
  76. ----Eye----
  77. Tor=Instance.new("Part")
  78. Tor.Size=Vector3.new(1,1,1)
  79. Tor.Shape="Ball"
  80. Tor.BrickColor=color
  81. Tor.Reflectance=0
  82. Tor.Transparency=0
  83. Tor.Locked=true
  84. Tor.CanCollide=true
  85. Tor.Parent=Eye
  86. Tor.TopSurface="Smooth"
  87. Tor.BottomSurface="Smooth"
  88. Mesh=Instance.new("SpecialMesh")
  89. Mesh.MeshType="Sphere"
  90. Mesh.Parent=Tor
  91. Mesh.Scale=Vector3.new(1.65,1.65,1.65)
  92. w = Instance.new("Weld")
  93. w.Parent = char.Head
  94. w.Part0 = w.Parent
  95. w.Part1 = Tor
  96. w.C0 = CFrame.new(0,0,0)
  97.  
  98. Tor=Instance.new("Part")
  99. Tor.Size=Vector3.new(1,1,1)
  100. Tor.BrickColor=color2
  101. Tor.Reflectance=0
  102. Tor.Transparency=0
  103. Tor.CanCollide=false
  104. Tor.Parent=Eye
  105. Mesh=Instance.new("SpecialMesh")
  106. Mesh.MeshType="Sphere"
  107. Mesh.Parent=Tor
  108. Mesh.Scale=Vector3.new(.27,0.27,0.27)
  109. w = Instance.new("Weld")
  110. w.Parent = char.Head
  111. w.Part0 = w.Parent
  112. w.Part1 = Tor
  113. w.C0 = CFrame.new(0,0,-0.75)
  114.  
  115. Tor=Instance.new("Part")
  116. Tor.Size=Vector3.new(1,1,1)
  117. Tor.BrickColor=color2
  118. Tor.Reflectance=0
  119. Tor.Transparency=0.2
  120. Tor.CanCollide=false
  121. Tor.Parent=Eye
  122. Mesh=Instance.new("BlockMesh")
  123. Mesh.Parent=Tor
  124. Mesh.Scale=Vector3.new(.3,0.35,0.01)
  125. w = Instance.new("Weld")
  126. w.Parent = char.Head
  127. w.Part0 = w.Parent
  128. w.Part1 = Tor
  129. w.C0 = CFrame.new(0,0,-0.78)
  130.  
  131. Tor=Instance.new("Part")
  132. Tor.Size=Vector3.new(1,1,1)
  133. Tor.BrickColor=color2
  134. Tor.Reflectance=0
  135. Tor.Transparency=0.2
  136. Tor.CanCollide=false
  137. Tor.Parent=Eye
  138. Mesh=Instance.new("BlockMesh")
  139. Mesh.Parent=Tor
  140. Mesh.Scale=Vector3.new(.3,0.35,0.01)
  141. w = Instance.new("Weld")
  142. w.Parent = char.Head
  143. w.Part0 = w.Parent
  144. w.Part1 = Tor
  145. w.C0 = CFrame.new(0,0,-0.78)*CFrame.Angles(0,0,math.rad(90))
  146. ----/Eye----
  147.  
  148. ----Design 1----
  149. Tor=Instance.new("Part")
  150. Tor.Size=Vector3.new(1,1,1)
  151. Tor.BrickColor=color2
  152. Tor.Reflectance=0
  153. Tor.Transparency=0
  154. Tor.CanCollide=false
  155. Tor.Parent=model
  156. Mesh=Instance.new("BlockMesh")
  157. Mesh.Parent=Tor
  158. Mesh.Scale=Vector3.new(.4,0.4,0.01)
  159. w = Instance.new("Weld")
  160. w.Parent = char.Torso
  161. w.Part0 = w.Parent
  162. w.Part1 = Tor
  163. w.C0 = CFrame.new(0,0,-0.51)
  164.  
  165. Tor=Instance.new("Part")
  166. Tor.Size=Vector3.new(1,1,1)
  167. Tor.BrickColor=color2
  168. Tor.Reflectance=0
  169. Tor.Transparency=0
  170. Tor.CanCollide=false
  171. Tor.Parent=model
  172. Mesh=Instance.new("CylinderMesh")
  173. Mesh.Parent=Tor
  174. Mesh.Scale=Vector3.new(.5,0.5,0.049)
  175. w = Instance.new("Weld")
  176. w.Parent = char.Torso
  177. w.Part0 = w.Parent
  178. w.Part1 = Tor
  179. w.C0 = CFrame.new(0,0,-0.49)*CFrame.Angles(0,0,math.rad(90))
  180.  
  181. Tor=Instance.new("Part")
  182. Tor.Size=Vector3.new(1,1,1)
  183. Tor.BrickColor=color2
  184. Tor.Reflectance=0
  185. Tor.Transparency=0
  186. Tor.CanCollide=false
  187. Tor.Parent=model
  188. Mesh=Instance.new("CylinderMesh")
  189. Mesh.Parent=Tor
  190. Mesh.Scale=Vector3.new(.5,0.5,0.049)
  191. w = Instance.new("Weld")
  192. w.Parent = char.Torso
  193. w.Part0 = w.Parent
  194. w.Part1 = Tor
  195. w.C0 = CFrame.new(0,0,-0.49)
  196.  
  197. Tor=Instance.new("Part")
  198. Tor.Size=Vector3.new(1,1,1)
  199. Tor.BrickColor=color
  200. Tor.Reflectance=0
  201. Tor.Transparency=0
  202. Tor.CanCollide=false
  203. Tor.Parent=model
  204. Mesh=Instance.new("SpecialMesh")
  205. Mesh.MeshType="Sphere"
  206. Mesh.Parent=Tor
  207. Mesh.Scale=Vector3.new(.25,.25,.25)
  208. w = Instance.new("Weld")
  209. w.Parent = char.Torso
  210. w.Part0 = w.Parent
  211. w.Part1 = Tor
  212. w.C0 = CFrame.new(0,0,-0.49)
  213.  
  214.  
  215. Tor=Instance.new("Part")
  216. Tor.Size=Vector3.new(1,1,1)
  217. Tor.BrickColor=color2
  218. Tor.Reflectance=0
  219. Tor.Transparency=0
  220. Tor.CanCollide=false
  221. Tor.Parent=model
  222. Mesh=Instance.new("CylinderMesh")
  223. Mesh.Parent=Tor
  224. Mesh.Scale=Vector3.new(.5,0.5,0.049)
  225. w = Instance.new("Weld")
  226. w.Parent = char.Torso
  227. w.Part0 = w.Parent
  228. w.Part1 = Tor
  229. w.C0 = CFrame.new(0.27,0,-0.49)
  230.  
  231. Tor=Instance.new("Part")
  232. Tor.Size=Vector3.new(1,1,1)
  233. Tor.BrickColor=color2
  234. Tor.Reflectance=0
  235. Tor.Transparency=0
  236. Tor.CanCollide=false
  237. Tor.Parent=model
  238. Mesh=Instance.new("CylinderMesh")
  239. Mesh.Parent=Tor
  240. Mesh.Scale=Vector3.new(.5,0.5,0.049)
  241. w = Instance.new("Weld")
  242. w.Parent = char.Torso
  243. w.Part0 = w.Parent
  244. w.Part1 = Tor
  245. w.C0 = CFrame.new(-0.27,0,-0.49)
  246.  
  247. Tor=Instance.new("Part")
  248. Tor.Size=Vector3.new(1,1,1)
  249. Tor.BrickColor=color2
  250. Tor.Reflectance=0
  251. Tor.Transparency=0
  252. Tor.CanCollide=false
  253. Tor.Parent=model
  254. Mesh=Instance.new("CylinderMesh")
  255. Mesh.Parent=Tor
  256. Mesh.Scale=Vector3.new(.5,0.5,0.049)
  257. w = Instance.new("Weld")
  258. w.Parent = char.Torso
  259. w.Part0 = w.Parent
  260. w.Part1 = Tor
  261. w.C0 = CFrame.new(0,0.295,-0.49)*CFrame.Angles(0,0,math.rad(90))
  262.  
  263. Tor=Instance.new("Part")
  264. Tor.Size=Vector3.new(1,1,1)
  265. Tor.BrickColor=color2
  266. Tor.Reflectance=0
  267. Tor.Transparency=0
  268. Tor.CanCollide=false
  269. Tor.Parent=model
  270. Mesh=Instance.new("CylinderMesh")
  271. Mesh.Parent=Tor
  272. Mesh.Scale=Vector3.new(.5,0.5,0.049)
  273. w = Instance.new("Weld")
  274. w.Parent = char.Torso
  275. w.Part0 = w.Parent
  276. w.Part1 = Tor
  277. w.C0 = CFrame.new(0,-0.295,-0.49)*CFrame.Angles(0,0,math.rad(90))
  278. ----/Design 1----
  279.  
  280. ----Design 2----
  281. Tor=Instance.new("Part")
  282. Tor.Size=Vector3.new(1,1,1)
  283. Tor.BrickColor=color2
  284. Tor.Reflectance=0
  285. Tor.Transparency=0
  286. Tor.CanCollide=false
  287. Tor.Parent=model
  288. Mesh=Instance.new("BlockMesh")
  289. Mesh.Parent=Tor
  290. Mesh.Scale=Vector3.new(.72,.05,1.1)
  291. w = Instance.new("Weld")
  292. w.Parent = char["Left Arm"]
  293. w.Part0 = w.Parent
  294. w.Part1 = Tor
  295. w.C0 = CFrame.new(-0.17,-0.275,0)
  296.  
  297. Tor=Instance.new("Part")
  298. Tor.Size=Vector3.new(1,1,1)
  299. Tor.BrickColor=color2
  300. Tor.Reflectance=0
  301. Tor.Transparency=0
  302. Tor.CanCollide=false
  303. Tor.Parent=model
  304. Mesh=Instance.new("BlockMesh")
  305. Mesh.Parent=Tor
  306. Mesh.Scale=Vector3.new(.72,.05,1.1)
  307. w = Instance.new("Weld")
  308. w.Parent = char["Right Arm"]
  309. w.Part0 = w.Parent
  310. w.Part1 = Tor
  311. w.C0 = CFrame.new(0.17,-0.275,0)
  312.  
  313.  
  314.  
  315. Tor=Instance.new("Part")
  316. Tor.Size=Vector3.new(1,1,1)
  317. Tor.BrickColor=color2
  318. Tor.Reflectance=0
  319. Tor.Transparency=0
  320. Tor.CanCollide=false
  321. Tor.Parent=model
  322. Mesh=Instance.new("BlockMesh")
  323. Mesh.Parent=Tor
  324. Mesh.Scale=Vector3.new(.72,.05,1.1)
  325. w = Instance.new("Weld")
  326. w.Parent = char["Left Arm"]
  327. w.Part0 = w.Parent
  328. w.Part1 = Tor
  329. w.C0 = CFrame.new(-0.17,0.3,0)
  330.  
  331. Tor=Instance.new("Part")
  332. Tor.Size=Vector3.new(1,1,1)
  333. Tor.BrickColor=color2
  334. Tor.Reflectance=0
  335. Tor.Transparency=0
  336. Tor.CanCollide=false
  337. Tor.Parent=model
  338. Mesh=Instance.new("BlockMesh")
  339. Mesh.Parent=Tor
  340. Mesh.Scale=Vector3.new(.72,.05,1.1)
  341. w = Instance.new("Weld")
  342. w.Parent = char["Right Arm"]
  343. w.Part0 = w.Parent
  344. w.Part1 = Tor
  345. w.C0 = CFrame.new(0.17,0.3,0)
  346. ----/Design2----
  347.  
  348. ----Design 3----
  349. Tor=Instance.new("Part")
  350. Tor.Size=Vector3.new(1,1,1)
  351. Tor.BrickColor=color2
  352. Tor.Reflectance=0
  353. Tor.Transparency=0
  354. Tor.CanCollide=false
  355. Tor.Parent=model
  356. Mesh=Instance.new("BlockMesh")
  357. Mesh.Parent=Tor
  358. Mesh.Scale=Vector3.new(.72,.05,1.1)
  359. w = Instance.new("Weld")
  360. w.Parent = char["Left Leg"]
  361. w.Part0 = w.Parent
  362. w.Part1 = Tor
  363. w.C0 = CFrame.new(-0.17,-0.275,0)
  364.  
  365. Tor=Instance.new("Part")
  366. Tor.Size=Vector3.new(1,1,1)
  367. Tor.BrickColor=color2
  368. Tor.Reflectance=0
  369. Tor.Transparency=0
  370. Tor.CanCollide=false
  371. Tor.Parent=model
  372. Mesh=Instance.new("BlockMesh")
  373. Mesh.Parent=Tor
  374. Mesh.Scale=Vector3.new(.72,.05,1.1)
  375. w = Instance.new("Weld")
  376. w.Parent = char["Right Leg"]
  377. w.Part0 = w.Parent
  378. w.Part1 = Tor
  379. w.C0 = CFrame.new(0.17,-0.275,0)
  380.  
  381.  
  382.  
  383. Tor=Instance.new("Part")
  384. Tor.Size=Vector3.new(1,1,1)
  385. Tor.BrickColor=color2
  386. Tor.Reflectance=0
  387. Tor.Transparency=0
  388. Tor.CanCollide=false
  389. Tor.Parent=model
  390. Mesh=Instance.new("BlockMesh")
  391. Mesh.Parent=Tor
  392. Mesh.Scale=Vector3.new(.72,.05,1.1)
  393. w = Instance.new("Weld")
  394. w.Parent = char["Left Leg"]
  395. w.Part0 = w.Parent
  396. w.Part1 = Tor
  397. w.C0 = CFrame.new(-0.17,0.3,0)
  398.  
  399. Tor=Instance.new("Part")
  400. Tor.Size=Vector3.new(1,1,1)
  401. Tor.BrickColor=color2
  402. Tor.Reflectance=0
  403. Tor.Transparency=0
  404. Tor.CanCollide=false
  405. Tor.Parent=model
  406. Mesh=Instance.new("BlockMesh")
  407. Mesh.Parent=Tor
  408. Mesh.Scale=Vector3.new(.72,.05,1.1)
  409. w = Instance.new("Weld")
  410. w.Parent = char["Right Leg"]
  411. w.Part0 = w.Parent
  412. w.Part1 = Tor
  413. w.C0 = CFrame.new(0.17,0.3,0)
  414. ----Design3----
  415.  
  416. ----Eye Tool----
  417. function tras(...)
  418. for _,v in pairs(...) do
  419. pcall(function() v.Transparency=1 v.CanCollide=false end)
  420. end
  421. end
  422.  
  423. function nontras(...)
  424. for _,v in pairs(...) do
  425. pcall(function() v.Transparency=0 v.CanCollide=true end)
  426. end
  427. end
  428.  
  429. if script.Parent.className~="HopperBin" then
  430. Hopper=Instance.new("HopperBin")
  431. Hopper.Name="Fly"
  432. Hopper.Parent=player.Backpack
  433.  
  434. LA=Instance.new("HopperBin")
  435. LA.Name="Laser"
  436. LA.Parent=game.Players[Name].Backpack
  437. script.Parent=Hopper
  438.  
  439. Sw=Instance.new("Tool")
  440. Sw.Name="Sword"
  441. Sw.Parent=game.Players[Name].Backpack
  442. end
  443. Hopper=script.Parent
  444. LA=player.Backpack.Laser
  445. Sw=player.Backpack.Sword
  446. Up=1
  447.  
  448. function Button1own(mouse)
  449. BodyP.Parent=nil
  450. local eye=Eye:children()[1]
  451. BodyV=Instance.new("BodyVelocity")
  452. BodyV.Name="BodyV"
  453. BodyV.Parent=char.Head
  454. BodyV.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  455. BodyGyro=Instance.new("BodyGyro")
  456. BodyGyro.maxTorque=Vector3.new(math.huge,math.huge,math.huge)
  457. BodyGyro.Parent=char.Head
  458. Up=0
  459. local spd = 35
  460. repeat
  461. wait(0.2)
  462. BodyGyro.cframe=CFrame.new(char.Head.Position,mouse.Hit.p)
  463. BodyV.velocity=mouse.Hit.lookVector*spd
  464. until Up==1
  465. pcall(function() char.Head.BodyV:remove() end)
  466. pcall(function() char.Head.BodyGyro:remove() end)
  467. pcall(function() char.Head.BodyV:remove() end)
  468. pcall(function() char.Head.BodyGyro:remove() end)
  469. char.Head.Velocity=Vector3.new(0,0,0)
  470. BodyP.position=char.Head.Position
  471. BodyP.Parent=char.Head
  472. end
  473.  
  474. function Button1up(mouse)
  475. Up=1
  476. end
  477.  
  478. function Key(key)
  479. if key=="g" then
  480. local ex = Instance.new("Explosion")
  481. ex.Position = char.Head.Position
  482. ex.Hit:connect(function(hit)
  483. if hit.Parent.Name~=Name and hit.Parent.Name~="Suit" and hit.Parent.Name~="Eye" and hit.Name~="Base" then
  484. hit.Anchored=false
  485. hit:BreakJoints()
  486. hit.Velocity=(hit.Position-ex.Position).unit*-250
  487. end
  488. end)
  489. ex.BlastRadius = 8
  490. ex.BlastPressure = 0
  491. ex.Parent = game.Workspace
  492. end
  493. end
  494.  
  495. Hopper.Selected:connect(function(mouse)
  496. tras(model:children())
  497. tras(char:children())
  498. BodyP=Instance.new('BodyPosition')
  499. BodyP.Name="DroidForce"
  500. BodyP.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  501. BodyP.position=char.Head.Position
  502. BodyP.Parent=char.Head
  503. mouse.Button1Down:connect(function() Button1own(mouse) end)
  504. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  505. mouse.KeyDown:connect(function(key) Key(key) end)
  506. mouse.Button1Up:connect(function() Button1up(mouse) end)
  507. end)
  508.  
  509. Hopper.Deselected:connect(function()
  510. nontras(model:children())
  511. nontras(char:children())
  512. pcall(function() char.Head.BodyV:remove() end)
  513. pcall(function() char.Head.BodyGyro:remove() end)
  514. pcall(function() char.Head.DroidForce:remove() end)
  515. end)
  516. ----/Flying----
  517. ----Laser----
  518. de=1
  519. eye=Eye:children()[1]
  520.  
  521. function BLAG(mouse)
  522. if de==1 then
  523. de=2
  524. BodyGyro=Instance.new("BodyGyro")
  525. BodyGyro.maxTorque=Vector3.new(math.huge,math.huge,math.huge)
  526. BodyGyro.Parent=eye
  527. local Laz=Instance.new("Part")
  528. Laz.Anchored=true
  529. Laz.BrickColor=BrickColor:Red()
  530. Laz.Reflectance=0
  531. Laz.TopSurface="Smooth"
  532. Laz.BottomSurface="Smooth"
  533. Laz.CanCollide=false
  534. Laz.CFrame=CFrame.new((eye.Position+mouse.Hit.p)/2,mouse.Hit.p)
  535. Laz.Parent=eye
  536. Laz.Size=Vector3.new(1,1,2)
  537. Laz.Transparency=0
  538. local Me=Instance.new("BlockMesh")
  539. Me.Parent=Laz
  540. for i=1,15 do
  541. Me.Scale = Vector3.new(i/65,i/65,(eye.Position - mouse.Hit.p).magnitude/2)
  542. Laz.CFrame=CFrame.new((eye.Position+mouse.Hit.p)/2,mouse.Hit.p)
  543. BodyGyro.cframe=CFrame.new(eye.Position,mouse.Hit.p)
  544. wait()
  545. end
  546. ex=Instance.new("Explosion")
  547. ex.Position=mouse.Hit.p
  548. ex.BlastPressure=200000
  549. ex.BlastRadius=5
  550. ex.Parent=char
  551. wait()
  552. for i=1,3 do
  553. wait(0.15)
  554. Laz.Transparency=Laz.Transparency+0.3
  555. end
  556. Laz:remove()
  557. BodyGyro:remove()
  558. wait(0.2)
  559. de=1
  560. end
  561. end
  562.  
  563. function BOOM(mouse)
  564. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  565. mouse.Button1Down:connect(function() BLAG(mouse) end)
  566. end
  567.  
  568. LA.Selected:connect(BOOM)
  569. ----/Laser----
  570.  
  571. ----Swords On Back----
  572. Tor=Instance.new("Part")
  573. Tor.Size=Vector3.new(1,3,1)
  574. Tor.BrickColor=color2
  575. Tor.Reflectance=0
  576. Tor.Transparency=0
  577. Tor.CanCollide=false
  578. Tor.Parent=model
  579. Tor.Name="Sword"
  580. Mesh=Instance.new("SpecialMesh")
  581. Mesh.MeshType="FileMesh"
  582. Mesh.MeshId="http://www.roblox.com/asset/?id=20719463"
  583. Mesh.Parent=Tor
  584. Mesh.Scale=Vector3.new(1,.9,1)
  585. w = Instance.new("Weld")
  586. w.Parent = char["Torso"]
  587. w.Part0 = w.Parent
  588. w.Part1 = Tor
  589. w.C0 = CFrame.new(0,0,.6)*CFrame.Angles(3.14*1.5,1.6*1.5,3.14)
  590. ----/Sword On Back----
  591.  
  592. ----Sword----
  593. Tor=Instance.new("Part")
  594. Tor.Size=Vector3.new(1,1,4)
  595. Tor.BrickColor=color2
  596. Tor.Reflectance=0
  597. Tor.Transparency=0
  598. Tor.CanCollide=True
  599. Tor.Parent=Sw
  600. Tor.Name="Handle"
  601. Mesh=Instance.new("SpecialMesh")
  602. Mesh.MeshType="FileMesh"
  603. Mesh.MeshId="http://www.roblox.com/asset/?id=20719463"
  604. Mesh.Parent=Tor
  605. Mesh.Scale=Vector3.new(1,.9,1)
  606. -----------------
  607. Sword=Sw
  608. Sword.GripForward=Vector3.new(-1, -0, -0)
  609. Sword.GripPos=Vector3.new(0, 0, -1.75)
  610. Sword.GripRight=Vector3.new(0,1,0)
  611. Sword.GripUp=Vector3.new(0,0,1)
  612. grip=Sword.GripUp
  613. De=1
  614.  
  615. function Hit(h)
  616. if h.Parent~=nil and h.Parent.Name~=Name then
  617. pcall(function() h.Parent.Humanoid:TakeDamage(2000) end)
  618. end
  619. end
  620.  
  621. function swordOut()
  622. if De==1 then
  623. De=0
  624. for i=1,9 do
  625. Sword.GripUp=Sword.GripUp+Vector3.new((8/36),0,0)
  626. wait()
  627. end
  628. wait(0.25)
  629. for i=1,8 do
  630. Sword.GripUp=Sword.GripUp+Vector3.new((-8/36),0,0)
  631. wait()
  632. end
  633. Sword.GripUp=grip
  634. wait()
  635. De=1
  636. end
  637. end
  638.  
  639. Tor.Touched:connect(Hit)
  640. Sword.Equipped:connect(function() pcall(function() model.Sword.Transparency=1 end) end)
  641. Sword.Unequipped:connect(function() pcall(function() model.Sword.Transparency=0 end) end)
  642. Sword.Activated:connect(swordOut)
  643. ----/Sword----
  644.  
  645. for _,v in pairs(model:children()) do
  646. pcall(function() v.Locked=true end)
  647. end
  648. for _,v in pairs(Eye:children()) do
  649. pcall(function() v.Locked=true end)
  650. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement