Advertisement
wamandnj

Untitled

Mar 22nd, 2019
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. local RealPlayer = Player
  4. do print("FE Compatibility code by Mokiros");InternalData = {}InternalData.RealOwner = owner;InternalData.RealObjs = {};InternalData.SoundLoudness = {};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()}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;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 t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end,__call=function(self,...)local t=rawget(self,"_RealService")if t then return t(...)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 self[t]end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;x.RunService=v({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")setmetatable(x,{__index=function(self,t)return r:GetService(t)or typeof(r[t])=="function"and function(m,...)return r[t](r,...)end or r[t]end,__newindex=s.__newindex,__call=s.__call})game,owner=x,x.Players.LocalPlayer
  5. script.Parent = InternalData.RealOwner.Character
  6. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput";InternalData.Event = Event
  7. local function createObject (connections, index)
  8. local proxy = newproxy (true);local meta = getmetatable (proxy);
  9. local runbind = function (self, i, ...) connections[i]:Fire (...); end;
  10. while (#connections > 0) do connections[table.remove(connections, 1)] = Instance.new ('BindableEvent');end;
  11. meta.__index = function (self, i)
  12. if (i == 'TriggerEvent') then return runbind end;
  13. return connections[i] and connections[i].Event or index[i];
  14. end;
  15. meta.__newindex = index;meta.__metatable = false;return proxy
  16. end;
  17. local Mouse = createObject({"KeyUp","KeyDown","Button1Down","Button1Up"},{["Target"] = nil;["Hit"] = CFrame.new()})
  18. local UserInputService = createObject({"InputBegan","InputEnded"},{})
  19. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  20. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  21. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  22. Event.OnServerEvent:Connect(function(FiredBy,Input)
  23. if FiredBy ~= InternalData.RealOwner then return end
  24. if Input.MouseEvent then
  25. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  26. elseif Input.Sound then
  27. if InternalData.SoundLoudness[Input.Sound] then InternalData.SoundLoudness[Input.Sound] = Input.Loudness end
  28. else
  29. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  30. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TriggerEvent(Begin and "Button1Down" or "Button1Up") end
  31. for _,Action in pairs(ContextActionService.Actions) do
  32. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  33. end
  34. Mouse:TriggerEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower());UserInputService:TriggerEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  35. end
  36. end)
  37. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  38. Event.Parent = NLS([[
  39. local Player = owner;
  40. local Sounds = {};
  41. local Event = script:WaitForChild("UserInput");
  42. local UserInputService = game:GetService("UserInputService");
  43. local Mouse = Player:GetMouse();
  44. local Input = function(Input,gameProcessedEvent)
  45. if gameProcessedEvent then return end
  46. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  47. end
  48. Event.OnClientEvent:connect(function(Args)
  49. if Args[1] == "NewSound" then table.insert(Sounds,Args[2]) end
  50. end)
  51. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  52. local Hit,Target
  53. while wait(1/30) do
  54. for x,Sound in pairs(Sounds) do
  55. if Sound.Parent then Event:FireServer({["Sound"]=Sound,["Loudness"]=Sound.PlaybackLoudness}) end
  56. end
  57. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  58. Hit = Mouse.Hit;Target = Mouse.Target;
  59. Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  60. end
  61. end
  62. ]],InternalData.RealOwner.Character)
  63. end
  64. InternalData.NewOwner = setmetatable({},{
  65. __index = function (self,Index)
  66. local Type = type(InternalData.RealOwner[Index])
  67. if Type == "function" then
  68. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  69. return function (self)return InternalData["Mouse"] end
  70. end
  71. return function (self,...)return InternalData.RealOwner[Index](InternalData.RealOwner,...) end
  72. elseif Index == "FakePlayer" then
  73. return true
  74. end
  75. return InternalData.RealOwner[Index]
  76. end;
  77. __tostring = function(self) return tostring(InternalData.RealOwner) end
  78. })
  79. --LoadLibrary("RbxUtility").Create
  80. InternalData.LoadLibrary = LoadLibrary;LoadLibrary = function(Library)
  81. if Library == "RbxUtility" then
  82. return setmetatable({},{
  83. __tostring = function() return "RbxUtility" end;
  84. __index = function(self, Index)
  85. if Index:lower() == "create" then
  86. return function(Type)
  87. return function(Data)
  88. Data = Data or {}
  89. local Inst = Instance.new(Type)
  90. for x,y in pairs(Data) do
  91. if InternalData.RealObjs[y] then y = InternalData.RealObjs[y] end
  92. if y == owner then y = InternalData.RealOwner end
  93. Inst[x] = y
  94. end
  95. return Inst
  96. end
  97. end
  98. end
  99. return InternalData.LoadLibrary(Library)[Index]
  100. end
  101. })
  102. end
  103. return InternalData.LoadLibrary(Library)
  104. end
  105. InternalData.RealInstance = Instance;Instance = setmetatable({},{
  106. __index = function (self,Index)
  107. if Index:lower() == 'new' then
  108. return function (Type, Parent)
  109. if Parent == owner then Parent = InternalData.RealOwner end
  110. if InternalData.RealObjs[Parent] then Parent = InternalData.RealObjs[Parent] end
  111. local Real = InternalData.RealInstance.new(Type,Parent)
  112. if not Type then return end
  113. if Type == "BillboardGui" then
  114. local ToReturn = setmetatable({},{
  115. __index = function (self,Index)
  116. if type(Real[Index]) == "function" then
  117. if Index:lower() == "clone" then
  118. return function (self)
  119. local Real = Real:Clone()
  120. local ToReturn = setmetatable({RealObject = Real},{
  121. __index = function (self,Index)
  122. if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
  123. return Real[Index]
  124. end;
  125. __newindex = function (self,Index,Value)
  126. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  127. if Value == owner then Value = InternalData.RealOwner end
  128. Real[Index] = Value
  129. end;
  130. __tostring = function(self) return tostring(Real) end;
  131. })
  132. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  133. end
  134. end
  135. return function (self,...) return Real[Index](Real,...)end
  136. end
  137. return Real[Index]
  138. end;
  139. __newindex = function (self,Index,Value)
  140. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  141. if Value == owner then Value = InternalData.RealOwner end
  142. Real[Index] = Value
  143. end;
  144. __tostring = function(self) return tostring(Real) end;
  145. })
  146. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  147. elseif Type:lower() == "sound" then
  148. Real.Parent = owner.Character;
  149. local ToReturn = setmetatable({RealObject = Real},{
  150. __index = function (self,Index)
  151. if Index:lower() == "playbackloudness" then
  152. return InternalData.SoundLoudness[Real] or 0
  153. elseif type(Real[Index]) == "function" then
  154. if Index:lower() == "clone" then
  155. return function (self)
  156. local Real = Real:Clone()
  157. local ToReturn = setmetatable({},{
  158. __index = function (self,Index)
  159. if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
  160. return Real[Index]
  161. end;
  162. __newindex = function (self,Index,Value)
  163. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  164. if Value == owner then Value = InternalData.RealOwner end
  165. Real[Index] = Value
  166. end;
  167. __tostring = function(self) return tostring(Real) end;
  168. })
  169. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  170. end
  171. end
  172. return function (self,...) return Real[Index](Real,...)end
  173. end
  174. return Real[Index]
  175. end;
  176. __newindex = function (self,Index,Value)
  177. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  178. if Value == owner then Value = InternalData.RealOwner end
  179. Real[Index] = Value
  180. end;
  181. __tostring = function(self) return tostring(Real) end;
  182. })
  183. InternalData.RealObjs[ToReturn] = Real;InternalData.SoundLoudness[Real] = 0;repeat wait() until InternalData.Event.Parent InternalData.Event:FireClient(InternalData.RealOwner,{"NewSound",Real}) return ToReturn;
  184. else
  185. local ToReturn = setmetatable({RealObject = Real},{
  186. __index = function (self,Index)
  187. if type(Real[Index]) == "function" then
  188. if Index:lower() == "clone" then
  189. return function (self)
  190. local Real = Real:Clone()
  191. local ToReturn = setmetatable({},{
  192. __index = function (self,Index)
  193. if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
  194. return Real[Index]
  195. end;
  196. __newindex = function (self,Index,Value)
  197. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  198. if Value == owner then Value = InternalData.RealOwner end
  199. Real[Index] = Value
  200. end;
  201. __tostring = function(self) return tostring(Real) end;
  202. })
  203. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  204. end
  205. end
  206. return function (self,...) return Real[Index](Real,...)end
  207. end
  208. return Real[Index]
  209. end;
  210. __newindex = function (self,Index,Value)
  211. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  212. if Value == owner then Value = InternalData.RealOwner end
  213. Real[Index] = Value
  214. end;
  215. __tostring = function(self) return tostring(Real) end;
  216. })
  217. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  218. end
  219. end
  220. end
  221. return InternalData.RealInstance[Index]
  222. end;
  223. __tostring = function(self) return tostring(InternalData.RealInstance) end;
  224. });
  225. InternalData.RealGame = game;game = setmetatable({},{
  226. __index = function (self,Index)
  227. if InternalData.RealGame[Index] then
  228. local Type = type(InternalData.RealGame[Index])
  229. if Type == "function" then
  230. if Index:lower() == "getservice" or Index:lower() == "service" then
  231. return function (self,Service)
  232. local FakeServices = {
  233. ["players"] = function()
  234. return setmetatable({},{
  235. __index = function (self2,Index2)
  236. local RealService = InternalData.RealGame:GetService(Service)
  237. local Type2 = type(RealService[Index2])
  238. if Type2 == "function" then
  239. return function (self,...) return RealService[Index2](RealService,...)end
  240. else
  241. if Index2:lower() == "localplayer" then return InternalData.NewOwner end
  242. return RealService[Index2]
  243. end
  244. end;
  245. __tostring = function(self) return tostring(InternalData.RealGame:GetService(Service)) end
  246. })
  247. end;
  248. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  249. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  250. ["debris"] = function()
  251. return setmetatable({},{
  252. __index = function(self2,Index2)
  253. local RealService = InternalData.RealGame:GetService(Service)
  254. local Type2 = type(RealService[Index2])
  255. if Type2 == "function" then
  256. if Index2:lower() == "additem" then
  257. return function (self,Item,Time)
  258. if InternalData.RealObjs[Item] then Item = InternalData.RealObjs[Item] end
  259. return RealService:AddItem(Item,Time)
  260. end
  261. end
  262. return function (self,...) return RealService[Index2](RealService,...) end
  263. end
  264. return RealService[Index2]
  265. end;
  266. __tostring = function(self) return tostring(InternalData.RealGame:GetService("Debris")) end
  267. })
  268. end;
  269. ["runservice"] = function()
  270. return setmetatable({},{
  271. __index = function(self2,Index2)
  272. local RealService = InternalData.RealGame:GetService(Service)
  273. local Type2 = type(RealService[Index2])
  274. if Type2 == "function" then
  275. return function (self,...) return RealService[Index2](RealService,...) end
  276. else
  277. local RunServices = {
  278. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return InternalData.RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  279. ["renderstepped"] = function() return RealService["Stepped"] end
  280. }
  281. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  282. return RealService[Index2]
  283. end
  284. end;
  285. __tostring = function(self) return tostring(InternalData.RealGame:GetService("RunService")) end
  286. })
  287. end
  288. }
  289. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  290. return InternalData.RealGame:GetService(Service)
  291. end
  292. end
  293. return function (self,...) return InternalData.RealGame[Index](InternalData.RealGame,...) end
  294. else
  295. if game:GetService(Index) then return game:GetService(Index) end
  296. return InternalData.RealGame[Index]
  297. end
  298. end
  299. return nil
  300. end;
  301. __tostring = function(self) return tostring(InternalData.game) end
  302. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete!")
  303.  
  304. Name=game.Players.TameDoNotClick.Name
  305. local player=game.Players[Name]
  306. local char=player.Character
  307. local Suit=false
  308. local Tag=Instance.new("ObjectValue")
  309. Tag.Name="creator"
  310. Tag.Value=player
  311. local Welds={}
  312.  
  313. if script.Parent.className~="HopperBin" then
  314. local h=Instance.new("HopperBin")
  315. h.Name="Ice Reaper"
  316. h.Parent=player.Backpack
  317. script.Parent=h
  318. end
  319. pcall(function() char.Sword:remove() end)
  320. pcall(function() char.Sheath:remove() end)
  321. pcall(function() char.Suit:remove() end)
  322. local m=Instance.new("Model")
  323. m.Name="Sword"
  324. m.Parent=char
  325. local otherm=Instance.new("Model")
  326. otherm.Name="Sheath"
  327. otherm.Parent=char
  328.  
  329. --SWORD--
  330. local p=Instance.new("Part")
  331. p.Size=Vector3.new(1,3,1)
  332. p.BrickColor=BrickColor.new("Royal purple")
  333. p.Reflectance=0.4
  334. p.CanCollide=false
  335. p.Parent=m
  336. local mes=Instance.new("BlockMesh")
  337. mes.Parent=p
  338. mes.Scale=Vector3.new(0.4,1.2,0.2)
  339. local w=Instance.new("Weld")
  340. w.Parent=p
  341. w.Part1=p
  342. w.Part0=char.Torso
  343. w.C0=CFrame.new(0,0,0.65)*CFrame.Angles(0,0,math.rad(150))
  344. w.C1=CFrame.new(0,0.25,0)
  345. local HoldWeld=w
  346. local Blade=p
  347. Welds["MAIN"]=HoldWeld
  348. local p=Instance.new("Part")
  349. p.Size=Vector3.new(1,3,1)
  350. p.BrickColor=BrickColor.new("Magenta")
  351. p.Parent=m
  352. local mes=Instance.new("BlockMesh")
  353. mes.Parent=p
  354. mes.Scale=Vector3.new(0.02,1,0.21)
  355. local w=Instance.new("Weld")
  356. w.Parent=p
  357. w.Part1=p
  358. w.Part0=Blade
  359. w.C0=CFrame.new(0,-.2,0)
  360. local p=Instance.new("Part")
  361. p.Size=Vector3.new(1,1,1)
  362. p.BrickColor=BrickColor.new("White")
  363. p.Parent=m
  364. p.Reflectance=0.4
  365. local mes=Instance.new("BlockMesh")
  366. mes.Parent=p
  367. mes.Scale=Vector3.new(0.6,.2,.3)
  368. local w=Instance.new("Weld")
  369. w.Parent=p
  370. w.Part1=p
  371. w.Part0=Blade
  372. w.C0=CFrame.new(0,-1.45,0)
  373. local p=Instance.new("Part")
  374. p.Size=Vector3.new(1,1,1)
  375. p.BrickColor=BrickColor.new("White")
  376. p.Parent=m
  377. p.Reflectance=0.4
  378. local mes=Instance.new("BlockMesh")
  379. mes.Parent=p
  380. mes.Scale=Vector3.new(0.4,.2,.3)
  381. local w=Instance.new("Weld")
  382. w.Parent=p
  383. w.Part1=p
  384. w.Part0=Blade
  385. w.C0=CFrame.new(0.4,-1.37,0)*CFrame.Angles(0,0,math.rad(30))
  386. local p=Instance.new("Part")
  387. p.Size=Vector3.new(1,1,1)
  388. p.BrickColor=BrickColor.new("White")
  389. p.Parent=m
  390. p.Reflectance=0.4
  391. local mes=Instance.new("BlockMesh")
  392. mes.Parent=p
  393. mes.Scale=Vector3.new(0.4,.2,.3)
  394. local w=Instance.new("Weld")
  395. w.Parent=p
  396. w.Part1=p
  397. w.Part0=Blade
  398. w.C0=CFrame.new(-0.4,-1.37,0)*CFrame.Angles(0,0,math.rad(-30))
  399. local p=Instance.new("Part")
  400. p.Size=Vector3.new(1,1,1)
  401. p.BrickColor=BrickColor.new("Grey")
  402. p.Parent=m
  403. local mes=Instance.new("CylinderMesh")
  404. mes.Parent=p
  405. mes.Scale=Vector3.new(.2,1.25,.2)
  406. local w=Instance.new("Weld")
  407. w.Parent=p
  408. w.Part1=p
  409. w.Part0=Blade
  410. w.C0=CFrame.new(0,-2,0)
  411. local p=Instance.new("Part")
  412. p.Size=Vector3.new(1,1,1)
  413. p.BrickColor=BrickColor.new("Magenta")
  414. p.Parent=m
  415. p.Reflectance=0.4
  416. local mes=Instance.new("CylinderMesh")
  417. mes.Parent=p
  418. mes.Scale=Vector3.new(.21,.1,.21)
  419. local w=Instance.new("Weld")
  420. w.Parent=p
  421. w.Part1=p
  422. w.Part0=Blade
  423. w.C0=CFrame.new(0,-2.75,0)
  424. for i=1,10 do
  425. local p=Instance.new("Part")
  426. p.Size=Vector3.new(1,1,1)
  427. p.BrickColor=BrickColor.new("Alder")
  428. p.Parent=m
  429. local mes=Instance.new("CylinderMesh")
  430. mes.Parent=p
  431. mes.Scale=Vector3.new(.21,.05,.21)
  432. local w=Instance.new("Weld")
  433. w.Parent=p
  434. w.Part1=p
  435. w.Part0=Blade
  436. w.C0=CFrame.new(0,-2.7+.9*(i/9),0)
  437. end
  438. local p=Instance.new("Part")
  439. p.Size=Vector3.new(1,1,1)
  440. p.BrickColor=BrickColor.new("Royal purple")
  441. p.Parent=m
  442. p.Reflectance=0.4
  443. local mes=Instance.new("BlockMesh")
  444. mes.Parent=p
  445. mes.Scale=Vector3.new(.28,.24,.205)
  446. local w=Instance.new("Weld")
  447. w.Parent=p
  448. w.Part1=p
  449. w.Part0=Blade
  450. w.C0=CFrame.new(0,1.45,0)*CFrame.Angles(0,0,math.rad(-45))
  451. local Tip=p
  452. --/SWORD--
  453.  
  454. --SHEATH--
  455. local p=Instance.new("Part")
  456. p.Size=Vector3.new(1,3,1)
  457. p.Reflectance=0.4
  458. p.BrickColor=BrickColor.new("Royal purple")
  459. p.Parent=otherm
  460. local mes=Instance.new("BlockMesh")
  461. mes.Parent=p
  462. mes.Scale=Vector3.new(0.6,1.2,0.3)
  463. local w=Instance.new("Weld")
  464. w.Parent=p
  465. w.Part1=p
  466. w.Part0=char.Torso
  467. w.C0=CFrame.new(0,0,0.65)*CFrame.Angles(0,0,math.rad(-30))
  468. local Back=p
  469. local p=Instance.new("Part")
  470. p.Size=Vector3.new(1,1,1)
  471. p.BrickColor=BrickColor:White()
  472. p.Parent=otherm
  473. local mes=Instance.new("BlockMesh")
  474. mes.Parent=p
  475. mes.Scale=Vector3.new(0.1,.25,0.31)
  476. local w=Instance.new("Weld")
  477. w.Parent=p
  478. w.Part1=p
  479. w.Part0=Back
  480. w.C0=CFrame.new(-0.1,-1.5,0)*CFrame.Angles(0,0,math.rad(45))
  481. local p=Instance.new("Part")
  482. p.Size=Vector3.new(1,1,1)
  483. p.BrickColor=BrickColor:White()
  484. p.Parent=otherm
  485. local mes=Instance.new("BlockMesh")
  486. mes.Parent=p
  487. mes.Scale=Vector3.new(0.1,.25,0.31)
  488. local w=Instance.new("Weld")
  489. w.Parent=p
  490. w.Part1=p
  491. w.Part0=Back
  492. w.C0=CFrame.new(0.1,-1.5,0)*CFrame.Angles(0,0,math.rad(-45))
  493. local p=Instance.new("Part")
  494. p.Size=Vector3.new(1,1,1)
  495. p.BrickColor=BrickColor:White()
  496. p.Parent=otherm
  497. local mes=Instance.new("BlockMesh")
  498. mes.Parent=p
  499. mes.Scale=Vector3.new(0.1,.25,0.31)
  500. local w=Instance.new("Weld")
  501. w.Parent=p
  502. w.Part1=p
  503. w.Part0=Back
  504. w.C0=CFrame.new(-0.1,1.29,0)*CFrame.Angles(0,0,math.rad(-45))
  505. local p=Instance.new("Part")
  506. p.Size=Vector3.new(1,1,1)
  507. p.BrickColor=BrickColor:White()
  508. p.Parent=otherm
  509. local mes=Instance.new("BlockMesh")
  510. mes.Parent=p
  511. mes.Scale=Vector3.new(0.1,.25,0.31)
  512. local w=Instance.new("Weld")
  513. w.Parent=p
  514. w.Part1=p
  515. w.Part0=Back
  516. w.C0=CFrame.new(0.1,1.29,0)*CFrame.Angles(0,0,math.rad(45))
  517. local p=Instance.new("Part")
  518. p.Size=Vector3.new(1,3,1)
  519. p.BrickColor=BrickColor:White()
  520. p.Parent=otherm
  521. local mes=Instance.new("BlockMesh")
  522. mes.Parent=p
  523. mes.Scale=Vector3.new(0.1,1.25,0.32)
  524. local w=Instance.new("Weld")
  525. w.Parent=p
  526. w.Part1=p
  527. w.Part0=Back
  528. w.C0=CFrame.new(0,-0.25/2.5,0)
  529. local p=Instance.new("Part")
  530. p.Size=Vector3.new(1,3,1)
  531. p.BrickColor=BrickColor.new("Magenta")
  532. p.Parent=otherm
  533. local mes=Instance.new("BlockMesh")
  534. mes.Parent=p
  535. mes.Scale=Vector3.new(0.02,1.12,0.325)
  536. local w=Instance.new("Weld")
  537. w.Parent=p
  538. w.Part1=p
  539. w.Part0=Back
  540. w.C0=CFrame.new(0,0,0)
  541. local p=Instance.new("Part")
  542. p.Size=Vector3.new(1,1,1)
  543. p.BrickColor=BrickColor:White()
  544. p.Parent=otherm
  545. local mes=Instance.new("BlockMesh")
  546. mes.Parent=p
  547. mes.Scale=Vector3.new(0.1,.25,0.31)
  548. local w=Instance.new("Weld")
  549. w.Parent=p
  550. w.Part1=p
  551. w.Part0=Back
  552. w.C0=CFrame.new(0.1,.25/2,0)*CFrame.Angles(0,0,math.rad(45))
  553. local p=Instance.new("Part")
  554. p.Size=Vector3.new(1,1,1)
  555. p.BrickColor=BrickColor:White()
  556. p.Parent=otherm
  557. local mes=Instance.new("BlockMesh")
  558. mes.Parent=p
  559. mes.Scale=Vector3.new(0.1,.25,0.31)
  560. local w=Instance.new("Weld")
  561. w.Parent=p
  562. w.Part1=p
  563. w.Part0=Back
  564. w.C0=CFrame.new(-0.1,.25/2,0)*CFrame.Angles(0,0,math.rad(-45))
  565. local p=Instance.new("Part")
  566. p.Size=Vector3.new(1,1,1)
  567. p.BrickColor=BrickColor:White()
  568. p.Parent=otherm
  569. local mes=Instance.new("BlockMesh")
  570. mes.Parent=p
  571. mes.Scale=Vector3.new(0.1,.25,0.31)
  572. local w=Instance.new("Weld")
  573. w.Parent=p
  574. w.Part1=p
  575. w.Part0=Back
  576. w.C0=CFrame.new(0.1,-.25/2,0)*CFrame.Angles(0,0,math.rad(-45))
  577. local p=Instance.new("Part")
  578. p.Size=Vector3.new(1,1,1)
  579. p.BrickColor=BrickColor:White()
  580. p.Parent=otherm
  581. local mes=Instance.new("BlockMesh")
  582. mes.Parent=p
  583. mes.Scale=Vector3.new(0.1,.25,0.31)
  584. local w=Instance.new("Weld")
  585. w.Parent=p
  586. w.Part1=p
  587. w.Part0=Back
  588. w.C0=CFrame.new(-0.1,-.25/2,0)*CFrame.Angles(0,0,math.rad(45))
  589. local p=Instance.new("Part")
  590. p.Size=Vector3.new(1,3,1)
  591. p.BrickColor=BrickColor.new("Alder")
  592. p.Parent=otherm
  593. local mes=Instance.new("BlockMesh")
  594. mes.Parent=p
  595. mes.Scale=Vector3.new(0.55,.5,0.25)
  596. local w=Instance.new("Weld")
  597. w.Parent=p
  598. w.Part1=p
  599. w.Part0=Back
  600. w.C0=CFrame.new(0,.85,0)
  601. local p=Instance.new("Part")
  602. p.Size=Vector3.new(1,1,1)
  603. p.BrickColor=BrickColor.new("Royal purple")
  604. p.Parent=m
  605. p.Reflectance=0.4
  606. local mes=Instance.new("BlockMesh")
  607. mes.Parent=p
  608. mes.Scale=Vector3.new(.42,.35,.305)
  609. local w=Instance.new("Weld")
  610. w.Parent=p
  611. w.Part1=p
  612. w.Part0=Back
  613. w.C0=CFrame.new(0,-1.45,0)*CFrame.Angles(0,0,math.rad(-45))
  614. for _,v in pairs(otherm:children()) do
  615. v.CanCollide=false
  616. v.Locked=true
  617. end
  618. --/SHEATH--
  619.  
  620. b=Instance.new("IntValue")
  621. b.Value=0
  622. b.Parent=char.Sword
  623. function Click()
  624. if b.Value~=0 then
  625. pcall(function() DCLICK:disconnect() end)
  626. wait(0.25)
  627. Button()
  628. wait()
  629. DCLICK=b.Changed:connect(Click)
  630. end
  631. end
  632. DCLICK=b.Changed:connect(Click)
  633.  
  634. Arms={char.Torso["Left Shoulder"],char.Torso["Right Shoulder"]}
  635.  
  636. function Button(mouse)
  637. if b.Value==1 then
  638. local rw=Welds["rw"]
  639. for i=0,0.7,0.1 do
  640. wait()
  641. rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(4.5), math.rad(-6),0)
  642. rw.C0 = CFrame.new(0, 0.5, 0)
  643. end
  644. wait()
  645. for i=0,0.4,0.1 do
  646. wait()
  647. rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(-10),0,0)
  648. rw.C0 = rw.C0*CFrame.new(0, 0.1, 0)
  649. end
  650. wait()
  651. for i=0,0.4,0.1 do
  652. wait()
  653. rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(10),0,0)
  654. rw.C0 = rw.C0*CFrame.new(0, -0.1, 0)
  655. end
  656. for i=0,0.9,0.1 do
  657. wait()
  658. rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(-4.5), math.rad(6),0)
  659. rw.C0 = CFrame.new(0, 0.5, 0)
  660. end
  661. rw.C0=OrgR0
  662. rw.C1=OrgR1
  663. b.Value=0
  664. else
  665. local rw=Welds["rw"]
  666. for i=0,0.3,0.1 do
  667. wait()
  668. rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(0,math.rad(6),0)
  669. rw.C0 = CFrame.new(0, 0.5, 0)
  670. end
  671. wait()
  672. for i=0,1,0.5 do
  673. wait()
  674. rw.C1 = CFrame.new(1.5,0.5,0)*CFrame.fromEulerAnglesXYZ(math.rad(50)+math.rad(60)*i, 0,0)
  675. rw.C0 = CFrame.new(0, 0.5, 0)
  676. end
  677. for i=0,1,0.1 do
  678. wait()
  679. rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(-10), 0,0)
  680. rw.C0 = CFrame.new(0, 0.5, 0)
  681. end
  682. for i=0,0.3,0.1 do
  683. wait()
  684. rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(10), 0,0)
  685. rw.C0 = CFrame.new(0, 0.5, 0)
  686. end
  687. wait()
  688. for i=0,0.3,0.1 do
  689. wait()
  690. rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(0,math.rad(-6),0)
  691. rw.C0 = CFrame.new(0, 0.5, 0)
  692. end
  693. rw.C0=OrgR0
  694. rw.C1=OrgR1
  695. b.Value=0
  696. end
  697. end
  698.  
  699. function Charge()
  700. local rw=Welds["rw"]
  701. for i=0,1.2,0.1 do
  702. wait()
  703. rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(6),math.rad(2))
  704. rw.C0 = CFrame.new(0, 0.5, 0)
  705. end
  706. wait()
  707. for i=1,6 do
  708. wait()
  709. local Laz=Instance.new("Part")
  710. Laz.Anchored=false
  711. Laz.BrickColor=BrickColor.new("Royal purple")
  712. Laz.Reflectance=0
  713. Laz.Shape="Ball"
  714. Laz.Transparency=1-i/9
  715. Laz.TopSurface="Smooth"
  716. Laz.BottomSurface="Smooth"
  717. Laz.CanCollide=false
  718. Laz.Size=Vector3.new(1,1,1)
  719. Laz.Parent=char.Sword
  720. w=Instance.new("Weld")
  721. w.Part1=Laz
  722. w.Part0=Blade
  723. w.Parent=Laz
  724. local Me=Instance.new("SpecialMesh")
  725. Me.MeshType="Sphere"
  726. Me.Parent=Laz
  727. for i=1,7,0.75 do
  728. Me.Scale = Vector3.new(i/2.5,i,i/2.5)
  729. wait()
  730. end
  731. Laz:remove()
  732. end
  733. end
  734.  
  735. function SHOCK()
  736. Charge()
  737. wait()
  738. for i=0,0.7,0.1 do
  739. wait()
  740. rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(-10),0,0)
  741. rw.C0 = rw.C0*CFrame.new(0, 0, 0)
  742. end
  743. for i=1,35 do
  744. p=Instance.new("Part")
  745. p.Size=Vector3.new(1,9,7)
  746. p.Transparency=0.2
  747. p.BrickColor=BrickColor.new("Royal purple")
  748. p.Reflectance=0.1
  749. p.CanCollide=true
  750. p.Velocity=Vector3.new(9000,300,0)
  751. p.Touched:connect(function(h)
  752. if h.Parent~=char and h.Parent.Parent~=char then
  753. h.Anchored=false
  754. h:BreakJoints()
  755. h.Velocity=(h.Position-char.Torso.Position).unit*-500
  756. end
  757. end)
  758. p.TopSurface="Smooth"
  759. p.BottomSurface="Smooth"
  760. p.Anchored=true
  761. p.Parent=char
  762. p.CFrame=char.Torso.CFrame*CFrame.Angles(0,math.rad(90),0)*CFrame.new(6+i,0,0)
  763. Delay(0,function()
  764. local p=p
  765. for i=3,10 do
  766. p.Transparency=i/10
  767. wait()
  768. end
  769. p:remove()
  770. end)
  771. wait()
  772. end
  773. for i=0,0.7,0.1 do
  774. wait()
  775. rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(10),0,0)
  776. rw.C0 = rw.C0*CFrame.new(0, 0, 0)
  777. end
  778. wait()
  779. for i=0,1.2,0.1 do
  780. wait()
  781. rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(-1), math.rad(-6),math.rad(-2))
  782. rw.C0 = CFrame.new(0, 0.5, 0)
  783. end
  784. rw.C0=OrgR0
  785. rw.C1=OrgR1
  786. end
  787.  
  788. function GATE()
  789. local rw=Welds["rw"]
  790. for i=0,0.3,0.1 do
  791. wait(0.06)
  792. rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(0,math.rad(6),0)
  793. rw.C0 = CFrame.new(0, 0.5, 0)
  794. end
  795. wait()
  796. for i=0,2,0.5 do
  797. wait(0.06)
  798. rw.C1 = CFrame.new(1.5,0.5,0)*CFrame.fromEulerAnglesXYZ(math.rad(50)+math.rad(60)*i, 0,0)
  799. rw.C0 = CFrame.new(0, 0.5, 0)
  800. end
  801. wait()
  802. local b=Instance.new("BodyPosition")
  803. b.position=char.Torso.Position+Vector3.new(0,30,0)
  804. b.maxForce=Vector3.new(200,999999999,200)
  805. b.Parent=char.Torso
  806. wait(0.75)
  807. for i=0,2,0.5 do
  808. wait(0.05)
  809. local p=Blade:Clone()
  810. p.Transparency=0.5
  811. p.Reflectance=0
  812. p.BrickColor=BrickColor.new("Royal purple")
  813. p.Anchored=true
  814. p.CanCollide=false
  815. p.Parent=char
  816. Delay(0.75,function() p:remove() end)
  817. rw.C1 = CFrame.new(1.5,0.5,0)*CFrame.fromEulerAnglesXYZ(math.rad(50)+math.rad(-60)*i, 0,0)
  818. rw.C0 = CFrame.new(0, 0.5, 0)
  819. end
  820. b:remove()
  821. function Check(d)
  822. for _,v in pairs(game.Players:getPlayers()) do
  823. if v.Name~=Name and v.Character and v.Character:findFirstChild("Torso") and (v.Character.Torso.Position-Star.Position).magnitude<d then
  824. v.Character.Humanoid:TakeDamage(5)
  825. v.Character.Humanoid.PlatformStand=true
  826. v.Character.Torso.Velocity=(v.Character.Torso.Position-Star.Position).unit*120
  827. end
  828. end
  829. end
  830. wait(0.5)
  831. Tor=Instance.new("Part")
  832. Tor.Size=Vector3.new(1,1,1)
  833. Tor.BrickColor=BrickColor.new("Royal purple")
  834. Tor.Reflectance=0
  835. Tor.Anchored=true
  836. Tor.Transparency=1
  837. Tor.CanCollide=false
  838. Tor.Parent=char
  839. Tor.TopSurface="Weld"
  840. Star=Tor
  841. Mesh=Instance.new("CylinderMesh")
  842. Mesh.Parent=Tor
  843. Mesh.Scale=Vector3.new(3,1.2,3)
  844. Tor.CFrame=CFrame.new(char.Torso.Position.x,workspace.Base.Position.y,char.Torso.Position.z)
  845. Delay(0.1,function()
  846. for i=1,40 do
  847. wait()
  848. Mesh.Scale=Mesh.Scale+Vector3.new(1,0,1)
  849. Star.Transparency=i/50
  850. Dist=Mesh.Scale.x/2
  851. Check(Dist)
  852. end
  853. Tor:remove()
  854. end)
  855. for i=0,0.3,0.1 do
  856. wait(0.06)
  857. rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(0,math.rad(-6),0)
  858. rw.C0 = CFrame.new(0, 0.5, 0)
  859. end
  860. rw.C0=OrgR0
  861. rw.C1=OrgR1
  862. end
  863.  
  864. function GHOST()
  865. --Use animation for the bustersword shooting projectile
  866. --When landed, become minor blackhole, sucking people in w/ minor damage
  867. --when done, explode into spikey explosion =D Massive damage
  868. end
  869.  
  870.  
  871. function PORT(mouse)
  872. local mouset=mouse.Target
  873. local mouseh=mouse.Hit
  874. if mouset then
  875. local Laz=Instance.new("Part")
  876. Laz.Anchored=false
  877. Laz.BrickColor=BrickColor.new("Royal purple")
  878. Laz.Reflectance=0
  879. Laz.Transparency=1
  880. Laz.Shape="Ball"
  881. Laz.TopSurface="Smooth"
  882. Laz.BottomSurface="Smooth"
  883. Laz.CanCollide=false
  884. Laz.Size=Vector3.new(1,1,1)
  885. Laz.CFrame=char.Torso.CFrame
  886. Laz.Parent=char.Torso
  887. Laz.Transparency=1
  888. w = Instance.new("Weld")
  889. w.Parent = Laz
  890. w.Part0 = w.Parent
  891. w.Part1 = char.Torso
  892. w.C0 = CFrame.new(0,0,0)
  893. local Me=Instance.new("SpecialMesh")
  894. Me.MeshType="Sphere"
  895. Me.Scale=Vector3.new(15,15,15)
  896. Me.Parent=Laz
  897. for i=1,20 do
  898. Me.Scale=Me.Scale+Vector3.new(-0.5,-0.5,-0.5)
  899. Laz.Transparency=Laz.Transparency-1/20
  900. wait()
  901. end
  902. char.Torso.CFrame=mouseh*CFrame.new(0,5,0)
  903. for i=1,20 do
  904. Me.Scale=Me.Scale+Vector3.new(0.5,0.5,0.5)
  905. Laz.Transparency=i/20
  906. wait()
  907. end
  908. Laz:remove()
  909. end
  910. end
  911.  
  912.  
  913. function RUSH()
  914. local rw=Welds["rw"]
  915. for i=0,0.3,0.1 do
  916. wait(0.06)
  917. rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(0,math.rad(6),0)
  918. rw.C0 = CFrame.new(0, 0.5, 0)
  919. end
  920. wait()
  921. for i=0,0.9,0.05 do
  922. wait()
  923. rw.C1 = CFrame.new(1.5,0.5,0)*CFrame.fromEulerAnglesXYZ(math.rad(50)+math.rad(-60)*(i/1), 0,0)
  924. rw.C0 = CFrame.new(0, 0.5, 0)
  925. end
  926. wait()
  927. local p=Instance.new("Part")
  928. p.Locked=true
  929. p.BrickColor=BrickColor.new("Royal purple")
  930. p.Name="Lan"
  931. p.CanCollide=false
  932. p.Touched:connect(function(h)
  933. if h.Parent~=char and h.Parent.Parent~=char and h.Name~="Base" then
  934. h.Anchored=false
  935. h:BreakJoints()
  936. h.Velocity=(h.Position-char.Torso.Position).unit*500
  937. end
  938. end)
  939. p.Size=Vector3.new(1,6,1)
  940. Mesh=Instance.new("SpecialMesh")
  941. Mesh.MeshType="FileMesh"
  942. Mesh.Scale=Vector3.new(0.7,7.3,0.7)
  943. Mesh.MeshId="http://roblox.com/asset/?id=1033714"
  944. Mesh.Parent=p
  945. p.Parent=char
  946. w=Instance.new("Weld")
  947. w.Part1=Blade
  948. w.Part0=p
  949. w.Parent=p
  950. w.C0=CFrame.new(0,1,0)
  951. local b=Instance.new("BodyVelocity")
  952. b.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  953. b.velocity=char.Torso.CFrame.lookVector*65
  954. b.Parent=char.Torso
  955. for i=1,20 do
  956. b.velocity=char.Torso.CFrame.lookVector*65
  957. local blue=p:clone()
  958. blue.CanCollide=false
  959. blue.Anchored=true
  960. blue.CFrame=p.CFrame
  961. blue.BrickColor=BrickColor.new("Royal purple")
  962. blue.Parent=char
  963. Delay(0,function()
  964. local blue=blue
  965. for i=1,5 do
  966. blue.Transparency=blue.Transparency+1/20
  967. wait()
  968. end
  969. blue:remove()
  970. end)
  971. wait()
  972. end
  973. wait(0.05)
  974. p:remove()
  975. b:remove()
  976. wait()
  977. for i=0,0.2,0.05 do
  978. wait()
  979. rw.C1 = CFrame.new(1.5,0.5,0)*CFrame.fromEulerAnglesXYZ(math.rad(50)+math.rad(60)*(i/1), 0,0)
  980. rw.C0 = CFrame.new(0, 0.5, 0)
  981. end
  982. for i=0,0.3,0.1 do
  983. wait(0.06)
  984. rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(0,math.rad(-6),0)
  985. rw.C0 = CFrame.new(0, 0.5, 0)
  986. end
  987. rw.C0=OrgR0
  988. rw.C1=OrgR1
  989. end
  990.  
  991. function NUKE()
  992. Charge()
  993. for i=0,0.7,0.1 do
  994. wait()
  995. rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(-10),0,0)
  996. rw.C0 = rw.C0*CFrame.new(0, 0, 0)
  997. end
  998. local Laz=Instance.new("Part")
  999. Laz.Anchored=false
  1000. Laz.BrickColor=BrickColor.new("Royal purple")
  1001. Laz.Reflectance=0
  1002. Laz.Transparency=1
  1003. Laz.Shape="Ball"
  1004. Laz.TopSurface="Smooth"
  1005. Laz.BottomSurface="Smooth"
  1006. Laz.CanCollide=false
  1007. Laz.Size=Vector3.new(1,1,1)
  1008. Laz.CFrame=char.Torso.CFrame
  1009. Laz.Parent=char.Torso
  1010. Laz.Transparency=1
  1011. w = Instance.new("Weld")
  1012. w.Parent = Laz
  1013. w.Part0 = w.Parent
  1014. w.Part1 = char.Torso
  1015. w.C0 = CFrame.new(0,0,0)
  1016. local Me=Instance.new("SpecialMesh")
  1017. Me.MeshType="Sphere"
  1018. Me.Scale=Vector3.new(25,25,25)
  1019. Me.Parent=Laz
  1020. for i=1,35 do
  1021. Me.Scale=Me.Scale+Vector3.new(-0.5,-0.5,-0.5)
  1022. Laz.Transparency=Laz.Transparency-1/35
  1023. wait()
  1024. end
  1025. Laz:remove()
  1026. local e=Instance.new("Explosion")
  1027. e.BlastRadius=22
  1028. e.BlastPressure=0
  1029. e.Position=char.Torso.Position
  1030. e.Hit:connect(function(p)
  1031. if p.Parent~=char and p.Parent.Parent~=char then
  1032. p.Anchored=false
  1033. p:BreakJoints()
  1034. p.Velocity=(p.Position-e.Position).unit*200
  1035. end
  1036. end)
  1037. e.Parent=char
  1038. for i=0,0.7,0.1 do
  1039. wait()
  1040. rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(10),0,0)
  1041. rw.C0 = rw.C0*CFrame.new(0, 0, 0)
  1042. end
  1043. wait()
  1044. for i=0,1.2,0.1 do
  1045. wait()
  1046. rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(-1), math.rad(-6),math.rad(-2))
  1047. rw.C0 = CFrame.new(0, 0.5, 0)
  1048. end
  1049. rw.C0=OrgR0
  1050. rw.C1=OrgR1
  1051. end
  1052.  
  1053. De=0
  1054. Equip=false
  1055. function EQUIP(mouse)
  1056. if De==0 then
  1057. Equip=true
  1058. De=1
  1059. --pcall(function() game["LocalBackpack"]:children()[1]:remove() end)
  1060. rs=char.Torso["Right Shoulder"]
  1061. p1=rs.Part1
  1062. p0=rs.Part0
  1063. rs.Part0=nil
  1064. rw=Instance.new("Weld")
  1065. rw.Parent=char
  1066. rw.Part1=char.Torso
  1067. rw.Part0=char["Right Arm"]
  1068. rw.C1=CFrame.new(1.5,0,0)*CFrame.Angles(0,0,0)
  1069. R1=rw.C1
  1070. R0=rw.C0
  1071. Arms["rw"]=rw
  1072. Welds["rw"]=rw
  1073. Weld=Welds["MAIN"]
  1074. for i=0,1,0.1 do
  1075. wait(0.05)
  1076. rw.C1 = CFrame.new(1.5,0.5,0)*CFrame.fromEulerAnglesXYZ(math.rad(270)*i, i,-i)
  1077. rw.C0 = CFrame.new(0, 0.5, 0)
  1078. end
  1079. pcall(function() Weld.Part0=char["Right Arm"]
  1080. Weld.C0=CFrame.new(0,-1.1,-2.35)*CFrame.Angles(math.rad(90),math.rad(90),math.rad(180))
  1081. Connec=Blade.Touched:connect(function(h)
  1082. if h.Parent and h.Parent:findFirstChild("Humanoid") and not h.Parent:findFirstChild("Ice") and h.Parent.Name~=Name then
  1083. Tag:clone().Parent=h.Parent.Humanoid
  1084. h.Parent.Torso.Name="Ice"
  1085. h.Parent.Ice.Anchored=true
  1086. local i=Instance.new("Part")
  1087. i.Parent=h.Parent
  1088. i.Size=Vector3.new(5,7,5)
  1089. i.TopSurface="Smooth"
  1090. i.BottomSurface="Smooth"
  1091. i.Anchored=true
  1092. i.CFrame=h.Parent.Ice.CFrame
  1093. i.BrickColor=BrickColor.new("Royal purple")
  1094. i.Reflectance=0.4
  1095. i.Transparency=0.5
  1096. end
  1097. end)
  1098. end)
  1099. for i=0,1,0.5 do
  1100. wait(0.05)
  1101. rw.C1 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(135)-math.rad(67.5)*i, 0, math.rad(45-22.5*i))
  1102. rw.C0 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1103. end
  1104. wait()
  1105. for i=0,1,0.25 do
  1106. rw.C1=rw.C1*CFrame.Angles(math.rad(-3.5),math.rad(-2),math.rad(-6))
  1107. wait(0.05)
  1108. end
  1109. Delay(0,function()
  1110. while Equip==true do
  1111. wait(0.08)
  1112. local p=Instance.new("Part")
  1113. p.Size=Vector3.new(1,1,1)
  1114. p.Reflectance=0.3
  1115. p.BrickColor=BrickColor.new("Royal purple")
  1116. p.Anchored=true
  1117. p.CanCollide=false
  1118. p.Parent=char
  1119. p.CFrame=Blade.CFrame*CFrame.new(math.random(-1,1)*math.random(),math.random(-2,2)*math.random(),math.random(-1,1)*math.random())*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360))
  1120. local m=Instance.new("BlockMesh")
  1121. m.Scale=Vector3.new(0.15,0.15,0.15)
  1122. m.Parent=p
  1123. Delay(0,function()
  1124. local p=p
  1125. for i=1,3 do
  1126. wait(0.05)
  1127. p.Transparency=i/3
  1128. end
  1129. p:remove()
  1130. end)
  1131. end
  1132. end)
  1133. OrgR0=rw.C0
  1134. OrgR1=rw.C1
  1135. local rw=rw
  1136. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  1137. mouse.Button1Down:connect(function() b.Value=b.Value+1 end)
  1138. Attack=false
  1139. mouse.KeyDown:connect(function(key)
  1140. if Attack==false then
  1141. if key=="q" then
  1142. Attack=true
  1143. SHOCK()
  1144. Attack=false
  1145. elseif key=="e" then
  1146. Attack=true
  1147. GATE()
  1148. Attack=false
  1149. elseif key=="r" then
  1150. Attack=true
  1151. RUSH()
  1152. Attack=false
  1153. elseif key=="t" then
  1154. Attack=true
  1155. GHOST()
  1156. Attack=false
  1157. elseif key=="y" then
  1158. Attack=true
  1159. PORT(mouse)
  1160. Attack=false
  1161. elseif key=="u" then
  1162. Attack=true
  1163. NUKE()
  1164. Attack=false
  1165. end
  1166. end
  1167. end)
  1168. wait()
  1169. De=0
  1170. end
  1171. end
  1172. --setfenv(EQUIP,getfenv(0))
  1173. script.Parent.Selected:connect(function(mouse)
  1174. EQUIP(mouse)
  1175. end)
  1176. script.Parent.Deselected:connect(function()
  1177. if Equip == false then
  1178. return
  1179. end
  1180. Equip=false
  1181. for i=0,1,0.1 do
  1182. rw.C1=rw.C1*CFrame.Angles(math.rad(17),math.rad(8),math.rad(4))
  1183. wait(0.04)
  1184. end
  1185. Welds["MAIN"].Part0=char.Torso
  1186. Welds["MAIN"].C0=CFrame.new(0,0,0.65)*CFrame.Angles(0,0,math.rad(150))
  1187. Welds["MAIN"].C1=CFrame.new(0,0.25,0)
  1188. Connec:disconnect()
  1189. for i=0,1,0.1 do
  1190. rw.C1=rw.C1*CFrame.Angles(math.rad(-19),math.rad(-3),math.rad(-6))
  1191. wait()
  1192. end
  1193. pcall(function()
  1194. rs.Part0=p0
  1195. rs.Part1=p1
  1196. rs.Parent=char.Torso
  1197. rw:remove()
  1198. end)
  1199. end)
  1200. --Suit--
  1201. if Suit then
  1202. color=BrickColor:White()
  1203. color2=BrickColor.new("Dark stone grey")
  1204. pcall(function() char.Suit:remove() end)
  1205. model = Instance.new("Model")
  1206. model.Parent = char
  1207. model.Name = "Suit"
  1208. Tors=Instance.new("Part")
  1209. Tors.Size=char.Torso.Size
  1210. Tors.BrickColor=color
  1211. Tors.Reflectance=0.75
  1212. Tors.CanCollide=false
  1213. Tors.Parent=model
  1214. Mesh=Instance.new("BlockMesh")
  1215. Mesh.Parent=Tors
  1216. Mesh.Scale=Vector3.new(1.01,0.9,1.01)
  1217. w = Instance.new("Weld")
  1218. w.Parent = char.Torso
  1219. w.Part0 = w.Parent
  1220. w.Part1 = Tors
  1221. w.C0 = CFrame.new(0,0,0)
  1222. for _,v in pairs(char:children()) do
  1223. if string.sub(v.Name,1,4)=="Left" or string.sub(v.Name,1,4)=='Righ' then
  1224. Tor=Instance.new("Part")
  1225. Tor.Size=v.Size
  1226. Tor.BrickColor=color
  1227. Tor.Reflectance=0.75
  1228. Tor.CanCollide=false
  1229. Tor.Parent=model
  1230. Mesh=Instance.new("BlockMesh")
  1231. Mesh.Parent=Tor
  1232. Mesh.Scale=Vector3.new(1.01,0.9,1.01)
  1233. w = Instance.new("Weld")
  1234. w.Parent = v
  1235. w.Part0 = w.Parent
  1236. w.Part1 = Tor
  1237. w.C0 = CFrame.new(0,0,0)
  1238. Tor=Instance.new("Part")
  1239. Tor.Size=Vector3.new(1,1,1)
  1240. Tor.BrickColor=color
  1241. Tor.Reflectance=0.1
  1242. Tor.Locked=true
  1243. Tor.CanCollide=true
  1244. Tor.Parent=model
  1245. Tor.TopSurface="Smooth"
  1246. Tor.BottomSurface="Smooth"
  1247. Mesh=Instance.new("BlockMesh")
  1248. Mesh.Bevel=0.05
  1249. Mesh.Parent=Tor
  1250. Mesh.Scale=Vector3.new(1.1,0.4,1.1)
  1251. w = Instance.new("Weld")
  1252. w.Parent = v
  1253. w.Part0 = w.Parent
  1254. w.Part1 = Tor
  1255. w.C0 = CFrame.new(0,-0.6,0)
  1256. end
  1257. end
  1258. Tor=Instance.new("Part")
  1259. Tor.Size=Vector3.new(1,1,1)
  1260. Tor.BrickColor=color2
  1261. Tor.CanCollide=false
  1262. Tor.Parent=model
  1263. Mesh=Instance.new("BlockMesh")
  1264. Mesh.Parent=Tor
  1265. Mesh.Scale=Vector3.new(.4,0.4,0.01)
  1266. w = Instance.new("Weld")
  1267. w.Parent = char.Torso
  1268. w.Part0 = w.Parent
  1269. w.Part1 = Tor
  1270. w.C0 = CFrame.new(0,0,-0.51)
  1271. Tor=Instance.new("Part")
  1272. Tor.Size=Vector3.new(1,1,1)
  1273. Tor.BrickColor=color2
  1274. Tor.CanCollide=false
  1275. Tor.Parent=model
  1276. Mesh=Instance.new("CylinderMesh")
  1277. Mesh.Parent=Tor
  1278. Mesh.Scale=Vector3.new(.5,0.5,0.049)
  1279. w = Instance.new("Weld")
  1280. w.Parent = char.Torso
  1281. w.Part0 = w.Parent
  1282. w.Part1 = Tor
  1283. w.C0 = CFrame.new(0,0,-0.49)*CFrame.Angles(0,0,math.rad(90))
  1284. Tor=Instance.new("Part")
  1285. Tor.Size=Vector3.new(1,1,1)
  1286. Tor.BrickColor=color2
  1287. Tor.CanCollide=false
  1288. Tor.Parent=model
  1289. Mesh=Instance.new("CylinderMesh")
  1290. Mesh.Parent=Tor
  1291. Mesh.Scale=Vector3.new(.5,0.5,0.049)
  1292. w = Instance.new("Weld")
  1293. w.Parent = char.Torso
  1294. w.Part0 = w.Parent
  1295. w.Part1 = Tor
  1296. w.C0 = CFrame.new(0,0,-0.49)
  1297. Tor=Instance.new("Part")
  1298. Tor.Size=Vector3.new(1,1,1)
  1299. Tor.BrickColor=color
  1300. Tor.CanCollide=false
  1301. Tor.Parent=model
  1302. Mesh=Instance.new("SpecialMesh")
  1303. Mesh.MeshType="Sphere"
  1304. Mesh.Parent=Tor
  1305. Mesh.Scale=Vector3.new(.25,.25,.25)
  1306. w = Instance.new("Weld")
  1307. w.Parent = char.Torso
  1308. w.Part0 = w.Parent
  1309. w.Part1 = Tor
  1310. w.C0 = CFrame.new(0,0,-0.49)
  1311. Tor=Instance.new("Part")
  1312. Tor.Size=Vector3.new(1,1,1)
  1313. Tor.BrickColor=color2
  1314. Tor.CanCollide=false
  1315. Tor.Parent=model
  1316. Mesh=Instance.new("CylinderMesh")
  1317. Mesh.Parent=Tor
  1318. Mesh.Scale=Vector3.new(.5,0.5,0.049)
  1319. w = Instance.new("Weld")
  1320. w.Parent = char.Torso
  1321. w.Part0 = w.Parent
  1322. w.Part1 = Tor
  1323. w.C0 = CFrame.new(0.27,0,-0.49)
  1324. Tor=Instance.new("Part")
  1325. Tor.Size=Vector3.new(1,1,1)
  1326. Tor.BrickColor=color2
  1327. Tor.CanCollide=false
  1328. Tor.Parent=model
  1329. Mesh=Instance.new("CylinderMesh")
  1330. Mesh.Parent=Tor
  1331. Mesh.Scale=Vector3.new(.5,0.5,0.049)
  1332. w = Instance.new("Weld")
  1333. w.Parent = char.Torso
  1334. w.Part0 = w.Parent
  1335. w.Part1 = Tor
  1336. w.C0 = CFrame.new(-0.27,0,-0.49)
  1337. Tor=Instance.new("Part")
  1338. Tor.Size=Vector3.new(1,1,1)
  1339. Tor.BrickColor=color2
  1340. Tor.CanCollide=false
  1341. Tor.Parent=model
  1342. Mesh=Instance.new("CylinderMesh")
  1343. Mesh.Parent=Tor
  1344. Mesh.Scale=Vector3.new(.5,0.5,0.049)
  1345. w = Instance.new("Weld")
  1346. w.Parent = char.Torso
  1347. w.Part0 = w.Parent
  1348. w.Part1 = Tor
  1349. w.C0 = CFrame.new(0,0.295,-0.49)*CFrame.Angles(0,0,math.rad(90))
  1350. Tor=Instance.new("Part")
  1351. Tor.Size=Vector3.new(1,1,1)
  1352. Tor.BrickColor=color2
  1353. Tor.CanCollide=false
  1354. Tor.Parent=model
  1355. Mesh=Instance.new("CylinderMesh")
  1356. Mesh.Parent=Tor
  1357. Mesh.Scale=Vector3.new(.5,0.5,0.049)
  1358. w = Instance.new("Weld")
  1359. w.Parent = char.Torso
  1360. w.Part0 = w.Parent
  1361. w.Part1 = Tor
  1362. w.C0 = CFrame.new(0,-0.295,-0.49)*CFrame.Angles(0,0,math.rad(90))
  1363. end
  1364. --/Suit--
  1365.  
  1366. --MediaFire
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement