Advertisement
Animescapetower

Untitled

Aug 31st, 2018
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.79 KB | None | 0 0
  1. --[[
  2. Again, This time i may update this, very very soon, also copying this would be idiotic since if you do you may be counted as a skid and a script copier, People may also edit this which may also make you a editor, So Don't copy, let people enjoy editing and making this script famous, Basically this uses a GUI i made, so, ehm, this uses my own idea to use for n =number,number do end since it's smooth i guess, you can test it out on void and other games then this, you are also welcomed as a tester, so bye!
  3. ]]
  4. -- aaa the fe converter is copied pasted --
  5. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  6. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  7. do
  8. print("FE Compatibility code by Mokiros")
  9. script.Parent = Player.Character
  10.  
  11. --RemoteEvent for communicating
  12. local Event = Instance.new("RemoteEvent")
  13. Event.Name = "UserInput_Event"
  14.  
  15. --Fake event to make stuff like Mouse.KeyDown work
  16. local function fakeEvent()
  17. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  18. t.connect = t.Connect
  19. return t
  20. end
  21.  
  22. --Creating fake input objects with fake variables
  23. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  24. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  25. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  26. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  27. end}
  28. --Merged 2 functions into one by checking amount of arguments
  29. CAS.UnbindAction = CAS.BindAction
  30.  
  31. --This function will trigger the events that have been :Connect()'ed
  32. local function te(self,ev,...)
  33. local t = m[ev]
  34. if t and t._fakeEvent and t.Function then
  35. t.Function(...)
  36. end
  37. end
  38. m.TrigEvent = te
  39. UIS.TrigEvent = te
  40.  
  41. Event.OnServerEvent:Connect(function(plr,io)
  42. if plr~=Player then return end
  43. if io.isMouse then
  44. m.Target = io.Target
  45. m.Hit = io.Hit
  46. else
  47. local b = io.UserInputState == Enum.UserInputState.Begin
  48. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  49. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  50. end
  51. for _,t in pairs(CAS.Actions) do
  52. for _,k in pairs(t.Keys) do
  53. if k==io.KeyCode then
  54. t.Function(t.Name,io.UserInputState,io)
  55. end
  56. end
  57. end
  58. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  59. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  60. end
  61. end)
  62. Event.Parent = NLS([==[
  63. local Player = game:GetService("Players").LocalPlayer
  64. local Event = script:WaitForChild("UserInput_Event")
  65.  
  66. local UIS = game:GetService("UserInputService")
  67. local input = function(io,a)
  68. if a then return end
  69. --Since InputObject is a client-side instance, we create and pass table instead
  70. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  71. end
  72. UIS.InputBegan:Connect(input)
  73. UIS.InputEnded:Connect(input)
  74.  
  75. local Mouse = Player:GetMouse()
  76. local h,t
  77. --Give the server mouse data 30 times every second, but only if the values changed
  78. --If player is not moving their mouse, client won't fire events
  79. while wait(1/30) do
  80. if h~=Mouse.Hit or t~=Mouse.Target then
  81. h,t=Mouse.Hit,Mouse.Target
  82. Event:FireServer({isMouse=true,Target=t,Hit=h})
  83. end
  84. end]==],Player.Character)
  85. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  86. end
  87.  
  88. wait(0.1)
  89.  
  90. player = owner
  91. char = player.Character
  92. visual = true
  93. Frame1 = Instance.new("Frame")
  94. TextBox2 = Instance.new("TextBox")
  95. TextBox3 = Instance.new("TextBox")
  96. TextBox4 = Instance.new("TextBox")
  97. TextButton5 = Instance.new("TextButton")
  98. TextButton6 = Instance.new("TextButton")
  99. Frame12 = Instance.new("Frame")
  100. TextLabel13 = Instance.new("TextLabel")
  101. ScreenGui0 =Instance.new("ScreenGui")
  102. ScreenGui0.Parent = player.PlayerGui
  103. Frame1.Parent = ScreenGui0
  104. Frame1.Position = UDim2.new(0.0673828125, 0, 0.261770248, 0)
  105. Frame1.Size = UDim2.new(0, 311, 0, 344)
  106. Frame1.BackgroundColor = BrickColor.new("Institutional white")
  107. Frame1.BackgroundColor3 = Color3.new(1, 1, 1)
  108. Frame1.Style = Enum.FrameStyle.DropShadow
  109. TextBox2.Name = "ID"
  110. TextBox2.Parent = Frame1
  111. TextBox2.Position = UDim2.new(0.156463534, 0, 0.107448623, 0)
  112. TextBox2.Size = UDim2.new(0, 200, 0, 50)
  113. TextBox2.BackgroundColor = BrickColor.new("Dark stone grey")
  114. TextBox2.BackgroundColor3 = Color3.new(0.388235, 0.388235, 0.388235)
  115. TextBox2.BackgroundTransparency = 0.89999997615814
  116. TextBox2.Font = Enum.Font.SourceSans
  117. TextBox2.FontSize = Enum.FontSize.Size14
  118. TextBox2.Text = "Sound ID Here"
  119. TextBox2.TextColor = BrickColor.new("Really black")
  120. TextBox2.TextColor3 = Color3.new(0, 0, 0)
  121. TextBox2.TextScaled = true
  122. TextBox2.TextSize = 14
  123. TextBox2.TextWrap = true
  124. TextBox2.TextWrapped = true
  125. TextBox3.Name = "Vol"
  126. TextBox3.Parent = Frame1
  127. TextBox3.Position = UDim2.new(0.156463534, 0, 0.359523475, 0)
  128. TextBox3.Size = UDim2.new(0, 200, 0, 50)
  129. TextBox3.BackgroundColor = BrickColor.new("Dark stone grey")
  130. TextBox3.BackgroundColor3 = Color3.new(0.388235, 0.388235, 0.388235)
  131. TextBox3.BackgroundTransparency = 0.89999997615814
  132. TextBox3.Font = Enum.Font.SourceSans
  133. TextBox3.FontSize = Enum.FontSize.Size14
  134. TextBox3.Text = " Volume Num Value Here"
  135. TextBox3.TextColor = BrickColor.new("Really black")
  136. TextBox3.TextColor3 = Color3.new(0, 0, 0)
  137. TextBox3.TextScaled = true
  138. TextBox3.TextSize = 14
  139. TextBox3.TextWrap = true
  140. TextBox3.TextWrapped = true
  141. TextBox4.Name = "Pitch"
  142. TextBox4.Parent = Frame1
  143. TextBox4.Position = UDim2.new(0.156463534, 0, 0.563165188, 0)
  144. TextBox4.Size = UDim2.new(0, 200, 0, 50)
  145. TextBox4.BackgroundColor = BrickColor.new("Dark stone grey")
  146. TextBox4.BackgroundColor3 = Color3.new(0.388235, 0.388235, 0.388235)
  147. TextBox4.BackgroundTransparency = 0.89999997615814
  148. TextBox4.Font = Enum.Font.SourceSans
  149. TextBox4.FontSize = Enum.FontSize.Size14
  150. TextBox4.Text = "Pitch Num Value Here"
  151. TextBox4.TextColor = BrickColor.new("Really black")
  152. TextBox4.TextColor3 = Color3.new(0, 0, 0)
  153. TextBox4.TextScaled = true
  154. TextBox4.TextSize = 14
  155. TextBox4.TextWrap = true
  156. TextBox4.TextWrapped = true
  157. TextButton5.Parent = Frame1
  158. TextButton5.Position = UDim2.new(0.156463534, 0, 0.802752614, 0)
  159. TextButton5.Size = UDim2.new(0, 200, 0, 50)
  160. TextButton5.BackgroundColor = BrickColor.new("Institutional white")
  161. TextButton5.BackgroundColor3 = Color3.new(1, 1, 1)
  162. TextButton5.BackgroundTransparency = 1
  163. TextButton5.Font = Enum.Font.SourceSans
  164. TextButton5.FontSize = Enum.FontSize.Size14
  165. TextButton5.Text = "Change Sound"
  166. TextButton5.TextColor = BrickColor.new("Really black")
  167. TextButton5.TextColor3 = Color3.new(0, 0, 0)
  168. TextButton5.TextSize = 14
  169.  
  170.  
  171. TextButton6.Parent = Frame1
  172. TextButton6.Position = UDim2.new(0.156463534, 0, 0.702752614, 0)
  173. TextButton6.Size = UDim2.new(0, 200, 0, 50)
  174. TextButton6.BackgroundColor = BrickColor.new("Institutional white")
  175. TextButton6.BackgroundColor3 = Color3.new(1, 1, 1)
  176. TextButton6.BackgroundTransparency = 1
  177. TextButton6.Font = Enum.Font.SourceSans
  178. TextButton6.FontSize = Enum.FontSize.Size14
  179. TextButton6.Text = "Activate Visualizer"
  180. TextButton6.TextColor = BrickColor.new("Really black")
  181. TextButton6.TextColor3 = Color3.new(0, 0, 0)
  182. TextButton6.TextSize = 14
  183.  
  184. Frame12.Name = "Title"
  185. Frame12.Parent = ScreenGui0
  186. Frame12.Position = UDim2.new(0.0673828125, 0, 0.0659133717, 0)
  187. Frame12.Size = UDim2.new(0, 311, 0, 91)
  188. Frame12.BackgroundColor = BrickColor.new("Institutional white")
  189. Frame12.BackgroundColor3 = Color3.new(1, 1, 1)
  190. Frame12.Style = Enum.FrameStyle.DropShadow
  191. TextLabel13.Parent = Frame12
  192. TextLabel13.Position = UDim2.new(0.156463534, 0, 0.147534192, 0)
  193. TextLabel13.Size = UDim2.new(0, 200, 0, 50)
  194. TextLabel13.BackgroundColor = BrickColor.new("Institutional white")
  195. TextLabel13.BackgroundColor3 = Color3.new(1, 1, 1)
  196. TextLabel13.BackgroundTransparency = 1
  197. TextLabel13.Font = Enum.Font.SourceSans
  198. TextLabel13.FontSize = Enum.FontSize.Size14
  199. TextLabel13.Text = "Visualizer Command Gui"
  200. TextLabel13.TextColor = BrickColor.new("Really black")
  201. TextLabel13.TextColor3 = Color3.new(0, 0, 0)
  202. TextLabel13.TextScaled = true
  203. TextLabel13.TextSize = 14
  204. TextLabel13.TextWrap = true
  205. TextLabel13.TextWrapped = true
  206.  
  207.  
  208. TextBox2.Text = 0
  209. TextBox3.Text = 4
  210. TextBox4.Text = 1
  211. TextButton5.Visible = false
  212. TextButton6.MouseButton1Click:connect(function()
  213. if visual == true then
  214. visual = false
  215. print("Visualizer was activated")
  216. TextButton6.Text= "Visualizer Was Enabled"
  217. wait(2)
  218. TextButton6.Visible = false
  219. TextButton5.Visible = true
  220.  
  221. mod = Instance.new("Model",char)
  222. mod.Name = "Visualizer Hold"
  223. playing = true
  224. num = 12
  225.  
  226. sound = Instance.new("Sound")
  227. id = 287532293
  228.  
  229. Part0 = Instance.new("Part")
  230. Part0.Parent = mod
  231. Part0.CFrame = CFrame.new(char.HumanoidRootPart.CFrame.p)
  232. Part0.Size = Vector3.new(1,1,1)
  233. Part0.CanCollide = false
  234. Part0.Transparency = 1
  235. Part0.Anchored = true
  236. Part0.BottomSurface = Enum.SurfaceType.Smooth
  237. Part0.TopSurface = Enum.SurfaceType.Smooth
  238.  
  239. mod.PrimaryPart = Part0
  240. i = 0
  241. pressed = true
  242.  
  243. for n =1,num do
  244. wait()
  245. i = i + 10
  246. Part = Part0:Clone()
  247. Part.CFrame = CFrame.new(Part0.CFrame.p) * CFrame.new(i,i,i)
  248. Part.Parent = mod
  249. Part.Material = "Glass"
  250. end
  251.  
  252.  
  253.  
  254. g = mod:GetChildren()
  255.  
  256. for h =1,#g do
  257. if g[h] ~= nil then
  258. mod:GetPrimaryPartCFrame(CFrame.new(char.HumanoidRootPart.CFrame.p) * CFrame.new(0,7,0))
  259. g[h].Material = "Glass"
  260.  
  261.  
  262.  
  263. sound.Volume = 4
  264. sound.Parent = char.HumanoidRootPart
  265. sound.Pitch = 1
  266. sound.Looped = true
  267. sound.SoundId = "rbxassetid://"..id
  268.  
  269.  
  270.  
  271. TextButton5.MouseButton1Click:connect(function()
  272. if pressed == true then
  273. playing = false
  274.  
  275. id = TextBox2.Text
  276. pressed = false
  277. wait()
  278. sound.Volume = TextBox3.Text
  279. sound.Pitch = TextBox4.Text
  280. sound.Looped = true
  281. sound.SoundId = "rbxassetid://"..id
  282. sound:Stop()
  283. wait( 1 )
  284. sound:Play()
  285. pressed = true
  286. playing = true
  287. end
  288. end)
  289.  
  290.  
  291. for n =1,90 do
  292. wait()
  293. g[h].Transparency = g[h].Transparency - 0.05
  294. end
  295.  
  296. wait(2)
  297. sound:Play()
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309. if g[h].Transparency < 0 then
  310.  
  311.  
  312.  
  313.  
  314. while playing do
  315. gc = mod:GetChildren()
  316. mod_ = math.random(1,#gc)
  317. beep = gc[mod_]
  318.  
  319. wait()
  320.  
  321.  
  322. for n =1,80 do
  323. g[h].Size = Vector3.new(sound.PlaybackLoudness/60,sound.PlaybackLoudness/60,sound.PlaybackLoudness/60)
  324. g[h].Transparency = g[h].Transparency - 0.05
  325. wait()
  326. end
  327.  
  328. for n =1,120 do
  329. g[h].Size = Vector3.new(sound.PlaybackLoudness/60,sound.PlaybackLoudness/60,sound.PlaybackLoudness/60)
  330. g[h].Transparency = g[h].Transparency - 0.05
  331. beep.Size = Vector3.new(sound.PlaybackLoudness/60,sound.PlaybackLoudness/60,sound.PlaybackLoudness/60)
  332. beep.Transparency = g[h].Transparency - 0.05
  333. wait()
  334. end
  335.  
  336. for n =1,120 do
  337. wait()
  338. g[h].Orientation = Vector3.new(sound.PlaybackLoudness/12,sound.PlaybackLoudness/12,sound.PlaybackLoudness/12)
  339. beep.Orientation = Vector3.new(sound.PlaybackLoudness/12,sound.PlaybackLoudness/12,sound.PlaybackLoudness/12)
  340. end
  341.  
  342.  
  343.  
  344. end
  345. end
  346. end
  347. end
  348. end
  349. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement