Advertisement
Void_scripter0

island 2

Jun 21st, 2019
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.24 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 = {}
  2. do
  3. script.Parent = owner.Character
  4. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  5. local function NewFakeEvent()
  6. local Bind = Instance.new("BindableEvent")
  7. local Fake;Fake = {Connections = {},
  8. fakeEvent=true;
  9. Connect=function(self,Func)
  10. Bind.Event:connect(Func)
  11. self.Connections[Bind] = true
  12. return setmetatable({Connected = true},{
  13. __index = function (self,Index)
  14. if Index:lower() == "disconnect" then
  15. return function() Fake.Connections[Bind] = false;self.Connected = false end
  16. end
  17. return Fake[Index]
  18. end;
  19. __tostring = function() return "Connection" end;
  20. })
  21. end}
  22. Fake.connect = Fake.Connect;return Fake;
  23. end
  24. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  25. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  26. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  27. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  28. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  29. local function TriggerEvent(self,Event,...)
  30. local Trigger = Mouse[Event]
  31. if Trigger and Trigger.fakeEvent and Trigger.Connections then
  32. for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  33. end
  34. end
  35. Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  36. Event.OnServerEvent:Connect(function(FiredBy,Input)
  37. if FiredBy.Name ~= owner.Name then return end
  38. if Input.MouseEvent then
  39. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  40. else
  41. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  42. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  43. for _,Action in pairs(ContextActionService.Actions) do
  44. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  45. end
  46. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  47. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  48. end
  49. end)
  50. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  51. Event.Parent = NLS([[
  52. local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  53. local Input = function(Input,gameProcessedEvent)
  54. if gameProcessedEvent then return end
  55. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  56. end
  57. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  58. local Hit,Target
  59. while wait(1/30) do
  60. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  61. Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  62. end
  63. end
  64. ]],owner.Character)
  65. end
  66. RealGame = game;game = setmetatable({},{
  67. __index = function (self,Index)
  68. local Sandbox = function (Thing)
  69. if Thing:IsA("Player") then
  70. local RealPlayer = Thing
  71. return setmetatable({},{
  72. __index = function (self,Index)
  73. local Type = type(RealPlayer[Index])
  74. if Type == "function" then
  75. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  76. return function (self)return InternalData["Mouse"] end
  77. end
  78. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  79. end
  80. return RealPlayer[Index]
  81. end;
  82. __tostring = function(self) return RealPlayer.Name end
  83. })
  84. end
  85. end
  86. if RealGame[Index] then
  87. local Type = type(RealGame[Index])
  88. if Type == "function" then
  89. if Index:lower() == "getservice" or Index:lower() == "service" then
  90. return function (self,Service)
  91. local FakeServices = {
  92. ["players"] = function()
  93. return setmetatable({},{
  94. __index = function (self2,Index2)
  95. local RealService = RealGame:GetService(Service)
  96. local Type2 = type(Index2)
  97. if Type2 == "function" then
  98. return function (self,...) return RealService[Index2](RealService,...)end
  99. else
  100. if Index2:lower() == "localplayer" then return Sandbox(owner) end
  101. return RealService[Index2]
  102. end
  103. end;
  104. __tostring = function(self) return RealGame:GetService(Service).Name end
  105. })
  106. end;
  107. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  108. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  109. ["runservice"] = function()
  110. return setmetatable({},{
  111. __index = function(self2,Index2)
  112. local RealService = RealGame:GetService(Service)
  113. local Type2 = type(Index2)
  114. if Type2 == "function" then
  115. return function (self,...) return RealService[Index2](RealService,...) end
  116. else
  117. local RunServices = {
  118. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  119. ["renderstepped"] = function() return RealService["Stepped"] end
  120. }
  121. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  122. return RealService[Index2]
  123. end
  124. end
  125. })
  126. end
  127. }
  128. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  129. return RealGame:GetService(Service)
  130. end
  131. end
  132. return function (self,...) return RealGame[Index](RealGame,...) end
  133. else
  134. if game:GetService(Index) then return game:GetService(Index) end
  135. return RealGame[Index]
  136. end
  137. end
  138. return nil
  139. end
  140. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
  141. --[[
  142. Island Dimension made by Fenrier.
  143. ]]
  144. it=Instance.new
  145. vt=Vector3.new
  146. cf=CFrame.new
  147. euler=CFrame.fromEulerAnglesXYZ
  148. angles=CFrame.Angles
  149. teledebounce=false
  150. teledebounce2=false
  151.  
  152. if workspace.Base:findFirstChild("Tower Model",true) ~= nil then
  153. workspace.Base:findFirstChild("Tower Model",true).Parent = nil
  154. end
  155.  
  156.  
  157. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size,cframe)
  158. local fp = it("Part")
  159. fp.formFactor = formfactor
  160. fp.Parent = parent
  161. fp.Reflectance = reflectance
  162. fp.Transparency = transparency
  163. fp.CanCollide = true
  164. fp.Anchored = true
  165. fp.Locked=true
  166. fp.BrickColor = brickcolor
  167. fp.Name = name
  168. fp.Size = size
  169. fp.CFrame = cframe
  170. fp.BottomSurface="Smooth"
  171. fp.TopSurface="Smooth"
  172. fp:BreakJoints()
  173. return fp
  174. end
  175.  
  176. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  177. local mesh = it(Mesh)
  178. mesh.Parent = part
  179. if Mesh=="SpecialMesh" then
  180. mesh.MeshType = meshtype
  181. mesh.MeshId = meshid
  182. end
  183. mesh.Offset=offset
  184. mesh.Scale=scale
  185. return mesh
  186. end
  187.  
  188. function weld(parent,part0,part1,c0)
  189. local weld = it("Weld")
  190. weld.Parent = parent
  191. weld.Part0 = part0
  192. weld.Part1 = part1
  193. weld.C0 = c0
  194. return weld
  195. end
  196.  
  197. local modelzorz = Instance.new("Model")
  198. modelzorz.Parent = workspace.Base
  199. modelzorz.Name = "Tower Model"
  200. script.Parent=modelzorz
  201.  
  202. local prt1=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part1",vt(2,100,20),cf(100,50,20))
  203. local prt2=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part2",vt(2,100,20),cf(100,50,-20))
  204. local prt3=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part3",vt(2,80,20),cf(100,60,0))
  205. local prt4=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part4",vt(2,100,60),cf(130,50,29)*euler(0,1.57,0))
  206. local prt5=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part5",vt(2,100,60),cf(130,50,-29)*euler(0,1.57,0))
  207. local prt6=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part6",vt(2,100,60),cf(160,50,0))
  208. local prt7=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part7",vt(80,2,80),cf(130,100,0))
  209. local prt8=part(3,modelzorz,0,0,BrickColor.new("Br. yellowish green"),"Part8",vt(20,3,20),cf(150,100,0))
  210. local prt9=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part9",vt(3,3,79.99),cf(91.51,101,0))
  211. local prt10=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part10",vt(3,3,79.99),cf(168.49,101,0))
  212. local prt11=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part11",vt(3,3,79.99),cf(130,101,38.48)*euler(0,1.57,0))
  213. local prt12=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part12",vt(3,3,79.99),cf(130,101,-38.48)*euler(0,1.57,0))
  214. local prt13=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part13",vt(2,20,20),cf(100,110,20))
  215. local prt14=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part14",vt(2,20,20),cf(100,110,-20))
  216. local prt15=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part15",vt(2,20,20),cf(110,110,29)*euler(0,1.57,0))
  217. local prt16=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part16",vt(2,20,20),cf(150,110,29)*euler(0,1.57,0))
  218. local prt17=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part17",vt(2,20,20),cf(160,110,20))
  219. local prt18=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part18",vt(2,20,20),cf(160,110,-20))
  220. local prt19=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part19",vt(2,20,20),cf(110,110,-29)*euler(0,1.57,0))
  221. local prt20=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part20",vt(2,20,20),cf(150,110,-29)*euler(0,1.57,0))
  222. local prt21=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part21",vt(61.9,2,60),cf(130,120,0))
  223. local prt22=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part22",vt(60,2,60),cf(130,128,0))
  224. local prt23=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part23",vt(60,2,60),cf(1500,1500,1500))
  225. local prt24=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part24",vt(2,100,60),prt23.CFrame*cf(-30,50,0))
  226. local prt25=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part25",vt(2,100,60),prt23.CFrame*cf(30,50,0))
  227. local prt26=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part26",vt(2,100,60),prt23.CFrame*cf(0,50,30)*euler(0,1.57,0))
  228. local prt27=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part27",vt(2,100,60),prt23.CFrame*cf(0,50,-30)*euler(0,1.57,0))
  229. local prt28=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part28",vt(20,100,20),prt23.CFrame*cf(0,50,0))
  230. BasicCFrame=prt28.CFrame*cf(0,50,0)
  231. local prt29=part(3,modelzorz,0,0,BrickColor.new("Bright green"),"Part29",vt(199,2,62),BasicCFrame*cf(130.5,0,0))
  232. prt29.Material="Grass"
  233. local prt30=part(3,modelzorz,0,0,BrickColor.new("Bright green"),"Part30",vt(199,2,62),BasicCFrame*cf(-130.5,0,0))
  234. prt30.Material="Grass"
  235. local prt31=part(3,modelzorz,0,0,BrickColor.new("Bright green"),"Part31",vt(460,2,200),BasicCFrame*cf(0,0,131))
  236. prt31.Material="Grass"
  237. local prt32=part(3,modelzorz,0,0,BrickColor.new("Bright green"),"Part32",vt(460,2,200),BasicCFrame*cf(0,0,-131))
  238. prt32.Material="Grass"
  239. local prt33=part(3,modelzorz,0,0,BrickColor.new("Reddish brown"),"Part33",vt(50,2.2,200),BasicCFrame*cf(0,0,-131))
  240. local prt34=part(3,modelzorz,0,0,BrickColor.new("Reddish brown"),"Part34",vt(50,2.2,200),BasicCFrame*cf(0,0,131))
  241. local prt35=part(3,modelzorz,0,0,BrickColor.new("Reddish brown"),"Part35",vt(35,2.2,62),BasicCFrame*cf(-7.5,0,0))
  242. local prt35b=part(3,modelzorz,0,0,BrickColor.new("Reddish brown"),"Part35b",vt(15,2.2,31),BasicCFrame*cf(17.5,0,-15.5))
  243. local prt36=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part36",vt(60,2,30),BasicCFrame*cf(0,-1,-15))
  244. local prt37=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part37",vt(30,2,30),BasicCFrame*cf(-25,-1,15)*euler(0,1.57,0))
  245. local prt38=part(3,modelzorz,0,0,BrickColor.new("Earth green"),"Part38",vt(220,100,62),BasicCFrame*cf(141,-51,0))
  246. prt38.Material="Slate"
  247. local prt39=part(3,modelzorz,0,0,BrickColor.new("Earth green"),"Part39",vt(220,100,62),BasicCFrame*cf(-141,-51,0))
  248. prt39.Material="Slate"
  249. local prt40=part(3,modelzorz,0,0,BrickColor.new("Earth green"),"Part40",vt(502,100,220),BasicCFrame*cf(0,-51,141))
  250. prt40.Material="Slate"
  251. local prt41=part(3,modelzorz,0,0,BrickColor.new("Earth green"),"Part41",vt(502,100,220),BasicCFrame*cf(0,-51,-141))
  252. prt41.Material="Slate"
  253. local prt42=part(3,modelzorz,0,0.5,BrickColor.new("Bright blue"),"Part42",vt(20,200,20),BasicCFrame*cf(0,100,225))
  254. prt42.CanCollide=false
  255. local prt43=part(3,modelzorz,0,0,BrickColor.new("Dusty Rose"),"Part43",vt(80,5,80),BasicCFrame*cf(0,200,225))
  256. prt43.Material="Wood"
  257. local prt44=part(3,modelzorz,0,0,BrickColor.new("Medium stone grey"),"Part44",vt(40,10,40),BasicCFrame*cf(0,200,225))
  258. local prt45=part(3,modelzorz,0,0,BrickColor.new("Dusty Rose"),"Part45",vt(1,1,80),BasicCFrame*cf(39.5,208,225)*euler(math.rad(math.random(-2,1)+math.random()),math.rad(math.random(-2,1)+math.random()),math.rad(math.random(-2,1)+math.random())))
  259. prt45.Material="Wood"
  260. local prt46=part(3,modelzorz,0,0,BrickColor.new("Dusty Rose"),"Part46",vt(1,1,80),BasicCFrame*cf(-39.5,208,225)*euler(math.rad(math.random(-2,1)+math.random()),math.rad(math.random(-2,1)+math.random()),math.rad(math.random(-2,1)+math.random())))
  261. prt46.Material="Wood"
  262. local prt47=part(3,modelzorz,0,0,BrickColor.new("Dusty Rose"),"Part47",vt(1,80,1),BasicCFrame*cf(0,208,225-39.5)*euler(math.rad(math.random(-2,1)+math.random()),math.rad(math.random(-2,1)+math.random()),1.57+math.rad(math.random(-2,1)+math.random())))
  263. prt47.Material="Wood"
  264. local prt48=part(3,modelzorz,0,0.5,BrickColor.new("Bright blue"),"Part48",vt(20,20,20),prt43.CFrame*cf(0,5,0))
  265. prt48.CanCollide=false
  266. local prt49=part(3,modelzorz,0,0,BrickColor.new("Dusty Rose"),"Part49",vt(1,1,95),prt43.CFrame*cf(12,2,87))
  267. prt49.Material="Wood"
  268. local prt50=part(3,modelzorz,0,0,BrickColor.new("Dusty Rose"),"Part49",vt(1,1,95),prt43.CFrame*cf(-12,2,87))
  269. prt50.Material="Wood"
  270.  
  271. local msh1=mesh("BlockMesh",prt1,"","",vt(0,0,0),vt(1,1,1))
  272. local msh2=mesh("BlockMesh",prt2,"","",vt(0,0,0),vt(1,1,1))
  273. local msh3=mesh("BlockMesh",prt3,"","",vt(0,0,0),vt(1,1,1))
  274. local msh4=mesh("BlockMesh",prt4,"","",vt(0,0,0),vt(1,1,1))
  275. local msh5=mesh("BlockMesh",prt5,"","",vt(0,0,0),vt(1,1,1))
  276. local msh6=mesh("BlockMesh",prt6,"","",vt(0,0,0),vt(1,1,1))
  277. local msh7=mesh("BlockMesh",prt7,"","",vt(0,0,0),vt(1,1,1))
  278. local msh8=mesh("BlockMesh",prt8,"","",vt(0,0,0),vt(1,1,1))
  279. local msh9=mesh("BlockMesh",prt9,"","",vt(0,0,0),vt(1,1,1))
  280. local msh10=mesh("BlockMesh",prt10,"","",vt(0,0,0),vt(1,1,1))
  281. local msh11=mesh("BlockMesh",prt11,"","",vt(0,0,0),vt(1,1,1))
  282. local msh12=mesh("BlockMesh",prt12,"","",vt(0,0,0),vt(1,1,1))
  283. local msh13=mesh("BlockMesh",prt13,"","",vt(0,0,0),vt(1,1,1))
  284. local msh14=mesh("BlockMesh",prt14,"","",vt(0,0,0),vt(1,1,1))
  285. local msh15=mesh("BlockMesh",prt15,"","",vt(0,0,0),vt(1,1,1))
  286. local msh16=mesh("BlockMesh",prt16,"","",vt(0,0,0),vt(1,1,1))
  287. local msh17=mesh("BlockMesh",prt17,"","",vt(0,0,0),vt(1,1,1))
  288. local msh18=mesh("BlockMesh",prt18,"","",vt(0,0,0),vt(1,1,1))
  289. local msh19=mesh("BlockMesh",prt19,"","",vt(0,0,0),vt(1,1,1))
  290. local msh20=mesh("BlockMesh",prt20,"","",vt(0,0,0),vt(1,1,1))
  291. local msh21=mesh("BlockMesh",prt21,"","",vt(0,0,0),vt(1,1,1))
  292. local msh22=mesh("SpecialMesh",prt22,"FileMesh","http://www.roblox.com/asset/?id=1778999",vt(0,0,0),vt(45,10,45))
  293. local msh23=mesh("BlockMesh",prt23,"","",vt(0,0,0),vt(1,1,1))
  294. local msh24=mesh("BlockMesh",prt24,"","",vt(0,0,0),vt(1,1,1))
  295. local msh25=mesh("BlockMesh",prt25,"","",vt(0,0,0),vt(1,1,1))
  296. local msh26=mesh("BlockMesh",prt26,"","",vt(0,0,0),vt(1,1,1))
  297. local msh27=mesh("BlockMesh",prt27,"","",vt(0,0,0),vt(1,1,1))
  298. local msh28=mesh("CylinderMesh",prt28,"","",vt(0,0,0),vt(1,1,1))
  299. local msh42=mesh("CylinderMesh",prt42,"","",vt(0,0,0),vt(1,1,1))
  300. local msh48=mesh("SpecialMesh",prt48,"Sphere","",vt(0,0,0),vt(1,1,1))
  301.  
  302. local basestairprt=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Base Stair Part1",vt(61.9,2,60),cf(130,2,0))
  303. local basestairmsh=mesh("BlockMesh",basestairprt,"","",vt(0,0,0),vt(1,1,1))
  304. local basestairprt2=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Base Stair Part2",vt(20,100,20),cf(130,50,0))
  305. local basestairmsh2=mesh("CylinderMesh",basestairprt2,"","",vt(0,0,0),vt(1,1,1))
  306.  
  307. local teleprt=part(3,modelzorz,0,1,BrickColor.new("Black"),"Teleport Part",vt(61,10,59),cf(130,95,0))
  308. teleprt.CanCollide=false
  309. local teleprt2=part(3,modelzorz,0,1,BrickColor.new("Black"),"Teleport Part2",vt(61,10,59),prt23.CFrame*cf(0,6,0))
  310. teleprt2.CanCollide=false
  311. local teleprt3=part(3,modelzorz,0,1,BrickColor.new("Bright blue"),"Teleport Part3",vt(1000,10,1000),BasicCFrame*cf(0,-300,0))
  312. teleprt3.CanCollide=false
  313.  
  314. local skyboxprt=part(3,modelzorz,0,0,BrickColor.new("Black"),"Skybox",vt(1,1,1),BasicCFrame)
  315. local skyboxmsh=mesh("SpecialMesh",skyboxprt,"FileMesh","http://www.roblox.com/asset/?id=1527559",vt(0,0,0),vt(-1000,-1000,-1000))
  316. skyboxmsh.TextureId="http://www.roblox.com/asset/?id=24824960"
  317. coroutine.resume(coroutine.create(function()
  318. while true do
  319. wait()
  320. skyboxprt.CFrame=skyboxprt.CFrame*angles(math.pi/math.random(4000,6000),math.pi/math.random(4000,6000),math.pi/math.random(4000,6000))
  321. end
  322. end))
  323. for i=1,8 do
  324. local tree1=part(3,modelzorz,0,0,BrickColor.new("Brown"),"Tree1",vt(3,20,3),BasicCFrame*cf(math.random(30,200),10,math.random(-200,200)))
  325. local treemsh1=mesh("CylinderMesh",tree1,"","",vt(0,0,0),vt(1,1,1))
  326. local tree2=part(3,modelzorz,0,0,BrickColor.new("Bright green"),"Tree2",vt(15,15,15),tree1.CFrame*cf(0,30,0))
  327. tree2.Shape=0
  328. tree2.Material="Grass"
  329. tree2.CFrame=tree1.CFrame*cf(0,10,0)
  330. local grass=part(3,modelzorz,0,0,BrickColor.new("Bright green"),"Grass",vt(1,1,1),BasicCFrame*cf(math.random(30,200),2.5,math.random(-200,200)))
  331. local grassmsh=mesh("SpecialMesh",grass,"FileMesh","http://www.roblox.com/asset/?id=1091940",vt(0,0,0),vt(2,2,2))
  332. grassmsh.TextureId="http://www.roblox.com/asset/?id=1091942"
  333. end
  334. for i=1,8 do
  335. local tree1=part(3,modelzorz,0,0,BrickColor.new("Brown"),"Tree1",vt(3,20,3),BasicCFrame*cf(math.random(-200,-30),10,math.random(-200,200)))
  336. local treemsh1=mesh("CylinderMesh",tree1,"","",vt(0,0,0),vt(1,1,1))
  337. local tree2=part(3,modelzorz,0,0,BrickColor.new("Bright green"),"Tree2",vt(15,15,15),tree1.CFrame*cf(0,30,0))
  338. tree2.Shape=0
  339. tree2.Material="Grass"
  340. tree2.CFrame=tree1.CFrame*cf(0,10,0)
  341. local grass=part(3,modelzorz,0,0,BrickColor.new("Bright green"),"Grass",vt(1,1,1),BasicCFrame*cf(math.random(-200,-30),2.5,math.random(-200,200)))
  342. local grassmsh=mesh("SpecialMesh",grass,"FileMesh","http://www.roblox.com/asset/?id=1091940",vt(0,0,0),vt(2,2,2))
  343. grassmsh.TextureId="http://www.roblox.com/asset/?id=1091942"
  344. end
  345.  
  346. con1=teleprt.Touched:connect(function(hit)
  347. if hit.Parent:findFirstChild("Humanoid")~=nil and teledebounce==false and hit.Parent:FindFirstChild("Torso")~=nil then
  348. print("Teleported")
  349. teledebounce=true
  350. hit.Parent.Torso.CFrame=prt23.CFrame*cf(0,5,20)
  351. wait(2)
  352. teledebounce=false
  353. end
  354. end)
  355. con2=teleprt2.Touched:connect(function(hit)
  356. if hit.Parent:findFirstChild("Humanoid")~=nil and teledebounce==false and hit.Parent:FindFirstChild("Torso")~=nil then
  357. print("Teleported")
  358. teledebounce=true
  359. hit.Parent.Torso.CFrame=teleprt.CFrame*cf(0,-5,15)
  360. wait(2)
  361. teledebounce=false
  362. end
  363. end)
  364. con3=prt42.Touched:connect(function(hit)
  365. if hit.Parent:findFirstChild("Humanoid")~=nil and teledebounce2==false and hit.Parent:FindFirstChild("Torso")~=nil then
  366. print("Teleported to Statue Island.")
  367. teledebounce2=true
  368. Torso=hit.Parent.Torso
  369. Torso.Anchored=true
  370. Torso.CFrame=prt42.CFrame*cf(0,-95,0)
  371. wait(2)
  372. numb2=0
  373. for i=0,20 do
  374. wait(0)
  375. Torso.CFrame=prt42.CFrame*cf(0,-95+numb2,0)
  376. numb2=numb2+10
  377. end
  378. Torso.Anchored=false
  379. Torso.Velocity=vt(0,200,0)
  380. wait(2)
  381. teledebounce2=false
  382. end
  383. end)
  384. con4=prt48.Touched:connect(function(hit)
  385. if hit.Parent:findFirstChild("Humanoid")~=nil and teledebounce2==false and hit.Parent:FindFirstChild("Torso")~=nil then
  386. print("Teleported out Statue Island.")
  387. teledebounce2=true
  388. Torso=hit.Parent.Torso
  389. Torso.Anchored=true
  390. Torso.CFrame=prt48.CFrame*cf(0,3,0)
  391. wait(2)
  392. numb2=0
  393. for i=0,20 do
  394. wait(0)
  395. Torso.CFrame=prt48.CFrame*cf(0,3-numb2,0)
  396. numb2=numb2+10
  397. end
  398. Torso.Anchored=false
  399. wait(2)
  400. teledebounce2=false
  401. end
  402. end)
  403. con5=teleprt3.Touched:connect(function(hit)
  404. if hit.Parent:findFirstChild("Humanoid")~=nil and hit.Parent:FindFirstChild("Torso")~=nil then
  405. print("Fallen Teleport")
  406. hit.Parent.Torso.CFrame=teleprt3.CFrame*cf(-1500,-1000,-1500)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  407. hit.Parent.Humanoid.PlatformStand=true
  408. end
  409. end)
  410.  
  411. for i=0,50 do
  412. prtsize=math.random(1,20)
  413. local prt=part(3,modelzorz,0,0,BrickColor.new("Earth green"),"Brick",vt(prtsize,prtsize,prtsize),BasicCFrame*cf(math.random(-500,500),math.random(-500,500),math.random(-500,500))*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)))
  414. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(1,1,1))
  415. coroutine.resume(coroutine.create(function(Part)
  416. randomnumb=math.random(1,10)+math.random()
  417. wait(randomnumb)
  418. while Part.Parent~=nil do
  419. for i=0,1,0.005 do
  420. wait()
  421. Part.Position=Part.Position+vt(0,-0.2,0)
  422. end
  423. for i=0,1,0.005 do
  424. wait()
  425. Part.Position=Part.Position+vt(0,0.2,0)
  426. end
  427. end
  428. end),prt)
  429. end
  430.  
  431. for i=0,15 do
  432. prtsize=math.random(0,3)+math.random()
  433. local prt=part(3,modelzorz,0,0,BrickColor.new("Bright green"),"Brick",vt(prtsize,prtsize,prtsize),BasicCFrame*cf(math.random(-50,50),math.random(5,170),math.random(200,250))*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)))
  434. prt.Material="Grass"
  435. coroutine.resume(coroutine.create(function(Part)
  436. randomnumb=math.random(1,10)+math.random()
  437. wait(randomnumb)
  438. while Part.Parent~=nil do
  439. for i=0,1,0.005 do
  440. wait()
  441. Part.Position=Part.Position+vt(0,-0.2,0)
  442. end
  443. for i=0,1,0.005 do
  444. wait()
  445. Part.Position=Part.Position+vt(0,0.2,0)
  446. end
  447. end
  448. end),prt)
  449. end
  450.  
  451. count=0
  452. for i=1,15 do
  453. local prt=part(3,modelzorz,0,0,BrickColor.new("Dusty Rose"),"Part",vt(1,3,1),BasicCFrame*cf(39.5-count,205,225-39.5)*euler(math.rad(math.random(-30,29)+math.random()),math.rad(math.random(-30,29)+math.random()),math.rad(math.random(-30,29)+math.random())))
  454. prt.Material="Wood"
  455. local prt=part(3,modelzorz,0,0,BrickColor.new("Dusty Rose"),"Part",vt(1,3,1),BasicCFrame*cf(39.5,205,225-39.5+count)*euler(math.rad(math.random(-30,29)+math.random()),math.rad(math.random(-30,29)+math.random()),math.rad(math.random(-30,29)+math.random())))
  456. prt.Material="Wood"
  457. local prt=part(3,modelzorz,0,0,BrickColor.new("Dusty Rose"),"Part",vt(1,3,1),BasicCFrame*cf(-39.5,205,225-39.5+count)*euler(math.rad(math.random(-30,29)+math.random()),math.rad(math.random(-30,29)+math.random()),math.rad(math.random(-30,29)+math.random())))
  458. prt.Material="Wood"
  459. count=count+5.64
  460. end
  461.  
  462. count=0
  463. for i=1,15 do
  464. local prt48=part(3,modelzorz,0,0,BrickColor.new("Dusty Rose"),"Part48",vt(20,1,5),prt43.CFrame*cf(0,2,42+count)*euler(math.rad(math.random(-10,9)+math.random()),math.rad(math.random(-10,9)+math.random()),math.rad(math.random(-10,9)+math.random())))
  465. prt48.Material="Wood"
  466. count=count+6
  467. end
  468.  
  469. count=-0.25
  470. for i=0,164 do
  471. local prt=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Stair",vt(2,3,20),basestairprt.CFrame*euler(0,count,0)*cf(0,0.5+(count*12),19))
  472. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(1,1,1))
  473. light = Instance.new("PointLight")
  474. light.Brightness = .8
  475. light.Range = 100
  476. light.Parent=prt
  477. count=count+0.05
  478. end
  479. count=0
  480. for i=0,160 do
  481. local prt=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Stair2",vt(2,3,20),prt23.CFrame*euler(0,count,0)*cf(0,0.5+(count*12),19))
  482. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(1,1,1))
  483. light = Instance.new("PointLight")
  484. light.Brightness = .8
  485. light.Range = 100
  486. light.Parent=prt
  487. count=count+0.05
  488. end
  489. count=0
  490. for i=0,15 do
  491. local prt=part(3,modelzorz,0,1-count,BrickColor.new("Black"),"Shade",vt(61,1,59),cf(130,70+(count*40),0))
  492. prt.CanCollide=false
  493. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(1,1,1))
  494. count=count+0.05
  495. end
  496. count=0
  497. for i=0,15 do
  498. local prt=part(3,modelzorz,0,count,BrickColor.new("Black"),"Shade2",vt(61,1,59),prt23.CFrame*cf(0,count*40,0))
  499. prt.CanCollide=false
  500. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(1,1,1))
  501. count=count+0.05
  502. end
  503. count=0
  504. for i=0,15 do
  505. local prt=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Stand",vt(2.99,3,3),cf(91.51,104,38.48-count))
  506. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(1,1,1))
  507. count=count+5.13
  508. end
  509. count=0
  510. for i=0,15 do
  511. local prt=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Stand",vt(2.99,3,3),cf(168.49,104,38.48-count))
  512. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(1,1,1))
  513. count=count+5.13
  514. end
  515. count=5.13
  516. for i=0,13 do
  517. local prt=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Stand",vt(2.99,3,3),cf(91.51+count,104,38.48))
  518. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(1,1,1))
  519. count=count+5.13
  520. end
  521. count=5.13
  522. for i=0,13 do
  523. local prt=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Stand",vt(2.99,3,3),cf(91.51+count,104,-38.48))
  524. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(1,1,1))
  525. count=count+5.13
  526. end
  527. print("Fenrier's Tower Dimension loaded.")
  528. --workspace.Fenrier.Torso.CFrame=teleprt2.CFrame*cf(0,150,0)
  529. -- mediafire
  530. --[[
  531. Copyrighted (C) Fenrier 2013
  532. ]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement