Advertisement
AxeuerAlt

Magic 8 Ball Gear||Roblox||Void Script Builder

Jul 10th, 2019
283
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.63 KB | None | 0 0
  1. print("-- It Actully Works Just Tell It A Question In Real life And Shake It In Game :D"
  2. ) -- Converted using Mokiros's Model to Script plugin
  3. -- Converted string size: 1023
  4.  
  5. local Scripts = { function()
  6. a=game:service("RunService")local h=script.Parent local i=0 local j=nil function b()if not h.Enabled then return end h.Enabled=false c=a.Stepped:wait()if(c-i<0.6)then j=h.Parent:FindFirstChild("Humanoid")if j~=nil then d()end else e()end i=c h.Enabled=true end function e()h.Handle.Shake:Play()local k=h.Parent local l=game.Players:playerFromCharacter(k)f=h:FindFirstChild("ScreenGui")if f~=nil then f=h:FindFirstChild("ScreenGui"):clone()f.Parent=l.PlayerGui end h.GripPos=Vector3.new(0.3,-0.4,0)wait(.1)h.GripPos=Vector3.new(-0.3,-0.4,0)wait(.1)h.GripPos=Vector3.new(0.3,-0.4,0)wait(.1)h.GripPos=Vector3.new(-0.3,-0.4,0)wait(.1)h.GripPos=Vector3.new(0,-0.4,0)h.Handle.Shake:Stop()end function d()h.Parent=game.Workspace local k=j.Parent local l=k.Head.CFrame.lookVector h.Handle.Velocity=l*100 end h.Activated:connect(b)while true do g=game.Players:getChildren()if g~=nil then wait(math.random(1,#g))if#g>0 then math.random(1,#g)end end wait(1)end
  7. end; function()
  8. if script.Parent.Parent.Name=="PlayerGui"then script.Parent.TextBox.Visible=false local a="Always ask yourself, would a noob do this?"local b="Yes"local c="No"local d="Looks like it!"local e="Maybe"local f="Signs point to yes"local g="As I see it, yes"local h="It is certain"local i="It is decidedly so"local j="Reply hazy, try again"local k="Better not tell you..."local l="Very doubtful"local m="Don't count on it"local n="Sources say no..."local o="The future is uncertain right now"local p="I have no idea"local q="j00R PhU7UR3 15 L337"local r="I'm pretty tired"local s="Blame John"local t="ZOMG HAX!"local u="it's OVAR 9000!!!111"local v={a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u}script.Parent.TextBox.Text=v[math.random(1,#v)]script.Parent.TextBox.Visible=true wait(3)script.Parent:remove()end
  9. end;}local ActualScripts = {}
  10. function s(var)
  11. local func = table.remove(Scripts,1)
  12. setfenv(func,setmetatable({script=var},{
  13. __index = getfenv(func),
  14. }))
  15. table.insert(ActualScripts,coroutine.wrap(func))
  16. end
  17.  
  18. local Decode = function(str,t,props,classes,values,ICList,Model,CurPar,LastIns,split,RemoveAndSplit,InstanceList)
  19. local tonum,table_remove,inst,parnt,comma,table_foreach = tonumber,table.remove,Instance.new,"Parent",",",
  20. function(t,f)
  21. for a,b in pairs(t) do
  22. f(a,b)
  23. end
  24. end
  25. local Types = {
  26. Color3 = Color3.new,
  27. Vector3 = Vector3.new,
  28. Vector2 = Vector2.new,
  29. UDim = UDim.new,
  30. UDim2 = UDim2.new,
  31. CFrame = CFrame.new,
  32. Rect = Rect.new,
  33. NumberRange = NumberRange.new,
  34. NumberSequence = function(...)
  35. local a = {...}
  36. local t = {}
  37. repeat
  38. t[#t+1] = NumberSequenceKeypoint.new(table_remove(a,1),table_remove(a,1),table_remove(a,1))
  39. until #a==0
  40. return NumberSequence.new(t)
  41. end,
  42. ColorSequence = function(...)
  43. local a = {...}
  44. local t = {}
  45. repeat
  46. t[#t+1] = ColorSequenceKeypoint.new(table_remove(a,1),Color3.new(table_remove(a,1),table_remove(a,1),table_remove(a,1)))
  47. until #a==0
  48. return ColorSequence.new(t)
  49. end,
  50. number = tonumber,
  51. boolean = function(a)
  52. return a=="1"
  53. end
  54. }
  55. split = function(str,sep)
  56. if not str then return end
  57. local fields = {}
  58. local ConcatNext = false
  59. str:gsub(("([^%s]+)"):format(sep),function(c)
  60. if ConcatNext == true then
  61. fields[#fields] = fields[#fields]..sep..c
  62. ConcatNext = false
  63. else
  64. fields[#fields+1] = c
  65. end
  66. if c:sub(#c)=="\\" then
  67. c = fields[#fields]
  68. fields[#fields] = c:sub(1,#c-1)
  69. ConcatNext = true
  70. end
  71. end)
  72. return fields
  73. end
  74. RemoveAndSplit = function(t)
  75. return split(table_remove(t,1),comma)
  76. end
  77. t = split(str,";")
  78. props = RemoveAndSplit(t)
  79. classes = RemoveAndSplit(t)
  80. values = split(table_remove(t,1),'|')
  81. ICList = RemoveAndSplit(t)
  82. InstanceList = {}
  83. Model = inst"Model"
  84. CurPar = Model
  85. table_foreach(t,function(ct,c)
  86. if c=="n" or c=="p" then
  87. CurPar = c=="n" and LastIns or CurPar[parnt]
  88. else
  89. ct = split(c,"|")
  90. local class = classes[tonum(table_remove(ct,1))]
  91. if class=="UnionOperation" then
  92. LastIns = {Locked="true",Anchored="true",UsePartColor="true"}
  93. else
  94. LastIns = inst(class)
  95. if LastIns:IsA"Script" then
  96. s(LastIns)
  97. end
  98. end
  99.  
  100. local function SetProperty(LastIns,p,str,s)
  101. s = Types[typeof(LastIns[p])]
  102. LastIns[p] = s and s(unpack(split(str,comma))) or str
  103. end
  104.  
  105. local UnionData
  106. table_foreach(ct,function(s,p,a,str)
  107. a = p:find":"
  108. p,str = props[tonum(p:sub(1,a-1))],values[tonum(p:sub(a+1))]
  109. if p=="UnionData" then
  110. UnionData = split(str," ")
  111. return
  112. end
  113. if class=="UnionOperation" then
  114. LastIns[p] = str
  115. return
  116. end
  117. SetProperty(LastIns,p,str)
  118. end)
  119.  
  120. if UnionData then
  121. local LI_Data = LastIns
  122. LastIns = DecodeUnion(UnionData)
  123. table_foreach(LI_Data,function(p,str)
  124. SetProperty(LastIns,p,str)
  125. end)
  126. end
  127. table.insert(InstanceList,LastIns)
  128. LastIns[parnt] = CurPar
  129. end
  130. end)
  131. table_remove(ICList,1)
  132. table_foreach(ICList,function(a,b)
  133. b = split(b,">")
  134. InstanceList[tonum(b[1])][props[tonum(b[2])]] = InstanceList[tonum(b[3])]
  135. end)
  136.  
  137. return Model:GetChildren()
  138. end
  139.  
  140. local Objects = Decode('Name,TextureId,Grip,GripPos,GripForward,GripUp,Position,Size,BackgroundColor3,BackgroundTransparency,BorderSizePixel,ZIndex,Text,TextColor3,TextWrapped,TextYAlignment,Active,Image,Color,Shape,BottomSu'
  141. ..'rface,TopSurface,SoundId,MeshId,MeshType;Part,Tool,Script,ScreenGui,TextLabel,ImageLabel,Sound,SpecialMesh;Part|Magic8Ball|http://www.roblox.com/asset/?id=25677656|0,-0.401,0,1,0,-0,0,0,-1,0,1,-0|0,-0'
  142. ..'.401,0|0,1,0|0,0,1|8BallScript|GuiScript|TextBox|0.452,0,0.15,0|0.12,0,0.189,0|0.694,0.69,0.701|1|0|2|Magic 8 Ball|1,1,1|0|0.36,0,0.1,0|0.3,0,0.419,0|0.69,0.686,0.698|http://www.roblox.com/asset/?id= '
  143. ..'25594296|Handle|0.105,0.164,0.207|12.5,0.5,17.5|Shake|http://www.roblox.com/asset/?id=25596918|http://www.roblox.com/asset/?id=25674043|http://www.roblox.com/asset/?id=27763356|5;0;2|1:2|2:3|3:4|4:5|5'
  144. ..':6|6:7;n;3|1:8;4;n;3|1:9;5|1:10|7:11|8:12|9:13|10:14|11:15|12:16|13:17|14:18|15:14|16:19;6|7:20|8:21|17:14|9:22|10:14|11:15|18:23;p;1|1:24|19:25|7:26|8:18|20:19|21:19|22:19|19:25|19:25;n;7|1:27|23:28;'
  145. ..'8|24:29|2:30|25:31;p;p;')
  146. for _,Object in pairs(Objects) do
  147. Object.Parent = script and script.Parent==workspace and script or workspace
  148. end
  149. for _,f in pairs(ActualScripts) do f() end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement