Advertisement
megaluxe

oooof

Aug 19th, 2018
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 56.50 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility by WaverlyCole");InternalData = {}InternalData.RealOwner = owner;InternalData.RealObjs = {};InternalData.SoundLoudness = {};
  2. do
  3. script.Parent = InternalData.RealOwner.Character
  4. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput";InternalData.Event = Event
  5. local function createObject (connections, index)
  6. local proxy = newproxy (true);local meta = getmetatable (proxy);
  7. local runbind = function (self, i, ...) connections[i]:Fire (...); end;
  8. while (#connections > 0) do connections[table.remove(connections, 1)] = Instance.new ('BindableEvent');end;
  9. meta.__index = function (self, i)
  10. if (i == 'TriggerEvent') then return runbind end;
  11. return connections[i] and connections[i].Event or index[i];
  12. end;
  13. meta.__newindex = index;meta.__metatable = false;return proxy
  14. end;
  15. local Mouse = createObject({"KeyUp","KeyDown","Button1Down","Button1Up","Move","Button2Down","Button2Up"},{["Target"] = nil;["Hit"] = CFrame.new()})
  16. local UserInputService = createObject({"InputBegan","InputEnded"},{})
  17. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  18. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  19. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  20. Event.OnServerEvent:Connect(function(FiredBy,Input)
  21. if FiredBy ~= InternalData.RealOwner then return end
  22. if Input.MouseEvent then
  23. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  24. Mouse:TriggerEvent("Move")
  25. elseif Input.Sound then
  26. if InternalData.SoundLoudness[Input.Sound] then InternalData.SoundLoudness[Input.Sound] = Input.Loudness end
  27. else
  28. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  29. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TriggerEvent(Begin and "Button1Down" or "Button1Up") end
  30. if Input.UserInputType == Enum.UserInputType.MouseButton2 then return Mouse:TriggerEvent(Begin and "Button2Down" or "Button2Up") 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. InternalData.LoadLibrary = LoadLibrary;LoadLibrary = function(Library)
  80. if Library == "RbxUtility" then
  81. return setmetatable({},{
  82. __tostring = function() return "RbxUtility" end;
  83. __index = function(self, Index)
  84. if Index:lower() == "create" then
  85. return function(Type)
  86. return function(Data)
  87. Data = Data or {}
  88. local Inst = Instance.new(Type)
  89. for x,y in pairs(Data) do
  90. if InternalData.RealObjs[y] then y = InternalData.RealObjs[y] end
  91. if y == owner then y = InternalData.RealOwner end
  92. Inst[x] = y
  93. end
  94. return Inst
  95. end
  96. end
  97. end
  98. return InternalData.LoadLibrary(Library)[Index]
  99. end
  100. })
  101. end
  102. return InternalData.LoadLibrary(Library)
  103. end
  104. InternalData.RealInstance = Instance;Instance = setmetatable({},{
  105. __index = function (self,Index)
  106. if Index:lower() == 'new' then
  107. return function (Type, Parent)
  108. if Parent == owner then Parent = InternalData.RealOwner end
  109. if InternalData.RealObjs[Parent] then Parent = InternalData.RealObjs[Parent] end
  110. local Real = InternalData.RealInstance.new(Type,Parent)
  111. if not Type then return end
  112. if Type == "BillboardGui" then
  113. local ToReturn = setmetatable({},{
  114. __index = function (self,Index)
  115. if type(Real[Index]) == "function" then
  116. if Index:lower() == "clone" then
  117. return function (self)
  118. local Real = Real:Clone()
  119. local ToReturn = setmetatable({RealObject = Real},{
  120. __index = function (self,Index)
  121. if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
  122. return Real[Index]
  123. end;
  124. __newindex = function (self,Index,Value)
  125. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  126. if Value == owner then Value = InternalData.RealOwner end
  127. Real[Index] = Value
  128. end;
  129. __tostring = function(self) return tostring(Real) end;
  130. })
  131. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  132. end
  133. end
  134. return function (self,...) return Real[Index](Real,...)end
  135. end
  136. return Real[Index]
  137. end;
  138. __newindex = function (self,Index,Value)
  139. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  140. if Value == owner then Value = InternalData.RealOwner end
  141. Real[Index] = Value
  142. end;
  143. __tostring = function(self) return tostring(Real) end;
  144. })
  145. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  146. elseif Type:lower() == "sound" then
  147. Real.Parent = owner.Character;
  148. local ToReturn = setmetatable({RealObject = Real},{
  149. __index = function (self,Index)
  150. if Index:lower() == "playbackloudness" then
  151. return InternalData.SoundLoudness[Real] or 0
  152. elseif type(Real[Index]) == "function" then
  153. if Index:lower() == "clone" then
  154. return function (self)
  155. local Real = Real:Clone()
  156. local ToReturn = setmetatable({},{
  157. __index = function (self,Index)
  158. if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
  159. return Real[Index]
  160. end;
  161. __newindex = function (self,Index,Value)
  162. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  163. if Value == owner then Value = InternalData.RealOwner end
  164. Real[Index] = Value
  165. end;
  166. __tostring = function(self) return tostring(Real) end;
  167. })
  168. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  169. end
  170. end
  171. return function (self,...) return Real[Index](Real,...)end
  172. end
  173. return Real[Index]
  174. end;
  175. __newindex = function (self,Index,Value)
  176. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  177. if Value == owner then Value = InternalData.RealOwner end
  178. Real[Index] = Value
  179. end;
  180. __tostring = function(self) return tostring(Real) end;
  181. })
  182. InternalData.RealObjs[ToReturn] = Real;InternalData.SoundLoudness[Real] = 0;repeat wait() until InternalData.Event.Parent InternalData.Event:FireClient(InternalData.RealOwner,{"NewSound",Real}) return ToReturn;
  183. else
  184. local ToReturn = setmetatable({RealObject = Real},{
  185. __index = function (self,Index)
  186. if type(Real[Index]) == "function" then
  187. if Index:lower() == "clone" then
  188. return function (self)
  189. local Real = Real:Clone()
  190. local ToReturn = setmetatable({},{
  191. __index = function (self,Index)
  192. if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
  193. return Real[Index]
  194. end;
  195. __newindex = function (self,Index,Value)
  196. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  197. if Value == owner then Value = InternalData.RealOwner end
  198. Real[Index] = Value
  199. end;
  200. __tostring = function(self) return tostring(Real) end;
  201. })
  202. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  203. end
  204. end
  205. return function (self,...) return Real[Index](Real,...)end
  206. end
  207. return Real[Index]
  208. end;
  209. __newindex = function (self,Index,Value)
  210. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  211. if Value == owner then Value = InternalData.RealOwner end
  212. Real[Index] = Value
  213. end;
  214. __tostring = function(self) return tostring(Real) end;
  215. })
  216. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  217. end
  218. end
  219. end
  220. return InternalData.RealInstance[Index]
  221. end;
  222. __tostring = function(self) return tostring(InternalData.RealInstance) end;
  223. });
  224. InternalData.RealGame = game;game = setmetatable({},{
  225. __index = function (self,Index)
  226. if InternalData.RealGame[Index] then
  227. local Type = type(InternalData.RealGame[Index])
  228. if Type == "function" then
  229. if Index:lower() == "getservice" or Index:lower() == "service" then
  230. return function (self,Service)
  231. local FakeServices = {
  232. ["players"] = function()
  233. return setmetatable({},{
  234. __index = function (self2,Index2)
  235. local RealService = InternalData.RealGame:GetService(Service)
  236. local Type2 = type(RealService[Index2])
  237. if Type2 == "function" then
  238. return function (self,...) return RealService[Index2](RealService,...)end
  239. else
  240. if Index2:lower() == "localplayer" then return InternalData.NewOwner end
  241. return RealService[Index2]
  242. end
  243. end;
  244. __tostring = function(self) return tostring(InternalData.RealGame:GetService(Service)) end
  245. })
  246. end;
  247. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  248. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  249. ["debris"] = function()
  250. return setmetatable({},{
  251. __index = function(self2,Index2)
  252. local RealService = InternalData.RealGame:GetService(Service)
  253. local Type2 = type(RealService[Index2])
  254. if Type2 == "function" then
  255. if Index2:lower() == "additem" then
  256. return function (self,Item,Time)
  257. if InternalData.RealObjs[Item] then Item = InternalData.RealObjs[Item] end
  258. return RealService:AddItem(Item,Time)
  259. end
  260. end
  261. return function (self,...) return RealService[Index2](RealService,...) end
  262. end
  263. return RealService[Index2]
  264. end;
  265. __tostring = function(self) return tostring(InternalData.RealGame:GetService("Debris")) end
  266. })
  267. end;
  268. ["runservice"] = function()
  269. return setmetatable({},{
  270. __index = function(self2,Index2)
  271. local RealService = InternalData.RealGame:GetService(Service)
  272. local Type2 = type(RealService[Index2])
  273. if Type2 == "function" then
  274. return function (self,...) return RealService[Index2](RealService,...) end
  275. else
  276. local RunServices = {
  277. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return InternalData.RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  278. ["renderstepped"] = function() return RealService["Stepped"] end
  279. }
  280. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  281. return RealService[Index2]
  282. end
  283. end;
  284. __tostring = function(self) return tostring(InternalData.RealGame:GetService("RunService")) end
  285. })
  286. end
  287. }
  288. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  289. return InternalData.RealGame:GetService(Service)
  290. end
  291. end
  292. return function (self,...) return InternalData.RealGame[Index](InternalData.RealGame,...) end
  293. else
  294. if game:GetService(Index) then return game:GetService(Index) end
  295. return InternalData.RealGame[Index]
  296. end
  297. end
  298. return nil
  299. end;
  300. __tostring = function(self) return tostring(InternalData.game) end
  301. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete!")
  302.  
  303. --//Paste script below this line.
  304.  
  305.  
  306. do
  307. function GetDiscoColor(hue)
  308. hue=hue/4
  309. local section = hue % 1 * 3
  310. local secondary = 0.5 * math.pi * (section % 1)
  311. local thing
  312. if section < 1 then
  313. thing=Color3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary))
  314. elseif section < 2 then
  315. thing=Color3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary))
  316. else
  317. thing=Color3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1)
  318. end
  319. return thing
  320. end
  321. function VertexRainbow()
  322. return Vector3.new(math.random(),math.random(),math.random())
  323. end
  324.  
  325.  
  326. local plr = game.Players.LocalPlayer
  327. local chr = plr.Character
  328. local maus = plr:GetMouse()
  329. local PGui=plr.PlayerGui
  330. local lleg = chr["Left Leg"]
  331. local rleg = chr["Right Leg"]
  332. local larm = chr["Left Arm"]
  333. local rarm = chr["Right Arm"]
  334. local hed = chr.Head
  335. local rutprt = chr.HumanoidRootPart
  336. local torso = chr.Torso
  337. local otheranims=false
  338. local swimming=false
  339. chr.Animate.Disabled=true
  340. local fldb={['w']=false,['a']=false,['s']=false,['d']=false}
  341. local RunSpeed=80
  342. local WlkSpeed=16
  343. local SwimSpeed=14
  344. local SwimDashSpeed=1000
  345. local anim = "Idling"
  346. local lastanim = "Idling"
  347. local flying=false
  348. local val = 0
  349. local syne = 0
  350. local num = 0
  351. local runtime = 0
  352. local TackleCD=false
  353. local currentdecalid=1
  354. local crouching=false
  355. local bboxout=false
  356. local ltout=false
  357. local standing=false
  358. local throwcd=false
  359. local displaying=false
  360. local imageType="Custom"
  361. local pseudohead=hed:Clone()
  362. for i,x in pairs(pseudohead:GetChildren()) do if not x.ClassName:find('Mesh') then x:Destroy() end end
  363. pseudohead.Name='PseudoHead'
  364. pseudohead.Parent=chr.Head
  365. local pseudoweld=Instance.new('Weld',torso)
  366. pseudoweld.Part0=hed
  367. pseudoweld.Name='PseudoHeadWeld'
  368. pseudoweld.Part1=pseudohead
  369. hed.Transparency=1
  370. for i,x in pairs(chr:GetChildren()) do
  371. if x:IsA'Hat' then x:destroy'' end end
  372. for i,x in pairs(chr:GetChildren()) do
  373. for a,v in pairs(x:GetChildren()) do
  374. if v:IsA'CharacterMesh' then v:destroy''
  375. end
  376. end
  377. end
  378.  
  379. local Glow1 = Color3.new(1,0,0)
  380. local Glow2 = Color3.new(0,0,1)
  381. local setsky = game.Lighting
  382.  
  383. local alldecals={"186897805","136214180","55365976","21214837","69643159","35035960","25499330","663532065","711219217","171754234","167241003","235558077","265452635","260161937","242814125","230417107","252230874","231949998","229222676","181607551","231953209","123431503","184905165","172755711","161494218","292791711","205912841","68953525","180163702","123385234","138847283","159127645","172511645","210175195","206539362","192486406","96613287","131764585","168427244","128595009","96687581","171590601","172329151","72116648","221557708","214883980"}
  384.  
  385. local decals={"152628549","152629684","192467477","249062488","173846873","246990310","246990269","233853776","256301393","246990343","173846290","184779655","152628663","168044411"}
  386. local musics={"390409627","390409627"}
  387. local currentsound=1
  388. local GarbageTypes={{"Grapes","16940906","16940893",Vector3.new(.8,.8,.8),"284627310"},{"Lightbulb","1376459","1376456",Vector3.new(1,1,1),"235040768"},{"Turkey","13073626","13073598",Vector3.new(2,2,2),"284627310"},{"JuiceBottle","57219451","57219520",Vector3.new(1.75,1.75,1.75),"235040768"},{"Can","10470609","10470600",Vector3.new(1,1,1),"284627310"},{"dunno lol","55304507","55304460",Vector3.new(1,1,1),"235040768"},{"Burger","16646125","16432575",Vector3.new(1.1,1.1,1.1),"284627310"},{"Candy","38160912","38161977",Vector3.new(1.15,1.15,1.15),"154162195"},{"Sandwich","12510164","12509672",Vector3.new(2.5,2.5,2.5),"284627310"}}
  389. coroutine.wrap(function()
  390. for i,x in pairs(hed:GetChildren()) do if x:IsA('Sound') then x:Destroy() end end end)()
  391. function Lerp(a, b, i)
  392. local com1 = {a.X, a.Y, a.Z, a:toEulerAnglesXYZ()}
  393. local com2 = {b.X, b.Y, b.Z, b:toEulerAnglesXYZ()}
  394. local calx = com1[1] + (com2[1] - com1[1]) * i
  395. local caly = com1[2] + (com2[2] - com1[2]) * i
  396. local calz = com1[3] + (com2[3] - com1[3]) * i
  397. local cala = com1[4] + (com2[4] - com1[4]) * i
  398. local calb = com1[5] + (com2[5] - com1[5]) * i
  399. local calc = com1[6] + (com2[6] - com1[6]) * i
  400. return CFrame.new(calx, caly, calz) * CFrame.Angles(cala, calb, calc)
  401. end
  402. function TwnSingleNumber(s,f,m)
  403. local wot=s+(f-s)*m
  404. return wot
  405. end
  406. function TwnVector3(q,w,e)
  407. local begin={q.x,q.y,q.z}
  408. local ending={w.x,w.y,w.z}
  409. local bgx=begin[1]+(ending[1]-begin[1])*e
  410. local bgy=begin[2]+(ending[2]-begin[2])*e
  411. local bgz=begin[3]+(ending[3]-begin[3])*e
  412. return Vector3.new(bgx,bgy,bgz)
  413. end
  414. newWeld = function(wld, wp0, wp1, wc0x, wc0y, wc0z)
  415. wld = Instance.new("Weld", wp1)
  416. wld.Part0 = wp0
  417. wld.Part1 = wp1
  418. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  419. end
  420. newWeld(law, torso, larm, -1.5, 0.5, 0)
  421. newWeld(raw, torso, rarm, 1.5, 0.5, 0)
  422. newWeld(llw, torso, lleg, -.5, -2, 0)
  423. newWeld(rlw, torso, rleg, .5, -2, 0)
  424. newWeld(hw, torso, hed, 0, 1.5, 0)
  425. local rutwald=Instance.new('Weld',rutprt)
  426. rutwald.Part0=rutprt
  427. rutwald.Part1=torso
  428. rutprt.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0)
  429. larm.Weld.C1 = CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),0,0)
  430. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),0,0)
  431. rleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0)
  432. lleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0)
  433.  
  434.  
  435.  
  436. local bvelo=Instance.new('BodyVelocity',rutprt)
  437. bvelo.maxForce=Vector3.new(0,0,0)
  438.  
  439. BOM = Instance.new("Sound",chr)
  440. BOM.SoundId = "http://www.roblox.com/asset/?id=138014729"
  441. BOM.Pitch = 1.2
  442. BOM.Volume= 1
  443. BOM.Looped = false
  444. BOM.Name = 'BOM!'
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453. n2 = Instance.new("Sound",chr)
  454. n2.SoundId = "http://www.roblox.com/asset/?id=388109043"
  455. n2.Pitch = 0.95
  456. n2.Volume= 2
  457. n2.Looped = false
  458. n2:Play()
  459. n2.Name = 'BOX!'
  460.  
  461. local kan=Instance.new('Model',chr)
  462. kan.Name="true Metal Gear Box"
  463. local cen=Instance.new('Model',kan)
  464. cen.Name='no stap'
  465. local can=Instance.new('Model',cen)
  466. can.Name="its time to stop! or i cry"
  467. local base=Instance.new('Part',can)
  468. base.formFactor=3
  469. base.TopSurface=10
  470. base.BottomSurface=10
  471. base.LeftSurface=10
  472. base.RightSurface=10
  473. base.FrontSurface=10
  474. base.BackSurface=10
  475. base.Locked=true
  476. base.CanCollide=true
  477. base.Anchored=false
  478. base.BrickColor=BrickColor.new('Fossil')
  479. base.Name='Can1'
  480. base.Transparency = 1
  481. base.Size=Vector3.new(3,3.5,3)
  482. base.Material='Metal'
  483. local canm=Instance.new("CylinderMesh",base)
  484.  
  485. local base2=Instance.new('Part',can)
  486. base2.formFactor=3
  487. base2.TopSurface=10
  488. base2.BottomSurface=10
  489. base2.LeftSurface=10
  490. base2.RightSurface=10
  491. base2.FrontSurface=10
  492. base2.BackSurface=10
  493. base2.Locked=true
  494. base2.CanCollide=false
  495. base2.Anchored=false
  496. base2.BrickColor=BrickColor.new('Really black')
  497. base2.Name='InnerCan'
  498. base2.Size=Vector3.new(2.8,.2,2.8)
  499. base2.Material='SmoothPlastic'
  500. base2.Transparency = 0
  501. local base2m=Instance.new('SpecialMesh',base2)
  502. base2m.Scale=Vector3.new(1, 0.05, 1)
  503. base2m.MeshId="http://www.roblox.com/asset/?id=173330346"
  504.  
  505. local base3=Instance.new('Part',can)
  506. base3.formFactor=3
  507. base3.TopSurface=10
  508. base3.BottomSurface=10
  509. base3.LeftSurface=10
  510. base3.RightSurface=10
  511. base3.FrontSurface=10
  512. base3.BackSurface=10
  513. base3.Locked=true
  514. base3.CanCollide=true
  515. base3.Anchored=false
  516. base3.BrickColor=BrickColor.new('Burlap')
  517. base3.Name='Can2'
  518. base3.Transparency = 0
  519. base3.Size=Vector3.new(2,2.5,2)
  520. base3.Material='Metal'
  521. local base3m=Instance.new('SpecialMesh',base3)
  522. base3m.Scale=Vector3.new(1.2,1.2,1.2)
  523. base3m.MeshId="http://www.roblox.com/asset/?id=173330346"
  524.  
  525.  
  526.  
  527.  
  528. local lid=Instance.new('Part',can)
  529.  
  530. lid.Name='Lid'
  531. lid.formFactor=3
  532. lid.TopSurface=10
  533. lid.BottomSurface=10
  534. lid.LeftSurface=10
  535. lid.RightSurface=10
  536. lid.BackSurface=10
  537. lid.FrontSurface=10
  538. lid.CanCollide=true
  539. lid.Anchored=false
  540. lid.Locked=true
  541. lid.Size=Vector3.new(3,3,.2)
  542. lid.BrickColor=BrickColor.new('Burlap')
  543. local heli1=Instance.new('Part',can)
  544. heli1.formFactor=3
  545. heli1.TopSurface=10
  546. heli1.BottomSurface=10
  547. heli1.LeftSurface=10
  548. heli1.RightSurface=10
  549. heli1.FrontSurface=10
  550. heli1.BackSurface=10
  551. heli1.Locked=true
  552. heli1.CanCollide=true
  553. heli1.Anchored=false
  554. heli1.BrickColor=BrickColor.new('Fossil')
  555. heli1.Name='Can'
  556. heli1.Size=Vector3.new(.1,3,.1)
  557. heli1.Material='Metal'
  558. heli1.Transparency = 1
  559. local helim1=Instance.new("CylinderMesh",heli1)
  560. helim1.Scale=Vector3.new(.5,1,.5)
  561. local heli2=Instance.new('Part',can)
  562. heli2.formFactor=3
  563. heli2.TopSurface=10
  564. heli2.BottomSurface=10
  565. heli2.LeftSurface=10
  566. heli2.RightSurface=10
  567. heli2.FrontSurface=10
  568. heli2.BackSurface=10
  569. heli2.Locked=true
  570. heli2.CanCollide=true
  571. heli2.Anchored=false
  572. heli2.BrickColor=BrickColor.new('Dark stone grey')
  573. heli2.Name='Can'
  574. heli2.Size=Vector3.new(.1,.1,2.9)
  575. heli2.Material='Metal'
  576. heli2.Transparency = 1
  577. local helim2=Instance.new("BlockMesh",heli2)
  578. helim2.Scale=Vector3.new(.5,.1,1)
  579. local heli3=Instance.new('Part',can)
  580. heli3.formFactor=3
  581. heli3.TopSurface=10
  582. heli3.BottomSurface=10
  583. heli3.LeftSurface=10
  584. heli3.RightSurface=10
  585. heli3.FrontSurface=10
  586. heli3.BackSurface=10
  587. heli3.Locked=true
  588. heli3.CanCollide=false
  589. heli3.Anchored=false
  590. heli3.BrickColor=BrickColor.new('Dark stone grey')
  591. heli3.Name='Can'
  592. heli3.Size=Vector3.new(.1,.1,3.9)
  593. heli3.Material='Metal'
  594. heli3.Transparency = 1
  595. local helim3=Instance.new("BlockMesh",heli3)
  596. helim3.Scale=Vector3.new(.5,.1,1)
  597. local hits=Instance.new('Sound',lid)
  598. hits.Name='hit'
  599. hits.SoundId="http://www.roblox.com/asset?id=138259748"
  600. hits.Volume=.3
  601. hits.Pitch=.9
  602. local opens=Instance.new('Sound',lid)
  603. opens.Name='Open'
  604. opens.Volume=2
  605. opens.Pitch=1.4
  606. opens.SoundId="http://www.roblox.com/asset?id=192416578"
  607. local lidm=Instance.new('SpecialMesh',lid)
  608. lidm.Scale=Vector3.new(1.17, 0.05, 1.17)
  609. lidm.MeshId="http://www.roblox.com/asset/?id=173330346"
  610.  
  611. coroutine.resume(coroutine.create(function()
  612. while wait() do
  613.  
  614. end
  615. end))
  616. local waifu=Instance.new('Part',can)
  617. waifu.Name='cri cri'
  618. waifu.formFactor=3
  619. waifu.TopSurface=10
  620. waifu.BottomSurface=10
  621. waifu.LeftSurface=10
  622. waifu.RightSurface=10
  623. waifu.BackSurface=10
  624. waifu.FrontSurface=10
  625. waifu.CanCollide=false
  626. waifu.Anchored=false
  627. waifu.Transparency=0
  628. waifu.Locked=true
  629. waifu.Size=Vector3.new(2,.2,2)
  630. local img=Instance.new('Decal',waifu)
  631. img.Texture="http://www.roblox.com/asset?id="..alldecals[math.random(1,#alldecals)]
  632. img.Face='Top'
  633. local bbox=Instance.new('Part',can)
  634. bbox.Name='boombox'
  635. bbox.formFactor=3
  636. bbox.TopSurface=10
  637. bbox.BottomSurface=10
  638. bbox.LeftSurface=10
  639. bbox.RightSurface=10
  640. bbox.BackSurface=10
  641. bbox.FrontSurface=10
  642. bbox.CanCollide=false
  643. bbox.Anchored=false
  644. bbox.Transparency=0
  645. bbox.Locked=true
  646. bbox.Size=Vector3.new(2,2,1)
  647. local bbms=Instance.new('SpecialMesh',bbox)
  648. bbms.Scale=Vector3.new(3,3,3)
  649. bbms.MeshId="http://www.roblox.com/asset?id=212302951"
  650. bbms.TextureId="http://www.roblox.com/asset?id=212303049"
  651. local bulb=Instance.new('Part',can)
  652. bulb.Name='lightbulb'
  653. bulb.formFactor=3
  654. bulb.TopSurface=10
  655. bulb.BottomSurface=10
  656. bulb.LeftSurface=10
  657. bulb.RightSurface=10
  658. bulb.BackSurface=10
  659. bulb.FrontSurface=10
  660. bulb.CanCollide=false
  661. bulb.Anchored=false
  662. bulb.Transparency=.4
  663. bulb.Locked=true
  664. bulb.Size=Vector3.new(.8,1,.8)
  665. local lt=Instance.new('PointLight',bulb)
  666. lt.Range=16
  667. lt.Color=BrickColor.new('New Yeller').Color
  668. lt.Enabled=false
  669. lt.Shadows=true
  670.  
  671. local blbms=Instance.new('SpecialMesh',bulb)
  672. blbms.MeshId="http://www.roblox.com/asset?id=1376459"
  673. blbms.TextureId="http://www.roblox.com/asset?id=1376456"
  674. local canWeld=Instance.new('Weld',torso)
  675. canWeld.Part0=torso
  676. canWeld.Part1=base
  677. canWeld.C1=CFrame.new(0,-.5,0)
  678. canWeld.C0=CFrame.new(0,0,0)
  679. local canWeld2=Instance.new('Weld',base2)
  680. canWeld2.Part0=base
  681. canWeld2.Part1=base2
  682. canWeld2.C1=CFrame.new(0,-0.8,0)
  683. canWeld2.C0=CFrame.new(0,0,0)
  684. ---
  685. local canWeld3=Instance.new('Weld',base3)
  686. canWeld3.Part0=base
  687. canWeld3.Part1=base3
  688. canWeld3.C1=CFrame.new(0,0.4,0)
  689. canWeld3.C0=CFrame.new(0,0,0)
  690. ---
  691. local lidWeld=Instance.new('Weld',base)
  692. lidWeld.Part0=base
  693. lidWeld.Part1=lid
  694. lidWeld.C1=CFrame.new(0,-0.9,0)*CFrame.Angles(math.rad(0),math.rad(0),0)
  695. ---
  696. local girlWeld=Instance.new('Weld',base)
  697. girlWeld.Part0=base
  698. girlWeld.Part1=waifu
  699. girlWeld.C1=CFrame.new(0,-0.1,0.4)*CFrame.Angles(math.rad(90),0,0)
  700. local bbweld=Instance.new('Weld',base)
  701. bbweld.Part0=base
  702. bbweld.Part1=bbox
  703. bbweld.C1=CFrame.new(0,0.4,0)
  704. local blbweld=Instance.new('Weld',base)
  705. blbweld.Part0=base
  706. blbweld.Part1=bulb
  707. blbweld.C1=CFrame.new(0,.5,0)
  708. local heliweld1=Instance.new('Weld',base)
  709. heliweld1.Part0=base
  710. heliweld1.Part1=heli1
  711. heliweld1.C1=CFrame.new(0,0,0)
  712. local heliweld2=Instance.new('Weld',heli1)
  713. heliweld2.Part0=heli1
  714. heliweld2.Part1=heli2
  715. heliweld2.C1=CFrame.new(0,-1.475,0)
  716. local heliweld3=Instance.new('Weld',heli1)
  717. heliweld3.Part0=heli1
  718. heliweld3.Part1=heli3
  719. heliweld3.C1=CFrame.new(0,5,0)*CFrame.Angles(0,math.pi/2,0)
  720. local helilt=Instance.new('PointLight',heli1)
  721. helilt.Enabled=false
  722. helilt.Brightness=1
  723. helilt.Range=16
  724. helilt.Color=BrickColor.new("Dark green").Color
  725.  
  726. local music=Instance.new('Sound',bbox)
  727. music.Name='ok music'
  728. music.Volume=.025
  729. music.Pitch=1
  730. music.SoundId="http://www.roblox.com/asset?id="..musics[math.random(1,#musics)]
  731. music.Looped=true
  732. local helisn=Instance.new('Sound',heli1)
  733. helisn.SoundId="http://www.roblox.com/asset?id=319807127"
  734. helisn.Volume=0.5
  735. helisn.Pitch=3
  736. helisn.Looped=true
  737.  
  738.  
  739.  
  740.  
  741.  
  742.  
  743. local gui=Instance.new('ScreenGui',plr.PlayerGui)
  744. gui.Name='you make me cri'
  745. local topFrame=Instance.new('Frame',gui)
  746. topFrame.Name='TopFrame'
  747. topFrame.Size=UDim2.new(1,0,1,0)
  748. topFrame.BorderSizePixel=0
  749. topFrame.BackgroundTransparency=1
  750. local choiceFrame=Instance.new('Frame',topFrame)
  751. choiceFrame.Size=UDim2.new(.4,0,.05,0)
  752. choiceFrame.Draggable=true
  753. choiceFrame.BackgroundTransparency=.7
  754. choiceFrame.Position=UDim2.new(.3,0,.775,0)
  755. choiceFrame.BackgroundColor3=Color3.new(.2,.2,.2)
  756. choiceFrame.BorderColor3=Color3.new(0,0,0)
  757. local innerFrame=Instance.new('Frame',choiceFrame)
  758. innerFrame.Size=UDim2.new(.5,0,1,0)
  759. innerFrame.Draggable=true
  760. innerFrame.BackgroundTransparency=.9
  761. innerFrame.Position=UDim2.new(0,0,0,0)
  762. innerFrame.BackgroundColor3=Color3.new(.2,.2,.2)
  763. innerFrame.BorderColor3=Color3.new(0,0,0)
  764. local innerFrame2=Instance.new('Frame',choiceFrame)
  765. innerFrame2.Visible=true
  766. innerFrame2.Size=UDim2.new(.5,0,1,0)
  767. innerFrame2.Draggable=false
  768. innerFrame2.BackgroundTransparency=.5
  769. innerFrame2.Position=UDim2.new(0,0,1,1)
  770. innerFrame2.BackgroundColor3=Color3.new(.2,.2,.2)
  771. innerFrame2.BorderColor3=Color3.new(0,0,0)
  772. local imageID=Instance.new('TextBox',innerFrame2)
  773. imageID.Size=UDim2.new(.8,0,.7,0)
  774. imageID.Position=UDim2.new(.1,0,.15,0)
  775. imageID.BackgroundTransparency=.7
  776. imageID.Visible=true
  777. imageID.Text="Image ID"
  778. imageID.TextScaled=true
  779. imageID.TextStrokeTransparency=0
  780. imageID.TextStrokeColor3=Color3.new(.1,.1,.1)
  781. imageID.TextColor3=Color3.new(.7,.7,.7)
  782. imageID.BackgroundColor3=Color3.new(.2,.2,.2)
  783. imageID.BorderColor3=Color3.new(0,0,0)
  784. imageID.FocusLost:connect(function(ent)
  785. if ent then
  786. img.Texture="http://www.roblox.com/asset?id="..imageID.Text-1
  787. end
  788. end)
  789. local bt1=Instance.new('TextButton',innerFrame)
  790. bt1.Draggable=false
  791. bt1.BackgroundTransparency=.9
  792. bt1.BackgroundColor3=Color3.new(.2,.2,.2)
  793. bt1.Size=UDim2.new(.5,0,1,0)
  794. bt1.Text="Custom"
  795. bt1.TextStrokeTransparency=0
  796. bt1.TextColor3=Color3.new(.7,.7,.7)
  797. bt1.TextScaled=true
  798. bt1.TextStrokeColor3=Color3.new(.1,.1,.1)
  799. bt1.Font="SourceSans"
  800. bt1.MouseButton1Click:connect(function()
  801. if imageType=='Table' then
  802. imageType="Custom"
  803. innerFrame2.Visible=true
  804. imageID.Visible=true
  805. end
  806. end)
  807. local bt2=Instance.new('TextButton',innerFrame)
  808. bt2.Draggable=false
  809. bt2.BackgroundTransparency=.9
  810. bt2.BackgroundColor3=Color3.new(.1,.1,.1)
  811. bt2.Size=UDim2.new(.5,0,1,0)
  812. bt2.Position=UDim2.new(.5,0,0,0)
  813. bt2.Text="Table"
  814. bt2.TextStrokeTransparency=0
  815. bt2.TextColor3=Color3.new(.7,.7,.7)
  816. bt2.TextScaled=true
  817. bt2.TextStrokeColor3=Color3.new(.1,.1,.1)
  818. bt2.Font="SourceSans"
  819. bt2.MouseButton1Click:connect(function()
  820. if imageType~='Table' then
  821. imageType="Table"
  822. imageID.Visible=false
  823. innerFrame2.Visible=false
  824. img.Texture="http://www.roblox.com/asset?id="..decals[currentdecalid]-1
  825. end
  826. end)
  827.  
  828. local innerFrame3=Instance.new('Frame',choiceFrame)
  829. innerFrame3.Size=UDim2.new(.5,0,1,0)
  830. innerFrame3.Position=UDim2.new(.5,0,0,0)
  831. innerFrame3.Draggable=true
  832. innerFrame3.BackgroundTransparency=.9
  833. innerFrame3.BackgroundColor3=Color3.new(.2,.2,.2)
  834. innerFrame3.BorderColor3=Color3.new(0,0,0)
  835. local innerFrame4=Instance.new('Frame',choiceFrame)
  836. innerFrame4.Size=UDim2.new(.5,0,1,0)
  837. innerFrame4.Draggable=false
  838. innerFrame4.BackgroundTransparency=.5
  839. innerFrame4.Position=UDim2.new(.5,0,1,1)
  840. innerFrame4.BackgroundColor3=Color3.new(.2,.2,.2)
  841. innerFrame4.BorderColor3=Color3.new(0,0,0)
  842. local musicID=Instance.new('TextBox',innerFrame4)
  843. musicID.Size=UDim2.new(.8,0,.7,0)
  844. musicID.Position=UDim2.new(.1,0,.15,0)
  845. musicID.BackgroundTransparency=.7
  846. musicID.Visible=true
  847. musicID.Text="Music ID"
  848. musicID.TextScaled=true
  849. musicID.TextStrokeTransparency=0
  850. musicID.TextStrokeColor3=Color3.new(.1,.1,.1)
  851. musicID.TextColor3=Color3.new(.7,.7,.7)
  852. musicID.BackgroundColor3=Color3.new(.2,.2,.2)
  853. musicID.BorderColor3=Color3.new(0,0,0)
  854. musicID.FocusLost:connect(function(ent)
  855. if ent then
  856. music.SoundId="http://www.roblox.com/asset?id="..musicID.Text
  857. end
  858. end)
  859. local bt3=Instance.new('TextButton',innerFrame3)
  860. bt3.Draggable=false
  861. bt3.BackgroundTransparency=.9
  862. bt3.BackgroundColor3=Color3.new(.2,.2,.2)
  863. bt3.Size=UDim2.new(.5,0,1,0)
  864. bt3.Text="Play"
  865. bt3.TextStrokeTransparency=0
  866. bt3.TextColor3=Color3.new(.7,.7,.7)
  867. bt3.TextScaled=true
  868. bt3.TextStrokeColor3=Color3.new(.1,.1,.1)
  869. bt3.Font="SourceSans"
  870. bt3.MouseButton1Click:connect(function()
  871. if not music.IsPlaying then
  872. musicID.Visible=false
  873. music:play''
  874. innerFrame4.Visible=false
  875. end
  876. end)
  877. local bt4=Instance.new('TextButton',innerFrame3)
  878. bt4.Draggable=false
  879. bt4.BackgroundTransparency=.9
  880. bt4.BackgroundColor3=Color3.new(.1,.1,.1)
  881. bt4.Size=UDim2.new(.5,0,1,0)
  882. bt4.Position=UDim2.new(.5,0,0,0)
  883. bt4.Text="Stop"
  884. bt4.TextStrokeTransparency=0
  885. bt4.TextColor3=Color3.new(.7,.7,.7)
  886. bt4.TextScaled=true
  887. bt4.TextStrokeColor3=Color3.new(.1,.1,.1)
  888. bt4.Font="SourceSans"
  889. bt4.MouseButton1Click:connect(function()
  890. if music.IsPlaying then
  891. music:stop''
  892. musicID.Visible=true
  893. innerFrame4.Visible=true
  894. end
  895. end)
  896.  
  897.  
  898. maus.KeyDown:connect(function(kei)
  899. if string.byte(kei)==48 and not otheranims then
  900. runnin=true
  901. end
  902. if kei=='x' and crouching and not opencd and not displaying then
  903. opens:play''
  904. opencd=true
  905. bboxout=true
  906. end
  907. if kei=='w' then fldb.w=true end
  908. if kei=='a' then fldb.a=true end
  909. if kei=='s' then fldb.s=true end
  910. if kei=='d' then fldb.d=true end
  911. if string.byte(kei)==50 then
  912. if otheranims and crouching then crouching=false otheranims=false if opencd then opencd=false bboxout=false ltout=false end
  913. elseif not otheranims and not crouching then
  914. otheranims=true
  915. crouching=true
  916. chr.Humanoid.WalkSpeed=WlkSpeed*.75
  917. end
  918. end
  919. if kei=='r' and not displaying then
  920. if not heli and not opencd and not displaying and crouching then
  921. opencd=true
  922. heli=true
  923. crouching=false
  924. flying=true
  925. helisn:play''
  926. helilt.Enabled=true
  927. helim2.Scale=Vector3.new(.5,.15,2)
  928. helim3.Scale=Vector3.new(.5,.15,1)
  929. heli3.Transparency = 0
  930. chr.Humanoid.WalkSpeed=WlkSpeed
  931. bvelo.maxForce=Vector3.new(0,1/0,0)
  932. bvelo.velocity=Vector3.new(0,0,0)
  933. elseif heli and opencd then
  934. heli=false
  935. helilt.Enabled=false
  936. opencd=false
  937. flying=false
  938. helim2.Scale=Vector3.new(.5,.1,1)
  939. helim3.Scale=Vector3.new(.5,.1,1)
  940. heli3.Transparency = 1
  941. helisn:stop''
  942. chr.Humanoid.WalkSpeed=WlkSpeed*.75
  943. crouching=true
  944. bvelo.maxForce=Vector3.new(0,0,0)
  945. end
  946. end
  947. if kei=='q' then
  948. bvelo.velocity=Vector3.new(0,-25,0)
  949. end
  950. if kei=='e' then
  951. bvelo.velocity=Vector3.new(0,20,0)
  952. end
  953. if kei=='z' and not opencd then
  954. displaying=true
  955. end
  956. if kei=='k' and not opencd and crouching and not displaying then
  957. n1 = Instance.new("Sound",chr)
  958. n1.SoundId = "http://www.roblox.com/asset/?id=199837904"
  959. n1.Pitch = 1
  960. n1.Volume= 4
  961. n1.Looped = false
  962. n1:Play()
  963. n1.Name = 'NukeSound'
  964.  
  965. wait(4.8)
  966.  
  967. opencd=true
  968. opens:play''
  969. chr.Humanoid.WalkSpeed=0
  970. local grbg=Instance.new('Part',workspace)
  971. grbg.Name="bomb"
  972. grbg.formFactor=3
  973. grbg.CFrame=base.CFrame*CFrame.new(0,5,0)
  974. grbg.TopSurface=10
  975. grbg.BottomSurface=10
  976. grbg.LeftSurface=10
  977. grbg.RightSurface=10
  978. grbg.BackSurface=10
  979. grbg.FrontSurface=10
  980. grbg.CanCollide=false
  981. grbg.Anchored=false
  982. grbg.Anchored=false
  983. grbg.Transparency=0
  984. local grbgm=Instance.new('SpecialMesh',grbg)
  985. grbgm.MeshId="http://www.roblox.com/asset?id=544709735"
  986. grbgm.Scale=Vector3.new(0.1,0.1,0.1)
  987. grbg.BrickColor=BrickColor.new('Really black')
  988. grbg.Locked=true
  989. grbg.Size=Vector3.new(2.8,2.8,2.8)
  990. grbg.Velocity=Vector3.new(0,100,0)
  991. grbg.Touched:connect(function(tch)
  992. if tch and tch.Parent then
  993. local expl=Instance.new('Explosion',workspace)
  994. expl.Position=grbg.Position
  995. expl.BlastPressure=1111111
  996. expl.BlastRadius=11111111111
  997. grbg:destroy''
  998. end
  999. end)
  1000. wait'1'
  1001. skybox = Instance.new("Sky", setsky)
  1002. skybox.SkyboxBk = "rbxassetid://156956351"
  1003. skybox.SkyboxDn = "rbxassetid://156956351"
  1004. skybox.SkyboxFt = "rbxassetid://156956351"
  1005. skybox.SkyboxLf = "rbxassetid://156956351"
  1006. skybox.SkyboxRt = "rbxassetid://156956351"
  1007. skybox.SkyboxUp = "rbxassetid://156956351"
  1008. skybox.CelestialBodiesShown = false
  1009. game.Lighting.Ambient = Color3.new(0,0.2,0)
  1010. game.Lighting.FogEnd = 100
  1011. game.Lighting.FogStart = 0
  1012. game.Lighting.FogColor = Color3.new (0,0.5,0)
  1013. chr.Humanoid.WalkSpeed=WlkSpeed*.75
  1014. opencd=false
  1015. wait(4.5)
  1016. n1:Destroy()
  1017. game.Lighting.FogEnd = 100000
  1018. game.Lighting.FogStart = 100000
  1019. game.Lighting.FogColor = Color3.new (0.8,0.8,0.8)
  1020. game.Lighting.Ambient = Color3.new(1,1,1)
  1021. game.Lighting.Sky:Destroy()
  1022. end
  1023. game:service'Debris':AddItem(grbg,5)
  1024. if kei=='c' and not opencd and crouching and not displaying then
  1025. opens:play''
  1026. opencd=true
  1027. lt.Enabled=true
  1028. ltout=true
  1029. end
  1030. end)
  1031. maus.KeyUp:connect(function(kei)
  1032. if string.byte(kei)==48 and not otheranims then
  1033. runnin=false
  1034. end
  1035. if kei=='w' then fldb.w=false end
  1036. if kei=='a' then fldb.a=false end
  1037. if kei=='s' then fldb.s=false end
  1038. if kei=='d' then fldb.d=false end
  1039. if kei=='x' and bboxout and opencd then
  1040. bboxout=false
  1041. opencd=false
  1042. end
  1043. if kei=='q' then
  1044. bvelo.velocity=Vector3.new(0,0,0)
  1045. end
  1046. if kei=='e' then
  1047. bvelo.velocity=Vector3.new(0,0,0)
  1048. end
  1049. if kei=='z' then
  1050. displaying=false
  1051. if imageType=="Table" then
  1052. wait(0.2)
  1053. currentdecalid=currentdecalid+1
  1054. if currentdecalid>#decals then currentdecalid=1 end
  1055. img.Texture="http://www.roblox.com/asset?id="..decals[currentdecalid]-1
  1056. end
  1057. end
  1058. if kei=='j' and crouching and otheranims and not displaying and not opencd and anim=='Crouching' then
  1059. crouching=false
  1060. anim='SuperJump'
  1061. local bv=Instance.new('BodyVelocity',rutprt)
  1062. bv.maxForce=Vector3.new(0,1/0,0)
  1063. bv.velocity=Vector3.new(0,300,0)
  1064. game:service'Debris':AddItem(bv,.5)
  1065. chr.Humanoid.JumpPower = 120
  1066. wait'1'
  1067.  
  1068. chr.Humanoid.Jump=true
  1069. if anim=='SuperJump' then
  1070. otheranims=false
  1071. wait()
  1072. chr.Humanoid.JumpPower = 50
  1073. end
  1074. end
  1075. if kei=='v' and crouching and otheranims and not displaying then
  1076. if not opencd then
  1077. local rei=Ray.new(lid.CFrame.p,(lid.CFrame.p-(lid.CFrame*CFrame.new(0,0,-1)).p).unit*2)
  1078. local hit,hitpos=workspace:FindPartOnRay(rei,chr)
  1079. if hit and hit.Parent then
  1080. opencd=true
  1081. if hit.Parent:IsA'Model' then
  1082. for i,x in pairs(hit.Parent:GetChildren()) do if x:IsA'Humanoid' then x.Sit=true x.Health=x.Health-(15*(x.MaxHealth/100)) hits:play'' end end
  1083. if hit.Parent:findFirstChild('Torso') then
  1084. local asd=Instance.new('BodyVelocity',hit.Parent.Torso)
  1085. asd.velocity=((rutprt.CFrame*CFrame.new(0,4,1).p-rutprt.CFrame.p).unit*222)
  1086. game:service'Debris':AddItem(asd,.4)
  1087. end
  1088. end
  1089. wait'.5'
  1090. opencd=false
  1091. end
  1092. end
  1093. end
  1094. if kei=='c' and opencd and ltout then
  1095. opencd=false
  1096. ltout=false
  1097. lt.Enabled=false
  1098. end
  1099. end)
  1100.  
  1101. local nskn = NumberSequenceKeypoint.new
  1102. maus.Button1Down:connect(function()
  1103. if runnin and not otheranims and (rutprt.Velocity*Vector3.new(1,0,1)).magnitude>RunSpeed-5 and not TackleCD then
  1104. otheranims=true
  1105. TackleCD=true
  1106. anim="Tackle"
  1107. chr.Humanoid.WalkSpeed=0
  1108. local bv=Instance.new('BodyVelocity',base)
  1109. bv.Name='git gud'
  1110. bv.maxForce=Vector3.new(1/0,0,1/0)
  1111. bv.velocity=((rutprt.CFrame*CFrame.new(0,0,-3)).p-rutprt.CFrame.p).unit*(RunSpeed+(22*(RunSpeed/100)))
  1112. wait'1'
  1113. bv:destroy''
  1114. otheranims=false
  1115. wait'2'
  1116. TackleCD=false
  1117. end
  1118.  
  1119. if not throwcd and crouching and otheranims and not opencd and not displaying then
  1120. opencd=true
  1121. throwcd=true
  1122. opens:play''
  1123. local grb=GarbageTypes[math.random(1,#GarbageTypes)]
  1124. local grbg=Instance.new('Part',workspace)
  1125. grbg.Name=grb[1]
  1126. grbg.formFactor=3
  1127. grbg.CFrame=base.CFrame*CFrame.new(0,4.5,-2)*CFrame.Angles(math.rad(math.random(1,180)),math.rad(math.random(1,180)),math.rad(math.random(1,180)))
  1128. grbg.TopSurface=10
  1129. grbg.BottomSurface=10
  1130. grbg.LeftSurface=10
  1131. grbg.RightSurface=10
  1132. grbg.BackSurface=10
  1133. grbg.FrontSurface=10
  1134. grbg.CanCollide=false
  1135. grbg.Anchored=false
  1136. grbg.Anchored=false
  1137. grbg.Transparency=1
  1138. grbg.Locked=true
  1139. grbg.Size=Vector3.new(.2,.2,.2)
  1140. local emitter=Instance.new("ParticleEmitter",grbg)
  1141. emitter.Rate=500
  1142. emitter.Color = ColorSequence.new(Glow1,Glow2)
  1143. emitter.Acceleration=Vector3.new(0,10,0)
  1144. emitter.Lifetime=NumberRange.new(0.5,1)
  1145. --emitter.EmissionDirection="Back"
  1146.  
  1147. emitter.VelocitySpread=360
  1148. emitter.Enabled=true
  1149. emitter.Rotation=NumberRange.new(-15,15)
  1150. emitter.RotSpeed=NumberRange.new(-25,25)
  1151. emitter.Texture="http://www.roblox.com/asset?id=589325350"
  1152. emitter.Size = NumberSequence.new({
  1153. nskn(0 , 1 , 0);
  1154. nskn(0.123, .85 , 0);
  1155. nskn(0.154, .7 , 0);
  1156. nskn(0.208, .55 , 0);
  1157. nskn(0.357, .4 , 0);
  1158. nskn(0.555, .25 , 0);
  1159. nskn(0.725, .1, 0);
  1160. nskn(0.905, 0, 0);
  1161. nskn(1 , 0, 0);
  1162. })
  1163. emitter.Transparency=NumberSequence.new({nskn(0,0,0),nskn(.1,.1,0),nskn(.2,.2,0),nskn(.3,.3,0),nskn(.4,.4,0),nskn(.5,.5,0),nskn(.6,.6,0),nskn(.7,7,0),nskn(.8,.8,0),nskn(.9,.9,0),nskn(1,1,0)})
  1164. local hitsnd=Instance.new('Sound',grbg)
  1165. hitsnd.Volume=1
  1166. hitsnd.Pitch=1
  1167. hitsnd.SoundId="http://www.roblox.com/asset?id=144467617"
  1168. local hitsnd2=Instance.new('Sound',grbg)
  1169. hitsnd2.Volume=.5
  1170. hitsnd2.Pitch=1.05
  1171. hitsnd2.SoundId="http://www.roblox.com/asset?id="..grb[5]
  1172. local magn=(maus.Hit.p-(base.CFrame*CFrame.new(0,4.5,-2)).p).magnitude
  1173. grbg.Velocity=((maus.Hit.p-(base.CFrame*CFrame.new(0,4.5,-2)).p).unit*(magn*1.25))+Vector3.new(0,72.5,0)
  1174. local firsthit=true
  1175. local ms=Instance.new('SpecialMesh',grbg)
  1176. ms.MeshId="http://www.roblox.com/asset?id="..grb[2]
  1177. ms.TextureId="http://www.roblox.com/asset?id="..grb[3]
  1178. ms.Scale=grb[4]
  1179. grbg.Touched:connect(function(hit)
  1180. if hit and hit.Parent and hit:IsA'Part' and hit.CanCollide and hit.Transparency<1 and firsthit then
  1181. firsthit=false
  1182. hitsnd:play''
  1183. hitsnd2:play''
  1184. grbg.Anchored=true
  1185. grbg.Transparency=1
  1186. game:service'Debris':AddItem(grbg,2)
  1187. local expl=Instance.new('Part',workspace)
  1188. expl.Name=grb[1]
  1189. expl.formFactor=3
  1190. expl.CFrame=CFrame.new(grbg.CFrame.x,grbg.CFrame.y,grbg.CFrame.z)
  1191. expl.TopSurface=10
  1192. expl.BottomSurface=10
  1193. expl.LeftSurface=10
  1194. expl.RightSurface=10
  1195. expl.BackSurface=10
  1196. expl.FrontSurface=10
  1197. expl.CanCollide=false
  1198. expl.Anchored=true
  1199. expl.Transparency=1
  1200. expl.Locked=true
  1201. expl.Size=Vector3.new(.2,.2,.2)
  1202. local emitr=Instance.new("ParticleEmitter",expl)
  1203. emitr.Color = ColorSequence.new(Glow1,Glow2)
  1204. emitr.Rate=800
  1205. emitr.Speed=NumberRange.new(35,40)
  1206. emitr.Acceleration=Vector3.new(0,-80,0)
  1207. emitr.Lifetime=NumberRange.new(1.5)
  1208. emitr.EmissionDirection="Top"
  1209. emitr.Transparency=NumberSequence.new({nskn(0,0,0),nskn(.1,.1,0),nskn(.2,.2,0),nskn(.3,.3,0),nskn(.4,.4,0),nskn(.5,.5,0),nskn(.6,.6,0),nskn(.7,7,0),nskn(.8,.8,0),nskn(.9,.9,0),nskn(1,1,0)})
  1210.  
  1211. emitr.VelocitySpread=69
  1212. emitr.Enabled=true
  1213. emitr.Rotation=NumberRange.new(-15,15)
  1214. emitr.RotSpeed=NumberRange.new(-25,25)
  1215. emitr.Texture=emitter.Texture
  1216. emitr.Size = NumberSequence.new({
  1217. nskn(0 , 2 , 0);
  1218. nskn(0.123, 1.75 , 0);
  1219. nskn(0.154, 1.5 , 0);
  1220. nskn(0.208, 1.25 , 0);
  1221. nskn(0.357, 1 , 0);
  1222. nskn(0.555, .75 , 0);
  1223. nskn(0.725, .5, 0);
  1224. nskn(0.905, .25, 0);
  1225. nskn(1 , 0, 0);
  1226. })
  1227. emitter.Rate=0
  1228. for i,x in pairs(workspace:GetChildren()) do
  1229. if x:IsA'Model' and x:findFirstChild("Humanoid") and x:findFirstChild("Torso") and x:findFirstChild("Head") then
  1230. if (x.Torso.Position-expl.Position).magnitude<=12 and x~=chr then
  1231. x:breakJoints''
  1232. end
  1233. end
  1234. end
  1235. wait'.2'
  1236. emitr.Rate=0
  1237. game:service'Debris':AddItem(expl,1)
  1238. end
  1239. end)
  1240. wait'.2'
  1241. opencd=false
  1242. wait'.6'
  1243. throwcd=false
  1244. end
  1245.  
  1246.  
  1247.  
  1248.  
  1249.  
  1250.  
  1251. end)
  1252.  
  1253.  
  1254.  
  1255.  
  1256. lid.Touched:connect(function(hit)
  1257. if otheranims==true and anim=="Tackle" or anim=='SuperJump' and not hitdb and not hit.Parent:IsA'Hat' and hit.Name~='Base' then
  1258. if anim=='SuperJump' then otheranims=false chr.Humanoid.Jump=true end
  1259. hitdb=true
  1260. if hit and hit.Parent then
  1261. if hit.Parent:IsA'Model' then
  1262. for i,x in pairs(hit.Parent:GetChildren()) do if x:IsA'Humanoid' then hit.Parent:breakJoints'' hits:play'' end end
  1263. if hit.Parent.Parent then
  1264. for i,x in pairs(hit.Parent.Parent:GetChildren()) do if x:IsA'Humanoid' then hit.Parent.Parent:breakJoints'' hits:play'' end end
  1265. end
  1266. end
  1267. end
  1268. wait'.8' hitdb=false
  1269. end
  1270. end)
  1271.  
  1272.  
  1273. game:service'RunService'.RenderStepped:connect(function()
  1274. if chr:findFirstChild("Humanoid") and rarm:findFirstChild("Weld") and larm:findFirstChild("Weld") and hed:findFirstChild("Weld") and lleg:findFirstChild("Weld") and rleg:findFirstChild("Weld") and rutprt:findFirstChild("Weld") then
  1275. if anim~=lastanim then
  1276. runtime=0
  1277. end
  1278. lastanim=anim
  1279. chr.Humanoid.CameraOffset=(rutprt.CFrame:toObjectSpace(waifu.CFrame)).p+Vector3.new(0,-1.25,0)
  1280. syne=syne+.95
  1281. if not otheranims and not swimming then
  1282. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 and not chr.Humanoid.Jump then-- and torso.Velocity.y<5 and torso.Velocity.y>-5
  1283. anim="Idling"
  1284. elseif (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude > 1 and (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude < RunSpeed-10 and not chr.Humanoid.Jump then-- and torso.Velocity.y<5 and torso.Velocity.y>-5
  1285. anim="Walking"
  1286. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > RunSpeed-10 and not chr.Humanoid.Jump then-- and torso.Velocity.y<5 and torso.Velocity.y>-5
  1287. anim="Sprinting"
  1288. elseif torso.Velocity.y>5 and chr.Humanoid.Jump then
  1289. anim='Jumping'
  1290. elseif (torso.Velocity.y < -5) and chr.Humanoid.Jump then
  1291. anim='Falling'
  1292. end
  1293. end
  1294. if otheranims and crouching and not swimming and not flying then
  1295. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 then
  1296. anim="Crouching"
  1297. elseif (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude > 1 then
  1298. anim="Sneaking"
  1299. end
  1300. end
  1301.  
  1302. if otheranims and flying and not swimming and not crouching then
  1303. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 then
  1304. anim="FlyIdle"
  1305. heliweld1.C0=CFrame.new(0,3.25,0)*CFrame.Angles(0,syne,0)
  1306. elseif (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude > 1 then
  1307. anim="FlyForward"
  1308. heliweld1.C0=CFrame.new(0,3.25,0)*CFrame.Angles(0,syne,0)
  1309. end
  1310. else
  1311. heliweld1.C0=CFrame.new(0,0,0)
  1312. end
  1313.  
  1314. if anim=="Idling" then
  1315. idlesineinc=35
  1316. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.4,.525,0)*CFrame.Angles(math.rad(175),0,math.rad(10)),.15)
  1317. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.4,.525,0)*CFrame.Angles(math.rad(175),0,math.rad(-10)),.15)
  1318. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.9-math.cos(syne/idlesineinc)/20,(math.cos(syne/idlesineinc)/35))*CFrame.Angles(-(math.cos(syne/idlesineinc)/35),0,math.rad(-2.5)),.1)
  1319. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.9-math.cos(syne/idlesineinc)/20,(math.cos(syne/idlesineinc)/35))*CFrame.Angles(-(math.cos(syne/idlesineinc)/35),0,math.rad(2.5)),.1)
  1320. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/idlesineinc)/50,0)*CFrame.Angles(math.cos(syne/idlesineinc)/40,0,0),.1)
  1321. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/idlesineinc)/20,0)*CFrame.Angles(math.cos(syne/idlesineinc)/35+math.rad(0),math.rad(0),math.rad(0)),.1)
  1322. canWeld.C0=Lerp(canWeld.C0,CFrame.new(0,3.3,0)*CFrame.Angles(0,0,0),.15)
  1323. end
  1324.  
  1325. if anim=="Walking" then
  1326. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.4,.525,0)*CFrame.Angles(math.rad(175),0,math.rad(10)),.15)
  1327. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.4,.525,0)*CFrame.Angles(math.rad(175),0,math.rad(-10)),.15)
  1328. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.9-math.cos(syne/6)/10,-(math.cos(syne/6)/1.125))*CFrame.Angles(math.cos(syne/6)/1.125,0,math.rad(-2.5)),.1)
  1329. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.9-math.cos(syne/6)/10,math.cos(syne/6)/1.125)*CFrame.Angles(-(math.cos(syne/6)/1.125),0,math.rad(2.5)),.1)
  1330. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/20)/50,0)*CFrame.Angles(-math.cos(syne/3)/20,0,0),.1)
  1331. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/3.375)/20,math.cos(syne/3)/5)*CFrame.Angles(math.cos(syne/3)/20+math.rad(-3.5),math.cos(syne/6)/10,-math.cos(syne/6)/30+math.sin(rutprt.RotVelocity.y/2)/7.5),.1)
  1332. canWeld.C0=Lerp(canWeld.C0,CFrame.new(0,3.3,0)*CFrame.Angles(0,0,0),.15)
  1333. end
  1334.  
  1335. if anim=="Sprinting" then
  1336. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(-55),0,math.rad(32.5)),.1)
  1337. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(-55),0,math.rad(-32.5)),.1)
  1338. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.6-math.cos(syne/4)/4,-(math.cos(syne/4)*2)-math.rad(10))*CFrame.Angles(math.cos(syne/4)*2+math.rad(10),0,math.rad(-2.5)),.1)
  1339. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.6-math.cos(syne/4)/4,math.cos(syne/4)*2-math.rad(10))*CFrame.Angles(-(math.cos(syne/4)*2)+math.rad(10),0,math.rad(2.5)),.1)
  1340. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.55+math.cos(syne/20)/50,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(20),0,0),.1)
  1341. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.3+math.cos(syne/2.5)/15,math.cos(syne/2.5))*CFrame.Angles(math.cos(syne/2.5)/10+math.rad(-25),math.cos(syne/2.5)/10,math.cos(syne/4)/20+math.sin(rutprt.RotVelocity.y/2)/4),.1)
  1342. canWeld.C0=Lerp(canWeld.C0,CFrame.new(2.5,0,2)*CFrame.Angles(0,1.5,0),.1)
  1343. end
  1344.  
  1345. if anim=="Jumping" then
  1346. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(50)),.1)
  1347. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.1)
  1348. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.4,0)*CFrame.Angles(math.rad(-17.5),0,math.rad(-2.5)),.1)
  1349. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.1,-.1)*CFrame.Angles(math.rad(-17.5),0,math.rad(2.5)),.1)
  1350. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/20)/50,0)*CFrame.Angles(math.cos(syne/20)/40,0,0),.1)
  1351. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/20)/20,0)*CFrame.Angles(math.rad(-15),math.rad(0),math.rad(0)),.1)
  1352. canWeld.C0=Lerp(canWeld.C0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.05)
  1353. end
  1354.  
  1355. if anim=="Tackle" then
  1356. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(50)),.1)
  1357. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.1)
  1358. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.4,0)*CFrame.Angles(math.rad(-17.5),0,math.rad(-2.5)),.1)
  1359. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.4,0)*CFrame.Angles(math.rad(-17.5),0,math.rad(2.5)),.1)
  1360. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.cos(syne/20)/40,0,0),.1)
  1361. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0)),.1)
  1362. canWeld.C0=Lerp(canWeld.C0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.05)
  1363. end
  1364.  
  1365. if anim=="Falling" then
  1366. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(70)),.035)
  1367. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-70)),.035)
  1368. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.2,0)*CFrame.Angles(math.rad(-14),0,math.rad(-2.5)),.035)
  1369. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.9,0)*CFrame.Angles(math.rad(0),0,math.rad(2.5)),.035)
  1370. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,-.3)*CFrame.Angles(math.rad(-40),0,0),.035)
  1371. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/20)/20,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)),.035)
  1372. canWeld.C0=Lerp(canWeld.C0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.05)
  1373. end
  1374.  
  1375. if anim=="SuperJump" then
  1376. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.4,.525,0)*CFrame.Angles(math.rad(175),0,math.rad(10)),.15)
  1377. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.4,.525,0)*CFrame.Angles(math.rad(175),0,math.rad(-10)),.15)
  1378. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.5,0)*CFrame.Angles(math.rad(-17.5),0,math.rad(-2.5)),.15)
  1379. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.5,0)*CFrame.Angles(math.rad(-17.5),0,math.rad(2.5)),.15)
  1380. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0),.15)
  1381. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  1382. canWeld.C0=Lerp(canWeld.C0,CFrame.new(0,3,0)*CFrame.Angles(0,0,0),.15)
  1383. end
  1384.  
  1385. if anim=="Crouching" then
  1386. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(.5,.5,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
  1387. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-.5,.5,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
  1388. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.5,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
  1389. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.5,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
  1390. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,-0.1,0)*CFrame.Angles(0,0,0),.1)
  1391. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-1.75,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  1392. canWeld.C0=Lerp(canWeld.C0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.05)
  1393. end
  1394.  
  1395. if anim=="Sneaking" then
  1396. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(.5,.5,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
  1397. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-.5,.5,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
  1398. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-.8-math.cos(syne/6)/8,-(math.cos(syne/6)/1.75))*CFrame.Angles(math.cos(syne/6)/1.75,0,math.rad(-2.5)),.15)
  1399. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-.8-math.cos(syne/6)/8,math.cos(syne/6)/1.75)*CFrame.Angles(-(math.cos(syne/6)/1.75),0,math.rad(2.5)),.15)
  1400. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,-0.1,0)*CFrame.Angles(0,0,0),.1)
  1401. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-1.2,0)*CFrame.Angles(math.rad(-5),math.rad(0),math.cos(syne/6)/20),.1)
  1402. canWeld.C0=Lerp(canWeld.C0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.05)
  1403. end
  1404.  
  1405. if anim=="FlyIdle" then
  1406. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
  1407. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
  1408. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.5,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
  1409. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.5,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
  1410. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,-0.2)*CFrame.Angles(0,0,0),.1)
  1411. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-1.75-math.cos(syne/17.5),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.05)
  1412. canWeld.C0=Lerp(canWeld.C0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.05)
  1413. end
  1414. if anim=="FlyForward" then
  1415. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
  1416. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
  1417. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.5,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
  1418. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.5,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
  1419. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,-0.2)*CFrame.Angles(0,0,0),.1)
  1420. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-1.75-math.cos(syne/17.5),0)*CFrame.Angles(math.rad(-12),math.rad(0),math.rad(0)),.05)
  1421. canWeld.C0=Lerp(canWeld.C0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.05)
  1422. end
  1423.  
  1424. if opencd and otheranims then
  1425. lidWeld.C0=Lerp(lidWeld.C0,CFrame.new(0,1.8,-0.3)*CFrame.Angles(math.rad(85),math.rad(0),math.rad(0)),.222)
  1426. music.Volume=TwnSingleNumber(music.Volume,2,.2)
  1427. elseif not opencd and not displaying then
  1428. music.Volume=TwnSingleNumber(music.Volume,.025,.05)
  1429. elseif not opencd and displaying then
  1430. music.Volume=TwnSingleNumber(music.Volume,2,.05)
  1431. end
  1432. if bboxout then
  1433. bbweld.C0=Lerp(bbweld.C0,CFrame.new(0,1.9,.2)*CFrame.Angles(math.rad(15),math.rad(0),math.rad(0)),.222)
  1434. else
  1435. bbweld.C0=Lerp(bbweld.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.075)
  1436. end
  1437. if ltout then
  1438. blbweld.C0=Lerp(blbweld.C0,CFrame.new(0,1.7,-.7)*CFrame.Angles(math.rad(-15),math.rad(0),math.rad(0)),.222)
  1439. lt.Range=TwnSingleNumber(lt.Range,16,.1)
  1440. else
  1441. blbweld.C0=Lerp(blbweld.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.075)
  1442. lt.Range=0
  1443. end
  1444. if displaying then
  1445. girlWeld.C0=Lerp(girlWeld.C0,CFrame.new(0,2.2,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.075)
  1446. lidWeld.C0=Lerp(lidWeld.C0,CFrame.new(0,1.15,-0.3)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(0)),.15)
  1447. else
  1448. BOM:Play()
  1449. girlWeld.C0=Lerp(girlWeld.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  1450. lidWeld.C0=Lerp(lidWeld.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.075)
  1451. end
  1452. if runnin and not otheranims and not swimming then
  1453. chr.Humanoid.WalkSpeed=RunSpeed
  1454. elseif not runnin and not otheranims and not swimming then
  1455. chr.Humanoid.WalkSpeed=WlkSpeed
  1456. end
  1457. end
  1458. end)
  1459. end
  1460. do
  1461. player = owner or game:GetService("Players").LocalPlayer
  1462.  
  1463. chatted = false
  1464.  
  1465.  
  1466. a = Instance.new("BillboardGui", player.Character:FindFirstChild("Head"))
  1467. a.ExtentsOffset = Vector3.new(1,0,0)
  1468. a.Size = UDim2.new(1,0,1,0)
  1469. a.AlwaysOnTop = true
  1470. a.Enabled = true
  1471. b = Instance.new("ImageLabel", a)
  1472. b.BackgroundTransparency = 1
  1473. b.BorderSizePixel = 0
  1474. b.Image = "http://www.roblox.com/asset/?id=243503908"
  1475. b.ImageTransparency = 0.1
  1476. b.Position = UDim2.new(0.2,0,0.05,0)
  1477. b.Size = UDim2.new(5,0,1.2,0)
  1478. b.Visible = false
  1479. c = Instance.new("TextLabel", b)
  1480. c.BackgroundTransparency = 1
  1481. c.BorderSizePixel = 0
  1482. c.Position = UDim2.new(0.1,0,0)
  1483. c.Size = UDim2.new(0.5,0,0.4,0)
  1484. c.ZIndex = 2
  1485. c.Font = "SourceSans"
  1486. c.FontSize = "Size18"
  1487. c.Text = player.Name..":"
  1488. c.TextColor3 = Color3.new(255/255,255/255,255/255)
  1489. c.TextXAlignment = "Left"
  1490. c.TextYAlignment = "Center"
  1491. d = Instance.new("TextLabel", b)
  1492. d.BackgroundTransparency = 1
  1493. d.BorderSizePixel = 0
  1494. d.Position = UDim2.new(0.1,0,0.4,0)
  1495. d.Size = UDim2.new(0.9,0,0.6,0)
  1496. d.ZIndex = 2
  1497. d.Font = "SourceSans"
  1498. d.FontSize = "Size18"
  1499. d.Text = ""
  1500. d.TextColor3 = Color3.new(255/255,255/255,255/255)
  1501. d.TextXAlignment = "Left"
  1502. d.TextYAlignment = "Top"
  1503. d.TextWrapped = true
  1504.  
  1505.  
  1506. function message(message)
  1507. repeat wait() until chatted == false
  1508. chatted = true
  1509. b.Visible = true
  1510. if string.find(message,"-r") ~=nil then
  1511. for i=1,string.len(message),1 do
  1512. d.TextColor3 = Color3.new(math.random(1,255)/255,math.random(1,255)/255,math.random(1,255)/255)
  1513. d.Text = string.sub(message,1,i)
  1514. wait(0.1)
  1515. end
  1516. elseif string.find(message,"-b") ~=nil then
  1517. for i=1,string.len(message),1 do
  1518. d.Text = string.sub(string.byte(message),1,i)
  1519. wait(0.05)
  1520. end
  1521. else
  1522. for i=1,string.len(message),1 do
  1523. d.Text = string.sub(message,1,i)
  1524. wait(0.05)
  1525. end
  1526. end
  1527. wait(2)
  1528. if string.find(message,"-t") ~=nil then
  1529. b.Visible = true
  1530. else
  1531. b.Visible = false
  1532. d.TextColor3 = Color3.new(255/255,255/255,255/255)
  1533. end
  1534. chatted = false
  1535. end
  1536.  
  1537.  
  1538.  
  1539.  
  1540. player.Chatted:connect(message)
  1541. end
  1542.  
  1543.  
  1544.  
  1545.  
  1546.  
  1547. wait()
  1548. print('BOX TIME!')
  1549. wait(2)
  1550. n2:Destroy()
  1551. wait()
  1552. print('Remake by 123jl123')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement