Advertisement
samuelrichter66

headphones

May 23rd, 2019
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 38.18 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do
  6. print("FE Compatibility code V2 by Mokiros")
  7. local RealPlayer = RealPlayer
  8. script.Parent = RealPlayer.Character
  9.  
  10. --Fake event to make stuff like Mouse.KeyDown work
  11. local Disconnect_Function = function(this)
  12. this[1].Functions[this[2]] = nil
  13. end
  14. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  15. local FakeEvent_Metatable = {__index={
  16. Connect = function(this,f)
  17. local i = tostring(math.random(0,10000))
  18. while this.Functions[i] do
  19. i = tostring(math.random(0,10000))
  20. end
  21. this.Functions[i] = f
  22. return setmetatable({this,i},Disconnect_Metatable)
  23. end
  24. }}
  25. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  26. local function fakeEvent()
  27. return setmetatable({Functions={}},FakeEvent_Metatable)
  28. end
  29.  
  30. --Creating fake input objects with fake variables
  31. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  32. FakeMouse.keyUp = FakeMouse.KeyUp
  33. FakeMouse.keyDown = FakeMouse.KeyDown
  34. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  35. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  36. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  37. end}
  38. --Merged 2 functions into one by checking amount of arguments
  39. CAS.UnbindAction = CAS.BindAction
  40.  
  41. --This function will trigger the events that have been :Connect()'ed
  42. local function TriggerEvent(self,ev,...)
  43. for _,f in pairs(self[ev].Functions) do
  44. f(...)
  45. end
  46. end
  47. FakeMouse.TriggerEvent = TriggerEvent
  48. UIS.TriggerEvent = TriggerEvent
  49.  
  50. --Client communication
  51. local Event = Instance.new("RemoteEvent")
  52. Event.Name = "UserInput_Event"
  53. Event.OnServerEvent:Connect(function(plr,io)
  54. if plr~=RealPlayer then return end
  55. FakeMouse.Target = io.Target
  56. FakeMouse.Hit = io.Hit
  57. if not io.isMouse then
  58. local b = io.UserInputState == Enum.UserInputState.Begin
  59. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  60. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  61. end
  62. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  63. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  64. end
  65. for _,t in pairs(CAS.Actions) do
  66. for _,k in pairs(t.Keys) do
  67. if k==io.KeyCode then
  68. t.Function(t.Name,io.UserInputState,io)
  69. end
  70. end
  71. end
  72. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  73. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  74. end
  75. end)
  76. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  77. local Mouse = owner:GetMouse()
  78. local UIS = game:GetService("UserInputService")
  79. local input = function(io,RobloxHandled)
  80. if RobloxHandled then return end
  81. --Since InputObject is a client-side instance, we create and pass table instead
  82. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  83. end
  84. UIS.InputBegan:Connect(input)
  85. UIS.InputEnded:Connect(input)
  86.  
  87. local h,t
  88. --Give the server mouse data every second frame, but only if the values changed
  89. --If player is not moving their mouse, client won't fire events
  90. local HB = game:GetService("RunService").Heartbeat
  91. while true do
  92. if h~=Mouse.Hit or t~=Mouse.Target then
  93. h,t=Mouse.Hit,Mouse.Target
  94. Event:FireServer({isMouse=true,Target=t,Hit=h})
  95. end
  96. --Wait 2 frames
  97. for i=1,2 do
  98. HB:Wait()
  99. end
  100. end]==],script)
  101.  
  102. ----Sandboxed game object that allows the usage of client-side methods and services
  103. --Real game object
  104. local RealGame = game
  105.  
  106. --Metatable for fake service
  107. local FakeService_Metatable = {
  108. __index = function(self,k)
  109. local s = rawget(self,"_RealService")
  110. if s then
  111. return typeof(s[k])=="function"
  112. and function(_,...)return s[k](s,...)end or s[k]
  113. end
  114. end,
  115. __newindex = function(self,k,v)
  116. local s = rawget(self,"_RealService")
  117. if s then s[k]=v end
  118. end
  119. }
  120. local function FakeService(t,RealService)
  121. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  122. return setmetatable(t,FakeService_Metatable)
  123. end
  124.  
  125. --Fake game object
  126. local FakeGame = {
  127. GetService = function(self,s)
  128. return rawget(self,s) or RealGame:GetService(s)
  129. end,
  130. Players = FakeService({
  131. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  132. },"Players"),
  133. UserInputService = FakeService(UIS,"UserInputService"),
  134. ContextActionService = FakeService(CAS,"ContextActionService"),
  135. RunService = FakeService({
  136. _btrs = {},
  137. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  138. BindToRenderStep = function(self,name,_,fun)
  139. self._btrs[name] = self.Heartbeat:Connect(fun)
  140. end,
  141. UnbindFromRenderStep = function(self,name)
  142. self._btrs[name]:Disconnect()
  143. end,
  144. },"RunService")
  145. }
  146. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  147. FakeGame.service = FakeGame.GetService
  148. FakeService(FakeGame,game)
  149. --Changing owner to fake player object to support owner:GetMouse()
  150. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  151. end
  152.  
  153.  
  154. --Created with PenguinAnonymous's compiler
  155. --PenguinAnonymous is not responsible for damages caused to your game
  156. --Please stop using my plugin to create abusive scripts
  157. --Errors:
  158. local runDummyScript = function(f,scri)
  159. local oldenv = getfenv(f)
  160. local newenv = setmetatable({}, {
  161. __index = function(_, k)
  162. if k:lower() == 'script' then
  163. return scri
  164. else
  165. return oldenv[k]
  166. end
  167. end
  168. })
  169. setfenv(f, newenv)
  170. ypcall(function() f() end)
  171. end
  172. cors = {}
  173. mas = Instance.new("Model",game:GetService("Lighting"))
  174. mas.Name = "CompiledModel"
  175. o1 = Instance.new("LocalScript")
  176. o1.Name = "Wubstep"
  177. o1.Parent = mas
  178. table.insert(cors,function()
  179. wait()
  180. runDummyScript(function()
  181.  
  182. function clerp(c1,c2,al)
  183. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  184. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  185. for i,v in pairs(com1) do
  186. com1[i] = v+(com2[i]-v)*al
  187. end
  188. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  189. end
  190.  
  191. plr = game:service'Players'.LocalPlayer
  192. char = plr.Character
  193. mouse = plr:GetMouse()
  194. humanoid = char:findFirstChild("Humanoid")
  195. torso = char:findFirstChild("Torso")
  196. head = char.Head
  197. ra = char:findFirstChild("Right Arm")
  198. la = char:findFirstChild("Left Arm")
  199. rl = char:findFirstChild("Right Leg")
  200. ll = char:findFirstChild("Left Leg")
  201. rs = torso:findFirstChild("Right Shoulder")
  202. ls = torso:findFirstChild("Left Shoulder")
  203. rh = torso:findFirstChild("Right Hip")
  204. lh = torso:findFirstChild("Left Hip")
  205. neck = torso:findFirstChild("Neck")
  206. rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  207. rootpart = char:findFirstChild("HumanoidRootPart")
  208. camera = workspace.CurrentCamera
  209. anim = char:findFirstChild("Animate")
  210.  
  211. if char:FindFirstChild("Animate") then
  212. char.Animate:Destroy()
  213. end
  214. humanoid.Animator:Destroy()
  215.  
  216. local rm = Instance.new("Weld", torso)
  217. rm.C0 = CFrame.new(1.5, 0.5, 0)
  218. rm.C1 = CFrame.new(0, 0.5, 0)
  219. rm.Part0 = torso
  220. rm.Part1 = ra
  221.  
  222. local lm = Instance.new("Weld", torso)
  223. lm.C0 = CFrame.new(-1.5, 0.5, 0)
  224. lm.C1 = CFrame.new(0, 0.5, 0)
  225. lm.Part0 = torso
  226. lm.Part1 = la
  227.  
  228. local rlegm = Instance.new("Weld", torso)
  229. rlegm.C0 = CFrame.new(0.5, -1, 0)
  230. rlegm.C1 = CFrame.new(0, 1, 0)
  231. rlegm.Part0 = torso
  232. rlegm.Part1 = rl
  233. local llegm = Instance.new("Weld", torso)
  234. llegm.C0 = CFrame.new(-0.5, -1, 0)
  235. llegm.C1 = CFrame.new(0, 1, 0)
  236. llegm.Part0 = torso
  237. llegm.Part1 = ll
  238.  
  239. neck.C0 = CFrame.new(0, 1, 0)
  240. neck.C1 = CFrame.new(0, -.5, 0)
  241.  
  242. rj.C0 = CFrame.new()
  243. rj.C1 = CFrame.new()
  244.  
  245. local Rbx = LoadLibrary("RbxUtility")
  246. local Create = Rbx.Create
  247.  
  248. GUI = Create("ScreenGui"){
  249. Parent = plr.PlayerGui,
  250. Enabled = true,
  251. ResetOnSpawn = true,
  252. Name = "WubstepGUI"
  253. }
  254.  
  255. Main = Create("Frame"){
  256. Parent = GUI,
  257. BackgroundColor3 = Color3.new(50/255,50/255,50/255),
  258. BorderColor3 = Color3.new(27/255,42/255,53/255),
  259. BorderSizePixel = 0,
  260. BackgroundTransparency = 0,
  261. Size = UDim2.new(0.2,0,0.5,0),
  262. Position = UDim2.new(-1.2,0,0.25,0),
  263. ZIndex = 1,
  264. Visible = true,
  265. Selectable = false,
  266. Name = "Main"
  267. }
  268.  
  269. IDBox = Create("TextBox"){
  270. Parent = Main,
  271. BackgroundColor3 = Color3.new(9/255,9/255,9/255),
  272. BackgroundTransparency = 0.7,
  273. BorderColor3 = Color3.new(255/255,255/255,255/255),
  274. BorderSizePixel = 5,
  275. Name = "ID",
  276. Position = UDim2.new(0.05,0,0.03,0),
  277. Selectable = true,
  278. ShowNativeInput = true,
  279. ClearTextOnFocus = true,
  280. Size = UDim2.new(0.9,0,0.15,0),
  281. Visible = true,
  282. ZIndex = 2,
  283. Text = "ID",
  284. TextWrapped = true,
  285. TextScaled = true,
  286. TextColor3 = Color3.new(255/255,255/255,255/255),
  287. TextStrokeTransparency = 0,
  288. TextStrokeColor3 = Color3.new(0,0,0)
  289. }
  290.  
  291. PlayButton = Create("TextButton"){
  292. Parent = Main,
  293. BackgroundTransparency = 0,
  294. BackgroundColor3 = Color3.new(9/255,9/255,9/255),
  295. BorderSizePixel = 0,
  296. BorderColor3 = Color3.new(27/255,42/255,53/255),
  297. Name = "Play",
  298. Modal = false,
  299. Position = UDim2.new(0.05,0,0.205,0),
  300. Size = UDim2.new(0.9,0,0.1,0),
  301. ZIndex = 2,
  302. Text = "Play",
  303. TextScaled = true,
  304. TextStrokeColor3 = Color3.new(0,0,0),
  305. TextStrokeTransparency = 1,
  306. TextColor3 = Color3.new(255/255,255/255,255/255),
  307. TextWrapped = true
  308. }
  309.  
  310. VolumeInc = Create("TextButton"){
  311. Parent = Main,
  312. BackgroundColor3 = Color3.new(0,7/255,48/255),
  313. BorderSizePixel = 2,
  314. Modal = false,
  315. Name = "+",
  316. Position = UDim2.new(0.75,0,0.325,0),
  317. Size = UDim2.new(0.2,0,0.34,0),
  318. Visible = true,
  319. TextScaled = true,
  320. TextColor3 = Color3.new(255/255,255/255,255/255),
  321. TextStrokeTransparency = 1,
  322. Text = "+"
  323. }
  324.  
  325. VolumeDec = Create("TextButton"){
  326. Parent = Main,
  327. BackgroundColor3 = Color3.new(48/255,0,0),
  328. BorderSizePixel = 2,
  329. Modal = false,
  330. Name = "+",
  331. Position = UDim2.new(0.05,0,0.325,0),
  332. Size = UDim2.new(0.2,0,0.34,0),
  333. Visible = true,
  334. TextScaled = true,
  335. TextColor3 = Color3.new(255/255,255/255,255/255),
  336. TextStrokeTransparency = 1,
  337. Text = "-"
  338. }
  339.  
  340. VolText = Create("TextLabel"){
  341. Parent = Main,
  342. BackgroundColor3 = Color3.new(255/255,255/255,255/255),
  343. BackgroundTransparency = 1,
  344. BorderColor3 = Color3.new(27/255,42/255,53/255),
  345. BorderSizePixel = 0,
  346. Name = "Volume",
  347. Position = UDim2.new(0.175,0,0.325,0),
  348. Size = UDim2.new(0.64,0,0.1,0),
  349. Visible = true,
  350. Text = "Volume",
  351. TextColor3 = Color3.new(255/255,255/255,255/255),
  352. TextScaled = true,
  353. TextStrokeColor3 = Color3.new(0,0,0),
  354. TextStrokeTransparency = 0
  355. }
  356.  
  357. VolNum = Create("TextLabel"){
  358. Parent = Main,
  359. BackgroundTransparency = 1,
  360. BorderSizePixel = 0,
  361. Name = "###",
  362. Position = UDim2.new(0.175,0,0.45,0),
  363. Size = UDim2.new(0.64,0,0.2,0),
  364. TextStrokeTransparency = 0,
  365. TextColor3 = Color3.new(255/255,255/255,255/255),
  366. Text = "1",
  367. TextScaled = true
  368. }
  369.  
  370. HeadphText = Create("TextLabel"){
  371. Parent = Main,
  372. BackgroundTransparency = 1,
  373. BorderSizePixel = 0,
  374. Name = "Headphones",
  375. Position = UDim2.new(0.05,0,0.7,0),
  376. Size = UDim2.new(0.64,0,0.1,0),
  377. TextStrokeTransparency = 0,
  378. TextColor3 = Color3.new(255/255,255/255,255/255),
  379. Text = "Headphones",
  380. TextScaled = true
  381. }
  382.  
  383. NotesText = Create("TextLabel"){
  384. Parent = Main,
  385. BackgroundTransparency = 1,
  386. BorderSizePixel = 0,
  387. Name = "Notes",
  388. Position = UDim2.new(0.05,0,0.85,0),
  389. Size = UDim2.new(0.64,0,0.1,0),
  390. TextStrokeTransparency = 0,
  391. TextColor3 = Color3.new(255/255,255/255,255/255),
  392. Text = "Notes",
  393. TextScaled = true
  394. }
  395.  
  396. Check1 = Create("TextButton"){
  397. Parent = Main,
  398. BackgroundTransparency = 0.7,
  399. BackgroundColor3 = Color3.new(50/255,50/255,50/255),
  400. BorderSizePixel = 5,
  401. BorderColor3 = Color3.new(0,0,0),
  402. Name = "Check1",
  403. Modal = false,
  404. Position = UDim2.new(0.78,0,0.7,0),
  405. Size = UDim2.new(0.13,0,0.1,0),
  406. ZIndex = 2,
  407. Text = "",
  408. TextScaled = true,
  409. TextStrokeColor3 = Color3.new(0,0,0),
  410. TextStrokeTransparency = 1,
  411. TextColor3 = Color3.new(255/255,255/255,255/255),
  412. TextWrapped = true
  413. }
  414.  
  415. Check2 = Create("TextButton"){
  416. Parent = Main,
  417. BackgroundTransparency = 0.7,
  418. BackgroundColor3 = Color3.new(50/255,50/255,50/255),
  419. BorderSizePixel = 5,
  420. BorderColor3 = Color3.new(0,0,0),
  421. Name = "Check2",
  422. Modal = false,
  423. Position = UDim2.new(0.78,0,0.85,0),
  424. Size = UDim2.new(0.13,0,0.1,0),
  425. ZIndex = 2,
  426. Text = "",
  427. TextScaled = true,
  428. TextStrokeColor3 = Color3.new(0,0,0),
  429. TextStrokeTransparency = 1,
  430. TextColor3 = Color3.new(255/255,255/255,255/255),
  431. TextWrapped = true
  432. }
  433.  
  434. Checkmark1 = Create("ImageLabel"){
  435. Parent = Check1,
  436. Size = UDim2.new(1,0,1,0),
  437. Position = UDim2.new(0,0,0,0),
  438. BorderSizePixel = 0,
  439. BackgroundTransparency = 1,
  440. Image = "rbxassetid://55565289",
  441. }
  442.  
  443. Checkmark2 = Create("ImageLabel"){
  444. Parent = Check2,
  445. Size = UDim2.new(1,0,1,0),
  446. Position = UDim2.new(0,0,0,0),
  447. BorderSizePixel = 0,
  448. BackgroundTransparency = 1,
  449. Image = "rbxassetid://55565289",
  450. }
  451.  
  452. OpenButton = Create("TextButton"){
  453. Parent = GUI,
  454. BackgroundTransparency = 0.7,
  455. BackgroundColor3 = Color3.new(50/255,50/255,50/255),
  456. BorderSizePixel = 5,
  457. BorderColor3 = Color3.new(0,0,0),
  458. Name = "Open/Close",
  459. Modal = false,
  460. Position = UDim2.new(0,0,0.7,0),
  461. Size = UDim2.new(0.13,0,0.1,0),
  462. ZIndex = 2,
  463. Text = "Wubstep",
  464. TextScaled = true,
  465. TextStrokeColor3 = Color3.new(0,0,0),
  466. TextStrokeTransparency = 0,
  467. TextColor3 = Color3.new(255/255,255/255,255/255),
  468. TextWrapped = true
  469. }
  470.  
  471. local Open = false
  472. local Debounce = false
  473. OpenButton.MouseButton1Down:connect(function()
  474. if Open == false and Debounce == false then
  475. Debounce = true
  476. Main:TweenPosition(UDim2.new(0.4, 0, 0.25, 0),"Out","Quad",3,false)
  477. repeat wait() until Main.Position == UDim2.new(0.4,0,0.25,0)
  478. wait(0.2)
  479. Open = true
  480. Debounce = false
  481. elseif Open == true and Debounce == false then
  482. Debounce = true
  483. Main:TweenPosition(UDim2.new(-1.2, 0, 0.25, 0),"Out","Quad",5,false)
  484. repeat wait() until Main.Position == UDim2.new(-1.2,0,0.25,0)
  485. wait(0.2)
  486. Open = false
  487. Debounce = false
  488. end
  489. end)
  490.  
  491. local Volume = 1
  492. VolumeInc.MouseButton1Down:connect(function()
  493. if Volume < 10 then
  494. Volume = Volume + 0.5
  495. end
  496. end)
  497. VolumeDec.MouseButton1Down:connect(function()
  498. if Volume > 0 then
  499. Volume = Volume - 0.5
  500. end
  501. end)
  502.  
  503. humanoid.WalkSpeed = 7
  504.  
  505. local s = Instance.new('Sound', head)
  506. s.Volume = Volume
  507. s.SoundId = "rbxassetid://0" --EG: Music to my ears
  508. s.Looped = true
  509. s:play()
  510.  
  511. PlayButton.MouseButton1Down:connect(function()
  512. s.SoundId = "rbxassetid://"..IDBox.Text
  513. end)
  514.  
  515. rsc0 = rm.C0
  516. lsc0 = lm.C0
  517. neckc0 = neck.C0
  518. rootc0 = rj.C0
  519. llc0 = llegm.C0
  520. rlc0 = rlegm.C0
  521. speed = 0.25
  522. angle = 0
  523. anglespeed = 1
  524.  
  525. local Hat = Instance.new('Part', char)
  526. Hat.FormFactor = 'Custom'
  527. Hat.Size = Vector3.new(1,1,1)
  528. Hat.CanCollide = false
  529. Hat.Locked = true
  530. Hat.Name = 'Headphones'
  531. Hat:breakJoints()
  532. Hat.TopSurface = 0
  533. Hat.BottomSurface = 0
  534. local Mesh = Instance.new('SpecialMesh', Hat)
  535. Mesh.MeshId = "http://www.roblox.com/asset/?id=1051545"
  536. Mesh.TextureId = "rbxassetid://186142634"
  537.  
  538. local Weld = Instance.new('Weld', Hat)
  539. Weld.Part0 = Hat
  540. Weld.Part1 = head
  541. Weld.C1 = CFrame.new(0, .2, 0)
  542.  
  543. local HP = true
  544. local Not = true
  545. Check1.MouseButton1Down:connect(function()
  546. if HP == true then
  547. HP = false
  548. Hat.Transparency = 0
  549. Checkmark1.Visible = true
  550. elseif HP == false then
  551. HP = true
  552. Hat.Transparency = 1
  553. Checkmark1.Visible = false
  554. end
  555. end)
  556. Check2.MouseButton1Down:connect(function()
  557. if Not == true then
  558. Not = false
  559. Checkmark2.Visible = false
  560. elseif Not == false then
  561. Not = true
  562. Checkmark2.Visible = true
  563. end
  564. end)
  565.  
  566. local SplashEffect = Instance.new('Part')
  567. Instance.new("CylinderMesh", SplashEffect);
  568. SplashEffect.Size = Vector3.new(.2,.2,.2)
  569. SplashEffect.Anchored = true
  570. SplashEffect.Transparency = 1
  571. SplashEffect.CanCollide = false
  572. SplashEffect.Locked = true
  573. SplashEffect.Material = "Neon"
  574. local surfacegui = Instance.new('SurfaceGui', SplashEffect)
  575. surfacegui.Face = 'Top'
  576. surfacegui.CanvasSize = Vector2.new(800,800)
  577. local SplashEffectImage = Instance.new('ImageLabel', surfacegui)
  578. SplashEffectImage.Size = UDim2.new(1,0,1,0)
  579. SplashEffectImage.Image = "rbxassetid://166139049"
  580. SplashEffectImage.BackgroundTransparency = 1
  581. SplashEffectImage.Name = 'Effect'
  582. SplashEffectImage.ImageColor3 = Color3.new(223/255, 0, 255/255)
  583. local light = Instance.new('PointLight', SplashEffect)
  584.  
  585. local SplashEffect2 = SplashEffect:clone()
  586. SplashEffect2:ClearAllChildren()
  587. Instance.new("CylinderMesh", SplashEffect2);
  588. local surfacegui2 = Instance.new('SurfaceGui', SplashEffect2)
  589. surfacegui2.Face = 'Top'
  590. surfacegui2.CanvasSize = Vector2.new(800,800)
  591. local SplashEffect2Image = Instance.new('ImageLabel', surfacegui2)
  592. SplashEffect2Image.Size = UDim2.new(1,0,1,0)
  593. SplashEffect2Image.Image = "rbxassetid://166139049"
  594. SplashEffect2Image.BackgroundTransparency = 1
  595. SplashEffect2Image.Name = 'Effect'
  596. SplashEffect2Image.ImageColor3 = Color3.new(223/255, 0, 255/255)
  597. local light2 = Instance.new('PointLight', SplashEffect2)
  598.  
  599. local Crack = Instance.new('Part')
  600. Crack.Size = Vector3.new(12, .2, 12)
  601. Crack.Anchored = true
  602. Crack.Transparency = 1
  603. Crack.CanCollide = false
  604.  
  605. Images = {"rbxassetid://109516732", "rbxassetid://185526499"}
  606. local Image = Instance.new('Decal', Crack)
  607. Image.Face = 'Top'
  608.  
  609.  
  610. local SplashColors = {Color3.new(223/255, 0, 255/255), Color3.new(223/255, 0, 255/255), Color3.new(226/255, 156/255, 210/255), Color3.new(120/255, 91/255, 169/255), Color3.new(8/255, 146/255, 208/255), Color3.new(0,0,1), Color3.new(127/255, 255/255, 212/255)}
  611. local Splash1cframe
  612. local Splash2cframe
  613.  
  614. function math_pos(float)
  615. if float < 0 then float = 0 end
  616. return float
  617. end
  618. function math_neg(float)
  619. if float > 0 then float = 0 end
  620. return float
  621. end
  622. function math_max(float, max)
  623. if float > max then float = max end
  624. return float
  625. end
  626. function math_min(float, min)
  627. if float > min then float = min end
  628. return float
  629. end
  630. pchar = char
  631. Part = function(x,y,z,color,tr,cc,an,parent)
  632. local p = Instance.new('Part',parent)
  633. p.formFactor = 'Custom'
  634. p.Size = Vector3.new(x,y,z)
  635. p.BrickColor = BrickColor.new(color)
  636. p.Material = "Neon"
  637. p.CanCollide = cc
  638. p.Transparency = tr
  639. p.Anchored = an
  640. p.TopSurface,p.BottomSurface = 0,0
  641. p.Locked=true
  642. p:BreakJoints()
  643. return p
  644. end
  645. Mesh = function(par,num,x,y,z)
  646. local msh = _
  647. if num == 1 then
  648. msh = Instance.new("CylinderMesh",par)
  649. elseif num == 2 then
  650. msh = Instance.new("SpecialMesh",par)
  651. msh.MeshType = 3
  652. elseif num == 3 then
  653. msh = Instance.new("BlockMesh",par)
  654. elseif num == 4 then
  655. msh = Instance.new("SpecialMesh",par)
  656. msh.MeshType = "Torso"
  657. elseif type(num) == 'string' then
  658. msh = Instance.new("SpecialMesh",par)
  659. msh.MeshId = num
  660. end
  661. msh.Scale = Vector3.new(x,y,z)
  662. return msh
  663. end
  664. function explosion(col1,col2,cfr,sz,rng,dmg)
  665. local a= Part(1,1,1,col1,.5,false,true,pchar)
  666. local a2= Part(1,1,1,col2,.5,false,true,pchar)
  667. local a3= Part(1,1,1,col2,.5,false,true,pchar)
  668. v1,v2,v3=sz.x,sz.y,sz.z
  669. local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3)
  670. local m2= Mesh(a2,3,v1/3,v2/3,v3/3)
  671. local m3= Mesh(a3,3,v1/3,v2/3,v3/3)
  672. a.CFrame=cfr
  673. a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  674. a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  675. for i,v in pairs(workspace:children()) do
  676. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  677. if v:findFirstChild("Head") and v:findFirstChild("Torso") then
  678. if (v:findFirstChild("Torso").Position - a.Position).magnitude < rng and v.Name ~= pchar.Name then
  679. v.Humanoid.Health=v.Humanoid.Health-dmg
  680. v.Torso.Velocity=Vector3.new(math.random(-dmg*2,dmg*2),dmg*3,math.random(-dmg*2,dmg*2))
  681. end
  682. end
  683. end
  684. end
  685. Spawn(function()
  686. while true do
  687. wait()
  688. if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end
  689. m.Scale=m.Scale+Vector3.new(.1,0.1,0.1)
  690. m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1)
  691. m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1)
  692. a2.CFrame=a2.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))
  693. a3.CFrame=a3.CFrame*CFrame.Angles(-math.rad(2),-math.rad(2),-math.rad(2))
  694. a.Transparency=a.Transparency+0.05
  695. a2.Transparency=a2.Transparency+0.05
  696. a3.Transparency=a3.Transparency+0.05
  697. end
  698. end)
  699. end
  700.  
  701. local lasttick
  702. local Action = false
  703. local db = false
  704. cd = false
  705.  
  706. mouse.KeyDown:connect(function(k)
  707. if k:byte() == 32 then
  708. if not jumped then
  709. lasttick = tick()
  710. end
  711. elseif k:lower() == "c" and db == false and cd == false then
  712. cd = true
  713. local Colors = {"New Yeller","Really red","Really blue","Royal purple","Pastel orange","Lime green","Hot pink","Toothpaste","Institutional white"}
  714. local Col1 = Colors[math.random(1,#Colors)]
  715. local Col2 = Colors[math.random(1,#Colors)]
  716. explosion(Col1,Col2,torso.CFrame,Vector3.new(80,80,80),60,80)
  717. cd = false
  718. elseif k:lower() == "f" and db == false then
  719. db = true
  720. local Rbx = LoadLibrary("RbxUtility")
  721. local Cre = Rbx.Create
  722. local Colors = {"New Yeller","Really red","Really blue","Royal purple","Pastel orange","Lime green","Hot pink","Toothpaste","Institutional white"}
  723. local sh = Cre("Part"){
  724. Parent = char,
  725. Size = Vector3.new(0.2,0.2,0.2),
  726. Anchored = true,
  727. CanCollide = false,
  728. Material = "Neon",
  729. BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]),
  730. CFrame = torso.CFrame
  731. }
  732. local msh = Cre("SpecialMesh"){
  733. MeshType = "Sphere",
  734. Scale = Vector3.new(0.01,0.01,0.01),
  735. Parent = sh
  736. }
  737. game:GetService("Debris"):AddItem(sh,25)
  738. coroutine.resume(coroutine.create(function()
  739. local a = 0
  740. for i=0,150 do
  741. game:GetService("RunService").RenderStepped:wait()
  742. sh.CFrame = torso.CFrame
  743. msh.Scale = msh.Scale + Vector3.new(math.floor(i/18),math.floor(i/18),math.floor(i/18))
  744. sh.Transparency = i/150
  745. a = a + 1
  746. if a >= 3 then
  747. a = 0
  748. sh.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  749. end
  750. for i,v in pairs(game.Workspace:GetChildren()) do
  751. if v and v.Name ~= plr.Name and v:FindFirstChild("Humanoid") then
  752. if v:FindFirstChild("Torso") then
  753. if (v.Torso.Position - torso.Position).magnitude <= i then
  754. v:BreakJoints()
  755. end
  756. end
  757. end
  758. end
  759. end
  760. db = false
  761. end))
  762. end
  763. end)
  764.  
  765. plr.Chatted:connect(function(msg)
  766. if msg == "/e dance" or msg == "/emote dance" then
  767. Action = 'Dancing'
  768. end
  769. if msg == "/e dance2" or msg == "/emote dance2" then
  770. Action = 'Dancing2'
  771. end
  772. if msg == "/e dance3" or msg == "/emote dance3" then
  773. Action = 'Dancing3'
  774. end
  775. end)
  776.  
  777. local screengui = Instance.new('ScreenGui', plr.PlayerGui)
  778. screengui.Name = "Vinyl's Effect"
  779. local frame = Instance.new('ImageLabel', screengui)
  780. frame.Size = UDim2.new(1,250,1,250)
  781. frame.Position = UDim2.new(0,-125,0,-125)
  782. frame.Image = "rbxassetid://186263828"
  783. frame.BackgroundTransparency = 1
  784.  
  785. local parts = Instance.new('Model', char)
  786.  
  787. coroutine.resume(coroutine.create(function()
  788. while true do
  789. game:GetService("RunService").RenderStepped:wait()
  790. VolNum.Text = Volume
  791. s.Volume = Volume
  792. end
  793. end))
  794.  
  795. local Notes = {}
  796. game:service'RunService'.RenderStepped:connect(function()
  797. angle = (angle % 100) + anglespeed/10
  798. local rscf = rsc0
  799. local lscf = lsc0
  800. local rjcf = rootc0
  801. local ncf = neckc0
  802. local rlcf = rlc0
  803. local llcf = llc0
  804. local jumpray = Ray.new(rootpart.Position, Vector3.new(0, -4.1, 0))
  805. local jumphit, jumppos = workspace:FindPartOnRayWithIgnoreList(jumpray, {char, parts, Crack, SplashEffect, SplashEffect2})
  806. do --Right leg effect
  807. local ray = Ray.new(rl.CFrame.p, ((rl.CFrame*CFrame.new(0,-1,0)).p - rl.Position).unit*1)
  808. local hit,hitz, normal = workspace:FindPartOnRay(ray, char)
  809. if hit and hit:IsA'BasePart' and hitz then
  810. if SplashEffect.Parent == nil then
  811. local COLOR = SplashColors[math.random(1,#SplashColors)];
  812. SplashEffect.Parent = parts
  813. SplashEffect.Transparency = 0.2
  814. SplashEffect.BrickColor = BrickColor.new(COLOR)
  815. SplashEffect.Size = Vector3.new(.2,.2,.2)
  816. SplashEffectImage.ImageColor3 = COLOR;
  817. SplashEffectImage.ImageTransparency = 0
  818. SplashEffect.CFrame = CFrame.new(hitz, hitz+normal) * CFrame.Angles(-math.pi/2, 0, 0) * CFrame.new(0, -.65, 0)
  819. Splash1cframe = SplashEffect.CFrame
  820. light.Color = SplashEffectImage.ImageColor3
  821. light.Brightness = 1
  822. light.Range = 8
  823. if Not == true then
  824. for i = 1, math.random(6,10) do
  825. local Note = Instance.new('Part', parts)
  826. Note.CanCollide = false
  827. Note.Material = "Neon"
  828. Note.Anchored = true
  829. Note.CFrame = SplashEffect.CFrame * CFrame.new(math.random(-4,4), -2, math.random(-4,4)) * CFrame.Angles(math.pi/2+math.random(-50,50)/220,math.random(-50,50)/220,math.random(-50,50)/20)
  830. Note.Color = SplashEffectImage.ImageColor3
  831. Note.Size = Vector3.new(1,1,1)
  832. local mesh = Instance.new('SpecialMesh', Note)
  833. mesh.MeshId = "rbxassetid://1088207"
  834. mesh.Scale = Vector3.new(.1-math.random()/5,.1-math.random()/5,.1-math.random()/5)
  835. table.insert(Notes,Note)
  836. end
  837. end
  838. wait(1)
  839. SplashEffect.Parent = nil
  840. Splash1cframe = nil
  841. end
  842. end
  843. end
  844. do --Left leg effect
  845. local ray = Ray.new(ll.CFrame.p, ((ll.CFrame*CFrame.new(0,-1,0)).p - ll.Position).unit*1)
  846. local hit,hitz, normal = workspace:FindPartOnRay(ray, char)
  847. if hit and hit:IsA'BasePart' and hitz then
  848. if SplashEffect2.Parent == nil then
  849. local COLOR = SplashColors[math.random(1,#SplashColors)];
  850. SplashEffect2.Parent = parts
  851. SplashEffect2.Transparency = 0.2
  852.  
  853. SplashEffect2.BrickColor = BrickColor.new(COLOR)
  854. SplashEffect2.Size = Vector3.new(.2,.2,.2)
  855. SplashEffect2Image.ImageColor3 = COLOR;
  856. SplashEffect2Image.ImageTransparency = 0
  857. SplashEffect2.CFrame = CFrame.new(hitz, hitz+normal) * CFrame.Angles(-math.pi/2, 0, 0) * CFrame.new(0, -.65, 0)
  858. Splash2cframe = SplashEffect2.CFrame
  859. light2.Color = SplashEffect2Image.ImageColor3
  860. light2.Brightness = 1
  861. light2.Range = 8
  862. if Not == true then
  863. for i = 1, math.random(6,10) do
  864. local Note = Instance.new('Part', parts)
  865. Note.CanCollide = false
  866. Note.Material = "Neon"
  867. Note.Anchored = true
  868. Note.CFrame = SplashEffect2.CFrame * CFrame.new(math.random(-4,4), -2, math.random(-4,4)) * CFrame.Angles(math.pi/2+math.random(-50,50)/220,math.random(-50,50)/220,math.random(-50,50)/20)
  869. Note.Color = SplashEffect2Image.ImageColor3
  870. Note.Size = Vector3.new(1,1,1)
  871. local mesh = Instance.new('SpecialMesh', Note)
  872. mesh.MeshId = "rbxassetid://1088207"
  873. mesh.Scale = Vector3.new(.1-math.random()/5,.1-math.random()/5,.1-math.random()/5)
  874. table.insert(Notes,Note)
  875. end
  876. end
  877. wait(1)
  878. SplashEffect2.Parent = nil
  879. Splash2cframe = nil
  880. end
  881. end
  882. end
  883. if Action == 'Dancing' then
  884. anglespeed = .95
  885. llcf = llc0 * CFrame.new(0, .2, -math_pos(math.asin(math.sin(angle))*.2)) * CFrame.Angles(math_pos(math.asin(math.sin(angle))*.2)-.12, 0, -.02)
  886. rlcf = rlc0 * CFrame.new(0, .2, -math_pos(math.asin(math.sin(angle))*.2)) * CFrame.Angles(math_pos(math.asin(math.sin(angle))*.2), 0, .02)
  887. rscf = rsc0 * CFrame.Angles(math.rad(70) - math.asin(math.sin(angle))*1.5, 0, 0)
  888. lscf = lsc0 * CFrame.Angles(math.rad(10) - math.asin(math.sin(angle))*.45, 0, -.1)
  889. rjcf = rootc0 * CFrame.new(0, -.2 + -math_neg(math.asin(math.sin(angle))*2), 0) * CFrame.Angles(-math_pos(math.asin(math.sin(angle))*.2), 0, 0)
  890. ncf = neckc0 * CFrame.Angles(-math_neg(math.asin(math.sin(angle))*.2), 0, 0)
  891. elseif Action == 'Dancing2' then
  892. anglespeed = 1.15
  893. llcf = llc0 * CFrame.new(0, -math_neg(math.sin((angle+2)*2))*.2, math_neg(math.sin((angle+4)*2)*.6)) * CFrame.Angles(-math.abs(math.asin(math.sin(angle))*.05), 0, -.02)
  894. rlcf = rlc0 * CFrame.new(0, -math_neg(math.sin(angle*2))*.2, math_neg(math.sin(angle*2)*.6)) * CFrame.Angles(-math.abs(math.asin(math.sin(angle))*.05), 0, .02)
  895. rscf = rsc0 * CFrame.Angles(math.rad(140) - math.sin(angle*1.5+(math.random()/2))*.65, 0, -.2 + math.abs(math.asin(math.sin(angle)))*.35)
  896. lscf = lsc0 * CFrame.Angles(math.rad(140) - math.sin(angle*1.5+(math.random()/2))*.65, 0, .2 - math.abs(math.asin(math.sin(angle)))*.35)
  897. rjcf = rootc0 * CFrame.new(0, -.1 + -math_neg(math.sin(angle*2)*.8), 0) * CFrame.Angles(0, 0, 0)
  898. ncf = neckc0 * CFrame.Angles(-math_neg(math.sin(angle/2)*.2), 0, math.asin(math.sin(angle))*.2)
  899. elseif Action == 'Dancing3' then
  900. anglespeed = .95
  901. rjcf = rootc0 * CFrame.new(math.asin(math.sin(angle))*.1, 0, 0) * CFrame.Angles(0,math.asin(math.sin(angle))*.05,0)
  902. rlcf = rlc0 * CFrame.new(0, -.05 + math_pos(-math.asin(math.sin(angle)))*.5, -math_pos(-math.asin(math.sin(angle)))*.5) * CFrame.Angles(-math_pos(-math.asin(math.sin(angle)))*.4,0,.075 + -math.asin(math.sin(angle))*.05)
  903. llcf = llc0 * CFrame.new(0, -.05 + math_pos(math.asin(math.sin(angle)))*.5, -math_pos(math.asin(math.sin(angle)))*.5) * CFrame.Angles(-math_pos(math.asin(math.sin(angle)))*.4,0,-.075 + -math.asin(math.sin(angle))*.05)
  904. rscf = rsc0 * CFrame.new(0, 0, math.abs(math.asin(math.sin(angle)))*.15) * CFrame.Angles(math.rad(30) + math.abs(math.asin(math.sin(angle)))*.95, 0, math.asin(math.sin(angle))*.8)
  905. lscf = lsc0 * CFrame.new(0, 0, math.abs(math.asin(math.sin(angle)))*.15) * CFrame.Angles(math.rad(30) + math.abs(math.asin(math.sin(angle)))*.95, 0, math.asin(math.sin(angle))*.8)
  906. ncf = neckc0 * CFrame.Angles(0,-math.asin(math.sin(angle))*.5,0)
  907. elseif Action == false then
  908. if not jumphit then
  909. anglespeed = 2
  910. rlcf = rlc0 * CFrame.new(0, .15, -.15) * CFrame.Angles(-.1 - math.asin(math.sin(angle))*.05, 0, 0)
  911. llcf = llc0 * CFrame.new(0, .15, -.15) * CFrame.Angles(-.1 + math.asin(math.sin(angle))*.05, 0, 0)
  912. lscf = lsc0 * CFrame.Angles(math_min(math_max(math.rad(-torso.Velocity.y), -10), 10) - math.asin(math.sin(angle))*.05, 0, 0)
  913. rscf = rsc0 * CFrame.Angles(math_min(math_max(math.rad(-torso.Velocity.y), -10), 10) + math.asin(math.sin(angle))*.05, 0, 0)
  914. elseif Vector3.new(torso.Velocity.x,0,torso.Velocity.z).magnitude < 2 then
  915. anglespeed = .75
  916. ncf = neckc0 * CFrame.Angles(math.abs(math.asin(math.sin(angle))*.15), math.asin(math.sin(angle))*.15, 0)
  917. rjcf = rootc0 * CFrame.new(math.asin(math.sin(angle))*.1, 0, 0)
  918. rlcf = rlc0 * CFrame.new(0, -.05 + math_pos(-math.asin(math.sin(angle)))*.25, -math_pos(-math.asin(math.sin(angle)))*.25) * CFrame.Angles(-math_pos(-math.asin(math.sin(angle)))*.24,0,.075 + -math.asin(math.sin(angle))*.05)
  919. llcf = llc0 * CFrame.new(0, -.05 + math_pos(math.asin(math.sin(angle)))*.25, -math_pos(math.asin(math.sin(angle)))*.25) * CFrame.Angles(-math_pos(math.asin(math.sin(angle)))*.24,0,-.075 + -math.asin(math.sin(angle))*.05)
  920. rscf = rsc0 * CFrame.Angles(-math.asin(math.sin(angle))*.25, 0, .015)
  921. lscf = lsc0 * CFrame.Angles(math.asin(math.sin(angle))*.25, 0, -.015)
  922. elseif Vector3.new(torso.Velocity.x,0,torso.Velocity.z).magnitude > 2 then
  923. anglespeed = 1
  924. rjcf = rootc0 * CFrame.new(math.asin(math.sin(angle))*.025, .05 - math.cos(angle*2)*.025, 0) * CFrame.Angles(-.15 + -math.abs(math.cos(angle)*.025),math.asin(math.sin(angle))*.025,0)
  925. rlcf = rlc0 * CFrame.new(0, -.05 + math_pos(math.cos(angle - 0.25)*.3), math_neg(-math.asin(math.sin(angle))*.2)) * CFrame.Angles(-.025 + math.asin(math.sin(angle))*.4,0,.025 + -math.asin(math.sin(angle))*.025)
  926. llcf = llc0 * CFrame.new(0, -.05 + math_pos(-math.cos(angle - 0.25)*.3), math_neg(math.asin(math.sin(angle))*.2)) * CFrame.Angles(-.025 - math.asin(math.sin(angle))*.4,0,-.025 + -math.asin(math.sin(angle))*.025)
  927. rscf = rsc0 * CFrame.Angles(.5 - math.asin(math.sin(angle))*.9, 0, math.asin(math.sin(angle))*.2)
  928. lscf = lsc0 * CFrame.Angles(.5 + math.asin(math.sin(angle))*.9, 0, math.asin(math.sin(angle))*.2)
  929. end
  930. end
  931. if SplashEffect.Parent ~= nil then
  932. if light then
  933. light.Range = light.Range + 1
  934. light.Brightness = light.Brightness - .045
  935. end
  936. SplashEffect.Size = SplashEffect.Size + Vector3.new(1.25,0,1.25)
  937. SplashEffectImage.ImageTransparency = SplashEffectImage.ImageTransparency + .045
  938. SplashEffect.Transparency = SplashEffect.Transparency + .025
  939. SplashEffect.CFrame = Splash1cframe
  940. end
  941.  
  942. if Crack.Parent ~= nil then
  943. if Image.Transparency > 1 then Crack.Parent = nil end
  944. Image.Transparency = Image.Transparency + .045
  945. end
  946.  
  947. if SplashEffect2.Parent ~= nil then
  948. if light2 then
  949. light2.Range = light2.Range + 1
  950. light2.Brightness = light2.Brightness - .045
  951. end
  952. SplashEffect2.Size = SplashEffect2.Size + Vector3.new(1.25,0,1.25)
  953. SplashEffect2Image.ImageTransparency = SplashEffect2Image.ImageTransparency + .045
  954. SplashEffect2.Transparency = SplashEffect2.Transparency + .025
  955. SplashEffect2.CFrame = Splash2cframe
  956. end
  957.  
  958. for i,v in pairs(Notes) do
  959. if v and v:IsA'BasePart' then
  960. if v.Transparency > 1 then
  961. v:Destroy()
  962. table.remove(Notes, i)
  963. end
  964. v.CFrame = v.CFrame * CFrame.new(0,0,-.285)
  965. v.Transparency = v.Transparency + .025
  966. end
  967. end
  968.  
  969. if Action ~= false then
  970. if torso.Velocity.magnitude > 2 then
  971. Action = false
  972. end
  973. end
  974.  
  975. rlegm.C0 = clerp(rlegm.C0,rlcf,speed)
  976. llegm.C0 = clerp(llegm.C0,llcf,speed)
  977. rj.C0 = clerp(rj.C0,rjcf,speed)
  978. rm.C0 = clerp(rm.C0,rscf,speed)
  979. lm.C0 = clerp(lm.C0,lscf,speed)
  980. rj.C0 = clerp(rj.C0,rjcf,speed)
  981. neck.C0 = clerp(neck.C0,ncf,speed)
  982. end)
  983.  
  984. plr.Chatted:connect(function(msg)
  985. if (msg:sub(1,4) == "/mc ") then
  986. s:stop();
  987. s.SoundId = "rbxassetid://"..msg:sub(5);
  988. s:play();
  989. elseif msg:lower() == "/mc epicsaxguy" then
  990. s:stop()
  991. s.SoundId = "rbxassetid://130775431"
  992. s:play()
  993. elseif msg:lower() == "/mc shirushi" then
  994. s:stop()
  995. s.SoundId = "rbxassetid://186565262"
  996. s:play()
  997. end
  998. end)
  999.  
  1000.  
  1001. while true do
  1002. for i = 0,140,15 do
  1003. frame.Size = UDim2.new(1,350 - i,1,350 - i)
  1004. frame.Rotation = 0+math.random()
  1005. frame.Position = UDim2.new(0,-frame.Size.X.Offset*.5,0,-frame.Size.Y.Offset*.5)
  1006. game:service'RunService'.RenderStepped:wait()
  1007. end
  1008. for i = 140,5, -15 do
  1009. frame.Size = UDim2.new(1,350 - i,1,350 - i)
  1010. frame.Rotation = 0+math.random(-10,10)/10
  1011. frame.Position = UDim2.new(0,-frame.Size.X.Offset*.5,0,-frame.Size.Y.Offset*.5)
  1012. game:service'RunService'.RenderStepped:wait()
  1013. end
  1014. for i = 5,25,15 do
  1015. frame.Rotation = 0-math.random()
  1016. frame.Size = UDim2.new(1,350 - i,1,350 - i)
  1017. frame.Position = UDim2.new(0,-frame.Size.X.Offset*.5,0,-frame.Size.Y.Offset*.5)
  1018. game:service'RunService'.RenderStepped:wait()
  1019. end
  1020. for i = 25,0,-15 do
  1021. frame.Rotation = 0+math.random()
  1022. frame.Size = UDim2.new(1,350 - i,1,350 - i)
  1023. frame.Position = UDim2.new(0,-frame.Size.X.Offset*.5,0,-frame.Size.Y.Offset*.5)
  1024. game:service'RunService'.RenderStepped:wait()
  1025. end
  1026. for i = 0,75,-15 do
  1027. frame.Rotation = 0-math.random()
  1028. frame.Size = UDim2.new(1,350 - i,1,350 - i)
  1029. frame.Position = UDim2.new(0,-frame.Size.X.Offset*.5,0,-frame.Size.Y.Offset*.5)
  1030. game:service'RunService'.RenderStepped:wait()
  1031. end
  1032. for i = 75,0,-15 do
  1033. frame.Rotation = 0
  1034. frame.Size = UDim2.new(1,350 - i,1,350 - i)
  1035. frame.Position = UDim2.new(0,-frame.Size.X.Offset*.5,0,-frame.Size.Y.Offset*.5)
  1036. game:service'RunService'.RenderStepped:wait()
  1037. end
  1038. end
  1039. end,o1)
  1040. end)
  1041. mas.Parent = workspace
  1042. mas:MakeJoints()
  1043. local mas1 = mas:GetChildren()
  1044. for i=1,#mas1 do
  1045. mas1[i].Parent = script
  1046. ypcall(function() mas1[i]:MakeJoints() end)
  1047. end
  1048. mas:Destroy()
  1049. for i=1,#cors do
  1050. spawn(cors[i])
  1051. end
  1052.  
  1053. game:GetService("Lighting").Ambient = Color3.new(0, 0, 0)
  1054. game:GetService("Lighting").Brightness = 1
  1055. game:GetService("Lighting").ColorShift_Bottom = Color3.new(0, 0, 0)
  1056. game:GetService("Lighting").ColorShift_Top = Color3.new(0, 0, 0)
  1057. game:GetService("Lighting").GlobalShadows = true
  1058. game:GetService("Lighting").OutdoorAmbient = Color3.new(0.5, 0.5, 0.5)
  1059. game:GetService("Lighting").Outlines = true
  1060. game:GetService("Lighting").GeographicLatitude = 41.733299255371
  1061. game:GetService("Lighting").TimeOfDay = "14:00:00"
  1062. game:GetService("Lighting").FogColor = Color3.new(0.75, 0.75, 0.75)
  1063. game:GetService("Lighting").FogEnd = 100000
  1064. game:GetService("Lighting").FogStart = 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement