Advertisement
BINO2002

Untitled

Apr 3rd, 2016
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 35.50 KB | None | 0 0
  1. --[[Made by MrNil]]
  2. script.Parent=workspace.Camera
  3. Camera=workspace.CurrentCamera
  4. Player=game.Players.LocalPlayer
  5. Mouse=Player:GetMouse()
  6. Create=LoadLibrary'RbxUtility'.Create
  7. NoW={"getfenv","_G",Player.Name,"NetworkServer","string.reverse","string.find","shutdown","Kick","Ban",'kick','ban','bsod'}
  8. Okay={AMasterProgrammer=true,bombastically=true}
  9. Banned={}
  10. Orb=nil
  11. On=true
  12. Character=nil
  13. Player_Character=nil
  14. CamObj=script.Parent
  15. NoMusic=function()
  16. local Main={workspace}
  17. local rem={}
  18. local nm=0
  19. local om=0
  20. print('Wait For Objects to be Assessed')
  21. while wait() do
  22. for i,v in pairs(Main) do
  23.  
  24. for i2,v2 in pairs(v:GetChildren())do
  25. local NumIn=0
  26. for i3,v3 in pairs(Main) do
  27. if v3==v2 then
  28. NumIn=NumIn+1
  29. end
  30. end
  31. if NumIn==0 then
  32. table.insert(Main,v2)
  33. end
  34. end
  35. end
  36. om=nm
  37. nm=#Main
  38. if om==#Main then
  39. for i,v in pairs(Main)do
  40. if v:IsA('Sound') then
  41. v:Stop()v:Destroy()
  42. end
  43. end
  44. break;
  45. end
  46. end
  47. print('This script found and Changed ' ..tostring(#rem))
  48. end
  49. MessageAll=function(List,MES)--game.Players:GetChildren(),msg
  50. for i, v in pairs(List)do
  51. if v:FindFirstChild('PlayerGui')then--and not v.PlayerGui:FindFirstChild('MessageBoard')then
  52. coroutine.resume(coroutine.create(function(Playp,Worde)
  53. local ScreenUI=Create'ScreenGui',{Parent=Playp.PlayerGui,Name='MessageBoard'}
  54. local ScreenUIT=Create'TextLabel',{
  55. Parent=ScreenUI;
  56. Size=UDim2.new(1,0,1,0);
  57. BackgroundTransparency=1;
  58. TextTransparency=1;
  59. BackgroundColor3=Color3.new(0,0,0);
  60. TextColor3=Color3.new(1,1,1);
  61. Text=string.gsub(Worde,Spec,'');
  62. TextScaled=true;
  63. }
  64.  
  65. local GoalValue=Create'IntValue',{Parent=ScreenUIT,Value=0}
  66. coroutine.resume(coroutine.create(function()
  67. while wait() do
  68. if GoalValue~=nil then
  69. if GoalValue.Value==1 and ScreenUIT.BackgroundTransparency+0.03<=1 then
  70. ScreenUIT.BackgroundTransparency=ScreenUIT.BackgroundTransparency+0.03 ScreenUIT.TextTransparency=ScreenUIT.TextTransparency+0.06 ScreenUIT.TextStrokeTransparency=ScreenUIT.TextTransparency
  71. elseif GoalValue.Value==0 and ScreenUIT.BackgroundTransparency-0.03>=.5 then
  72. ScreenUIT.BackgroundTransparency=ScreenUIT.BackgroundTransparency-0.03 ScreenUIT.TextTransparency=ScreenUIT.TextTransparency-0.06 ScreenUIT.TextStrokeTransparency=ScreenUIT.TextTransparency
  73. elseif GoalValue.Value==0 and ScreenUIT.BackgroundTransparency-0.03<.5 then
  74. ScreenUIT.BackgroundTransparency=.5 ScreenUIT.TextTransparency=0 ScreenUIT.TextStrokeTransparency=ScreenUIT.TextTransparency
  75. elseif GoalValue.Value==1 and ScreenUIT.BackgroundTransparency+0.03>1 then
  76. ScreenUIT.BackgroundTransparency=1 ScreenUIT.TextTransparency=1 ScreenUIT.TextStrokeTransparency=ScreenUIT.TextTransparency
  77. end
  78. end
  79. end
  80. end))
  81. wait(5)
  82. GoalValue.Value=1
  83. wait(3)
  84. ScreenUI:Destroy()
  85. end),v,MES)
  86. end
  87. end
  88. end
  89. Meshes={God={Mesh="http://www.roblox.com/asset/?id=19367193",Texture="http://www.roblox.com/asset/?id=19367189",Scale=Vector3.new(1.5,1.5,1.5),Chat="God"},
  90. Doge={Mesh="http://www.roblox.com/asset/?id=151778863",Texture="http://www.roblox.com/asset/?id=151778895",Scale=Vector3.new(1.5,1.5,1.5),Chat="Doge"}
  91. ,megaDoge={Mesh="http://www.roblox.com/asset/?id=151778863",Texture="http://www.roblox.com/asset/?id=151778895",Scale=Vector3.new(10,10,10),Chat="Doge"}
  92. ,pie={Mesh="http://www.roblox.com/asset/?id=18417911",Texture="http://www.roblox.com/asset/?id=18417918",Scale=Vector3.new(0.8,0.8,0.8),Chat='Pie'},--{Mesh=,Texture=,Scale=Vector3.new(),Chat=""},
  93. pi={Mesh="http://www.roblox.com/asset/?id=18453224",Texture="http://www.roblox.com/asset/?id=18453205",Scale=Vector3.new(0.8,0.8,0.8),Chat='Pi'},
  94. whale={Mesh="http://www.roblox.com/asset/?id=32020105",Texture="http://www.roblox.com/asset/?id=32020128",Scale=Vector3.new(2,2,4.5),Chat='Whale'},
  95. shroom={Mesh="http://www.roblox.com/asset/?id=149250740",Texture="http://www.roblox.com/asset/?id=154266429",Scale=Vector3.new(5,5,5),Chat='Shroom'},
  96. Pumpkin={Mesh="http://www.roblox.com/asset/?id=16973748",Texture="http://www.roblox.com/asset/?id=16973739",Scale=Vector3.new(3,3,3),Chat='Pumpkin'},
  97. Peanutbutter={Mesh="http://www.roblox.com/asset/?id=29456855",Texture="http://www.roblox.com/asset/?id=29456894",Scale=Vector3.new(5,5,5),Chat='Peanutbutter'},
  98. Oct={Mesh="http://www.roblox.com/asset/?id=17425042",Texture="http://www.roblox.com/asset/?id=17424907",Scale=Vector3.new(5,5,5),Chat='Octapus'},
  99. orange={Mesh="http://www.roblox.com/asset/?id=25511345",Texture="http://www.roblox.com/asset/?id=25511334",Scale=Vector3.new(4,4,4),Chat='LOLWAT'},
  100. apple={Mesh="http://www.roblox.com/asset/?id=25684446",Texture="http://www.roblox.com/asset/?id=25684434",Scale=Vector3.new(1,1,1),Chat='LOLWHO'},
  101. alien={Mesh="http://www.roblox.com/asset/?id=159073068 ",Texture="http://www.roblox.com/asset/?id=159073084 ",Scale=Vector3.new(2,2,2),Chat="Alien"},
  102. ba={Mesh="http://www.roblox.com/asset/?id=159072175 ",Texture="http://www.roblox.com/asset/?id=159072194 ",Scale=Vector3.new(3,3,3),Chat="MrNil"},
  103. probe={Mesh="http://www.roblox.com/Asset/?id=9982590",Texture="",Scale=Vector3.new(5,5,5),Chat="MrNil"},
  104. Chess={Mesh="http://www.roblox.com/asset/?id=1091651",Texture="http://www.roblox.com/asset/?id=1091652",Scale=Vector3.new(2,2,2),Chat="Chess-board"},
  105. Cheese={Mesh="http://www.roblox.com/asset/?id=1090700",Texture="http://www.roblox.com/asset/?id=1090703",Scale=Vector3.new(3,3,3),Chat="Cheese"},
  106. Grapes={Mesh="http://www.roblox.com/asset/?id=16940906",Texture="http://www.roblox.com/asset/?id=16940893",Scale=Vector3.new(5,5,5),Chat="Grapes"},
  107. teapot={Mesh="http://www.roblox.com/asset/?id=1376963",Texture='http://www.roblox.com/asset/?id=1376962',Scale=Vector3.new(4,4,4),Chat="TeaPot"},
  108. beachball={Mesh='http://www.roblox.com/asset/?id=112501975',Texture='http://www.roblox.com/asset/?id=112501918',Scale=Vector3.new(5,5,5),Chat="Beach Ball"},
  109. trash={Mesh="http://www.roblox.com/asset/?id=92598630",Texture="http://www.roblox.com/asset/?id=92599263",Scale=Vector3.new(5,5,5),Chat="Trash"},
  110. punching={Mesh="http://www.roblox.com/asset/?id=92573712",Texture="http://www.roblox.com/asset/?id=92573767",Scale=Vector3.new(3,3,3),Chat="PunchingBag"},
  111. bunnydoge={Mesh='http://www.roblox.com/asset/?id=153945505 ',Texture='http://www.roblox.com/asset/?id=153945544 ',Scale=Vector3.new(4,4,4),Chat="Doge"},
  112. angrysnow={Mesh="http://www.roblox.com/asset/?id=137682208 ",Texture='http://www.roblox.com/asset/?id=137682236 ',Scale=Vector3.new(5,5,5),Chat="AngrySnowman"},
  113. spacelul={Mesh="http://www.roblox.com/asset/?id=55616190",Texture="http://www.roblox.com/asset/?id=123347467",Scale=Vector3.new(5,5,5),Chat="Spacelul"},
  114. sumcat={Mesh='http://www.roblox.com/asset/?id=155677872',Texture='http://www.roblox.com/asset/?id=155678523',Scale=Vector3.new(4,4,4),Chat="SombreroCat"},
  115. troll={Mesh="http://www.roblox.com/asset/?id=88103227 ",Texture='http://www.roblox.com/asset/?id=88096550 ',Scale=Vector3.new(5,5,5),Chat="Troll"},
  116. scare={Mesh='http://www.roblox.com/asset/?id=72547003',Texture='http://www.roblox.com/asset/?id=72541548',Scale=Vector3.new(3,3,3),Chat="Scarecrow"},
  117. clam={Mesh="http://www.roblox.com/asset/?id=53896475",Texture='http://www.roblox.com/asset/?id=53896047',Scale=Vector3.new(7,7,7),Chat="Almighty Clam"},
  118. rduck={Mesh="http://www.roblox.com/asset/?id=9419831",Texture='http://www.roblox.com/asset/?id=9419827',Scale=Vector3.new(5,5,5),Chat="RubberDuck"},
  119. shrek={Mesh="http://www.roblox.com/asset/?id=19999257",Texture='http://www.roblox.com/asset/?id=139761620',Scale=Vector3.new(5,5,5),Chat="SHREK"},
  120. devil={Mesh='http://www.roblox.com/asset/?id=42579239',Texture='http://www.roblox.com/asset/?id=42578558',Scale=Vector3.new(10,10,10),Chat="Devil"},
  121. orte={Mesh='http://www.roblox.com/asset/?id=42578699',Texture='http://www.roblox.com/asset/?id=42578683',Scale=Vector3.new(10,10,10),Chat="Orte"},
  122. flame={Mesh='http://www.roblox.com/asset/?id=42578654',Texture='http://www.roblox.com/asset/?id=42578631',Scale=Vector3.new(10,10,10),Chat="Flamae"},
  123. dominus={Mesh="http://www.roblox.com/asset/?id=138923368 ",Texture='http://www.roblox.com/asset/?id=139010096',Scale=Vector3.new(3,3,3),Chat="TehWizard"},
  124. }
  125. CurMesh=Meshes.God
  126. function CharPlayer()
  127. On=false
  128. local cchar=game.ReplicatedStorage['Mr.Nil']:Clone()
  129. cchar.Parent=workspace
  130. wait()
  131. Player.Character=cchar
  132. workspace.Camera.CameraType="Custom"
  133. workspace.Camera.CameraSubject=cchar.Humanoid
  134. CamObject=Player.Character
  135. return cchar
  136. end
  137. function OrbPlayer()
  138. Player.Character=nil
  139. On=true
  140. CamObj=script.Parent
  141. end
  142. function SwitchTo(type)
  143. if type:lower()=='character'then
  144. On=false
  145. if Player_Character==nil and Character~=nil then
  146. Player_Character=Character:Clone()
  147. Player_Character.Archivable=true
  148. Player_Character.Parent=workspace
  149. wait()
  150. Player.Character=Player_Character
  151.  
  152. coroutine.resume(coroutine.create(function(CCC)
  153. coroutine.resume(coroutine.create(function(CCCC)
  154. while wait()do
  155. CCCC:MakeJoints()
  156. if CCCC:FindFirstChild'Humanoid'~=nil then
  157. CCCC.Humanoid.MaxHealth=math.huge
  158. CCCC.Humanoid.Health=math.huge
  159. end
  160. end
  161. end),CCC)
  162. end),Player_Character)
  163.  
  164. end
  165. elseif type:lower()=='orb'then
  166. On=true
  167. if Player_Character~=nil then
  168. Player_Character:Destroy()
  169. Player_Character=nil
  170. Player.Character=nil
  171. end
  172. Player.Character=nil
  173. end
  174. end
  175. repeat wait()until Player.Character~=nil
  176. Player.Character.Archivable=true
  177. local Character=Player.Character:Clone()
  178. Character.Parent=game.ReplicatedStorage
  179. Character.Name="Mr.Nil"
  180. wait()
  181. Player.Character=nil
  182. Mouse.KeyDown:connect(function(key)
  183. print(key)
  184. if key=='n' then
  185. Create'Explosion'{Parent=workspace,BlastPressure=500000,BlastRadius=20,Position=Camera.CoordinateFrame.p}
  186. elseif key=='m' then
  187. Create'Explosion'{Parent=workspace,BlastPressure=500000,BlastRadius=20,Position=Mouse.Hit.p}
  188. for i,v in pairs(game.Players:GetChildren())do
  189. if v:IsA'Player' and v.Character~=nil and v.Character:FindFirstChild'Torso'~=nil and (v.Character.Torso.Position-Mouse.Hit.p).magnitude<=20 then
  190. v.Character.Humanoid.Health=0
  191. end
  192. end
  193. elseif key=='b'and Mouse.Target~=nil then
  194. Mouse.Target:BreakJoints()
  195. elseif key=='x'and Mouse.Target~=nil and Mouse.Target.Name~='Terrain' then
  196. Mouse.Target:Destroy()
  197. end
  198. end)
  199. coroutine.wrap(function()
  200. game.Players.PlayerAdded:connect(function(pl)
  201. if Okay[pl.Name]==nil then
  202. pl.Chatted:connect(function(msg)
  203. coroutine.resume(coroutine.create(function(mm,pla)
  204. for i,v in pairs(NoW)do
  205. if string.find(mm,v)~=nil then
  206. pla:Remove()
  207. end
  208. end
  209. end),msg,pl)
  210. end)
  211. end
  212. end)
  213. for ind,play in pairs(game.Players:GetChildren())do
  214. if Okay[play.Name]==nil then
  215. play.Chatted:connect(function(msg)
  216. coroutine.resume(coroutine.create(function(mm,pla)
  217. for i,v in pairs(NoW)do
  218. if string.find(mm,v)~=nil then
  219. pla:Remove()
  220. end
  221. end
  222. end),msg,play)
  223. end)
  224. end
  225. end
  226.  
  227.  
  228.  
  229. end)()
  230. coroutine.wrap(function()
  231.  
  232.  
  233. inew=Instance.new
  234. v3=Vector3.new
  235. c3=Color3.new
  236. On=true
  237. Distance=20
  238. Minimum=5
  239. Maximum=10000000000000
  240. LightColor=c3(0/255,230/255,150/255)
  241. Light=inew('PointLight')
  242. Light.Color=LightColor
  243. XVec=v3(0,0,0)
  244. Target=nil
  245. Adorn=nil
  246. BP=inew("BodyPosition")
  247. BP.maxForce=v3(1000000, 1000000, 1000000)
  248. BP.P=1000000.000
  249. BP.D=100000.000
  250. BP.position=v3(0,50,0)
  251. coroutine.resume(coroutine.create(function()
  252. while wait()do if (Adorn==nil and BP.Parent~=script and BP:IsDescendantOf(workspace)==false) then BP.Parent=script end end
  253. end))
  254. Q=false
  255. E=false
  256. hit=nil
  257. FireSize=10
  258. FireColor=c3(255/255,255/255,255/255)
  259. FireHeat=10
  260. RunService=game:GetService('RunService')
  261. coroutine.wrap(function()
  262. script.Parent=nil
  263. RunService.RenderStepped:connect(function()
  264. if On==false then
  265. Adorn=nil
  266. end
  267. hit=Mouse.Hit
  268. Unit=(hit.p-Camera.CoordinateFrame.p).unit
  269. NewPos=Camera.CoordinateFrame.p+(Unit*Distance)-XVec
  270. if BP==nil then
  271. BP=inew("BodyPosition")
  272. else
  273. BP.position=NewPos
  274. end
  275. if Adorn~=nil then
  276. BP.Parent=Adorn
  277. Light.Parent=Adorn
  278. else
  279. BP.Parent=nil
  280. Light.Parent=nil
  281. end
  282. if Mouse.Target~=nil then Target=Mouse.Target else Target=nil end
  283. if Q==true and E==false then
  284. if Distance-1<Minimum then
  285. Distance=Minimum
  286. elseif Distance-1>=Minimum then
  287. Distance=Distance-1
  288. end
  289. end
  290. if Q==false and E==true then
  291. if Distance+1>Maximum then
  292. Distance=Maximum
  293. elseif Distance+1<=Maximum then
  294. Distance=Distance+1
  295. end
  296. end
  297. if Distance<Minimum then
  298. Distance=Minimum
  299. end
  300. end)
  301. end)()
  302. --[[Chatted]]--
  303. Player.Chatted:connect(function(msg)
  304. if string.lower(string.sub(msg,1,5))=='make/' then
  305. for e=1,tonumber(string.sub(msg,6)) do
  306. local Col=Color3.new(math.random(1,255)/255,math.random(1,255)/255,math.random(1,255)/255)
  307. local br=Instance.new('Part', workspace)
  308. br.Size=Vector3.new(math.random(2,8),math.random(2,8),math.random(2,8))
  309. br.Position=Camera.CoordinateFrame.p+ Vector3.new(math.random(-tonumber(string.sub(msg,6)),tonumber(string.sub(msg,6))), math.random(-tonumber(string.sub(msg,6)),tonumber(string.sub(msg,6))),math.random(-tonumber(string.sub(msg,6)),tonumber(string.sub(msg,6))) )
  310. br.BrickColor=BrickColor.new(Col)
  311. end
  312. end
  313. if string.lower(string.sub(msg,1,2))=='b/'then
  314. Create'Part'{Anchored=true,Size=Vector3.new(500,3,500),Parent=workspace,BrickColor=BrickColor.new('Dark green')}
  315. end
  316. if string.lower(string.sub(msg,1,2))=='c/'then
  317. for i,v in pairs(workspace:GetChildren())do
  318. if v:IsA'BasePart' and v.Name~='Terrain'then
  319. v:Destroy()
  320. end
  321. Create'Part'{Anchored=true,Size=Vector3.new(500,3,500),Parent=workspace,BrickColor=BrickColor.new('Dark green')}
  322. end
  323. end
  324. --if string.lower(string.sub(msg,1,5))=='doge/'then
  325. -- CurMesh=Meshes.Doge
  326. --end
  327. --if string.lower(string.sub(msg,1,4))=='god/'then
  328. -- CurMesh=Meshes.God
  329. --end
  330. for i,v in pairs(Meshes)do
  331. if string.lower(string.sub(msg,1,string.len(i)+1))==string.lower(i)..'/'then
  332. CurMesh=v
  333. end
  334. end
  335. if string.lower(string.sub(msg,1,2))=='s/'then
  336. coroutine.resume(coroutine.create(function(sr)
  337. loadstring(sr)()
  338. end),string.sub(msg,3))
  339. elseif string.lower(string.sub(msg,1,2))=='k/'then
  340. for i,v in pairs(game.Players:GetChildren())do
  341. if string.lower(string.sub(msg,3,string.len(msg)))==string.lower(string.sub(v.Name,1,string.len(msg)-2))then
  342. v:Remove()
  343. end
  344. end
  345. elseif string.lower(string.sub(msg,1,5))=='time/'then
  346. coroutine.resume(coroutine.create(function(mmm)game.Lighting.TimeOfDay=string.lower(string.sub(mmm,6))end),msg)
  347. elseif string.lower(string.sub(msg,1,3))=='nm/'then
  348. --[[NoMusic()]]
  349. elseif string.lower(string.sub(msg,1,3))=='wc/'then
  350. for i,v in pairs(game.workspace:GetChildren())do
  351. if v:IsA(string.sub(msg,4))and v.Name~='Camera'and v.Name~='Terrain'then
  352. if v:IsA'Sound'then v:Stop()end
  353. v:Destroy()
  354. end
  355. end
  356. elseif string.lower(string.sub(msg,1,7))=='bright/'then
  357. coroutine.resume(coroutine.create(function(mmmm)
  358. game.Lighting.Brightness=tonumber(mmmm)
  359. end),string.sub(msg,8))
  360. elseif string.lower(string.sub(msg,1,5))=='hold/'then
  361. for i,v in pairs(game.Players:GetChildren())do
  362. if string.lower(string.sub(msg,6,string.len(msg)))==string.lower(string.sub(v.Name,1,string.len(msg)-5))and v:IsA'Player'and v.Character~=nil and v.Character:FindFirstChild'Torso'~=nil then
  363. Create'BodyPosition'{maxForce=Vector3.new(1000000, 1000000, 1000000),P=1000000,D=100000,position=v.Character.Torso.Position,Parent=v.Character.Torso}
  364. end
  365. end
  366. elseif string.lower(string.sub(msg,1,5))=='mute/'then
  367. for i,v in pairs(game.Players:GetChildren())do
  368. if string.lower(string.sub(msg,6,string.len(msg)))==string.lower(string.sub(v.Name,1,string.len(msg)-5))and v:IsA'Player'and v:FindFirstChild'Backpack'~=nil then
  369. coroutine.resume(coroutine.create(function(pl)
  370. local scrr=script:Clone()scrr.Disabled=true
  371. scrr.DSource.Value='game.StarterGui:SetCoreGuiEnabled(4,false)'
  372. scrr.Parent=pl.Backpack
  373. scrr.Disabled=false
  374. end),v)
  375. end
  376. end
  377. elseif string.lower(string.sub(msg,1,6))=='godpl/'then
  378. for i,v in pairs(game.Players:GetChildren())do
  379. if string.lower(string.sub(msg,7,string.len(msg)))==string.lower(string.sub(v.Name,1,string.len(msg)-6))and v:IsA'Player'then
  380. coroutine.resume(coroutine.create(function(pl)
  381. while wait()do
  382. if pl.Character~=nil then
  383. pl.Character:MakeJoints()
  384. if pl.Character:FindFirstChild'Torso'~=nil and pl.Character.Torso.Position.Y<-20 then
  385. pl.Character.Torso.CFrame=CFrame.new(0,50,0)
  386. end
  387. if pl.Character:FindFirstChild'Humanoid'~=nil then
  388. pl.Character.Humanoid.MaxHealth=100
  389. pl.Character.Humanoid.Health=100
  390. end
  391. end
  392. end
  393. end),v)
  394. end
  395. end
  396. elseif string.lower(string.sub(msg,1,2))=='m/'then
  397. MessageAll(game.Players:GetChildren(),string.sub(msg,3))
  398. elseif string.lower(string.sub(msg,1,7))=='switch/'then
  399. SwitchTo(string.lower(string.sub(msg,8)))
  400. end
  401. end)
  402. --[[Chatted]]--
  403. Mouse.KeyDown:connect(function(key)
  404. if (key)=='q' then
  405. Q=true
  406. elseif (key)=='e' then
  407. E=true
  408. elseif (key)=='t' then
  409. if Adorn~=nil then
  410. BP.Parent=nil
  411. Adorn.Velocity=Adorn.Velocity+(((Adorn.Position+XVec)-Camera.CoordinateFrame.p)).unit*200
  412. Adorn=nil
  413. end
  414. end
  415. end)
  416. Mouse.KeyUp:connect(function(key)
  417. if (key)=='q' then
  418. Q=false
  419. elseif (key)=='e' then
  420. E=false
  421. elseif key=='k' and Adorn~=nil then
  422. for i, v in pairs(Adorn.Parent:GetChildren()) do
  423. if v:IsA('Humanoid') then v.Health=0 end
  424. end
  425. elseif key=='b' and Adorn~=nil then
  426. Adorn:BreakJoints()
  427. elseif (key)=='r' and Adorn ~=nil then
  428. if Adorn.Parent:FindFirstChild('ThisIsAModel') and Adorn.Parent.Fire.Value==false then
  429. for i, var in pairs(Adorn.Parent:GetChildren()) do
  430. if var:IsA('BasePart') then
  431. fire=inew('Fire',var)
  432. fire.Color=FireColor
  433. fire.Name='Fire23445'
  434. fire.Size=FireSize
  435. fire.Heat=FireHeat
  436. end
  437. end
  438. Adorn.Parent.Fire.Value=true
  439. elseif Adorn.Parent:FindFirstChild('ThisIsAModel') and Adorn.Parent.Fire.Value==true then
  440. for i, var in pairs(Adorn.Parent:GetChildren()) do
  441. if var:IsA('BasePart') and var:FindFirstChild('Fire23445') then
  442. var.Fire23445:Destroy()
  443. end
  444. end
  445. Adorn.Parent.Fire.Value=false
  446. elseif not Adorn.Parent:FindFirstChild('ThisIsAModel') then
  447. if not Adorn:FindFirstChild('Fire23445') then
  448. fire=inew('Fire',Adorn)
  449. fire.Color=FireColor
  450. fire.Name='Fire23445'
  451. fire.Size=FireSize
  452. fire.Heat=FireHeat
  453. elseif Adorn:FindFirstChild('Fire23445') then
  454. Adorn.Fire23445:Destroy()
  455. end
  456. end
  457. elseif (key)=='z' and Adorn ~=nil then
  458. if Adorn.Parent:FindFirstChild('ThisIsAModel') then
  459. if Adorn.Parent.Ghost.Value==false then
  460. for i, v in pairs(Adorn.Parent:GetChildren()) do
  461. if v:IsA('BasePart') then
  462. if v.Transparency==0 then
  463. tick=inew('BoolValue',v)
  464. tick.Name='Trans'
  465. v.Transparency=0.5
  466. else
  467. v.Transparency=v.Transparency*2
  468. end
  469. end
  470. end
  471. Adorn.Parent.Ghost.Value=true
  472. elseif Adorn.Parent.Ghost.Value==true then
  473. for i, v in pairs(Adorn.Parent:GetChildren()) do
  474. if v:IsA('BasePart') then
  475. if v:FindFirstChild('Trans') then
  476. v.Transparency=0
  477. v.Trans:Destroy()
  478. else
  479. v.Transparency=v.Transparency/2
  480. end
  481. end
  482. end
  483. Adorn.Parent.Ghost.Value=false
  484. end
  485. elseif not Adorn.Parent:FindFirstChild('ThisIsAModel') then
  486. if Adorn:FindFirstChild('Trans') then
  487. Adorn.Transparency=Adorn.Transparency/2
  488. Adorn.Trans:Destroy()
  489. if Adorn:FindFirstChild('Trans2') then
  490. Adorn.Transparency=0
  491. Adorn.Trans2:Destroy()
  492. end
  493. elseif not Adorn:FindFirstChild('Trans') then
  494. inew('BoolValue',Adorn).Name='Trans'
  495. if Adorn.Transparency<=0 then
  496. inew('BoolValue',Adorn).Name='Trans2'
  497. Adorn.Transparency=0.5
  498. else Adorn.Transparency=Adorn.Transparency*2
  499. end
  500. end
  501. end
  502. end
  503. end)
  504. Mouse.Button1Down:connect(function()
  505. if Adorn==nil and BP.Parent==nil and Target~=nil and (hit.p-Camera.CoordinateFrame.p).magnitude<=Maximum and Target:IsDescendantOf(workspace) then
  506. Distance=(Target.Position-Camera.CoordinateFrame.p).magnitude
  507. XVec=(hit.p-Target.Position)
  508. if not Target.Parent:FindFirstChild('ThisIsAModel') then
  509. local rt=Target.Size
  510. Minimum=math.sqrt((rt.X^2+rt.Y^2+rt.Z^2))+.5
  511. else
  512. local rt=Target.Parent:GetModelSize()
  513. Minimum=math.sqrt((rt.X^2+rt.Y^2+rt.Z^2))+.5
  514. end
  515. Adorn=Target
  516. end
  517. end)
  518. Mouse.Button1Up:connect(function()
  519. if Adorn~=nil then
  520. Adorn=nil
  521. BP.Parent=nil
  522. end
  523. end)
  524. end)()
  525. coroutine.wrap(function()--[[Head]]--
  526. while wait(1)do
  527. if (Orb==nil or Orb.Parent==nil or Orb:FindFirstChild'Mesh'==nil or Orb.Mesh.MeshId~=CurMesh.Mesh)and On then
  528. Orb=Create'SpecialMesh'{Parent=Create'Part'{Size=Vector3.new(2,3,1),Anchored=true,CanCollide=false,Parent=workspace},MeshId=CurMesh.Mesh,MeshType='FileMesh',Scale=CurMesh.Scale,TextureId=CurMesh.Texture}.Parent
  529. end
  530. end
  531. end)()
  532. coroutine.wrap(function()
  533. while wait()do
  534. if Orb~=nil and Orb:IsA'BasePart'and On then
  535. Orb.CFrame=CFrame.new(Camera.CoordinateFrame.p,Camera.CoordinateFrame.p+Camera.CoordinateFrame.lookVector*20)
  536. coroutine.resume(coroutine.create(function(ORB,Ti)
  537. coroutine.resume(coroutine.create(function(cc)
  538. cc.Parent=workspace
  539. wait()
  540. --repeat wait() cc.Mesh.Scale=cc.Mesh.Scale-Vector3.new(.025,.025,.025) until cc.Mesh.Scale.X<=0
  541. repeat wait()cc.Transparency=cc.Transparency+0.03 until cc.Transparency>=1
  542. cc:Destroy()
  543. end),ORB:Clone())
  544. end),Orb,.2)
  545.  
  546. end
  547. end
  548. end)()
  549. coroutine.wrap(function()
  550. local chats = {}
  551. function color(r,g,b)
  552. return Color3.new(r/255,g/255,b/255)
  553. end
  554. Player.CharacterAdded:connect(function()
  555. for i,v in next,chats do
  556. v.Removed = true
  557. end
  558. end)
  559. function Message(msg,dark)
  560. if #msg > 200 then return end
  561. coroutine.wrap(function()
  562. delay(0,function()
  563. --local char = user.Character
  564. local isDark = dark or false
  565. local y = -40
  566. for i = #chats,1,-1 do
  567. local v = chats[i]
  568. if v.Removed == false then
  569. y = y - 40
  570. v.Message:TweenPosition(UDim2.new(.5,v.Message.Position.X.Offset,1,y),"In","Linear",0.5,true,function()
  571. if v.Message.Position.Y.Offset <= -40*4 then
  572. v.Remove = true
  573. end
  574. end)
  575. end
  576. end
  577.  
  578. local bg = Instance.new('BillboardGui',Create'Part'{Anchored=true,Transparency=1,CanCollide=false,Parent=workspace,CFrame=workspace.CurrentCamera.CoordinateFrame})
  579. bg.Name = 'Chat'
  580. bg.StudsOffset = Vector3.new(0,7,0)
  581. bg.Adornee = bg.Parent
  582. bg.Size = UDim2.new(10,0,10,0)
  583. bg.AlwaysOnTop = true
  584. coroutine.resume(coroutine.create(function(ppp)
  585. while wait()do
  586. if ppp~=nil then
  587. if CamObj==script.Parent then
  588. ppp.CFrame=workspace.Camera.CoordinateFrame
  589. elseif Player.Character~=nil and CamObj==Player.Character then
  590. ppp.CFrame=Player.Character.Head.CFrame
  591. end--workspace.Camera.CoordinateFrame
  592. end
  593. end
  594. end),bg.Parent)
  595. local mesg = ""
  596. for i = 1, #msg do
  597. mesg = mesg .. msg:sub(i,i) .. "\127"
  598. end
  599. local tl = Instance.new('TextLabel',bg)
  600. tl.Text = mesg
  601. tl.Name = "Message"
  602. tl.BorderSizePixel = 0
  603. tl.ClipsDescendants = true
  604. tl.BackgroundTransparency = 1
  605. tl.TextTransparency = 1
  606. if isDark then
  607. tl.TextColor = BrickColor.new('Bright red')
  608. else
  609. tl.TextColor = BrickColor.new('White')
  610. end
  611. tl.FontSize = 6
  612. tl.Size = UDim2.new(0,tl.TextBounds.X+25,0,0)
  613. tl.Position = UDim2.new(.5,(-tl.TextBounds.X-25)/2,1,0)
  614. tl:TweenSizeAndPosition(UDim2.new(0,tl.TextBounds.X+25,0,40),UDim2.new(.5,(-tl.TextBounds.X-25)/2,1,-40),"In","Linear",0.5,true)
  615. local spot = #chats+1
  616. chats[spot] = {Message = tl,Removed = false,Remove = false}
  617. local r,g,b = math.random(1,255),math.random(1,255),math.random(1,255)
  618. local rr,gr,br = false,false,false
  619. local removed = false
  620. delay(0,function()
  621. for i = 1,.5,-.05 do
  622. wait(0.05)
  623. tl.BackgroundTransparency = i
  624. end
  625. end)
  626. delay(0,function()
  627. for i = 1,0,-.1 do
  628. wait(0.05)
  629. tl.TextTransparency = i
  630. end
  631. end)
  632. delay(0,function()
  633. while removed == false do
  634. wait(0.05)
  635. if r >= 250 then
  636. rr = true
  637. end
  638. if g >= 250 then
  639. gr = true
  640. end
  641. if b >= 250 then
  642. br = true
  643. end
  644. if b <= 5 then
  645. br = false
  646. end
  647. if g <= 5 then
  648. gr = false
  649. end
  650. if r <= 5 then
  651. rr = false
  652. end
  653. if rr == true then
  654. r = r - 5
  655. else
  656. r = r + 5
  657. end
  658. if gr == true then
  659. g = g - 5
  660. else
  661. g = g + 5
  662. end
  663. if br == true then
  664. b = b - 5
  665. else
  666. b = b + 5
  667. end
  668. pcall(function() if not isDark then tl.BackgroundColor3 = color(r,g,b) else tl.BackgroundColor = BrickColor.new("Really black") end end)
  669. end
  670. end)
  671. local remove = false
  672. delay(0,function()
  673. wait(15)
  674. remove = true
  675. end)
  676. delay(0,function()
  677. while remove == false do
  678. wait()
  679. if chats[spot].Remove == true then
  680. remove = true
  681. end
  682. end
  683. end)
  684. delay(0,function()
  685. repeat wait() until remove == true
  686. delay(0,function()
  687. for i = .5,1,.05 do
  688. wait(0.05)
  689. tl.BackgroundTransparency = i
  690. end
  691. end)
  692. delay(0,function()
  693. for i = 0,1,.1 do
  694. wait(0.05)
  695. tl.TextTransparency = i
  696. end
  697. bg:remove()
  698. removed = true
  699. chats[spot].Removed = true
  700. end)
  701. end)
  702. end)
  703. end)()
  704. end
  705. function notWord(msg,words)
  706. bool=true
  707. for i,word in pairs(words)do
  708. if string.sub(msg,1,string.len(word))==word then
  709. bool=false
  710. end
  711. end
  712. return bool
  713. end
  714. Player.Chatted:connect(function(msg)
  715. print(msg)
  716. --[[ if msg:sub(1,3) ~= "/e " and msg:sub(1,1) ~= "!"and msg:sub(1,2)~="k/"and msg:sub(1,2)~="s/"and msg:sub(1,5)~="time/"and msg:sub(1,3)~="wc/"and msg:sub(1,7)~="bright/"and msg:sub(1,5)~="hold/"and msg:sub(1,5)~="mute/"and msg:sub(1,6)~="godpl/"then
  717. Message(CurMesh.Chat..': '..msg,false)
  718. end]]
  719. if notWord(msg,{'/e ',"!","k/","s/","time/","wc/","bright/","hold/","godpl/","mute/","m/","Character/","Orb/","switch/"})and On then
  720. Message(CurMesh.Chat..': '..msg,false)
  721. end
  722.  
  723. if msg:sub(1,1) == "!" then
  724. Message(msg:sub(2),true)
  725. end
  726. end)
  727. end)()
  728. coroutine.wrap(function()
  729. end)()
  730. wait()
  731. Player:Remove()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement